View previous topic :: View next topic |
Author |
Message |
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 1:25 pm Post subject: P5Q Ethernet help |
|
|
I recently bought an asus P5Q board for pcie2 support, But I cant seem to get the onboard Ethernet to work.
http://www.newegg.com/Product/Product.aspx?Item=N82E16813131295
http://usa.asus.com/products.aspx?l1=3&l2=11&l3=709&l4=0&model=2164&modelmenu=2
All the asus site says about the eth controller is "PCIe Gb LAN controller featuring AI NET2". I have read about a lot of people having problems with this board, but mostly with the sata controller (my sata drives come up fine). I really hope I can get this working in linux, because right now I am using onboard for windows, and an older pci lan card for linux, and I cant find its windows drivers... so I have to switch the eth cable every time I boot into a different OS.
I have tried both the sky2 and skge kernel modules.
I will post the lspci and dmseg output when I get home. |
|
Back to top |
|
|
cassiol Guru
Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Mon Jul 28, 2008 2:58 pm Post subject: |
|
|
heloooo
your network card is Atheros L1e.
patch your kernel with http://marc.info/?l=linux-kernel&m=121635231210679&w=2 _________________ before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 5:31 pm Post subject: |
|
|
Ive never had to patch my kernel before. I use gentoo-sources, how would I go about patching it? thank you
btw, lspci output
Quote: | 02:00.0 Ethernet controller: Attansic Technology Corp. Unknown device 1026 (rev b0) |
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Jul 28, 2008 6:06 pm Post subject: |
|
|
This may only apply to recent kernels, but support for your NIC is included, and does not require a patch.
menuconfig: | Device Drivers --->
[*] Network device support --->
[*] Ethernet (1000 Mbit) --->
<M> Attansic L1 Gigabit Ethernet support (EXPERIMENTAL) |
|
|
Back to top |
|
|
cassiol Guru
Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Mon Jul 28, 2008 7:13 pm Post subject: |
|
|
helooo
i agree cyrillic.. not more necessary patch the kernel. _________________ before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 7:44 pm Post subject: |
|
|
I believe I tried that, and it didnt work, but I'll try again. |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 8:56 pm Post subject: |
|
|
I just tried it again, and it did not work. Could the "Atheros L1e" be the controller in the "delux" or "pro" edition, and not the one I have? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Jul 28, 2008 9:56 pm Post subject: |
|
|
I was confused for a minute there too, but then I found out that Atheros and Attansic have merged, so they are now the same company.
The Attansic driver in the kernel should be the right one, according to the lspci output you posted, but you may need a newer (like 2.6.26) kernel version if your hardware is very recent. |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 11:11 pm Post subject: |
|
|
yes, my hardware is fairly recent, I will try a newer kernel. |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Mon Jul 28, 2008 11:39 pm Post subject: |
|
|
will I run into problems if I unmask all versions of gentoo-sources? If the kernel has been released as stable, it shouldn't have anything too bad. |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Tue Jul 29, 2008 5:24 pm Post subject: |
|
|
With the gentoo-sources 2.6.26 (latest in portage) it still doesn't work. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jul 29, 2008 6:22 pm Post subject: |
|
|
Can you be more specific about what part doesn't work ?
Try these commands to see how far you get.
Code: | # modprobe atl1
# dmesg | tail
# ifconfig -a
# dhcpcd eth0
# route -n |
|
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Tue Jul 29, 2008 8:29 pm Post subject: |
|
|
Right now I am in my gentoo install, using an old 3com pci Ethernet card, which is running as "eth1".
Quote: | # modprobe atl1
FATAL: Module atl1 not found. |
Quote: | # dmesg | tail
sd 7:0:0:0: [sdc] 19488471 4096-byte hardware sectors (79825 MB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 68 00 00 08
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 7:0:0:0: [sdc] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
eth1: setting half-duplex.
eth1: no IPv6 routers present |
Quote: | # ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:60:97:22:2B:A6
inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::260:97ff:fe22:2ba6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4530 errors:0 dropped:0 overruns:0 frame:0
TX packets:6079 errors:0 dropped:0 overruns:0 carrier:0
collisions:162 txqueuelen:1000
RX bytes:2679284 (2.5 Mb) TX bytes:4631418 (4.4 Mb)
Interrupt:17 Base address:0xe880
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
Quote: | # dhcpcd eth0
err, eth0: ioctl SIOCGIFHWADDR: No such device |
Quote: | # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1 |
I'd imagine that the first one shows the problem. |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Tue Jul 29, 2008 8:34 pm Post subject: |
|
|
My kernel .config file has "CONFIG_ATL1=y".
I built it into the kernel, not as a module, so I guess thats why it can't be modprobed. |
|
Back to top |
|
|
cassiol Guru
Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Wed Jul 30, 2008 12:54 am Post subject: |
|
|
helloo
please post dmesg | grep atl1 _________________ before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Wed Jul 30, 2008 5:58 am Post subject: |
|
|
Doesn't return anything. |
|
Back to top |
|
|
NoAngel n00b
Joined: 22 Jul 2008 Posts: 7
|
Posted: Wed Jul 30, 2008 7:33 am Post subject: |
|
|
I think, it's better to rebuild kernel, compiling ethernet adapter(s) as kernel module. Then install kernel (better to keep old one), reboot, use modprobe <Your module name here>, lsmod... |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Wed Jul 30, 2008 1:29 pm Post subject: |
|
|
I modprobed it:
Quote: | # modprobe atl1
# lsmod
Module Size Used by
atl1 31240 0
nvidia 8097872 24 |
but that didn't change anything. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Wed Jul 30, 2008 2:38 pm Post subject: |
|
|
Same here - I can modprobe atl1 and it even gives me an interface but I can't connect :-/
Any other possibilities? Otherwise I have to fall back to an old 100mb-realtek card
Greetz
swimmer |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Wed Jul 30, 2008 2:44 pm Post subject: |
|
|
Is there any chance that the P5Q does not use an "Atheros L1e" card? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Jul 30, 2008 2:51 pm Post subject: |
|
|
swimmer wrote: | Same here - I can modprobe atl1 and it even gives me an interface but I can't connect :-/ |
What does dmesg say when the interface is created ? |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Wed Jul 30, 2008 3:33 pm Post subject: |
|
|
sd 7:0:0:0: [sdc] 19488471 4096-byte hardware sectors (79825 MB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 68 00 00 08
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 7:0:0:0: [sdc] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
eth1: setting half-duplex.
eth1: no IPv6 routers present |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Jul 31, 2008 12:09 am Post subject: |
|
|
I managed to get it working with a little help of this workaround ... of course it's a solution for an Ubuntu environment but you can easily adapt it to your Gentoo box
HTH
swimmer |
|
Back to top |
|
|
cakofony Apprentice
Joined: 19 Nov 2006 Posts: 152
|
Posted: Thu Jul 31, 2008 4:30 am Post subject: |
|
|
So it works for you? do you know if it would work in a 64-bin enviorment? |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Jul 31, 2008 7:21 am Post subject: |
|
|
It works for me indeed and I can't answer your question since I decided to go for 32-bit :-/
Greetz
swimmer |
|
Back to top |
|
|
|