View previous topic :: View next topic |
Author |
Message |
durian Guru
Joined: 16 Jul 2003 Posts: 312 Location: Rörums Holma
|
Posted: Mon Jun 22, 2009 6:02 am Post subject: Kernel panic and screen corruption on boot [solved] |
|
|
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 |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon Jun 22, 2009 6:18 am Post subject: |
|
|
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 |
|
|
durian Guru
Joined: 16 Jul 2003 Posts: 312 Location: Rörums Holma
|
Posted: Mon Jun 22, 2009 6:44 am Post subject: |
|
|
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 |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon Jun 22, 2009 7:02 am Post subject: |
|
|
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 |
|
|
durian Guru
Joined: 16 Jul 2003 Posts: 312 Location: Rörums Holma
|
Posted: Mon Jun 22, 2009 7:38 am Post subject: |
|
|
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 |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon Jun 22, 2009 7:43 am Post subject: |
|
|
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 |
|
|
durian Guru
Joined: 16 Jul 2003 Posts: 312 Location: Rörums Holma
|
Posted: Mon Jun 22, 2009 8:13 pm Post subject: |
|
|
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 |
|
|
|