Intel 82576 and FreeNAS 8.3p5

Status
Not open for further replies.

lungfork

Dabbler
Joined
Jan 15, 2013
Messages
16
Hello all,
First time working with FreeNAS. I've installed the OS on my NAS hardware, but I am having a hell of a time getting the network card to work properly. I'm using a SuperMicro motherboard (X8DAH+-F) with the Intel 82576 dual-port Ethernet controller providing the onboard Ethernet ports.

The OS sees the NICs, but cannot locate a driver apparently:

Code:
[root@freenas] ~# dmesg | grep ethernet
pci130: <network, ethernet> at device 0.0 (no driver attached)
pci130: <network, ethernet> at device 0.1 (no driver attached)


I have an Emulex 10GbE network card that is working just fine, but no luck so far with the 1GbE ports.

Any help would be appreciated. So far, I've tried adding the if_igb_load="YES" option to /boot/loader.conf, but no luck there.

Thanks,
Jordan
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
You appear to have interpreted that correctly. I would expect the driver to be included in FreeNAS without an explicit load but don't know for sure.

Would you be so kind as to go run "pciconf -l" for us? I can see if maybe there's something about your card that is sufficiently different that the driver is not recognizing that it should attach to that hardware.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Are you by chance using an alpha, beta, or Release candidate? I know my machine with an 82576 Intel NIC works fine... quite strange that an Intel card wouldn't be detected properly.

Edit: By the way.. there is no FreeNAS 8.3p5. Could you tell us what version you are actually using? The "System Information" page lists the FreeNAS build. The latest RELEASE version is FreeNAS-8.3.0-RELEASE-p1-x64 (r12825).
 

lungfork

Dabbler
Joined
Jan 15, 2013
Messages
16
...Would you be so kind as to go run "pciconf -l" for us?...

Sure thing, here it is:

Code:
hostb0@pci0:0:0:0:	class=0x060000 card=0x010015d9 chip=0x34068086 rev=0x22 hdr=0x00
pcib1@pci0:0:1:0:	class=0x060400 card=0x010015d9 chip=0x34088086 rev=0x22 hdr=0x01
pcib2@pci0:0:3:0:	class=0x060400 card=0x010015d9 chip=0x340a8086 rev=0x22 hdr=0x01
pcib3@pci0:0:7:0:	class=0x060400 card=0x010015d9 chip=0x340e8086 rev=0x22 hdr=0x01
pcib4@pci0:0:9:0:	class=0x060400 card=0x010015d9 chip=0x34108086 rev=0x22 hdr=0x01
none0@pci0:0:20:0:	class=0x080000 card=0x00000000 chip=0x342e8086 rev=0x22 hdr=0x00
none1@pci0:0:22:0:	class=0x088000 card=0x010015d9 chip=0x34308086 rev=0x22 hdr=0x00
none2@pci0:0:22:1:	class=0x088000 card=0x010015d9 chip=0x34318086 rev=0x22 hdr=0x00
none3@pci0:0:22:2:	class=0x088000 card=0x010015d9 chip=0x34328086 rev=0x22 hdr=0x00
none4@pci0:0:22:3:	class=0x088000 card=0x010015d9 chip=0x34338086 rev=0x22 hdr=0x00
none5@pci0:0:22:4:	class=0x088000 card=0x010015d9 chip=0x34298086 rev=0x22 hdr=0x00
none6@pci0:0:22:5:	class=0x088000 card=0x010015d9 chip=0x342a8086 rev=0x22 hdr=0x00
none7@pci0:0:22:6:	class=0x088000 card=0x010015d9 chip=0x342b8086 rev=0x22 hdr=0x00
none8@pci0:0:22:7:	class=0x088000 card=0x010015d9 chip=0x342c8086 rev=0x22 hdr=0x00
uhci0@pci0:0:26:0:	class=0x0c0300 card=0x010015d9 chip=0x3a378086 rev=0x00 hdr=0x00
uhci1@pci0:0:26:1:	class=0x0c0300 card=0x010015d9 chip=0x3a388086 rev=0x00 hdr=0x00
uhci2@pci0:0:26:2:	class=0x0c0300 card=0x010015d9 chip=0x3a398086 rev=0x00 hdr=0x00
ehci0@pci0:0:26:7:	class=0x0c0320 card=0x010015d9 chip=0x3a3c8086 rev=0x00 hdr=0x00
none9@pci0:0:27:0:	class=0x040300 card=0x010015d9 chip=0x3a3e8086 rev=0x00 hdr=0x00
pcib5@pci0:0:28:0:	class=0x060400 card=0x010015d9 chip=0x3a408086 rev=0x00 hdr=0x01
uhci3@pci0:0:29:0:	class=0x0c0300 card=0x010015d9 chip=0x3a348086 rev=0x00 hdr=0x00
uhci4@pci0:0:29:1:	class=0x0c0300 card=0x010015d9 chip=0x3a358086 rev=0x00 hdr=0x00
uhci5@pci0:0:29:2:	class=0x0c0300 card=0x010015d9 chip=0x3a368086 rev=0x00 hdr=0x00
ehci1@pci0:0:29:7:	class=0x0c0320 card=0x010015d9 chip=0x3a3a8086 rev=0x00 hdr=0x00
pcib6@pci0:0:30:0:	class=0x060401 card=0x010015d9 chip=0x244e8086 rev=0x90 hdr=0x01
isab0@pci0:0:31:0:	class=0x060100 card=0x010015d9 chip=0x3a168086 rev=0x00 hdr=0x00
ahci0@pci0:0:31:2:	class=0x010400 card=0x010015d9 chip=0x28228086 rev=0x00 hdr=0x00
none10@pci0:0:31:3:	class=0x0c0500 card=0x010015d9 chip=0x3a308086 rev=0x00 hdr=0x00
igb0@pci0:1:0:0:	class=0x020000 card=0x010015d9 chip=0x10c98086 rev=0x01 hdr=0x00
igb1@pci0:1:0:1:	class=0x020000 card=0x010015d9 chip=0x10c98086 rev=0x01 hdr=0x00
mfi0@pci0:3:0:0:	class=0x010400 card=0x92618086 chip=0x00791000 rev=0x05 hdr=0x00
atapci0@pci0:5:0:0:	class=0x010185 card=0x2368197b chip=0x2368197b rev=0x00 hdr=0x00
vgapci0@pci0:6:4:0:	class=0x030000 card=0x010015d9 chip=0x0532102b rev=0x0a hdr=0x00
fwohci0@pci0:6:5:0:	class=0x0c0010 card=0x010015d9 chip=0x8023104c rev=0x00 hdr=0x00
pcib8@pci0:128:0:0:	class=0x060400 card=0x010015d9 chip=0x34208086 rev=0x22 hdr=0x01
pcib9@pci0:128:1:0:	class=0x060400 card=0x010015d9 chip=0x34088086 rev=0x22 hdr=0x01
pcib10@pci0:128:3:0:	class=0x060400 card=0x010015d9 chip=0x340a8086 rev=0x22 hdr=0x01
pcib11@pci0:128:5:0:	class=0x060400 card=0x010015d9 chip=0x340c8086 rev=0x22 hdr=0x01
pcib12@pci0:128:7:0:	class=0x060400 card=0x010015d9 chip=0x340e8086 rev=0x22 hdr=0x01
none11@pci0:128:20:0:	class=0x080000 card=0x00000000 chip=0x342e8086 rev=0x22 hdr=0x00
none12@pci0:128:20:1:	class=0x080000 card=0x00000000 chip=0x34228086 rev=0x22 hdr=0x00
none13@pci0:128:20:2:	class=0x080000 card=0x00000000 chip=0x34238086 rev=0x22 hdr=0x00
none14@pci0:128:20:3:	class=0x080000 card=0x00000000 chip=0x34388086 rev=0x22 hdr=0x00
none15@pci0:128:22:0:	class=0x088000 card=0x010015d9 chip=0x34308086 rev=0x22 hdr=0x00
none16@pci0:128:22:1:	class=0x088000 card=0x010015d9 chip=0x34318086 rev=0x22 hdr=0x00
none17@pci0:128:22:2:	class=0x088000 card=0x010015d9 chip=0x34328086 rev=0x22 hdr=0x00
none18@pci0:128:22:3:	class=0x088000 card=0x010015d9 chip=0x34338086 rev=0x22 hdr=0x00
none19@pci0:128:22:4:	class=0x088000 card=0x010015d9 chip=0x34298086 rev=0x22 hdr=0x00
none20@pci0:128:22:5:	class=0x088000 card=0x010015d9 chip=0x342a8086 rev=0x22 hdr=0x00
none21@pci0:128:22:6:	class=0x088000 card=0x010015d9 chip=0x342b8086 rev=0x22 hdr=0x00
none22@pci0:128:22:7:	class=0x088000 card=0x010015d9 chip=0x342c8086 rev=0x22 hdr=0x00
none23@pci0:130:0:0:	class=0x020000 card=0xe62210df chip=0x070019a2 rev=0x02 hdr=0x00
none24@pci0:130:0:1:	class=0x020000 card=0xe62210df chip=0x070019a2 rev=0x02 hdr=0x00
hostb1@pci0:255:0:0:	class=0x060000 card=0x80868086 chip=0x2c708086 rev=0x02 hdr=0x00
hostb2@pci0:255:0:1:	class=0x060000 card=0x80868086 chip=0x2d818086 rev=0x02 hdr=0x00
hostb3@pci0:255:2:0:	class=0x060000 card=0x80868086 chip=0x2d908086 rev=0x02 hdr=0x00
hostb4@pci0:255:2:1:	class=0x060000 card=0x80868086 chip=0x2d918086 rev=0x02 hdr=0x00
hostb5@pci0:255:2:2:	class=0x060000 card=0x80868086 chip=0x2d928086 rev=0x02 hdr=0x00
hostb6@pci0:255:2:3:	class=0x060000 card=0x80868086 chip=0x2d938086 rev=0x02 hdr=0x00
hostb7@pci0:255:2:4:	class=0x060000 card=0x80868086 chip=0x2d948086 rev=0x02 hdr=0x00
hostb8@pci0:255:2:5:	class=0x060000 card=0x80868086 chip=0x2d958086 rev=0x02 hdr=0x00
hostb9@pci0:255:3:0:	class=0x060000 card=0x80868086 chip=0x2d988086 rev=0x02 hdr=0x00
hostb10@pci0:255:3:1:	class=0x060000 card=0x80868086 chip=0x2d998086 rev=0x02 hdr=0x00
hostb11@pci0:255:3:2:	class=0x060000 card=0x80868086 chip=0x2d9a8086 rev=0x02 hdr=0x00
hostb12@pci0:255:3:4:	class=0x060000 card=0x80868086 chip=0x2d9c8086 rev=0x02 hdr=0x00
hostb13@pci0:255:4:0:	class=0x060000 card=0x80868086 chip=0x2da08086 rev=0x02 hdr=0x00
hostb14@pci0:255:4:1:	class=0x060000 card=0x80868086 chip=0x2da18086 rev=0x02 hdr=0x00
hostb15@pci0:255:4:2:	class=0x060000 card=0x80868086 chip=0x2da28086 rev=0x02 hdr=0x00
hostb16@pci0:255:4:3:	class=0x060000 card=0x80868086 chip=0x2da38086 rev=0x02 hdr=0x00
hostb17@pci0:255:5:0:	class=0x060000 card=0x80868086 chip=0x2da88086 rev=0x02 hdr=0x00
hostb18@pci0:255:5:1:	class=0x060000 card=0x80868086 chip=0x2da98086 rev=0x02 hdr=0x00
hostb19@pci0:255:5:2:	class=0x060000 card=0x80868086 chip=0x2daa8086 rev=0x02 hdr=0x00
hostb20@pci0:255:5:3:	class=0x060000 card=0x80868086 chip=0x2dab8086 rev=0x02 hdr=0x00
hostb21@pci0:255:6:0:	class=0x060000 card=0x80868086 chip=0x2db08086 rev=0x02 hdr=0x00
hostb22@pci0:255:6:1:	class=0x060000 card=0x80868086 chip=0x2db18086 rev=0x02 hdr=0x00
hostb23@pci0:255:6:2:	class=0x060000 card=0x80868086 chip=0x2db28086 rev=0x02 hdr=0x00
hostb24@pci0:255:6:3:	class=0x060000 card=0x80868086 chip=0x2db38086 rev=0x02 hdr=0x00
 

lungfork

Dabbler
Joined
Jan 15, 2013
Messages
16
Are you by chance using an alpha, beta, or Release candidate? I know my machine with an 82576 Intel NIC works fine... quite strange that an Intel card wouldn't be detected properly.

Edit: By the way.. there is no FreeNAS 8.3p5. Could you tell us what version you are actually using? The "System Information" page lists the FreeNAS build. The latest RELEASE version is FreeNAS-8.3.0-RELEASE-p1-x64 (r12825).

Sorry, I pulled the p5 from the uname -r output. I am using the RELEASE-p1 version, downloaded on 12/21.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Yeah, the similarity-yet-difference between FreeBSD and FreeNAS numbering is a PITA.
 

lungfork

Dabbler
Joined
Jan 15, 2013
Messages
16
You appear to have interpreted that correctly. I would expect the driver to be included in FreeNAS without an explicit load but don't know for sure.

Would you be so kind as to go run "pciconf -l" for us? I can see if maybe there's something about your card that is sufficiently different that the driver is not recognizing that it should attach to that hardware.


The full output is heldup for moderator approval, but here is portion of the output just for the onboard Ethernet:

Code:
none23@pci0:130:0:0:	class=0x020000 card=0xe62210df chip=0x070019a2 rev=0x02 hdr=0x00
none24@pci0:130:0:1:	class=0x020000 card=0xe62210df chip=0x070019a2 rev=0x02 hdr=0x00


Thanks,
Jordan
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
That's not making any sense to me.

Usually the Intel parts end in 8086, it's their favorite hardcoded constant.

em1@pci3:4:0: class=0x020000 card=0x10008086 chip=0x101d8086 rev=0x01 hdr=0x00

That's out of a box with a PWLA8494GT, and that's accurately identified by e1000_hw.h as E1000_DEV_ID_82546EB_QUAD_COPPER.

Now I'm looking at the source in if_igb.c and it appears to expect the 0x8086 constant as well, so I guess I'm not shocked that it isn't being seen. But let me ask this, you sure you picked the right lines out of pciconf? I think the class decodes as network but I'm just a bit puzzled.

This isn't an authoritative answer, by the way, just a "waitaminitthatdontlookright".
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
My 82576 card has 0x10008086 too... so yeah, something is messed up.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
What's the chip identifier? (card is probably less-useful of the two values, at least for Intel) Possibly just 0x10c98086? Could also be 0x10e7, or 0x150a, 18, possibly 0x10ca? Without looking at the data sheet it's hard to prune the possibilities too aggressively.
 

lungfork

Dabbler
Joined
Jan 15, 2013
Messages
16
That's not making any sense to me.

Usually the Intel parts end in 8086, it's their favorite hardcoded constant.

em1@pci3:4:0: class=0x020000 card=0x10008086 chip=0x101d8086 rev=0x01 hdr=0x00

That's out of a box with a PWLA8494GT, and that's accurately identified by e1000_hw.h as E1000_DEV_ID_82546EB_QUAD_COPPER.

Now I'm looking at the source in if_igb.c and it appears to expect the 0x8086 constant as well, so I guess I'm not shocked that it isn't being seen. But let me ask this, you sure you picked the right lines out of pciconf? I think the class decodes as network but I'm just a bit puzzled.

This isn't an authoritative answer, by the way, just a "waitaminitthatdontlookright".

Guys,
I think you're dealing with a 1d10t error here. It turns out that the Intel chip was working properly, and it was the Emulex card that had no drivers. I looked up the 0x----10df card identifier here, and it is belongs to Emulex, which if you'll recall was the manufacturer of my 10GbE card.

The reason I was confused was because the SuperMicro mobo has three RJ45 ports, but only two of them are for Ethernet, the third is an IPMI port. I was trying to use the first NIC, not realizing that it's the IPMI port.

Thanks for all your help, sorry for troubling you with my confusion. Everything is working as expected now.

Jordan
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Not a problem. Dumb spam filter, if it had let your earlier post through, it'd have been trivial to see the other interfaces listed there.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
LOL! My system had some random POS NIC card too(notice the 'had'). I totally forgot it was in there. That's hilarious!
 
Status
Not open for further replies.
Top