Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel poanic on first boot
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
gzaector
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 132
Location: 304

PostPosted: Mon Nov 25, 2002 9:36 pm    Post subject: kernel poanic on first boot Reply with quote

ok the installation went fine, but when i tried to boot it up for the first time i get a kernel panc: attempted to kill init!

what could be wrong

here is my partition layout

/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 /usr
/dev/hda4 extended
/dev/hda5 swap
/dev/hda6 /tmp
/dev/hda7 /home
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Mon Nov 25, 2002 10:09 pm    Post subject: Re: kernel poanic on first boot Reply with quote

gzaector wrote:
ok the installation went fine, but when i tried to boot it up for the first time i get a kernel panc: attempted to kill init!

what could be wrong

here is my partition layout

/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 /usr
/dev/hda4 extended
/dev/hda5 swap
/dev/hda6 /tmp
/dev/hda7 /home

Impossible to say based on the information here.

I would need to see the contents of your grub config file. I would also like to see the actual errors from the bootlog.

Boot with the CD and mount /dev/hda2 and go to /mnt/gentoo/var/log (If you mounted /dev/hda2 on /mnt/gentoo) and find the boot log. Then look at it to see if you can find the actual error.

Another problem may be that the filesystem type is not compiled into the kernel, i.e if you use XFS or ReiserFS on the boot partition or on the / partition, and this filesystem is just compiled as a module, you may have a problem.

Erik
Back to top
View user's profile Send private message
gzaector
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 132
Location: 304

PostPosted: Mon Nov 25, 2002 10:28 pm    Post subject: Reply with quote

i couldnt find a bootlog...

all partitions are reiserfs besides /boot which is ext2, both ext and reiserfs are built into the kernel.... here is my grub.conf


default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo1.4rc1/Kernel-2.4.19
root (hd0,0)
kernel /bzimage root=/dev/hda2


i think this is the error

Unable to handle NULL pointer deferemce at virtual address 00000000
printing eip
c011ae2c

then i get the kernel panic

any suggestions?
-gza
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Nov 25, 2002 10:40 pm    Post subject: Reply with quote

gzaector wrote:
i think this is the error

Could you post the last five lines on your screen?

gzaector wrote:
Unable to handle NULL pointer deferemce at virtual address 00000000

If that's the case, it's either a bug in the kernel or a problem in the compiler. Are you using vanilla-sources?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Mon Nov 25, 2002 11:59 pm    Post subject: Reply with quote

gzaector wrote:

kernel /bzimage root=/dev/hda2

The problem is here, it should read:
kernel /boot/bzImage root=/dev/hda2

Erik
Back to top
View user's profile Send private message
gzaector
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 132
Location: 304

PostPosted: Tue Nov 26, 2002 1:28 am    Post subject: Reply with quote

ebrostig: no that is fine, i had to reformat my /boot partition from reiserfs to ext2 and in doing that i lost that directory loop, so that is fine, but thanks for the help

but anyways, yes i am using the vanilla-sources, i will have to wait till i get back to my house to get the actual error, but should i rebuild the kernel or what?

thanks for all the help


-gza
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 26, 2002 2:03 am    Post subject: Reply with quote

gzaector wrote:
kernel /bzimage root=/dev/hda2
Is bzimage a typo, or is that what you really have in the file? It should be bzImage.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
gzaector
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 132
Location: 304

PostPosted: Tue Nov 26, 2002 4:40 am    Post subject: Reply with quote

hehe, yea it was a type, in my grub.conf it is in there as bzImage

so should i rebuild the kernel? all of the stuff i wanted was built into the kernel, i didnt build any modules, i dont know if that matters or not

so any suggestions?

thansk for all the help

-gza
Back to top
View user's profile Send private message
gzaector
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 132
Location: 304

PostPosted: Tue Nov 26, 2002 6:56 pm    Post subject: Reply with quote

ok i fixed it, here is how, i rebuilt the kernel and dropped all joystick support and the gameport on my sb live, and now it boots fine, no errors at all, thanks for all the help

-gza
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