All of lore.kernel.org
 help / color / mirror / Atom feed
From: The Gluglug <info@gluglug.org.uk>
To: grub-devel@gnu.org
Subject: flash drive timing out, can't boot vmlinuz/initrd (coreboot payload)
Date: Tue, 10 Dec 2013 19:37:16 +0000	[thread overview]
Message-ID: <52A76D6C.6070608@gluglug.org.uk> (raw)

I am trying to boot a USB flash drive in GRUB2, when used as a payload 
for coreboot.
This is on a Lenovo Thinkpad X60.

I am using this config to boot from a Trisquel live USB (the config in 
correct; it has worked on occasion):
menuentry 'Boot Trisquel USB' {
     linux (usb0)/casper/vmlinuz boot=casper noprompt noeject idle=halt
     initrd (usb0)/casper/initrd
}

Sometimes, the linux line fails, and I am taken back to grub menu.
Other times, the linux line works, but the initrd line fails (in this 
case, it boots the kernel but it panics)
Sometimes both lines work, and I am able to boot into a Trisquel live 
usb sucessfully - very rarely.
Regardless, when one of the 2 above is true (either vmlinuz and/or 
initrd fails to load), I get this message:
error: USB Mass Storage request failed

Premise: me and phcoder think its a bad/slow USB drive.

Here are the attempted fixes (reposted so that they never expire):
http://paste.debian.net/70166/
After this, I got the message:
error: USB Mass Storage request failed (USB Error 7).

Then I tried this (reposted to never expire):
http://paste.debian.net/70171/
(increase timeout from 1 second to 10 seconds)

This changed nothing, so then this fix was attempted (after reverting 
the patches above):
http://paste.debian.net/70174/

After this change, USB booting worked successfully 3 times, but then 
started failing again with these errors:
error: USB Mass Storage stalled

Then this fix was attempted (after reverting the above):
http://paste.debian.net/70186/

This also changed nothing.


What other approaches could be taken to resolve this issue?



             reply	other threads:[~2013-12-10 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10 19:37 The Gluglug [this message]
2013-12-10 23:23 ` flash drive timing out, can't boot vmlinuz/initrd (coreboot payload) Aleš Nesrsta
2013-12-11  7:43 ` Melki Christian (consultant)
2013-12-13  9:11   ` Aleš Nesrsta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A76D6C.6070608@gluglug.org.uk \
    --to=info@gluglug.org.uk \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.