Kernel Panic Experience and Question
I recently experienced my first Kernel Panic. For some reason the computer tried to reboot. I was not present at the time so I do not know why. When I saw the screen there was a message as to the effect of a kernel panic. I hit the reset switch to start a fresh reboot and of course fsck had to be run on the / file system (/dev/hda5). About 50% through there was a kernel panic. Tried 2 more times with the same effect. I even tried using "failsafe" and experienced the same kernel panic. Next I booted the rescue system from the CDROM. Ran /sbin/fsck.ext2 on /dev/hda5 and saw quite a few request to fix nodes or something. There was a line request ending with ...<y>?. I just keep hitting "ENTER" until it finished. Next I mounted /dev/hda5 to have a look at some of the files under /var/log but noting looked out of order (at least to me). I next did a normal reboot and the system proceeded to fix the other partitions. The remainder of the reboot went normal. The kernel panic listed quite a bit of system code but it also included a statement about the Interrupt Handler. Now the questions: Is it possible I'm having possible trouble with my hard drive? Could this be the reason for the kernel panic during fsck? If the kernel panic happens again what should I make note of in order to help determine the cause of the panic? I've been up for about 5 hours and keeping my fingers crossed. Terry -- SuSE Linux 8.2 (i586) ---- 2.4.20-4GB-athlon --- Sat 01/17/04 13:40 1:40pm up 4:40, 3 users, load average: 0.15, 0.12, 0.09
On Sat, 17 Jan 2004 15:33:50 -0600
Terry Eck
Is it possible I'm having possible trouble with my hard drive? Could this be the reason for the kernel panic during fsck?
Yes, it could be bad blocks. You should boot from the SuSE rescue system again and run: e2fsck -f -c <device> on all your partitions excluding swap. If you are using a kernel that support ext3, I would also suggest converting all your ext2 partitions to ext3.
If the kernel panic happens again what should I make note of in order to help determine the cause of the panic?
Mount the partiton that /var is on and look at /var/log/boot.msg and /var/log/messages. Hopefully they will give you some clue. Charles -- "The move was on to 'Free the Lizard'" -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)
participants (2)
-
Charles Philip Chan
-
Terry Eck