LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2004, 01:34 AM   #1
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
Gentoo & Onboard ethernet cards


I'm having problems with the following:
I have a ASUS A7N8X Deluxe mobo, it has 2 ethernet slots onboard
in windows xp i always use one of those slots to connect to the internet and that works fine. When i boot the gentoo livecd it also works,
but when im done with installing and i reboot i can only see lo
ifconfig eth0 up gives an error ( resource not available )
any ideas on this?
on livecd it find the ethernet card, when i boot linux from hd it cant find it

* Info of my mobo*
these are the two eth devices on board. loaded both modules, still no result, im getting a socioflags : resource temporarly unavailable or something :s sorry for my bad english

Onboard Nvidia LAN (needs nvidia driver 'nvnet')
Onboard 3Com LAN (uses 3c59x module)

Last edited by deedrah; 03-28-2004 at 02:51 AM.
 
Old 03-28-2004, 03:10 AM   #2
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
this is my output from the livecd where my ethernet card works!


cdimage root # lsmod
Module Size Used by Tainted: PF
nvnet 26400 0 (unused)
ohci1394 22792 0 (unused)
ieee1394 40036 0 [ohci1394]
8139too 14184 0
mii 2192 0 [8139too]
3c59x 25488 1
floppy 47004 0 (autoclean)
serial 48932 0 (autoclean)
isa-pnp 28100 0 (autoclean) [serial]
cloop 5520 1
usb-storage 59372 0 (unused)
hid 12564 0 (unused)
usb-ohci 17248 0 (unused)
ehci-hcd 14944 0 (unused)
usbcore 55712 1 [usb-storage hid usb-ohci ehci-hcd]
 
Old 03-28-2004, 05:02 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
surely you are not getting an error for BOTH interfaces? can you post a piece of dmesg before and after this error actually occurs? also i'd suggest trying the gpl'd forcedeth module over nvnet. much nicer.
 
Old 03-28-2004, 06:02 AM   #4
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
well i cant get both devices working...
im not getting any error at all!
it boots i do ifconfig i can only see lo
i type modprobe nvnet
no error
or i type modprobe 3c59x
no error
i do lsmod
bot modules loaded but not used!
how is that possible? working with dhcp here so nothing to configure! its just the eth devices wont work. when running the livecd it detects it automaticly and it uses 3c59x module. any ideas?
 
Old 03-28-2004, 10:23 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what about the dmesg output after you load each module...?

once those modules are loaded you should then be able to run /etc/init.d/net.eth0 start for the first card etc...
 
Old 03-28-2004, 10:39 AM   #6
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by acid_kewpie
well what about the dmesg output after you load each module...?
what are dmesg?
if you mean the output when i typ modprobe 3c59x
it gives nothing ...
still nothing works
 
Old 03-28-2004, 10:42 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
#dmesg -c
{.....lots of stuff.....}
# modprobe forcedeth
# dmesg
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.19.
PCI: Setting latency timer of device 0000:00:04.0 to 64
eth0: forcedeth.c: subsystem: 01462:570c bound to 0000:00:04.0
#
 
Old 03-28-2004, 10:57 AM   #8
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
gonna try that out in a sec hold on
 
Old 03-28-2004, 11:19 AM   #9
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
result >> forcedeth not found
how comes the livecd finds it and gentoo doesnt?
 
Old 03-28-2004, 03:37 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
The livecd uses the nvnet module. Just do this:

# emerge nforce-net
# modprobe nvnet
 
Old 03-29-2004, 02:37 AM   #11
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
yes i know that the livecd uses that modules. i have both module for the network cards
when i boot gentoo from the hd.
modprobe doesnt work with both modules
NO ERROR at all. i do lsmod both modules are there but they arent used
what is the problem here??? wrong kernel??
wich kernel should i compile then
 
Old 03-29-2004, 03:26 AM   #12
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
So both modules are being used but your not getting any network connectivity is that what your saying? Perhaps this is a network configuration issue?
 
Old 03-29-2004, 07:41 AM   #13
deedrah
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
yes thats what im saying. what might be configured wrong?
i really have no idea at all
 
Old 03-29-2004, 03:44 PM   #14
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Are you sure your network scripts are setup correctly? Take a look at /etc/conf.d/net. Make sure it is set up correctly. I'm using DHCP from my router so mine looks like this:

iface_eth0="dhcp"

Better yet, just post your /etc/conf.d/net file and tell us about your network setup. When you bootup does eth0 boot okay? Does it try to boot both eth0 and eth1?
 
  


Reply



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
SuSE 9.0 with two ethernet cards & connection sharing howto pilos_dimitrios Linux - Networking 4 03-25-2004 04:18 AM
onboard cards support on Redhat 9.0 vova Linux - Hardware 11 08-06-2003 01:33 PM
SiS 900 / 961 onboard ethernet & RedHat 9 polonator Linux - Hardware 1 07-22-2003 04:06 PM
How to configure onboard ethernet? Janus Linux - Networking 1 08-15-2002 06:26 PM
Ethernet Cards and Sound Cards SchizoIV Linux - Newbie 2 07-05-2002 09:10 PM

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

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