From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 24 17:25:08 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2B6616A423 for ; Wed, 24 Aug 2005 17:25:08 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5880743D49 for ; Wed, 24 Aug 2005 17:25:07 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id j7OHP6Wh037277; Wed, 24 Aug 2005 19:25:06 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j7OHP1Wn037276; Wed, 24 Aug 2005 19:25:01 +0200 (CEST) (envelope-from marius) Date: Wed, 24 Aug 2005 19:25:01 +0200 From: Marius Strobl To: Andy Jam Message-ID: <20050824192501.A19225@newtrinity.zeist.de> References: <20050810230618.B489@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jema@mail.ru on Wed, Aug 24, 2005 at 07:00:05PM +0400 X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-7; AVE: 6.31.1.0; VDF: 6.31.1.172; host: newtrinity.zeist.de) Cc: freebsd-sparc64@freebsd.org Subject: Re: sparc64/82569: USB mass storage plug/unplug causes system panic X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 17:25:08 -0000 On Wed, Aug 24, 2005 at 07:00:05PM +0400, Andy Jam wrote: > > > -----Original Message----- > From: Marius Strobl > To: Andy Jema > 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@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: mem 0x2000000-0x2007fff at device 12.3 on pci0 > > > ohci0: [GIANT-LOCKED] > > > usb0: OHCI version 1.0, legacy support > > > usb0: 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