From owner-freebsd-bugs Mon May 12 05:00:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA15324 for bugs-outgoing; Mon, 12 May 1997 05:00:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA15300; Mon, 12 May 1997 05:00:02 -0700 (PDT) Resent-Date: Mon, 12 May 1997 05:00:02 -0700 (PDT) Resent-Message-Id: <199705121200.FAA15300@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, rb@gid.co.uk Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA14841 for ; Mon, 12 May 1997 04:51:50 -0700 (PDT) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id EAA05853 for ; Mon, 12 May 1997 04:51:16 -0700 (PDT) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id MAA15459 for freebsd.org!FreeBSD-gnats-submit; Mon, 12 May 1997 12:36:52 +0100 (BST) Message-Id: <11992.199705121141@seagoon.gid.co.uk> Date: Mon, 12 May 1997 12:41:10 +0100 From: Bob Bishop Reply-To: rb@gid.co.uk To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3581: trap 12 in lockstatus() Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3581 >Category: kern >Synopsis: intermittent trap 12 in lockstatus() >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 12 05:00:01 PDT 1997 >Last-Modified: >Originator: Bob Bishop >Organization: GID ltd >Release: FreeBSD 3.0-CURRENT i386 >Environment: -current from CTM src-cur.2880 Kernel is generic except for no cpu I386_CPU and built with DDB and config -g. The problem also occurs without DDB and -g. FreeBSD 3.0-CURRENT #0: Sun May 11 16:12:44 BST 1997 rb@hal:/source/cleansrc/sys/compile/HAL CPU: Cyrix 486DX2 (486-class CPU) Origin = "CyrixInstead" Device ID = 0x321b Stepping=3 Revision=2 real memory = 20971520 (20480K bytes) avail memory = 8351744 (8156K bytes) bdevsw_add_generic: adding D_DISK flag for device 7 bdevsw_add_generic: adding D_DISK flag for device 16 bdevsw_add_generic: adding D_DISK flag for device 17 Probing for devices on the ISA bus: **** "disabled", "not probed", "not found" omitted for clarity sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0: waiting for scsi devices to settle scbus0 at aha0 bus 0 sd0 at scbus0 target 3 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2063MB (4226725 512 byte sectors) 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*BNC*] address 00:a0:24:c4:f3:62 npx0 on motherboard npx0: INT 16 interface >Description: Every so often (3-4 days), apparently uncorrelated with machine activity, I get: Fatal trap 12: page fault while in kernel mode. It's always in lockstatus(), the following trace is typical: lockstatus(lkp=34) ufs_islocked(ap=f409bf54) vfs_msync(mp=f0f1aa00, flags=2) sync() vfs_update() [etc] lockstatus' argument is clearly bogus, small values like 0x34, 0x44 are typical. >How-To-Repeat: Fire up -current on this machine and wait patiently... >Fix: Dunno. Assuming it keeps on happening I can probably collect more data if anyone has any ideas. However, I can't get a crash dump out of this machine at present, it wedges just after starting to dump. >Audit-Trail: >Unformatted: