Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Doesn't boot after kernel recompile
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
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 1:22 am    Post subject: Doesn't boot after kernel recompile Reply with quote

Installing Gentoo for first time (first-time working with Linux for that matter). Having a hard time getting the ethernet card working. Worked during LiveCD install but not during regular boot. Anyway, I'm trying some suggestions I found on this issue from this forum. After making the changes, I re-compiled the kernel, mounted the boot partition (mount /dev/hda2), copied it to /boot, and rebooted. Now, Lilo comes up and I select Gentoo (dual-booting with Win2k Server), I get "loading gentoo......................." and it then nothing. It just stops there and doesn't boot at all, so I'm kinda stuck at this point.

Any suggestions? I'm running the Gentoo 2004 release with the 2.6.3 kernel.

Thanks!
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 1:39 am    Post subject: Re: Doesn't boot after kernel recompile Reply with quote

phoric wrote:
Installing Gentoo for first time (first-time working with Linux for that matter). Having a hard time getting the ethernet card working. Worked during LiveCD install but not during regular boot. Anyway, I'm trying some suggestions I found on this issue from this forum. After making the changes, I re-compiled the kernel, mounted the boot partition (mount /dev/hda2), copied it to /boot, and rebooted. Now, Lilo comes up and I select Gentoo (dual-booting with Win2k Server), I get "loading gentoo......................." and it then nothing. It just stops there and doesn't boot at all, so I'm kinda stuck at this point.

Any suggestions? I'm running the Gentoo 2004 release with the 2.6.3 kernel.

Thanks!


It's just that either:
1) the bzImage was not correctly build (rare error)
2) you didn't copy the image where you should (probable)
3) you didn't update correctly your bootloader (probable)
Back to top
View user's profile Send private message
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 1:54 am    Post subject: Reply with quote

I did not re-run Lilo after recompiling. So, I tried booting from the LiveCD again so I could run Lilo, but when I try to run Lilo it gives me an error about not being able to find the lilo.conf file. Now what? :?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 1:59 am    Post subject: Reply with quote

phoric wrote:
I did not re-run Lilo after recompiling. So, I tried booting from the LiveCD again so I could run Lilo, but when I try to run Lilo it gives me an error about not being able to find the lilo.conf file. Now what? :?


Just make sure you did mount your gentoo partition after booting with the live cd and, after doing all that, you chrooted into your gentoo partition; then run /sbin/lilo
Your lilo.conf should be located in your gentoo partition in /etc/lilo.conf
Back to top
View user's profile Send private message
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 2:11 am    Post subject: Reply with quote

Ok, chroot did the job, I was able to re-run Lilo, but still no luck with the network. eth0 and eth1 still come up as failed.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 2:14 am    Post subject: Reply with quote

phoric wrote:
Ok, chroot did the job, I was able to re-run Lilo, but still no luck with the network. eth0 and eth1 still come up as failed.


Tell us about your hardware... what are the chips of your network cards?
(I'm almost sure you didn't compile built-in your network card driver or that you did compile it, but as a module, and forgot to load it)
Back to top
View user's profile Send private message
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 2:18 am    Post subject: Reply with quote

The NIC card is the Broadcom 4400, which is selected in "make menuconfig". I've tried compiling it built-in the kernel and as a module with no luck. Either way, LSMOD shows nothing. How do I load a module?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 2:20 am    Post subject: Reply with quote

phoric wrote:
The NIC card is the Broadcom 4400, which is selected in "make menuconfig". I've tried compiling it built-in the kernel and as a module with no luck. Either way, LSMOD shows nothing. How do I load a module?


modprobe <name_of_module>

(If you don't know the module's name, go back make menuconfig, and press HELP when you have the module highlighted. There it'll tell you the name of the module.)
Back to top
View user's profile Send private message
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 2:30 am    Post subject: Reply with quote

Ok, was able to load the module (B44) and ping the loopback address (127.0.0.1), but nothing else. Is there a way to load the module on startup?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 2:33 am    Post subject: Reply with quote

phoric wrote:
Ok, was able to load the module (B44) and ping the loopback address (127.0.0.1), but nothing else. Is there a way to load the module on startup?


I'd ask you to follow the installation guide... it's all there:
http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=7#doc_chap5
(It's almost at the end)

You have to edit /etc/modules.autoload, adding the modules you want to be automatically loaded during boot.
Back to top
View user's profile Send private message
phoric
n00b
n00b


Joined: 07 Mar 2004
Posts: 54
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 2:38 am    Post subject: Reply with quote

Woohoo, got it working now. Thanks for your help! I had followed the instructions, but must have missed a step or something. :D
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