From owner-freebsd-stable@FreeBSD.ORG Tue Feb 14 09:07:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C7116A420 for ; Tue, 14 Feb 2006 09:07:58 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC09043D48 for ; Tue, 14 Feb 2006 09:07:56 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail12.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k1E97nPo032536 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 14 Feb 2006 20:07:49 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k1E97mDj001207; Tue, 14 Feb 2006 20:07:48 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k1E97mf8001206; Tue, 14 Feb 2006 20:07:48 +1100 (EST) (envelope-from peter) Date: Tue, 14 Feb 2006 20:07:48 +1100 From: Peter Jeremy To: Joseph Olatt Message-ID: <20060214090748.GA900@turion.vk2pj.dyndns.org> References: <20060213194406.A29000@eskimo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060213194406.A29000@eskimo.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: kernel panic on 6.1-PRERELEASE with Lexar Jumpdrive2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 09:07:58 -0000 On Mon, 2006-Feb-13 19:44:07 -0800, Joseph Olatt wrote: >I've been having kernel panics when I use one particular USB flash drive >(LEXAR MEDIA JUMPDRIVE2, rev 2.00/1.25, addr 2) with FreeBSD >6.1-PRERELEASE (See [1] below). All I have to do to get the kernel to >panic is to insert and remove the drive from the USB port 2 or 3 times You left out details of the panic and backtrace. >This problem happens only if the "ehci" device is enabled in the kernel Note that echi(4) states: BUGS The driver is not finished and is quite buggy. >So I suspect that it is a problem with the "ehci" driver. Unfortunately >I'm not being able to get a crash dump as the system starts dumping and >then freezes. Try adding the following options so you can get backtraces without dumps: options KDB options KDB_TRACE options DDB >I have 2 other newer flash drives and they seem to work fine. Which suggests it needs a quirk of some sort. >umass0: at uhub0 port 5 (addr 2) disconnected >(da0:umass-sim0:0:0:0): lost device >(da0:umass-sim0:0:0:0): removing device entry >umass0: detached >umass0: LEXAR MEDIA JUMPDRIVE2, rev 2.00/1.25, addr 2 >umass0: BBB reset failed, IOERROR >umass0: BBB bulk-in clear stall failed, IOERROR >umass0: BBB bulk-out clear stall failed, IOERROR >umass0: BBB reset failed, IOERROR I've seen similar behaviour on ulpt as well. The USB subsystem does not appear to recover from errors on the hardware side. In my case, that USB port wedges and cannot be used until the system is reset (though other ports are OK). -- Peter Jeremy