Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2011 09:15:10 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Trevor Blackwell <trevor@anybots.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Hub TT reset code causes ehci failure
Message-ID:  <201106140915.10184.hselasky@c2i.net>
In-Reply-To: <BANLkTinyUsKipO45%2BDXKs_Hqa--go6Q1HQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Tuesday 14 June 2011 07:11:28 Trevor Blackwell wrote:
> I'm seeing the USB system halt with:
> 
> Jun 13 21:36:13 qb132 kernel: ehci_interrupt: unrecoverable error,
> controller halted
> 
> I hadn't seen this before on any of our systems until I installed the
> hub_tt_hardening patch.
> 
> The flag set is EHCI_STS_HSE, meaning:
> 
> Host System Error  R/WC. The Host Controller sets this bit to 1 when a
> serious error
> occurs during a host system access involving the Host Controller module. 
> In a PCI
> system, conditions that set this bit to 1 include PCI Parity error, PCI
> Master Abort, and
> PCI Target Abort. When this error occurs, the Host Controller clears the
> Run/Stop bit in
> the Command register to prevent further execution of the scheduled TDs.
> 
> 
> Can "PCI Target Abort" be caused by an invalid memory address?
> 
> That USB bus is busy. There are 3 hubs including the root and 5 devices on
> that USB bus. 4 of the devices have active bulk read transactions, and one
> is an audio devices with bidirectional isoc transactions.
> 
> Here's the complete register dump it prints:

Hi,

I'm not sure.

Try to enable UHUB debugging:

sysctl hw.usb.uhub.debug=15

Do you see that same behaviour with the patch I made?

--HPS


help

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