From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Qb7vj-0002u2-8U for mharc-grub-devel@gnu.org; Mon, 27 Jun 2011 05:16:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb7vf-0002tB-JC for grub-devel@gnu.org; Mon, 27 Jun 2011 05:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb7vc-0001qp-Js for grub-devel@gnu.org; Mon, 27 Jun 2011 05:16:27 -0400 Received: from m50-135.163.com ([123.125.50.135]:51668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb7vb-0001pl-0z for grub-devel@gnu.org; Mon, 27 Jun 2011 05:16:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Message-ID:Date:From:User-Agent: MIME-Version:To:Subject:References:In-Reply-To:Content-Type; bh=lkN+TStPQmJL5sP/aXA/FYcvLFu6uzXjIUYPZS3OCuI=; b=K/BA8Ma5/nZtC 5j/lFneppNIaGGebJMosd9WswM+Uz5hKl6kJud32taTWLVPukWUbU4a5TEJX62eg UXnrvjI1W5ZJJs4KWeLmBSZmvbhW8RjPelNs2llq20wOuNdVuDtkZqiKPRAttSdM u27WzWPA7w92yf9GtJvK6bXE3fmlP0= Received: from [10.2.8.35] (unknown [152.104.150.33]) by smtp5 (Coremail) with SMTP id D9GowKBLzAJTSghOJutUAA--.20326S2; Mon, 27 Jun 2011 17:16:05 +0800 (CST) Message-ID: <4E084A56.1030908@163.com> Date: Mon, 27 Jun 2011 17:16:06 +0800 From: Cui Lei User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re:Re: Grub2 can not detect usb disk References: <4E030EF9.4060907@163.com> <4E034071.9040205@gmail.com> <4E03FD0C.2060400@163.com> In-Reply-To: <4E03FD0C.2060400@163.com> Content-Type: multipart/alternative; boundary="------------030606000702080906030704" X-CM-TRANSID: D9GowKBLzAJTSghOJutUAA--.20326S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxZr43Aw4DJw4rtr13KF1ftFb_yoWrAF45pr y5Ja13Wr48JryfX3srAr1vvw1rZryDJ34UJr13JF1DKFW5Kw48JF1jyr9Igw47X3WYqw1Y qFn8GryfXF4DWw7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jY7KsUUUUU= X-CM-SenderInfo: pqhyv25iruwvdwbsiiqs6rljoofrz/xtbBDhdrNkX0ZP-7KwAAs+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 123.125.50.135 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:16:30 -0000 This is a multi-part message in MIME format. --------------030606000702080906030704 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, I have gotten the uhci.mod and usbms.mod, then I insmoded them. But I still can not see a usb device. I set "debug=all" 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=0x0c 0x03 interface 0x00 base=0x3000 8 9 bus/usb/uhci.c:268: UHCI initialized 10 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3020 11 12 bus/usb/uhci.c:268: UHCI initialized 13 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3040 14 15 bus/usb/uhci.c:268: UHCI initialized 16 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3060 17 18 bus/usb/uhci.c:268: UHCI initialized 19 bus/usb/uhci.c:644: detect=0x480 port=0 20 21 bus/usb/uhci.c:644: detect=0x480 port=1 22 23 bus/usb/uhci.c:644: detect=0x493 port=0 24 25 bus/usb/uhci.c:586: enable=1 port=0 26 27 bus/usb/uhci.c:597: detect=0x493 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=0x497 34 35 bus/usb/usbtrans.c:43: control: reqtype=0x80 req=0x06 val=0x100 idx=0x00 size=18 36 37 bus/usb/uhci.c:402: transaction: endp=0, type=2, addr=0, toggle=0, size=8 data=0x7fccc td=0x5ff87000 38 39 bus/usb/uhci.c:402: transaction: endp=0, type=0, addr=0, toggle=1, size=18 data=0x5ff8d760 td=0x5ff87020 40 41 bus/usb/uhci.c:402: transaction: endp=0, type=1, addr=0, toggle=1, size=0 data=0x0 td=0x5ff87040 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=0x18800000 data=0x7fcc0 td=0x5ff87000 48 49 bus/usb/uhci.c:500: t status=0x18800000 50 51 bus/usb/uhci.c:494: >t status=0x18800000 data=0x7fcc0 td=0x5ff87000 52 53 bus/usb/uhci.c:500: t status=0x18800000 54 55 bus/usb/uhci.c:494: >t status=0x18800000 data=0x7fcc0 td=0x5ff87000 56 57 bus/usb/uhci.c:500: t status=0x18800000 [...](retry...) bus/usb/uhci.c:541: transaction timed out bus/usb/uhci.c:551: transaction failed [...] 169 bus/usb/uhci.c:644: detect=0x480 port=1 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=coreboot > > > >> 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 detected >>> 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 --------------030606000702080906030704 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit  Hi all,
I have gotten the uhci.mod and usbms.mod, then I insmoded them. But I still can not see a usb device. I set "debug=all" 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=0x0c 0x03 interface 0x00 base=0x3000
  8
  9 bus/usb/uhci.c:268: UHCI initialized
 10 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3020
 11
 12 bus/usb/uhci.c:268: UHCI initialized
 13 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3040
 14
 15 bus/usb/uhci.c:268: UHCI initialized
 16 bus/usb/uhci.c:178: class=0x0c 0x03 interface 0x00 base=0x3060
 17
 18 bus/usb/uhci.c:268: UHCI initialized
 19 bus/usb/uhci.c:644: detect=0x480 port=0
 20
 21 bus/usb/uhci.c:644: detect=0x480 port=1
 22
 23 bus/usb/uhci.c:644: detect=0x493 port=0
 24
 25 bus/usb/uhci.c:586: enable=1 port=0
 26
 27 bus/usb/uhci.c:597: detect=0x493
 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=0x497
 34
 35 bus/usb/usbtrans.c:43: control: reqtype=0x80 req=0x06 val=0x100 idx=0x00 size=18
 36
 37 bus/usb/uhci.c:402: transaction: endp=0, type=2, addr=0, toggle=0, size=8 data=0x7fccc td=0x5ff87000
 38
 39 bus/usb/uhci.c:402: transaction: endp=0, type=0, addr=0, toggle=1, size=18 data=0x5ff8d760 td=0x5ff87020
 40
 41 bus/usb/uhci.c:402: transaction: endp=0, type=1, addr=0, toggle=1, size=0 data=0x0 td=0x5ff87040
 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=0x18800000 data=0x7fcc0 td=0x5ff87000
 48
 49 bus/usb/uhci.c:500: t status=0x18800000
 50
 51 bus/usb/uhci.c:494: >t status=0x18800000 data=0x7fcc0 td=0x5ff87000
 52
 53 bus/usb/uhci.c:500: t status=0x18800000
 54
 55 bus/usb/uhci.c:494: >t status=0x18800000 data=0x7fcc0 td=0x5ff87000
 56
 57 bus/usb/uhci.c:500: t status=0x18800000
 [...](retry...)
 bus/usb/uhci.c:541: transaction timed out
 bus/usb/uhci.c:551: transaction failed

[...]

169 bus/usb/uhci.c:644: detect=0x480 port=1
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=coreboot



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 detected
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

--------------030606000702080906030704--