--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initramfs-tools: MODULES=DEP not working for atiixp
- From: Matthijs Kooijman <matthijs@stdin.nl>
- Date: Wed, 27 Jan 2010 21:34:46 +0100
- Message-id: <20100127203446.5515.99871.reportbug@xanthe.stderr.nl>
Package: initramfs-tools
Version: 0.93.4
Severity: normal
I thought I'd experiment a bit with MODULES=DEP, but it seems this will
not work. The atiixp module is properly installed into the initrd (I'm
not sure how), but it doesn't end up in /conf/modules. Instead, the
/conf/modules ends up as:
radeonfb
fbcon
vesafb
pci:v00001002d00004376sv00001462sd00000131bc01sc01i8a
ide-gd
ATIIXP_IDE
pci:v00001002d00004376sv00001462sd00000131bc01sc01i8a
unix
Of these, the ide-gd and ATIIXP_IDE modules come from walking
/sys/devices/pci0000\:00/0000\:00\:14.1/ide0/0.0/. However, the module
is called atiixp, not ATIIXP_IDE. The ATIIXP_IDE comes directly from
sysfs, though:
$ readlink -f /sys/devices/pci0000\:00/0000\:00\:14.1/driver
/sys/bus/pci/drivers/ATIIXP_IDE
Perhaps using driver/module instead of just driver is more robust?
$ readlink -f /sys/devices/pci0000\:00/0000\:00\:14.1/driver/module
/sys/module/atiixp
This would also fix the ide-gd module, which really seems to be called
ide-gd_mod:
$ readlink -f /sys/devices/pci0000\:00/0000\:00\:14.1/ide0/0.0/driver
/sys/bus/ide/drivers/ide-gd
$ readlink -f
/sys/devices/pci0000\:00/0000\:00\:14.1/ide0/0.0/driver/module
/sys/module/ide_gd_mod
$ sudo modprobe ide-gd
FATAL: Module ide_gd not found.
$ sudo modprobe ide-gd_mod
Gr.
Matthijs
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.31.1 root=/dev/mapper/Xanthe-root ro video=radeonfb
-- /proc/filesystems
ext3
ext2
vfat
msdos
fuseblk
-- lsmod
Module Size Used by
snd_usb_audio 96480 2
snd_usb_lib 18296 1 snd_usb_audio
snd_hwdep 8736 1 snd_usb_audio
cpufreq_ondemand 7816 1
radeon 373792 1
drm 186816 2 radeon
sco 20520 2
bnep 19352 2
rfcomm 75136 5
l2cap 44640 16 bnep,rfcomm
vboxnetflt 105804 0
vboxnetadp 98476 0
vboxdrv 1708012 1 vboxnetflt
af_packet 23384 2
fuse 67488 1
btusb 17644 2
bluetooth 103876 9 sco,bnep,rfcomm,l2cap,btusb
dm_mod 71144 60
ide_gd_mod 15584 7
ide_cd_mod 30144 0
cdrom 38824 1 ide_cd_mod
wacom 24096 0
usbhid 23824 0
hid 43836 1 usbhid
pcmcia 39084 0
snd_atiixp 18444 4
snd_atiixp_modem 13732 0
snd_ac97_codec 122712 2 snd_atiixp,snd_atiixp_modem
ac97_bus 1976 1 snd_ac97_codec
snd_pcm_oss 26432 0
snd_mixer_oss 17048 1 snd_pcm_oss
snd_pcm 81636 9 snd_usb_audio,snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 7200 0
snd_rawmidi 25504 2 snd_usb_lib,snd_seq_midi
ohci_hcd 36148 0
snd_seq_midi_event 8472 1 snd_seq_midi
snd_seq 55488 2 snd_seq_midi,snd_seq_midi_event
snd_timer 24192 2 snd_pcm,snd_seq
snd_seq_device 7820 3 snd_seq_midi,snd_rawmidi,snd_seq
rt2500pci 17880 0
rt2x00pci 8984 1 rt2500pci
rt2x00lib 39672 2 rt2500pci,rt2x00pci
input_polldev 4424 1 rt2x00lib
sdhci_pci 9144 0
sdhci 21788 1 sdhci_pci
mac80211 207180 2 rt2x00pci,rt2x00lib
snd 69512 20 snd_usb_audio,snd_hwdep,snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
atiixp 4408 6
msi_laptop 5776 0
pcspkr 2968 0
cfg80211 101000 2 rt2x00lib,mac80211
rfkill 21856 2 bluetooth,cfg80211
eeprom_93cx6 2360 1 rt2500pci
yenta_socket 43396 1
rsrc_nonstatic 11064 1 yenta_socket
pcmcia_core 40476 3 pcmcia,yenta_socket,rsrc_nonstatic
mmc_core 64392 1 sdhci
psmouse 45556 0
serio_raw 6236 0
8139too 33820 0
mii 6040 1 8139too
ide_core 104080 3 ide_gd_mod,ide_cd_mod,atiixp
soundcore 8864 1 snd
snd_page_alloc 10312 3 snd_atiixp,snd_atiixp_modem,snd_pcm
ehci_hcd 54152 0
usbcore 211732 8 snd_usb_audio,snd_usb_lib,btusb,wacom,usbhid,ohci_hcd,ehci_hcd
rtc_cmos 14492 0
rtc_core 20940 1 rtc_cmos
rtc_lib 3320 1 rtc_core
evdev 11520 17
unix 29872 275
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = no
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- /sys/block
dm-0
dm-1
dm-10
dm-11
dm-12
dm-13
dm-14
dm-2
dm-3
dm-4
dm-5
dm-6
dm-7
dm-8
dm-9
hda
hdc
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.1 (PREEMPT)
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.10-1 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.15-1 small utilities built with klibc f
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
ii udev 150-2 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.14.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.94
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:
initramfs-tools_0.94.dsc
to main/i/initramfs-tools/initramfs-tools_0.94.dsc
initramfs-tools_0.94.tar.gz
to main/i/initramfs-tools/initramfs-tools_0.94.tar.gz
initramfs-tools_0.94_all.deb
to main/i/initramfs-tools/initramfs-tools_0.94_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 567189@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 05 Apr 2010 05:25:48 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.94
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description:
initramfs-tools - tools for generating an initramfs
Closes: 415474 433708 465760 487409 506533 519800 523735 524534 525606 533903 534201 535008 536195 541864 543568 545728 547365 548711 554873 559535 559619 560266 561289 562561 565386 565416 567065 567189 568527 569033 570678 572858 573761 574553 575154 575157 576429
Changes:
initramfs-tools (0.94) unstable; urgency=low
.
* The "Litte Bang" release
.
[ maximilian attems ]
* Nuke kernelextras hooks.
* Create a klibc hook script.
* Redefinde MODULES=most to not carry any fb driver per default.
* Nuke framebuffer boot script.
* Revert "hook-functions: Add hid_* modules."
* Move busybox addition to a hook script.
* mkinitramfs fix comment.
* hook-functions: Fix mounted /sys check for openvz container.
* initramfs-tools.8: fix boot example script to execute.
scripts/functions. (closes: #545728)
* Fix out-of-date-standards-version.
* /etc/kernel hook script support for make deb-pkg generated linux-images
and kernel-package. (closes: #523735, #561289)
* update-initramfs: allow -t takeover on delete.
* /etc/kernel/postrm.d/i-t: use now takeover on delete.
(closes: #524534, #547365, #559619)
* Nuke useless unused dir.
* kernel hook scripts: Fix typo, add comments.
* hook-funcitions: Only warn about missing firmware if /proc/modules
exists. (closes: #560266, #575154)
* mkinitramfs: Be opportunistic when calling modprobe thus showing
errors. (closes: #554873)
* copy_exec: Check if ldd is around.
* scripts/local: Use blkid as backup fstype detection. (closes: #568527)
* mkinitramfs: only copy modprobe conf files. (closes: #506533)
* blacklist earlier at init-top stage.
* scripts/local: fix blkid invocation.
* init: export and unset BOOTIF.
* init: rexport resume to reallow it's hardcoded usage. (closes: #572858)
* update-initramfs: -d delete .bak file. (closes: #559535)
* control: bump standards version without changes.
* control: Clean up Uploaders field.
* switch from cdbs to debhelper 7.
* update-initramfs: Stop second guessing lilo usage. (closes: #574553)
* mkinitramfs: allow to build initramfs for unmodular linux images.
(closes: #415474, #433708)
* initramfs.conf.5: document UMASK variable for sensitive initramfs.
(closes: #536195)
* update-initramfs: only run elilo if configured. (closes: #534201)
* update-initramfs: fix previous elilo commit.
* MODULES=DEP Use driver/module syfs attribute. (closes: #567189)
* panic: quote variable.
* MODULES=DEP: Check rootfs on mkinitramfs. (closes: #519800)
* Use ata_generic driver on all_generic_ide bootarg
* scripts/functions: add get_fstype() from scripts/local. (closes: #487409)
* mkinitramfs.8: update date.
* Keep acpi modules in initramfs so that udev can load them early.
* mkinitramfs: no longer copy depmod.
* init: Silence "Loading essential drivers..." on quiet boot.
* hook-functions: Add btrfs to base modules.
* init: export BOOT for casper and friends.
* hooks/klibc: Keep gzip in initramfs.
* modernize docs to todays standards.
* examples: shipp old framebuffer boot script.
* initramfs.conf.5, update-initramfs.conf.5: Add FILES section.
(closes: #565386)
* mkinitramfs: be silent if no modules.map was generated in first place.
* debian/control: Add a breaks cryptsetup.
.
[ Tormod Volden ]
* blacklist boot hook write to /etc/modprobe.d/initramfs.conf.
(closes: #541864)
.
[ Michael Prokop ]
* Fix path to nfsroot.txt in documentation.
* hook-functions: Avoid firmware copy error. (closes: #570678)
.
[ Joey Hess ]
* scripts/local: avoid mount -t unknown. (closes: #567065)
.
[ Avi Rozen ]
* mkinitramfs: add all usb storage devices. (closes: #543568)
.
[ Ferenc Wagner ]
* initramfs-tools: make the panic argument available in the rescue
shell. (closes: #569033)
.
[ Maximilian Gass ]
* mkinitramfs: KEYMAP option fails to work due to missing keymap.
(closes: #565416)
.
[ Vagrant Cascadian ]
* configure_networking: support BOOTIF variable set by pxelinux.
(closes: #535008)
.
[ Ben Hutchings ]
* copy_modules_dir: Take a list of exclusions after the base directory.
* auto_add_modules: Copy all modules from net, excluding some
subdirectories.
.
[ Scott James Remnant ]
* init: Mount devtmpfs on /dev.
* mkinitramfs: Call depmod before packing the initramfs.
(closes: #465760, #562561)
* init: load the netconsole module with netconsole bootarg
* init: mount /dev/pts as well as /dev.
.
[ Ben Collins ]
* update-initramfs: Default to not keep .bak backups.
.
[ Piotr Lewandowski ]
* update-initramfs breaks if /etc/mtab is a symlink to /proc/mounts.
(closes: #525606)
.
[ Martin Michlmayr ]
* MODULES=dep fix boot with MMC. (closes: #548711)
.
[ Nikolaus Schulz ]
* hook-functions: let dep_add_modules() recurse into lvm slave devices.
(closes: 573761)
.
[ Anna Jonna Armannsdottir ]
* configure_networking: Try repeatedly ipconfig with increasing
timeout.
.
[ Colin Watson ]
* mkinitramfs: Filter out looping or broken symlinks from the
initramfs. (closes: #575157)
* mkinitramfs: set initramfs root to 755.
.
[ Bert Schulze ]
* initramfs-tools: support different compression tools in mkinitramfs.
(closes: #533903)
* mkinitramfs: -c compression support / commandline override.
(closes: #576429)
Checksums-Sha1:
5afd5d57aa19a5c0209eaecc9b1b1f9465753318 922 initramfs-tools_0.94.dsc
509fb16736997ecba36f641127ceab5bea18f68d 71586 initramfs-tools_0.94.tar.gz
02aca8c6e29acf625100c1551faf1dbc5b4a17d0 78974 initramfs-tools_0.94_all.deb
Checksums-Sha256:
aee9a553dd3844532c464d9f649cbff02928568d037415dc8126bb6591e2b817 922 initramfs-tools_0.94.dsc
25580b8f761e154cfa4efe6d4657b69b8a6403f7097dcfe2d50c2e64cc6f4e9b 71586 initramfs-tools_0.94.tar.gz
a8abc65bdbf74bedb0bb77a8079d34b0b0ef8b41adde923e4748a673af770f3c 78974 initramfs-tools_0.94_all.deb
Files:
c1dbcaa6efb98082c45257309ba20312 922 utils optional initramfs-tools_0.94.dsc
0295a063638ef0e44a38ef9fa3d7f93f 71586 utils optional initramfs-tools_0.94.tar.gz
c66b55ac5c3d7e19cb57057489defa1d 78974 utils optional initramfs-tools_0.94_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAku6RlIACgkQeW7Lc5tEHqh9MgCaAwfEx8qpBHws+lusrsXjVDTP
OTMAmwU4vowqNyQHgtoTdNywtdHts2q5
=MCMB
-----END PGP SIGNATURE-----
--- End Message ---