hello,
seams that some recent changes to the scsi layer has broken the umass
support. i tested with two different usb2.0 harddrive models.

dmesg of working kernel from 3.Nov and broken dmesg with trace and ps
output. if u need further testing please contact me.

best regards
thomas

OpenBSD 4.0-current (GENERIC) #1197: Fri Nov  3 03:49:15 MST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 548
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 268005376 (261724K)
avail mem = 236683264 (231136K)
using 3302 buffers containing 13524992 bytes (13208K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(72) BIOS, date 08/DS/99, BIOS32 rev. 0 @
0xec700, SMBIOS rev. 2.1 @ 0xf1923 (48 entries)
bios0: Compaq Deskpro EN Series SFF
pcibios0 at bios0: rev 2.1 @ 0xec700/0x3900
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf74c0/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:20:0 ("Intel 82371AB PIIX4 ISA"
rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xe0000/0x8000!
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 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev 0x05, i82558: irq 11,
address 00:50:8b:a4:79:ef
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
ppb1 at pci0 dev 13 function 0 "DEC 21154 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
fxp1 at pci2 dev 4 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dc
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci2 dev 5 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dd
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
ohci0 at pci0 dev 14 function 0 "NEC USB" rev 0x43: irq 11, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 14 function 1 "NEC USB" rev 0x43: irq 11, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 14 function 2 "NEC USB" rev 0x04: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
pcib0 at pci0 dev 20 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 20 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compati
bility
wd0 at pciide0 channel 0 drive 0: <WDC WD100BA>
wd0: 16-sector PIO, LBA, 9541MB, 19541088 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
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CD-224E, 9.0B> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 20 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb3 at uhci0: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 20 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
maxtmp0 at iic0 addr 0x4c: max6657
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
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; 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 ff45 ttymask ffc7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support   
umass0 at uhub2 port 2 configuration 1 interface 0
umass0: vendor 0x04b4 product 0x6830, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets  
sd0 at scsibus1 targ 1 lun 0: <ST310212, A, 0000> SCSI0 0/direct fixed
sd0: 9768MB, 9768 cyl, 64 head, 32 sec, 512 bytes/sec, 20005650 sec
total
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a   
rootdev=0x0 rrootdev=0x300 rawdev=0x302

OpenBSD 4.0-current (GENERIC) #1244: Wed Nov 29 09:22:42 MST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 548
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 268005376 (261724K)
avail mem = 236621824 (231076K)
using 3302 buffers containing 13524992 bytes (13208K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(72) BIOS, date 08/DS/99, BIOS32 rev. 0 @
0xec700, SMBIOS rev. 2.1 @ 0xf1923 (48 entries)
bios0: Compaq Deskpro EN Series SFF
pcibios0 at bios0: rev 2.1 @ 0xec700/0x3900
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf74c0/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:20:0 ("Intel 82371AB PIIX4 ISA"
rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xe0000/0x8000!
acpi at mainbus0 not configured
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 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev 0x05, i82558: irq 11,
address 00:50:8b:a4:79:ef
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
ppb1 at pci0 dev 13 function 0 "DEC 21154 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
fxp1 at pci2 dev 4 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dc
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci2 dev 5 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dd
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
ohci0 at pci0 dev 14 function 0 "NEC USB" rev 0x43: irq 11, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 14 function 1 "NEC USB" rev 0x43: irq 11, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 14 function 2 "NEC USB" rev 0x04: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
pcib0 at pci0 dev 20 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 20 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compati
bility
wd0 at pciide0 channel 0 drive 0: <WDC WD100BA>
wd0: 16-sector PIO, LBA, 9541MB, 19541088 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
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CD-224E, 9.0B> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 20 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb3 at uhci0: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 20 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
maxtmp0 at iic0 addr 0x4c: max6657
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
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
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 ff45 ttymask ffc7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub2 port 3 configuration 1 interface 0
umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr
2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 53464 targets
panic: scsibusattach: can't allocate lun links
Stopped at      Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(0,a,d07722d0,d0dfa000,d0de3a40) at Debugger+0x4
panic(d06a55a0,2,1,d0d8,d0733864) at panic+0x63
scsibusattach(d0df7c00,d0de3a40,e38e6dc0,0,90) at scsibusattach+0x125
config_attach(d0df7c00,d072b958,e38e6dc0,d0476fac,d0df7c00) at
config_attach+0x
ef
umass_scsi_attach(d0df7c00,10000,1,d0df7c40) at umass_scsi_attach+0x4f
umass_attach(d0d51640,d0df7c00,e38e6e64,0,0) at umass_attach+0x267
config_attach(d0d51640,d072e31c,e38e6e64,d05f9c9c) at config_attach+0xef
usbd_probe_and_attach(d0d51640,d0dda180,3,2,3) at
usbd_probe_and_attach+0x25f
usbd_new_device(d0d51640,d0d8a000,1,3,3,d0d89760,d0d89760,0) at
usbd_new_device
+0x232
uhub_explore(d0dd0980,0,0,0,d62946f4) at uhub_explore+0x1a4
usb_discover(d0dd0a00,d08abe78,d0200c2d,d62946f4,d62946f4) at
usb_discover+0x36

usb_event_thread(d0dd0a00) at usb_event_thread+0x35
Bad frame pointer: 0xd08abe78
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
    11      0      0      0  2    0x100600             pfpurge
    10      0      0      0  3    0x100200  wait       wskbd_hotkey
     9      0      0      0  3    0x100200  timeout    sensors
     8      0      0      0  3    0x100200  config     usb3
     7      0      0      0  3    0x100200  slacking   scsi
*    6      0      0      0  7    0x100200             usb2
     5      0      0      0  3    0x100200  config     usb1
     4      0      0      0  3    0x100200  usbtsk     usbtask
     3      0      0      0  3    0x100200  config     usb0
     2      0      0      0  3    0x100200  kmalloc    kmthread
     1      0      0      0  3           0  initexec   swapper
     0     -1      0      0  3     0x80200  cfpend     swapper
ddb>

Reply via email to