Subject: kern/10008: adw controller problems bonnie run -> crash & burn [cf. kern/9811]
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smd@ebone.net>
List: netbsd-bugs
Date: 04/29/2000 00:18:39
>Number:         10008
>Category:       kern
>Synopsis:       panic when doing bonnie on adw(4)-connected disk partition
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 28 17:19:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Sean Doran
>Release:        -current as of 25 Apr 2000 ca 20:30 UTC
>Organization:
	
>Environment:
	
System: NetBSD crasse.smd.ebone.net 1.4X NetBSD 1.4X (SCREAM) #0: Tue Apr 25 22:49:09 CEST 2000 smd@crasse.smd.ebone.net:/usr/src/sys/arch/i386/compile/SCREAM i386


>Description:
	repeatable adw(4) problem
	panic in softdep DESPITE tunefs -n disable
	traceback and interesting stuff (?) follows

Apr 28 15:21:36 crasse savecore: reboot after panic: softdep_disk_write_complete
: lock is held

#0  0xc026de40 in vga_accessops ()
#1  0xfa43000 in ?? ()
#2  0xc01f0577 in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1111
#3  0xc01552a1 in panic () at ../../../../kern/subr_prf.c:218
#4  0xc0146f86 in lockmgr (lkp=0xdc26b32c, flags=65554, interlkp=0xdc26b328)
    at ../../../../kern/kern_lock.c:508
#5  0xc0179710 in genfs_lock (v=0xdc26da60)
    at ../../../../miscfs/genfs/genfs_vnops.c:317
#6  0xc017860d in vn_lock (vp=0xdc26b28c, flags=65554)
    at ../../../../sys/vnode_if.h:755
#7  0xc0170772 in vget (vp=0xdc26b28c, flags=65554)
    at ../../../../kern/vfs_subr.c:1025
#8  0xc01d11c5 in ffs_sync (mp=0xc087c200, waitfor=2, cred=0xc07f5f80, 
    p=0xc031a440) at ../../../../ufs/ffs/ffs_vfsops.c:901
#9  0xc0176fb5 in sys_sync (p=0xc031a440, v=0x0, retval=0x0)
    at ../../../../kern/vfs_syscalls.c:571
#10 0xc01718e1 in vfs_shutdown () at ../../../../kern/vfs_subr.c:2292
#11 0xc01f054f in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1098
#12 0xc01552a1 in panic () at ../../../../kern/subr_prf.c:218
#13 0xc025062c in softdep_disk_write_complete (bp=0xc6b39b1c)
    at ../../../../../gnu/sys/ufs/ffs/ffs_softdep.c:3069
---Type <return> to continue, or q <return> to quit--- 
#14 0xc016baf7 in biodone (bp=0xc6b39b1c) at ../../../../kern/vfs_bio.c:954
#15 0xc01f9486 in scsipi_done (xs=0xc08681bc)
    at ../../../../dev/scsipi/scsipi_base.c:668
#16 0xc010ec14 in adw_isr_callback (sc=0xc081a400, scsiq=0xdc1f7218)
    at ../../../../dev/ic/adw.c:1182
#17 0xc0208c55 in AdvISR (sc=0xc081a400) at ../../../../dev/ic/adwlib.c:2289
#18 0xc010ec2d in adw_intr (arg=0xc081a400) at ../../../../dev/ic/adw.c:973
#19 0xc01016d8 in Xintr10 ()

(gdb) frame 18
#18 0xc010ec2d in adw_intr (arg=0xc081a400) at ../../../../dev/ic/adw.c:973
973             if(AdvISR(sc) != ADW_FALSE) {
(gdb) list
968     {
969             ADW_SOFTC      *sc = arg;
970             struct scsipi_xfer *xs;
971     
972     
973             if(AdvISR(sc) != ADW_FALSE) {
974                     /*
975                      * If there are queue entries in the software queue, try
 to
976                      * run the first one.  We should be more or less guarant
eed
977                      * to succeed, since we just freed a CCB.
(gdb) print *(ADW_SOFTC *)arg
$3 = {sc_dev = {dv_class = DV_DULL, dv_list = {tqe_next = 0xc0811a80, 
      tqe_prev = 0xc0811bc4}, dv_cfdata = 0xc02cff3c, dv_unit = 0, 
    dv_xname = "adw0", '\000' <repeats 11 times>, dv_parent = 0xc07f5e80, 
    dv_flags = 1}, sc_iot = 0, sc_ioh = 60416, sc_dmat = 0xc02e7440, 
  sc_dmamap_control = 0xc0811b40, sc_dmamap_carrier = 0xc0811b00, 
  sc_ih = 0xc08109a0, sc_control = 0xdc1f6000, sc_carrhash = {
    0x0 <repeats 24 times>, 0xdc2001e0, 0xdc200260, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0}, sc_ccbhash = {0x0, 0x0, 0xdc1fd59c, 0xdc1f9648, 0x0, 0x0, 0x0, 
    0xdc1fdea8, 0xdc1f6000, 0x0, 0x0, 0xdc1fe7b4, 0xdc1fa860, 0x0, 0x0, 0x0, 
    0xdc1fb16c, 0xdc1f7218, 0x0, 0x0, 0x0, 0xdc1fba78, 0x0, 0x0, 0x0, 
    0xdc1fc384, 0xdc1f8430, 0x0, 0x0, 0x0, 0xdc1fcc90, 0x0}, sc_free_ccb = {
    tqh_first = 0xdc1f8430, tqh_last = 0xdc1ff0a0}, sc_waiting_ccb = {
    tqh_first = 0x0, tqh_last = 0xc081a550}, sc_link = {type = 0 '\000', 
    openings = 4, active = 0, flags = 0, quirks = 0, device = 0xc02d1534, 
    device_softc = 0x0, adapter = 0xc081a5a4, adapter_softc = 0xc081a400, 
    _scsipi_link = {scsipi_scsi = {channel = -1, scsi_version = 0 '\000', 
        scsibus = 2 '\002', target = 0 '\000', lun = 0 '\000', 
        adapter_target = 7 '\a', max_target = 15, max_lun = 7}, 
      scsipi_atapi = {drive = 255 'ÿ', channel = 255 'ÿ', atapibus = 255 'ÿ', 
        cap = 255 'ÿ'}}, pending_xfers = {tqh_first = 0x0, tqh_last = 0x0}, 
    scsipi_cmd = 0xc01faa4c <scsi_scsipi_cmd>, 
    scsipi_interpret_sense = 0xc01f90f8 <scsipi_interpret_sense>, 
    sc_print_addr = 0xc01fac44 <scsi_print_addr>, 
---Type <return> to continue, or q <return> to quit---
    scsipi_kill_pending = 0xc01fac0c <scsi_kill_pending>}, sc_adapter = {
    scsipi_refcnt = 2, scsipi_cmd = 0xc010e398 <adw_scsi_cmd>, 
    scsipi_minphys = 0xc010eec8 <adwminphys>, scsipi_ioctl = 0, 
    scsipi_enable = 0}, sc_queue = {tqh_first = 0x0, tqh_last = 0xc081a5b8}, 
  isr_callback = 0xc010e93c <adw_isr_callback>, 
  async_callback = 0xc010eef0 <adw_async_callback>, bios_ctrl = 65509, 
  wdtr_able = 65535, sdtr_able = 65535, ultra_able = 0, sdtr_speed1 = 17476, 
  sdtr_speed2 = 17476, sdtr_speed3 = 17476, sdtr_speed4 = 17476, 
  tagqng_able = 65535, start_motor = 65535, max_dvc_qng = 63 '?', 
  scsi_reset_wait = 5 '\005', chip_no = 0 '\000', max_host_qng = 253 'ý', 
  irq_no = 0 '\000', chip_type = 2 '\002', no_scam = 0, drv_ptr = 0, 
  chip_scsi_id = 7 '\a', bist_err_code = 0 '\000', carr_pending_cnt = 4, 
  carr_freelist = 0xdc2001a0, icq_sp = 0xdc200220, irq_sp = 0xdc200240, cfg = {
    disc_enable = 65535, chip_version = 72 'H', termination = 240 'ð', 
    pci_device_id = 0, lib_version = 1282, control_flag = 1, 
    mcode_date = 4970, mcode_version = 1285, pci_slot_info = 0, serial1 = 0, 
    serial2 = 0, serial3 = 0}}

(gdb) frame
#16 0xc010ec14 in adw_isr_callback (sc=0xc081a400, scsiq=0xdc1f7218)
    at ../../../../dev/ic/adw.c:1182
1182            scsipi_done(xs);
(gdb) list
1177                    break;
1178            }
1179    
1180            adw_free_ccb(sc, ccb);
1181            xs->xs_status |= XS_STS_DONE;
1182            scsipi_done(xs);
1183    }
1184    
1185    
1186    /*
(gdb) print *xs
$7 = {adapter_q = {tqe_next = 0xdeadbeef, tqe_prev = 0xc0868128}, device_q = {
    tqe_next = 0x0, tqe_prev = 0xc0868008}, xs_callout = {c_link = {
      tqe_next = 0x0, tqe_prev = 0xc0868010}, c_time = 40283, 
    c_arg = 0xdc1f7218, c_func = 0xc010f0e4 <adw_timeout>, c_flags = 3}, 
  xs_control = 4105, xs_status = 0, sc_link = 0xc086ab00, retries = 4, 
  timeout = 60000, cmd = 0xc0868240, cmdlen = 6, data = 0xcb689000 "", 
  datalen = 32768, resid = 32768, error = 0, bp = 0xc6b798a8, sense = {
    scsi_sense = {error_code = 112 'p', segment = 0 '\000', flags = 5 '\005', 
      info = "\000\000\000", extra_len = 24 '\030', 
      cmd_spec_info = "\000\000\000", add_sense_code = 32 ' ', 
      add_sense_code_qual = 0 '\000', fru = 0 '\000', 
      sense_key_spec_1 = 0 '\000', sense_key_spec_2 = 0 '\000', 
      sense_key_spec_3 = 0 '\000', 
      extra_bytes = "\000\000\0010\000\000\000\000\000\000\000\000\000"}, 
    atapi_sense = 327792}, req_sense_length = 0, status = 0 '\000', 
  cmdstore = {opcode = 10 '\n', 
    bytes = "\bïÀ@\000\000\000\000\000\000\000\000\000\000"}}
(gdb) frame
#14 0xc016baf7 in biodone (bp=0xc6b39b1c) at ../../../../kern/vfs_bio.c:954
954                     (*bioops.io_complete)(bp);
(gdb) list
949             if (ISSET(bp->b_flags, B_DONE))
950                     panic("biodone already");
951             SET(bp->b_flags, B_DONE);               /* note that it's done *
/
952     
953             if (LIST_FIRST(&bp->b_dep) != NULL && bioops.io_complete)
954                     (*bioops.io_complete)(bp);
955     
956             if (!ISSET(bp->b_flags, B_READ))        /* wake up reader */
957                     vwakeup(bp);
958     
(gdb) print bioops
$16 = {io_start = 0xc024fc80 <softdep_disk_io_initiation>, 
  io_complete = 0xc0250610 <softdep_disk_write_complete>, 
  io_deallocate = 0xc02543cc <softdep_deallocate_dependencies>, 
  io_fsync = 0xc02519d4 <softdep_fsync>, 
  io_sync = 0xc024ae88 <softdep_process_worklist>, 
  io_movedeps = 0xc024b198 <softdep_move_dependencies>, 
  io_countdeps = 0xc0253d90 <softdep_count_dependencies>}

crasse# dmesg -N netbsd.20 -M netbsd.20.core
NetBSD 1.4X (SCREAM) #0: Tue Apr 25 22:49:09 CEST 2000
    smd@crasse.smd.ebone.net:/usr/src/sys/arch/i386/compile/SCREAM
cpu0: family 6 model 8 step 1
cpu0: Intel Pentium III (E) (686-class)
total memory = 255 MB
avail memory = 194 MB
using 9740 buffers containing 52320 KB of memory
BIOS32 rev. 0 found at 0xfb410
PCI BIOS rev. 2.1 found at 0xfb440
pcibios: config mechanism [1][x], special cycles [1][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdef0, size 144 bytes (7 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371SB PCI-to-ISA Bridge (PIIX3))
PCI Exclusive IRQs: 9 10 14 15
PIR Entry 0:
	Bus: 0  Device: 15
		INTA: link 0x60 bitmap 0xdeb8
		INTB: link 0x61 bitmap 0xdeb8
		INTC: link 0x62 bitmap 0xdeb8
		INTD: link 0x63 bitmap 0xdeb8
PIR Entry 1:
	Bus: 0  Device: 16
		INTA: link 0x61 bitmap 0xdeb8
		INTB: link 0x62 bitmap 0xdeb8
		INTC: link 0x63 bitmap 0xdeb8
		INTD: link 0x60 bitmap 0xdeb8
PIR Entry 2:
	Bus: 0  Device: 18
		INTA: link 0x62 bitmap 0xdeb8
		INTB: link 0x63 bitmap 0xdeb8
		INTC: link 0x60 bitmap 0xdeb8
		INTD: link 0x61 bitmap 0xdeb8
PIR Entry 3:
	Bus: 0  Device: 19
		INTA: link 0x63 bitmap 0xdeb8
		INTB: link 0x60 bitmap 0xdeb8
		INTC: link 0x61 bitmap 0xdeb8
		INTD: link 0x62 bitmap 0xdeb8
PIR Entry 4:
	Bus: 0  Device: 20
		INTA: link 0x63 bitmap 0xdeb8
		INTB: link 0x63 bitmap 0xdeb8
		INTC: link 0x61 bitmap 0xdeb8
		INTD: link 0x62 bitmap 0xdeb8
PIR Entry 5:
	Bus: 0  Device: 7
		INTA: link 0x60 bitmap 0xdeb8
		INTB: link 0x61 bitmap 0xdeb8
		INTC: link 0x62 bitmap 0xdeb8
		INTD: link 0x63 bitmap 0xdeb8
PIR Entry 6:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0xdeb8
		INTB: link 0x61 bitmap 0xdeb8
		INTC: link 0x62 bitmap 0xdeb8
		INTD: link 0x63 bitmap 0xdeb8
pciintr_link_fixup: PIRQ 0 already connected to IRQ 15
pciintr_link_fixup: PIRQ 1 already connected to IRQ 14
pciintr_link_fixup: PIRQ 2 already connected to IRQ 9
pciintr_link_fixup: PIRQ 3 already connected to IRQ 10
--------------------------------------------
  device vendor product pin PIRQ   IRQ stage
--------------------------------------------
000:07:2 0x8086 0x7112  D   0x03   10  0
000:18:0 0x9004 0x8178  A   0x02   09  0
000:19:0 0x10cd 0x2500  A   0x03   10  0
--------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bus #1 is the last bus
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0: PCI configuration registers:
  Common header:
    0x00: 0x71908086 0x22100006 0x06000003 0x00004000

    Vendor Name: Intel (0x8086)
    Device Name: 82443BX Host Bridge/Controller (0x7190)
    Command register: 0x0006
      I/O space accesses: off
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x2210
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: on
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: bridge (0x06)
    Subclass Name: host (0x00)
    Interface: 0x00
    Revision ID: 0x03
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0xe0000008 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
    0x30: 0x00000000 0x000000a0 0x00000000 0x00000000

    Base address register at 0x10
      type: 32-bit prefetchable memory
      base: 0xe0000000, size: 0x08000000
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xa0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00
    Capability register at 0xa0
      type: 0x02 (AGP, rev. 0.1)

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0xff00080c 0x09000000 0x11111003 0x00000000
    0x60: 0x20181008 0x20202020 0x03e82000 0x0000c000
    0x70: 0x380a1f20 0x01140055 0x3810ff07 0x00000000
    0x80: 0x00000002 0x00000000 0x00000000 0x00000000
    0x90: 0x00006698 0x00006104 0x00000500 0x00000000
    0xa0: 0x00100002 0x1f000203 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000020 0x00000000 0x00001020
    0xc0: 0x00000000 0x00000000 0xffff0c18 0x00000079
    0xd0: 0x00000000 0x00000000 0x0000000c 0x00000000
    0xe0: 0xbbffad4c 0x80003e8a 0xcff7d32c 0x00003e9d
    0xf0: 0x00000140 0x6000f800 0x00000f20 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82443BX Host Bridge/Controller (host bridge, revision 0x03) at ? dev 0 function 0 (tag 0x80000000, intrtag 0x80000000, intrswiz 0, intrpin 0, i/o off, mem on, no quirks)
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: PCI configuration registers:
  Common header:
    0x00: 0x71918086 0x02200107 0x06040003 0x00014000

    Vendor Name: Intel (0x8086)
    Device Name: 82443BX AGP Interface (0x7191)
    Command register: 0x0107
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): on
      Fast back-to-back transactions: off
    Status register: 0x0220
      Capability List support: off
      66 MHz capable: on
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: bridge (0x06)
    Subclass Name: PCI (0x04)
    Interface: 0x00
    Revision ID: 0x03
    BIST: 0x00
    Header Type: 0x01 (0x01)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 1 (PCI-PCI bridge) header:
    0x10: 0x00000000 0x00000000 0x40010100 0x22a0d0d0
    0x20: 0xebf0e800 0xedf0ec00 0x00000000 0x00000000
    0x30: 0x00000000 0x00000000 0x00000000 0x00880000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Primary bus number: 0x00
    Secondary bus number: 0x01
    Subordinate bus number: 0x01
    Secondary bus latency timer: 0x40
    Secondary status register: 0x22a0
      66 MHz capable: on
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Signaled Target Abort: off
      Received Target Abort: off
      Received Master Abort: on
      System Error: off
      Parity Error: off
    I/O region:
      base register:  0xd0
      limit register: 0xd0
      base upper 16 bits register:  0x0000
      limit upper 16 bits register: 0x0000
    Memory region:
      base register:  0xe800
      limit register: 0xebf0
    Prefetchable memory region:
      base register:  0xec00
      limit register: 0xedf0
      base upper 32 bits register:  0x00000000
      limit upper 32 bits register: 0x00000000
    Reserved @ 0x34: 0x00000000
    Expansion ROM Base Address: 0x00000000
    Interrupt line: 0x00
    Interrupt pin: 0x00 (none)
    Bridge control register: 0x0088
      Parity error response: off
      Secondary SERR forwarding: off
      ISA enable: off
      VGA enable: on
      Master abort reporting: off
      Secondary bus reset: off
      Fast back-to-back capable: on

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82443BX AGP Interface (PCI bridge, revision 0x03) at ? dev 1 function 0 (tag 0x80000800, intrtag 0x80000800, intrswiz 0, intrpin 0, i/o on, mem on, no quirks): Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: PCI configuration registers:
  Common header:
    0x00: 0x0525102b 0x02900027 0x03000004 0x00004008

    Vendor Name: Matrox (0x102b)
    Device Name: MGA G400 AGP (0x0525)
    Command register: 0x0027
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: on
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0290
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: display (0x03)
    Subclass Name: VGA (0x00)
    Interface: 0x00
    Revision ID: 0x04
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0xec000008 0xe8000000 0xe9000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x2179102b
    0x30: 0x00000000 0x000000dc 0x00000000 0x2010010f

    Base address register at 0x10
      type: 32-bit prefetchable memory
      base: 0xec000000, size: 0x02000000
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xe8000000, size: 0x00004000
    Base address register at 0x18
      type: 32-bit nonprefetchable memory
      base: 0xe9000000, size: 0x00800000
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x102b
    Subsystem ID: 0x2179
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xdc
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x20
    Minimum Grant: 0x10
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0f
    Capability register at 0xdc
      type: 0x01 (Power Management, rev. 1.0)
    Capability register at 0xf0
      type: 0x02 (AGP, rev. 0.2)

  Device-dependent header:
    0x40: 0x50044120 0x00003c08 0x00780000 0x00000000
    0x50: 0x01003000 0x0190a419 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x0022f001
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00200002 0x1f000203 0x1f000301 0x00000000

    Don't know how to pretty-print device-dependent header.

Matrox MGA G400 AGP (VGA display, revision 0x04) at ? dev 0 function 0 (tag 0x80010000, intrtag 0x80000800, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks): Matrox MGA G400 AGP (rev. 0x04)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0: PCI configuration registers:
  Common header:
    0x00: 0x71108086 0x0280000f 0x06010002 0x00800000

    Vendor Name: Intel (0x8086)
    Device Name: 82371AB PCI-to-ISA Bridge (PIIX4) (0x7110)
    Command register: 0x000f
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: on
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0280
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: bridge (0x06)
    Subclass Name: ISA (0x01)
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00+multifunction (0x80)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
    0x30: 0x00000000 0x00000000 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x0130004d
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x0a090e0f 0x00000010 0x0080f200 0x00000000
    0x70: 0x00000000 0x0c0c0000 0x00000000 0x00000000
    0x80: 0x00070000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x60004005 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x21000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000f30 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82371AB PCI-to-ISA Bridge (PIIX4) (ISA bridge, revision 0x02) at ? dev 7 function 0 (tag 0x80003800, intrtag 0x80003800, intrswiz 0, intrpin 0, i/o on, mem on, no quirks)
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1: PCI configuration registers:
  Common header:
    0x00: 0x71118086 0x02800000 0x01018001 0x00004000

    Vendor Name: Intel (0x8086)
    Device Name: 82371AB IDE controller (PIIX4) (0x7111)
    Command register: 0x0000
      I/O space accesses: off
      Memory space accesses: off
      Bus mastering: off
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0280
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: IDE (0x01)
    Interface: 0x80
    Revision ID: 0x01
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x0000f001 0x00000000 0x00000000 0x00000000
    0x30: 0x00000000 0x00000000 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      type: i/o
      base: 0x0000f000, size: 0x00000010
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000f30 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1 (tag 0x80003900, intrtag 0x80003900, intrswiz 0, intrpin 0, i/o off, mem off, no quirks) not configured
Intel 82371AB USB Host Controller (PIIX4) (USB serial bus, revision 0x01) at pci0 dev 7 function 2: PCI configuration registers:
  Common header:
    0x00: 0x71128086 0x02800005 0x0c030001 0x00004000

    Vendor Name: Intel (0x8086)
    Device Name: 82371AB USB Host Controller (PIIX4) (0x7112)
    Command register: 0x0005
      I/O space accesses: on
      Memory space accesses: off
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0280
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: serial bus (0x0c)
    Subclass Name: USB (0x03)
    Interface: 0x00
    Revision ID: 0x01
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x0000e001 0x00000000 0x00000000 0x00000000
    0x30: 0x00000000 0x00000000 0x00000000 0x0000040a

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      type: i/o
      base: 0x0000e000, size: 0x00000020
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x04 (pin D)
    Interrupt line: 0x0a

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000010 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00002000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000f30 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82371AB USB Host Controller (PIIX4) (USB serial bus, revision 0x01) at pci0 dev 7 function 2 (tag 0x80003a00, intrtag 0x80003a00, intrswiz 0, intrpin 0x4, i/o on, mem off, no quirks) not configured
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3: PCI configuration registers:
  Common header:
    0x00: 0x71138086 0x02800003 0x06800002 0x00000000

    Vendor Name: Intel (0x8086)
    Device Name: 82371AB Power Management Controller (PIIX4) (0x7113)
    Command register: 0x0003
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: off
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0280
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: bridge (0x06)
    Subclass Name: miscellaneous (0x80)
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
    0x30: 0x00000000 0x00000000 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Device-dependent header:
    0x40: 0x00004001 0x00000000 0x01000000 0x00000000
    0x50: 0x001f5800 0x000000c0 0x03040c04 0x00000000
    0x60: 0x00000000 0x10830294 0x00000000 0x00000000
    0x70: 0x00114004 0x00000000 0x00000000 0x00000000
    0x80: 0x00000001 0x00000000 0x00000000 0x00000000
    0x90: 0x00005001 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00090000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000f30 0x00000000

    Don't know how to pretty-print device-dependent header.

Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 (tag 0x80003b00, intrtag 0x80003b00, intrswiz 0, intrpin 0, i/o on, mem on, no quirks) not configured
isp0 at pci0 dev 16 function 0: PCI configuration registers:
  Common header:
    0x00: 0x10201077 0x02000007 0x01000005 0x00004008

    Vendor Name: Q Logic (0x1077)
    Device Name: ISP1020 (0x1020)
    Command register: 0x0007
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0200
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: SCSI (0x00)
    Interface: 0x00
    Revision ID: 0x05
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0x0000e401 0xf1000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00011077
    0x30: 0xee000000 0x00000000 0x00000000 0x0000010e

    Base address register at 0x10
      type: i/o
      base: 0x0000e400, size: 0x00000100
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xf1000000, size: 0x00001000
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x1077
    Subsystem ID: 0x0001
    Expansion ROM Base Address: 0xee000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0e

  Device-dependent header:
    0x40: 0x00000037 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x10201077 0x02000007 0x01000005 0x00004008
    0x90: 0x0000e401 0xf1000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00011077
    0xb0: 0xee000000 0x00000000 0x00000000 0x0000010e
    0xc0: 0x00000037 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

Q Logic ISP1020 (SCSI mass storage, revision 0x05) at ? dev 16 function 0 (tag 0x80008000, intrtag 0x80008000, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks)
isp0: interrupting at irq 14
isp0: Ultra Mode Capable
isp0: Board Revision 1040B, loaded F/W Revision 4.65.0
isp0: Last F/W revision was 4.50.0
isp0: 243 max I/O commands supported
isp0: driver initiated bus reset of bus 0
scsibus0 at isp0: 16 targets, 8 luns per target
ahc0 at pci0 dev 18 function 0: PCI configuration registers:
  Common header:
    0x00: 0x81789004 0x02900007 0x01000001 0x00004008

    Vendor Name: Adaptec (0x9004)
    Device Name: AHA-2940 Ultra (0x8178)
    Command register: 0x0007
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0290
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: SCSI (0x00)
    Interface: 0x00
    Revision ID: 0x01
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0x0000e801 0xf1002000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x78819004
    0x30: 0xef000000 0x000000dc 0x00000000 0x08080109

    Base address register at 0x10
      type: i/o
      base: 0x0000e800, size: 0x00000100
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xf1002000, size: 0x00001000
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x9004
    Subsystem ID: 0x7881
    Expansion ROM Base Address: 0xef000000
    Capability list pointer: 0xdc
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x08
    Minimum Grant: 0x08
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x09
    Capability register at 0xdc
      type: 0x01 (Power Management, rev. 1.0)

  Device-dependent header:
    0x40: 0x00001580 0x00001580 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00210001
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

Adaptec AHA-2940 Ultra (SCSI mass storage, revision 0x01) at ? dev 18 function 0 (tag 0x80009000, intrtag 0x80009000, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks)
ahc0: interrupting at irq 9
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc0 channel 0: 16 targets, 8 luns per target
adw0 at pci0 dev 19 function 0: PCI configuration registers:
  Common header:
    0x00: 0x250010cd 0x02800007 0x01000000 0x00004008

    Vendor Name: Advanced System Products (0x10cd)
    Device Name: ASB-3940U2W (0x2500)
    Command register: 0x0007
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0280
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: SCSI (0x00)
    Interface: 0x00
    Revision ID: 0x00
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0x0000ec01 0xf1001000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0xffffffff
    0x30: 0x00000000 0x00000040 0x00000000 0x0d06010a

    Base address register at 0x10
      type: i/o
      base: 0x0000ec00, size: 0x00000100
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xf1001000, size: 0x00000100
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0xffff
    Subsystem ID: 0xffff
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000040
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x0d
    Minimum Grant: 0x06
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0a

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

Advanced System Products ASB-3940U2W (SCSI mass storage) at ? dev 19 function 0 (tag 0x80009800, intrtag 0x80009800, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks): AdvanSys ASB-3940U2W SCSI adapter
adw0: interrupting at irq 10
scsibus2 at adw0: 16 targets, 8 luns per target
isa0 at pcib0
ep0 at isa0 port 0x300-0x30f irq 11: 3Com 3C509 Ethernet
ep0: address 00:20:af:4f:32:13, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10base2)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lm0 at isa0 port 0x290-0x297: LM78J
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: read port 0x203
isapnp0: No current device for tag, card 1
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative SB AWE64  PnP Audio: dsp v4.16
audio0 at sb0: full duplex, mmap, independent
mpu0 at sb0
midi1 at mpu0: SB MPU-401 MIDI UART
opl0 at sb0: model OPL3
midi2 at opl0: SB Yamaha OPL3
isapnp0: <Creative SB AWE64  PnP, CTL7002, PNPB02F, Game> port 0x200/8 not configured
isapnp0: <Creative SB AWE64  PnP, CTL0022, , WaveTable> port 0x620/4 not configured
apm0 at mainbus0: Power Management spec V1.2 (slowidle)
biomask e745 netmask ef45 ttymask ffc7
scsibus0: waiting 2 seconds for devices to settle...
isp0: Bus 0 Target 0 Async Mode
sd0 at scsibus0 target 0 lun 0: <IBM-PCCO, DDRS-39130Y   !#, S97B> SCSI2 0/direct fixed
sd0: 8678 MB, 8387 cyl, 10 head, 211 sec, 512 bytes/sect x 17774160 sectors
isp0: Bus 0 Target 1 Async Mode
sd1 at scsibus0 target 1 lun 0: <IBM, DGHS09U, 0350> SCSI3 0/direct fixed
sd1: 8748 MB, 8152 cyl, 10 head, 219 sec, 512 bytes/sect x 17916240 sectors
isp0: Bus 0 Target 2 Async Mode
sd2 at scsibus0 target 2 lun 0: <IBM-PCCO, DDRS-39130Y   !#, S97B> SCSI2 0/direct fixed
sd2: 8678 MB, 8387 cyl, 10 head, 211 sec, 512 bytes/sect x 17774160 sectors
scsibus1: waiting 2 seconds for devices to settle...
ahc0: target 3 using 8bit transfers
ahc0: target 3 synchronous at 10.0MHz, offset = 0xf
cd0 at scsibus1 target 3 lun 0: <TOSHIBA, SD-W1101 DVD-RAM, 1033> SCSI2 5/cdrom removable
ahc0: target 5 using 8bit transfers
ahc0: target 5 synchronous at 10.0MHz, offset = 0xf
cd1 at scsibus1 target 5 lun 0: <MATSHITA, PD-2 LF-D100, A113> SCSI2 5/cdrom removable
scsibus2: waiting 2 seconds for devices to settle...
sd3 at scsibus2 target 1 lun 0: <IBM, DGHS18D, 03E0> SCSI3 0/direct fixed
sd3: 17501 MB, 8154 cyl, 20 head, 219 sec, 512 bytes/sect x 35843670 sectors
sd4 at scsibus2 target 6 lun 0: <QUANTUM, QM318000TD-SW, N491> SCSI2 0/direct fixed
sd4: 17366 MB, 8057 cyl, 20 head, 220 sec, 512 bytes/sect x 35566500 sectors
IPsec: Initialized Security Association Processing.
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
boot device: sd0
root on sd0a dumps on sd0b
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 1 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 20MHz Max Offset 8, 16 bit wide, Tagged Queueing Enabled
panic: softdep_disk_write_complete: lock is held
syncing disks... panic: lockmgr: locking against myself

>How-To-Repeat:

Step 1: boot single user, mount -r critical filesystems (/ /usr /usr/pkg)
Step 2: tunefs -n disable /dev/rsd4a
Step 3: mount -o noatime /dev/sd4a /scratch6
Step 4: cd /scratch6
Step 5: /usr/pkg/bin/bonnie
works fine
Step 6: script X
Step 7: /usr/pkg/bin/bonnie -s 512

panic

NOTE STEP 2!

>Fix:
  not known
>Release-Note:
>Audit-Trail:
>Unformatted: