Ah ok so this is a PERC 2/SC. There is a bug in the driver or firmware which causes the firmware to hang whenever there is access to more than 1 LD at the same time. To prevent hangs I marked these cards as broken to prevent access to more than 1 LD, unfortunately the broken flag also *has* to prevent access though the ioctl interface.

What's bad is that the passthrough is actually working. This can cause hangs as well so I need to go fix that (need to not allow commands through passthrough when card is marked "broken").

I honestly don't know what is actually causing the firmware to hang and therefore I can't fix the driver to work around it. One of these days I'll try again to fix this but be advised that these cards are rapidly becoming obsolete.

Sorry that I don't have a better answer :(

/marco

On Nov 23, 2005, at 2:10 PM, Gaby vanhegan wrote:

On 23 Nov 2005, at 20:00, Otto Moerbeek wrote:

ami0 at pci1 dev 14 function 1 "Intel 80960RP ATU" rev 0x02: irq 14
Dell 467/32b
ami0: FW 1.06, BIOS v1p00, 128MB RAM
ami0: 2 channels, 16 targets, 1 logical drives
scsibus0 at ami0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct
fixed
sd0: 17136MB, 2184 cyl, 255 head, 63 sec, 512 bytes/sec, 35094528 sec
total
scsibus1 at ami0: 16 targets
safte0 at scsibus1 targ 6 lun 0: <DELL, 1x6 SCSI BP, 5.47> SCSI2 3/
processor fixed
scsibus2 at ami0: 16 targets

If I can ask, which models of RAID card are being worked on for the
3.9 release?

I may be missing something obvious here, but this looks like the card
_is_ supported. What output where you expecting? What does bioctl ami0
print?

I figured that it would be supported:

# bioctl ami0
bioctl: BIOCINQ: Operation not supported by device
# bioctl -Dv ami0
bioctl: cookie = 0xd0f51e90
bio_inq
bioctl: BIOCINQ: Operation not supported by device

Apparently not :(  Here's a full dmesg:

# dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 728 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,
MMX,FXSR,SSE
real mem  = 536449024 (523876K)
avail mem = 482590720 (471280K)
using 4278 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 06/25/01, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc320/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks ROSB4
SouthBridge" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x200 0xc8800/0xe00
0xc9800/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 2
fxp0 at pci1 dev 6 function 0 "Intel 82557" rev 0x0c, i82550: irq 5,
address 00:02:b3:63:ee:52
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ppb0 at pci1 dev 14 function 0 "Intel i960 RN PCI-PCI" rev 0x02
pci2 at ppb0 bus 3
ami0 at pci1 dev 14 function 1 "Intel 80960RP ATU" rev 0x02: irq 14
Dell 467/32b
ami0: FW 1.06, BIOS v1p00, 128MB RAM
ami0: 2 channels, 16 targets, 1 logical drives
scsibus0 at ami0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct
fixed
sd0: 17136MB, 2184 cyl, 255 head, 63 sec, 512 bytes/sec, 35094528 sec
total
scsibus1 at ami0: 16 targets
safte0 at scsibus1 targ 6 lun 0: <DELL, 1x6 SCSI BP, 5.47> SCSI2 3/
processor fixed
scsibus2 at ami0: 16 targets
ppb1 at pci0 dev 2 function 0 "Intel i960 RM PCI-PCI" rev 0x02
pci3 at ppb1 bus 1
ahc1 at pci3 dev 4 function 0 "Adaptec AIC-7890/1 U2" rev 0x01: irq 14
scsibus3 at ahc1: 16 targets
ahc2 at pci3 dev 6 function 0 "Adaptec AIC-7880" rev 0x02: irq 10
scsibus4 at ahc2: 8 targets
cd0 at scsibus4 targ 5 lun 0: <NEC, CD-ROM DRIVE:466, 1.06> SCSI2 5/
cdrom removable
fxp1 at pci0 dev 8 function 0 "Intel 82557" rev 0x08, i82559: irq 11,
address 00:b0:d0:d0:26:89
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci0 dev 14 function 0 "ATI Mach64 GY" rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 "ServerWorks ROSB4 SouthBridge" rev 0x50
isa0 at pcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
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
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e745 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://vanhegan.net/sudoku/
http://weblog.vanhegan.net/

Reply via email to