Bug#353073: marked as done (initramfs-tools: /scripts/local prematurely panics mounting root)
Your message dated Thu, 16 Feb 2006 19:33:12 +0100
with message-id <20060216183312.GC7857@nancy>
and subject line Bug#353073: initramfs-tools: /scripts/local prematurely panics mounting root
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.51
Severity: important
/scripts/local says this on boot:
ALERT!: /dev/hde1 does not exist. Dropping to a shell!
and then drops me to a shell. "ls -l /dev/hde1" in shell shows
/dev/hde1 *does* exist. Exiting the shell (even without doing anything)
allows the boot to continue normally.
The following kludgy patch (and regenerating the ramdisk) fixes the
problem for me - I guess /scripts/local is run before the disks are
completely done probing or something?
I can't help thinking a proper check that things are ready for mounting
would be a better fix than an arbitrary sleep, but I'm not certain
how...
--- /home/ivan/local.old 2006-02-15 16:16:59.000000000 -0800
+++ /usr/share/initramfs-tools/scripts/local 2006-02-15
16:16:36.000000000 -0800
@@ -7,6 +7,7 @@
run_scripts /scripts/local-top
[ "$quiet" != "y" ] && log_end_msg
+ sleep 2
# Get the root filesystem type
while [ ! -e "${ROOT}" ]; do
panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
-- 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.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.01-4 Tiny utilities for small and embed
ii cpio 2.6-10 GNU cpio -- a program to manage ar
ii klibc-utils 1.2.2-1 small statically-linked utilities
ii udev 0.084-4 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
--
_ivan
--- End Message ---
--- Begin Message ---
On Wed, 15 Feb 2006, Ivan Kohler wrote:
> /scripts/local says this on boot:
>
> ALERT!: /dev/hde1 does not exist. Dropping to a shell!
>
> and then drops me to a shell. "ls -l /dev/hde1" in shell shows
> /dev/hde1 *does* exist. Exiting the shell (even without doing anything)
> allows the boot to continue normally.
>
please upgrade to latest udev 084-4 in unstable and
update-initramfs -u -t
reopen if pain subsists.
--
maks
--- End Message ---
Reply to: