Bug#414640: initramfs-tools: message printed when root timeout exceeded is too terse
Package: initramfs-tools
Version: 0.85f
Severity: minor
*** Please type your report below this line ***
Hi,
I found the message printed by /usr/share/initramfs-tools/scripts/local
if it can't get a root filesystem helpful, but I think it could be better.
A suggested patch is attached for your consideration.
Thanks
Vince
-- Package-specific info:
-- /proc/cmdline
root=LABEL=root ro console=tty0 console=ttyS0,9600n8
-- /proc/filesystems
cramfs
ext3
-- lsmod
Module Size Used by
nfsd 197840 17
exportfs 5600 1 nfsd
autofs4 19748 17
ipv6 226016 20
nfs 202828 3
lockd 54344 3 nfsd,nfs
nfs_acl 3584 2 nfsd,nfs
sunrpc 138780 13 nfsd,nfs,lockd,nfs_acl
dm_snapshot 15520 0
dm_mirror 19152 0
dm_mod 50232 2 dm_snapshot,dm_mirror
quota_v2 8864 0
snd_opl3_lib 9920 0
snd_hwdep 8836 1 snd_opl3_lib
snd_cs4231_lib 23232 0
snd_pcm 68644 1 snd_cs4231_lib
snd_page_alloc 9640 2 snd_cs4231_lib,snd_pcm
snd_mpu401_uart 8064 0
snd_rawmidi 22560 1 snd_mpu401_uart
snd_seq_midi_event 7008 0
snd_seq 45680 1 snd_seq_midi_event
snd_timer 20996 4
snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq
snd_seq_device 7820 3 snd_opl3_lib,snd_rawmidi,snd_seq
snd 47012 9
snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm,sn
d_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ad1848 28028 0
uart401 11172 0
sound 69768 2 ad1848,uart401
ns558 4832 0
soundcore 9248 2 snd,sound
rtc 12372 0
gameport 14632 2 ns558
floppy 53156 0
parport_pc 32164 0
psmouse 35016 0
parport 33256 1 parport_pc
serio_raw 6660 0
i2c_piix4 8140 0
intel_agp 21148 1
agpgart 29896 1 intel_agp
pcspkr 3072 0
i2c_core 19680 1 i2c_piix4
shpchp 33024 0
pci_hotplug 28704 1 shpchp
sg 31292 0
sr_mod 15876 0
evdev 9088 0
ext3 119208 5
jbd 52456 1 ext3
mbcache 8356 1 ext3
ide_cd 36064 0
cdrom 32544 2 sr_mod,ide_cd
ide_disk 14848 7
uhci_hcd 21032 0
aic7xxx 150932 0
scsi_transport_spi 22336 1 aic7xxx
scsi_mod 124168 4 sg,sr_mod,aic7xxx,scsi_transport_spi
3c59x 40360 0
mii 5344 1 3c59x
usbcore 112676 2 uhci_hcd
piix 9444 0 [permanent]
generic 5028 0 [permanent]
ide_core 110504 4 ide_cd,ide_disk,piix,generic
processor 28840 0
-- kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.1.3-4 Tiny utilities for small and embed
ii cpio 2.6-17 GNU cpio -- a program to manage ar
ii klibc-utils 1.4.34-1 small statically-linked utilities
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii udev 0.105-3 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
--- /usr/share/initramfs-tools/scripts/local.old 2006-10-17 17:26:59.000000000 +1000
+++ /usr/share/initramfs-tools/scripts/local 2007-03-13 09:58:02.000000000 +1100
@@ -40,8 +40,9 @@
# We've given up, but we'll let the user fix matters if they can
while [ ! -e "${ROOT}" ]; do
- echo " Check root= bootarg cat /proc/cmdline"
- echo " or missing modules, devices: cat /proc/modules ls /dev"
+ echo " Check the root= boot argument (run 'cat /proc/cmdline')"
+ echo " Otherwise, a module may be missing (cat /proc/modules)"
+ echo " or a device file may be missing (ls /dev)"
panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
done
Reply to: