Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 20:07:48 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Joseph Olatt <joji@eskimo.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kernel panic on 6.1-PRERELEASE with Lexar Jumpdrive2
Message-ID:  <20060214090748.GA900@turion.vk2pj.dyndns.org>
In-Reply-To: <20060213194406.A29000@eskimo.com>
References:  <20060213194406.A29000@eskimo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060214090748.GA900>