--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: SAME SITUATION - initramfs-tools: creates broken initramfs image as reported on Bug #445688
- From: Miguel Martins Feitosa Filho <kurumi@terra.com.br>
- Date: Mon, 15 Oct 2007 02:14:14 -0400
- Message-id: <20071015061414.4388.74959.reportbug@localhost>
Package: initramfs-tools
Version: 0.90a
Severity: critical
Justification: breaks the whole system
Hi,
I have the same situation described by Beojan in one of my boxes but
not the other two - all three are debian testing.
His solution - yaird - also worked for me.
Reading the bug report I came about an interesting point in
that the phrases below do not apply to me as my systems always were/are
debian:
"
i'm sorry but your initramfs-tools is not from debian,
we _never_ shipped with an modprobe -Q argument in those boot scripts.
"
"
>You may wish to know that I switched to Debian from Feisty using
> dist-upgrade, and udev
> didn't get upgraded.
"
A call to
egrep -r modprobe /usr/share/initramfs-tools/scripts/init-premount/
shows some modprobe commands, all are without options such as:
tatarana:/etc/default# egrep -r modprobe
/usr/share/initramfs-tools/scripts/init-premount/ | head -2
/usr/share/initramfs-tools/scripts/init-premount/ps3:modprobe
ps3_storage
/usr/share/initramfs-tools/scripts/init-premount/ps3:modprobe gelic_net
I run apt-get dist-upgrade regularly on these systems.
Yesterday - oct 14 2007 - I brought all three up to date.
Only one maintained the problem. The other two booted ok with new
2.6.22-2 kernel.
My systems differ only in installed packages and initial install date.
I do not get any deb files outside of apt.
At the end of this message is my sources.list for reference.
My current initramfs is also 0.90a.
tatarana:~# ls /var/cache/apt/archives/ | grep initram
initramfs-tools_0.89_all.deb
initramfs-tools_0.90a_all.deb
initramfs-tools_0.90_all.deb
Since apt installed kernel 2.6.21-2 on my system I get the
"Waiting for root filesystem" at boot time error.
What is amazing is that my other two boxes have also up to date kernels
and
never had this problem.
I initially reported this error as a kernel error but was unable to do a
good follow-up on it. I imagined that as the kernel evolved the problem
would dissapear. Since it did not I resumed trying to figure out the
situation. Beojan's report reproduced my error.
His modprobe -Q explanation though does not seem to apply to my
computer.
I hope a comparision of my three systems will help in finding the cause
of this problem.
Thanks for your help, I am available to supply any necessary
information.
Miguel
sources.list information
tatarana:~# grep ^deb /etc/apt/sources.list
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb http://http.us.debian.org/debian unstable main contrib non-free
deb http://download.skype.com/linux/repos/debian/ stable non-free
deb http://www.debian-multimedia.org testing main
deb-src http://http.us.debian.org/debian testing main contrib non-free
-- Package-specific info:
-- /proc/cmdline
root=/dev/hda1 ro
-- /proc/filesystems
cramfs
ext3
fuseblk
vfat
-- lsmod
Module Size Used by
tcp_diag 1760 0
inet_diag 11432 1 tcp_diag
nls_iso8859_1 4128 1
nls_cp437 5792 1
vfat 12032 1
fat 48540 1 vfat
sd_mod 27136 2
usb_storage 76608 1
ppdev 8676 0
lp 10980 0
thermal 13416 0
fan 4836 0
button 7920 0
ac 5188 0
battery 9988 0
xt_TCPMSS 4672 1
xt_tcpmss 2176 1
xt_tcpudp 3072 8
xt_state 2432 12
processor 31016 1 thermal
speedstep_lib 5156 0
cpufreq_ondemand 8300 0
cpufreq_powersave 1792 0
cpufreq_userspace 4128 0
cpufreq_stats 5120 0
freq_table 4512 2 cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 6888 0
ipt_LOG 5952 0
iptable_mangle 2784 1
iptable_filter 2944 1
iptable_nat 7204 1
ip_tables 12260 3 iptable_mangle,iptable_filter,iptable_nat
nf_nat 17964 1 iptable_nat
nf_conntrack_ipv4 17772 14 iptable_nat
nf_conntrack 60424 4 xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 5752 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
x_tables 14372 7 xt_TCPMSS,xt_tcpmss,xt_tcpudp,xt_state,ipt_LOG,iptable_nat,ip_tables
pppoe 13184 2
pppox 3848 1 pppoe
ppp_generic 26164 6 pppoe,pppox
slhc 5888 1 ppp_generic
ipv6 236964 41
fuse 41908 1
dm_snapshot 16516 0
dm_mirror 20928 0
dm_mod 52160 2 dm_snapshot,dm_mirror
visor 18316 0
usbserial 31560 1 visor
loop 16932 0
tsdev 7968 0
parport_pc 33796 1
analog 11360 0
snd_intel8x0 32124 1
snd_ac97_codec 92836 1 snd_intel8x0
parport 33960 3 ppdev,lp,parport_pc
ac97_bus 2272 1 snd_ac97_codec
snd_pcm_oss 39200 0
gameport 14984 1 analog
snd_mixer_oss 15424 1 snd_pcm_oss
psmouse 36016 0
serio_raw 6692 0
floppy 54884 0
pcspkr 3104 0
rtc 12856 0
tulip 49984 0
dmfe 20476 0
snd_pcm 72324 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21028 1 snd_pcm
8139cp 22144 0
8139too 25536 0
snd 48324 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 7520 1 snd
sis900 22112 0
mii 5280 3 8139cp,8139too,sis900
snd_page_alloc 9512 2 snd_intel8x0,snd_pcm
ide_cd 36416 0
cdrom 32832 1 ide_cd
i2c_sis96x 5156 0
ohci_hcd 19780 0
sis_agp 9060 1
i2c_core 23552 1 i2c_sis96x
usbcore 125096 5 usb_storage,visor,usbserial,ohci_hcd
agpgart 31912 1 sis_agp
shpchp 31060 0
pci_hotplug 29184 1 shpchp
ext3 121224 2
jbd 55336 1 ext3
mbcache 8260 1 ext3
ide_disk 16512 5
pata_sis 13636 0
ata_generic 7556 0
libata 115664 2 pata_sis,ata_generic
scsi_mod 136620 3 sd_mod,usb_storage,libata
generic 4836 0 [permanent]
sis5513 11912 0 [permanent]
ide_core 113764 5 usb_storage,ide_cd,ide_disk,generic,sis5513
evdev 9312 3
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing'), (650, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii busybox 1:1.1.3-5 Tiny utilities for small and embed
ii cpio 2.9-4 GNU cpio -- a program to manage ar
ii klibc-utils 1.5-4 small statically-linked utilities
ii module-init-tools 3.3-pre11-4 tools for managing Linux kernel mo
ii udev 0.114-2 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
--- End Message ---