Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2007 17:27:29 +0200
From:      Olivier Houchard <mlfbsd@ci0.org>
To:        ticso@cicely.de
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Kernel panic on usb disconnect?
Message-ID:  <20070807152729.GA60139@ci0.org>
In-Reply-To: <20070807145240.GC41893@cicely12.cicely.de>
References:  <46B85F61.1050008@bulinfo.net> <20070807130429.GB41893@cicely12.cicely.de> <46B87129.1060800@bulinfo.net> <20070807145240.GC41893@cicely12.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 07, 2007 at 04:52:41PM +0200, Bernd Walter wrote:
> On Tue, Aug 07, 2007 at 04:18:33PM +0300, Krassimir Slavchev wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Bernd Walter wrote:
> > > On Tue, Aug 07, 2007 at 03:02:41PM +0300, Krassimir Slavchev wrote:
> > >> -----BEGIN PGP SIGNED MESSAGE-----
> > >> Hash: SHA1
> > >>
> > >> This is on at91rm9200 with latest -current
> > >>
> > >> On connect:
> > >>
> > >> umass0: <Corsair Flash Voyager, class 0/0, rev 2.00/11.00, addr 2> on uhub0
> > >> umass0: SCSI over Bulk-Only; quirks = 0x0000
> > >> umass0:0:0:-1: Attached to scbus0
> > >> Expensive timeout(9) function: 0xc00357f0(0xc07e6c00) 0.002746582 s
> > >>
> > >> On disconnect:
> > >>
> > >> umass0: BBB reset failed, IOERROR
> > >> umass0: at uhub0 port 1 (addr 2) disconnected
> > > 
> > > This problem is not arm specific.
> > > You have to unmount umass devices befor you can disconnect them.
> > > 
> > 
> > Yes, I know, the device is not mounted. Unfortunately I can't reproduce
> > this on i386.
> 
> My fault - I saw the XPT and assumed it was still mounted.
> But is it Ok that badaddr_read panics?
> I though it is there to tamper with possible dangerous addresses.
> 

Actually the backtrace is not accurate, because the symbol table isn't loaded.
You can still use gdb to know what badaddr_read+0x1f4 really is. Also, you'll
note the badaddr_read call happens after the trap occurs (data_abort_handler).

Regards,

Olivier



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