Re: Failed to read CSW: USB_ERR_STALLED

2013-03-04 Thread Hans Petter Selasky
On Saturday 02 March 2013 09:54:02 Krzysztof Parzyszek wrote:
 Here's the beginning of dmesg:
 
 Copyright (c) 1992-2013 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-STABLE #6 r247608: Fri Mar  1 21:27:49 CST 2013
  root@apple5:/usr/obj/usr/src/sys/APPLE5 powerpc
 cpu0: IBM PowerPC 970MP revision 1.1, 2500.32 MHz
 cpu0: Features dc00PPC32,PPC64,ALTIVEC,FPU,MMU
 cpu0: HID0 1511081DEEPNAP,NAP,DPM,NHR,TBEN,ENATTN
 real memory  = 17159626752 (16364 MB)
 avail memory = 16319057920 (15563 MB)
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0: dev=ff89d680 (BSP)
 cpu1: dev=ff89eb70
 cpu2: dev=ff89f248
 cpu3: dev=ff89f920
 kbd0 at kbdmux0
 nexus0: Open Firmware Nexus device
 cpulist0: Open Firmware CPU Group on nexus0
 cpu0: Open Firmware CPU on cpulist0
 pcr0: PPC 970 Power Control Register on cpu0
 cpu1: Open Firmware CPU on cpulist0
 pcr1: PPC 970 Power Control Register on cpu1
 cpu2: Open Firmware CPU on cpulist0
 pcr2: PPC 970 Power Control Register on cpu2
 cpu3: Open Firmware CPU on cpulist0
 pcr3: PPC 970 Power Control Register on cpu3
 powermac_nvram0: Apple NVRAM on nexus0
 powermac_nvram0: bank0 generation 736, bank1 generation 737
 unin0: Apple UniNorth System Controller on nexus0
 unin0: Version 66
 iichb0: Keywest I2C controller mem 0xf8001000-0xf8001fff irq 0 on unin0
 iicbus0: OFW I2C bus on iichb0
 iicbus0: unknown card at addr 0x94
 iicbus0: unknown card at addr 0x96
 iicbus0: unknown card at addr 0x98
 iicbus0: unknown card at addr 0x9c
 htpic0: OpenPIC Interrupt Controller mem 0xf804-0xf807 on unin0
 pcib0: IBM CPC945 PCI Express Root on nexus0
 pci0: OFW PCI bus on pcib0
 pcib1: IBM CPC9X5 HyperTransport Tunnel on nexus0
 pcib1: 86 HT IRQs on device 7.0
 pci1: OFW PCI bus on pcib1
 pcib1: Enabling MSI window for HyperTransport slave at pci1:0:1:0
 pcib2: OFW PCI-PCI bridge at device 1.0 on pci1
 pci2: OFW PCI bus on pcib2
 pcib3: OFW PCI-PCI bridge at device 2.0 on pci1
 pci3: OFW PCI bus on pcib3
 bge0: Broadcom BCM5714 B3, ASIC rev. 0x008003 mem
 0xfa53-0xfa53,0xfa52-0xfa52 irq 66 at device 4.0 on pci3
 bge0: CHIP ID 0x8003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz
 miibus0: MII bus on bge0
 brgphy0: BCM5780 1000BASE-T media interface PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 bge0: Ethernet address: 00:16:cb:37:e2:e0
 bge1: Broadcom BCM5714 B3, ASIC rev. 0x008003 mem
 0xfa51-0xfa51,0xfa50-0xfa50 irq 67 at device 4.1 on pci3
 bge1: CHIP ID 0x8003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz
 miibus1: MII bus on bge1
 brgphy1: BCM5780 1000BASE-T media interface PHY 1 on miibus1
 brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 bge1: Ethernet address: 00:16:cb:37:e2:e1
 pcib4: OFW PCI-PCI bridge at device 3.0 on pci1
 pci4: OFW PCI bus on pcib4
 pcib5: OFW PCI-PCI bridge at device 4.0 on pci1
 pci5: OFW PCI bus on pcib5
 pcib6: OFW PCI-PCI bridge at device 5.0 on pci1
 pci6: OFW PCI bus on pcib6
 vgapci0: VGA-compatible display mem
 0x8200-0x82ff,0x8800-0x8fff,0x8100-0x81ff irq 63
 at device 0.0 on pci6
 pcib7: OFW PCI-PCI bridge at device 6.0 on pci1
 pci7: OFW PCI bus on pcib7
 pcib8: OFW PCI-PCI bridge at device 7.0 on pci1
 pci8: OFW PCI bus on pcib8
 gem0: Apple Shasta GMAC Ethernet mem 0xfa20-0xfa3f at device
 15.0 on pci8
 gem0: failed to allocate resources
 device_attach: gem0 attach returned 6
 pcib9: OFW PCI-PCI bridge at device 8.0 on pci1
 pci9: OFW PCI bus on pcib9
 macio0: Shasta I/O Controller mem 0x8000-0x8007 at device 7.0
 on pci9
 macgpio0: MacIO GPIO Controller mem 0x50-0x8a on macio0
 scc0: Zilog Z8530 dual channel SCC mem
 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff
 irq 23,17,18,24,19,20 on macio0
 uart0: z8530, channel A on scc0
 uart1: z8530, channel B on scc0
 iichb1: Keywest I2C controller mem 0x18000-0x18fff irq 27 on macio0
 iicbus1: OFW I2C bus on iichb1
 iicbus1: unknown card at addr 0x8c
 iicbus1: unknown card at addr 0x24
 ohci0: NEC uPD 9210 USB controller mem 0x80082000-0x80082fff irq 70 at
 device 11.0 on pci9
 usbus0 on ohci0
 ohci1: NEC uPD 9210 USB controller mem 0x80081000-0x80081fff irq 70 at
 device 11.1 on pci9
 usbus1 on ohci1
 ehci0: NEC uPD 720100 USB 2.0 controller mem 0x8008-0x800800ff irq
 70 at device 11.2 on pci9
 usbus2: EHCI version 1.0
 usbus2 on ehci0
 pcib10: OFW PCI-PCI bridge at device 9.0 on pci1
 pci10: OFW PCI bus on pcib10
 atapci0: ServerWorks K2 SATA150 controller mem 0xfa402000-0xfa403fff
 irq 10 at device 12.0 on pci10
 pcib1: failed to reserve resource for pcib10
 atapci0: 0x10 bytes of 

Current problem reports assigned to freebsd-usb@FreeBSD.org

2013-03-04 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o usb/176417   usb[xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usbdetaching USB keyboard freezes other USB keyboards
o usb/175639   usbnot detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb[usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usbSeagate 2TB USB extern hard disk have errors with Free
o usb/175454   usbupdate usbdevs and usb_quirk.c for SanDisk SDDR-289
o usb/175379   usbusb card-reader problem
o usb/175302   usbdon't mount virtual driver CD for my phone
o usb/174963   usbbuffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usbuaudio fails to create pcm/dsp device file
o usb/174814   usb[PATCH] support for MiFi 2200
o usb/174695   usbusb keeps disconnecting mouse or keyboard
o usb/174575   usbInterrupt storm error on startup
o usb/174464   usbclone MAC address(es) on usb networks cdce(4)  ue[0-
o usb/174254   usbMIDI keyboard not recognised
o usb/173722   usb[xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usbLG USB DVD-RW USB STALL
o usb/173182   usbusbus appears as a network device
o usb/172937   usbFreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usbSony Cybershot not recognized as USB mem stick
o usb/172199   usb[xhci] high interrupts load xhci
o usb/171354   usb[umass] Medium not present error on flash drive [regre
o usb/171262   usbplug in sdhc via usb reader reboots machine
o usb/171197   usbADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usbFreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usbpatch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usbr239222 kernel panic at boot - usb locking issue
o usb/170358   usb[ums] Wrong (duplicate) button numbers
o usb/170123   usb[umass] HP v210w USB stick not supported
o usb/169935   usb[keyboard] Unable use USB keyboard while panic
o usb/169789   usb[u3g] [patch] add support for huawei e3131
o usb/169461   usb[ugen] USB2 high-speed device detected as full speed
o usb/169428   usb[ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb[umass] Issues with embedded card reader (Laptop ASUS 
o usb/168132   usb[umass] MATSHITA memory card size reported wrong, moun
o usb/167847   usb[ural] dlink dwl-122g e crashes(?) when trying wap2 cr
o usb/167001   usb[USB] [PATCH] add support for Smart G2 64MB memory key
o usb/165815   usb[usbdevs] [patch] add k3772z 3g modem support
o usb/165163   usb[keyboard] The USB RF keyboard and mouse become non-re
o usb/164058   usb[umass] Lexar 8GB USB flash drive doesn't work by defa
f usb/163328   usb[usb] Support for Atheros USB abgn devices
o kern/163091  usb[panic] Fatal trap 12: page fault while in kernel mode
f usb/162306   usbusb devices cant get address asignation, no memories, 
o usb/162054   usbusbdump just hangs on 9.0-RC1
f usb/161793   usbpoor EHCI usb2 i/o performance
o usb/160436   usbucom wedges machine on parity error ?
o usb/160299   usbMicroSDHC-to-USB adapters do not work in FreeBSD 8.x
o usb/160192   usb[install] Installation from USB-Stick doesn't find the
o usb/159274   usbUSB 3.0 Etron EJ168A does not work.
f usb/159191   usb[fusefs-ntfs] write on fusefs-ntfs mounted partition r
o usb/157376   usbLaCie USB disk not recognized
o usb/157074   usb[boot] [usb8] vfs_mountroot_ask is called when no usb 
o usb/156898   usb[keyboard] usb keyboard does not work while boot (ps2 
f usb/156735   usbNeed Quirk for Goflex USB Disk Drives
o usb/156726   usb[snd_uaudio]: snd_uaudio(4) fails to detach when mixer
o usb/156725   usbUSB stack stall cause complete system input loss
o usb/156596   usb[ehci] Extremely high interrupt rate on ehci/uhci IRQ1
o usb/156000   usbrum(4) Fatal trap 18: integer divide fault while in ke
f usb/155996   usbNanoBSD not booted as Disk
o usb/155784   usbProblem with Transcend StoreJet 25M3 (2AJ1) on Asus M2
o usb/155663   usb[usbdevs] [patch] Add support for Supertop Nano 1GB US
o usb/154753   usb[usbdevs] [patch] Support for Qualcomm USB modem/stora
o usb/154506   usb[umass] Copying dir with large files makes FreeBSD loa

Re: Failed to read CSW: USB_ERR_STALLED

2013-03-04 Thread Krzysztof Parzyszek

On 3/4/2013 2:20 AM, Hans Petter Selasky wrote:


Looks like your device is not complying to SCSI standards??

Try this:

usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY

Replug your device.


Thanks.  I will try it tonight.  The device is a Mediasonic 4-bay 
enclosure (which apparently do have buggy USB3 implementation).


What is surprising to me is that this combination (i.e. this device with 
USB2) worked before, and now it doesn't.  I've found some other threads 
related to similar umass issues, and in one of them someone described a 
case of a memory stick which worked with FreeBSD, but after being used 
with Linux or Windows, it would no longer work with the same FreeBSD 
machine.  Do devices retain some sort of modifiable configuration data 
even after power-off?


-Krzysztof

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Failed to read CSW: USB_ERR_STALLED

2013-03-04 Thread Hans Petter Selasky

On 03/04/13 16:46, Krzysztof Parzyszek wrote:

On 3/4/2013 2:20 AM, Hans Petter Selasky wrote:


Looks like your device is not complying to SCSI standards??

Try this:

usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY

Replug your device.


Thanks.  I will try it tonight.  The device is a Mediasonic 4-bay
enclosure (which apparently do have buggy USB3 implementation).

What is surprising to me is that this combination (i.e. this device with
USB2) worked before, and now it doesn't.  I've found some other threads
related to similar umass issues, and in one of them someone described a
case of a memory stick which worked with FreeBSD, but after being used
with Linux or Windows, it would no longer work with the same FreeBSD
machine.  Do devices retain some sort of modifiable configuration data
even after power-off?

-Krzysztof


Hi,

Maybe you could reproduce that connecting your device through a 
so-called USB analyzer. Beagle sell cheap ones. If the device behaves 
differently when connected to for example FreeBSD after being plugged 
into another OS, would be interesting to know.


It is up to the manufacturer what they allow or not. Some flash sticks 
contain reprogrammable parts others do not.


--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org