[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638921: firmware-netxen: HP NC375i network card fails to autonegotiate with a 100full cisco switch



>So, does the system have firmware-netxen installed?  If not, can you try
>installing it and rebooting?

Yes:

# dpkg -l | grep -i netxen
ii  firmware-netxen                     0.28                         Binary
firmware for QLogic Intelligent Ethernet (3000 and 3100 Series)





>What does the command 'dmesg | grep netxen' show?

Here's the output...looks like the firmware already installed on the card is
newer than what the OS driver is trying to put there if I'm interpreting it
right:

[    3.023934] NetXen Network Driver version 4.0.50
[    3.024026] netxen_nic 0000:06:00.0: PCI INT A -> GSI 24 (level, low) ->
IRQ 24
[    3.024035] netxen_nic 0000:06:00.0: setting latency timer to 64
[    3.024159] netxen_nic 0000:06:00.0: 2MB memory map
[    3.024253] netxen_nic 0000:06:00.0: firmware: requesting phanfw.bin
[    3.040514] netxen_nic 0000:06:00.0: phanfw.bin: firmware is older than
flash
[    3.051231] netxen_nic 0000:06:00.0: firmware: requesting nx3fwct.bin
[    3.055436] netxen_nic 0000:06:00.0: nx3fwct.bin: firmware is older than
flash
[    3.267122] netxen_nic 0000:06:00.0: using 64-bit dma mask
[    3.267451] NetXen NX3031 Gigabit Ethernet Board S/N KD98MP1738  Chip rev
0x42
[    3.267456] netxen_nic 0000:06:00.0: firmware v4.0.555 [legacy]
[    3.267520] netxen_nic 0000:06:00.0: irq 103 for MSI/MSI-X
[    3.267532] netxen_nic 0000:06:00.0: irq 104 for MSI/MSI-X
[    3.267544] netxen_nic 0000:06:00.0: irq 105 for MSI/MSI-X
[    3.267556] netxen_nic 0000:06:00.0: irq 106 for MSI/MSI-X
[    3.267571] netxen_nic 0000:06:00.0: using msi-x interrupts
[    3.268277] netxen_nic 0000:06:00.0: eth0: GbE port initialized
[    3.268299] netxen_nic 0000:06:00.1: PCI INT A -> GSI 24 (level, low) ->
IRQ 24
[    3.268306] netxen_nic 0000:06:00.1: setting latency timer to 64
[    3.268385] netxen_nic 0000:06:00.1: 2MB memory map
[    3.268475] netxen_nic 0000:06:00.1: using 64-bit dma mask
[    3.268803] netxen_nic 0000:06:00.1: firmware v4.0.555 [legacy]
[    3.268844] netxen_nic 0000:06:00.1: irq 107 for MSI/MSI-X
[    3.268856] netxen_nic 0000:06:00.1: irq 108 for MSI/MSI-X
[    3.268868] netxen_nic 0000:06:00.1: irq 109 for MSI/MSI-X
[    3.268880] netxen_nic 0000:06:00.1: irq 110 for MSI/MSI-X
[    3.268895] netxen_nic 0000:06:00.1: using msi-x interrupts
[    3.269589] netxen_nic 0000:06:00.1: eth1: GbE port initialized
[    3.269606] netxen_nic 0000:06:00.2: PCI INT A -> GSI 24 (level, low) ->
IRQ 24
[    3.269612] netxen_nic 0000:06:00.2: setting latency timer to 64
[    3.269690] netxen_nic 0000:06:00.2: 2MB memory map
[    3.269780] netxen_nic 0000:06:00.2: using 64-bit dma mask
[    3.270108] netxen_nic 0000:06:00.2: firmware v4.0.555 [legacy]
[    3.270147] netxen_nic 0000:06:00.2: irq 111 for MSI/MSI-X
[    3.270159] netxen_nic 0000:06:00.2: irq 112 for MSI/MSI-X
[    3.270170] netxen_nic 0000:06:00.2: irq 113 for MSI/MSI-X
[    3.270182] netxen_nic 0000:06:00.2: irq 114 for MSI/MSI-X
[    3.270197] netxen_nic 0000:06:00.2: using msi-x interrupts
[    3.270936] netxen_nic 0000:06:00.2: eth2: GbE port initialized
[    3.270954] netxen_nic 0000:06:00.3: PCI INT A -> GSI 24 (level, low) ->
IRQ 24
[    3.270960] netxen_nic 0000:06:00.3: setting latency timer to 64
[    3.271039] netxen_nic 0000:06:00.3: 2MB memory map
[    3.271138] netxen_nic 0000:06:00.3: using 64-bit dma mask
[    3.271466] netxen_nic 0000:06:00.3: firmware v4.0.555 [legacy]
[    3.271506] netxen_nic 0000:06:00.3: irq 115 for MSI/MSI-X
[    3.271518] netxen_nic 0000:06:00.3: irq 116 for MSI/MSI-X
[    3.271530] netxen_nic 0000:06:00.3: irq 117 for MSI/MSI-X
[    3.271542] netxen_nic 0000:06:00.3: irq 118 for MSI/MSI-X
[    3.271556] netxen_nic 0000:06:00.3: using msi-x interrupts
[    3.272346] netxen_nic 0000:06:00.3: eth3: GbE port initialized
[    7.270065] netxen_nic: eth2 NIC Link is up
[  283.125441] netxen_nic: eth2 NIC Link is down
[  296.787316] netxen_nic: eth2 NIC Link is up



root@odin:~# ethtool -i eth3
driver: netxen_nic
version: 4.0.50
firmware-version: 4.0.555
bus-info: 0000:06:00.3


Note, the above is one of the few ethtool commands/options that actually
work.

I'd consider attempting to manually flash the card with:

ethtool --flash eth3 /lib/firmware/phanfw.bin

but I don't think the flash function works.  But let me know if you'd like
me to give that a try.


-----Original Message-----
From: Ben Hutchings [mailto:ben@decadent.org.uk] 
Sent: Tuesday, August 23, 2011 9:07 AM
To: Michael Mastrogiacomo
Cc: 638921@bugs.debian.org
Subject: RE: Bug#638921: firmware-netxen: HP NC375i network card fails to
autonegotiate with a 100full cisco switch

On Tue, 2011-08-23 at 08:59 -0400, Michael Mastrogiacomo wrote:
> Hello Ben, thanks for the reply.  
> 
> 
> >Right, if autonegotiation fails then it is possible for 'parallel
> >detection' to establish a 100HD link.  The question is why autoneg
> >failed.
> 
> I concur.  I suspect the driver.  
> 
> I should mention that this sounds like a similar issue:
> 
>
http://h30499.www3.hp.com/t5/Networking/Problem-with-NC375i-and-NC375T-on-Re
> dHat-Linux5/td-p/4712102 
> 
> 
> I assume nx_nic drivers are in nx3fwct.bin and phanfw.bin contains the
> netxen_nic drivers.

The netxen_nic driver is in the kernel package
(linux-image-2.6.32-5-amd64).  I assume nx_nic is an earlier version of
the driver; no driver of that name has been included in Linux.

> I guess the installer overrides nx3fwct.bin if it 
> finds phanfw.bin

The driver decides which firmware file to load.  The current version of
netxen_nic prefers phanfw.bin but can also use one of the nx3fw*.bin
files (dependent on the hardware model).  If none are found then it
falls back to using the firmware loaded from flash (which is presumably
buggy).

> because lsmod has only shown netxen_nic drivers loaded
> in both of my install attempts.
> 
> I suppose I could try deleting phanfw.bin from my removable media to leave
> only nx3fwct.bin there and see what happens with the different drivers.
> 
> 
> >When you say that the installation failed, do you mean that you
> >were unable to complete the installation, or that the installation
> >was broken because it could not set up the network connection?
> 
> Sorry for that ambiguity.  The installer ran fine to completion.  I meant
> "failed" in the sense that end result was that the NIC card still failed
to
> autonegotiate after rebooting after installation.
[...]

So, does the system have firmware-netxen installed?  If not, can you try
installing it and rebooting?

What does the command 'dmesg | grep netxen' show?

Ben.





Reply to: