From owner-freebsd-usb@FreeBSD.ORG  Sun Aug 19 11:13:46 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E56C316A418
	for <freebsd-usb@freebsd.org>; Sun, 19 Aug 2007 11:13:46 +0000 (UTC)
	(envelope-from paulburkhardt@verizon.net)
Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48])
	by mx1.freebsd.org (Postfix) with ESMTP id C6BA113C461
	for <freebsd-usb@freebsd.org>; Sun, 19 Aug 2007 11:13:46 +0000 (UTC)
	(envelope-from paulburkhardt@verizon.net)
Received: from PaulStudy ([70.109.172.113])
	by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01
	(built Apr
	3 2006)) with ESMTPA id <0JN0001CPPUPVLB3@vms048.mailsrvcs.net> for
	freebsd-usb@freebsd.org; Sun, 19 Aug 2007 06:13:46 -0500 (CDT)
Date: Sun, 19 Aug 2007 07:13:35 -0400
From: "Paul Burkhardt" <paulburkhardt@verizon.net>
To: <freebsd-usb@freebsd.org>
Message-id: <009501c7e251$fcf37330$0201a8c0@PaulStudy>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Mailer: Microsoft Office Outlook 11
Thread-index: AcfiUfwx0UN5tgR/TPO9QTKksQCiWA==
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Subject: usb/99419: external usb harddrive slow to accept
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Aug 2007 11:13:47 -0000

Hi,

 

            I'm trying to locate some instructions on how to dismantle the
wd25001032 model external Drive.  Western Digital has been no help
whatsoever.  I noticed your posting  (see below) and was wondering if you
have any idea where I could find this information.

 

http://lists.freebsd.org/pipermail/freebsd-usb/2006-June/002350.html

 

            Thanks in advance for your response.

 

Regards,

 

Paul

 


From owner-freebsd-usb@FreeBSD.ORG  Sun Aug 19 16:21:48 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 49F2016A41A;
	Sun, 19 Aug 2007 16:21:48 +0000 (UTC) (envelope-from
	SRS0=P54RWd=NQ=vvelox.net=v.velox@yourhostingaccount.com)
Received: from mailout15.yourhostingaccount.com
	(mailout15.yourhostingaccount.com [65.254.253.125])
	by mx1.freebsd.org (Postfix) with ESMTP id 1AAB813C47E;
	Sun, 19 Aug 2007 16:21:48 +0000 (UTC) (envelope-from
	SRS0=P54RWd=NQ=vvelox.net=v.velox@yourhostingaccount.com)
Received: from mailscan05.yourhostingaccount.com ([10.1.15.5]
	helo=mailscan05.yourhostingaccount.com)
	by mailout15.yourhostingaccount.com with esmtp (Exim)
	id 1IMn3C-0004Bq-Ny; Sun, 19 Aug 2007 11:50:50 -0400
Received: from impout03.yourhostingaccount.com ([10.1.55.3]
	helo=impout03.yourhostingaccount.com)
	by mailscan05.yourhostingaccount.com with esmtp (Exim)
	id 1IMn3C-0004Nr-Jv; Sun, 19 Aug 2007 11:50:50 -0400
Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9])
	by impout03.yourhostingaccount.com with NO UCE
	id drqq1X0010BkWne0000000; Sun, 19 Aug 2007 11:50:50 -0400
X-EN-OrigOutIP: 10.1.18.9
X-EN-IMPSID: drqq1X0010BkWne0000000
Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44]
	helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim)
	id 1IMn3C-0007Jq-9R; Sun, 19 Aug 2007 11:50:50 -0400
Date: Sun, 19 Aug 2007 11:53:38 -0400
From: "Zane C.B." <v.velox@vvelox.net>
To: "G. Mirov" <g.mirov@gmail.com>
Message-ID: <20070819115338.64128f1b@vixen42>
In-Reply-To: <c9f2cce70708130917x38480cd7g5d946a508d94b2e3@mail.gmail.com>
References: <c9f2cce70708130917x38480cd7g5d946a508d94b2e3@mail.gmail.com>
X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc
X-EN-AuthUser: vvelox2
Sender: "Zane C.B." <v.velox@vvelox.net>
X-EN-OrigIP: 24.93.100.44
X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com
Cc: freebsd-usb@freebsd.org, freebsd-hardware@freebsd.org
Subject: Re: Recommended IDE-to-USB bridge chipsets and hard drive
 enclosures?
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Aug 2007 16:21:48 -0000

On Mon, 13 Aug 2007 18:17:46 +0200
"G. Mirov" <g.mirov@gmail.com> wrote:

> Hi All,
> 
> which of the supported IDE-to-USB (USB-to-IDE) bridge chipsets work
> best with FreeBSD 4.x and 6.x?
> 
> Which external IDE-to-USB hard drive enclosures (caddies, cases)
> would you recommend?
> 
> Does anyone here use an Icy Box IC-351U with FreeBSD? What chipset
> is it based on?
> 
> I've been searching for information on a reliable supported chipset
> with decent performance in an enclosure that does not overheat
> easily, but sadly haven't found the answers I need, therefore any
> recommendation from personal experience will be welcome. Thank you.

As far as I know, practically any should work. You just need to have
umass loaded.

From owner-freebsd-usb@FreeBSD.ORG  Mon Aug 20 11:08:41 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4D0A716A4F2
	for <freebsd-usb@FreeBSD.org>; Mon, 20 Aug 2007 11:08:41 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 37DF913C4B6
	for <freebsd-usb@FreeBSD.org>; Mon, 20 Aug 2007 11:08:41 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KB8fhm087602
	for <freebsd-usb@FreeBSD.org>; Mon, 20 Aug 2007 11:08:41 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7KB8dYe087598
	for freebsd-usb@FreeBSD.org; Mon, 20 Aug 2007 11:08:39 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 20 Aug 2007 11:08:39 GMT
Message-Id: <200708201108.l7KB8dYe087598@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
	owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@FreeBSD.org>
To: freebsd-usb@FreeBSD.org
Cc: 
Subject: Current problem reports assigned to you
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Aug 2007 11:08:42 -0000

Current FreeBSD problem reports
Critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o usb/84750    usb        [hang] 6-BETA2 reboot/shutdown with root_fs on externa
o usb/91629    usb        usbd_abort_pipe() may result in infinite loop

2 problems total.

Serious problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o usb/46176    usb        [panic] umass causes kernel panic if device removed be
o i386/46371   usb        USB controller cannot be initialized on IBM Netfinity 
o usb/57085    usb        [umass] umass0 problems, with Sony Vio/USB memory stic
o bin/57255    usb        usbd and multi-function devices
o usb/62088    usb        [usb] Logitech Cordless/Optical Mouse not working
o usb/63621    usb        [usb] USB MemoryStick Reader stalls/crashes system
o usb/69006    usb        [patch] Apple Cinema Display hangs USB ports
o usb/71155    usb        [usb] misbehaving usb-printer hangs processes, causes 
o usb/73307    usb        [panic] Kernel panics on USB disconnect
o usb/74771    usb        [umass] mounting write-protected umass device as read/
o usb/75705    usb        [panic] da0 attach / Optio S4 (with backtrace)
o usb/75797    usb        5.3-STABLE(2005 1/4) detect USB headset, But can not f
o usb/76395    usb        USB printer does not work, usbdevs says "addr 0 should
o usb/77184    usb        [panic] kernel panic on USB device disconnect
o usb/77294    usb        [ulpcom] [panic] ucom + ulpcom panic
o usb/79269    usb        USB ohci da0 plug/unplug causes crashes and lockups.
o usb/79287    usb        [uhci] UHCI hang after interrupt transfer
o usb/79524    usb        printing to Minolta PagePro 1[23]xxW via USB fails wit
a usb/79656    usb        [usb] RHSC interrupts lost
o usb/79722    usb        [usb] wrong alignments in ehci.h
o usb/80040    usb        [hang] Use of sound mixer causes system freeze with ua
o usb/80361    usb        [patch] mounting of usb-stick fails
o usb/80829    usb        possible panic when loading USB-modules
o usb/80862    usb        [patch] USB locking issues: missing some Giant calls
o usb/82350    usb        [usb] null pointer dereference in USB stack
o usb/82520    usb        Reboot when USL101 connected
s usb/82569    usb        [usb] USB mass storage plug/unplug causes system panic
o usb/82660    usb        [umass] [panic] EHCI: I/O stuck in state 'physrd'/pani
o usb/83563    usb        [panic] Page Fault while detaching Mpman Usb device
o usb/83677    usb        [usb] usb controller often not detected (Sun W2100z)
o usb/83756    usb        [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83977    usb        [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/84326    usb        [umass] Panic trying to connect SCSI tape drive via US
o usb/84336    usb        [usb] [reboot] instant system reboot when unmounting a
o usb/86031    usb        need support usb nic rt2500 in my 5.4 STABLE
o usb/86767    usb        [usb] [patch] bogus "slice starts beyond end of the di
o usb/88743    usb        [hang] USB makes kernel hang at boot (regression in 6.
o usb/88966    usb        [modules] kldunload ucom.ko returns "Device busy" erro
o usb/89003    usb        LaCie Firewire drive not properly supported under 6.0
o usb/89954    usb        [usb] USB Disk driver race condition?
o usb/90700    usb        [umass] [panic] Kernel panic on connect/mount/use umas
o usb/91238    usb        [umass] USB tape unit fails to write a second tape fil
o usb/91283    usb        booting very slow with usb devices connection (regress
o usb/91538    usb        [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91906    usb        [hang] FreeBSD hangs while booting with USB legacy sup
o usb/92052    usb        [unlpt] usbd causes defunct process with busy file-han
o usb/92083    usb        [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92142    usb        SET_ADDR_FAILED and SHORT_XFER errors from usb drivers
o usb/92171    usb        [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/93155    usb        [ulpt] /dev/ulpt0: device busy, USB printer does not w
o usb/93408    usb        [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes 
o usb/93640    usb        [irq] device ehci causes interrupt storm on this MSI a
o usb/93828    usb        [panic] ohci causes panic on boot (HP Pavillion d4100e
o usb/94166    usb        btx halted with a flashcard plugged
o usb/94384    usb        [panic] kernel panic with usb2 hardware
o usb/94717    usb        [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94813    usb        [umass] mounting write-protected umass device freezes 
o usb/94897    usb        [panic] Kernel Panic when cleanly unmounting USB disk
o usb/95131    usb        [install] Boot/setup process does not accept key strok
o usb/95348    usb        [kbd] USB keyboard unplug causes noise on screen
o usb/95562    usb        [umass] Write Stress in USB Mass drive causes "vinvalb
o usb/95636    usb        [boot] 5 minute delay at boot when using VT6205 based 
o usb/96120    usb        [mouse] USB mouse not always detected
o usb/96224    usb        [usb] mount_msdosfs cause page fault in syncer process
o usb/96457    usb        [panic] fatback on umass = reboot
o usb/97286    usb        [mouse] MS Wireless Intellimouse Explorer 2.0 doesn't 
o usb/99431    usb        [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d
o usb/101096   usb        [if_ural] [panic] USB WLAN occasionally causes kernel-
o usb/101448   usb        [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O
o usb/101752   usb        [umass] [panic] 6.1-RELEASE kernel panic on usb device
o usb/102066   usb        [ukbd] usb keyboard and multimedia keys don't work
o usb/102096   usb        [patch] /usr/sbin/usbd does not handle multiple device
o usb/103025   usb        [usb] wrong detection of USB device for FreeBSD 6.1 an
o usb/104292   usb        [hang] system lockup on forced umount of usb-storage d
o usb/104830   usb        [umass] system crashes when copying data to umass devi
o usb/105186   usb        USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box
o usb/106615   usb        [uftdi] uftdi module does not automatically load with 
o usb/106648   usb        [hang] USB Floppy on D1950 10 min Hang on Insert w/o F
o usb/106832   usb        USB HP printer is not detected by kernel when ACPI ena
o usb/107248   usb        [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP
o usb/107446   usb        [umass] umass problems (usb and fw disks)
o usb/107827   usb        [panic] ohci_add_done addr not found
o usb/107848   usb        [umass] cannot access Samsung flash disk
o usb/107924   usb        [patch] usbd(8) does not call detach
o usb/108513   usb        [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr
o usb/109274   usb        [usb] MCP55 USB Controller fails to attach in AMD64 Cu
o usb/109397   usb        [panic] on boot from USB flash
o usb/110856   usb        [ugen] [patch] interrupt in msgs are truncated when bu
o usb/110988   usb        [umass] [patch] Handling of quirk IGNORE_RESIDUE is um
o usb/111753   usb        [uhid] [panic] Replicable system panic involving UHID 
o usb/112568   usb        USB mode may wrong when mounting Playstation Pro
o usb/112631   usb        [panic] Problem with SONY DSC-S80 camera
o usb/112640   usb        [usb] [hang] Kernel freezes when writing a file to an 
o usb/113478   usb        [boot] FreeBSD could not start on Core2Duo notebook fr
o usb/113629   usb        [ukbd] Dropped USB keyboard events on Dell Latitude D6
o usb/113672   usb        [ehci] [panic] Kernel panic with AEWIN CB6971
o usb/113851   usb        [boot] Unable to boot install cd from USB-CDROM
o usb/113977   usb        [feature request] Need a way to set mode of USB disk's
o usb/114310   usb        [panic] USB hub attachment panics kernel during libusb
o usb/114682   usb        USB media-card reader unusable
o kern/114780  usb        [uplcom] [panic] Panics while stress testing the uplco
o usb/115298   usb        Turning off USB printer panics kernel

102 problems total.

Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o conf/30929   usb        [usb] [patch] use usbd to initialize USB ADSL modem
o usb/40948    usb        [usb] USB HP CDW8200 does not work
o usb/48342    usb        [PATCH] usbd dynamic device list.
f usb/51958    usb        [urio] [patch] update for urio driver
o usb/52026    usb        [usb] feature request: umass driver support for InSyst
o usb/56095    usb        [usb] [patch] QUIRK: Apacer Pen Drive fails to work
o usb/59698    usb        [kbd] [patch] Rework of ukbd HID to AT code translatio
o usb/62257    usb        [umass] card reader UCR-61S2B is only half-supported
o usb/63837    usb        [uhid] [patch] USB: hid_is_collection() only looks for
o usb/65769    usb        [usb] Call to tcflush(x, TCIFLUSH) stops input on usb-
o usb/66547    usb        [usb] Palm Tungsten T USB does not initialize correctl
o usb/68232    usb        [ugen] [patch] ugen(4) isochronous handling correction
o usb/70523    usb        [usb] [patch] umct sending/receiving wrong characters
o usb/71280    usb        [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71416    usb        [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71455    usb        [usb] Slow USB umass performance of 5.3
o usb/72380    usb        [usb] USB does not work [dual Celeron Abit]
o usb/72733    usb        Kyocera 7135 Palm OS connection problem.
o usb/73056    usb        [usb] Sun Microsystems Type 6 USB mouse not working in
o usb/74211    usb        [umass] USB flash drive causes CAM status 0x4 on 4.10R
f usb/74453    usb        [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chip
o usb/74557    usb        imation 500mb usb key can only be written halfway on f
o usb/75764    usb        [umass] [patch] "umass0: Phase Error" - no device for 
o usb/75800    usb        [ucom] ucom1: init failed STALLED error in time of syn
o usb/75928    usb        Cytronix SmartMedia card (SMC) reader has problems whe
o usb/76461    usb        [umass] disklabel of umass(4)-CAM(4)-da(4) not used by
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
o usb/76732    usb        Mouse problems with USB KVM Switch
f usb/78984    usb        [patch] Creative MUVO umass failure
o usb/79723    usb        [usb] prepare for high speed isochronous transfers
o usb/80774    usb        [patch] have "usbd_find_desc" in line with the other "
o usb/80776    usb        [udav] UDAV device driver shouldn't use usb_add_task
o usb/80777    usb        usb_rem_task() should wait for callback to complete?
o usb/80854    usb        suggestion for new iface-no-probe mechanism
o usb/80935    usb        [uvisor] [patch] uvisor.c is not work with CLIE TH55.
f usb/81621    usb        external hd hangs under load on ehci
o usb/83863    usb        [ugen] Communication problem between opensc/openct via
o usb/85067    usb        Cannot attach ScanJet 4300C to usb device
o usb/85257    usb        [boot] BTX boot loader fails on USB CDROM (HP DL145 Op
o usb/86298    usb        [mouse] Known good USB mouse won't work with correct s
o usb/87224    usb        Cannot mount USB Zip750
o usb/87648    usb        [mouse] Logitech USB-optical mouse problem.
o usb/88408    usb        [axe] axe0 read PHY failed
o usb/91546    usb        [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91811    usb        Compact Flash in HP Photosmart 2610 return  " Medium n
o usb/91896    usb        Serial Number of USB Memory Sticks is not passed throu
o usb/92852    usb        [mouse] [patch] Vertical scroll not working properly o
o usb/93389    usb        [umass] [patch] Digital Camera Pentax S60 don't work
o usb/93872    usb        [patch] SCSI quirk required for ELTA 8061 OL USB memor
o usb/95037    usb        [umass] USB disk not recognized on hot-plug.
o usb/95173    usb        [umass] [patch] cannot mount external usb harddisk VIA
o usb/96381    usb        [patch] add a quirk table entry for a flash ram usb st
o usb/97175    usb        [hang] USB cardreader hangs system
o usb/97472    usb        [patch] add support for Olympus C150,D390
o usb/98343    usb        [boot] BBB reset failed errors with Creative Muvo MP3 
o usb/99538    usb        [kbd] while using USB keyboard default params of atkbd
o usb/100746   usb        [kbd] system does not boot due to USB keyboard problem
o usb/101761   usb        [patch] usb.h: increase maximal size of report descrip
o usb/101775   usb        [libusbhid] [patch] possible error in report descripto
o usb/102678   usb        [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work
o usb/102976   usb        [panic] Casio Exilim Digital Camera cause panic
o usb/103046   usb        [ulpt] [patch] ulpt event driven I/O with select(2) an
o usb/103289   usb        USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset
o usb/103418   usb        [usb] [patch] usbhidctl: add ability to write output a
o usb/103917   usb        USB driver reports "Addr 0 should never happen"
o usb/104290   usb        [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto
o usb/104352   usb        [ural] [patch] ural driver doesnt work
o usb/104645   usb        Rave C-201 MP3 player does not communicate
o usb/105065   usb        [sata] SATA - USB Bridge
f usb/105361   usb        [panic] Kernel panic during unmounting mass storage (C
o usb/106041   usb        FreeBSD does not recognise Mustek BearPaw 2400TA usb s
o usb/106621   usb        [axe] [patch] DLINK DUB-E100 support broken
o usb/106861   usb        [usbdevs] [patch]: usbdevs update: Add product ACER Ze
o usb/107243   usb        [patch] Apacer USB Flash Drive quirk
o usb/107388   usb        [PATCH] Add utoppy device from NetBSD
o usb/107496   usb        USB device problem on RELENG_6_2 (SHORT_XFER) (regress
o usb/107665   usb        [usb] [patch] uscanner support for epson stylus DX5050
o usb/107701   usb        [usbd] usbd ignores "detach"
o usb/107935   usb        [uplcom] [panic] panic while accessing /dev/cuaU0
o usb/108056   usb        [ohci] Mouse gets powered off during device probe when
o usb/108344   usb        [panic] kernel with atausb panics when unplugging USB 
o usb/108509   usb        [hang] FreeBSD hang at startup after ehci0 detected (C
o usb/110197   usb        [umass] Sony PSP umass device does not detach from EHC
s usb/110991   usb        [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11
o usb/112461   usb        [ehci] ehci USB 2.0 doesn't work on nforce4
o usb/112463   usb        problem with Samsung USB DVD writer, libscg and FreeBS
o usb/112944   usb        [patch] Bi-directional access to HP LaserJet 1010 prin
o usb/113060   usb        [usbdevs] [patch] Samsung printer not working in bidir
o usb/113432   usb        WARNING: attempt to net_add_domain(netgraph) after dom
o conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/114068   usb        [umass] [patch] Problems with connection of the umass 
p usb/114860   usb        if_udav / ShanTou ST268 USB NIC
o usb/114916   usb        USB Maxtor drive (L300RO) requires quirk.
o usb/114938   usb        can't attach eli-devices on external hd
o usb/115080   usb        using a Hercules HWGUSB2-54-V2 wifi usb adapter
o usb/115400   usb        [ehci] Problem with EHCI on ASUS M2N4-SLI

97 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Wed Aug 22 22:40:02 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 74B1916A420
	for <freebsd-usb@hub.freebsd.org>; Wed, 22 Aug 2007 22:40:02 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 5043513C457
	for <freebsd-usb@hub.freebsd.org>; Wed, 22 Aug 2007 22:40:02 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7MMe2HU029526
	for <freebsd-usb@freefall.freebsd.org>; Wed, 22 Aug 2007 22:40:02 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7MMe2HA029522;
	Wed, 22 Aug 2007 22:40:02 GMT (envelope-from gnats)
Resent-Date: Wed, 22 Aug 2007 22:40:02 GMT
Resent-Message-Id: <200708222240.l7MMe2HA029522@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-usb@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
	Harald Schmalzbauer <harry@akima.flintsbach.schmalzbauer.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1939316A418
	for <FreeBSD-gnats-submit@freebsd.org>;
	Wed, 22 Aug 2007 22:39:01 +0000 (UTC)
	(envelope-from harry@akima.flintsbach.schmalzbauer.de)
Received: from akima.flintsbach.schmalzbauer.de (host.omnisec.de
	[62.245.232.135])
	by mx1.freebsd.org (Postfix) with ESMTP id 93E6A13C483
	for <FreeBSD-gnats-submit@freebsd.org>;
	Wed, 22 Aug 2007 22:39:00 +0000 (UTC)
	(envelope-from harry@akima.flintsbach.schmalzbauer.de)
Received: from akima.flintsbach.schmalzbauer.de (localhost [127.0.0.1])
	by akima.flintsbach.schmalzbauer.de (8.14.1/8.14.1) with ESMTP id
	l7MM7WEV001515 for <FreeBSD-gnats-submit@freebsd.org>;
	Thu, 23 Aug 2007 00:07:32 +0200 (CEST)
	(envelope-from harry@akima.flintsbach.schmalzbauer.de)
Received: (from harry@localhost)
	by akima.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id
	l7MM7WY1001514; Thu, 23 Aug 2007 00:07:32 +0200 (CEST)
	(envelope-from harry)
Message-Id: <200708222207.l7MM7WY1001514@akima.flintsbach.schmalzbauer.de>
Date: Thu, 23 Aug 2007 00:07:32 +0200 (CEST)
From: Harald Schmalzbauer <harry@akima.flintsbach.schmalzbauer.de>
To: FreeBSD-gnats-submit@FreeBSD.org
X-Send-Pr-Version: 3.113
Cc: 
Subject: usb/115737: uplcom doesn't identify my Prolific 2303 any more
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Harald Schmalzbauer <harry@akima.flintsbach.schmalzbauer.de>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Aug 2007 22:40:02 -0000


>Number:         115737
>Category:       usb
>Synopsis:       uplcom doesn't identify my Prolific 2303 any more
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 22:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Harald Schmalzbauer
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD akima.flintsbach.schmalzbauer.de 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug 16 19:36:59 CEST 2007 harry@titan.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/AKIMA i386


	
>Description:
	I've never had problems with my Prolific USB-Serial converter in the last years,
	but I think it's new that it doesn't get recognized with it's real name any more.
	ucom is attaching but doesn't evaluate the vendor
>How-To-Repeat:
	kldload uplcom and ucom and connect the USB-Serial Converter.
	dmesg shows:
	ucom0: <vendor 0x067b product 0x2303, class 0/0, rev 1.10/2.02, addr 2> on uhub0
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Fri Aug 24 10:10:08 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 31F7B16A418
	for <freebsd-usb@hub.freebsd.org>; Fri, 24 Aug 2007 10:10:08 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 19F8E13C467
	for <freebsd-usb@hub.freebsd.org>; Fri, 24 Aug 2007 10:10:08 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7OAA7Lx066027
	for <freebsd-usb@freefall.freebsd.org>; Fri, 24 Aug 2007 10:10:07 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7OAA7bl066026;
	Fri, 24 Aug 2007 10:10:07 GMT (envelope-from gnats)
Date: Fri, 24 Aug 2007 10:10:07 GMT
Message-Id: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: "Rahul Siddharthan" <rsidd@online.fr>
Cc: 
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage
	(Creative mp3 player)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Rahul Siddharthan <rsidd@online.fr>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Aug 2007 10:10:08 -0000

The following reply was made to PR usb/105361; it has been noted by GNATS.

From: "Rahul Siddharthan" <rsidd@online.fr>
To: bug-followup@freebsd.org, linimon@freebsd.org
Cc:  
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage (Creative mp3 player)
Date: Fri, 24 Aug 2007 15:11:36 +0530

 linimon wrote:
 > Does this panic occur if you umnount the device before removal? (We are
 > aware of the problem if a device is removed before unmounting).
 
 I am experimenting with FreeBSD (7.0-CURRENT) after a few years.  My
 USB stick was not initialised by the system: it was recognised but no
 device node was created.  When I inserted and removed it a few times,
 the system panicked.  (As I said, there was no device node, so no mounting.)
 
 I can submit a backtrace for this if anyone is interested.
 
 I followed the suggested change to usb_subr.c here:
    http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112698.html
 and, after this, the system creates a da0 device, and
    mount -t msdosfs /dev/da0s1 /mnt
 works.  I haven't yet got a panic by unmounting and removing, but removing
 without unmounting does cause a panic still (as you say you are aware).
 
 Other than this issue FreeBSD-7 seems remarkably stable so far.   But this
 problem with removable media has been around since floppy disk days, and
 really seems to preclude using FreeBSD on any desktop machine where
 uptime is important (eg, a compute workstation where long-term jobs
 are running).

From owner-freebsd-usb@FreeBSD.ORG  Sat Aug 25 03:25:14 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8754D16A417
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 03:25:14 +0000 (UTC)
	(envelope-from imp@bsdimp.com)
Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85])
	by mx1.freebsd.org (Postfix) with ESMTP id 44F0113C457
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 03:25:14 +0000 (UTC)
	(envelope-from imp@bsdimp.com)
Received: from localhost (localhost [127.0.0.1])
	by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l7P3MRq8055245;
	Fri, 24 Aug 2007 21:22:27 -0600 (MDT) (envelope-from imp@bsdimp.com)
Date: Fri, 24 Aug 2007 21:22:30 -0600 (MDT)
Message-Id: <20070824.212230.-957833176.imp@bsdimp.com>
To: rsidd@online.fr
From: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
References: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0
	(harmony.bsdimp.com [127.0.0.1]);
	Fri, 24 Aug 2007 21:22:28 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass
 storage (Creative mp3 player)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Aug 2007 03:25:14 -0000

In message: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
            "Rahul Siddharthan" <rsidd@online.fr> writes:
: The following reply was made to PR usb/105361; it has been noted by GNATS.
: 
: From: "Rahul Siddharthan" <rsidd@online.fr>
: To: bug-followup@freebsd.org, linimon@freebsd.org
: Cc:  
: Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage (Creative mp3 player)
: Date: Fri, 24 Aug 2007 15:11:36 +0530
: 
:  linimon wrote:
:  > Does this panic occur if you umnount the device before removal? (We are
:  > aware of the problem if a device is removed before unmounting).
:  
:  I am experimenting with FreeBSD (7.0-CURRENT) after a few years.  My
:  USB stick was not initialised by the system: it was recognised but no
:  device node was created.  When I inserted and removed it a few times,
:  the system panicked.  (As I said, there was no device node, so no mounting.)
:  
:  I can submit a backtrace for this if anyone is interested.
:  
:  I followed the suggested change to usb_subr.c here:
:     http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112698.html
:  and, after this, the system creates a da0 device, and
:     mount -t msdosfs /dev/da0s1 /mnt
:  works.  I haven't yet got a panic by unmounting and removing, but removing
:  without unmounting does cause a panic still (as you say you are aware).
:  
:  Other than this issue FreeBSD-7 seems remarkably stable so far.   But this
:  problem with removable media has been around since floppy disk days, and
:  really seems to preclude using FreeBSD on any desktop machine where
:  uptime is important (eg, a compute workstation where long-term jobs
:  are running).

We only do the clear endpoint stall in FreeBSD 7 when the device has
been quirked to do a clearstall.  Is your device one that has this
quirk?

Warner

From owner-freebsd-usb@FreeBSD.ORG  Sat Aug 25 04:30:52 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 63F2116A417
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 04:30:52 +0000 (UTC)
	(envelope-from rsidd120@gmail.com)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D06913C459
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 04:30:52 +0000 (UTC)
	(envelope-from rsidd120@gmail.com)
Received: by wa-out-1112.google.com with SMTP id m33so1180332wag
	for <freebsd-usb@freebsd.org>; Fri, 24 Aug 2007 21:30:52 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=T8Cg82seBTQQTU0ykvYBsMcxwbWPT6H3dTJl9mQtyRI9UM3XuKlJbImlz9QRJ+yhKzKGyoxt7ersxEBSdmQ+AsXQ/BvJenNKKavceyAPqQBX9g8++4fx14/RJQQQSfQXkg+XyX63oD54aw2bPAGeEjzEDA7YztnpwHiIjV+URy0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=aCsZU9vZo14T7Pz7aT0ylORW27OBiGX0d0hDKTEp3UEoaV2Uzaih1x6Tu4KnNOV8/XekRsRxjpVwG2VgrojqC3WdArovrtpAzPV7kflbecZH2JniKdp95znnW48i5yg4p7yU/ElTnQ48+QoBOM2TZo0J9ZBWEVfy8A4vCqh2NZE=
Received: by 10.114.177.1 with SMTP id z1mr380681wae.1188014589184;
	Fri, 24 Aug 2007 21:03:09 -0700 (PDT)
Received: by 10.114.147.17 with HTTP; Fri, 24 Aug 2007 21:03:09 -0700 (PDT)
Message-ID: <6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com>
Date: Sat, 25 Aug 2007 09:33:09 +0530
From: "Rahul Siddharthan" <rsidd120@gmail.com>
To: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <20070824.212230.-957833176.imp@bsdimp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
	<20070824.212230.-957833176.imp@bsdimp.com>
Cc: freebsd-usb@freebsd.org
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage
	(Creative mp3 player)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: rsidd120@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Aug 2007 04:30:52 -0000

On 8/25/07, M. Warner Losh <imp@bsdimp.com> wrote:
> In message: <200708241010.l7OAA7bl066026@freefall.freebsd.org>             "Rahul Siddharthan" <rsidd@online.fr> writes:
-snip-
> :  I followed the suggested change to usb_subr.c here:
> :     http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112698.html
> :  and, after this, the system creates a da0 device, and
> :     mount -t msdosfs /dev/da0s1 /mnt
> :  works.  I haven't yet got a panic by unmounting and removing, but removing
> :  without unmounting does cause a panic still (as you say you are aware).

-snip-

> We only do the clear endpoint stall in FreeBSD 7 when the device has
> been quirked to do a clearstall.  Is your device one that has this
> quirk?


The device is reported as
umass0: <vendor 0x0457 USB Mass Storage Device, class 0/0, rev
2.00/1.00, addr 2> on uhub2

and pciconf -v -l gives (for the USB controller)
    vendor     = 'VIA Technologies Inc'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      = serial bus
    subclass   = USB
uhci1@pci0:11:1:        class=0x0c0300 card=0x12340925 chip=0x30381106
rev=0x50 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      = serial bus
    subclass   = USB
ehci0@pci0:11:2:        class=0x0c0320 card=0x12340925 chip=0x31041106
rev=0x51 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB

- Rahul

From owner-freebsd-usb@FreeBSD.ORG  Sat Aug 25 15:34:16 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 582A916A41A
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 15:34:16 +0000 (UTC)
	(envelope-from imp@bsdimp.com)
Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85])
	by mx1.freebsd.org (Postfix) with ESMTP id E85C413C469
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 15:34:15 +0000 (UTC)
	(envelope-from imp@bsdimp.com)
Received: from localhost (localhost [127.0.0.1])
	by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l7PFVlox070369;
	Sat, 25 Aug 2007 09:31:48 -0600 (MDT) (envelope-from imp@bsdimp.com)
Date: Sat, 25 Aug 2007 09:31:51 -0600 (MDT)
Message-Id: <20070825.093151.2040712281.imp@bsdimp.com>
To: rsidd120@gmail.com
From: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com>
References: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
	<20070824.212230.-957833176.imp@bsdimp.com>
	<6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com>
X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0
	(harmony.bsdimp.com [127.0.0.1]);
	Sat, 25 Aug 2007 09:31:48 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass
 storage (Creative mp3 player)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Aug 2007 15:34:16 -0000

In message: <6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com>
            "Rahul Siddharthan" <rsidd120@gmail.com> writes:
: On 8/25/07, M. Warner Losh <imp@bsdimp.com> wrote:
: > In message: <200708241010.l7OAA7bl066026@freefall.freebsd.org>             "Rahul Siddharthan" <rsidd@online.fr> writes:
: -snip-
: > :  I followed the suggested change to usb_subr.c here:
: > :     http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112698.html
: > :  and, after this, the system creates a da0 device, and
: > :     mount -t msdosfs /dev/da0s1 /mnt
: > :  works.  I haven't yet got a panic by unmounting and removing, but removing
: > :  without unmounting does cause a panic still (as you say you are aware).
: 
: -snip-
: 
: > We only do the clear endpoint stall in FreeBSD 7 when the device has
: > been quirked to do a clearstall.  Is your device one that has this
: > quirk?
: 
: 
: The device is reported as
: umass0: <vendor 0x0457 USB Mass Storage Device, class 0/0, rev
: 2.00/1.00, addr 2> on uhub2
: 
: and pciconf -v -l gives (for the USB controller)
:     vendor     = 'VIA Technologies Inc'
:     device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
:     class      = serial bus
:     subclass   = USB
: uhci1@pci0:11:1:        class=0x0c0300 card=0x12340925 chip=0x30381106
: rev=0x50 hdr=0x00
:     vendor     = 'VIA Technologies Inc'
:     device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
:     class      = serial bus
:     subclass   = USB
: ehci0@pci0:11:2:        class=0x0c0320 card=0x12340925 chip=0x31041106
: rev=0x51 hdr=0x00
:     vendor     = 'VIA Technologies Inc'
:     device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
:     class      = serial bus
:     subclass   = USB

Yes, but does it have this quirk?  Please send usbdevs -v for this
device.

Warner

From owner-freebsd-usb@FreeBSD.ORG  Sat Aug 25 16:32:06 2007
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E523F16A417
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 16:32:05 +0000 (UTC)
	(envelope-from rsidd120@gmail.com)
Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233])
	by mx1.freebsd.org (Postfix) with ESMTP id 99ABF13C442
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 16:32:05 +0000 (UTC)
	(envelope-from rsidd120@gmail.com)
Received: by nz-out-0506.google.com with SMTP id l8so682027nzf
	for <freebsd-usb@freebsd.org>; Sat, 25 Aug 2007 09:32:04 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=B08WfUcjjaADbEAXGYWoIoYqxkxMvUgV+GM28pAXNH5b5JwsjcikwKyzl9uDkxYZ9T2fJPkhvDJweF1BdHZ/SYT5szkQHA7OkNGwRoyleapWThGU1h3CNbkwbwmyYFs7jx4vmWzmh9Iu/wh9sqn3a3tZZFkBv4C5jmCPlyN+S/g=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=hPWaPs82FLwqu8gVNeyvWcgPswllAAAg48Wlw0ED/VbNmn99FaCWAj1W8+eQVf27TzClV3Bqv2Qi69xHHFeKEhMZ/TkJxuQTUlnM9A5WbxIHBHaqA5eUAbueQJJsFZR+NHO+0W+1UQUoL/fMD1pFqGBXD6KENI/Vnq6YLbqJIWQ=
Received: by 10.114.109.1 with SMTP id h1mr4744974wac.1188059524179;
	Sat, 25 Aug 2007 09:32:04 -0700 (PDT)
Received: by 10.114.147.17 with HTTP; Sat, 25 Aug 2007 09:32:04 -0700 (PDT)
Message-ID: <6a506d980708250932q7843f3a0u17240d7fb9033164@mail.gmail.com>
Date: Sat, 25 Aug 2007 22:02:04 +0530
From: "Rahul Siddharthan" <rsidd120@gmail.com>
To: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <20070825.093151.2040712281.imp@bsdimp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200708241010.l7OAA7bl066026@freefall.freebsd.org>
	<20070824.212230.-957833176.imp@bsdimp.com>
	<6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com>
	<20070825.093151.2040712281.imp@bsdimp.com>
Cc: freebsd-usb@freebsd.org
Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage
	(Creative mp3 player)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: rsidd120@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Aug 2007 16:32:06 -0000

On 8/25/07, M. Warner Losh <imp@bsdimp.com> wrote:
> Yes, but does it have this quirk?  Please send usbdevs -v for this
> device.

The relevant bit is:
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
VIA(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 98 mA, config 1, USB Mass Storage
Device(0x0151), vendor 0x0457(0x0457), rev 1.00

(there are UHCI controllers /dev/usb0 and /dev/usb1 with nothing attached.)

However, I take back what I said about the problem being fixed by
commenting out the clear endpoint stall thing.  It's not working any
more -- and, moreover, the hard disk light stays on after I insert the
USB stick.  And if I remove it, there's an instant panic.

I have now reverted that change to usb_subr.c.  Now it lets me insert the
stick and remove it, but if I do that 2-3 times (not in quick succession),
it panics.  Below is a backtrace.  (Sorry for poor formatting if any
-- I don't
have a sane non-work mail account set up at the moment.)

Rahul

#0  doadump () at pcpu.h:195
#1  0xc05d88a3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc05d8acc in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc046ea87 in db_panic (addr=Could not find the frame base for "db_panic".
) at /usr/src/sys/ddb/db_command.c:433
#4  0xc046f1e5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:401
#5  0xc0470c15 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:222
#6  0xc05fe464 in kdb_trap (type=12, code=0, tf=0xd2b2f974)
    at /usr/src/sys/kern/subr_kdb.c:502
#7  0xc0849f9f in trap_fatal (frame=0xd2b2f974, eva=0)
    at /usr/src/sys/i386/i386/trap.c:863
#8  0xc084a240 in trap_pfault (frame=0xd2b2f974, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:785
#9  0xc084abb2 in trap (frame=0xd2b2f974) at /usr/src/sys/i386/i386/trap.c:463
#10 0xc0833c5b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#11 0xc044d4eb in xpt_done (done_ccb=0xc288ac00)
    at /usr/src/sys/cam/cam_xpt.c:4856
#12 0xc045377e in probedone (periph=0xc2dc9200, done_ccb=Variable
"done_ccb" is not available.
)
    at /usr/src/sys/cam/cam_xpt.c:6331
#13 0xc044f521 in camisr_runqueue (V_queue=Variable "V_queue" is not available.
) at /usr/src/sys/cam/cam_xpt.c:7255
#14 0xc0453d8f in xpt_bus_deregister (pathid=1)
    at /usr/src/sys/cam/cam_xpt.c:4442
#15 0xc055a940 in umass_cam_detach_sim (sc=0xc2bfc800)
    at /usr/src/sys/dev/usb/umass.c:2694
#16 0xc055a9ed in umass_detach (self=0xc2dc9c00)
    at /usr/src/sys/dev/usb/umass.c:1542
#17 0xc05f8be8 in device_detach (dev=0xc2dc9c00) at device_if.h:212
#18 0xc0560bc2 in usb_disconnect_port (up=0xc2768bec, parent=0xc2768c00)
    at /usr/src/sys/dev/usb/usb_subr.c:1382
#19 0xc0557ebe in uhub_explore (dev=0xc2768e00)
    at /usr/src/sys/dev/usb/uhub.c:462
#20 0xc055ed95 in usb_discover (v=Variable "v" is not available.
) at /usr/src/sys/dev/usb/usb.c:724
#21 0xc055fd6a in usb_event_thread (arg=0xc2767080)
    at /usr/src/sys/dev/usb/usb.c:440
#22 0xc05b9186 in fork_exit (callout=0xc055fcc0 <usb_event_thread>,
    arg=0xc2767080, frame=0xd2b2fd38) at /usr/src/sys/kern/kern_fork.c:797
#23 0xc0833cd0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205