Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RMIeA-0005mC-Tz for mharc-grub-devel@gnu.org; Fri, 04 Nov 2011 08:13:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLtYF-0003Q7-MI for grub-devel@gnu.org; Thu, 03 Nov 2011 05:25:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLtYE-0006xK-9x for grub-devel@gnu.org; Thu, 03 Nov 2011 05:25:35 -0400 Received: from mail.univention.de ([82.198.197.8]:1491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLtYE-0006wn-56 for grub-devel@gnu.org; Thu, 03 Nov 2011 05:25:34 -0400 Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 771B3E5B10C; Thu, 3 Nov 2011 10:25:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 68E69E5B10F; Thu, 3 Nov 2011 10:25:28 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.1 (20080629) (Debian) at knut.univention.de Received: from mail.univention.de ([127.0.0.1]) by localhost (slugis.knut.univention.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dv8GPj7YjRcJ; Thu, 3 Nov 2011 10:25:28 +0100 (CET) Received: from stave.knut.univention.de (stave.knut.univention.de [192.168.0.191]) by slugis.knut.univention.de (Postfix) with ESMTPSA id 147ADE5B10C; Thu, 3 Nov 2011 10:25:28 +0100 (CET) Received: by stave.knut.univention.de (Postfix, from userid 2260) id 50C37180BA6; Thu, 3 Nov 2011 10:25:23 +0100 (CET) Date: Thu, 3 Nov 2011 10:25:23 +0100 From: Philipp Hahn To: The development of GNU GRUB , starous@volny.cz Subject: Re: [PATCH] EHCI driver - USB 2.0 support Message-ID: <20111103092507.GA29134@stave.knut.univention.de> References: <1309029199.2532.35.camel@pracovna> <201106252151.12483.szymon@janc.net.pl> <1309120668.3268.153.camel@pracovna> <4E28A149.4010008@gmail.com> <1314463338.2555.56.camel@pracovna> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1314463338.2555.56.camel@pracovna> Organization: Univention GmbH User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 82.198.197.8 X-Mailman-Approved-At: Fri, 04 Nov 2011 08:13:21 -0400 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 09:25:36 -0000 Hello, I had a look at your EHCI driver, while investigating why grub-1.99 needs 2 minutes to load my 58 MB InitRd. On Sat, Aug 27, 2011 at 06:42:18PM +0200, Ale=C5=A1 Nesrsta wrote: > Changes in other files are still the same (more precisely, I hope - I > didn't check if there are some other unrelated changes from anybody els= e > in newest trunk revision...) - usb_ehci_110625_0. Compiling on x86_86 failed for me in grub-core/bus/usb/usbhub.c:104 > grub_dprintf ("usb", "Added new usb device: %08x, addr=3D%d\n", > (grub_uint32_t)dev, i); because dev is a 64 bit pointer which GCC didn't like to cast to an uint32 with the compiler options used by Debian. I fixed this locally by changing those two lines to use '%p' instead of '%08x' and without the cast: grub_dprintf ("usb", "Added new usb device: %p, addr=3D%d\n", dev, i); Even without that I wasn't able to get EHCI working: If I insmod 'usbms' and 'ehci', no disk is detected. Only when I insmod 'ohci' is the stick detected. With 'set debug=3Dehci pager=3D1' I get some lines, before the screen is spammed with 'STATUS'-lines and the computer reboots. Did I miss something obvious or can I help debug this? Sincerely Philipp --=20 Philipp Hahn Open Source Software Engineer hahn@univention= .de Univention GmbH Linux for Your Business fon: +49 421 22 232= - 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232= -99 http://www.univention.= de/