Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorer wrote: > I found the issue. The firmware I needed was bnx2x, not bnx2. Amen!
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
I found the issue. The firmware I needed was bnx2x, not bnx2.
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Well, this seems odd. I don't see any candidate which looks likely, to me, in /lib/firmware/bnx2: Backup:/lib/firmware/bnx2# la total 636 drwxr-xr-x 2 root root 4096 Feb 19 15:20 . drwxr-xr-x 7 root root 4096 Feb 19 15:20 .. -rw-r--r-- 1 root root 93172 Jun 15 2014 bnx2-mips-06-5.0.0.j3.fw -rw-r--r-- 1 root root 92792 Jun 15 2014 bnx2-mips-06-6.2.1.fw -rw-r--r-- 1 root root 92824 Jun 15 2014 bnx2-mips-06-6.2.3.fw -rw-r--r-- 1 root root 96504 Jun 15 2014 bnx2-mips-09-5.0.0.j3.fw -rw-r--r-- 1 root root 103868 Jun 15 2014 bnx2-mips-09-6.2.1a.fw -rw-r--r-- 1 root root 103904 Jun 15 2014 bnx2-mips-09-6.2.1b.fw -rw-r--r-- 1 root root 6600 Jun 15 2014 bnx2-rv2p-06-5.0.0.j3.fw -rw-r--r-- 1 root root 5696 Jun 15 2014 bnx2-rv2p-06-6.0.15.fw -rw-r--r-- 1 root root 7216 Jun 15 2014 bnx2-rv2p-09-5.0.0.j3.fw -rw-r--r-- 1 root root 6104 Jun 15 2014 bnx2-rv2p-09-6.0.17.fw -rw-r--r-- 1 root root 7800 Jun 15 2014 bnx2-rv2p-09ax-5.0.0.j3.fw -rw-r--r-- 1 root root 6616 Jun 15 2014 bnx2-rv2p-09ax-6.0.17.fw This is an AMD-64 system.
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorer wrote: > It is a stock kernel from the current Debian repository. The firmware was > loaded using `apt-get install firmware-bnx2`. Try to find the firmware that matches - I think the message tells you which version is required. Compare with what you hahve in /lib/firmware Here in jessie with my custom kernel I see /lib/firmware/bnx2x-e1h-5.2.13.0.fw but you fail with bnx2x/bnx2x-e2-7.8.19.0.fw This will solve your problem. IF not , try compile custom kernel regards
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
It is a stock kernel from the current Debian repository. The firmware was loaded using `apt-get install firmware-bnx2`.
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorer wrote: > [ 20.327836] bnx2x :07:00.0: firmware: failed to load > [ bnx2x/bnx2x-e2-7.8.19.0.fw (-2) 20.327840] bnx2x :07:00.0: Direct > [ firmware load failed with error -2 20.327842] bnx2x :07:00.0: > [ Falling back to user helper 20.328247] bnx2x: > [ [bnx2x_func_hw_init:5506(eth3)]Error loading firmware 20.328252] bnx2x: > [ [bnx2x_nic_load:2685(eth3)]HW init failed, aborting You need to upload the firware that suits your kernel - you either got older or newer firmware. I won't expect it to work, or at least not in 10G If you have custom kernel, it would explain the pain. try the native debian kernel with the native firmware - I don't know if such is available, but if card is supported it should be. I prefer using custom kernel and download firmware from the support sites. regards
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
The motherboard has a built-in Ethernet port.
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Backup:/# ip link 1: lo:mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth2: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 50:46:5d:65:15:9c brd ff:ff:ff:ff:ff:ff 3: eth0: mtu 1500 qdisc noop portid 086266a14051 state DOWN mode DEFAULT group default qlen 1000 link/ether 08:62:66:a1:40:51 brd ff:ff:ff:ff:ff:ff Also: Backup:/# ifconfig -a eth0 Link encap:Ethernet HWaddr 08:62:66:a1:40:51 inet addr:192.168.1.91 Bcast:192.168.1.255 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:36 Memory:d300-d37f eth2 Link encap:Ethernet HWaddr 50:46:5d:65:15:9c inet addr:192.168.1.51 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::5246:5dff:fe65:159c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:47553 errors:0 dropped:2 overruns:0 frame:0 TX packets:272930 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:15175818 (14.4 MiB) TX bytes:392583400 (374.3 MiB) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:52 errors:0 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5802 (5.6 KiB) TX bytes:5802 (5.6 KiB)
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
It's still not working, but the card is in the udev file, and ifconfig -a shows the interface. When I try to bring it up, however, it gives me an error: Backup:/# ifconfig -a eth0 Link encap:Ethernet HWaddr 08:62:66:a1:40:51 inet addr:192.168.1.97 Bcast:192.168.1.255 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:36 Memory:d300-d37f eth2 Link encap:Ethernet HWaddr 50:46:5d:65:15:9c inet addr:192.168.1.51 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::5246:5dff:fe65:159c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:180057 errors:0 dropped:2 overruns:0 frame:0 TX packets:1502041 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24120043 (23.0 MiB) TX bytes:2220773875 (2.0 GiB) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:58 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6254 (6.1 KiB) TX bytes:6254 (6.1 KiB) Backup:/# ifconfig eth0 192.168.1.97 up SIOCSIFFLAGS: Cannot allocate memory SIOCSIFFLAGS: Cannot allocate memory
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
On Sun, Feb 19, 2017 at 03:54:32AM -0800, Leslie Rhorer wrote: > I purchased a couple of Asus PEB-10G/57811-1S 10G LAN adapters. I am not > finding any pre-built binaries nor a .deb reporitory for these cards, so I am > attempting t o compile from scratch, but I get the following error during the > make operation: > > Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.c: In > function ‘bnx2_rx_int’: > /Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.c:3753:7: > error: ‘struct sk_buff’ has no member named ‘rxhash’ > skb->rxhash = rx_hdr->l2_fhdr_hash; >^ > /usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: recipe for > target '/Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.o' > failed > > Does anyone have an ideas? Are there any pre-built drivers for these cards > for Debian Jessie? > As others on this thread have hinted, possibly less than completely clearly, this card is supported by the kernel and IF your particular kernel was built with support turned on, THEN all you should need is the firmware which is provided by a package deloptes pointed out. I just checked in the stock Jessie kernel I am running, support for the BNX2 is included as a module. Assuming you are also using the stock Jessie kernel you get when you install Jessie (tell us if otherwise), you should have it as a module too. In that case, on detecting your hardware, if the hardware is healthy, udev should have automatically loaded the driver. So if you also install the firmware as deloptes pointed out, you should at least get the length of a functioning network card. Which is different from a functioning network connection you can actually use. If you previously had another card installed, and that card is still present, you may have some futzing around to do to persuade the machine to bring up the new card and have it connect to the network. Let us know if that is so. In the meantime, assuming you are using a stock kernel and not one you built yourself or had someone build for you, and assuming you have installed the firmware deloptes mentioned, what is the output of: $ ip link ? Mark
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Well, that's good to know, but it's not coming up. I've never added an Ethernet adapter post-install, so I suspect I need to do something, but I am not sure what. I did an lsmod, and the bnx2x module is loaded, but not being used. I loaded the firmware, but I get this error during boot: [ 20.327836] bnx2x :07:00.0: firmware: failed to load bnx2x/bnx2x-e2-7.8.19.0.fw (-2) [ 20.327840] bnx2x :07:00.0: Direct firmware load failed with error -2 [ 20.327842] bnx2x :07:00.0: Falling back to user helper [ 20.328247] bnx2x: [bnx2x_func_hw_init:5506(eth3)]Error loading firmware [ 20.328252] bnx2x: [bnx2x_nic_load:2685(eth3)]HW init failed, aborting
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorer wrote: > bnx2 https://packages.debian.org/jessie/firmware-bnx2
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorer wrote: > bnx2 most likely you'll need firmware for it as well
Re: Error when compiling drivers for Asus PEB-10G/57811-1S
Leslie Rhorerwrote: > I purchased a couple of Asus PEB-10G/57811-1S 10G LAN adapters. I am > not finding any pre-built binaries nor a .deb reporitory for these > cards, so I am attempting t o compile from scratch, Why? The bnx2 module is available in the default kernel and should support those NIC out of the box. Grüße, Sven. -- Sigmentation fault. Core dumped.
Error when compiling drivers for Asus PEB-10G/57811-1S
I purchased a couple of Asus PEB-10G/57811-1S 10G LAN adapters. I am not finding any pre-built binaries nor a .deb reporitory for these cards, so I am attempting t o compile from scratch, but I get the following error during the make operation: Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.c: In function ‘bnx2_rx_int’: /Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.c:3753:7: error: ‘struct sk_buff’ has no member named ‘rxhash’ skb->rxhash = rx_hdr->l2_fhdr_hash; ^ /usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: recipe for target '/Backup/Server-Main/Temp/netxtreme2-7.10.42/bnx2-2.710.30/src/bnx2.o' failed Does anyone have an ideas? Are there any pre-built drivers for these cards for Debian Jessie?