9.1 USB flash drive: Medium not present

Greg Miller greglmiller at gmail.com
Sun Aug 26 03:43:41 UTC 2012


I csup'd to RELENG_9_1, and ran into a new regression (relative to 9.0p3).

When I connect my PNY flash drive, I get this:

ugen0.3: <PNY> at usbus0
umass2: <PNY USB 2.0 FD, class 0/0, rev 2.00/2.00, addr 3> on usbus0
umass2:  SCSI over Bulk-Only; quirks = 0x4100
umass2:5:2:-1: Attached to scbus5
da2 at umass-sim2 bus 2 scbus5 target 0 lun 0
da2: <PNY USB 2.0 FD 8.02> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: UNIT ATTENTION, Medium not present

My full dmesg is as follows:

Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-PRERELEASE #22: Sat Aug 11 17:50:08 CDT 2012
    root at desktop.resnet.tntech.edu:/usr/obj/usr/src/sys/CUSTOM amd64
CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (3399.70-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x206a7  Family = 6  Model = 2a  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x1f9ae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8208252928 (7828 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  6
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <ALASKA A M I> on motherboard
ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110527/psargs-392)
ACPI Exception: AE_NOT_FOUND, Could not execute arguments for [RAMW]
(Region) (20110527/nsinit-380)
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem
0xf8000000-0xf9ffffff,0xe8000000-0xefffffff,0xf0000000-0xf3ffffff irq
16 at device 0.0 on pci1
nvidia0: <GeForce GTX 550 Ti> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
hdac0: <NVIDIA GT116 HDA Controller> mem 0xfa080000-0xfa083fff irq 17
at device 0.1 on pci1
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfa307000-0xfa3073ff
irq 23 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
hdac1: <Intel Cougar Point HDA Controller> mem 0xfa300000-0xfa303fff
irq 22 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci6: <ACPI PCI bus> on pcib6
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfa200000-0xfa207fff
irq 17 at device 0.0 on pci6
xhci0: 32 byte context size.
usbus1 on xhci0
pcib7: <ACPI PCI-PCI bridge> irq 18 at device 28.6 on pci0
pci7: <ACPI PCI bus> on pcib7
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
0xd000-0xd0ff mem 0xf4104000-0xf4104fff,0xf4100000-0xf4103fff irq 18
at device 0.0 on pci7
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 14:da:e9:f4:8c:58
pcib8: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> irq 17 at device 0.0 on pci8
pci9: <ACPI PCI bus> on pcib9
ath0: <Atheros 2413> mem 0xfa100000-0xfa10ffff irq 17 at device 2.0 on pci9
ath0: AR2413 mac 7.8 RF2413 phy 4.5
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfa306000-0xfa3063ff
irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Cougar Point AHCI SATA controller> port
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f
mem 0xfa305000-0xfa3057ff irq 20 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcd7ff on isa0
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
ctl: CAM Target Layer loaded
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
ZFS filesystem version 5
ZFS storage pool version 28
Timecounters tick every 10.000 msec
vboxdrv: fAsync=0 offMin=0x200 offMax=0x3d8
hdacc0: <NVIDIA (0x0015) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0015) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0015) (HDMI/DP 8ch)> at nid 5 on hdaa0
hdacc1: <NVIDIA (0x0015) HDA CODEC> at cad 1 on hdac0
hdaa1: <NVIDIA (0x0015) Audio Function Group> at nid 1 on hdacc1
pcm1: <NVIDIA (0x0015) (HDMI/DP 8ch)> at nid 5 on hdaa1
hdacc2: <NVIDIA (0x0015) HDA CODEC> at cad 2 on hdac0
hdaa2: <NVIDIA (0x0015) Audio Function Group> at nid 1 on hdacc2
pcm2: <NVIDIA (0x0015) (HDMI/DP 8ch)> at nid 5 on hdaa2
hdacc3: <NVIDIA (0x0015) HDA CODEC> at cad 3 on hdac0
hdaa3: <NVIDIA (0x0015) Audio Function Group> at nid 1 on hdacc3
pcm3: <NVIDIA (0x0015) (HDMI/DP 8ch)> at nid 5 on hdaa3
hdacc4: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa4: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc4
pcm4: <Realtek ALC887 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and
24,26 on hdaa4
pcm5: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa4
pcm6: <Realtek ALC887 (Rear Digital)> at nid 30 on hdaa4
pcm7: <Realtek ALC887 (Onboard Digital)> at nid 17 on hdaa4
usbus0: 480Mbps High Speed USB v2.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <0x1b21> at usbus1
uhub1: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub1: 4 ports with 4 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
ugen0.2: <vendor 0x8087> at usbus0
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr
2> on usbus0
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr
2> on usbus2
ugen1.2: <BUFFALO> at usbus1
umass0: <BUFFALO HD-LBU3, class 0/0, rev 3.00/0.01, addr 1> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:3:0:-1: Attached to scbus3
uhub3: 6 ports with 6 removable, self powered
uhub4: 8 ports with 8 removable, self powered
(probe1:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0
(probe1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe1:umass-sim0:0:0:0): SCSI status: Check Condition
(probe1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0
(Invalid command operation code)
(probe1:umass-sim0:0:0:0): Error 22, Unretryable error
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <SAMSUNG HD103SJ 1AJ10001> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
cd0 at ahcich2 bus 0 scbus1 target 0 lun 0
cd0: <TSSTcorp CDDVDW SH-S203N SB01> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, SMP: AP CPU #2 Launched!
ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <BUFFALO External HDD 0001> Fixed Direct Access SCSI-5 device
da0: 400.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)
Timecounter "TSC-low" frequency 13280068 Hz quality 1000
ugen2.3: <vendor 0x05e3> at usbus2
uhub5: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/9.01, addr 3> on usbus2
uhub5: 4 ports with 4 removable, self powered
Root mount waiting for: usbus2
ugen2.4: <HP> at usbus2
ulpt0: <HP Officejet Pro 8500 A909a, class 0/0, rev 2.00/1.00, addr 4> on usbus2
ulpt0: using bi-directional mode
umass1: <HP Officejet Pro 8500 A909a, class 0/0, rev 2.00/1.00, addr
4> on usbus2
umass1:  SCSI over Bulk-Only; quirks = 0x0000
umass1:4:1:-1: Attached to scbus4
(probe0:umass-sim1:1:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0
(probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error
(probe0:umass-sim1:1:0:0): SCSI status: Check Condition
(probe0:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0
(Invalid command operation code)
(probe0:umass-sim1:1:0:0): Error 22, Unretryable error
da1 at umass-sim1 bus 1 scbus4 target 0 lun 0
da1: <HP Officejet Pro 85 1.00> Removable Direct Access SCSI-5 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
Root mount waiting for: usbus2
ugen2.5: <vendor 0x046d> at usbus2
uaudio0: <vendor 0x046d product 0x081b, class 239/2, rev 2.00/0.10,
addr 5> on usbus2
uaudio0: No playback.
uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format.
uaudio0: No midi sequencer.
pcm8: <USB audio> on uaudio0
Trying to mount root from zfs:zroot []...


More information about the freebsd-stable mailing list