From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Qb86b-0005e9-6n for mharc-grub-devel@gnu.org; Mon, 27 Jun 2011 05:27:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb86X-0005dN-Un for grub-devel@gnu.org; Mon, 27 Jun 2011 05:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb86V-0003e1-KV for grub-devel@gnu.org; Mon, 27 Jun 2011 05:27:41 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:61041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb86V-0003dv-6B for grub-devel@gnu.org; Mon, 27 Jun 2011 05:27:39 -0400 Received: by wwf22 with SMTP id 22so3617076wwf.30 for ; Mon, 27 Jun 2011 02:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=6OncaeiYuHQ+18Wz3hfRAxfFceEb/2GEQV76GaxyWnY=; b=nHjfVt3Cx2mGjS70TAjkAa8aleVopGaA5QVVuu9hvPJzLm5AW6BMtmH5H4Yybf97Y1 MP/FFULRvcxHEff09Eux+YRh3sI8kPfHNZxzMHn/3/Yhltl8xe+oy00U2AXVce0aI2UH ctrlWduM2inGx+VLDagvopkbR/Zp30NVTUUpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=T6LjfKaPQlUHcYZMygEM6RE74G/Lmmmi27OcC7aMNyecmRSu8XR74V9E8SiZ7Vt/LM rK/NuG6jmYXzJNGiA00Bq/IJd+YdlQp5eZuWhZaCyDAjFCaJAOwFpvvVz81JJfbASW/S T26SWbismNjVqnp/ivwTscPT6J6gSeV2MruCY= Received: by 10.227.11.134 with SMTP id t6mr115742wbt.21.1309166857679; Mon, 27 Jun 2011 02:27:37 -0700 (PDT) Received: from debian.x201.phnet (224.82.63.81.cust.bluewin.ch [81.63.82.224]) by mx.google.com with ESMTPS id gf6sm3937729wbb.58.2011.06.27.02.27.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Jun 2011 02:27:36 -0700 (PDT) Message-ID: <4E084D04.4040001@gmail.com> Date: Mon, 27 Jun 2011 11:27:32 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Iceowl/1.0b2 Icedove/3.1.10 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Grub2 can not detect usb disk References: <4E030EF9.4060907@163.com> <4E034071.9040205@gmail.com> <4E03FD0C.2060400@163.com> <4E084A56.1030908@163.com> In-Reply-To: <4E084A56.1030908@163.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigCA56F4C99A46489258D116FD" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 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: Mon, 27 Jun 2011 09:27:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCA56F4C99A46489258D116FD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 27.06.2011 11:16, Cui Lei wrote: > Hi all, > I have gotten the uhci.mod and usbms.mod, then I insmoded them. But I > still can not see a usb device. What does "usb" (from usbtest.mod) say? > I set "debug=3Dall" and > got the following results: > > /**********************************************************************= *******************************************************/ > 1 grub> insmod uhci > 2 [...] > 3 kern/dl.c:556: module name: uhci > 4 > 5 kern/dl.c:557: init function: 0x7fe393ce > 6 > 7 bus/usb/uhci.c:178: class=3D0x0c 0x03 interface 0x00 base=3D0x3000 > 8 > 9 bus/usb/uhci.c:268: UHCI initialized > 10 bus/usb/uhci.c:178: class=3D0x0c 0x03 interface 0x00 base=3D0x3020 > 11 > 12 bus/usb/uhci.c:268: UHCI initialized > 13 bus/usb/uhci.c:178: class=3D0x0c 0x03 interface 0x00 base=3D0x3040 > 14 > 15 bus/usb/uhci.c:268: UHCI initialized > 16 bus/usb/uhci.c:178: class=3D0x0c 0x03 interface 0x00 base=3D0x3060 > 17 > 18 bus/usb/uhci.c:268: UHCI initialized > 19 bus/usb/uhci.c:644: detect=3D0x480 port=3D0 > 20 > 21 bus/usb/uhci.c:644: detect=3D0x480 port=3D1 > 22 > 23 bus/usb/uhci.c:644: detect=3D0x493 port=3D0 > 24 > 25 bus/usb/uhci.c:586: enable=3D1 port=3D0 > 26 > 27 bus/usb/uhci.c:597: detect=3D0x493 > 28 > 29 bus/usb/uhci.c:606: reset completed > 30 > 31 bus/usb/uhci.c:613: waiting for the port to be enabled > 32 > 33 bus/usb/uhci.c:621: >3detect=3D0x497 > 34 > 35 bus/usb/usbtrans.c:43: control: reqtype=3D0x80 req=3D0x06 val=3D0x1= 00 > idx=3D0x00 size=3D18 > 36 > 37 bus/usb/uhci.c:402: transaction: endp=3D0, type=3D2, addr=3D0, togg= le=3D0, > size=3D8 data=3D0x7fccc td=3D0x5ff87000 > 38 > 39 bus/usb/uhci.c:402: transaction: endp=3D0, type=3D0, addr=3D0, togg= le=3D1, > size=3D18 data=3D0x5ff8d760 td=3D0x5ff87020 > 40 > 41 bus/usb/uhci.c:402: transaction: endp=3D0, type=3D1, addr=3D0, togg= le=3D1, > size=3D0 data=3D0x0 td=3D0x5ff87040 > 42 > 43 bus/usb/uhci.c:476: setup transaction 0 > 44 > 45 bus/usb/uhci.c:482: initiate transaction > 46 > 47 bus/usb/uhci.c:494: >t status=3D0x18800000 data=3D0x7fcc0 td=3D0x5f= f87000 > 48 > 49 bus/usb/uhci.c:500: t status=3D0x18800000 > 50 > 51 bus/usb/uhci.c:494: >t status=3D0x18800000 data=3D0x7fcc0 td=3D0x5f= f87000 > 52 > 53 bus/usb/uhci.c:500: t status=3D0x18800000 > 54 > 55 bus/usb/uhci.c:494: >t status=3D0x18800000 data=3D0x7fcc0 td=3D0x5f= f87000 > 56 > 57 bus/usb/uhci.c:500: t status=3D0x18800000 > [...](retry...) > bus/usb/uhci.c:541: transaction timed out > bus/usb/uhci.c:551: transaction failed > > [...] > > 169 bus/usb/uhci.c:644: detect=3D0x480 port=3D1 > 170 > 171 bus/usb/uhci.c:676: registered > 172 > 173 script/script.c:65: free 0x7fe73fd0 > 174 > 175 script/script.c:65: free 0x7fe74000 > 176 > 177 script/script.c:65: free 0x7fe74030 > 178 > 179 script/script.c:65: free 0x7fe73f80 > 180 > 181 script/script.c:65: free 0x7fe73fa0 > 182 . > 183 script/script.c:65: free 0x7fe50620 > 184 > 185 script/script.c:65: free 0x7fe50570 > 186 > 187 script/script.c:65: free 0x7fe50590 > /**********************************************************************= **********************************/ > > Can anyone give me some advices? > Thanks for your time. > > BRs, > > Rock. > > > > >> Thank you for you help, I searched them in my grub1.98 folder, but >> did not find any one. I found them in the grub1.99rc folder. I think >> may be I lost some configure option, but I built them with the same >> configure option: >> >> ./configure --with-platform=3Dcoreboot >> >> >> >>> On 23.06.2011 12:01, Cui Lei wrote: >>>> Hi all, >>>> I had build a coreboot with grub-1.98 as payload and I can use it to= >>>> boot ubuntu11.04. Now I want to use it to boot >>>> the ubuntu11.04 liveUSB, but it seems the usb device can not be dete= cted >>>> or grub don't do that, because when I >>>> type "ls", just get "memdisk" and "ata0". I don't know which module = I >>>> need to add in. >>> usbms and uhci or ohci depending on USB controller >>>> In addition, where can I get >>>> the detail about those grub2' modules ? >>>> >>>> BRs, >>>> >>>> Rock. >>>> >>>> >>>> _______________________________________________ >>>> Grub-devel mailing list >>>> Grub-devel@gnu.org >>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> https://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigCA56F4C99A46489258D116FD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk4ITQQACgkQNak7dOguQgmGawEAwJuYUIH85JsqhqXkRTaCvl6n GBVvWkQ2C9pKW27nA4oBAI2X0rLxP7sTDWEcs2723y9aPXv6FOvwJgEpLnxrOf6w =OlpJ -----END PGP SIGNATURE----- --------------enigCA56F4C99A46489258D116FD--