From nobody  Fri Oct  9 11:41:24 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id LAA23002;
          Fri, 9 Oct 1998 11:41:24 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199810091841.LAA23002@hub.freebsd.org>
Date: Fri, 9 Oct 1998 11:41:24 -0700 (PDT)
From: ben@rosengart.com
To: freebsd-gnats-submit@freebsd.org
Subject: kernel refuses to dump core
X-Send-Pr-Version: www-1.0

>Number:         8235
>Category:       kern
>Synopsis:       kernel refuses to dump core
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gibbs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  9 11:50:01 PDT 1998
>Closed-Date:    Fri Oct 9 14:43:38 PDT 1998
>Last-Modified:  Fri Oct  9 14:44:48 PDT 1998
>Originator:     Ben Rosengart
>Release:        3.0-beta
>Organization:
Icon CMT Corp.
>Environment:
FreeBSD narcissus.net 3.0-BETA FreeBSD 3.0-BETA #0: Tue Oct  6 00:07:56 EDT 1998     root@narcissus.net:/usr/src/sys/compile/DSUEVEN  i386

>Description:
At DES' suggestion, I compiled up a DDB kernel, booted the system with
it, dropped to the debugger, and called panic.  The result:

syncing disks... Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf017af00
stack pointer           = 0x10:0xf01d1cdc
frame pointer           = 0x10:0xf01d1ce0
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         = Idle
interrupt mask          = tty bio
kernel: type 12 trap, code=0
Stopped at      _Debugger+0x35: movb    $0,_in_Debugger.98

When I called panic again, the system printed a "dumping" message, but
simply hung, and eventually printed an I/O error message and offered to
reboot.

Since the output of nm /kernel | sort is about 175K, rather than spam
the list with it, I put it at http://www.interport.net/~float/nm.out.

Here is my dmesg.boot:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-BETA #0: Tue Oct  6 00:07:56 EDT 1998
    root@narcissus.net:/usr/src/sys/compile/DSUEVEN
Timecounter "i8254"  frequency 1193182 Hz  cost 3499 ns
Timecounter "TSC"  frequency 199433076 Hz  cost 252 ns
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 100663296 (98304K bytes)
avail memory = 95535104 (93296K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
vga0: <S3 ViRGE graphics accelerator> rev 0x06 int a irq 11 on pci0.11.0
bt0: <Buslogic Multimaster SCSI host adapter> rev 0x08 int a irq 9 on pci0.15.0
bt0: BT-948 FW Rev. 5.05R Ultra Narrow SCSI Host Adapter, SCSI ID 7, 192 CCBs
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 on isa
ed0: address 00:40:05:1e:df:32, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pcm0 at 0x220 irq 5 drq 1 on isa
WARNING: sb: misconfigured secondary DMA channel
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
bt: unit number (1) too high
bt1 not found
npx0 on motherboard
npx0: INT 16 interface
changing root device to da0s1a
da0 at bt0 bus 0 target 0 lun 0
da0: <CONNER CFP2107S  2.14GB 5767> Fixed Direct Access SCSI2 device 
da0: 3.300MB/s transfers, Tagged Queueing Enabled
da0: 2048MB (4194304 512 byte sectors: 255H 63S/T 261C)
da1 at bt0 bus 0 target 6 lun 0
da1: <QUANTUM FIREBALL_TM3200S 300X> Fixed Direct Access SCSI2 device 
da1: 3.300MB/s transfers, Tagged Queueing Enabled
da1: 3067MB (6281856 512 byte sectors: 255H 63S/T 391C)
WARNING: / was not properly dismounted
cd0 at bt0 bus 0 target 2 lun 0
cd0: <PLEXTOR CD-ROM PX-8XCS 1.02> Removable CD-ROM SCSI2 device 
cd0: 3.300MB/s transfers
cd0: cd present [193127 x 2048 byte records]
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated

>How-To-Repeat:
Boot with DDB, drop to debugger, call panic.  As far as I can tell, no
one else is experiencing this problem.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Fri Oct 9 14:43:38 PDT 1998 
State-Changed-Why:  
Fixed in rev 1.5 of sys/dev/buslogic/bt.c 


Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Fri Oct 9 14:43:38 PDT 1998 
Responsible-Changed-Why:  
I wrote this driver. 
>Unformatted:
