Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 95 12:56:43 EST
From:      starner.mark@HAN.UnisysGSG.COM (Mark Starner)
To:        hackers@FreeBSD.org
Subject:   Panic help
Message-ID:  <9502171756.AA02168@hpwisf1.HAN.UnisysGSG.COM>

next in thread | raw e-mail | index | archive | help
Here is my configuration:

486DX/50
Adaptec 2740T Disk Controller
	Channel B: 5 SCSI Disks (sd0-sd4) and One NEC 3xi CDROM (cd0)
	Channel A: One Plextor 4x Internal (cd1)

Using cd0 is fine (whether it is the 3xi or the 4Plex), using cd1 as follows:

(insert FreeBSD 2.0 CD in drive)

mount -r -t cd9660 /dev/cd1a /cdrom1

cp /cdrom1/packages/netpbm.tgz ~
	might work the first time, but only about 5% of the time
	always on the second try, causes the following panic:

Fatal Trap 12: page fault while in kernel mode
Fault virtual address			= 0x22b
fault code				= supervisor read, page not present
instruction pointer			= 0x8:0xf01218c4
code segment				= base 0x0,limit 0xfffff, type 0x1b
					= DPL 0. pres 1, def32 1, gran 1
processor eflags			= interrupt enabled, resume, IOPL=0
current process				= 143 (cp)
interrupt mask				= bio
panic: page fault

Did a dump, here is a stack trace from kgdb...

Script started on Fri Feb 17 12:47:35 1995
ppp0# cd /usr/src/sys/compile/STARNER_HOME
ppp0# kgdb
(kgdb) symbol-file kernel.db
Reading symbol data from /usr/src/sys/compile/STARNER_HOME/kernel.db...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 1df000
panic: page fault
current pcb at 1d0cb8
Reading in symbols for ../../i386/i386/machdep.c...done.
(kgdb) where
#0  boot (arghowto=256) (../../i386/i386/machdep.c line 754)
#1  0xf0111583 in panic (...)
#2  0xf01935e2 in trap_fatal (frame=(struct trapframe *) 0xefbffd98) (../../i386/i386/trap.c line 566)
#3  0xf0193154 in trap_pfault (frame=(struct trapframe *) 0xefbffd98, usermode=0) (../../i386/i386/trap.c line 488)
#4  0xf0192e17 in trap (frame={tf_es = -257884144, tf_ds = 16, tf_edi = -257828224, tf_esi = 171, tf_ebp = -272630300, tf_isp = -272630336, tf_ebx = 181, tf_edx = 2147483647, tf_ecx = -2147483648, tf_eax = 511, tf_trapno = 12, tf_err = -227672064, tf_eip = -267249468, tf_cs = 8, tf_eflags = 66050, tf_esp = 171, tf_ss = -227663824}) (../../i386/i386/trap.c line 285)
#5  0xf0189201 in exception:calltrap (-257828224, 171)
#6  0xf012192d in inmem (vp=(struct vnode *) 0xf0a1da80, blkno=171) (../../kern/vfs_bio.c line 713)
#7  0xf0120c11 in breadn (vp=(struct vnode *) 0xf0a1da80, blkno=170, size=2048, rablkno=(int *) 0xefbffebc, rabsize=(int *) 0xefbffeb8, cnt=1, cred=(struct ucred *) 0xffffffff, bpp=(struct buf **) 0xefbffec0) (../../kern/vfs_bio.c line 220)
#8  0xf0103b26 in cd9660_read (ap=(struct vop_read_args *) 0xefbffef4) (../../isofs/cd9660/cd9660_vnops.c line 269)
#9  0xf012a35c in vn_read (fp=(struct file *) 0xf0a19200, uio=(struct uio *) 0xefbfff38, cred=(struct ucred *) 0xf0a1b980) (./vnode_if.h line 211)
#10 0xf011261f in sys_generic:gcc2_compiled. (...)
#11 0xf01937cb in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 4, tf_esi = 0, tf_ebp = -272639688, tf_isp = -272629788, tf_ebx = 16384, tf_edx = 86368, tf_ecx = 86368, tf_eax = 3, tf_trapno = 531, tf_err = 531, tf_eip = 47045, tf_cs = 31, tf_eflags = 531, tf_esp = -272639820, tf_ss = 39}) (../../i386/i386/trap.c line 706)
(kgdb) quit
ppp0# exit
Script done on Fri Feb 17 12:49:45 1995

I dont know this code at all, but would love to find out what is going on.

(Not that it means much, but the config works like a champ in DOS/Windows).

Any suggestions on how to narrow down the problem?

Thanks
Mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9502171756.AA02168>