Re: [xhci] USB 3.0 not working, bug or feature usb/179342?

2014-03-29 Thread Andrey Fesenko
On Sat, Mar 29, 2014 at 4:37 AM, Andrey Fesenko f0and...@gmail.com wrote:
 and USB3 flash drive
 ugen2.4: Kingston DataTraveler 3.0 PMAP at usbus2, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=ON (498mA)
 full list http://pastie.org/8963116

I apologize for panic after additional searches proper BIOS
configuration able to identify flash drive as USB3

ugen0.2: DataTraveler 3.0 Kingston at usbus0, cfg=0 md=HOST
spd=SUPER (5.0Gbps) pwr=ON (224mA)

while writing speed test file with ramdisk is almost unchanged :(

# dd if=/dev/random of=/mnt/ramdisck/test.file bs=10m count=198
2076180480 bytes transferred in 28.443097 secs (72994178 bytes/sec)
# dd if=/mnt/ramdisck/test.file of=/mnt/usb3/test.file bs=10m
count=198
2076180480 bytes transferred in 222.810014 secs (9318165 bytes/sec)
# dd if=/mnt/ramdisck/test.file of=/mnt/usb2/test.file bs=10m
count=198
2076180480 bytes transferred in 248.585099 secs (8351991 bytes/sec)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [xhci] USB 3.0 not working, bug or feature usb/179342?

2014-03-29 Thread Adrian Chadd
Try read tests?

Adrian
 On Mar 29, 2014 10:20 AM, Andrey Fesenko f0and...@gmail.com wrote:

 On Sat, Mar 29, 2014 at 4:37 AM, Andrey Fesenko f0and...@gmail.com
 wrote:
  and USB3 flash drive
  ugen2.4: Kingston DataTraveler 3.0 PMAP at usbus2, cfg=0 md=HOST
  spd=HIGH (480Mbps) pwr=ON (498mA)
  full list http://pastie.org/8963116

 I apologize for panic after additional searches proper BIOS
 configuration able to identify flash drive as USB3

 ugen0.2: DataTraveler 3.0 Kingston at usbus0, cfg=0 md=HOST
 spd=SUPER (5.0Gbps) pwr=ON (224mA)

 while writing speed test file with ramdisk is almost unchanged :(

 # dd if=/dev/random of=/mnt/ramdisck/test.file bs=10m count=198
 2076180480 bytes transferred in 28.443097 secs (72994178 bytes/sec)
 # dd if=/mnt/ramdisck/test.file of=/mnt/usb3/test.file bs=10m
 count=198
 2076180480 bytes transferred in 222.810014 secs (9318165 bytes/sec)
 # dd if=/mnt/ramdisck/test.file of=/mnt/usb2/test.file bs=10m
 count=198
 2076180480 bytes transferred in 248.585099 secs (8351991 bytes/sec)
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

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


Re: [xhci] USB 3.0 not working, bug or feature usb/179342?

2014-03-29 Thread Andrey Fesenko
On Sat, Mar 29, 2014 at 9:46 PM, Adrian Chadd adr...@freebsd.org wrote:
 Try read tests?

 Adrian

 On Mar 29, 2014 10:20 AM, Andrey Fesenko f0and...@gmail.com wrote:

 On Sat, Mar 29, 2014 at 4:37 AM, Andrey Fesenko f0and...@gmail.com
 wrote:
  and USB3 flash drive
  ugen2.4: Kingston DataTraveler 3.0 PMAP at usbus2, cfg=0 md=HOST
  spd=HIGH (480Mbps) pwr=ON (498mA)
  full list http://pastie.org/8963116

 I apologize for panic after additional searches proper BIOS
 configuration able to identify flash drive as USB3

 ugen0.2: DataTraveler 3.0 Kingston at usbus0, cfg=0 md=HOST
 spd=SUPER (5.0Gbps) pwr=ON (224mA)

 while writing speed test file with ramdisk is almost unchanged :(

 # dd if=/dev/random of=/mnt/ramdisck/test.file bs=10m count=198
 2076180480 bytes transferred in 28.443097 secs (72994178 bytes/sec)
 # dd if=/mnt/ramdisck/test.file of=/mnt/usb3/test.file bs=10m
 count=198
 2076180480 bytes transferred in 222.810014 secs (9318165 bytes/sec)
 # dd if=/mnt/ramdisck/test.file of=/mnt/usb2/test.file bs=10m
 count=198
 2076180480 bytes transferred in 248.585099 secs (8351991 bytes/sec)


# dd if=/mnt/usb2/test.file of=/mnt/ramdisck/test.file bs=10m count=198
2076180480 bytes transferred in 1.354000 secs (1533368050 bytes/sec)

# dd if=/mnt/usb3/test.file of=/mnt/ramdisck/test.file bs=10m
count=198
2076180480 bytes transferred in 1.498134 secs (1385844184 bytes/sec)

probably need to try something different as tested.
flash spec http://www.kingston.com/datasheets/dt100g3_us.pdf only
10MB/ sec.* write :)

Strangely, the flash drive is not always defined, after mount USB2
mode it took two times reboot :(

on the notebook USB2-only USB (UFS) - SSD (ZFS)
# dd if=/mnt/usb3/test.file of=/tank/test.file bs=10m count=198
2076180480 bytes transferred in 57.370256 secs (36189144 bytes/sec)
# dd if=/tank/test.file of=/mnt/usb3/test.file bs=10m count=198
2076180480 bytes transferred in 245.685052 secs (8450577 bytes/sec)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[xhci] USB 3.0 not working, bug or feature usb/179342?

2014-03-28 Thread Andrey Fesenko
# uname -a
FreeBSD desktop.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263711:
Tue Mar 25 15:49:11 MSK 2014
root@desktop.local:/usr/obj/usr/src/sys/MY_DES  amd64

usbconfig list | grep 5.0Gbps
ugen0.1: XHCI root HUB 0x8086 at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)

and USB3 flash drive
ugen2.4: Kingston DataTraveler 3.0 PMAP at usbus2, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (498mA)
full list http://pastie.org/8963116

dmesg debug mode
xhci0: Intel Lynx Point USB 3.0 controller mem 0xf042-0xf042 irq 16 at
device 20.0 on pci0
xhci0: attempting to allocate 1 MSI vectors (8 supported)
msi: routing MSI IRQ 265 to local APIC 0 vector 60
xhci0: using IRQ 265 for MSI
xhci0: MSI enabled
xhci0: 32 byte context size.
xhci0: Port routing mask set to 0x
usbus0 on xhci0
xhci0: usbpf: Attached
...
uhub0: 21 ports with 21 removable, self powered
Root mount waiting for: usbus0
xhci0: Port routing mask set to 0x
usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored)
ugen0.2: Unknown at usbus0 (disconnected)
uhub_reattach_port: could not allocate new device
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org