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

Bug#357272: marked as done (USB /dev/sda comes too late)



Your message dated Mon, 20 Mar 2006 00:17:02 +0100
with message-id <20060319231702.GC13674@nancy>
and subject line Bug#357272: USB /dev/sda comes too late
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.53c

Hi,

I am trying to boot a notebook from an external USB harddisk with
grub, a debian 2.6.15.1 kernel and an initrd generated with
mkinitramfs. 

The kernel boots, but then does not find it's root partition. It says
that /dev/sda1 does not exist, and opens an emergency shell. Right
after the shell prompt appears the kernel prints to have found
/dev/sda* partitions. From the shell the partition exists.

So it seems to be a timing problem. the initrd seems to be finished
and trying to pass the control over to the /root partition before the
kernel has found the partitions on the USB device. USB partitions
seem to simply come too late. 

Could the init script in the initrd check for existence of the root
partition, and if not, maybe wait for 1 or 2 seconds and check again
(maybe repeat this step 5 times)?

regards
Hadmut





--- End Message ---
--- Begin Message ---
Version: 0.56

beware that this needs also latest udev from unstable.

On Thu, 16 Mar 2006, debbug2@danisch.de wrote:

> The kernel boots, but then does not find it's root partition. It says
> that /dev/sda1 does not exist, and opens an emergency shell. Right
> after the shell prompt appears the kernel prints to have found
> /dev/sda* partitions. From the shell the partition exists.
> 
> So it seems to be a timing problem. the initrd seems to be finished
> and trying to pass the control over to the /root partition before the
> kernel has found the partitions on the USB device. USB partitions
> seem to simply come too late. 

on scsi, sata or usb devices newest initramfs-tools adds an timeout
to let them settle.
closing therefor.

-- 
maks

--- End Message ---

Reply to: