Re: How to force a kernel panic ?

Richard B. Johnson (root@analogic.com)
Sat, 11 Jan 1997 20:55:26 -0500 (EST)


On Sat, 11 Jan 1997, Jason Burrell wrote:

> On Sat, 11 Jan 1997, Steffan Henke wrote:
>
> >
> > Hi,
> >
> > I've just recently added the panic parameter to my lilo.conf and would
> > like to try out if it works. Unfortunately (?), I haven't had a kernel
> > panic for a while now. How can one be forced ?
> >
> > Regards,
> >
> > Steffan
>
Grin...Grin...Grin! That's easy!
At your own risk. Copy /dev/zero to the swap-file or swap partition. Then
wake up some sleeping task like telnetd by using telnet to log into your
system.

After you reboot, you will have to mkswap /dev/whatever to use the swap
device/file again.

I have no problem making my kernel panic. I use the aic7xxx SCSI driver.
I just try to use a SCSI tape-drive <death>. Maybe someone will fix this
sometime so I won't have to backup across the network to another machine
that uses the same tape drive sucessfully.

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.20 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-