% cat /kern/version
NetBSD 1.5Q (LYRA) #0: Sun Dec 31 22:52:32 CST 2000
root@solstice:/stuff/NetBSD/src/sys/arch/i386/compile/LYRA
siop0 at pci0 dev 11 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at irq 10
scsibus1 at siop0: 8 targets, 8 luns per target
scsibus1: waiting 2 seconds for devices to settle...
st0 at scsibus1 target 6 lun 0: <SEAGATE, DAT 02779-XXX, 6280> SCSI2 1/sequential removable
st0: siop0: target 6 asynchronous
drive empty
The only reason for this scsi controller to exist on the machine it's on
is to do backups, so this is problematic. It's an add on card specifically
for this motherboard (an ASUS P55T2P4 with the scsi bios built in), the
card is the SC200. It's the only motherboard we have this can go on, so
we'd like to be able to use it, but if we can't make the pauses go away
we'll replace it with an adaptec 1542 or some other spare adapter. The
machine is mostly doing nfs serving to NetBSD & Linux machines.
Complete dmesg:
NetBSD 1.5Q (LYRA) #0: Sun Dec 31 22:52:32 CST 2000
root@solstice:/stuff/NetBSD/src/sys/arch/i386/compile/LYRA
cpu0: AMD K6-2+/III+ (586-class), 451.03 MHz
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
total memory = 65152 KB
avail memory = 57736 KB
using 840 buffers containing 3360 KB of memory
BIOS32 rev. 0 found at 0xf0400
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: vendor 0x8086 product 0x1250 (rev. 0x03)
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7000 (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 90845D4>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 8063 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
vga1 at pci0 dev 9 function 0: vendor 0x1023 product 0x9660 (rev. 0xd3)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
tlp0 at pci0 dev 10 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at irq 12
tlp0: Ethernet address 00:40:05:a3:a1:43
lxtphy0 at tlp0 phy 0: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
siop0 at pci0 dev 11 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at irq 10
scsibus1 at siop0: 8 targets, 8 luns per target
bha0 at pci0 dev 12 function 0: BusLogic 9xxC SCSI
bha0: interrupting at irq 11
bha0: model BT-948, firmware 5.06J
bha0: sync, parity
bha0 targ 1: sync, offset 15, period 50nsec
bha0 targ 2: sync, offset 15, period 50nsec
bha0 targ 3: sync, offset 15, period 50nsec
bha0 targ 4: sync, offset 15, period 50nsec
bha0 targ 5: sync, offset 15, period 50nsec
bha0 targ 6: sync, offset 15, period 50nsec
scsibus0 at bha0: 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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
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
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask ef65 netmask ff65 ttymask ffe7
scsibus1: waiting 2 seconds for devices to settle...
st0 at scsibus1 target 6 lun 0: <SEAGATE, DAT 02779-XXX, 6280> SCSI2 1/sequential removable
st0: siop0: target 6 asynchronous
drive empty
scsibus0: waiting 2 seconds for devices to settle...
sd1 at scsibus0 target 1 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd1: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd2 at scsibus0 target 2 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd2: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd3 at scsibus0 target 3 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd3: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd4 at scsibus0 target 4 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd4: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd5 at scsibus0 target 5 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd5: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd6 at scsibus0 target 6 lun 0: <IBM, DNES-318350, SA30> SCSI3 0/direct fixed
sd6: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
Kernelized RAIDframe activated
RAID autoconfigure
Configuring raid0:
RAIDFRAME: protectedSectors is 64
RAIDFRAME: Configure (RAID Level 5): total number of sectors is 179217920 (87508 MB)
RAIDFRAME(RAID Level 5): Using 20 floating recon bufs with head sep limit 10
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
raid0: Device already configured!
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)
wsmux1: connecting to wsdisplay0
Tracy J. Di Marco White
Project Vincent Systems Manager
gend...@iastate.edu
# Date: Sun, 07 Jan 2001 14:19:09 CST
# From: Tracy Di Marco White <gend...@iastate.edu>
# To: curren...@netbsd.org
# Subject: tape drive on siop causes pauses
#
#
# We've put two different tape drives on our 53c810, a DLT drive and a
# DAT drive. Both of them cause the system to pause for seconds to minutes
# at a time when we're trying to do backups (using tar). I assume this
# isn't normal, but I don't know if it's a driver problem or something
# else.
#
# % cat /kern/version
# NetBSD 1.5Q (LYRA) #0: Sun Dec 31 22:52:32 CST 2000
# root@solstice:/stuff/NetBSD/src/sys/arch/i386/compile/LYRA
#
# siop0 at pci0 dev 11 function 0: Symbios Logic 53c810 (fast scsi)
# siop0: interrupting at irq 10
# scsibus1 at siop0: 8 targets, 8 luns per target
# scsibus1: waiting 2 seconds for devices to settle...
# st0 at scsibus1 target 6 lun 0: <SEAGATE, DAT 02779-XXX, 6280> SCSI2 1/sequential removable
# st0: siop0: target 6 asynchronous
# drive empty
#
# The only reason for this scsi controller to exist on the machine it's on
# is to do backups, so this is problematic. It's an add on card specifically
# for this motherboard (an ASUS P55T2P4 with the scsi bios built in), the
# card is the SC200. It's the only motherboard we have this can go on, so
# we'd like to be able to use it, but if we can't make the pauses go away
# we'll replace it with an adaptec 1542 or some other spare adapter. The
# machine is mostly doing nfs serving to NetBSD & Linux machines.
#
# Complete dmesg:
# NetBSD 1.5Q (LYRA) #0: Sun Dec 31 22:52:32 CST 2000
# root@solstice:/stuff/NetBSD/src/sys/arch/i386/compile/LYRA
# cpu0: AMD K6-2+/III+ (586-class), 451.03 MHz
# cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
# cpu0: features 8021bf<PGE,MMX>
# total memory = 65152 KB
# avail memory = 57736 KB
# using 840 buffers containing 3360 KB of memory
# BIOS32 rev. 0 found at 0xf0400
# 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: vendor 0x8086 product 0x1250 (rev. 0x03)
# pcib0 at pci0 dev 7 function 0
# pcib0: vendor 0x8086 product 0x7000 (rev. 0x01)
# pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
# pciide0: bus-master DMA support present
# pciide0: primary channel wired to compatibility mode
# wd0 at pciide0 channel 0 drive 0: <Maxtor 90845D4>
# wd0: drive supports 16-sector PIO transfers, LBA addressing
# wd0: 8063 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
# wd0: 32-bit data port
# wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
# pciide0: primary channel interrupting at irq 14
# wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
# pciide0: secondary channel wired to compatibility mode
# pciide0: disabling secondary channel (no drives)
# vga1 at pci0 dev 9 function 0: vendor 0x1023 product 0x9660 (rev. 0xd3)
# wsdisplay0 at vga1: console (80x25, vt100 emulation)
# tlp0 at pci0 dev 10 function 0: DECchip 21140A Ethernet, pass 2.2
# tlp0: interrupting at irq 12
# tlp0: Ethernet address 00:40:05:a3:a1:43
# lxtphy0 at tlp0 phy 0: LXT970 10/100 media interface, rev. 0
# lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
# siop0 at pci0 dev 11 function 0: Symbios Logic 53c810 (fast scsi)
# siop0: interrupting at irq 10
# scsibus1 at siop0: 8 targets, 8 luns per target
# bha0 at pci0 dev 12 function 0: BusLogic 9xxC SCSI
# bha0: interrupting at irq 11
# bha0: model BT-948, firmware 5.06J
# bha0: sync, parity
# bha0 targ 1: sync, offset 15, period 50nsec
# bha0 targ 2: sync, offset 15, period 50nsec
# bha0 targ 3: sync, offset 15, period 50nsec
# bha0 targ 4: sync, offset 15, period 50nsec
# bha0 targ 5: sync, offset 15, period 50nsec
# bha0 targ 6: sync, offset 15, period 50nsec
# scsibus0 at bha0: 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
# lpt0 at isa0 port 0x378-0x37b irq 7
# pcppi0 at isa0 port 0x61
# 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
# fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
# fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
# isapnp0: no ISA Plug 'n Play devices found
# biomask ef65 netmask ff65 ttymask ffe7
# scsibus1: waiting 2 seconds for devices to settle...
# st0 at scsibus1 target 6 lun 0: <SEAGATE, DAT 02779-XXX, 6280> SCSI2 1/sequential removable
# st0: siop0: target 6 asynchronous
# drive empty
...I was going to comment about the bha0: targets 1-6 looking suspiciously
similar, but that's entirely possible given that you're running RAID :-).
Now, you said you had two tape drives? Do you mean at the same time, or
do you swap between them?
If the former, I notice that st1 is conspicuously absent.
Do you have all your jumpers/switches on the tape drives set correctly?
Do you have tagged queueing/disconnect/reselect appropriately
{dis,en}abled in the flags on scsibus1?
# Tracy J. Di Marco White
# Project Vincent Systems Manager
# gend...@iastate.edu
--*greywolf;
--
*BSD: Where would you have rather been today, tomorrow?
Yes, that's my RAID. :)
}Now, you said you had two tape drives? Do you mean at the same time, or
}do you swap between them?
I borrowed a DLT from work to back up the RAID and recreate it. Now
we're just trying to do our normal backups. We couldn't use the DLT, it
would lock the machine after the tar had been running a while, although
^C would eventually return it. My assumption had been the DLT drive
was bad, it's normally on an NT box that isn't in current production.
We managed to scrounge together enough extra disk space to back up the
RAID to spinning disk. Having our working DAT drive cause the same
problems leads me to believe it wasn't the DLT drive having the problem.
}If the former, I notice that st1 is conspicuously absent.
We had to give the DLT back.
}Do you have all your jumpers/switches on the tape drives set correctly?
Should be, worked fine (under linux on another box) on the buslogic the
RAID is on in this one.
}Do you have tagged queueing/disconnect/reselect appropriately
}{dis,en}abled in the flags on scsibus1?
Um. No idea what appropriate is. Haven't touched those.
Tracy J. Di Marco White
Do you get messages from the kernel ?
When the machine is hung, can you still ping it ?
Can you run 'systat vm' and see if it keeps updating while the machine is
hung. Especially watch the number of interrupts.
Anyone else using siop with tape drives ? If so, with which kernel version ?
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel...@lip6.fr
--
Yes, I'm using siop on 1.5 with three Exabyte EXB8505
and one Archive Python drives (and changers) on a DEC AlphaPC64.
Attached is the dmesg output follows:
[ preserving 299784 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.5 (SLURPEE) #3: Sat Jan 6 18:07:58 CST 2001
eric@slurpee:/home/slurpee/eric/work/usr/src/sys/arch/alpha/compile/SLURPEE
Digital AlphaPC 64 274 MHz
8192 byte page size, 1 processor.
total memory = 65536 KB
(2048 KB reserved for PROM, 63488 KB used by NetBSD)
avail memory = 54912 KB
using 409 buffers containing 3272 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064A-2 (pass 1.1)
apecs0 at mainbus0: DECchip 21072 Core Logic chipset
apecs0: DC21071-CA pass 2, 128-bit memory bus
apecs0: DC21071-DA pass 2
pci0 at apecs0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 5 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at eb64+ irq 2
scsibus0 at siop0: 8 targets, 8 luns per target
siop1 at pci0 dev 6 function 0: Symbios Logic 53c825 (fast wide scsi)
siop1: interrupting at eb64+ irq 0
scsibus1 at siop1: 16 targets, 8 luns per target
siop2 at pci0 dev 7 function 0: Symbios Logic 53c810a (fast scsi)
siop2: interrupting at eb64+ irq 1
scsibus2 at siop2: 8 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x84)
tlp0 at pci0 dev 9 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at eb64+ irq 3
tlp0: Ethernet address 00:40:f6:f4:62:83
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DJNA-351520>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 14664 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 30033360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
siop0: target 0 now synchronous at 10.0Mhz, offset 8
sd0 at scsibus0 target 0 lun 0: <COMPAQPC, DPES-31080, S31K> SCSI2 0/direct fixed
siop0: target 0 now synchronous at 10.0Mhz, offset 8
sd0: 1001 MB, 4903 cyl, 4 head, 104 sec, 512 bytes/sect x 2051000 sectors
scsibus1: waiting 2 seconds for devices to settle...
ch0 at scsibus1 target 0 lun 0: <EXABYTE, EXB-480, 3.01> SCSI2 8/changer removable
ch0: 81 slots, 3 drives, 1 picker, 1 portal
st0 at scsibus1 target 1 lun 0: <EXABYTE, EXB-85058SQANXR1, 07R0> SCSI2 1/sequential removable
st0: drive empty
siop1: target 1 using 8bit transfers
siop1: target 1 now synchronous at 5.0Mhz, offset 8
st1 at scsibus1 target 2 lun 0: <EXABYTE, EXB-85058SQANXR1, 0781> SCSI2 1/sequential removable
st1: drive empty
siop1: target 2 using 8bit transfers
siop1: target 2 now synchronous at 5.0Mhz, offset 8
st2 at scsibus1 target 3 lun 0: <EXABYTE, EXB-85058SQANXR1, 0781> SCSI2 1/sequential removable
st2: drive empty
siop1: target 3 using 8bit transfers
siop1: target 3 now synchronous at 5.0Mhz, offset 8
scsibus2: waiting 2 seconds for devices to settle...
st3 at scsibus2 target 2 lun 0: <ARCHIVE, 4586XX 28887-XXX, 0420> SCSI2 1/sequential removable
st3: drive empty
siop2: target 2 now synchronous at 5.0Mhz, offset 8
ch1 at scsibus2 target 2 lun 1: <ARCHIVE, 4586XX 28887-XXX, 0420> SCSI2 8/changer removable
ch1: 0 slots, 1 drive, 1 picker, 0 portals
root on sd0a dumps on sd0b
root file system type: ffs
--
Eric Schnoebelen er...@cirr.com http://www.cirr.com
"Fog and FUD sighted in Newsgroups - .GIFs at 11!"
> Anyone else using siop with tape drives ? If so, with which kernel version ?
I'm having a nearly inverse problem: Certain operations (like
switching into X) while using my tape changer cause the machine to
hang. I've got a pr open, but I haven't had a chance to do any of the
additional investigation that needs to be done. Using a 1.5_ALPHA2
kernel.
Chris
--
----------------------------------------------------- ch...@cjones.org
Chris Jones Mad scientist at large
Could you try a 1.5.1_ALPHA kernel ? I added tagged queuing support to
siop, which as a side effect fixed a few problems.
Nope, no luck. I'll try to get a serial console hooked up RSN, so I
can properly debug this. Thanks, though.