[pve-devel] pve-kernel-2.6.32 :(squeeze-proxmox2): broadcom bnx2 firmware load error
Dietmar Maurer
dietmar at proxmox.com
Thu Aug 25 11:32:05 CEST 2011
Sure, I already done that. But I get compile error.
You mentioned a problem with the header files in an earlier post.
- Dietmar
> -----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}
>
>
>
More information about the pve-devel
mailing list