Subject: kern/11321: siop appears to hang my machine
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@cjones.org>
List: netbsd-bugs
Date: 10/27/2000 08:02:13
>Number:         11321
>Category:       kern
>Synopsis:       siop appears to hang my machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 27 08:02:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Chris Jones
>Release:        1.5_ALPHA2
>Organization:
----------------------------------------------------- chris@mt.sri.com
Chris Jones                                    SRI International, Inc.
>Environment:
	
System: NetBSD merry.mt.sri.com 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (MERRY) #4: Wed Oct 25 09:26:35 MDT 2000 chris@merry.mt.sri.com:/usr/src/sys/arch/i386/compile/MERRY i386

NetBSD 1.5_ALPHA2 (MERRY) #4: Wed Oct 25 09:26:35 MDT 2000
    chris@merry.mt.sri.com:/usr/src/sys/arch/i386/compile/MERRY
cpu0: Intel Pentium (P54C) (586-class)
total memory = 127 MB
avail memory = 115 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfbca0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437FX System Controller (TSC) (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371FB IDE controller (PIIX) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: disabling primary channel (no drives)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
siop1 at pci0 dev 9 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop1: using on-board RAM
siop1: interrupting at irq 15
scsibus1 at siop1: 16 targets, 8 luns per target
vga0 at pci0 dev 10 function 0: S3 86C968-0 ("Vision968") (rev. 0x00)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
de0 at pci0 dev 11 function 0
de0: interrupting at irq 10
de0: COMPEX unknown 21040 [10Mb/s] pass 2.3
de0: address 00:80:48:e8:27:63
siop0 at pci0 dev 12 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
isa0 at pcib0
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
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1 drq2 5: dsp v4.13
audio0 at sb0: full duplex, mmap, independent
midi0 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.1
biomask eb45 netmask ef45 ttymask ffc7
scsibus1: waiting 2 seconds for devices to settle...
de0: enabling 10baseT port
st0 at scsibus1 target 5 lun 0: <HP, C1557A, U709> SCSI2 1/sequential removable
st0: siop1: target 5 now synchronous at 10.0Mhz, offset 16
density code 140, variable blocks, write-enabled
ch0 at scsibus1 target 5 lun 1: <HP, C1557A, U709> SCSI2 8/changer removable
ch0: 6 slots, 1 drive, 0 pickers, 0 portals
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST32171N, 0484> SCSI2 0/direct fixed
siop0: target 0 now synchronous at 10.0Mhz, offset 8
sd0: 2062 MB, 5172 cyl, 5 head, 163 sec, 512 bytes/sect x 4223444 sectors
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST32171N, 0484> SCSI2 0/direct fixed
siop0: target 1 now synchronous at 10.0Mhz, offset 8
sd1: 2062 MB, 5172 cyl, 5 head, 163 sec, 512 bytes/sect x 4223444 sectors
cd0 at scsibus0 target 6 lun 0: <MATSHITA, CD-ROM CR-508, XS03> SCSI2 5/cdrom removable
IPsec: Initialized Security Association Processing.
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
XFree86 aperture driver version 2.0

>Description:
Under certain circumstances, such as accessing ch0 while using X, my
machine locks up hard.  I haven't been able to get any response at all
while it's in that state.

Possibly this is some interaction between siop in
connected/disconnected mode and X masking interrupts?  Does X even
mask interrupts?

>How-To-Repeat:
On one console, do "chio move slot 0 drive 0", and then startx on
another console while the chio is running.  This seems to be the most
reliable way to reproduce it:  It appears to happen every time.

Generally, using X while accessing the changer seems to produce the
problem, though.

>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: