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

Bug#627547: /usr/sbin/update-initramfs: wrong arguments give misleading error message



Package: initramfs-tools
Version: 0.98.8
Severity: minor
File: /usr/sbin/update-initramfs


> root@yun:/boot# update-initramfs -k 2.6.38-2p -c /boot/initrd.img-2.6.38-2p
> Invalid argument for option -k.
> [...]


The error message "Invalid argument for option -k." is
misleading. Instead, it should be something like "Option -c doesn´t
take an argument.".

It does not matter wether you specify '-k' before '-c' or '-c' before
'-k', which makes it a little more confusing. It´s the same with '-u'
and '-d', btw.


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 3.7M Oct 22  2010 /boot/initrd.img-2.6.32
-rw-r--r-- 1 root root 3.7M Feb 10 12:57 /boot/initrd.img-2.6.32-30kvm
-rw-r--r-- 1 root root 3.8M Mar 21 19:34 /boot/initrd.img-2.6.32-31
-rw-r--r-- 1 root root 4.1M Mar 25 22:21 /boot/initrd.img-2.6.32-31p
-rw-r--r-- 1 root root  11M Mar 21 15:41 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 3.2M Jan 26 01:08 /boot/initrd.img-2.6.32-kvm
-rw-r--r-- 1 root root 3.7M Jan 26 01:09 /boot/initrd.img-2.6.32kvm
-rw-r--r-- 1 root root  11M Apr 27 16:26 /boot/initrd.img-2.6.38-2-amd64
-rw-r--r-- 1 root root 4.1M May 21 22:08 /boot/initrd.img-2.6.38-2p
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-31p iommu=noaperture root=/dev/mapper/vg0-root ro quiet

-- resume
RESUME=UUID=1b3dd10e-147c-40e2-8d49-9523485067b8
-- /proc/filesystems
	ext4
	btrfs

-- lsmod
Module                  Size  Used by
nvidia              10473357  38 
powernow_k8            10078  0 
sco                     7344  2 
rfcomm                 28538  10 
l2cap                  25071  13 rfcomm
act_police              3254  0 
cls_flow                5848  0 
cls_fw                  3353  4 
cls_u32                 5342  1 
sch_tbf                 3506  0 
sch_prio                3395  0 
sch_htb                11311  1 
sch_hfsc               11319  0 
sch_ingress             1536  0 
sch_sfq                 4566  4 
bridge                 39392  0 
stp                     1411  1 bridge
llc                     3150  2 bridge,stp
xt_time                 1635  0 
xt_connlimit            2684  0 
xt_realm                 847  0 
iptable_raw             1795  0 
xt_comment               819  19 
xt_recent               6052  0 
xt_policy               2146  0 
ipt_ULOG                5945  0 
ipt_REJECT              1934  4 
ipt_REDIRECT            1007  0 
ipt_NETMAP              1033  0 
ipt_MASQUERADE          1402  1 
ipt_ECN                 1600  0 
ipt_ecn                 1216  0 
ipt_CLUSTERIP           4690  0 
ipt_ah                   989  0 
ipt_addrtype            1697  3 
nf_nat_snmp_basic       7441  0 
nf_nat_sip              4899  0 
nf_nat_irc              1198  0 
nf_nat_h323             5022  0 
nf_nat_ftp              1863  0 
nf_conntrack_sip       13372  1 nf_nat_sip
nf_conntrack_proto_sctp     5487  0 
nf_conntrack_irc        3139  1 nf_nat_irc
nf_conntrack_h323      36440  1 nf_nat_h323
nf_conntrack_ftp        5181  1 nf_nat_ftp
xt_tcpmss               1329  0 
xt_pkttype               915  0 
xt_physdev              1483  0 
xt_owner                 975  0 
xt_NFQUEUE              1981  0 
xt_NFLOG                 950  0 
nfnetlink_log           6710  1 xt_NFLOG
xt_multiport            2097  4 
xt_MARK                  845  6 
xt_mark                  845  3 
xt_mac                   891  0 
xt_limit                1614  0 
xt_length               1092  0 
xt_iprange              1361  0 
xt_helper               1155  1 
xt_hashlimit            7443  0 
xt_DSCP                 2052  0 
xt_dscp                 1612  0 
xt_dccp                 1738  0 
xt_conntrack            2153  15 
xt_CONNMARK             1252  2 
xt_connmark             1051  0 
xt_CLASSIFY              837  0 
ipt_LOG                 4446  8 
xt_tcpudp               2274  31 
xt_state                1215  0 
iptable_nat             4195  1 
nf_nat                 12239  8 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_sip,nf_nat_irc,nf_nat_h323,nf_nat_ftp,iptable_nat
nf_conntrack_ipv4       9038  21 iptable_nat,nf_nat
nf_defrag_ipv4          1067  1 nf_conntrack_ipv4
nf_conntrack           43781  21 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_snmp_basic,nf_nat_sip,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          2777  1 
nfnetlink               2222  1 nfnetlink_log
iptable_filter          2202  1 
ip_tables              14045  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables               12293  43 xt_time,xt_connlimit,xt_realm,xt_comment,xt_recent,xt_policy,ipt_ULOG,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,ipt_LOG,xt_tcpudp,xt_state,iptable_nat,ip_tables
loop                   11828  0 
cx22702                 4413  1 
isl6421                 1204  1 
cx24116                12692  1 
cx88_dvb               16756  0 
cx88_vp3054_i2c         1484  1 cx88_dvb
videobuf_dvb            3914  1 cx88_dvb
dvb_core               72774  2 cx88_dvb,videobuf_dvb
wm8775                  2859  1 
tuner_simple           10413  2 
tuner_types            10497  1 tuner_simple
tda9887                 7917  1 
tda8290                 9001  0 
tuner                  15812  2 
snd_hda_codec_realtek   233374  1 
snd_emu10k1_synth       4800  0 
snd_emux_synth         25433  1 snd_emu10k1_synth
snd_seq_virmidi         3579  1 snd_emux_synth
snd_seq_midi_emul       3924  1 snd_emux_synth
cx8802                 11037  1 cx88_dvb
cx88_alsa               7611  0 
cx8800                 24552  0 
cx88xx                 64066  4 cx88_dvb,cx8802,cx88_alsa,cx8800
snd_hda_intel          18665  0 
snd_emu10k1           129969  4 snd_emu10k1_synth
ir_common              23639  1 cx88xx
snd_ac97_codec         98394  1 snd_emu10k1
snd_hda_codec          44075  2 snd_hda_codec_realtek,snd_hda_intel
i2c_algo_bit            4137  2 cx88_vp3054_i2c,cx88xx
ac97_bus                1014  1 snd_ac97_codec
snd_usb_audio          62080  0 
snd_pcm_oss            29455  0 
snd_mixer_oss          12184  1 snd_pcm_oss
snd_util_mem            1848  2 snd_emux_synth,snd_emu10k1
snd_usb_lib            13676  1 snd_usb_audio
tveeprom               12161  1 cx88xx
uvcvideo               51770  0 
v4l2_common            11351  4 wm8775,tuner,cx8800,cx88xx
snd_pcm                53420  8 cx88_alsa,snd_hda_intel,snd_emu10k1,snd_ac97_codec,snd_hda_codec,snd_usb_audio,snd_pcm_oss
snd_hwdep               5170  3 snd_emux_synth,snd_emu10k1,snd_usb_audio
videodev               29979  6 wm8775,tuner,cx8800,cx88xx,uvcvideo,v4l2_common
videobuf_dma_sg         7915  5 cx88_dvb,cx8802,cx88_alsa,cx8800,cx88xx
v4l1_compat            11474  2 uvcvideo,videodev
snd_seq_midi            4112  0 
snd_rawmidi            15545  4 snd_seq_virmidi,snd_emu10k1,snd_usb_lib,snd_seq_midi
snd_seq_midi_event      4508  2 snd_seq_virmidi,snd_seq_midi
snd_seq                41982  6 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_midi_event
videobuf_core          11745  5 videobuf_dvb,cx8802,cx8800,cx88xx,videobuf_dma_sg
v4l2_compat_ioctl32     8541  1 videodev
btcx_risc               2699  4 cx8802,cx88_alsa,cx8800,cx88xx
snd_timer              15916  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device          4417  5 snd_emu10k1_synth,snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq
i2c_core               15455  16 nvidia,cx22702,isl6421,cx24116,cx88_vp3054_i2c,wm8775,tuner_simple,tda9887,tda8290,tuner,cx8800,cx88xx,i2c_algo_bit,tveeprom,v4l2_common,videodev
snd                    43970  23 snd_hda_codec_realtek,snd_emux_synth,snd_seq_virmidi,cx88_alsa,snd_hda_intel,snd_emu10k1,snd_ac97_codec,snd_hda_codec,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               4480  1 snd
rtc_cmos                7213  0 
snd_page_alloc          5851  3 snd_hda_intel,snd_emu10k1,snd_pcm
rtc_core                6857  1 rtc_cmos
processor              24473  1 powernow_k8
rtc_lib                 1503  1 rtc_core
psmouse                35983  0 
button                  4517  0 
evdev                   7292  19 
btusb                   9214  2 
bluetooth              40184  8 sco,rfcomm,l2cap,btusb
usbhid                 14987  0 
hid                    32839  1 usbhid
btrfs                 366187  0 
zlib_deflate           17116  1 btrfs
crc32c                  2488  1 
libcrc32c                890  1 btrfs
ohci_hcd               18141  0 
ehci_hcd               30788  0 
xhci                   32079  0 
sg                     15796  0 
thermal                11666  0 
thermal_sys            10605  2 processor,thermal
usbcore               106091  9 snd_usb_audio,snd_usb_lib,uvcvideo,btusb,usbhid,ohci_hcd,ehci_hcd,xhci
nls_base                6179  1 usbcore
sr_mod                 10878  0 
cdrom                  29255  1 sr_mod
r8168                 153422  0 

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] 
md126 : active raid5 sda1[0] sdb1[3] sdc1[1]
      3907023872 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
      
md0 : active raid1 sde1[0] sdd1[1]
      488384400 blocks super 1.2 [2/2] [UU]
      
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
dmsetup
keymap
klibc
lvm2
mdadm
thermal
udev


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-31p (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar
ii  findutils                     4.4.2-1+b1 utilities for finding files--find,
ii  klibc-utils                   1.5.21-1   small utilities built with klibc f
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo
ii  udev                          167-3      /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                      1:1.17.1-10 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii  bash-completion               1:1.3-1    programmable completion for the ba

-- no debconf information



Reply to: