Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2013 09:04:42 +0200
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        "aseem.jolly" <aseem.jolly@gmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB DMA memory Allocation
Message-ID:  <5207378A.40804@bitfrost.no>
In-Reply-To: <1376189272784-5835461.post@n5.nabble.com>
References:  <1375489015367-5833506.post@n5.nabble.com> <zarafa.51fcc634.4d66.6bc5f4d2757b93c5@mail.lockless.no> <1375551235535-5833585.post@n5.nabble.com> <zarafa.51fe1344.72a4.2c750fca3ae0393f@mail.lockless.no> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> <1376189272784-5835461.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/11/13 04:47, aseem.jolly wrote:
> I'm trying to allocate memory from 4GB-8GB range and have modified the memory
> structure(QH,iTD etc) to support 64 bit addressing. I am constantly hitting
> the following issues and I am not sure about the exact meaning of the error
> message(timed out waiting for BIOS).
>
> ehci1: [ITHREAD]
> usbus0: waiting for BIOS to give up control
> usbus0: timed out waiting for BIOS<---Issue 1) ---what does this error
> message mean??
> usbus0: EHCI version 1.0
> usbus0: run timeout<--Issue 2) ---message is coming from ehci_init function,
> EHCI_STS_HCH bit is set in the status register??
> ehci1: USB init failed err=18
>
> Following solution has been posted for issue 1 but I couldn't see such
> option in the BIOS that I am running on.
> http://forums.freebsd.org/showthread.php?t=18783

Hi,

Issue 1) It means that the BIOS did not handover control to the OS of 
the EHCI controller. Possibly you have to turn off USB legacy support in 
the BIOS to get this working.

Issue 2) Run timeout means that the schedule is not correct. Possibly 
you missed some High-DMA pointers.

--HPS




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