From owner-freebsd-usb@FreeBSD.ORG Sat Aug 25 04:30:52 2007 Return-Path: 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 ; 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 ; 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 ; 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" To: "M. Warner Losh" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 04:30:52 -0000 On 8/25/07, M. Warner Losh wrote: > In message: <200708241010.l7OAA7bl066026@freefall.freebsd.org> "Rahul Siddharthan" 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: 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