LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2006, 12:49 AM   #1
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Rep: Reputation: 15
Unhappy Slack 11 netconfig setup doesn't detect eth0?


This is confusing. In Slack 10.2 i don't have to do anything and it automatically detects my ethernet adapter which is on eth0. After installing 11, it can't find any of my eth adapters. I can't see it when issuing ifconfig -a. What should I do?
 
Old 10-07-2006, 12:56 AM   #2
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
What kernel do you have installed ? Did you install the 'huge26.s' kernel ? If so, did you installed the suited modules for it from the /extra directory on the DVD or CD #2 (or #3 ???) ?
 
Old 10-07-2006, 12:59 AM   #3
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
I used test26.s which is 2.6.18 i think. And yes i installed the modules packages from disk 4.
 
Old 10-07-2006, 01:13 AM   #4
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
If you used test26.s you've installed the kernel-modules from the /testing directory, right ? If yes, then check the kernel config to see if there is support for your NIC's in there. Try with
Code:
cat /boot/config | grep NICmodule-name
if you know the module names... you can also check to make sure the /boot/config file is the 2.6.18 kernel config so you won't read the wrong conf file. If support for your NIC's exist in the kernel then check if they are blacklisted or something and check modprobe.conf and add a line for them in there so their modules will be loaded at boot time.
 
Old 10-07-2006, 02:26 AM   #5
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
that seems logical to me. perhaps the /boot/config doesn't point to the modules at all. unfortunately i don't know the manufacturer chipset of my eth adapter. but i'll give it a try later and let you know the result.
 
Old 10-07-2006, 04:46 AM   #6
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
I was browsing the kernel 2.6.18 folder under /usr/src/linux and to my surprise, i couldn't find a bzImage and a system map here. i was wondering how you guys resolve this problem? do i have to recompile things again by using the .config given?
 
Old 10-07-2006, 06:52 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
In /usr/src/linux you will not find anything but source code, until you compile a kernel yourself. I don't see the problem there.

Re: your network problems, did you do a full Slackware install, or did you leave things out? For instance did you install udev, devfs and hotplug, and are their rc files (/etc/rc.d/rc.udevd and /etc/rc.d/rc.hotplug) executable?
What happens when you "modprobe" the kernel module for your card yourself (assuming you know what kernel module was used for card in Slackware 10.2)?

Eric
 
Old 10-07-2006, 07:11 AM   #8
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks for that Eric. I did a full installation of 11 and I don't think I missed out on anything at all. Ok, so I tried to do the netconfig again and this came out on the network card probe:

3c59x.o

Unfortunately upon doing a modprobe on that module it says FATAL. =(

I guess I have no choice but to recompile the kernel.

Or do you have a better idea? =)

Last edited by Andriy; 10-07-2006 at 07:13 AM.
 
Old 10-07-2006, 08:30 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,057
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by Andriy
Thanks for that Eric. I did a full installation of 11 and I don't think I missed out on anything at all. Ok, so I tried to do the netconfig again and this came out on the network card probe:

3c59x.o

Unfortunately upon doing a modprobe on that module it says FATAL. =(

I guess I have no choice but to recompile the kernel.

Or do you have a better idea? =)
Hi,

That NIC is a 3com! The module is available at boot if you modify the /etc/rc.d/rc.modules file;

Code:
# This one works for all 3com 3c590/3c592/3c595/3c597 and the
# EtherLink XL 3c900 and 3c905 cards:
#/sbin/modprobe 3c59x <----- this line take out comment
Just make sure the above line is uncommented in the /etc/rc.d/rc.modules file.

You could just do a;
Code:
/sbin/modprobe 3c59x
from the console to see what happens.

If the modprobe fails;

Code:
dmesg |grep eth          #see what is recognized
lspci -vv                #get device information
lsmod                    #see what modules are loaded
ifconfig -a              #see if a network device is there
One thing, are you sure that you loaded the modules for the kernel?
 
Old 10-07-2006, 09:30 AM   #10
spidna
Member
 
Registered: Aug 2004
Location: earth
Posts: 42

Rep: Reputation: 15
How do you install the kernel-modules from the DVD, i ran into the same problem, installpkg kernel-modules does not work for me, error file name does not end in tgz. Also how can i untar a file/package that ends in tgz.tar.

thanks a millions slackers
 
Old 10-07-2006, 09:55 AM   #11
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
Quote:
Originally Posted by spidna
How do you install the kernel-modules from the DVD, i ran into the same problem, installpkg kernel-modules does not work for me, error file name does not end in tgz. Also how can i untar a file/package that ends in tgz.tar.

thanks a millions slackers
I'm sorry but this questions looks familiar... didn't you make a separate thread about it and I along others responded to your question in there. If so, please stop doing things like this because it will not help you in any way... it'll just confuse more.
 
Old 10-07-2006, 10:03 AM   #12
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
Just searched the forum and look what I've found, spidna: http://www.linuxquestions.org/questi...d.php?t=490067 ! Did you at least try the solutions you were given there ? If you didn't then why ask for help and then not consider it ? If you did, you could have been polite enough and post back the result. If neither of them works then it might be a corrupt package, maybe a bad CD/DVD burn.... when downloading ISO's from the Internet first check md5sum (using the *.md5 files that come along the ISO's) and gpg verify it (using the *.tgz.asc files that also come along with the ISO's).. try using better quality CD/DVD's , burning at lower speeds, etc. But first of all, make sure you're using the correct (full) package filename with the 'installpkg' command inside the /extra directory. For example if you wish to install the '2.6.17.13' kernel-modules that come along with Slack 11 in the /extra directory, then just 'cd /path/to/extra/directory' and type 'installpkg kernel-modules-2.6.17.13-i486-1.tgz' within that directory.
 
Old 10-08-2006, 08:59 AM   #13
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
@gwsandvik

ok, so i did what you suggested. Indeed, I found a 3c59x on /etc/rc.d/rc.modules, but, when I enable it, it doesn't seem to get my eth card detected. Although doing an lsmod shows that 3c59x is enabled. Is there anything that I missed down here?
 
Old 10-09-2006, 07:26 PM   #14
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
I still can't figure this one out. Here is what I got from doing the tests you mentioned:

dmesg |grep eth #see what is recognized

no result

lspci -vv #get device information

i got this result:

00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
Subsystem: Surecom Technology EP-320X-R
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at a800 [size=256]
Region 1: Memory at dd000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3h
ot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at a400 [size=256]
Region 1: Memory at dc800000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 30000000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3h
ot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-


lsmod #see what modules are loaded

Module Size Used by
snd_seq_dummy 2948 0
snd_seq_oss 29056 0
snd_seq_midi_event 6016 1 snd_seq_oss
snd_seq 43856 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6540 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42144 0
snd_mixer_oss 14976 1 snd_pcm_oss
snd_intel8x0 28572 2
snd_ac97_codec 86944 1 snd_intel8x0
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm 67720 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 19460 2 snd_seq,snd_pcm
snd 42724 13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd _timer
soundcore 7264 1 snd
snd_page_alloc 7816 2 snd_intel8x0,snd_pcm
ipv6 225248 12
sg 26780 0
capability 3464 0
commoncap 5504 1 capability
3c59x 38184 0
mii 4992 1 3c59x
agpgart 28208 0
lp 9928 0
parport_pc 24260 1
parport 30152 2 lp,parport_pc
pcspkr 2560 0
psmouse 35464 0


ifconfig -a #see if a network device is there

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:1168 errors:0 dropped:0 overruns:0 frame:0
TX packets:1168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101568 (99.1 KiB) TX bytes:101568 (99.1 KiB)

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-30-30-30-3A-00-00-00-00-00-00-00-00
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)


P.S.

How do I check if my udev is running correctly?
 
Old 10-10-2006, 08:18 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,057
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by Andriy
I still can't figure this one out. Here is what I got from doing the tests you mentioned:

dmesg |grep eth #see what is recognized

no result

lspci -vv #get device information

i got this result:

00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
Subsystem: Surecom Technology EP-320X-R
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at a800 [size=256]
Region 1: Memory at dd000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3h
ot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at a400 [size=256]
Region 1: Memory at dc800000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 30000000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3h
ot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-


lsmod #see what modules are loaded

Module Size Used by
snd_seq_dummy 2948 0
snd_seq_oss 29056 0
snd_seq_midi_event 6016 1 snd_seq_oss
snd_seq 43856 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6540 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42144 0
snd_mixer_oss 14976 1 snd_pcm_oss
snd_intel8x0 28572 2
snd_ac97_codec 86944 1 snd_intel8x0
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm 67720 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 19460 2 snd_seq,snd_pcm
snd 42724 13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd _timer
soundcore 7264 1 snd
snd_page_alloc 7816 2 snd_intel8x0,snd_pcm
ipv6 225248 12
sg 26780 0
capability 3464 0
commoncap 5504 1 capability
3c59x 38184 0
mii 4992 1 3c59x
agpgart 28208 0
lp 9928 0
parport_pc 24260 1
parport 30152 2 lp,parport_pc
pcspkr 2560 0
psmouse 35464 0


ifconfig -a #see if a network device is there

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:1168 errors:0 dropped:0 overruns:0 frame:0
TX packets:1168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101568 (99.1 KiB) TX bytes:101568 (99.1 KiB)

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-30-30-30-3A-00-00-00-00-00-00-00-00
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)


P.S.

How do I check if my udev is running correctly?
Hi,

You don't have a 3com NIC but a Realtek based NIC. The module should be 8139cp (note the 8139C+ in the lspci output).

You need to un-comment the line below in the /etc/rc.d/rc.modules;
Code:
# RealTek 8139C+ enhanced support:
#/sbin/modprobe 8139cp     <<----this line
Once you have the module loaded via a reboot or modprobe then you should see your module for the NIC device(s) in the lsmod output. Doing a ifconfig should now show the device. Take it from there!

edit: don't forget to comment out the 3com line in rc.modules.

Last edited by onebuck; 10-10-2006 at 08:20 AM.
 
  


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
opensuse won't detect eth0 Virp00 Suse/Novell 1 12-21-2005 01:46 PM
prblms with ADSL setup. no luck after adsl-setup and netconfig Blue_muppet Slackware 2 07-18-2004 01:20 AM
netconfig(Slack 10) with acx100; do I need it? kule Linux - Wireless Networking 0 07-16-2004 06:30 AM
netconfig not working in slack 9.1 vdogvictor Slackware 11 06-26-2004 05:42 PM
No modem in slack 8.1 after netconfig Franklin Slackware 8 04-20-2003 12:04 PM


All times are GMT -5. The time now is 06:12 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