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

Bug#579336: marked as done (update-initramfs: recognize (and ignore?) moduleless/ramdiskless kernels.)



Your message dated Fri, 26 Sep 2014 00:53:07 +0100
with message-id <1411689187.3659.50.camel@decadent.org.uk>
and subject line Re: update-initramfs: recognize (and ignore?) moduleless/ramdiskless kernels.
has caused the Debian Bug report #579336,
regarding update-initramfs: recognize (and ignore?) moduleless/ramdiskless kernels.
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 owner@bugs.debian.org
immediately.)


-- 
579336: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579336
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.94.4
Severity: wishlist

Following the kernel handbook, I built a mainline kernel using "make
deb-pkg".  This kernel is configured without modules or initrd
support.  On installing it with dpkg -i, I got this:

    $ sudo dpkg -i ../linux-image-2.6.34-rc5_twb1_amd64.deb
    Preparing to replace linux-image-2.6.34-rc5 twb1 (using .../linux-image-2.6.34-rc5_twb1_amd64.deb) ...
    Unpacking replacement linux-image-2.6.34-rc5 ...
    Setting up linux-image-2.6.34-rc5 (twb1) ...
    update-initramfs: Generating /boot/initrd.img-2.6.34-rc5
    WARNING: missing /lib/modules/2.6.34-rc5
    Device driver support needs thus be built-in linux image!
    WARNING: Couldn't open directory /lib/modules/2.6.34-rc5: No such file or directory
    FATAL: Could not open /lib/modules/2.6.34-rc5/modules.dep.temp for writing: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.34-rc5/modules.dep: No such file or directory

It would be better if initramfs-tools 1) wasn't run in the first
place; or 2) gave a clearer error message, such as:

    update-initramfs: Generating /boot/initrd.img-2.6.34-rc5
    WARNING: CONFIG_MODULES=n in 2.6.34-rc5, a ramdisk is likely useless.
    FATAL: CONFIG_BLK_DEV_INITRD=n in 2.6.34-rc5, a ramdisk is useless.

In particular, this current warning is unintelligible:

    Device driver support needs thus be built-in linux image!

If the problem is in the kernel -- if "make deb-pkg" always invokes
update-initramfs, but shouldn't -- let me know and I'll take this
issue upstream.

-- Package-specific info:
-- /proc/cmdline
root=/dev/sda2 acpi_osi=Linux ro quiet  BOOT_IMAGE=vmlinuz.ricer 

-- /proc/filesystems
	btrfs
	ext2
	fuseblk

-- lsmod
Module                  Size  Used by
cpufreq_conservative     7910  2 
fuse                   50478  1 
ext2                   53966  1 
mbcache                 5050  1 ext2
acpi_cpufreq            5787  1 
joydev                  8546  0 
snd_hda_codec_realtek   243343  1 
usbhid                 33507  0 
hid                    63449  1 usbhid
snd_hda_intel          20211  0 
arc4                    1274  2 
snd_hda_codec          57782  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5428  1 snd_hda_codec
ecb                     1841  2 
snd_pcm                61078  2 snd_hda_intel,snd_hda_codec
uvcvideo               52292  0 
ath9k                  62481  0 
snd_seq                43279  0 
videodev               31744  1 uvcvideo
v4l1_compat            11442  2 uvcvideo,videodev
ath9k_common            2025  1 ath9k
v4l2_compat_ioctl32     9160  1 videodev
i915                  250731  1 
snd_timer              15749  2 snd_pcm,snd_seq
mac80211              140616  2 ath9k,ath9k_common
snd_seq_device          4493  1 snd_seq
drm_kms_helper         20097  1 i915
snd                    47090  8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
ath9k_hw              197980  2 ath9k,ath9k_common
drm                   143558  2 i915,drm_kms_helper
eeepc_laptop           12504  0 
ath                     8354  2 ath9k,ath9k_hw
i2c_algo_bit            4225  1 i915
uhci_hcd               18585  0 
psmouse                45587  0 
sparse_keymap           2171  1 eeepc_laptop
tpm_tis                 7336  0 
soundcore               4822  1 snd
cfg80211              105832  4 ath9k,ath9k_common,mac80211,ath
i2c_core               15385  5 videodev,i915,drm_kms_helper,drm,i2c_algo_bit
ehci_hcd               31298  0 
tpm                     9933  1 tpm_tis
usbcore               126421  5 usbhid,uvcvideo,uhci_hcd,ehci_hcd
evdev                   7384  22 
intel_agp              25641  1 
tpm_bios                4521  1 tpm
rfkill                 13164  2 eeepc_laptop,cfg80211
video                  18001  1 i915
serio_raw               3960  0 
atl1c                  26334  0 
led_class               2417  2 ath9k,eeepc_laptop
nls_base                6377  1 usbcore
output                  1692  1 video
battery                 4998  0 
ac                      2192  0 
snd_page_alloc          6313  2 snd_hda_intel,snd_pcm
pci_hotplug            21251  1 eeepc_laptop
button                  4634  1 i915
processor              29489  3 acpi_cpufreq
sd_mod                 30459  4 
crc_t10dif              1276  1 sd_mod
thermal                11889  0 
thermal_sys            11990  3 video,processor,thermal
ahci                   32214  3 
libata                133993  1 ahci
scsi_mod              123365  2 sd_mod,libata
btrfs                 376896  1 
zlib_deflate           17746  1 btrfs
crc32c                  2560  1 
libcrc32c               1106  1 btrfs

-- /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 = yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=lzma
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /sys/block
sda


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

initramfs-tools suggests no packages.

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed:
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=lzma
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- no debconf information



--- End Message ---
--- Begin Message ---
The initramfs-tools postinst hook does nothing if the environment
variable INITRD=No is present.

make-kpkg will set that in the postinst script it generates unless you
pass --initrd to it, and 'make deb-pkg' will do so if you disable
CONFIG_BLK_DEV_INITRD in the kernel config.

So I don't believe any change is needed in initramfs-tools.

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: