public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Networkdriver for Intel 82579
  2011-01-23 10:41 [gentoo-user] Networkdriver for Intel 82579 Matthias Fechner
@ 2011-01-22 11:12 ` Dale
  2011-01-23 13:01   ` Matthias Fechner
  0 siblings, 1 reply; 4+ messages in thread
From: Dale @ 2011-01-22 11:12 UTC (permalink / raw
  To: gentoo-user

Matthias Fechner wrote:
> Dear list,
>
> I have here a brand new mainboard (Asus P8P67 Pro) with the new sandy
> chip on it. If I look into the manual it says there is an Intel 82579
> Gigabit LAN chip on-board.
>
> I tried it with kernel 2.6.37 (from kernel.org) and dmesg tells me:
> e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
> e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
> e1000e 0000:00:19.0: PCI INT A ->  GSI 18 (level, low) ->  IRQ 18
> e1000e 0000:00:19.0: setting latency timer to 64
> e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
> e1000e 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) bc:ae:c5:b6:9b:8e
> e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
> e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: ffffff-0ff
>
> I searched around and found the tip to use a newer driver.
> I downloaded it here:
> http://sourceforge.net/projects/e1000/files/e1000e%20stable/1.2.20/
>
> But if I try to compile the driver I get:
> /usr/src/e1000e-1.2.20/src/netdev.c: In function 'e1000_restore_vlan':
> /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: 'VLAN_GROUP_ARRAY_LEN'
> undeclared (first use in this function)
> /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: (Each undeclared
> identifier is reported only once
> /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: for each function it
> appears in.)
> make[2]: *** [/usr/src/e1000e-1.2.20/src/netdev.o] Error 1
> make[1]: *** [_module_/usr/src/e1000e-1.2.20/src] Error 2
> make: *** [default] Error 2
>
> Can here please help someone?
>
> Thanks a lot
> Matthias
>
>    

Does the one that comes with the kernel not work for some reason? It's 
here according to the search page:

│ Prompt: Intel(R) PRO/1000 Gigabit Ethernet support
│ Defined at drivers/net/Kconfig:2085
│ Depends on: NETDEVICES [=y] && NETDEV_1000 [=y] && PCI [=y]
│ Location:
│ -> Device Drivers
│ -> Network device support (NETDEVICES [=y])
│ -> Ethernet (1000 Mbit) (NETDEV_1000 [=y])
│


Just build it in or add it as a module. In case you are new, go to 
Device Drivers, Network Device support, Ethernet 1000 Mbit then look for 
Intel Pro/1000. Sort of lists it backwards up there. ;-)

Dale

:-) :-)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Networkdriver for Intel 82579
  2011-01-23 13:01   ` Matthias Fechner
@ 2011-01-22 14:22     ` Dale
  0 siblings, 0 replies; 4+ messages in thread
From: Dale @ 2011-01-22 14:22 UTC (permalink / raw
  To: gentoo-user

Matthias Fechner wrote:
> On 01/22/11 12:12, Dale wrote:
>> Just build it in or add it as a module. In case you are new, go to
>> Device Drivers, Network Device support, Ethernet 1000 Mbit then look for
>> Intel Pro/1000. Sort of lists it backwards up there. ;-)
>
> no it is not working (kernel 2.6.37). But I got the above mentioned 
> driver working by editing the file with the error, replaced 
> VLAN_GROUP_ARRAY_LEN by VLAN_N_VID, found that in a kernel git log 
> that this variable was renamed.
>
> Now it runs fine.
>
>
> Bye
> Matthias
>

So you got it working.  That's all that matters.  ;-)

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Networkdriver for Intel 82579
@ 2011-01-23 10:41 Matthias Fechner
  2011-01-22 11:12 ` Dale
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fechner @ 2011-01-23 10:41 UTC (permalink / raw
  To: gentoo-user

Dear list,

I have here a brand new mainboard (Asus P8P67 Pro) with the new sandy
chip on it. If I look into the manual it says there is an Intel 82579
Gigabit LAN chip on-board.

I tried it with kernel 2.6.37 (from kernel.org) and dmesg tells me:
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
e1000e 0000:00:19.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
e1000e 0000:00:19.0: setting latency timer to 64
e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
e1000e 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) bc:ae:c5:b6:9b:8e
e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: ffffff-0ff

I searched around and found the tip to use a newer driver.
I downloaded it here:
http://sourceforge.net/projects/e1000/files/e1000e%20stable/1.2.20/

But if I try to compile the driver I get:
/usr/src/e1000e-1.2.20/src/netdev.c: In function 'e1000_restore_vlan':
/usr/src/e1000e-1.2.20/src/netdev.c:3076: error: 'VLAN_GROUP_ARRAY_LEN'
undeclared (first use in this function)
/usr/src/e1000e-1.2.20/src/netdev.c:3076: error: (Each undeclared
identifier is reported only once
/usr/src/e1000e-1.2.20/src/netdev.c:3076: error: for each function it
appears in.)
make[2]: *** [/usr/src/e1000e-1.2.20/src/netdev.o] Error 1
make[1]: *** [_module_/usr/src/e1000e-1.2.20/src] Error 2
make: *** [default] Error 2

Can here please help someone?

Thanks a lot
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Networkdriver for Intel 82579
  2011-01-22 11:12 ` Dale
@ 2011-01-23 13:01   ` Matthias Fechner
  2011-01-22 14:22     ` Dale
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fechner @ 2011-01-23 13:01 UTC (permalink / raw
  To: gentoo-user

On 01/22/11 12:12, Dale wrote:
> Just build it in or add it as a module. In case you are new, go to
> Device Drivers, Network Device support, Ethernet 1000 Mbit then look for
> Intel Pro/1000. Sort of lists it backwards up there. ;-)

no it is not working (kernel 2.6.37). But I got the above mentioned 
driver working by editing the file with the error, replaced 
VLAN_GROUP_ARRAY_LEN by VLAN_N_VID, found that in a kernel git log that 
this variable was renamed.

Now it runs fine.


Bye
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-22 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 10:41 [gentoo-user] Networkdriver for Intel 82579 Matthias Fechner
2011-01-22 11:12 ` Dale
2011-01-23 13:01   ` Matthias Fechner
2011-01-22 14:22     ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox