--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: initramfs-tools: message printed when root timeout exceeded is too terse
- From: Vincent McIntyre <Vince.McIntyre@atnf.csiro.au>
- Date: Tue, 13 Mar 2007 10:05:34 +1100 (EST)
- Message-id: <Pine.LNX.4.62.0703130958470.28423@bedlam.atnf.CSIRO.AU>
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
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.86
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:
initramfs-tools_0.86.dsc
to pool/main/i/initramfs-tools/initramfs-tools_0.86.dsc
initramfs-tools_0.86.tar.gz
to pool/main/i/initramfs-tools/initramfs-tools_0.86.tar.gz
initramfs-tools_0.86_all.deb
to pool/main/i/initramfs-tools/initramfs-tools_0.86_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 414640@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 10 Apr 2007 21:45:36 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.86
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description:
initramfs-tools - tools for generating an initramfs
Closes: 378682 398347 403905 406107 409995 414640
Changes:
initramfs-tools (0.86) unstable; urgency=low
.
* update-initramfs: Bound the mode and version variable. (closes: 403905)
.
* init: Set once the MODPROBE_OPTIONS environment variable and export it.
Don't forget to set -b to have the modprobe.d blacklists respected.
Thus remove everywhere the -q modprobe switch.
Thanks Ben Collins <bcollins@ubuntu.com> for the suggestion.
.
* small trailing whitespace cleanup, display full path of kernel-img.conf
in bug script.
.
* debian/control: Add busybox-initramfs as Ubuntu busybox alternative
to depends. Drop the sarge busybox-cvs-static entry.
.
* scripts/local-top/mdrun: Drop, existed for partial upgrades from sarge.
.
* scripts/local: Improve panic message and printed order. (closes: 414640)
Thanks Vincent.McIntyre@csiro.au for patch.
.
* scripts/functions: Check if panic is set before using it. (closes: 406107)
Thanks martin f krafft <madduck@debian.org> for report.
.
* hook-functions: Copy all kernel/drivers/{block,ide,scsi} subdir modules
instead of hardcoding the list of "supported" drivers. As consequence
the initramfs might be larger, but none of those should be missed!
As bonus syncs with Ubuntu.
.
* init: Mount /sys and /proc nodev, noexec, nosuid - Ubuntu sync.
.
* update-initramfs: If update-initramfs fails, restore the backup.
Useful if a MINKVER set is not fulfilled. (LP: #101844)
Thanks Soren Hansen <sh@linux2go.dk> for patch.
.
* initramfs-tools.preinst: Test if $RESUME is nonzero, not if it exists,
fixes issue of UUID resume dev. (LP: #67932) While there remove the
conffile mv handling of 0.61.
.
* scripts/functions: set_initlist() needs to add only script names with
alphabetics, numerics and underscores - skip any other. Bad enough
backup scripts get added, but they shouldn't lead to a panic. Also skip
directories that might lay around. (closes: 398347) (LP: #76131)
.
* initramfs-tools.8: Document valid script names.
.
* mkinitramfs: Don't add backup scripts to initramfs. (closes: 378682)
(LP: #78348)
.
* scripts/functions: run_scripts() return immediately if passed dir
does not exist. Empty dirs without boot script aren't created anymore.
.
* debian/copyright: Update my email, add Ben Collins, update years,
alphabetic authors sort + add new git tree location.
.
* mkinitramfs: Set PATH with /sbin to allow non-root user usage.
Thanks Bob Montgomery <bob.montgomery@hp.com> for the suggestion.
(closes: 409995)
Files:
39e70461ad299041d35e5706d785b5e3 619 utils optional initramfs-tools_0.86.dsc
29cb664dc9897f4a6374e03ce91e324f 56019 utils optional initramfs-tools_0.86.tar.gz
c321db546d0cd7315b2655126b64708c 62828 utils optional initramfs-tools_0.86_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGG+mteW7Lc5tEHqgRAuhLAKCwJDvvumth4bfgIpAxHP26tfqS+gCeLYZa
OOefMVdSvAK7dJtC13tDVNk=
=XTYH
-----END PGP SIGNATURE-----
--- End Message ---