[pve-devel] pve-kernel-2.6.32 :(squeeze-proxmox2): broadcom bnx2 firmware load error

Alexandre DERUMIER aderumier at odiso.com
Thu Aug 25 14:24:06 CEST 2011


mmm,I rested, with a clean git clone,indeed i have the same error as you (both revision). 

i'm not sure, but maybe i had make a make on bnx2 without KVER=2.6.32-6-pve, so it was build with my current kernel. 

it seem to be a problem on bnx2x, so 10gigabit network card (i can't test,maybe it's working fine with source from redhat kernel). 

I have remade the Makefile, without bnx2x module, it's building fine and it's working with my bnx2 card.


--- Makefile 2011-08-25 14:20:45.447849897 +0200 
+++ /Makefile 2011-08-25 14:19:28.815961568 +0200 
@@ -40,8 +40,8 @@ 
IXGBEDIR=ixgbe-3.3.9 
IXGBESRC=${IXGBEDIR}.tar.gz 

-#BNX2DIR=netxtreme2-6.2.23 
-#BNX2SRC=${BNX2DIR}.tar.gz 
+BNX2DIR=netxtreme2-6.2.23 
+BNX2SRC=${BNX2DIR}.tar.gz 

ARECADIR=arcmsr.1.20.0X.15-110330 
ARECASRC=${ARECADIR}.zip 
@@ -87,9 +87,9 @@ 
./find-firmware.pl data/lib/modules/${KVNAME} >fwlist.tmp 
mv fwlist.tmp $@ 

-data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko ixgbe.ko 
+data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko ixgbe.ko bnx2.ko cnic.ko 
rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME} 
- mkdir tmp/boot 
+ mkdir tmp/boot 
install -m 644 ${KERNEL_CFG} tmp/boot/config-${KVNAME} 
install -m 644 ${KERNEL_SRC}/System.map tmp/boot/System.map-${KVNAME} 
install -m 644 ${KERNEL_SRC}/arch/x86_64/boot/bzImage tmp/boot/vmlinuz-${KVNAME} 
@@ -103,9 +103,9 @@ 
# install latest ibg driver 
install -m 644 igb.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/igb/ 
# install bnx2 and tg3 drivers 
- #install -m 644 bnx2.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
+ install -m 644 bnx2.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
#install -m 644 bnx2x.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
- #install -m 644 cnic.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
+ install -m 644 cnic.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
# install areca driver 
install -m 644 arcmsr.ko tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/arcmsr/ 
# remove firmware 
@@ -185,13 +185,13 @@ 
cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO" BUILD_KERNEL=${KVNAME} 
cp ${IXGBEDIR}/src/ixgbe.ko ixgbe.ko 

-#bnx2.ko cnic.ko bnx2x.ko: ${BNX2SRC} 
-# rm -rf ${BNX2DIR} 
-# tar xf ${BNX2SRC} 
-# mkdir -p /lib/modules/${KVNAME} 
-# ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build 
-# cd ${BNX2DIR}; make KVER=${KVNAME} 
-# cp `find ${BNX2DIR} -name bnx2.ko -o -name cnic.ko -o -name bnx2x.ko` . 
+bnx2.ko cnic.ko: ${BNX2SRC} 
+ rm -rf ${BNX2DIR} 
+ tar xf ${BNX2SRC} 
+ mkdir -p /lib/modules/${KVNAME} 
+ ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build 
+ cd ${BNX2DIR}; make -C bnx2/src KVER=${KVNAME} 
+ cp `find ${BNX2DIR} -name bnx2.ko -o -name cnic.ko` . 

arcmsr.ko: ${ARECASRC} 
rm -rf ${ARECADIR} 





----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 25 Août 2011 11:55:31 
Objet: Re: [pve-devel] pve-kernel-2.6.32 :(squeeze-proxmox2): broadcom bnx2 firmware load error 

i had build it with package revision 

KERNEL_VER=2.6.32 
PKGREL=41 


i'll try with last git (PKGREL=42) 



----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 25 Août 2011 11:34:02 
Objet: RE: [pve-devel] pve-kernel-2.6.32 :(squeeze-proxmox2): broadcom bnx2 firmware load error 

I get: 

make -C /lib/modules/2.6.32-6-pve/build M=`pwd` modules 
make[3]: Entering directory `/home/dietmar/pve2-devel/pve-kernel-2.6.32/linux-2.6-2.6.32' 
CC [M] /home/dietmar/pve2-devel/pve-kernel-2.6.32/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.o 
In file included from /home/dietmar/pve2-devel/pve-kernel-2.6.32/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68, 
from /home/dietmar/pve2-devel/pve-kernel-2.6.32/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: 
/home/dietmar/pve2-devel/pve-kernel-2.6.32/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:994: error: redefinition of \u2018skb_checksum_none_assert\u2019 
include/linux/skbuff.h:2141: note: previous definition of \u2018skb_checksum_none_assert\u2019 was here 


> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Donnerstag, 25. August 2011 11:30 
> To: Dietmar Maurer 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] pve-kernel-2.6.32 :(squeeze-proxmox2): broadcom bnx2 
> firmware load error 
> 
> --- Makefile 2011-08-25 11:26:08.329362186 +0200 
> +++ /Makefile 2011-08-25 11:28:14.724116159 +0200 
> @@ -40,8 +40,8 @@ 
> IXGBEDIR=ixgbe-3.3.9 
> IXGBESRC=${IXGBEDIR}.tar.gz 
> 
> -#BNX2DIR=netxtreme2-6.2.23 
> -#BNX2SRC=${BNX2DIR}.tar.gz 
> +BNX2DIR=netxtreme2-6.2.23 
> +BNX2SRC=${BNX2DIR}.tar.gz 
> 
> ARECADIR=arcmsr.1.20.0X.15-110330 
> ARECASRC=${ARECADIR}.zip 
> @@ -87,7 +87,7 @@ 
> ./find-firmware.pl data/lib/modules/${KVNAME} >fwlist.tmp 
> mv fwlist.tmp $@ 
> 
> -data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko 
> ixgbe.ko 
> +data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko 
> +ixgbe.ko bnx2.ko bnx2x.ko cnic.ko 
> rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME} 
> mkdir tmp/boot 
> install -m 644 ${KERNEL_CFG} tmp/boot/config-${KVNAME} @@ -103,9 
> +103,9 @@ 
> # install latest ibg driver 
> install -m 644 igb.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/igb/ 
> # install bnx2 and tg3 drivers 
> - #install -m 644 bnx2.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> - #install -m 644 bnx2x.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> - #install -m 644 cnic.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> + install -m 644 bnx2.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> + install -m 644 bnx2x.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> + install -m 644 cnic.ko 
> + tmp/lib/modules/${KVNAME}/kernel/drivers/net/ 
> # install areca driver 
> install -m 644 arcmsr.ko 
> tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/arcmsr/ 
> # remove firmware 
> @@ -185,13 +185,13 @@ 
> cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO" 
> BUILD_KERNEL=${KVNAME} 
> cp ${IXGBEDIR}/src/ixgbe.ko ixgbe.ko 
> 
> -#bnx2.ko cnic.ko bnx2x.ko: ${BNX2SRC} 
> -# rm -rf ${BNX2DIR} 
> -# tar xf ${BNX2SRC} 
> -# mkdir -p /lib/modules/${KVNAME} 
> -# ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build 
> -# cd ${BNX2DIR}; make KVER=${KVNAME} 
> -# cp `find ${BNX2DIR} -name bnx2.ko -o -name cnic.ko -o -name bnx2x.ko` . 
> +bnx2.ko cnic.ko bnx2x.ko: ${BNX2SRC} 
> + rm -rf ${BNX2DIR} 
> + tar xf ${BNX2SRC} 
> + mkdir -p /lib/modules/${KVNAME} 
> + ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build 
> + cd ${BNX2DIR}; make KVER=${KVNAME} 
> + cp `find ${BNX2DIR} -name bnx2.ko -o -name cnic.ko -o -name bnx2x.ko` . 
> 
> arcmsr.ko: ${ARECASRC} 
> rm -rf ${ARECADIR} 
> 
> 
> 




-- 

-- 





Alexandre Derumier 
Ingénieur système 
e-mail : aderumier at odiso.com 
Tél : +33 (0)3 20 68 88 90 
Fax : +33 (0)3 20 68 90 81 
45 Bvd du Général Leclerc 
59100 ROUBAIX - FRANCE 














_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



-- 

-- 




	
	Alexandre Derumier 
Ingénieur système 
e-mail : aderumier at odiso.com 
Tél : +33 (0)3 20 68 88 90 
Fax : +33 (0)3 20 68 90 81 
45 Bvd du Général Leclerc 
59100 ROUBAIX - FRANCE 













-------------- next part --------------
A non-text attachment was scrubbed...
Name: aderumier.vcf
Type: text/x-vcard
Size: 183 bytes
Desc: not available
URL: <http://pve.proxmox.com/cgi-bin/mailman/private/pve-devel/attachments/20110825/9989d920/attachment.vcf>


More information about the pve-devel mailing list