Re: Seeking NetXen driver (SL 5.5)

2010-08-27 Thread Alan Bartlett
On 27 August 2010 13:13, Markus Neteler  wrote:
> On Thu, Aug 26, 2010 at 22:34, Alan Bartlett  wrote:
>> On 26 August 2010 10:19, Markus Neteler  wrote:

>>> lspci  | grep NetX
>>> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>>> Gigabit Ethernet (rev 12)
>>> 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>>> Gigabit Ethernet (rev 12)
>>> 08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
>>> Ethernet PCIe Adapter with CX4 copper interface (rev 25)

>> The most precise way of determining exactly which driver is required
>> for a particular device is via the Vendor:Device ID Pairing (a.k.a.
>> the device fingerprint).

>> In you particular case, above, I would be interested in seeing the
>> output returned by --
>>
>> /sbin/lspci -n | grep -E '03:00.0|07:00.0|08:00.0'

> Here it is:
>
> /sbin/lspci -n | grep -E '03:00.0|07:00.0|08:00.0'
> 03:00.0 0200: 14e4:164c (rev 12)
> 07:00.0 0200: 14e4:164c (rev 12)
> 08:00.0 0200: 4040:0002 (rev 25)

Thanks for that information, Markus. Using it, this is what I find . . .

First, I should explain that I have an EL5 workstation which has every
point release base kernel installed on it, as well as the latest
stable mainline release from the Linux Kernel Archives (
http://www.kernel.org/ ):

[...@stxsl ~]$ rpm -q kernel | sort
kernel-2.6.18-128.el5
kernel-2.6.18-164.el5
kernel-2.6.18-194.el5
kernel-2.6.18-53.el5
kernel-2.6.18-8.el5
kernel-2.6.18-92.el5
kernel-2.6.35-3.bcat
[...@stxsl ~]$

Using the first device fingerprint in a "double-grep" technique on
that workstation, I see:

[...@stxsl ~]$ grep -i 14e4 /lib/modules/*/modules.alias | grep -i 164c | sort
/lib/modules/2.6.18-128.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.18-164.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.18-194.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.18-53.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.18-8.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.18-92.el5/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
/lib/modules/2.6.35-3.bcat/modules.alias:alias
pci:v14E4d164Csv*sd*bc*sc*i* bnx2
[...@stxsl ~]$

and using the second device fingerprint, I see:

[...@stxsl ~]$ grep 4040 /lib/modules/*/modules.alias | grep 0002 | sort
/lib/modules/2.6.18-128.el5/modules.alias:alias
pci:v4040d0002sv*sd*bc02sc00i00* netxen_nic
/lib/modules/2.6.18-164.el5/modules.alias:alias
pci:v4040d0002sv*sd*bc02sc00i00* netxen_nic
/lib/modules/2.6.18-194.el5/modules.alias:alias
pci:v4040d0002sv*sd*bc02sc00i00* netxen_nic
/lib/modules/2.6.18-53.el5/modules.alias:alias
pci:v4040d0002sv*sd*bc*sc*i* netxen_nic
/lib/modules/2.6.18-92.el5/modules.alias:alias
pci:v4040d0002sv*sd*bc*sc*i* netxen_nic
/lib/modules/2.6.35-3.bcat/modules.alias:alias
pci:v4040d0002sv*sd*bc02sc00i00* netxen_nic
[...@stxsl ~]$

In both cases, a positive result is obtained.

Putting it all together I can say, with confidence, that the:

Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12),
fingerprint 14e4:164c, is supported by the bnx2 driver module in all
point releases of EL5

and also that the:

NetXen Incorporated NXB-10GCX4 10-Gigabit Ethernet PCIe Adapter with
CX4 copper interface (rev 25), fingerprint 4040:0002, is supported by
the netxen_nic driver module in all point releases of EL5.

Hence you should find that both devices are supported by the
Scientific Linux 5.x kernels.

Regards,
Alan.


Re: Seeking NetXen driver (SL 5.5)

2010-08-27 Thread Markus Neteler
Alan,

On Thu, Aug 26, 2010 at 22:34, Alan Bartlett  wrote:
> On 26 August 2010 10:19, Markus Neteler  wrote:
>
>> I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
>> Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> The network card is this:
>>
>> lspci  | grep NetX
>> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>> Gigabit Ethernet (rev 12)
>> 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>> Gigabit Ethernet (rev 12)
>> 08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
>> Ethernet PCIe Adapter with CX4 copper interface (rev 25)
>
> Markus,
>
> The most precise way of determining exactly which driver is required
> for a particular device is via the Vendor:Device ID Pairing (a.k.a.
> the device fingerprint).

I see...

> In you particular case, above, I would be interested in seeing the
> output returned by --
>
> /sbin/lspci -n | grep -E '03:00.0|07:00.0|08:00.0'

Here it is:

/sbin/lspci -n | grep -E '03:00.0|07:00.0|08:00.0'
03:00.0 0200: 14e4:164c (rev 12)
07:00.0 0200: 14e4:164c (rev 12)
08:00.0 0200: 4040:0002 (rev 25)

> I would then use the technique, as shown in FAQ #4 at
> http://elrepo.org/tiki/FAQ --

I didn't find those IDs here
http://elrepo.org/tiki/DeviceIDs

> grep -i VendorID /lib/modules/*/modules.alias | grep -i DeviceID

[nete...@fep ~]$ cat /lib/modules/*/modules.alias | grep -i
'14e4:164c\|14e4:164c\|4040:0002'
[nete...@fep ~]$

> Hope this helps.

I assume (if I got it right) that the use of the HP vendor SRPM is ok.

thanks,
Markus


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Alan Bartlett
On 26 August 2010 10:19, Markus Neteler  wrote:

> I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
> Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
> x86_64 x86_64 x86_64 GNU/Linux
>
> The network card is this:
>
> lspci  | grep NetX
> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
> Gigabit Ethernet (rev 12)
> 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
> Gigabit Ethernet (rev 12)
> 08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
> Ethernet PCIe Adapter with CX4 copper interface (rev 25)

Markus,

The most precise way of determining exactly which driver is required
for a particular device is via the Vendor:Device ID Pairing (a.k.a.
the device fingerprint).

In you particular case, above, I would be interested in seeing the
output returned by --

/sbin/lspci -n | grep -E '03:00.0|07:00.0|08:00.0'

I would then use the technique, as shown in FAQ #4 at
http://elrepo.org/tiki/FAQ --

grep -i VendorID /lib/modules/*/modules.alias | grep -i DeviceID

Hope this helps.

Alan.


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Denice

On Thu, 26 Aug 2010, Markus Neteler wrote:


On Thu, Aug 26, 2010 at 20:08, Denice  wrote:

On Thu, 26 Aug 2010, Markus Neteler wrote:


On Thu, Aug 26, 2010 at 16:37, Connie Sieh  wrote:


On Thu, 26 Aug 2010, Markus Neteler wrote:


I hoped to find the NetXen driver in SL 5.5 but it does not seem to be
in
Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010


Why do you think it is not in 2.6.18-194.11.1.el5?


Because the network card is not recognized (ifconfig does not show
it). A few minutes ago I found a driver (SRPM) on the HP site
which I compiled and installed. After restarting the network service
the network card (eth2 in my case) is shown.


The driver is there - and so should have worked with a 'modprobe
netxen_nic'.


I will try that tomorrow.


Note that the advantage to using the vendor source is that the
firmware comes with it (and the vendor might even support it) ..  and
the obvious disadvantage is that you need to rebuild on every kernel update..

cheers, etc.


This one I compiled and installed today:

[r...@fep ~]# lsmod | grep nx
nx_nic25  0
bnx2  216653  0
[r...@fep ~]# modinfo nx_nic
filename:
/lib/modules/2.6.18-194.11.1.el5/extra/hp-nx_nic/driver/nx_nic.ko
version:4.0.526
license:GPL
description:HP Multi port (1/10) Gigabit Network Driver


--
deatrich @ triumf.ca, Science/Atlas PH: +1 604-222-7665
<*> This moment's fortune cookie:
 doogie: you sound highly unstable :-)
 jgoerzen - he is.
* doogie bops Knghtbrd
 see?  Resorting to violence =3DD


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Markus Neteler
On Thu, Aug 26, 2010 at 20:08, Denice  wrote:
> On Thu, 26 Aug 2010, Markus Neteler wrote:
>
>> On Thu, Aug 26, 2010 at 16:37, Connie Sieh  wrote:
>>>
>>> On Thu, 26 Aug 2010, Markus Neteler wrote:
>>>
 Hi,

 I hoped to find the NetXen driver in SL 5.5 but it does not seem to be
 in
 Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
>>>
>>> Why do you think it is not in 2.6.18-194.11.1.el5?
>>
>> Because the network card is not recognized (ifconfig does not show
>> it). A few minutes ago I found a driver (SRPM) on the HP site
>> which I compiled and installed. After restarting the network service
>> the network card (eth2 in my case) is shown.
>>
>> I would be glad to avoid own driver compilation, but I don't know
>> how to activate the network card without it. If this is RTFM, please
>> point me to the document.
>>
>> thanks
>> Markus
>
>
> The driver is there - and so should have worked with a 'modprobe
> netxen_nic'.

I will try that tomorrow.

> At least this is the driver that this card used at SL4.
>
> $ cd /lib/modules/2.6.18-164.11.1.el5xen/kernel/drivers/net/netxen
> $ /sbin/modinfo netxen_nic.ko |head
> filename:       netxen_nic.ko
> version:        4.0.11
> license:        GPL
> description:    NetXen Multi port (1/10) Gigabit Network Driver
> srcversion:     6CE4811FBC6BE84DA977BD8
>
> We use the NetXen/QLogic driver instead - but you have to compile it.
> It provides a driver named nx_nic instead of the above netxen_nic,
> which you may have to blacklist.  Did the HP download provide you with
> a driver named nx_nic, or netxen_nic?

This one I compiled and installed today:

[r...@fep ~]# lsmod | grep nx
nx_nic25  0
bnx2  216653  0
[r...@fep ~]# modinfo nx_nic
filename:
/lib/modules/2.6.18-194.11.1.el5/extra/hp-nx_nic/driver/nx_nic.ko
version:4.0.526
license:GPL
description:HP Multi port (1/10) Gigabit Network Driver
author: Copyright (C) 2003 - 2008 NetXen, Inc.
srcversion: 553C912BA2B4BCD8C257DED
...

regards,
Markus

> cheers,
>  Denice
>
 x86_64 x86_64 x86_64 GNU/Linux

 The network card is this:

 lspci  | grep NetX
 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
 Gigabit Ethernet (rev 12)
 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
 Gigabit Ethernet (rev 12)
 08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
 Ethernet PCIe Adapter with CX4 copper interface (rev 25)

 Should I obtain a driver SRPM and compile myself or is there a
 better way?

 thanks in advance,
 Markus
>
> --
> deatrich @ triumf.ca, Science/Atlas         PH: +1 604-222-7665
> <*> This moment's fortune cookie:
> The UPS doesn't have a battery backup.


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Denice

On Thu, 26 Aug 2010, Markus Neteler wrote:


On Thu, Aug 26, 2010 at 16:37, Connie Sieh  wrote:

On Thu, 26 Aug 2010, Markus Neteler wrote:


Hi,

I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010


Why do you think it is not in 2.6.18-194.11.1.el5?


Because the network card is not recognized (ifconfig does not show
it). A few minutes ago I found a driver (SRPM) on the HP site
which I compiled and installed. After restarting the network service
the network card (eth2 in my case) is shown.

I would be glad to avoid own driver compilation, but I don't know
how to activate the network card without it. If this is RTFM, please
point me to the document.

thanks
Markus



The driver is there - and so should have worked with a 'modprobe netxen_nic'.
At least this is the driver that this card used at SL4.

$ cd /lib/modules/2.6.18-164.11.1.el5xen/kernel/drivers/net/netxen
$ /sbin/modinfo netxen_nic.ko |head
filename:   netxen_nic.ko
version:4.0.11
license:GPL
description:NetXen Multi port (1/10) Gigabit Network Driver
srcversion: 6CE4811FBC6BE84DA977BD8

We use the NetXen/QLogic driver instead - but you have to compile it.
It provides a driver named nx_nic instead of the above netxen_nic,
which you may have to blacklist.  Did the HP download provide you with
a driver named nx_nic, or netxen_nic?

cheers,
  Denice


x86_64 x86_64 x86_64 GNU/Linux

The network card is this:

lspci  | grep NetX
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
Ethernet PCIe Adapter with CX4 copper interface (rev 25)

Should I obtain a driver SRPM and compile myself or is there a
better way?

thanks in advance,
Markus


--
deatrich @ triumf.ca, Science/Atlas PH: +1 604-222-7665
<*> This moment's fortune cookie:
The UPS doesn't have a battery backup.



Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Akemi Yagi
On Thu, Aug 26, 2010 at 10:53 AM, Markus Neteler
 wrote:
> On Thu, Aug 26, 2010 at 16:37, Connie Sieh  wrote:
>> On Thu, 26 Aug 2010, Markus Neteler wrote:
>>
>>> Hi,
>>>
>>> I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
>>> Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
>>
>> Why do you think it is not in 2.6.18-194.11.1.el5?
>
> Because the network card is not recognized (ifconfig does not show
> it). A few minutes ago I found a driver (SRPM) on the HP site
> which I compiled and installed. After restarting the network service
> the network card (eth2 in my case) is shown.
>
> I would be glad to avoid own driver compilation, but I don't know
> how to activate the network card without it. If this is RTFM, please
> point me to the document.

I suggest you try asking ELRepo and see if the driver can be built as
a kernel module:

http://elrepo.org

Please use either the mailing list or bug tracker there.

Akemi


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Markus Neteler
On Thu, Aug 26, 2010 at 16:37, Connie Sieh  wrote:
> On Thu, 26 Aug 2010, Markus Neteler wrote:
>
>> Hi,
>>
>> I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
>> Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
>
> Why do you think it is not in 2.6.18-194.11.1.el5?

Because the network card is not recognized (ifconfig does not show
it). A few minutes ago I found a driver (SRPM) on the HP site
which I compiled and installed. After restarting the network service
the network card (eth2 in my case) is shown.

I would be glad to avoid own driver compilation, but I don't know
how to activate the network card without it. If this is RTFM, please
point me to the document.

thanks
Markus

> -Connie Sieh
>
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> The network card is this:
>>
>> lspci  | grep NetX
>> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>> Gigabit Ethernet (rev 12)
>> 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
>> Gigabit Ethernet (rev 12)
>> 08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
>> Ethernet PCIe Adapter with CX4 copper interface (rev 25)
>>
>> Should I obtain a driver SRPM and compile myself or is there a
>> better way?
>>
>> thanks in advance,
>> Markus
>>
>>
>


Re: Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Connie Sieh

On Thu, 26 Aug 2010, Markus Neteler wrote:


Hi,

I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010


Why do you think it is not in 2.6.18-194.11.1.el5?

-Connie Sieh


x86_64 x86_64 x86_64 GNU/Linux

The network card is this:

lspci  | grep NetX
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
Ethernet PCIe Adapter with CX4 copper interface (rev 25)

Should I obtain a driver SRPM and compile myself or is there a
better way?

thanks in advance,
Markus




Seeking NetXen driver (SL 5.5)

2010-08-26 Thread Markus Neteler
Hi,

I hoped to find the NetXen driver in SL 5.5 but it does not seem to be in
Linux fep 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 16:39:28 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux

The network card is this:

lspci  | grep NetX
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet (rev 12)
08:00.0 Ethernet controller: NetXen Incorporated NXB-10GCX4 10-Gigabit
Ethernet PCIe Adapter with CX4 copper interface (rev 25)

Should I obtain a driver SRPM and compile myself or is there a
better way?

thanks in advance,
Markus

-- 
http://gis.ambiente.fmach.it/