Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem booting kernel after install.
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
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Wed Sep 17, 2003 11:00 pm    Post subject: problem booting kernel after install. Reply with quote

Using the livecd x86-1.4-20030807-cd1.iso
on a Dell Optiplex gx240 P4 1.7Ghz.
I was running rh8 and rh9 on the box previously.

Problem is that the machine reboots right after selecting the boot config in grub (and lilo). I briefly see a message that it is booting the kernel, then briefly see the screen filled with 1 ascii character, then the machine resets.

I have tried starting with stage1 and stage3.
I have tried using lilo (same result).
I used the gentoo-sources and genkernel.
Tried updating the proc with genkernel --config, but had the same result.
Currently have CHOST="i686-pc-linux-gnu" and
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"


hda1=winblows
hda2=boot ext2
hda3=swap
hda4=root reirserfs

cdimage / # cat /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz


title=linux-2.4.20-gentoo-r7
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hda4
initrd (hd0,1)/boot/initrd-2.4.20-gentoo-r7

title=windows 2000
root (hd0,0)
chainloader (hd0,0)+1


Thanks
_________________
Evil does not wear a BONNET!
Back to top
View user's profile Send private message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Wed Sep 17, 2003 11:25 pm    Post subject: Reply with quote

don't know if this is the problem, but the initrd file looks big.

du -sk /boot/kernel-2.4.20-gentoo-r7 /boot/initrd-2.4.20-gentoo-r7
1112 /boot/kernel-2.4.20-gentoo-r7
1425 /boot/initrd-2.4.20-gentoo-r7
_________________
Evil does not wear a BONNET!
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Thu Sep 18, 2003 1:12 am    Post subject: Reply with quote

dmitri wrote:
don't know if this is the problem, but the initrd file looks big.

du -sk /boot/kernel-2.4.20-gentoo-r7 /boot/initrd-2.4.20-gentoo-r7
1112 /boot/kernel-2.4.20-gentoo-r7
1425 /boot/initrd-2.4.20-gentoo-r7


yes something is indeed not right with that at least I dont remember them being that big ( havent used one in a year or so ). What are you using that requires an initrd? I dont even use them, if your not using anything that requires one just delete that line out of grub.conf and delete the file out of your boot
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Thu Sep 18, 2003 4:29 pm    Post subject: Reply with quote

removed the initrd from the grub.conf, but that did not work.
Any idea on how to debug this?
Should I try starting over with a diff cd?
Would booting manually with a grub floppy show any errors msgs?
_________________
Evil does not wear a BONNET!
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Thu Sep 18, 2003 5:14 pm    Post subject: Reply with quote

did you make sure and compile all the stuff into the kernel that you needed such as /proc /dev support mount /dev at boot reiserfs support? I have seen this happen when I miss a modules or something important like that.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Thu Sep 18, 2003 5:29 pm    Post subject: Reply with quote

I used genkernel.. which I assumed would "do the right thing"(tm) :D

I can build my own if that would be better..
_________________
Evil does not wear a BONNET!
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Thu Sep 18, 2003 6:21 pm    Post subject: Reply with quote

dmitri wrote:
I used genkernel.. which I assumed would "do the right thing"(tm) :D

I can build my own if that would be better..


hmm, maybe I am less trusting then most, but I might try doing the:

Code:

genkernel -config


NOT sure that is the syntax or not. But in there make 100% sure that rieserfs is built into the kernel not as a modules, same with devfs, , mount at boot, and proc is all in kernel and not as module. Sorry I dont know much about genkernel, but I would think that it would detect what fs root is and compile it in the kernel but not sure
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Thu Sep 18, 2003 6:23 pm    Post subject: Reply with quote

dmitri wrote:
I used genkernel.. which I assumed would "do the right thing"(tm) :D

I can build my own if that would be better..


hmm, maybe I am less trusting then most, but I might try doing the:

Code:

genkernel -config


NOT sure that is the syntax or not. But in there make 100% sure that rieserfs is built into the kernel not as a modules, same with devfs, , mount at boot, and proc is all in kernel and not as module. Sorry I dont know much about genkernel, but I would think that it would detect what fs root is and compile it in the kernel but not sure
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
dmitri
n00b
n00b


Joined: 17 Sep 2003
Posts: 20

PostPosted: Fri Sep 19, 2003 6:04 pm    Post subject: Reply with quote

still not working.
I tried again with the p4 1.4 20030911 livecd with the same results.
using
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"

So far I have tried:
1. x86 1.4 20030807 live cd
a . genkernel no configuration (boot failed)
b. genkernel --config to change cpu to p4 and verify reiserfs, /dev etc (boot failed)
c. cat /proc/config > .config. make menuconfig to verify reiserfs, /dev etc (boot failed)
d. manual kernel build of bzImage. (boot failed).

2. p4 1.4 20030911 live cd
a. genkernel no configuration (boot failed)

Failure in all cases is that grub/lilo starts the kernel decompress part and quickly resets.
Failure for 1.c just freezes at the kernel decompress part.

I have sucessfully installed gentoo on a epia box and a p3 both using just genkernel with no configuration. Don't know why this p4 box is being soooooo difficult. This same box and run rh8 and rh9 just fine.


Any help would be appreciated.
_________________
Evil does not wear a BONNET!
Back to top
View user's profile Send private message
brianbray21
n00b
n00b


Joined: 21 Sep 2003
Posts: 1

PostPosted: Sun Sep 21, 2003 1:47 am    Post subject: Same exact problem... Reply with quote

I'm having the exact same problem. I've tried all of the above on my IBM Thinkpad 570 with no help. The last thing I see before my machine resets is "initrd..." and that is that. My WinXP is looking better and better everyday I fool with Gentoo...
Back to top
View user's profile Send private message
joat
n00b
n00b


Joined: 22 Sep 2003
Posts: 1

PostPosted: Mon Sep 22, 2003 8:10 pm    Post subject: Power management Reply with quote

When you build your kernel, in the General Setup section near the bottom, disable "Power Management" and "ACPI support". I had the same problem, and removing both of these fixed it. My kernel now boots successfully.

I'm not sure which option actually causes the problem, if I get time to experiment I'll let you know.
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