LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-17-2004, 12:50 PM   #1
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15
Can't get NIC (Realtek 8139) to work in 2.6.5 kernel


I custom compiled a 2.6.5 kernel and everything seems to work (at last ) but my NIC a realtek 8139 doesnt want to work. At teh boot up screen it says during the initizalization thats it fails and if i do "ifup eth0" i get an error. What should i do?
 
Old 05-17-2004, 01:10 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Forgive me that stupid question, but did you configure the driver during kernel config?

eg. CONFIG_8139CP=m/y (I guess you could use 8139too, too)
 
Old 05-17-2004, 01:17 PM   #3
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
The whole section that has to do with 8139 is here:
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
CONFIG_8139_RXBUF_IDX=2
 
Old 05-17-2004, 01:28 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
It is only a guess, but in my SuSE config (2.6.4-default) the CONFIG_8139TOO_TUNE_TWISTER is not set. Right now, I cannot look in the documentation what this option does. Could you figure out which driver is acually in use (lsmod)? Maybe you could switch to the other driver (I think you can change that with yast).
 
Old 05-18-2004, 10:31 AM   #5
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
I tried using 8139cp but it didn't help. With lsmod 8139too was loaded
 
Old 05-18-2004, 11:04 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Hmmm....

Could you post more detailed error messages?

But to be honest, I have no more ideas...
 
Old 05-18-2004, 11:46 AM   #7
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
from my startup log
Setting up network interfaces:
lo done
eth0 failed

lsmod after doing modprobe 8139too

8139too 24448 0
mii 5376 1 8139too
sr_mod 16292 0
snd_pcm_oss 60836 0
snd_pcm 104868 1 snd_pcm_oss
snd_page_alloc 11780 1 snd_pcm
snd_timer 26500 1 snd_pcm
snd_mixer_oss 20608 1 snd_pcm_oss
snd 64260 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 9056 1 snd
nvidia 2073064 12
usbserial 29680 0
parport_pc 33216 1
lp 11300 0
parport 40136 2 parport_pc,lp
md5 4096 1
ipv6 234560 10
thermal 12808 0
processor 16424 1 thermal
fan 3972 0
button 6160 0
battery 9476 0
ac 4868 0
eth1394 20872 0
joydev 10304 0
evdev 9856 0
ehci_hcd 25220 0
usbcore 99292 4 usbserial,ehci_hcd
raw1394 30828 0
ohci1394 32900 0
ieee1394 315192 3 eth1394,raw1394,ohci1394
ide_scsi 16644 0
scsi_mod 117324 2 sr_mod,ide_scsi
ide_cd 39812 0
cdrom 39584 2 sr_mod,ide_cd
vfat 14848 3
fat 44992 1 vfat
8250 18912 0
serial_core 21760 1 8250
|||||||||||||||||||||||||
when trying to start the dhcp clieant ifup eth0
Starting DHCP Client Daemon on eth0... startproc: exit status of parent of /sbin/dhcpcd: 1

I did ifup eth0 after i did modprobe 8139too. Is there anything in particular that might help? The card is pci by the way.
 
Old 05-19-2004, 09:36 AM   #8
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
Please help me with this.
 
Old 05-19-2004, 01:03 PM   #9
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
Come one plz help me.
 
Old 05-19-2004, 01:24 PM   #10
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Just a few suggestions:

Did you try to configure the NIC with yast?

Did you pass hardware parameters to the driver (adress, irq)?

Maybe there is something wrong with pnp ?!
 
Old 05-19-2004, 01:26 PM   #11
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
does the card work on another machine?? does it work in M$?? could the card have died??
I have the same card in 2 machines w/o problems??
 
Old 05-19-2004, 03:01 PM   #12
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
The card works (im now using it in M$ and it works in kernel 2.4x) ill check plud and play now and ill post in a lil.
 
Old 05-19-2004, 03:20 PM   #13
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
PnP is enabled in the kernel and teh card is configured with YaST.
 
Old 05-19-2004, 07:08 PM   #14
dkroft
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
i am having a similar problem.
i am guessing it has to do with ipv6 interfering with the card?
i am behind a linksys router, 2.4 - it works. 2.6 - it don't work.
i removed the router and went straight to the modem, it works.
do the linksys routers "speak" ipv6? (or is that a very stupid question?)
i have a windows box also behind the router, but it seems to work fine.
 
Old 05-20-2004, 12:38 PM   #15
snufferz
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
Is there a way to check if my router works with ipv6?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Not able to get my Realtek 8139 to work in Debian 3.1 jhire70 Linux - Hardware 10 10-25-2005 07:42 PM
realtek 8139 NIC not connecting Sheltraw Linux - Networking 10 05-05-2004 06:04 PM
Arch Linux - Installing a Realtek 8139 NIC John5788 Linux - Newbie 3 02-10-2004 09:47 PM
Realtek 8139 ethernet and new kernel markjuggles Linux - Newbie 4 12-15-2003 10:04 AM
How to install and configure Realtek 8139 Nic card zerokool Linux - Newbie 5 08-14-2003 03:23 AM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration