LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-29-2008, 10:42 AM   #1
heronleal
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
Realtek problem


Hello folks,

I have a motherboard D945 intel with realtek RTL8101E network shipset.

I google it for a solution about it and find these posts at vincentverhagen.nl/2007/12/03/realtek-linux-driver-automatic-compile-for-kernel/#comment-1661[/url]

But I find these errors.

Maybe someone could help??

[root@thaurix src]# chmod 755 r1000.sh
[root@thaurix src]# ls -ltr
total 24
-rw-r--r-- 1 root root 15267 Dec 3 19:26 realtek_r1000.tgz
-rwxr-xr-x 1 root root 307 Dec 3 19:27 r1000.sh
dr-xr-x--- 3 root root 4096 Jan 29 14:02 LAN

[root@thaurix src]# ./r1000.sh
Realtek r1000.ko module not found for this kernel. Creating it...
make -C src/ clean
make[1]: Entering directory `/usr/src/LAN/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/usr/src/LAN/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/LAN/src'
make -C /lib/modules/2.6.18-8.el5/build SUBDIRS=/usr/src/LAN/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-8.el5/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/LAN/src'
make: *** [modules] Error 2
make -C src/ install
make[1]: Entering directory `/usr/src/LAN/src'
install -m 644 -c r1000.ko /lib/modules/2.6.18-8.el5/kernel/drivers/net/
install: cannot stat `r1000.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/LAN/src'
make: *** [install] Error 2
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
[root@thaurix src]#uname -a
Linux thaurix.example.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux


[root@thaurix src]#lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller(rev 01)
Subsystem: Intel Corporation Unknown device d607
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at 2000 [size=256]
Memory at 30100000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at 30300000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information

02:02.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone](rev 24)
Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
Flags: bus master, medium devsel, latency 32, IRQ 169
I/O ports at 1000 [size=128]
Memory at 30000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at 30400000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
 
Old 01-29-2008, 11:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You need to install the kernel-devel rpm package(s) for your running kernel.

Also see; http://dag.wieers.com/rpm/FAQ.php#B
Then try something like: yum install dkms dkms-r1000 kernel-devel
 
Old 01-29-2008, 06:08 PM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
This ethernet controller appears to be supported in current kernels by the r8169 driver module, but you are trying to use some 3rd party source code.

Have you tried 'modprobe r8169' (as root)? Just updating to the latest kernel version for your distro might work.

Last edited by maroonbaboon; 01-29-2008 at 06:09 PM.
 
Old 01-30-2008, 09:54 AM   #4
heronleal
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I did modprobe r8169 (as root).
But what must I see after that?

May I have 1 pci network card and an onboard network controler?

As u can see, I installed a pci network card cause my onboard RTL8101E isn't working.

I do not want a 3rd party install.
 
Old 01-30-2008, 10:10 PM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Not sure what happened. I posted a reply a few hours ago and now it has disappeared. Try again...

If modprobe succeeds in loading the module there is no output message. You can check it is loaded by looking at the output of 'lsmod'. If the device is successfully configured there should also be a couple of lines at the end of the output of 'dmesg'. Here is my adapter getting set up:

Linux Tulip driver version 1.1.15 (Feb 27, 2007)
PCI: Found IRQ 11 for device 0000:01:09.0
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #2 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #3 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #4 config 1000 status 786d advertising 05e1.
eth0: ADMtek Comet rev 17 at Port 0xd800, 00:01:G8:23:92:00, IRQ 11.

There is no problem with multiple network adaptors. They should appear as eth0, eth1 etc.

Last edited by maroonbaboon; 01-30-2008 at 10:15 PM.
 
Old 01-31-2008, 06:41 AM   #6
heronleal
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by maroonbaboon View Post
Not sure what happened. I posted a reply a few hours ago and now it has disappeared. Try again...

If modprobe succeeds in loading the module there is no output message. You can check it is loaded by looking at the output of 'lsmod'. If the device is successfully configured there should also be a couple of lines at the end of the output of 'dmesg'. Here is my adapter getting set up:

Linux Tulip driver version 1.1.15 (Feb 27, 2007)
PCI: Found IRQ 11 for device 0000:01:09.0
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #2 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #3 config 1000 status 786d advertising 05e1.
tulip0: MII transceiver #4 config 1000 status 786d advertising 05e1.
eth0: ADMtek Comet rev 17 at Port 0xd800, 00:01:G8:23:92:00, IRQ 11.

There is no problem with multiple network adaptors. They should appear as eth0, eth1 etc.
nothing happens whan I do modprobe r8169.

[root@heron ~]# cat /proc/interrupts
CPU0 CPU1
0: 48064082 0 IO-APIC-edge timer
1: 855 0 IO-APIC-edge i8042
8: 3 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
12: 138 0 IO-APIC-edge i8042
14: 430807 0 IO-APIC-edge ide0
169: 9063 0 IO-APIC-level eth0
193: 0 0 IO-APIC-level uhci_hcd:usb3
201: 145025488 0 IO-APIC-level uhci_hcd:usb1, ehci_hcd:usb5
209: 68471 0 IO-APIC-level uhci_hcd:usb2, libata
217: 0 0 IO-APIC-level uhci_hcd:usb4
225: 184 0 IO-APIC-level HDA Intel
NMI: 0 0
LOC: 46617729 46617746
ERR: 0
MIS: 0
 
Old 05-13-2008, 10:39 PM   #7
nachbar
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
As this thread did not come to a resolution, I thought I would post the solution to my similar problem. I have a Compaq SR5350F with an on-board RealTek RTL8101E that would not work with Centos Linux that came with Elastix 1.0 . In addition, I needed a second ethernet port and a PCI T1 card, and did not have another PCI slot (although it looks like I could have installed another PCI Express card).

After a lot of searching, I found this site with the Linux driver for the RTL8101E card: http://driverscollection.com/?C=8. I just followed the instructions that came with the driver (you first have to extract the .tar.bz2 file with
Quote:
tar xjvf (driver name).tar.bz2
).

I would note that searching for the r1000 driver on the RealTek http://www.realtek.com.tw/ website leads one to the driver for "RTL8111B/RTL8168B/RTL8111/RTL8168/RTL8111C". I tried installing that first. It didn't work at all for my onboard RTL8101E.

Other notes: I found a posting that said that I should enable the LAN BootRom in the BIOS (I tried that, but it didn't work and was not necessary. Of course, you do have to enable the onboard ethernet in the BIOS.)

Also, if you comment out the "alias" line for eth0 in /etc/modprobe.conf (if there is one), and use a generic /etc/sysconfig/network-scripts/ifcfg-eth0 file, the driver or operating system will add the hardware address and driver name to ifcfg-eth0 and create a new alias line, which is handy if you have more than one enthernet adapter to ensure that the proper IP address gets assigned to the proper adapter.

See also this post: http://www.linuxquestions.org/questi...roblem-531962/ for related info (they refer to a perhaps newer r1000 driver that I had trouble locating) and for info on ensuring that your system has the right libraries and sources to compile the driver.

James Nachbar
http://www.plastic.org

Last edited by nachbar; 05-14-2008 at 08:06 AM. Reason: additional info about driver from RealTek website not working for my card.
 
  


Reply

Tags
realtek



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek RTL8139C Problem odin123 Slackware 26 11-16-2007 08:18 AM
Realtek 8180 problem cccp Linux - Wireless Networking 5 08-30-2005 04:05 PM
realtek 8150 problem huno Linux - Hardware 0 01-02-2005 07:52 AM
Realtek 8139 Problem w3bbuilder Linux - Networking 2 08-14-2003 05:10 AM
PCMCIA Realtek problem grayFalcon Linux - Networking 0 01-12-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration