Bug#507805: initramfs-tools: after installation with Lenny RC1, ide disc is not available because of missing modules
Package: initramfs-tools
Severity: important
I tested a Lenny RC1 netinst CD on an old Toshiba laptop.
Installation process itself went fine.
But rebooting into the new system after installation fails.
Error message is:
Waiting for root filesystem ...
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/hda1 does not exist. Dropping to a shell!
Seems there are some modules missing. There are no ide related
modules loaded. I started the installer again and fired up
lsmod command at that point, when the disc is detected for
partitioning. This is the lsmod output at that time:
Module Size Used by
nls_cp437 5504 1
dm_mod 45384 0
vfat 8832 1
fat 39964 1 vfat
ext2 52616 0
mbcache 6656 1 ext2
sd_mod 21904 2
nls_utf8 1664 2
isofs 27684 1
nls_base 6528 5 nls_cp437,vfat,fat,nls_utf8,isofs
zlib_inflate 13952 1 isofs
ide_cd_mod 27524 1
cdrom 30112 1 ide_cd_mod
ide_disk 10368 0
ide_generic 2432 0 [permanent]
ide_core 94760 3 ide_cd_mod,ide_disk,ide_generic
usb_storage 75200 1
scsi_mod 129420 2 sd_mod,usb_storage
pcmcia 29484 0
firmware_class 6656 1 pcmcia
parport_pc 22308 0
fan 4100 0
parport 30152 1 parport_pc
floppy 47620 0
thermal 15004 0
ohci_hcd 18436 0
processor 27824 1 thermal
thermal_sys 10656 3 fan,thermal,processor
yenta_socket 20492 2
rsrc_nonstatic 9344 1 yenta_socket
pcmcia_core 31760 3 pcmcia,yenta_socket,rsrc_nonstatic
usbcore 117104 3 usb_storage,ohci_hcd
So, at least ide_core, ide_disk, ide_generic are needed IMHO.
When starting the new system, I'm dropped to a busybox shell
because of this problem.
Executing "cat /proc/modules" from there gives this output:
floppy 47620 0 - Live 0xc3044000
ohci_hcd 18436 0 - Live 0xc301c000
usbcore 117616 2 ohci_hcd Live 0xc3058000
thermal 15132 0 - Live 0xc3023000
processor 28080 1 thermal Live 0xc3028000
fan 4100 - Live 0xc3015000
thermal_sys 10784 3 thermal,processor,fan Live 0xc3018000
As said before, there are all ide modules missing.
Additional info: I reported this on debian-boot and was asked,
if the kernel is given the argument 'all_generic_ide=1'.
Answer: yes, the kernel commandline (output
of "cat /proc/cmdline" from busybox shell) contains this:
root=/dev/hda1 ro all_generic_ide=1 quiet
/dev/hda1 is of course the right device (checked with debian
installer's rescue mode.)
Feel free to ask for more info...
Kind regards
Holger
Reply to: