#539228 partman freezes with encrypted partitions

#539228#5
Date:
2009-07-29 22:43:04 UTC
From:
To:
The bug does not occur on the system where bugreport is installed,because
this bug prevent me from installing debian

When i try to install debian squeeze on usb key (netinstall)
and when i try to create installation over encrypted fs in partman,partman
reload and freeze at 52% of loading.
The installation is in french ,partman works in french until the bug occurs.

Next partman crashes,and i have a message saying "loading partman 52%"
(in english this time!!) and all stay freezed at this point.

If i try to install the system without using encrypted fs ,it works.

The computer where i try to install debian squeeze is:

archos 10 (netbook)
ubuntu edition
2gb ram
500go hd
intel atom 1.6ghz

I am using the last version of squeeze netinstall at the 29 of july,
with the manual method syslinux,mbr-install + squeeze_net_install.iso on
 the usb key
The partitions are something like this :

1 primary ext3 not encrypted bootable /boot about 500M
5 logical reserved for encrypted volume about 15G
6 logical reserved for encrypted volume about 15G
7 logical reserved for encrypted volume about 15G
8 logical reserved for encrypted volume about 4G
9 logical reserved for encrypted volume about 4G
10 logical reserved for encrypted volume about 5G
11 logical reserved for encrypted volume about 4G
12 logical reserved for encrypted volume about 200G

and about 200gb unused
(capacity of the disk =500GB)

The bug has occured several times,but not exactly at the same moment:

First occur ,when i select sda5 and choosing to use it for encrypted volume
Second occur i noticed, all partitions are selected to be used as encrypted
volumes, next i choose "configuring encrypted volumes" , i configure the
 first ones and when i reach about sda11 or sda12 the bug occurs

If i launch an extra shell on tty2 for instance
and using "ps aux"
i can see two processes involving partman
the first is something like "/bin/partman"
the second like "partman dump" (sorry i don t remember exactly)

if i kill the both, i have a message like "error occured in installation",
next i have the installation menu of debian
i select "partitionning" ,and it s the same thing "loading partman 52%"
 and freeze

#539228#10
Date:
2009-07-30 00:17:48 UTC
From:
To:
severity 539228 important
thanks

Hello,

I will try to reproduce this and figure out what happens.

For the moment I'm lowering severity to important because
the partitioning (with and without crypto) seems to be working
fine in general for the setups I tested today.

	Max

#539228#17
Date:
2009-08-01 01:15:23 UTC
From:
To:
I have rapidly tried the same install with the same usbkey on another
laptop(not the same model)
The first part of partitionning  (choosing uncrypted and encrypted
partitions) seems to work...
( i can't go further without loosing my data)

I am a noob of the syslog,but from what i have seen ,it seems like it s not
a bug from debian-installer but a fail of my harddisk afterall
(which is brand new :( )
but it s strange that the regular install is working fine in this case...

2009/8/1 da jedall <da.jedall@gmail.com>

#539228#22
Date:
2009-08-06 17:05:44 UTC
From:
To:

#539228#25
Date:
2009-08-06 17:22:47 UTC
From:
To:
Hello,

Thanks for sending those!

OK, I went through the logs.

syslog shows
[   20.690648] attempt to access beyond end of device
[   20.690657] sda2: rw=0, want=4, limit=2
[   20.690662] EXT2-fs: unable to read superblock

This is is not necessarily indicative of a failing disk. I think
it could be a corrupt partition table, too.

Looking at the hang, it happens in init.d/35dump. All partman
does at that point is to communicate with parted_server. I wonder
if something managed to get parted_server confused.

I tried to reproduce your setup as close as possible (took me a
while to create all those logical partitions :-) ), but I did not
see any errors. The install completed ok.

Hmm. This is tricky to analyze further. I've had partman hang in
similar ways during development, but I'm not sure what would be
causing this in normal partitioning.

	Max

#539228#30
Date:
2009-08-20 01:21:57 UTC
From:
To:
ok,

Don t waste time on this , since i am the only one with this bug...

I think it comes from the hardware after all, the archos 10 model should be
shitty(the keyboard isn t even properly fixed)

So i am sending it back to technical support and i have bought a samsung
nc10 instead(which seems like to
work better).
I will test the same partitionning setup on it later and will  inform bug
team if i find something unusual

thanks for the help!
bye

2009/8/6 Max Vozeler <xam@debian.org>

#539228#35
Date:
2009-09-22 03:18:44 UTC
From:
To:
Hi,

I have bought a new netbook (samsung nc10 this time ) and have had the same
problem with partman, so
it looks like it is not a hardware failure of the archos 10 afterall.

bye

2009/8/6 Max Vozeler <xam@debian.org>

#539228#44
Date:
2010-12-21 15:11:31 UTC
From:
To:
To me this seems some burning media error relevant only in couple with
encryption: i try to install with d-i squeeze beta2
1) netinstall on CD: a) encypted lvm freeze installer at 73% with some errors
on sr0 in dmesg|tail; b) clear lvm doesn't raise any error;
2) USB stick with d-i squeeze beta2 and netinst iso in (a) doesn't raise any
error, i.e. with encryption partition, lvm on that for root/swap/home.

hope this help,
Pier Paolo.