sparc64/82569: USB mass storage plug/unplug causes system panic
Marius Strobl
marius at alchemy.franken.de
Wed Aug 24 17:25:08 GMT 2005
On Wed, Aug 24, 2005 at 07:00:05PM +0400, Andy Jam wrote:
>
>
> -----Original Message-----
> From: Marius Strobl <marius at alchemy.franken.de>
> To: Andy Jema <jema at mail.ru>
> Date: Wed, 10 Aug 2005 23:06:18 +0200
> Subject: Re: sparc64/82569: USB mass storage plug/unplug causes system panic
>
> >
> > On Thu, Jun 23, 2005 at 11:01:15AM +0000, Andy Jema wrote:
> > >
> > > >Number: 82569
> > > >Category: sparc64
> > > >Synopsis: USB mass storage plug/unplug causes system panic
> > > >Confidential: no
> > > >Severity: serious
> > > >Priority: medium
> > > >Responsible: freebsd-sparc64
> > > >State: open
> > > >Quarter:
> > > >Keywords:
> > > >Date-Required:
> > > >Class: sw-bug
> > > >Submitter-Id: current-users
> > > >Arrival-Date: Thu Jun 23 11:10:19 GMT 2005
> > > >Closed-Date:
> > > >Last-Modified:
> > > >Originator: Andy Jema
> > > >Release: 6.0-CURRENT
> > > >Organization:
> > > OT
> > > >Environment:
> > > FreeBSD 6.0-20050601-SNAP #0: Thu Jun 2 05:29:17 UTC 2005
> > > root at u60.samsco.home:/usr/obj/usr/src/sys/GENERIC
> > > >Description:
> > > Just installed FreeBSD 6.0-20050601-SNAP. I repeatously pluged and unpluged a USB mass storage(DVD-ROM) on my Blade 150 and as result got a kernel panic
> > >
> > > blade150# kldload usb.ko
> > > ohci0: <Sun PCIO-2 USB controller> mem 0x2000000-0x2007fff at device 12.3 on pci0
> > > ohci0: [GIANT-LOCKED]
> > > usb0: OHCI version 1.0, legacy support
> > > usb0: <Sun PCIO-2 USB controller> on ohci0
> > > usb0: USB revision 1.0
> > > uhub0: (0x108e) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > > uhub0: 4 ports with 4 removable, self powered
> > > blade150# kldload umass.ko
> > > blade150# (null): at uhub0 port 4 (addr 2) disconnected
> > >
> > > blade150#
> > > blade150# umass0: USB2.0 TO IDE USB Storage Adapter, rev 2.00/11.01, addr 2
> > > umass0: at uhub0 port 4 (addr 2) disconnected
> > > panic: trap: memory address not aligned
> > > cpuid = 0
> > > KDB: enter: panic
> > > [thread pid 16 tid 100019 ]
> > > Stopped at kdb_enter+0x3c: ta %xcc, 1
> > > db>
> > >
> > > >How-To-Repeat:
> > > plug/unplug repeatously a USB CD/DVD-ROM
> >
> > Is this really sparc64-specific, i.e. it doesn't happen when repeatedly
> > plugging in and unplugging the same drive on e.g. i386? Is the drive
> > otherwise useable on sparc64?
> >
>
> Hello, Marius!
> My flash drive works fine on i386, there is only hassle bug with plug/unplug with mounted filesystem on this one. AFAIK, it's well known bug, btw, would it be fixed soon?
Don't know, sorry.
> However on sparc64 this flash is still usable.
Ok, now I'm confused; so umass(4) works with your USB flash drive
on both i386 and sparc64 alike, i.e. works modulo the issue with
unplugging while the file system is mounted? How about your USB
CD/DVD-ROM?
Marius
More information about the freebsd-sparc64
mailing list