[olug] kernel panics

Vincent vincentr at cox.net
Tue Jun 3 14:50:12 UTC 2003


That isn't much info to go on, but here are a couple standard things to try if you still have trouble after replacing the disk:

First, make sure it reboots after a panic.  Add this to /etc/sysctl.conf:
kernel.panic = 3    # System will reboot 3 seconds after a kernel panic
To enable this now:
echo "3" > /proc/sys/kernel/panic

Next, try booting with each of these lilo (or grub) boot options and see if either helps:

Disable machine checking.  This tells the kernel not to check the cpu's data structures.  The BIOS is probably already doing this
anyway and two simultaneous checks can cause problems.
append="root=LABEL=/ nomce"

Disable apic.  This disables the use of IRQs above 15 (SMP or not).  Some hardware has trouble with APIC (Advanced Programmable
Interrupt Control/ler)
append="root=LABEL=/ noapic"

Run a memory tester:  http://www.memtest86.com/

----- Original Message ----- 

From: "Ryan O'Rourke" <ryano at ch-gifts.com>
To: "Omaha Linux User Group" <olug at olug.org>
Sent: Tuesday, June 03, 2003 9:08 AM
Subject: RE: [olug] kernel panics


> On Tue, 2003-06-03 at 08:57, Mike Peterson CoxMail wrote:
> > Does it fail on boot or after running for some length of time?
>
> Last night it failed after being up and running for several weeks. A
> hard boot brought it back up for a few minutes and then it failed again.
> Another hard boot and it failed during fsck.
> I powered it down for several minutes and rebooted and ran fsck.ext2 on
> /dev/hda2
> It fixed a bunch of errors and rebooted and has been up for 10 minutes
> now.
>
> Now I get:
> fatal error: locate: decode_db: 'pathlen == -11'! Corrupt Database!
> whenever I try to run 'locate'
>
> > The swap and root are on different devices correct?
> > That was just a typo on /dev/hda2 for both I would hope.
> > The installer should not allow it.
>
> woops :-) that is a typo.
> The swap partition is /dev/hda3
>
> -- Ryan
>
>
> > -----Original Message-----
> > From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf Of Ryan
> > O'Rourke
> > Sent: Tuesday, June 03, 2003 8:50 AM
> > To: Omaha Linux User Group
> > Subject: RE: [olug] kernel panics
> >
>
> >
> > On Tue, 2003-06-03 at 08:36, Mike Peterson CoxMail wrote:
> > > Can you provide some info about your setup?
> > > SCSI or IDE
> > > What processor
> > > What services does it provide
> >
> > IDE - one 100gb drive   /dev/hda1 /boot 100mb
> > /dev/hda2 / ~99gb (I know, I know...)
> > /dev/hda2 swap 512mb
> >
> > Processor - AMD Athlon Thunderbird 1.1ghz
> >
> > Services - http, smb, nfs, ftp, sshd
> >
> > Memory - 256mb generic PC133
> >
> > I haven't written down any of the error code from the panics yet but at the
> > tail end of it where it says:
> >
> > Code: blah, blah, blah
> > Kernel Panic: Aiee! killing interrupt handler...
> >
> > The "Code:" section of it looks like a MAC address format.. kind of like "b3
> > cf 45 d2 93 etc, etc"
> >
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list