Your message dated Mon, 30 Mar 2009 00:57:08 +0200
with message-id <20090329225708.gf27...@stro.at>
and subject line Re: hook-functions: manual_add_modules(): doesn't work with
mawk
has caused the Debian Bug report #492571,
regarding hook-functions: manual_add_modules(): doesn't work with mawk
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
492571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492571
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92e
Severity: important
See manual_add_modules() in /usr/share/initramfs-tools/hook-functions:
awk '/^insmod/ { print $2 }'
That line works as expected when your awk is `gawk`, but produces no output
with `mawk`. This leaves the system unbootable (in my case) because none of
the kernel drivers are copied to the ramfs image. Easy workaround is to
replace it with this:
grep '^insmod' | sed -r '/insmod\s+//'
-- Package-specific info:
-- /proc/cmdline
root=UUID=5c884208-2607-40e2-b304-33e971c3b6b0 ro
-- /proc/filesystems
cramfs
xfs
fuseblk
-- lsmod
Module Size Used by
xt_tcpudp 7808 1
iptable_filter 7552 1
ip_tables 24680 1 iptable_filter
x_tables 24712 2 xt_tcpudp,ip_tables
video 23440 0
button 13472 0
ac 10376 0
battery 15496 0
ipv6 296840 8
fuse 50608 1
dm_snapshot 21704 0
dm_mirror 26240 0
dm_mod 64112 2 dm_snapshot,dm_mirror
loop 23044 0
pcmcia 45976 0
firmware_class 15360 1 pcmcia
joydev 15616 0
wlan_scan_sta 18176 0
ath_rate_sample 17152 1
snd_hda_intel 311968 2
snd_pcm_oss 48288 0
snd_mixer_oss 21376 1 snd_pcm_oss
tifm_7xx1 12672 0
snd_pcm 89992 2 snd_hda_intel,snd_pcm_oss
tifm_core 16264 1 tifm_7xx1
ath_pci 99632 0
snd_timer 28424 1 snd_pcm
yenta_socket 31756 1
rsrc_nonstatic 16128 1 yenta_socket
pcmcia_core 46628 3 pcmcia,yenta_socket,rsrc_nonstatic
wlan 206496 4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 222576 3 ath_rate_sample,ath_pci
i2c_nforce2 10624 0
snd 65896 9
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 13088 1 snd
psmouse 45468 0
pcspkr 7680 0
snd_page_alloc 15376 2 snd_hda_intel,snd_pcm
i2c_core 31488 1 i2c_nforce2
k8temp 10496 0
serio_raw 11780 0
tsdev 13312 0
evdev 15232 5
xfs 497864 1
ide_cd 44832 0
cdrom 39848 1 ide_cd
usbhid 32704 0
hid 31360 1 usbhid
amd74xx 19888 0 [permanent]
generic 10372 0 [permanent]
ide_core 147728 3 ide_cd,amd74xx,generic
ata_generic 13188 0
forcedeth 52872 0
ehci_hcd 37900 0
ohci_hcd 25860 0
thermal 19600 0
processor 39912 1 thermal
fan 9992 1
sata_nv 25860 2
libata 132528 2 ata_generic,sata_nv
sd_mod 33280 3
scsi_mod 164536 2 libata,sd_mod
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = yes
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
-- /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: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-3-amd64 (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 cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.11-3 small utilities built with klibc f
ii module-init-tools 3.4-1 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.9.2-3 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
closing as no evidence has been brought forward
that this really fails with mawk.
tests showed it working with mawk on lenny.
if you can still reproduce, please tell how
and the bug will get reopened.
--
maks
--- End Message ---