[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401764: initramfs-tools: Produces broken (unbootable) initrd



Package: initramfs-tools
Version: 0.85c
Severity: critical
Justification: breaks the whole system

Not much more to say. Any kernel image I build an initrd for now breaks in
the same way. Since I'm lazy and didn't feel like transcripting everything
it outputs, I took pictures of the screen when it broke:
http://hephaestus.constanta.rdsnet.ro/~gcbirzan/initramfs/

What's funny is this (this is a broken initrd):

gcbirzan@meili:~/initramfs$ gunzip -dc < /boot/initrd.img-2.6.18-3-686 |
cpio -i
22694 blocks
gcbirzan@meili:~/initramfs$ bin/fstype < /dev/sda5
FSTYPE=reiserfs
FSSIZE=71206174720
gcbirzan@meili:~/initramfs$ find -name fstype
./bin/fstype
gcbirzan@meili:~/initramfs$ strings  bin/fstype | grep Usage
Usage: %s [file]

I can't get it to spit that out, though. :-)

I'm rather stumped at the moment, as initramfs just kind of worked till now,
not sure how to debug it...

-- Package-specific info:
-- /proc/cmdline
root=/dev/sda5 ro 

-- /proc/filesystems
	cramfs
	reiserfs

-- lsmod
Module                  Size  Used by
i8k                     6040  0 
cpufreq_ondemand        7148  2 
cpufreq_userspace       4160  0 
cpufreq_powersave       1888  0 
speedstep_centrino      7216  1 
freq_table              4544  1 speedstep_centrino
rfcomm                 33428  0 
l2cap                  21504  5 rfcomm
bluetooth              42884  4 rfcomm,l2cap
nfs                   194508  0 
ipv6                  221760  27 
nfsd                  196612  17 
exportfs                5504  1 nfsd
lockd                  53256  3 nfs,nfsd
nfs_acl                 3552  2 nfs,nfsd
sunrpc                137884  13 nfs,nfsd,lockd,nfs_acl
ppdev                   8516  0 
parport_pc             32132  0 
lp                     10852  0 
parport                33160  3 ppdev,parport_pc,lp
button                  6544  0 
ac                      4836  0 
battery                 9188  0 
deflate                 3808  0 
zlib_deflate           18616  1 deflate
twofish                42880  0 
serpent                19232  0 
aes                    28160  0 
blowfish                9312  0 
des                    17408  0 
sha256                 11040  0 
sha1                    2624  0 
crypto_null             2624  0 
af_key                 31568  0 
dm_crypt               10824  0 
dm_snapshot            15680  0 
dm_mirror              18768  0 
dm_mod                 49976  3 dm_crypt,dm_snapshot,dm_mirror
joydev                  8992  0 
snd_hda_intel          17140  4 
snd_hda_codec         125408  1 snd_hda_intel
snd_pcm_oss            35936  0 
snd_mixer_oss          15872  1 snd_pcm_oss
snd_pcm                74500  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              20836  2 snd_pcm
sdhci                  14272  0 
snd                    48100  12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
mmc_core               22528  1 sdhci
intel_agp              21116  1 
pcspkr                  3040  0 
ieee80211              41676  0 
ieee80211_crypt         6112  1 ieee80211
sg                     30940  0 
soundcore               9216  1 snd
hw_random               5624  0 
firmware_class          9696  0 
i2c_i801                8236  0 
i2c_core               19520  1 i2c_i801
psmouse                34600  0 
serio_raw               6596  0 
tsdev                   7392  0 
mousedev               10788  1 
evdev                   9088  2 
snd_page_alloc          9512  2 snd_hda_intel,snd_pcm
eth1394                18052  0 
rtc                    12340  0 
agpgart                29864  1 intel_agp
sr_mod                 15876  0 
cdrom                  32448  1 sr_mod
usbhid                 35520  0 
reiserfs              212992  1 
sd_mod                 18592  3 
uhci_hcd               20392  0 
ehci_hcd               28008  0 
ata_piix               11556  2 
generic                 4420  0 [permanent]
ide_core              110888  1 generic
b44                    22220  0 
mii                     5312  1 b44
usbcore               111616  4 usbhid,uhci_hcd,ehci_hcd
ohci1394               30608  0 
ieee1394               86584  2 eth1394,ohci1394
thermal                12904  0 
processor              25512  2 speedstep_centrino,thermal
fan                     4516  0 
libata                 61420  1 ata_piix
scsi_mod              123080  4 sg,sr_mod,sd_mod,libata

-- kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes
do_initrd = Yes


-- System Information:
Debian Release: 4.0
  APT prefers experimental
  APT policy: (500, 'experimental'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-3  Tiny utilities for small and embed
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.30-2   small statically-linked utilities 
ii  module-init-tools             3.3-pre3-1 tools for managing Linux kernel mo
ii  udev                          0.103-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: