Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 1997 12:41:10 +0100
From:      Bob Bishop <rb@gid.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/3581: trap 12 in lockstatus()
Message-ID:  <11992.199705121141@seagoon.gid.co.uk>
Resent-Message-ID: <199705121200.FAA15300@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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: <IBM DCAS-32160 S60B> 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:



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