View previous topic :: View next topic |
Author |
Message |
gzaector Tux's lil' helper
Joined: 24 Nov 2002 Posts: 132 Location: 304
|
Posted: Mon Nov 25, 2002 9:36 pm Post subject: kernel poanic on first boot |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Mon Nov 25, 2002 10:09 pm Post subject: Re: kernel poanic on first boot |
|
|
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 |
|
|
gzaector Tux's lil' helper
Joined: 24 Nov 2002 Posts: 132 Location: 304
|
Posted: Mon Nov 25, 2002 10:28 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Nov 25, 2002 10:40 pm Post subject: |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Mon Nov 25, 2002 11:59 pm Post subject: |
|
|
gzaector wrote: |
kernel /bzimage root=/dev/hda2
|
The problem is here, it should read:
kernel /boot/bzImage root=/dev/hda2
Erik |
|
Back to top |
|
|
gzaector Tux's lil' helper
Joined: 24 Nov 2002 Posts: 132 Location: 304
|
Posted: Tue Nov 26, 2002 1:28 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Nov 26, 2002 2:03 am Post subject: |
|
|
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 |
|
|
gzaector Tux's lil' helper
Joined: 24 Nov 2002 Posts: 132 Location: 304
|
Posted: Tue Nov 26, 2002 4:40 am Post subject: |
|
|
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 |
|
|
gzaector Tux's lil' helper
Joined: 24 Nov 2002 Posts: 132 Location: 304
|
Posted: Tue Nov 26, 2002 6:56 pm Post subject: |
|
|
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 |
|
|
|