From owner-freebsd-usb@FreeBSD.ORG Sun Aug 11 07:03:17 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0BC9C91 for ; Sun, 11 Aug 2013 07:03:17 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id A922D2692 for ; Sun, 11 Aug 2013 07:03:17 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id A87AD7A29C; Sun, 11 Aug 2013 09:03:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 1A88A8F2D35; Sun, 11 Aug 2013 09:03:25 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8i6zeoZSB94M; Sun, 11 Aug 2013 09:03:24 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 5E0118F2D34; Sun, 11 Aug 2013 09:03:24 +0200 (CEST) Message-ID: <5207378A.40804@bitfrost.no> Date: Sun, 11 Aug 2013 09:04:42 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "aseem.jolly" Subject: Re: USB DMA memory Allocation References: <1375489015367-5833506.post@n5.nabble.com> <1375551235535-5833585.post@n5.nabble.com> <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> In-Reply-To: <1376189272784-5835461.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 07:03:18 -0000 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