www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

zeroshhell 2.0.RC3 Broadcom Netxtreme II BCM5708 Gigabit Eth

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
frnty



Joined: 16 Oct 2013
Posts: 2

PostPosted: Wed Oct 16, 2013 8:54 am    Post subject: zeroshhell 2.0.RC3 Broadcom Netxtreme II BCM5708 Gigabit Eth Reply with quote

Hi all,

i had some problems with the firmware of the ethernet card and i solved it. Below is what i did:

1. find the appropriate firmware file (in my case was the bnx2-mips-06-6.2.3.fw) file.

I installed zeroshell and booted with another rescue cd in order to copy the file in the /DB partition of the zeroshell (/dev/sda3). Then start the zeroshell and from within the console did a copy of all the files of the /lib folder to /DB/lib. After that i copied the firmware files to /DB/lib/firmware/bnx2

then i created 2 scripts
pre-boot script:

/bin/ln -vsfn /DB/lib /lib
/bin/modprobe -v bnx2

and the post-boot script:
ln -sfn /cdrom/lib /lib

reboot and now everything works like a charm

Hope this helps!

Regards
Back to top
View user's profile Send private message
koodee



Joined: 17 Oct 2013
Posts: 1

PostPosted: Thu Oct 17, 2013 9:01 am    Post subject: Reply with quote

Hi,

I had the same problem yesterday, your post helped me but did not solved the problem entirely. Here is how I did it.

On my server, when I try to set an ethernet interface up, it doesn't work, and dmesg tells me that bnx2-mips-06-6.2.1b.fw is missing.

I started by copying the content of /lib on /DB, and added the missing firmware in it.
My troubles started when I had to use the preboot and postboot scripts. Without the ethernet interfaces, I coudn't access the web interface, so I had to write the scripts manually.

For the postboot, no problem, it was executed and I was able to see it in the log file, but couldn't get the preboot to run.

I finally found an other solution :
mount --bind /DB/lib/firmware /lib/firmware

After that, I was able to get my interfaces up. Just had to add it in the postboot script to automate this at every boot.

Thanks for your post that confirmed me I was on the right way, and I hope this can help someone.
Back to top
View user's profile Send private message
frnty



Joined: 16 Oct 2013
Posts: 2

PostPosted: Thu Oct 17, 2013 5:45 pm    Post subject: Reply with quote

Yes you are right. I forgot to write that for the first time you have to manually run the commands from within the shell in order to activate the network.

But take a look in /Database/var/system/... there is the folder that all the scripts are there and you can modify them by hand Smile

regards
Back to top
View user's profile Send private message
millap



Joined: 24 Aug 2014
Posts: 2

PostPosted: Sun Aug 24, 2014 2:55 pm    Post subject: Reply with quote

Hi All,

I had the same issue with ZS 3.0.0 -

[ 12.131474] bnx2 0000:01:00.0: eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem c4000000, IRQ 16, node addr 00:aa:f7:71:e9:94
[ 12.134249] bnx2 0000:01:00.1: eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem c6000000, IRQ 17, node addr 00:cc:f6:73:e9:96
[ 12.136264] bnx2 0000:02:00.0: eth2: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c0000000, IRQ 16, node addr d4:dd:51:d9:0b:46
[ 12.138303] bnx2 0000:02:00.1: eth3: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c2000000, IRQ 17, node addr d4:ff:50:d9:0b:47

[ 22.415149] bnx2: Can't load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw"
[ 22.431915] bnx2: Can't load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw"
[ 22.441019] bnx2: Can't load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw"
[ 22.450251] bnx2: Can't load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw"

My solution was to edit the ISO file (ZeroShell 3.0.0) and add the necessary fw file to the /firmware/bnx2 directory (within the ISO). I used and ISO editor to do this.

After this, both 5709 and 5716 cards loaded and I could use them.

[ 17.025908] bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.2.1 (Dec 18, 2011)
[ 17.027899] bnx2 0000:01:00.0: eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem c4000000, IRQ 16, node addr 00:aa:f7:71:e9:94
[ 17.029783] bnx2 0000:01:00.1: eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem c6000000, IRQ 17, node addr 00:cc:f6:73:e9:96
[ 17.032038] bnx2 0000:02:00.0: eth2: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c0000000, IRQ 16, node addr d4:dd:51:d9:0b:46
[ 17.034003] bnx2 0000:02:00.1: eth3: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c2000000, IRQ 17, node addr d4:ff:50:d9:0b:47

Regards
millap
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group