Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 03:28:59 +0100
From:      Chris Gilbert <Chris@lainos.org>
To:        freebsd-current@freebsd.org
Subject:   umass strangeness (lots of debug spam inline)
Message-ID:  <200611010328.59964.Chris@lainos.org>

next in thread | raw e-mail | index | archive | help
With my current mainboard, I have been getting some strange issues when using 
umass.

The mainboard is Tyan K8WE (2895) with two northbridges, dmesg and 
pciconf/usbdevs is below. (nForce 4)

Normally, no matter what the device, (CompactFlash, MP3 Player, External HDD) 
when I plug it in I get this:

## BEGIN MESSAGES ##

uhub1: port 3, set config at addr 126 failed, error=USBD_TIMEOUT
uhub_explore: usb_new_device failed, error=USBD_TIMEOUT
uhub1: device problem (USBD_TIMEOUT), disabling port 3

## END MESSAGES ##

If I continue to unplug and replug it a few times it finally proceeds to work.

However, with the Western Digital WD 2500/032 external USB hard drive, after 
getting a couple of the above messages (after plugging and unplugging as 
usual) I get the following:

(With umass debug sysctl set to -1)

## BEGIN MESSAGES ##

umass1: <Western Digital product 0x0901, class 0/0, rev 2.00/2.06, addr 126>
umass1:  SCSI over Bulk-Only; quirks = 0x0000
umass1: Get Max Lun not supported (USBD_TIMEOUT)
umass1:umass_cam_action: 6:-1:-1:XPT_PATH_INQ:.
umass1:6:1:-1: Attached to scbus6
umass1:umass_cam_rescan: scbus6: scanning for 6:1:-1
umass1:umass_cam_action: 6:-1:-1:XPT_PATH_INQ:.
umass1:umass_cam_action: 6:0:0:XPT_PATH_INQ:.
umass1:umass_cam_action: 6:0:0:XPT_PATH_INQ:.
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b 
data/18b sense
umass1:umass_bbb_dump_cbw: CBW 1: cmd = 6b (0x120000002400), data = 36b, lun = 
0, dir = in
umass1:umass_attach: Attach finished
umass1:umass_transfer_start: transfer index = 4
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=36
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=0
umass1:umass_transfer_start: transfer index = 8
umass1:umass_bbb_dump_csw: CSW 1: sig = 0x53425355 (valid), tag = 1, res = 0, 
status = 0x00 (good)
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/74b 
data/18b sense
umass1:umass_bbb_dump_cbw: CBW 2: cmd = 6b (0x120000004a00), data = 74b, lun = 
0, dir = in
umass1:umass_transfer_start: transfer index = 4
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=74
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=0
umass1:umass_transfer_start: transfer index = 8
umass1:umass_bbb_dump_csw: CSW 2: sig = 0x53425355 (valid), tag = 2, res = 0, 
status = 0x00 (good)
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b 
cmd/255b data/18b sense
umass1:umass_bbb_dump_cbw: CBW 3: cmd = 6b (0x12018000ff00), data = 255b, lun 
= 0, dir = in
umass1:umass_transfer_start: transfer index = 4
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=255
umass1:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=0
umass1:umass_transfer_start: transfer index = 8
umass1:umass_t_bbb_status_callback: Failed to read CSW: USBD_TIMEOUT, try 0
umass1:umass_transfer_start: transfer index = 5
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b 
cmd/255b data/18b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_GET_TRAN_SETTINGS:.
umass1:umass_cam_action: 6:0:0:XPT_PATH_INQ:.
umass1:umass_cam_action: 6:0:0:XPT_GET_TRAN_SETTINGS:.
umass1:umass_cam_action: 6:0:0:XPT_SET_TRAN_SETTINGS:.
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_PATH_INQ:.
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umassX:umass_cam_rescan_callback: xpt0: Rescan succeeded
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
(da6:umass-sim1:1:0:0): got CAM status 0x4
(da6:umass-sim1:1:0:0): fatal error, failed to attach to device
(da6:umass-sim1:1:0:0): lost device
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
umass1:umass_cam_action: 6:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1:umass_transfer_start: transfer index = 0
umass1:umass_t_bbb_reset1_callback: BBB reset!
(da6:umass-sim1:1:0:0): removing device entry
Opened disk da6 -> 5
umass1:umass_tr_error: transfer error, USBD_TIMEOUT -> reset
umass1: timeout: giving up reset!

## END MESSAGES ##

I've also tried using the alternative "new" USB stack patchset floating around 
out there, with pretty much the exact same results.

Here is the usual debug spam:

## BEGIN DMESG.BOOT ##

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p10 #1: Mon Oct  2 07:08:44 CEST 2006
    Neovanglist@Melchior.neovanglist.net:/usr/obj/usr/src/sys/Melchior
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 246 (2009.27-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f51  Stepping = 1
  
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
real memory  = 2683830272 (2559 MB)
avail memory = 2618638336 (2497 MB)
ACPI APIC Table: <PTLTD  	 APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
ioapic3 <Version 1.1> irqs 32-55 on motherboard
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xa0000000-0xa0000fff irq 20 at 
device 2.0 on pci0
usb0:  OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xa0001000-0xa00010ff irq 21 at 
device 2.1 on pci0
usb1: EHCI version 1.0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
atapci0: <nVidia nForce CK804 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1400-0x140f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nve0: <NVIDIA nForce MCP8 Networking Adapter> port 0x1410-0x1417 mem 
0xa0002000-0xa0002fff irq 22 at device 10.0 on pci0
nve0: Ethernet address 00:e0:81:57:25:6a
miibus0: <MII bus> on nve0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
nve0: Ethernet address: 00:e0:81:57:25:6a
pcib2: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
pci2: <display> at device 0.1 (no driver attached)
pcib3: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci8: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 10.0 on pci8
pci9: <ACPI PCI bus> on pcib4
pcm0: <Creative Audigy 2 (EMU10K2)> port 0x3000-0x303f irq 24 at device 4.0 on 
pci9
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
fwohci0: <1394 Open Host Controller Interface> mem 
0xc0104000-0xc01047ff,0xc0100000-0xc0103fff irq 25 at device 4.2 on pci9
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3c:00:91:00:c9:cb
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:00:c9:cb
fwe0: Ethernet address: 02:02:3c:00:c9:cb
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci8: <base peripheral, interrupt controller> at device 10.1 (no driver 
attached)
pcib5: <ACPI PCI-PCI bridge> at device 11.0 on pci8
pci10: <ACPI PCI bus> on pcib5
ahd0: <Adaptec 29320 Ultra320 SCSI adapter> port 0x4400-0x44ff,0x4000-0x40ff 
mem 0xc0200000-0xc0201fff irq 29 at device 9.0 on pci10
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: <Adaptec 29320 Ultra320 SCSI adapter> port 0x4c00-0x4cff,0x4800-0x48ff 
mem 0xc0202000-0xc0203fff irq 30 at device 9.1 on pci10
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
pci8: <base peripheral, interrupt controller> at device 11.1 (no driver 
attached)
pcib6: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib6: could not get PCI interrupt routing table for \\_SB_.PCI1 - AE_BAD_DATA
pci128: <ACPI PCI bus> on pcib6
pci128: <memory> at device 0.0 (no driver attached)
pci128: <memory> at device 1.0 (no driver attached)
pcib7: <ACPI PCI-PCI bridge> at device 14.0 on pci128
pci129: <ACPI PCI bus> on pcib7
nvidia0: <GeForce 7900 GT> port 0x5000-0x507f mem 
0xc2000000-0xc2ffffff,0xd0000000-0xdfffffff,0xc1000000-0xc1ffffff irq 48 at 
device 0.0 on pci129
nvidia0: [GIANT-LOCKED]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 1.000 msec
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub0: 10 ports with 10 removable, self powered
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 127
uhub1: 10 ports with 10 removable, self powered
Waiting 5 seconds for SCSI devices to settle
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/22.00, addr 126>
ums0: 8 buttons and [XYZ] coordinates
umass0: <Apacer Embedded Reader, class 0/0, rev 1.10/1.00, addr 125>
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:5:0:-1: Attached to scbus5
da0 at ahd1 bus 0 target 0 lun 0
da0: <SEAGATE ST336607LW 0007> Fixed Direct Access SCSI-3 device 
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing 
Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
da1 at ahd1 bus 0 target 4 lun 0
da1: <SEAGATE ST373307LW DS09> Fixed Direct Access SCSI-3 device 
da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing 
Enabled
da1: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C)
SMP: AP CPU #1 Launched!
da2 at umass-sim0 bus 0 target 0 lun 0
da2: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device 
da2: 1.000MB/s transfers
da2: 488MB (1000944 512 byte sectors: 64H 32S/T 488C)
da3 at umass-sim0 bus 0 target 0 lun 1
da3: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device 
da3: 1.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
da4 at umass-sim0 bus 0 target 0 lun 2
da4: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device 
da4: 1.000MB/s transfers
da4: Attempt to query device size failed: NOT READY, Medium not present
da5 at umass-sim0 bus 0 target 0 lun 3
da5: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device 
da5: 1.000MB/s transfers
da5: Attempt to query device size failed: NOT READY, Medium not present
(da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da3:umass-sim0:0:0:1): SCSI Status: Check Condition
(da3:umass-sim0:0:0:1): NOT READY asc:3a,0
(da3:umass-sim0:0:0:1): Medium not present
(da3:umass-sim0:0:0:1): Unretryable error
Opened disk da3 -> 6
(da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da3:umass-sim0:0:0:1): SCSI Status: Check Condition
(da3:umass-sim0:0:0:1): NOT READY asc:3a,0
(da3:umass-sim0:0:0:1): Medium not present
(da3:umass-sim0:0:0:1): Unretryable error
Opened disk da3 -> 6
(da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da3:umass-sim0:0:0:1): SCSI Status: Check Condition
(da3:umass-sim0:0:0:1): NOT READY asc:3a,0
(da3:umass-sim0:0:0:1): Medium not present
(da3:umass-sim0:0:0:1): Unretryable error
Opened disk da3 -> 6
(da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da4:umass-sim0:0:0:2): SCSI Status: Check Condition
(da4:umass-sim0:0:0:2): NOT READY asc:3a,0
(da4:umass-sim0:0:0:2): Medium not present
(da4:umass-sim0:0:0:2): Unretryable error
Opened disk da4 -> 6
(da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da4:umass-sim0:0:0:2): SCSI Status: Check Condition
(da4:umass-sim0:0:0:2): NOT READY asc:3a,0
(da4:umass-sim0:0:0:2): Medium not present
(da4:umass-sim0:0:0:2): Unretryable error
Opened disk da4 -> 6
(da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da4:umass-sim0:0:0:2): SCSI Status: Check Condition
(da4:umass-sim0:0:0:2): NOT READY asc:3a,0
(da4:umass-sim0:0:0:2): Medium not present
(da4:umass-sim0:0:0:2): Unretryable error
Opened disk da4 -> 6
(da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:3): SCSI Status: Check Condition
(da5:umass-sim0:0:0:3): NOT READY asc:3a,0
(da5:umass-sim0:0:0:3): Medium not present
(da5:umass-sim0:0:0:3): Unretryable error
Opened disk da5 -> 6
(da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:3): SCSI Status: Check Condition
(da5:umass-sim0:0:0:3): NOT READY asc:3a,0
(da5:umass-sim0:0:0:3): Medium not present
(da5:umass-sim0:0:0:3): Unretryable error
Opened disk da5 -> 6
(da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:3): SCSI Status: Check Condition
(da5:umass-sim0:0:0:3): NOT READY asc:3a,0
(da5:umass-sim0:0:0:3): Medium not present
(da5:umass-sim0:0:0:3): Unretryable error
Opened disk da5 -> 6
Trying to mount root from ufs:/dev/da1s1a

## END DMESG.BOOT ##

It's probably safe to ignore the CAM spam there - it's because of my umass 
CF/SD/MS/Etc reader which had no media in it at boot.

## BEGIN PCICONF -lv ##

none0@pci0:0:0:	class=0x058000 card=0x289510f1 chip=0x005e10de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 Memory Controller'
    class    = memory
isab0@pci0:1:0:	class=0x060100 card=0x289510f1 chip=0x005110de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    class    = bridge
    subclass = PCI-ISA
none1@pci0:1:1:	class=0x0c0500 card=0x289510f1 chip=0x005210de rev=0xa2 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 SMBus'
    class    = serial bus
    subclass = SMBus
ohci0@pci0:2:0:	class=0x0c0310 card=0x289510f1 chip=0x005a10de rev=0xa2 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 USB Controller'
    class    = serial bus
    subclass = USB
ehci0@pci0:2:1:	class=0x0c0320 card=0x289510f1 chip=0x005b10de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 USB 2.0 Controller'
    class    = serial bus
    subclass = USB
atapci0@pci0:6:0:	class=0x01018a card=0x289510f1 chip=0x005310de rev=0xf2 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 Parallel ATA Controller'
    class    = mass storage
    subclass = ATA
pcib1@pci0:9:0:	class=0x060401 card=0x0000008c chip=0x005c10de rev=0xa2 
hdr=0x01
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
nve0@pci0:10:0:	class=0x020000 card=0x289510f1 chip=0x005610de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 Ethernet Controller'
    class    = network
    subclass = ethernet
pcib2@pci0:14:0:	class=0x060400 card=0x00000040 chip=0x005d10de rev=0xa3 
hdr=0x01
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 PCI Express Bridge'
    class    = bridge
    subclass = PCI-PCI
hostb0@pci0:24:0:	class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron HyperTransport Technology Configuration'
    class    = bridge
    subclass = HOST-PCI
hostb1@pci0:24:1:	class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron Address Map'
    class    = bridge
    subclass = HOST-PCI
hostb2@pci0:24:2:	class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron DRAM Controller'
    class    = bridge
    subclass = HOST-PCI
hostb3@pci0:24:3:	class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron Miscellaneous Control'
    class    = bridge
    subclass = HOST-PCI
hostb4@pci0:25:0:	class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron HyperTransport Technology Configuration'
    class    = bridge
    subclass = HOST-PCI
hostb5@pci0:25:1:	class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron Address Map'
    class    = bridge
    subclass = HOST-PCI
hostb6@pci0:25:2:	class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron DRAM Controller'
    class    = bridge
    subclass = HOST-PCI
hostb7@pci0:25:3:	class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Athlon 64 / Opteron Miscellaneous Control'
    class    = bridge
    subclass = HOST-PCI
none2@pci2:0:0:	class=0x030000 card=0x0b121002 chip=0x71001002 rev=0x00 
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    class    = display
    subclass = VGA
none3@pci2:0:1:	class=0x038000 card=0x0b131002 chip=0x71201002 rev=0x00 
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    class    = display
pcib4@pci8:10:0:	class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 
hdr=0x01
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'AMD-8131 PCI-X Bridge'
    class    = bridge
    subclass = PCI-PCI
none4@pci8:10:1:	class=0x080010 card=0x289510f1 chip=0x74511022 rev=0x01 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'AMD-8131 PCI-X IOAPIC'
    class    = base peripheral
    subclass = interrupt controller
pcib5@pci8:11:0:	class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 
hdr=0x01
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'AMD-8131 PCI-X Bridge'
    class    = bridge
    subclass = PCI-PCI
none5@pci8:11:1:	class=0x080010 card=0x289510f1 chip=0x74511022 rev=0x01 
hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'AMD-8131 PCI-X IOAPIC'
    class    = base peripheral
    subclass = interrupt controller
pcm0@pci9:4:0:	class=0x040100 card=0x10021102 chip=0x00041102 rev=0x04 
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'SoundBlaster Audigy Audigy Audio Processor'
    class    = multimedia
    subclass = audio
emujoy0@pci9:4:1:	class=0x098000 card=0x00601102 chip=0x70031102 rev=0x04 
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10K2 Audigy Gameport'
    class    = input device
fwohci0@pci9:4:2:	class=0x0c0010 card=0x00101102 chip=0x40011102 rev=0x04 
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10K2 Audigy IEEE1394 Firewire Controller'
    class    = serial bus
    subclass = FireWire
ahd0@pci10:9:0:	class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 
hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'ASC-29320 Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
ahd1@pci10:9:1:	class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 
hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'ASC-29320 Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
none6@pci128:0:0:	class=0x058000 card=0x289510f1 chip=0x005e10de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 Memory Controller'
    class    = memory
none7@pci128:1:0:	class=0x058000 card=0x289510f1 chip=0x00d310de rev=0xa3 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 Memory Controller'
    class    = memory
pcib7@pci128:14:0:	class=0x060400 card=0x00000040 chip=0x005d10de rev=0xa3 
hdr=0x01
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 PCI Express Bridge'
    class    = bridge
    subclass = PCI-PCI
nvidia0@pci129:0:0:	class=0x030000 card=0x2084107d chip=0x029110de rev=0xa1 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    class    = display
    subclass = VGA

## END PCICONF -lv ##

## BEGIN USBDEVS -d -v ##

Controller /dev/usb0:
addr 125: full speed, power 500 mA, config 1, Embedded Reader(0x0240), 
Apacer(0x0d7d), rev 1.00
  umass0
addr 126: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc01e), 
Logitech(0x046d), rev 22.00
  ums0
addr 127: full speed, self powered, config 1, OHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
  uhub0
 port 1 powered
 port 2 addr 126: low speed, power 98 mA, config 1, USB-PS/2 Optical 
Mouse(0xc01e), Logitech(0x046d), rev 22.00
   ums0
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 addr 125: full speed, power 500 mA, config 1, Embedded Reader(0x0240), 
Apacer(0x0d7d), rev 1.00
   umass0
 port 8 powered
 port 9 powered
 port 10 powered
Controller /dev/usb1:
addr 126: high speed, self powered, config 1, product 0x0901(0x0901), Western 
Digital(0x1058), rev 2.06
  umass1
addr 127: high speed, self powered, config 1, EHCI root hub(0x0000), 
nVidia(0x0000), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
 port 3 addr 126: high speed, self powered, config 1, product 0x0901(0x0901), 
Western Digital(0x1058), rev 2.06
   umass1
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
 port 9 powered
 port 10 powered

## END USBDEVS -d -v ##

It hung for a bit just after "Controller /dev/usb1:" just before it printed 
the western digital stuff... it seems like it's having a really hard time 
with this in general. (Lots of timeouts?)

If there is any other debug info I can give please let me know - the umass 
stuff seems pretty problematic in general, so getting any kinks out of it 
would be great :)

(We'll combat the issue of unmounting a mounted umass device after it's 
already been removed another day!)

--
Regards,
Chris Gilbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611010328.59964.Chris>