On 22/02/2006, at 11:39 AM, knitti wrote:

uh oh. http://openbsd.org/faq/faq5.html#Why

Ok .. i'm learning a few lessons here. I've tested with the stock GENERIC kernel and am experiencing the same problem. Another very generous list member emailed me off list asking me to build a kernel with the SCSI debugging options enabled which I have done. If it helps anyone else on the list here's the output of my dmesg, and also the output found in /var/log/messages when I executed the command: 'mt -f /dev/rst0 status'.

I do note that it seems to hang at the command: "st0(ahc1:4:0): start scb(0xd0f8a310)" which executes correctly during the boot phase which would lead me to think perhaps something loading after the scsi drivers are loaded is scuzzing things.

--- dmesg
OpenBSD 3.8 (GENERIC) #1: Wed Feb 22 13:17:16 EST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 551 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE
real mem  = 536453120 (523880K)
avail mem = 482582528 (471272K)
using 4278 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(d9) BIOS, date 09/07/99, BIOS32 rev. 0 @ 0xfb340
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb7bc
pcibios0: PCI BIOS has 6 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xc9000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G100 AGP" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL CR8.4A>
wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
scsi_inqmatch: 2/5/1 <, , >
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-R/RW SW-252F, R802> SCSI0 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
scsi_inqmatch: 2/5/1 <, , >
cd1 at scsibus1 targ 0 lun 0: <E-IDE, CD-ROM 40X/AKU, T10> SCSI0 5/ cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 10
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
"Intel 82371AB Power" rev 0x02 at pci0 dev 7 function 3 not configured
ahc1 at pci0 dev 9 function 0 "Adaptec AHA-2940U" rev 0x00: irq 11
scsibus2 at ahc1: 16 targets
probe(ahc1:4:0): scsi_cmd
probe(ahc1:4:0): scsi_get_xs
probe(ahc1:4:0): calling pool_get
probe(ahc1:4:0): returning
probe(ahc1:4:0): ahc_action
probe(ahc1:4:0): start scb(0xd0f8a310)
probe(ahc1:4:0): cmd_poll
probe(ahc1:4:0): scsi_done
probe(ahc1:4:0): command: 12,0,0,0,24,0-[36 bytes]
------------------------------
000: 01 80 02 02 26 00 00 18 48 50 20 20 20 20 20 20
016: 43 31 35 33 37 41 20 20 20 20 20 20 20 20 20 20
032: 4c 37 30 36
------------------------------
probe(ahc1:4:0): back in cmd()
probe(ahc1:4:0): sc_err1,err = 0x0
probe(ahc1:4:0): scsi_free_xs
scsi_inqmatch: 2/1/1 <, , >
probe(ahc1:4:0): scsi_cmd
probe(ahc1:4:0): scsi_get_xs
probe(ahc1:4:0): calling pool_get
probe(ahc1:4:0): returning
probe(ahc1:4:0): ahc_action
probe(ahc1:4:0): start scb(0xd0f8a310)
probe(ahc1:4:0): cmd_poll
probe(ahc1:4:0): scsi_done
probe(ahc1:4:0): command: 0,0,0,0,0,0-[0 bytes]
probe(ahc1:4:0): back in cmd()
probe(ahc1:4:0): sc_err1,err = 0x1
probe(ahc1:4:0): code:0x70 valid:0 key:0x6 ili:0 eom:0 fmark:0 extra:14
------------------------------
000: 70 00 06 00 00 00 00 0e 00 00 00 00 29 00 00 00
016: 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00
------------------------------
probe(ahc1:4:0): ahc_action
probe(ahc1:4:0): start scb(0xd0f8a310)
probe(ahc1:4:0): cmd_poll
probe(ahc1:4:0): scsi_done
probe(ahc1:4:0): command: 0,0,0,0,0,0-[0 bytes]
probe(ahc1:4:0): back in cmd()
probe(ahc1:4:0): sc_err1,err = 0x0
probe(ahc1:4:0): scsi_free_xs
st0 at scsibus2 targ 4 lun 0: <HP, C1537A, L706> SCSI2 1/sequential removableprobe(ahc1:4:0): stattach:

st0: st0(ahc1:4:0): scsi_cmd
st0(ahc1:4:0): scsi_get_xs
st0(ahc1:4:0): calling pool_get
st0(ahc1:4:0): returning
st0(ahc1:4:0): ahc_action
st0(ahc1:4:0): start scb(0xd0f8a310)
st0(ahc1:4:0): cmd_poll
st0(ahc1:4:0): scsi_done
st0(ahc1:4:0): command: 0,0,0,0,0,0-[0 bytes]
st0(ahc1:4:0): back in cmd()
st0(ahc1:4:0): sc_err1,err = 0x0
st0(ahc1:4:0): scsi_free_xs
st0(ahc1:4:0): calling private start()
st0(ahc1:4:0): ststart
st0(ahc1:4:0): scsi_cmd
st0(ahc1:4:0): scsi_get_xs
st0(ahc1:4:0): calling pool_get
st0(ahc1:4:0): returning
st0(ahc1:4:0): ahc_action
st0(ahc1:4:0): start scb(0xd0f8a310)
st0(ahc1:4:0): cmd_poll
st0(ahc1:4:0): scsi_done
st0(ahc1:4:0): command: 1a,0,0,0,ff,0-[255 bytes]
------------------------------
000: 0b 00 10 08 8c 00 00 00 00 00 00 00 00 f2 77 03
016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
------------------------------
st0(ahc1:4:0): back in cmd()
st0(ahc1:4:0): sc_err1,err = 0x0
st0(ahc1:4:0): scsi_free_xs
st0(ahc1:4:0): calling private start()
st0(ahc1:4:0): ststart
st0(ahc1:4:0): scsi_mode_sense: page 0, error = 0
st0(ahc1:4:0): density code 0x8c, 0-byte blocks, write-enabled, buffered
density code 0x8c, variable blocks, write-enabled
fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x08, i82559: irq 5, address 00:d0:b7:18:1d:f4
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ne3 at pci0 dev 15 function 0 "Realtek 8029" rev 0x00: irq 10
ne3: address 00:60:67:2c:02:5a
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83781D
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 ff45 netmask ff65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

--- debug output in /var/log/messages on execution of mt -f /dev/rst0 status
st0(ahc1:4:0): open: dev=0xe00 (unit 0 (of 4))
st0(ahc1:4:0): scsi_cmd
st0(ahc1:4:0): scsi_get_xs
st0(ahc1:4:0): calling pool_get
st0(ahc1:4:0): returning
st0(ahc1:4:0): ahc_action
st0(ahc1:4:0): start scb(0xd0f8a310)
st0(ahc1:4:0): scsi_done
st0(ahc1:4:0): command: 0,0,0,0,0,0-[0 bytes]
st0(ahc1:4:0): back in cmd()
st0(ahc1:4:0): sc_err1,err = 0x0
st0(ahc1:4:0): scsi_free_xs
st0(ahc1:4:0): calling private start()
st0(ahc1:4:0): ststart
st0(ahc1:4:0): mounting
st0(ahc1:4:0): scsi_cmd
st0(ahc1:4:0): scsi_get_xs
st0(ahc1:4:0): calling pool_get
st0(ahc1:4:0): returning
st0(ahc1:4:0): ahc_action
st0(ahc1:4:0): start scb(0xd0f8a310)
ahc1: target 4 synchronous at 5.0MHz, offset = 0xf

Reply via email to