Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 16:25:53 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, Andrew Belashov <bel@orel.ru>
Cc:        FreeBSD-gnats-submit@freebsd.org
Subject:   Re: usb/141918: ehci_interrupt: unrecoverable error, controller halted (sparc64)
Message-ID:  <200912231625.54346.hselasky@c2i.net>
In-Reply-To: <200912231115.nBNBFgf0000774@relay.orel.ru>
References:  <200912231115.nBNBFgf0000774@relay.orel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 December 2009 12:15:42 Andrew Belashov wrote:
> >Number:         141918
> >Category:       usb
> >Synopsis:       ehci_interrupt: unrecoverable error, controller halted
> > (sparc64) Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    freebsd-usb
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Wed Dec 23 11:40:01 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator:     Andrew Belashov
> >Release:        FreeBSD 8.0-RELEASE sparc64
> >Organization:
>
> CT
>
> >Environment:
>
> System: FreeBSD bel.localdomain 8.0-RELEASE FreeBSD 8.0-RELEASE #3: Wed Dec
> 2 00:54:28 MSK 2009 bel@bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64
>
> Hardware: Sun Microsystems ULTRA 60
>
> >Description:
>
> 	After upgrading from FreeBSD 7.2-RELEASE to 8.0-RELEASE there were
> problems with USB. Attempt to mount flash drive leads to an error in USB
> EHCI driver. Here are the kernel messages:
>
> ehci_interrupt: unrecoverable error, controller halted
> cmd=0x00010020
>  EHCI_CMD_ITC_1
>  EHCI_CMD_ASE
> sts=0x0000b000
>  EHCI_STS_ASS
>  EHCI_STS_REC
>  EHCI_STS_HCH
> ien=0x00000037
> frindex=0x0000169e ctrdsegm=0x00000000 periodic=0xfee30000 async=0xfee35600
> port 1 status=0x00001000
> port 2 status=0x00001000
> port 3 status=0x00001005
> port 4 status=0x00003400
> ehci_dump_isoc: isochronous dump from frame 0x053:
> ITD(0xfffff800813a3900) at 0xff185900
>  next=0xff384204
>  status[0]=0x00000000; <>
>  status[1]=0x00000000; <>
>  status[2]=0x00000000; <>
>  status[3]=0x00000000; <>
>  status[4]=0x00000000; <>
>  status[5]=0x00000000; <>
>  status[6]=0x00000000; <>
>  status[7]=0x00000000; <>
>  bp[0]=0x00000000
>   addr=0x00; endpt=0x0
>  bp[1]=0x00000000
>  dir=out; mpl=0x00
>  bp[2..6]=0x00000000,0x00000000,0x00000000,0x00000000,0x00000000
>  bp_hi=0x00000000,0x00000000,0x00000000,0x00000000,
>        0x00000000,0x00000000,0x00000000
> SITD(0xfffff800813b4200) at 0xff384200
>  next=0xfef85502
>  portaddr=0x00000000 dir=out addr=0 endpt=0x0 port=0x0 huba=0x0
>  mask=0x00000000
>  status=0x00000000 <> len=0x0
>  back=0x00000001, bp=0x00000000,0x00000000,0x00000000,0x00000000
> ehci_interrupt: blocking interrupts 0x10
>
> Full dmesg:
> http://orel.ru/~bel/usb/dmesg.txt
>
> Kernel config:
> http://orel.ru/~bel/usb/SUNC3D.txt
>
> >How-To-Repeat:
>
> 	Insert USB Flash drive and try to mount it for read-write.
>

Hi,

My guess for this issue is that the cache invalidate and cache flush 
instructions are not properly implemented by busdma on your platform. Please 
check that first.

--HPS




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