Re: Bug#598518: linux-image-2.6-686: ata_piix module loaded before ahci module deactivate hotplug support (regression from lenny)

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

 



2010/10/4 maximilian attems <max@xxxxxxx>:
> we do shipp modules.order in initramfs.

> hmm thomas what are your MODULES settings, please post output of
> Âegrep MODULES -r /etc/initramfs-tools/

> you can check any initramfs if it has the relevant modules with
> lsinitramfs /boot/initrd.img-2.6.35-trunk-amd64 | grep ahci

2010/10/5 maximilian attems <max@xxxxxxx>:
> please also report which initramfs-tools version you are using,
> since lenny there had been ton of fixes:
> dpkg -l initramfs-tools
>
> you should be running 0.98.4

Somes checks, playing with system configuration,

On Lenny:

# egrep MODULES -r /etc/initramfs-tools/
/etc/initramfs-tools/initramfs.conf:# MODULES: [ most | netboot | dep | list ]
/etc/initramfs-tools/initramfs.conf:MODULES=most

# lspci -vv -s 00:1f.2 | grep Kernel
	Kernel driver in use: ahci
	Kernel modules: ahci, ata_piix

# dpkg -l initramfs-tools | grep ^ii
ii  initramfs-tools                   0.92o                      tools
for generating an initramfs

# find / -iname "modules.order"

On Squeeze :

# egrep MODULES -r /etc/initramfs-tools/
/etc/initramfs-tools/initramfs.conf:# MODULES: [ most | netboot | dep | list ]
/etc/initramfs-tools/initramfs.conf:MODULES=most

# lspci -vv -s 00:1f.2 | grep Kernel
	Kernel driver in use: ata_piix

# dpkg -l initramfs-tools | grep ^ii
ii  initramfs-tools                   0.98.4
tools for generating an initramfs

# find / -iname "modules.order"

Nothing seems to be interesting here.

Playing with initrd,

On Lenny :

# lsinitramfs initrd.img-2.6.26-2-686 | grep 'ahci\|ata_piix'
lib/modules/2.6.26-2-686/kernel/drivers/ata/ahci.ko
lib/modules/2.6.26-2-686/kernel/drivers/ata/ata_piix.ko

# gunzip < initrd.img-2.6.26-2-686 | cpio -i --make-directories
# find . -iname '*module*'
./conf/modules
./lib/modules

On Squeeze (unmodified):

# lsinitramfs initrd.img-2.6.32-5-686 | grep 'ahci\|ata_piix'
lib/modules/2.6.32-5-686/kernel/drivers/ata/ahci.ko
lib/modules/2.6.32-5-686/kernel/drivers/ata/ata_piix.ko

# gunzip < initrd.img-2.6.32-5-686 | cpio -i --make-directories
# find . -iname '*module*'
./conf/modules
./lib/modules
./lib/modules/2.6.32-5-686/modules.symbols
./lib/modules/2.6.32-5-686/modules.dep
./lib/modules/2.6.32-5-686/modules.alias.bin
./lib/modules/2.6.32-5-686/modules.symbols.bin
./lib/modules/2.6.32-5-686/modules.alias
./lib/modules/2.6.32-5-686/modules.devname
./lib/modules/2.6.32-5-686/modules.dep.bin
./lib/modules/2.6.32-5-686/modules.softdep

On Squeeze (modified, with blacklist ata_piix):

# lsinitramfs initrd.img-2.6.32-5-686 | grep 'ahci\|ata_piix'
lib/modules/2.6.32-5-686/kernel/drivers/ata/ahci.ko
lib/modules/2.6.32-5-686/kernel/drivers/ata/ata_piix.ko

# gunzip < initrd.img-2.6.32-5-686 | cpio -i --make-directories
# find . -iname '*module*'
./conf/modules
./lib/modules
./lib/modules/2.6.32-5-686/modules.symbols
./lib/modules/2.6.32-5-686/modules.dep
./lib/modules/2.6.32-5-686/modules.alias.bin
./lib/modules/2.6.32-5-686/modules.symbols.bin
./lib/modules/2.6.32-5-686/modules.alias
./lib/modules/2.6.32-5-686/modules.devname
./lib/modules/2.6.32-5-686/modules.dep.bin
./lib/modules/2.6.32-5-686/modules.softdep

Comparing file 'conf/module' which is common to Lenny and Squeeze

# diff lenny/conf/modules squeeze-unmodified/conf/modules
# diff squeeze-unmodified/conf/modules squeeze-blacklist/conf/modules

Comparing somes Squeeze modified and unmodified initrds contents :

# for i in modules.symbols \
           modules.dep \
           modules.alias.bin \
           modules.symbols.bin \
           modules.alias \
           modules.devname \
           modules.dep.bin \
           modules.softdep
do diff squeeze-unmodified/lib/modules/2.6.32-5-686/$i \
        squeeze-blacklist/lib/modules/2.6.32-5-686/$i
done

# diff squeeze-unmodified/etc/modprobe.d/blacklist.conf
squeeze-blacklist/etc/modprobe.d/blacklist.conf
24a25
> blacklist ata_piix

# diff squeeze-blacklist/etc/modprobe.d/aliases.conf
squeeze-unmodified/etc/modprobe.d/aliases.conf
# diff lenny/etc/modprobe.d/aliases
squeeze-unmodified/etc/modprobe.d/aliases.conf
4,5c4,5
< # Please file a bug against module-init-tools if a package needs a entry
< # in this file.
---
> # No new aliases should be added to this file, please file a bug against
> # the kernel for any aliases which are still not built-in.
14c14
< alias net-pf-7  bridge
---
> # 7 BRIDGE
30c30
< alias net-pf-25 wanrouter
---
> # 25 WANROUTER
57,59d56
< alias block-major-8-*  sd_mod
< alias block-major-9-*  md
< alias block-major-11-* sr_mod
78d74
< alias char-major-9-* st
141,146c137,142
< alias bt-proto-0 l2cap
< alias bt-proto-2 sco
< alias bt-proto-3 rfcomm
< alias bt-proto-4 bnep
< alias bt-proto-5 cmtp
< alias bt-proto-6 hidp
---
> #alias bt-proto-0 l2cap
> #alias bt-proto-2 sco
> #alias bt-proto-3 rfcomm
> #alias bt-proto-4 bnep
> #alias bt-proto-5 cmtp
> #alias bt-proto-6 hidp
165a162,167
> # work around other kernel issues ############################################
> # The EHCI driver should be loaded before the ones for low speed controllers
> # or some devices may be confused when they are disconnected and reconnected.
> softdep uhci-hcd pre: ehci-hcd
> softdep ohci-hcd pre: ehci-hcd
>

Nothing seems to be interesting here...

Playing with kernel sources

# ar p linux-source-2.6.26_2.6.26-25lenny1_all.deb data.tar.gz|tar zx
# ar p linux-source-2.6.32_2.6.32-23_all.deb data.tar.gz|tar zx
# (cd /usr/src ; tar -xjf linux-source-2.6.26.tar.bz2)
# (cd /usr/src ; tar -xjf linux-source-2.6.32.tar.bz2)
# find usr/src/linux-source-2.6.26 -iname '*modules.order*'
# find usr/src/linux-source-2.6.32 -iname '*modules.order*'

Nothing seems to be interesting here...

Where can I find modules.order ?
Or where write it and how ?
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux