*BSD News Article 45197


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!howland.reston.ans.net!agate!news.Stanford.EDU!nntp-hub2.barrnet.net!news1.digital.com!pa.dec.com!erandall
From: erandall@reo.dec.com (Ed Randall)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Kernel panic (stty) 2.0-950412SNAP
Date: 8 Jun 1995 10:26:36 GMT
Organization: Digital Equipment Corporation, Palo Alto, CA, USA
Lines: 43
Message-ID: <3r6j8s$3ne$1@usenet.pa.dec.com>
NNTP-Posting-Host: cics03.reo.dec.com
X-Newsreader: TIN [version 1.2 PL2]

I wonder if anyone's seen this :

First thing after a reboot, type :
$ stty -a -f /dev/cuaia0
(I happened to do it as "root", dunno if that makes a difference)

The result I get is :
Fatal trap 12 : page fault while in kernel mode
Fault virtual address = 0x80
Fault code = supervisor read, page not present
Instruction pointer = 0x8:0xf01a3557
Code segment = base 0x0, limit 0xfffff, type 0x1b
             = DPC 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL=0
Current process = 149 (stty)
Interrupt mask =
panic: page fault

(presumably I could've gotten this from a log somewhere and
didn't need to type it all in ...)

I encountered this whilst writing a script to dialup my internet
service provider, the first thing it tries to do is set up the
serial port.  It took quite a few reboots before I simplified it
down to that one command :-(  It will happen consistently if I follow
the above procedure, but seems NOT to happen if the system's been up
a while, and "other" things have been run first.  I'll try & track
down what those "other" things might be.

I'm running 950412-SNAP, intending on upgrading to 2.0.5-(BETA|R) soon;
Can anyone reproduce this, either on 950412-SNAP or 2.0.5-ALPHA ?
I trust THIS isn't the "null pointer trap" mentioned under the other
thread about string copies and null pointers ... I'd have expected
(and preferred ) a core dump :-)

cuaa0 is a 16550A, cuaa1 16450.

Ed

--
Ed Randall - freelance software engineer
Home : ed@orlando.demon.co.uk
Work : erandall@muffit.reo.dec.com