View previous topic :: View next topic |
Author |
Message |
Flonaldo Guru
Joined: 21 Nov 2003 Posts: 572 Location: Bologna
|
Posted: Wed Feb 22, 2006 6:54 pm Post subject: Realtek Semiconductor |
|
|
Hi, I can't set my Realtek Semiconductor 8168; it's a GigaBit; when i type my system say Code: | unknow interface: No such device | ; i'm using a 2.6.12-gentoo-r10 kernel and i built-in the in the kernel the support for Code: | Realtek 8169 gigabit ethernet |
I don't know why but my ethernet doesn't work! Sorry for my english _________________ Odio un po' di meno gli uomini coi capelli rossi
La mia musica http://www.last.fm/user/Flonaldo/ |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54422 Location: 56N 3W
|
Posted: Wed Feb 22, 2006 7:55 pm Post subject: |
|
|
Flonaldo,
Please post the ethernet line from the oitput of lspci. You can do this from the liveCD and the output of lsmod, again from the liveCD with the network working.
The process in this post may help. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Flonaldo Guru
Joined: 21 Nov 2003 Posts: 572 Location: Bologna
|
Posted: Wed Feb 22, 2006 8:21 pm Post subject: |
|
|
NeddySeagoon wrote: | Flonaldo,
Please post the ethernet line from the oitput of lspci. You can do this from the liveCD and the output of lsmod, again from the liveCD with the network working.
The process in this post may help. |
well, my live cd doens't find my ethernet! The classic red string
lspci | grep Ethernet Code: | Ethernet Controller : Realtek Semiconductor Co., LDT.: Unknow Device 8168 (rev01) |
any idea? _________________ Odio un po' di meno gli uomini coi capelli rossi
La mia musica http://www.last.fm/user/Flonaldo/ |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54422 Location: 56N 3W
|
Posted: Wed Feb 22, 2006 9:02 pm Post subject: |
|
|
Flonaldo,
Boot the liveCD and do the liveCD is not 100% at spotting 1Gb network cards.
should show eth0 now but its not yet running.
Run
Now check it works.
If thats OK you need the Realtek 8169 gigabit ethernet support as a module in your kernel.
Some !Gb network cards do not autonegiotiate wth some 100Mb switches, so yo umay need to use module parameters to fix thet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Flonaldo Guru
Joined: 21 Nov 2003 Posts: 572 Location: Bologna
|
Posted: Wed Feb 22, 2006 10:55 pm Post subject: |
|
|
NeddySeagoon wrote: | Flonaldo,
Boot the liveCD and do the liveCD is not 100% at spotting 1Gb network cards.
should show eth0 now but its not yet running.
Run
Now check it works.
If thats OK you need the Realtek 8169 gigabit ethernet support as a module in your kernel.
Some !Gb network cards do not autonegiotiate wth some 100Mb switches, so yo umay need to use module parameters to fix thet. |
I'm sorry but there is no way to set my card! I tried with r8169 module but it doesn't work! I tried to set my connection both by dhcpcd and manually but nothing...
I really dont't know why, i'm not a noob but...this is unbelivable! I also check if my phisical card was present _________________ Odio un po' di meno gli uomini coi capelli rossi
La mia musica http://www.last.fm/user/Flonaldo/ |
|
Back to top |
|
|
CYberF0x n00b
Joined: 22 Mar 2006 Posts: 4
|
Posted: Thu Mar 23, 2006 8:01 pm Post subject: |
|
|
I have the same problem with my Asus U5A Notebook.
modprobe r8169 shows nothing in the dmesg logs
Same lscpi output.
I have no conlusion
please help us |
|
Back to top |
|
|
wildhorse Apprentice
Joined: 16 Mar 2006 Posts: 150 Location: Estados Unidos De América
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54422 Location: 56N 3W
|
Posted: Thu Mar 23, 2006 9:05 pm Post subject: |
|
|
CYberF0x,
Its good that modprobe r8139 shows nothing in dmesg. That means it loaded without errors.
Does show eth0 now ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
CYberF0x n00b
Joined: 22 Mar 2006 Posts: 4
|
Posted: Mon Mar 27, 2006 8:12 am Post subject: |
|
|
Nope ifconfig shows only this f*** ethernet over firewire device
if tested it with debian testing and the same problem... |
|
Back to top |
|
|
GKar n00b
Joined: 09 Feb 2004 Posts: 9
|
|
Back to top |
|
|
helamonster n00b
Joined: 10 Mar 2004 Posts: 56 Location: Earth, North America, USA, Florida
|
Posted: Fri Apr 21, 2006 4:19 am Post subject: Re: Realtek Drivers for 8168 |
|
|
I have the same chipset and the 8169 driver doesn't seem to work, so I try the driver provided by the manufacturer version 1.02 (from http://www.realtek.com.tw/downloads/downloads1-3.aspx?keyword=8168 ), but this is what I get:
Code: | # make clean modules
make -C src/ clean
make[1]: Entering directory `/mnt/archive/installs/drivers/Realtek 8169 Gigabit Ethernet/r1000/src'
Makefile:28: /archive/installs/drivers/Realtek: No such file or directory
Makefile:28: 8169: No such file or directory
Makefile:28: Gigabit: No such file or directory
Makefile:28: Ethernet/r1000/src/Makefile_linux26x: No such file or directory
make[1]: *** No rule to make target `Ethernet/r1000/src/Makefile_linux26x'. Stop.
make[1]: Leaving directory `/mnt/archive/installs/drivers/Realtek 8169 Gigabit Ethernet/r1000/src'
make: *** [clean] Error 2 |
I haven't spent much time on it, so I haven't yet figured out how to get it to compile correctly. If anyone has a quick answer, please let me know. Otherwise, I will continue to tinker with it... |
|
Back to top |
|
|
helamonster n00b
Joined: 10 Mar 2004 Posts: 56 Location: Earth, North America, USA, Florida
|
Posted: Thu Apr 27, 2006 1:13 am Post subject: Re: Realtek Drivers for 8168 |
|
|
Duh! The makefile wasn't prepared for paths with spaces!
I could fix it, but I'm lazy -- I just renamed my directory and now it compiles OK :) |
|
Back to top |
|
|
ikostadinov n00b
Joined: 18 Jul 2005 Posts: 5
|
Posted: Sat Apr 29, 2006 1:45 pm Post subject: Cannot install Gentoo because of this |
|
|
Hey,
I just bought a new Asus A8F and got the same problem. I cannot install Gentoo until I get my network working. (Well, I can download distribution image.... but I don't want to). Here is the lspci output for the ethernet card:
Code: | Ethernet Controller : Realtek Semiconductor Co., LDT.: Unknow Device 8168 (rev01) |
or
don't help at all - I checked dmesg. I cannot touch the kernel at this point I guess or? Can't compile the r1000 driver either.
I read the thread 5 times already (
Any help will be appreciated. |
|
Back to top |
|
|
pagan1 n00b
Joined: 24 May 2004 Posts: 5 Location: Germany, Goeppingen / Baden-Baden
|
Posted: Wed May 10, 2006 6:19 pm Post subject: |
|
|
@ikostadinov:
You have a realtek 8168. This ist not the same as 8169 an does not work with the 8169 module. You need, as mentioned above by GKar, the driver from http://www.realtek.com.tw/downloads/downloads1-3.aspx?keyword=8168
Anyways, i am trying to compile the r1000 module on the 2006.0 livecd and it fails (i suppose due to read only filesystem)
Code: |
livecd r1000 # make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r1000/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/r1000/src'
make -C src/ modules
make[1]: Entering directory `/root/r1000/src'
make -C /lib/modules/2.6.15-gentoo-r5/build SUBDIRS=/root/r1000/src modules
make: *** /lib/modules/2.6.15-gentoo-r5/build: No such file or directory. Stop$
make[1]: Leaving directory `/root/r1000/src'
make: *** [modules] Error 2
|
I have no clue what to do about it. It compiles just fine on my other slackware box, but if i try to insmod the r1000.ko compiled on the slackware box on the gentoo livece box ist says "invalid module format". |
|
Back to top |
|
|
procyon112 n00b
Joined: 28 Apr 2005 Posts: 16 Location: Seattle, Washington, USA
|
Posted: Thu May 11, 2006 8:01 pm Post subject: |
|
|
pagan1 wrote: | @ikostadinov:
I have no clue what to do about it. It compiles just fine on my other slackware box, but if i try to insmod the r1000.ko compiled on the slackware box on the gentoo livece box ist says "invalid module format". :( |
Ok, I just did this on an MSI-1034 laptop and had the same issues. Here's how I got it to work:
WIth the livecd, do a completely networkless install from the CD. Burn a CD with the latest kernel.org sources AND the sources for the 8168 driver. After completing the livecd install with no network, boot into your new environment and mount the CD with the kernel. untar the sources to the usual place /usr/src/linux-blahblahblah and make a link if you like to /usr/src/linux. Go build yourself a stock kernel from the official sources and then reboot into it. Now that you are running a kernel you have sources to, you can compile the driver normally as per the README. modprobe r1000 and restart net.eth0 and you are up. Now emerge --sync, emerge gentoo-sources, do the kernel compile again, reboot, rebuild the driver and you have, finally, the driver running under a real Gentoo kernel.
PITA, but it works finally ;) |
|
Back to top |
|
|
ikostadinov n00b
Joined: 18 Jul 2005 Posts: 5
|
Posted: Tue May 16, 2006 8:34 pm Post subject: Solved |
|
|
Hey,
sorry for the late response. I got it to work the same way:
1. networkless install
2. compiling r1000
3. live happily ever after with working network )
Thanx for the responses!
I. |
|
Back to top |
|
|
StuTheBearded n00b
Joined: 26 May 2006 Posts: 12
|
Posted: Sun May 28, 2006 2:50 pm Post subject: |
|
|
Yeah the 8169 can't possibly work with the 8168 chip for the simple reason their on different buses, the 8169 is a PCI chip the 8168 is a PCI-E chip now please correct me if i'm wrong but i was aware these are very different. Shame theres no kernel module :S looks like the realtek driver it is |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Sun May 28, 2006 3:28 pm Post subject: |
|
|
ok, i think a couple more modifications will be needed. can someone please show the output of "lspci -vvv" for the card? _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
devilbush n00b
Joined: 15 Mar 2006 Posts: 13
|
Posted: Sun May 28, 2006 11:11 pm Post subject: |
|
|
dsd wrote: | ok, i think a couple more modifications will be needed. can someone please show the output of "lspci -vvv" for the card? |
Will any lspci output regarding a r8169 do? If so:
Code: |
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd. Unknown device 025c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max), Cache Line Size 10
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at 9000 [size=256]
Region 1: Memory at fdefd000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at fdd00000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
|
|
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
|
procyon112 n00b
Joined: 28 Apr 2005 Posts: 16 Location: Seattle, Washington, USA
|
Posted: Tue May 30, 2006 3:29 am Post subject: |
|
|
dsd wrote: | ok, i think a couple more modifications will be needed. can someone please show the output of "lspci -vvv" for the card? |
Code: |
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168 (rev 01)
Subsystem: Micro-Star International Co., Ltd. Unknown device 0341
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 08
Interrupt: pin A routed to IRQ 177
Region 0: I/O ports at c800 [size=256]
Region 2: Memory at ff2ff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at ff2e0000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [60] Express Endpoint IRQ 0
Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s unlimited, L1 unlimited
Device: AtnBtn+ AtnInd+ PwrInd+
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x4, ASPM L0s L1, Port 0
Link: Latency L0s unlimited, L1 unlimited
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x4
Capabilities: [84] Vendor Specific Information
Capabilities: [100] Advanced Error Reporting
Capabilities: [12c] Virtual Channel
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-9c
Capabilities: [154] Power Budgeting
|
|
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Tue May 30, 2006 3:28 pm Post subject: |
|
|
new patch: http://dev.gentoo.org/~dsd/kernel/r8168.patch
hit refresh to make sure you have the latest version
this should (fingers crossed) allow the r8168 hardware to work, swift testing reports appreciated if you want this hardware supported on gentoo's next release media _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
StuTheBearded n00b
Joined: 26 May 2006 Posts: 12
|
Posted: Tue May 30, 2006 3:38 pm Post subject: |
|
|
i'll give it a go when I get home how do I apply said patch? and for each new patch do I just add that on top the last one? |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Tue May 30, 2006 4:06 pm Post subject: |
|
|
assuming you havent applied the first one:
cd /usr/src/linux
patch -p1 -i /path/to/patch
if you have applied the first one, you can revert the old one with -R or just start with clean sources _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
|