Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic and screen corruption on boot [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
durian
Guru
Guru


Joined: 16 Jul 2003
Posts: 312
Location: Rörums Holma

PostPosted: Mon Jun 22, 2009 6:02 am    Post subject: Kernel panic and screen corruption on boot [solved] Reply with quote

I have a little server when I rebooted yesterday, but something went terribly wrong.

The boot process goes allright, GRUB starts, and immediately after, the screen garbles (see: http://durian.se/DSC_2343a.jpg). I think the last lines read "kernel panic".

Anyway, I booted with a SystemRescue disk, and that works fine. I did fsck on all the disks after booting with that, and that gives me no errors.

What can have happened? The machine had not been rebooted for about four months, but had received (some) updates.

-peter


Last edited by durian on Mon Jun 22, 2009 8:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Jun 22, 2009 6:18 am    Post subject: Reply with quote

I think the error message is "Kernel panic, not syncing VFS, unable to mount root fs on unknown-block(1,0)"
Can you try to make out the line above? I looks like something about having tried to mount root?

Have you done the usual checks? Filesystem and chipset drivers are IN the kernel, and not modules. Do you have a correct root= in grub?

Is this your config, or genkernel?

I have had similar problems with the screen output, they have worked themselves out during the init-stage. That makes me guess that the problem is related to what graphics drivers are included in the kernel. Just a guess though.
Back to top
View user's profile Send private message
durian
Guru
Guru


Joined: 16 Jul 2003
Posts: 312
Location: Rörums Holma

PostPosted: Mon Jun 22, 2009 6:44 am    Post subject: Reply with quote

By the way, I just noticed that I don't even get the grub menu which shows the kernels installed, and gives a five or ten seconds pause before it continues. The screen goes wrong directly. Maybe I should chroot the old root partition and reinstall grub?

I checked the filesystems after I booted with SystemRescue, they seemed to be ok.

The config is genkernel. Could be some driver/module problem, or the initrd image (?).

How to fix it is the big question :-)

-peter
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Jun 22, 2009 7:02 am    Post subject: Reply with quote

durian wrote:
By the way, I just noticed that I don't even get the grub menu which shows the kernels installed, and gives a five or ten seconds pause before it continues. The screen goes wrong directly. Maybe I should chroot the old root partition and reinstall grub?

I checked the filesystems after I booted with SystemRescue, they seemed to be ok.

The config is genkernel. Could be some driver/module problem, or the initrd image (?).

How to fix it is the big question :-)

-peter


Try rebuilding with genkernel. :)
If the kernel starts booting, I don't think grub is the problem, but I guess it wouldn't hurt you to try re-installing it.
Back to top
View user's profile Send private message
durian
Guru
Guru


Joined: 16 Jul 2003
Posts: 312
Location: Rörums Holma

PostPosted: Mon Jun 22, 2009 7:38 am    Post subject: Reply with quote

Letharion wrote:
Try rebuilding with genkernel. :)
If the kernel starts booting, I don't think grub is the problem, but I guess it wouldn't hurt you to try re-installing it.
So how to do that?

Boot with SystemRescue, chroot into my old / partition, create a new kernel, and grub-install it again?

-peter
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Jun 22, 2009 7:43 am    Post subject: Reply with quote

durian wrote:
Letharion wrote:
Try rebuilding with genkernel. :)
If the kernel starts booting, I don't think grub is the problem, but I guess it wouldn't hurt you to try re-installing it.
So how to do that?

Boot with SystemRescue, chroot into my old / partition, create a new kernel, and grub-install it again?

-peter


Up to "grub-install", yes. grub-install doesn't have anything to do with the kernel. The installation docs on genkernel should be helpful.
Back to top
View user's profile Send private message
durian
Guru
Guru


Joined: 16 Jul 2003
Posts: 312
Location: Rörums Holma

PostPosted: Mon Jun 22, 2009 8:13 pm    Post subject: Reply with quote

Letharion wrote:
Up to "grub-install", yes. grub-install doesn't have anything to do with the kernel. The installation docs on genkernel should be helpful.

Yep, that worked (after I ripped an old network card from another computer to get network access)!

-peter
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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