kernel panic on 6.1-PRERELEASE with Lexar Jumpdrive2
Peter Jeremy
peterjeremy at optushome.com.au
Tue Feb 14 01:07:58 PST 2006
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
More information about the freebsd-stable
mailing list