On Thu, Dec 03, 2009 at 05:52:37PM EST, Vladimir 'φ-coder/phcoder' Serbinenko 
wrote:
> Chris Jones wrote:

[..]

> > Barring typos or omissions, the trace reveals that the perceived
> > 'hang' after issuing 'insmod uhci' is in fact grub looping over the
> > following code:

> > /build/buildd/grub2-1.97~beta4/kern/disk.c:389 Reading hd0,11
> >

> This is just module loading. I guess your terminal is slow which causes
> an enormous slowback when loading module. You can using

> debug=usb,uhci,ohci instead of debug=all

I did as you requested with the following results:

------------------------------------------------------------------------
$ debug=usb,uhci,ohci
$ insmod uhci

[..]

/build/buildd/grub2-1.97~beta4/kern/disk.c:543 transaction failed
/build/buildd/grub2-1.97~beta4/kern/disk.c:403 transaction endp=0, type=0, 
addr=0,toggle=0, size=8, data=0x7fc6c, td=0x1792b040
/build/buildd/grub2-1.97~beta4/kern/disk.c:403 transaction endp=0, type=0, 
addr=0,toggle=1, size=0, data=0x0, td=0x1792b020
/build/buildd/grub2-1.97~beta4/kern/disk.c:476 setup transaction 0
/build/buildd/grub2-1.97~beta4/kern/disk.c:482 iniate transation
/build/buildd/grub2-1.97~beta4/kern/disk.c:493 >t status=0xf000ff53 
data=0xf00ff50 td=0x0
/build/buildd/grub2-1.97~beta4/kern/disk.c:539 transaction complete
/build/buildd/grub2-1.97~beta4/kern/disk.c:543 transaction failed
/build/buildd/grub2-1.97~beta4/kern/disk.c:631 detect=0x80 port=1
/build/buildd/grub2-1.97~beta4/kern/disk.c:633 registered

$ insmod usbms

[..]

/build/buildd/grub2-1.97~beta4/kern/disk.c:403 transaction endp=0, type=2, 
addr=1,toggle=8, size=8, data=0x7fcec, td=0x1792b000
/build/buildd/grub2-1.97~beta4/kern/disk.c:403 transaction endp=0, type=0, 
addr=1,toggle=1, size=0, data=0x0, td=0x1792b040
/build/buildd/grub2-1.97~beta4/kern/disk.c:476 setup transaction 0
/build/buildd/grub2-1.97~beta4/kern/disk.c:482 iniate transation
/build/buildd/grub2-1.97~beta4/kern/disk.c:493 >t status=0xf000ff53 
data=0xf00ff50 td=0x0
/build/buildd/grub2-1.97~beta4/kern/disk.c:539 transaction complete
/build/buildd/grub2-1.97~beta4/kern/disk.c:543 transaction failed

$ ls -l

[endless messages]

I rebooted and issued the same commands, resetting debug= after the
insmod's:

------------------------------------------------------------------------
$ debug=usb,uhci,ohci
$ insmod uhci

[..]

/build/buildd/grub2-1.97~beta4/kern/disk.c:633 registered

$ insmod usbms

[..]

/build/buildd/grub2-1.97~beta4/kern/disk.c:539 transaction complete
/build/buildd/grub2-1.97~beta4/kern/disk.c:543 transaction failed

$ debug=

$ ls -l

Device usb0:
------------------------------------------------------------------------

Nothing further happened that I could see - gave up after about 10
minutes. 

But, I did notice something rather promising: on both occasions the
orange light on the USB stick came on just after the insmod usbms, I
believe.

Thanks,

CJ




_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to