Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time

2009-08-15 Thread Dan Naumov
The following reply was made to PR kern/124130; it has been noted by GNATS.

From: Dan Naumov dan.nau...@gmail.com
To: bug-follo...@freebsd.org, k...@vodka-pomme.net
Cc:  
Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were 
present at boot time
Date: Sat, 15 Aug 2009 09:33:39 +0300

 This is not gmirror nor GEOM problem. The disks presented by umass
 cannot be properly accessed by GEOM classes, so they can't detect
 their metadata.
 
 Err, what? If GEOM classes cannot properly access disks presented by
 umass, it's precisely a GEOM problem.
 
 - Sincerely,
 Dan Naumov
___
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


usb/137789: Add quirks for EeePC 901 SD card reader

2009-08-15 Thread OISHI Masakuni

Number: 137789
Category:   usb
Synopsis:   Add quirks for EeePC 901 SD card reader
Confidential:   no
Severity:   non-critical
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  change-request
Submitter-Id:   current-users
Arrival-Date:   Sat Aug 15 06:50:04 UTC 2009
Closed-Date:
Last-Modified:
Originator: OISHI Masakuni
Release:FreeBSD 8.0-BETA2 i386
Organization:
Environment:
Description:
When I use ZFS, Synchronize cache failed error occurs repeatedly.

 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status 
 == 0x0
How-To-Repeat:

Fix:
Add quirks NO_TEST_UNIT_READY and NO_SYNCHRONIZE_CACHE.

Patch attached with submission follows:

--- sys/dev/usb/storage/umass.c.orig2009-06-27 06:47:37.0 +0900
+++ sys/dev/usb/storage/umass.c 2009-08-15 15:15:24.427911742 +0900
@@ -412,6 +412,10 @@
UMASS_PROTO_DEFAULT,
NO_SYNCHRONIZE_CACHE
},
+   {USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_SDCR_6335, RID_WILDCARD,
+   UMASS_PROTO_DEFAULT,
+   NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
+   },
{USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_AU6390, RID_WILDCARD,
UMASS_PROTO_DEFAULT,
NO_SYNCHRONIZE_CACHE
--- sys/dev/usb/usbdevs.orig2009-07-31 03:53:06.0 +0900
+++ sys/dev/usb/usbdevs 2009-08-15 15:15:24.408907930 +0900
@@ -820,6 +820,7 @@
 /* Alcor Micro, Inc. products */
 product ALCOR2 KBD_HUB 0x2802  Kbd Hub
 
+product ALCOR SDCR_63350x6335  SD/MMC Card Reader
 product ALCOR TRANSCEND0x6387  Transcend JetFlash Drive
 product ALCOR MA_KBD_HUB   0x9213  MacAlly Kbd Hub
 product ALCOR AU9814   0x9215  AU9814 Hub


Release-Note:
Audit-Trail:
Unformatted:
___
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


[8-current] kernel panic at boot time with some USB device

2009-08-15 Thread MIHIRA Sanpei Yoshiro
Hi.

I tested 8-current(csup's at 2009.08.15.00.00.00).

kernel panic at boot time with some USB device.

ugen0.2: C-Media Electronics Inc. at usbus0
uaudio0: C-Media Electronics Inc. USB PnP Audio Device, class 0/0, rev 
1.10/1.00, addr 2 on usbus0
panic: lock (sleep mutex) Giant not locked @ 
/usr/src-8-2/sys/dev/usb/usb_request.c:312
cpuid = 0
KDB: enter:panic
[thread pid 16 tid 100036 ]
Stpped at kdb_enter+0x3a: movl $0, kdb_why

jasmine# kldstat
Id Refs AddressSize Name
 1   29 0xc040 cfefd0   kernel
 21 0xc10ff000 11c00if_bge.ko
 31 0xc000 f6b8 snd_uaudio.ko
 43 0xc1121000 61f98sound.ko
 51 0xc1184000 bb44 ipmi.ko
 62 0xc119 2d0c smbus.ko
 71 0xc1193000 d90c cpufreq.ko

---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
___
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: False positive uipaq probe

2009-08-15 Thread Hans Petter Selasky
On Friday 14 August 2009 22:26:32 Alexander Motin wrote:
 Hi.

 USB-connected WM6 communicators are able to operate in two main comm
 modes: serial and RNDIS. That two modes reported with different device
 IDs. I have noticed that my HTC Prophet WM6 communicator started to
 behave wrong on recent CURRENT:

 uipaq0: HTC Generic RNDIS, class 239/1, rev 2.00/0.00, addr 2 on usbus3
 device_attach: uipaq0 attach returned 6
 uipaq0: HTC Generic RNDIS, class 239/1, rev 2.00/0.00, addr 2 on usbus3
 device_attach: uipaq0 attach returned 6

 As soon as uipaq is a kind of serial driver, it should not attach to
 RNDIS device.

Can you provide output from usbconfig -u XXX -a YYY dump_device_desc 
dump_curr_config_desc in the Serial and RNDIS case?

--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


Re: [8-current] kernel panic at boot time with some USB device

2009-08-15 Thread Hans Petter Selasky
On Saturday 15 August 2009 11:44:51 MIHIRA Sanpei Yoshiro wrote:
 Hi.

 I tested 8-current(csup's at 2009.08.15.00.00.00).

 kernel panic at boot time with some USB device.

 ugen0.2: C-Media Electronics Inc. at usbus0
 uaudio0: C-Media Electronics Inc. USB PnP Audio Device, class 0/0, rev
 1.10/1.00, addr 2 on usbus0 panic: lock (sleep mutex) Giant not locked @
 /usr/src-8-2/sys/dev/usb/usb_request.c:312 cpuid = 0
 KDB: enter:panic
 [thread pid 16 tid 100036 ]
 Stpped at kdb_enter+0x3a: movl $0, kdb_why


Hi,

This issue should have been solved, but it looks like not committed to 8-
current yet.

Try fetching latest uaudio.c from USB P4:

http://perforce.freebsd.org/chv.cgi?CH=167030
http://perforce.freebsd.org/chv.cgi?CH=167032

--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