Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

(Solved) Ethernet card driver for HP Proliant ML370 G6

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
sarksloane
Posts: 89
Joined: 2017-01-17 04:21

(Solved) Ethernet card driver for HP Proliant ML370 G6

#1 Post by sarksloane »

Please help me to find the latest Ethernet card driver for HP Proliant Tower server ML370 G6 because during the installation I got a warning that I don't have ethernet card. Thanks..
Last edited by sarksloane on 2018-01-05 10:39, edited 1 time in total.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#2 Post by Segfault »

What's the PCI ID of the card.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Ethernet card driver for HP Proliant Tower server ML370

#3 Post by GarryRicketson »

If you don't know how to get the PCI-id :
https://wiki.debian.org/HowToIdentifyADevice/PCI

Code: Select all

lspci -nn 
("-nn" option only works with newer Linux versions)
If you don't have 'lspci' installed, you will need to install it. (pciutils)
Details are in the above link.

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#4 Post by sarksloane »

it's showing

Code: Select all

06:00.0 ethernet controller [0200] : NetXenincorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)code]

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#5 Post by Segfault »

https://cateee.net/lkddb/web-lkddb/NETXEN_NIC.html

^^ According to this the driver for 4040:0100 is in the kernel. Is the module loaded? Do you have anything related to this in dmesg? I'm not familiar with this card, if it requires firmware then there will be an error in dmesg.

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#6 Post by sarksloane »

Segfault wrote:https://cateee.net/lkddb/web-lkddb/NETXEN_NIC.html

^^ According to this the driver for 4040:0100 is in the kernel. Is the module loaded? Do you have anything related to this in dmesg? I'm not familiar with this card, if it requires firmware then there will be an error in dmesg.
Thank you Segfault..sorry for asking but what do you mean by dmesg? you mean to say is there any other message related to ethernet adapter?

after I executed the lspci --nn as per Mr. Garry Ricketson(thank you sir), only that output i saw. There are 4 lines in the terminal having the same message.

Code: Select all

06:00.0 ethernet controller [0200] : NetXenincorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)
06:00.1 ethernet controller [0200] : NetXenincorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)06:00.2 ethernet controller [0200] : NetXenincorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)06:00.3 ethernet controller [0200] : NetXenincorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)
I installed without DE-desktop environment as I was not connected with the internet by LAN.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#7 Post by p.H »

The driver appears to be module netxen_nic. According to modinfo, it may need firmware phanfw.bin :

Code: Select all

$ /sbin/modinfo netxen_nic 
filename:       /lib/modules/3.2.0-4-686-pae/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
firmware:       phanfw.bin
version:        4.0.77
license:        GPL
description:    QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver
srcversion:     C868D16D949D7E304D6B0A6
alias:          pci:v00004040d00000100sv*sd*bc02sc00i00*
(...)
This firmware is provided by the non-free package firmware-netxen. You can download the package from https://packages.debian.org/stretch/all ... n/download (assuming you install Debian Stretch).
If you want to enable networking at installation, you need to copy it on a FAT-formated USB drive so that the installer can find and load it when needed.
If you want to enable networking on your installed system, just install the package with dpkg :

Code: Select all

dpkg -i /path/to/firmware-netxen_20161130-3_all.deb

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Ethernet card driver for HP Proliant Tower server ML370

#8 Post by debiman »

a good way to see which driver (if any) is in use for a particular pci device is

Code: Select all

lspci -k

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#9 Post by sarksloane »

Thank you very much guys :). Your full support and help is highly appreciated.

I will follow the guides you have given and I will update you. Again thanks..

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#10 Post by sarksloane »

I repeated the installation and downloaded the firmware-netxen_20161130-3_all.deb and I copied on a FAT-formatted USB drive; inserted on the machine at the beginning of installation. But it seems that it is not working; nothing detected.

Do I need to extract the deb file and save it to USB?

or

Do I need to include and copy the firmware to my USB debian Netbootin installer? I am not using the CD installer because I find the USB much more convenient for me to use.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#11 Post by Segfault »

Once Debian is installed just drop it into /lib/firmware/. In some cases a subdirectory is needed, dmesg will tell.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#12 Post by p.H »

Please don't write such nonsense. You don't drop a .deb file in /lib/firmware and just expect it works. It won't.
sarksloane wrote:Do I need to extract the deb file and save it to USB?
You should not need to extract the contents of the deb file according to :
https://www.debian.org/releases/stable/ ... 06s04.html
If a device driver requests firmware that is not available, debian-installer will display a dialog offering to load the missing firmware. If this option is selected, debian-installer will scan available devices for either loose firmware files or packages containing firmware. If found, the firmware will be copied to the correct location (/lib/firmware) and the driver module will be reloaded.
To prepare a USB stick (or other medium like a hard drive partition, or floppy disk), the firmware files or packages must be placed in either the root directory or a directory named /firmware of the file system on the medium. The recommended file system to use is FAT as that is most certain to be supported during the early stages of the installation.
Did the installer display a message about the missing firmware ?

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#13 Post by sarksloane »

it seems that I am not getting right :(

if you can see the image https://imgur.com/a/j2C8N, the driver is available and I tried to continue but still there was no Ethernet card was detected.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#14 Post by Segfault »

p.H wrote:Please don't write such nonsense. You don't drop a .deb file in /lib/firmware and just expect it works. It won't.
Nonsense? I never said to drop deb file. I figured one should understand it is the plain firmware file that goes there.
sarksloane wrote:it seems that I am not getting right :(

if you can see the image https://imgur.com/a/j2C8N, the driver is available and I tried to continue but still there was no Ethernet card was detected.
I see you prefer the hard way. The easy way is to drop the firmware file into a location where the driver is looking for it. As I mentioned a few posts ago. Darn, an action that takes a minute to accomplish. Instead of days long struggle.

Example: Yesterday I SSH'd into my Kodi box to see if all firmwares are loaded. I found bluetooth firmware gave error 2 (error -2 is not found). So I downloaded it from here, copied it to /lib/firmware/intel/ and bingo! Although I do not use bluetooth with my Kodi so I really didn't need it. Now my dmesg tells:

Code: Select all

[    4.738763] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[    4.739619] iwlwifi 0000:02:00.0: loaded firmware version 29.541020.0 op_mode iwlmvm
[    4.944379] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
The whole operation took less than 5 minutes, including the internet search for firmware download.

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#15 Post by sarksloane »

Segfault wrote: I see you prefer the hard way. The easy way is to drop the firmware file into a location where the driver is looking for it. As I mentioned a few posts ago. Darn, an action that takes a minute to accomplish. Instead of days long struggle.

Example: Yesterday I SSH'd into my Kodi box to see if all firmwares are loaded. I found bluetooth firmware gave error 2 (error -2 is not found). So I downloaded it from here, copied it to /lib/firmware/intel/ and bingo! Although I do not use bluetooth with my Kodi so I really didn't need it. Now my dmesg tells:

Code: Select all

[    4.738763] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[    4.739619] iwlwifi 0000:02:00.0: loaded firmware version 29.541020.0 op_mode iwlmvm
[    4.944379] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
The whole operation took less than 5 minutes, including the internet search for firmware download.
Thank you Segfault for the quick response.

You mean that I will continue the installation until it finish? then drop the firmware into a location where the driver is looking for it? But my concern is that if I will continue the installation without Ethernet, I can install only the "base" installation. I want to have Desktop environment such as Gnome from the beginning.

Is it possible after the base installation then I can install the desktop environment?

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#16 Post by sarksloane »

p.H wrote:The driver appears to be module netxen_nic. According to modinfo, it may need firmware phanfw.bin :

Code: Select all

$ /sbin/modinfo netxen_nic 
filename:       /lib/modules/3.2.0-4-686-pae/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
firmware:       phanfw.bin
version:        4.0.77
license:        GPL
description:    QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver
srcversion:     C868D16D949D7E304D6B0A6
alias:          pci:v00004040d00000100sv*sd*bc02sc00i00*
(...)
This firmware is provided by the non-free package firmware-netxen. You can download the package from https://packages.debian.org/stretch/all ... n/download (assuming you install Debian Stretch).
If you want to enable networking at installation, you need to copy it on a FAT-formated USB drive so that the installer can find and load it when needed.
If you want to enable networking on your installed system, just install the package with dpkg :

Code: Select all

dpkg -i /path/to/firmware-netxen_20161130-3_all.deb
I inserted the usb and typed the below command but it says cannot access archive

Code: Select all

dpkg -i /path/to/firmware-netxen_20161130-3_all.deb

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#17 Post by sarksloane »

Done..I installed the missing firmware :) ... please check the result https://imgur.com/a/sn5iP

Is this means I did it and installed it correctly? if yes why is it that when i check the network using this command

Code: Select all

ip route get 1.2.3.4
it says
RTNETLINK answers: Network is unreachable
I connected already the LAN cable but still no network.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#18 Post by Segfault »

Does dmesg show now the firmware is loaded? (Can't see pictures.)

sarksloane
Posts: 89
Joined: 2017-01-17 04:21

Re: Ethernet card driver for HP Proliant Tower server ML370

#19 Post by sarksloane »

Segfault wrote:Does dmesg show now the firmware is loaded? (Can't see pictures.)
Thank you. Please check dmesg https://imgur.com/a/yNWmH

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ethernet card driver for HP Proliant Tower server ML370

#20 Post by Segfault »

I can't see pictures. Perhaps someone else can tell what's on this picture. Lets wait ... FYI there are ways to get plain text out of a computer even when the network is down and the GUI is not installed.

Post Reply