this was fixed in revision 1.92 of src/sys/dev/ic/ami.c. the problem is that a busy logical disk can starve the available openings on the passthrough bus. this means that the safte io is being attempted, but insufficient resources are available to complete it. a lack of resources causes an error to be returned to the safte driver and it makes unhappy noises. krws patch alleviates this by reserving openings for use by the passthrough devices.

i would suggest trying current, i am certain this problem has been fixed.

dlg

On 10/01/2006, at 11:27 PM, Diego Woitasen wrote:

Under heavy load (restoring a tape or copying files, for example) i get
the following messages from the kernel:

safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online


full dmesg:

OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 1073065984 (1047916K)
avail mem = 972488704 (949696K)
using 4278 buffers containing 53755904 bytes (52496K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/01/04, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbbf0/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev
0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc0000/0xb000! 0xcb000/0x800 0xcb800/0x1400
0xec000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 0183     )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
ioapic1 at mainbus0: apid 9 pa 0xfec80000, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apic 9
ioapic2 at mainbus0: apid 10 pa 0xfec80800, version 20, 24 pins
ioapic2: misconfigured as apic 0, remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7710 SMCH" rev 0x09
ppb0 at pci0 dev 2 function 0 "Intel E7710 MCH PCIE" rev 0x09
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci2 at ppb1 bus 2
mpt0 at pci2 dev 4 function 0 "Symbios Logic 53c1030" rev 0x08: apic 9
int 10 (irq 5)
mpt0: sending FW Upload request to IOC (size: 36, img size: 40048)
mpt0: IM support: 0
scsibus0 at mpt0: 16 targets
ami0 at pci2 dev 5 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 9
int 5 (irq 11) Dell 520/64b/lhc
ami0: FW 350O, BIOS v1.09, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus1 at ami0: 40 targets
sd0 at scsibus1 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct
fixed
sd0: 34680MB, 4421 cyl, 255 head, 63 sec, 512 bytes/sec, 71024640 sec
total
scsibus2 at ami0: 16 targets
safte0 at scsibus2 targ 6 lun 0: <SDR, GEM318P, 1> SCSI2 3/processor
fixed
ahc1 at pci2 dev 6 function 0 "Adaptec AHA-3960D U160" rev 0x01: apic 9
int 0 (irq 11)
scsibus3 at ahc1: 16 targets
st0 at scsibus3 targ 6 lun 0: <SEAGATE, DAT DAT72-052, A060> SCSI3
1/sequential removable
st0: drive empty or not ready
ahc2 at pci2 dev 6 function 1 "Adaptec AHA-3960D U160" rev 0x01: apic 9
int 1 (irq 11)
scsibus4 at ahc2: 16 targets
vendor "Intel", unknown product 0x0326 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 1 not configured
ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 3
em0 at pci3 dev 7 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic
10 int 5 (irq 11), address: 00:0f:1f:fa:74:2b
vendor "Intel", unknown product 0x0327 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 3 not configured
ppb3 at pci0 dev 4 function 0 "Intel E7710 MCH PCIE" rev 0x09
pci4 at ppb3 bus 4
ppb4 at pci0 dev 6 function 0 "Intel E7710 MCH PCIE" rev 0x09
pci5 at ppb4 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 8
int 16 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 8
int 19 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 8
int 18 (irq 5)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB" rev 0x02: apic 8
int 23 (irq 3)
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci6 at ppb5 bus 6
vga1 at pci6 dev 5 function 0 "ATI Radeon VE QY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus5 at atapiscsi0: 2 targets
cd0 at scsibus5 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8483B, 1.05> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask 0 netmask 0 ttymask 0
pctr: user-level cycle counter enabled
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
WARNING: / was not properly unmounted
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
st0(ahc1:6:0): Check Condition (error 0x70) on opcode 0x0
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Is in Process Of Becoming Ready
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
st0(ahc1:6:0): Check Condition (error 0x70) on opcode 0x0
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Is in Process Of Becoming Ready
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
st0(ahc1:6:0): Check Condition (error 0x70) on opcode 0x1b
    SENSE KEY: Not Ready
     ASC/ASCQ: Medium Not Present
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
st0: 10240-byte record too big
ahc1: target 6 using 16bit transfers
ahc1: target 6 synchronous at 40.0MHz, offset = 0x20
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online

Reply via email to