Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 missing when booting from hd
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
Aquilus
n00b
n00b


Joined: 05 Jan 2005
Posts: 5

PostPosted: Wed Jan 05, 2005 11:19 pm    Post subject: eth0 missing when booting from hd Reply with quote

Hi - I've been trying to install Gentoo, and have been following the installation handbook instructions. It's been going ok up until the point of rebooting using the kernel I compiled.

I used 'genkernel' to generate a kernel for me, and there's two immediate problems.

First is instead of the nice light blue background the livecd gives me, I have a black and white text one which complains about 'You passed an undefined mode number' when I send it vga=0x317

Secondly, I don't have eth0 listed when I do ifconfig

How do I fix these so genkernel behaves more like the livecd kernel, as the instructions says it should, and detects my hardware properly?
Back to top
View user's profile Send private message
DarkMatter
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2004
Posts: 86
Location: Phoenix, AZ

PostPosted: Wed Jan 05, 2005 11:51 pm    Post subject: Reply with quote

The first error is probably because you don't have gensplash compiled into the kernel.

As for the second error, did you remember to add the module for your ethernet card to /etc/modules.autoload.d/kernel-<version>?
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Wed Jan 05, 2005 11:52 pm    Post subject: Reply with quote

What kind of ethernet card do you have? You probably need to add that to your /etc/modules.autoload.d/kernel-2.6 so that it loads when your system is up! If you are not sure which module to include, you can either boot your computer with the LiveCD again and do "lsmod" (without the " ") at the prompt to see which one it uses or look at the manual for your mobo and tell use what is your ethernet card.

taurus
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Wed Jan 05, 2005 11:55 pm    Post subject: Reply with quote

I'll assume 2.6 kernel or greater ;)

Okay, first problem is yor display. You have specified a vga= on your command line your display can't support.

This works for me, I had problems with ywrap due to a non-standard old asus laptop display;

video=vesafb:mtrr,800x600-32@70

You could try a different setting. The nice background is a framebuffer splash screen. Have you followed Spock's instructions on the new how to install and configure for gensplash/splashutils?

I know its not perfect, as plenty of people raise issues here and have to tweak their grub/lilo settings. You'll need to specify genkernel with splashutils. The initrd gives the initial console splash. I haven't been able to get it compiled into the kernel, (I'm sure it's possible - I just gave up)
Back to top
View user's profile Send private message
Aquilus
n00b
n00b


Joined: 05 Jan 2005
Posts: 5

PostPosted: Wed Jan 05, 2005 11:56 pm    Post subject: Reply with quote

I'm confused about this whole business with modules - modules get a one line mention in the handbook, as though it's assumed everyone installing gentoo knows what a module is, where they are, and where they go.

lspci says my network card is a:
0000:02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)

Googling that said this needs Device Drivers/Networking Support/Ethernet (10 or 100Mbit)/EtherExpressPro/100 support (eepro100, original Becker driver) in the kernel, which I've added with a little * next to. But that doesn't work.

So tell me a bit more about this module thing (where do I find the module for it and how do I add it?)
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Thu Jan 06, 2005 12:00 am    Post subject: eth0 Reply with quote

What card is eth0 exactly? The LiveCD can find it so you just need to specify it in menuconfig too, as a module or into a big fat kernel (as I do). Try dmesg after the LiveCD boots for more info on what to spec. Did it detect it right off or did you have to tweak?

If you run genkernel --menuconfig you get a list of options to choose. Press ? for info on what it is and whether you might need it. If you might need it but don't want a bloated kernel then you can specify your driver as a seperate module that can be loaded later or you can compile it into your kernel so it is always there.
Back to top
View user's profile Send private message
Aquilus
n00b
n00b


Joined: 05 Jan 2005
Posts: 5

PostPosted: Thu Jan 06, 2005 12:10 am    Post subject: Reply with quote

It found it straight away when booting from the cd.

lsmod says I've got:
yenta_socket
pcmcia_core
evdev
slamr
e100
mii
parport_pc
parport
sbp2
ohci1394
ieee1394
ohci_hcd
uhci_hcd
usb_storage
ehci_hcd
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Thu Jan 06, 2005 12:14 am    Post subject: Reply with quote

Aquilus wrote:

Googling that said this needs Device Drivers/Networking Support/Ethernet (10 or 100Mbit)/EtherExpressPro/100 support (eepro100, original Becker driver) in the kernel, which I've added with a little * next to. But that doesn't work.


Adding as a module (M) won't do either then. Try and find out what driver the LiveCD is using and install that instead.
Back to top
View user's profile Send private message
BitKeeper
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 109
Location: Cairns, Australia

PostPosted: Thu Jan 06, 2005 12:15 am    Post subject: Reply with quote

You need to load the e100 module. Ether add "e100" to the file /etc/modules.autoload.d/kernel-2.6 or as root type "modprobe e100"
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Thu Jan 06, 2005 12:18 am    Post subject: Reply with quote

Aquilus wrote:
It found it straight away when booting from the cd.

lsmod says I've got:
yenta_socket
pcmcia_core
evdev
slamr
e100
mii
parport_pc
parport
sbp2
ohci1394
ieee1394
ohci_hcd
uhci_hcd
usb_storage
ehci_hcd


Sorry - one fingered typist! I'd say its the e100. :) Your config file needs to have CONFIG_E100=y instead of # CONFIG_E100 is not set
Then run genkernel again specifying the stuff for framebuffer and vesa video. Good Luck!
Back to top
View user's profile Send private message
Aquilus
n00b
n00b


Joined: 05 Jan 2005
Posts: 5

PostPosted: Thu Jan 06, 2005 12:34 am    Post subject: Reply with quote

CONFIG_E100 = y was already in there, and no luck using it.

modprobe e100 gives 'FATAL: Module e100 not found.'

Eh.. I guess I didn't need that network adaptor anyway... :/
Back to top
View user's profile Send private message
BitKeeper
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 109
Location: Cairns, Australia

PostPosted: Thu Jan 06, 2005 12:39 am    Post subject: Reply with quote

Have you started the network service. As root type "/etc/init.d/net.eth0 start"
Back to top
View user's profile Send private message
Aquilus
n00b
n00b


Joined: 05 Jan 2005
Posts: 5

PostPosted: Thu Jan 06, 2005 12:46 am    Post subject: Reply with quote

Wow! That worked! Thanks BitKeeper.

Now - how do I get that to run automatically every time I start my machine?
Back to top
View user's profile Send private message
BitKeeper
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 109
Location: Cairns, Australia

PostPosted: Thu Jan 06, 2005 12:50 am    Post subject: Reply with quote

Ok for startes modprobe didnt work cause the driver is already compiled into the kernel and in not a module. You need to add net.eth0 to the default runlevel. This can be done as root
Code:

rc-update add net.eth0 default
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