Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 won't load after installing Gentoo 1.4 stage3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 6:06 pm    Post subject: eth0 won't load after installing Gentoo 1.4 stage3 Reply with quote

I am going to sum up the other post because it strayed after several suggestions.

I got Gentoo up and running and eth0 fails to load.
I have a 3com 3c905C ethernet card and it is installed into the kernel.
It wasn't installed into the kernel at first so i had to recompile.
do I need to specifically add that module to the modules.autoload file? I didn't have to modprobe it when I was using the install CD, so I figured it was automatically recognized.

could the problem be with my /etc/hostname or /etc/hosts files?

my conf.d/net file is set up like this

iface_eth0="dhcp"
dhcpcd="..."
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 14, 2002 7:10 pm    Post subject: Reply with quote

Background information can be found here.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 8:10 pm    Post subject: Re: eth0 won't load after installing Gentoo 1.4 stage3 Reply with quote

Fantik wrote:
do I need to specifically add that module to the modules.autoload file?

No, not if it's in the kernel proper.

Quote:
I didn't have to modprobe it when I was using the install CD, so I figured it was automatically recognized.

You were running off the install CD kernel then; you are running off your own custom compiled kernel now. Completely different worlds. Does
Code:
# dhcpcd -d
...give us anything to chew on?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 8:57 pm    Post subject: Reply with quote

nothing is returned to the screen when I enter that code.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 9:21 pm    Post subject: Reply with quote

Fantik wrote:
nothing is returned to the screen when I enter that code.

It should be in whereever you have configured your logger to put debug syslog messages. Somewhere in /var/log/, probably.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ViU
n00b
n00b


Joined: 14 Oct 2002
Posts: 6

PostPosted: Mon Oct 14, 2002 9:31 pm    Post subject: Reply with quote

I have same/similar problem, I cant get past "*Brining up eth0", it gets stuck there. I've recompiled the kernel many (too many) times, trying to remove/add different things, no change.

I'm using a 3c905 3com, compiling support for it into the kernel and as a module, nothing worked. Now its bedtime but hopefully u'r able to solve it till tomorrow. :-)
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 9:43 pm    Post subject: Reply with quote

when I configured the kernel before I had my 3c905C selected as "built in" somebody from irc #gentoo recommended that I have it set as a module.

now there is a 3c905c.o in my /lib/modules/"kernel version"/kernel/drivers/net

before there was just a dummy.o

I try to manually
modprobe 3c905 and I get a
Quote:
init_module: no such device
Hint: insomod errors can be caused by incorrect module parameters, including inva lid IO or IRQ parameters.
you may vind more information in syslog or the ouptut from dmesg
/lib/modules/2.4.29/kernel/drivers/net/3c509c.o: insomod /lib/modules/2.4.19/kernel/drivers/net/3c509.o failed
insomod 3c509 failed
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 9:49 pm    Post subject: Reply with quote

I was looking in my log files, in
/var/log/everything/current

there is an interesting string in this log that hints at a problem.
Quote:

[modprobe] modprobe: can't locate module
[dhcpcd] dhcpcdStart: ioctl SIOCGIFHWADDER: no such device
[rc-scripts] Failed to bring up eth0


if I'm reading this correctly.. somewhere when its loading my network card drivers it's pointing to a bogus module that isn't there.. then it all fails?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 9:57 pm    Post subject: Reply with quote

Fantik wrote:
when I configured the kernel before I had my 3c905C selected as "built in" somebody from irc #gentoo recommended that I have it set as a module.

I generally disagree, but it should work either way.

I do not mean this next part as a joke. I have been diagnosed as dyslexic before. It usually affects me more when I write than when I read, but I must confess that each time I read the rest of your post I got totally lost, so let me start from scratch.

The 3c509 driver is for an ancient ISA Etherlink III card. The 3C905C uses the Vortex driver, which is named 3c59x. You want the driver that says "3c590/3c900 series (592/595/597) "Vortex/Boomerang" support (NEW)". Is that the one you're using?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 11:26 pm    Post subject: Reply with quote

sort of funny.. you are absolutely correct.

but this is even funnier.. same problems.
I went through all these options for my 3com card and still can't get eth0 to load up.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 11:33 pm    Post subject: Reply with quote

So your /usr/src/linux/.config has the following lines in it now?
Code:
# CONFIG_EL3 is not set
CONFIG_VORTEX=y

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 11:34 pm    Post subject: Reply with quote

I managed to get the module loaded... but now I have to manually type in

Code:

dhcpcd eth0

after I login.


I'm close.. I can feel it. ;)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 11:36 pm    Post subject: Reply with quote

Make sure you have
Code:
iface_eth0="dhcp"
...in /etc/conf.d/net, and then run
Code:
# rc-update add net.eth0 default

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Mon Oct 14, 2002 11:43 pm    Post subject: Reply with quote

ok what I had to do was edit the /etc/conf.d/net file

there was a line
Code:

dhcpcd_eth0="..."


I changed it to
Code:

dhcpcd_eth0="eth0"


don't know what inspired me to try that.. but now eth0 loads..



thanks guys for all the help you have given me lately.. I'm very appreciative.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 11:47 pm    Post subject: Reply with quote

Fantik wrote:
I changed it to
Code:

dhcpcd_eth0="eth0"

Glad to hear it's working. For the record, I bet you can just comment that line out all together. dhcpcd defaults to eth0 if no interface is specified.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Fantik
n00b
n00b


Joined: 11 Oct 2002
Posts: 35

PostPosted: Tue Oct 15, 2002 3:30 am    Post subject: Reply with quote

I think it's because I uncommented the line.

it's origionally

#dhcpcd_eth0="..."

when I uncommented it.. it messed with the default value.

that's my current theory on why my machine was so wack.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum