[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#373629: failed to do autopartitioning completely (tries the cd device :( )



Package: autopartkit
Severity: important

Hi

The package doesn't work on the current daily build from debian-edu.
It tries to do partitioning on the cd device.
The cd device must be in the result from choose_device(), I am not sure
if it is the only result. :(
As far as I could see autopartkit comes to the make_partitions()
function and dies after the message "Created LVM stacks".
The complete error message is:
error: 0, Unable to open /dev/ide/host0/bus1/target0/lun0/cd read-write
(Read-only file system). /dev/ide/host0/bus1/target0/lun0/cd has been
opened read-only.

This error message comes from libparted, but shouldn't the autopartkit
make sure that the cd device is not in the list of devices?

According to LVM I am not familiar with it so I can't give you more input :(
This whole bug can also be a problem with libparted, I am not completey
sure. It depends on the output get_device_probe_all() gives, but from my
own limited debugging it was impossible to remove cd from "dev" (which
is a choose_device() ).

If you have some spare time you could also get the iso from
http://ftp.skolelinux.org/cd-etch-test/
start it in expert mode and do all needed steps first and then run
automatic partitioning .
In autopartkit.c you find some more debug addings which will give you
some more output and there is a kind of patch which tries to remove the
cd from the device list, but it fails :(

Greetings and thanks in advance
Steffen

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



Reply to: