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

Re: test live-initramfs_1.157.4-2





2010/1/22 Daniel Baumann <daniel@debian.org>
joseangon wrote:

Hola.

 
> But he stops to find devices not mountable, as hda, sdb, hdc, hdd,
> etc ... or extended partitions.

as told you several times


yes yes it is true ... pardon my insistence. But I've tested this on three different teams with the same results ...


, live-initramfs just *does* *not* *care* about
extended partitions, as they have no filesystem and thus are not looped
over.



true, but not on those teams and I have no one else can see that, so I ask for help.

 
in order to help you with your problem (which i guess is the well-known
#565456), you need to give the full partition list, including the used
filesystems.

Disk /dev/hda: 4327 MB, 4327464960 bytes
255 heads, 63 sectors/track, 526 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00044ed4

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         308     2473978+  83  Linux
/dev/hda2             309         526     1751085    5  Extended
/dev/hda5             309         466     1269103+  83  Linux
/dev/hda6             467         526      481918+  82  Linux swap / Solaris

Disk /dev/hdb: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd8c6e989

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        3648    29302528+  83  Linux
/dev/hdb2            3649        6931    26370697+  83  Linux
/dev/hdb3            6932        6995      514080   82  Linux swap / Solaris
/dev/hdb4            6996       36481   236846295    5  Extended
/dev/hdb5            6996        9944    23687811   83  Linux
/dev/hdb6            9945       12598    21318223+  83  Linux
/dev/hdb7           12599       14986    19181578+  83  Linux
/dev/hdb8           14987       17135    17261811   83  Linux
/dev/hdb9           17136       19070    15542856   83  Linux
/dev/hdb10          19071       20811    13984551   83  Linux
/dev/hdb11          20812       25674    39062016   83  Linux
/dev/hdb12          25675       30537    39062016   83  Linux
/dev/hdb13          30538       36481    47745148+  83  Linux



> -        eval $(blkid -o udev "${1}")
> +        eval $(blkid -c /etc/blkid.tab -o udev "${1}")

why this?


sorry .. I did not finish reviewing ... I send back to change and test. But blkid -c option is to display the file path to consider.

 
> -            mount -o remount,"${opts}" "${dev}" "${old_mountp}" ||
> panic "Remounting ${dev} ${opts} on ${old_mountp} failed"
> +            mount -o remount,rw "${dev}" "${old_mountp}" ||
> log_begin_msg "Remounting ${dev} ${opts} on ${old_mountp} failed"

this is wrong, rw is included in $opts here.


yes, yes, now change.



> -        mount -o bind "${old_mountp}" "${mountp}" || panic "Cannot
> bind-mount ${old_mountp} on ${mountp}"
> +        mount -o bind "${old_mountp}" "${mountp}" || log_begin_msg
> "Cannot bind-mount ${old_mountp} on ${mountp}"

this looks wrong too, to avoid panic you have to fix it earlier already,
not here. 


if not change the panic, the process stops. Initramfs return to the console.

 
if you cannot bind mount, then there's something wrong.


that's ... and is what I intend to locate your help.




> -        mount -t "${fstype}" -o "${opts}" "${dev}" "${mountp}" || panic
> "Cannot mount ${dev} on ${mountp}, fstype=${fstype}, options=${opts}"
> +        mount -t "${fstype}" -o rw "${dev}" "${mountp}" ||
> log_begin_msg "Cannot mount ${dev} on ${mountp}, fstype=${fstype},
> options=${opts}"

same as above with $opts.



yes, yes, now change.
 

> -                eval $(blkid -o udev "${devname}")
> +                eval $(blkid -c /etc/blkid.tab -o udev "${devname}")

why?

> -                    if ! try_mount "${devname}" "${cow_backing}" "rw"
> -                    then
> -                        break
> -                    fi

certainly too intrusive.


Well, when reviewing, test again and I comment.


Thank you.

Greetings.



--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
José A. González

Siempre GNU Linux.

Reply to: