Bug#469312: initramfs-tools: awk reports syntax error in update-initramfs
Package: initramfs-tools
Version: 0.91e
Severity: critical
Justification: breaks the whole system
Attempting to run update-initramfs is giving me the following result:
snowball:552$ sudo update-initramfs -u 2.6.22-3-k7
update-initramfs: Generating /boot/initrd.img-2.6.22-3-k7
awk: /^md/2/{print substr($5, 1, 3)}
awk: ^ syntax error
The resulting initrd image apears to be corrupt -- at any rate, my
kernel panicked shortly after trying to mount it.
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=Linux ro root=902
-- /proc/filesystems
cramfs
ext3
fuseblk
-- lsmod
Module Size Used by
iptable_mangle 3136 0
iptable_filter 3264 0
ipt_MASQUERADE 3904 1
iptable_nat 7556 1
nf_nat 18348 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 18124 2 iptable_nat
nf_conntrack 61000 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 6168 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables 12708 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 14660 3 ipt_MASQUERADE,iptable_nat,ip_tables
binfmt_misc 11400 1
via 40192 2
drm 76628 3 via
nfsd 204912 13
exportfs 5952 1 nfsd
ppdev 8964 0
lp 11300 0
autofs4 20804 2
nfs 225452 0
lockd 61320 3 nfsd,nfs
nfs_acl 3840 2 nfsd,nfs
sunrpc 158972 11 nfsd,nfs,lockd,nfs_acl
ipv6 239524 35
sd_mod 27584 0
fuse 42388 1
dm_snapshot 16804 0
dm_mirror 21376 0
dm_mod 52672 2 dm_snapshot,dm_mirror
snd_via82xx 27224 0
gameport 15304 1 snd_via82xx
snd_ac97_codec 93220 1 snd_via82xx
ac97_bus 2560 1 snd_ac97_codec
snd_pcm_oss 39904 0
snd_mixer_oss 15872 1 snd_pcm_oss
snd_pcm 72772 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 9800 2 snd_via82xx,snd_pcm
snd_mpu401_uart 8384 1 snd_via82xx
snd_seq_dummy 4036 0
snd_seq_oss 29760 0
snd_seq_midi 8480 0
snd_rawmidi 23264 2 snd_mpu401_uart,snd_seq_midi
usb_storage 77440 0
parport_pc 34212 1
parport 34312 3 ppdev,lp,parport_pc
evdev 9664 2
snd_seq_midi_event 7360 2 snd_seq_oss,snd_seq_midi
snd_seq 46864 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 21380 2 snd_pcm,snd_seq
snd_seq_device 8012 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
shpchp 31380 0
usbhid 26144 0
hid 25792 1 usbhid
snd 48804 11 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_viapro 8788 0
pcspkr 3392 0
k8temp 5824 0
soundcore 7840 1 snd
i2c_core 24000 1 i2c_viapro
rtc 13144 0
pci_hotplug 29568 1 shpchp
amd64_agp 12420 1
agpgart 32264 2 drm,amd64_agp
pl2303 20036 0
usbserial 31976 1 pl2303
usblp 13632 0
ext3 122632 2
jbd 55848 1 ext3
mbcache 8580 1 ext3
raid1 22784 1
md_mod 74196 4 raid1
ide_cd 36896 0
cdrom 33184 1 ide_cd
ide_disk 16832 7
ata_generic 7876 0
libata 116912 1 ata_generic
scsi_mod 137356 3 sd_mod,usb_storage,libata
via_rhine 24136 0
mii 5696 1 via_rhine
ehci_hcd 31116 0
uhci_hcd 23376 0
usbcore 125704 8 usb_storage,usbhid,pl2303,usbserial,usblp,ehci_hcd,uhci_hcd
via82cxxx 8964 0 [permanent]
generic 5124 0 [permanent]
ide_core 114436 5 usb_storage,ide_cd,ide_disk,via82cxxx,generic
thermal 13768 0
processor 31368 1 thermal
fan 5124 0
-- /etc/kernel-img.conf
# Do not create symbolic links in /
Do_Symlinks =
do_initrd = Yes
-- /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, 'stable'), (600, 'unstable'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-k7 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-11 GNU cpio -- a program to manage ar
ii findutils 4.2.33-1 utilities for finding files--find,
ii klibc-utils 1.5.7-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
Versions of packages initramfs-tools recommends:
ii busybox 1:1.1.3-5 Tiny utilities for small and embed
-- no debconf information
Reply to: