Hi,
On May 29, 2013, at 3:54 AM, Marcus Schäfer <
m...@suse.de> wrote:
>> bahid@bahid-linux01:~/svn/mauitools/branches/QA/grinder-perf-camb/kiwi> gzip -cd out/preload/create/oem-preload/initrd-oemboot-suse-SLES11.x86_64-2.7.1.splash.gz | cpio -it | grep "lib/firmware"
>>
>> lib/firmware/3.0.74-0.6.8-default/bnx2/bnx2-mips-09-6.2.1a.fw
>> lib/firmware/3.0.74-0.6.8-default/bnx2/bnx2-rv2p-06-6.0.15.fw
>> lib/firmware/3.0.74-0.6.8-default/bnx2/bnx2-mips-06-6.2.1.fw
>> lib/firmware/3.0.74-0.6.8-default/bnx2/bnx2-rv2p-09-6.0.17.fw
>> lib/firmware/3.0.74-0.6.8-default/bnx2/bnx2-rv2p-09ax-6.0.17.fw
>> ...
>> lib/firmware/phanfw.bin
>> 219753 blocks
>>
>> David
>
> Thanks for narrowing this down. Do I have a chance to test this
> on your sles11sp2 build host machine ? maybe ssh ?
unfortunately not.
> I assume the
> kernel-firmware package is installed in both cases
same kiwi config.xml and .sh and supporting env (root hooks etc)
> thus I guess
> the problem must be in the suseStripFirmware function from
> /usr/share/kiwi/modules/KIWIConfig.sh
cool - looking into how this differs.
>
> But on a first look I can't tell why it should behave differently
> when it runs on sp2 host vs. a 12.3 host
but first note - this curiosity - chroot into the SLES 11 SP2 host prepare'd root
bang-magenta:/> find /lib/modules -name "*.ko" | xargs modinfo | grep ^firmware | sort
firmware: 3com/3C359.bin
firmware: 3com/typhoon.bin
firmware: 6fire/dmx6fireap.ihx
firmware: 6fire/dmx6firecf.bin
firmware: 6fire/dmx6firel2.ihx
firmware: acenic/tg1.bin
firmware: acenic/tg2.bin
firmware: adaptec/starfire_rx.bin
firmware: adaptec/starfire_tx.bin
firmware: agere_ap_fw.bin
firmware: agere_sta_fw.bin
firmware: aic94xx-seq.fw
firmware: asihpi/dsp5000.bin
firmware: asihpi/dsp6200.bin
firmware: asihpi/dsp6205.bin
firmware: asihpi/dsp6400.bin
firmware: asihpi/dsp6600.bin
firmware: asihpi/dsp8700.bin
firmware: asihpi/dsp8900.bin
firmware: atmel_at76c502_3com.bin
firmware: atmel_at76c502_3com-wpa.bin
firmware: atmel_at76c502.bin
firmware: atmel_at76c502d.bin
firmware: atmel_at76c502d-wpa.bin
firmware: atmel_at76c502e.bin
firmware: atmel_at76c502e-wpa.bin
firmware: atmel_at76c502-wpa.bin
firmware: atmel_at76c504_2958.bin
firmware: atmel_at76c504_2958-wpa.bin
firmware: atmel_at76c504a_2958.bin
firmware: atmel_at76c504a_2958-wpa.bin
firmware: atmel_at76c504.bin
firmware: atmel_at76c504-wpa.bin
firmware: atmel_at76c506.bin
firmware: atmel_at76c506-wpa.bin
firmware: BCM2033-FW.bin
firmware: BCM2033-MD.hex
firmware: bfubase.frm
firmware: bnx2/bnx2-mips-06-6.2.1.fw
firmware: bnx2/bnx2-mips-09-6.2.1a.fw
firmware: bnx2/bnx2-rv2p-06-6.0.15.fw
firmware: bnx2/bnx2-rv2p-09-6.0.17.fw
firmware: bnx2/bnx2-rv2p-09ax-6.0.17.fw
firmware: bnx2x/bnx2x-e1-7.0.29.0.fw
firmware: bnx2x/bnx2x-e1h-7.0.29.0.fw
firmware: bnx2x/bnx2x-e2-7.0.29.0.fw
firmware: BT3CPCC.bin
firmware: cbfw.bin
...
notice that the created /lib/firmware-required area has bnx2x but not bnx2
/lib/firmware:
total 14908
drwxr-xr-x 33 root root 4096 May 29 11:27 3.0.74-0.6.6-default
drwxr-xr-x 2 root root 6 Mar 11 17:15 3com
drwxr-xr-x 2 root root 6 Mar 11 17:15 acenic
drwxr-xr-x 2 root root 6 Mar 11 17:15 adaptec
drwxr-xr-x 2 root root 6 Mar 11 17:15 advansys
drwxr-xr-x 5 root root 4096 May 21 15:44 ar3k
-rw-r--r-- 1 root root 70624 Jul 8 2011 ar7010_1_1.fw
-rw-r--r-- 1 root root 70624 Jul 8 2011 ar7010.fw
-rw-r--r-- 1 root root 83968 Jul 8 2011 ar9170-1.fw
-rw-r--r-- 1 root root 3508 Jul 8 2011 ar9170-2.fw
-rw-r--r-- 1 root root 51312 Jul 8 2011 ar9271.fw
-rw-r--r-- 1 root root 246804 Jul 8 2011 ath3k-1.fw
drwxr-xr-x 4 root root 32 May 21 15:44 ath6k
-rw-r--r-- 1 root root 28164 Feb 21 2009 atmel_at76c503-i3861.bin
-rw-r--r-- 1 root root 28040 Feb 21 2009 atmel_at76c503-i3863.bin
-rw-r--r-- 1 root root 35372 Feb 21 2009 atmel_at76c503-rfmd-0.90.2-140.bin
-rw-r--r-- 1 root root 37804 Feb 21 2009 atmel_at76c503-rfmd-acc.bin
-rw-r--r-- 1 root root 37964 Feb 21 2009 atmel_at76c503-rfmd.bin
-rw-r--r-- 1 root root 35196 Feb 21 2009 atmel_at76c504c-wpa.bin
-rw-r--r-- 1 root root 37009 Feb 21 2009 atmel_at76c505a-rfmd2958.bin
-rw-r--r-- 1 root root 37000 Feb 21 2009 atmel_at76c505-rfmd2958.bin
-rw-r--r-- 1 root root 35532 Feb 21 2009 atmel_at76c505-rfmd.bin
drwxr-xr-x 2 root root 6 Mar 11 17:15 av7110
drwxr-xr-x 2 root root 4096 May 21 15:44 bnx2
drwxr-xr-x 2 root root 4096 May 29 11:27 bnx2x
-rw-r--r-- 1 root root 165768 Jul 8 2011 bnx2x-e1-4.8.53.0.fw
-rw-r--r-- 1 root root 163000 Jul 8 2011 bnx2x-e1-5.2.13.0.fw
-rw-r--r-- 1 root root 162800 Jul 8 2011 bnx2x-e1-5.2.7.0.fw
-rw-r--r-- 1 root root 192400 Jul 8 2011 bnx2x-e1h-4.8.53.0.fw
-rw-r--r-- 1 root root 205512 Jul 8 2011 bnx2x-e1h-5.2.13.0.fw
-rw-r--r-- 1 root root 205488 Jul 8 2011 bnx2x-e1h-5.2.7.0.fw
drwxr-xr-x 2 root root 104 May 21 15:44 brcm
drwxr-xr-x 3 root root 16 May 21 15:44 cis
drwxr-xr-x 2 root root 6 Mar 11 17:15 cpia2
-rw-r--r-- 1 root root 338656 Jan 13 2012 ctfw_cna.bin
drwxr-xr-x 2 root root 69 May 21 15:44 cxgb3
drwxr-xr-x 2 root root 6 May 29 11:27 cxgb4
...
/lib/firmware-required/:
total 10904
drwxr-xr-x 26 root root 4096 May 29 11:27 3.0.74-0.6.6-default
-rw-r--r-- 1 root root 50698 Jul 8 2011 agere_ap_fw.bin
-rw-r--r-- 1 root root 65046 Jul 8 2011 agere_sta_fw.bin
-rw-r--r-- 1 root root 22622 Feb 21 2009 aic94xx-seq.fw
-rw-r--r-- 1 root root 30348 Feb 21 2009 atmel_at76c502_3com.bin
-rw-r--r-- 1 root root 35184 Feb 21 2009 atmel_at76c502_3com-wpa.bin
-rw-r--r-- 1 root root 31764 Feb 21 2009 atmel_at76c502.bin
-rw-r--r-- 1 root root 31764 Feb 21 2009 atmel_at76c502d.bin
-rw-r--r-- 1 root root 35276 Feb 21 2009 atmel_at76c502d-wpa.bin
-rw-r--r-- 1 root root 31776 Feb 21 2009 atmel_at76c502e.bin
-rw-r--r-- 1 root root 35272 Feb 21 2009 atmel_at76c502e-wpa.bin
-rw-r--r-- 1 root root 35276 Feb 21 2009 atmel_at76c502-wpa.bin
-rw-r--r-- 1 root root 35180 Feb 21 2009 atmel_at76c504_2958-wpa.bin
-rw-r--r-- 1 root root 39928 Feb 21 2009 atmel_at76c504a_2958-wpa.bin
-rw-r--r-- 1 root root 31748 Feb 21 2009 atmel_at76c504.bin
-rw-r--r-- 1 root root 31824 Feb 21 2009 atmel_at76c506.bin
-rw-r--r-- 1 root root 35228 Feb 21 2009 atmel_at76c506-wpa.bin
drwxr-xr-x 2 root root 88 May 29 11:27 bnx2x
-rw-r--r-- 1 root root 358080 Jan 13 2012 cbfw.bin
-rw-r--r-- 1 root root 498128 Jan 13 2012 ct2fw.bin
-rw-r--r-- 1 root root 472144 Jan 13 2012 ctfw.bin
drwxr-xr-x 2 root root 21 May 29 11:27 cxgb4
-rw-r--r-- 1 root root 209190 May 5 2010 ipw2100-1.3.fw
-rw-r--r-- 1 root root 201138 May 5 2010 ipw2100-1.3-i.fw
-rw-r--r-- 1 root root 196458 May 5 2010 ipw2100-1.3-p.fw
-rw-r--r-- 1 root root 191154 May 5 2010 ipw2200-bss.fw
-rw-r--r-- 1 root root 185428 May 5 2010 ipw2200-ibss.fw
...