All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kuehling <dvdkhlng@gmx.de>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Using grub on fuloong 6004
Date: Sun, 24 Jul 2011 12:54:40 +0200	[thread overview]
Message-ID: <87fwlwx827.fsf@snail.Pool> (raw)
In-Reply-To: <4E2AF535.6090500@gmail.com> ("Vladimir 'φ-coder/phcoder' Serbinenko"'s message of "Sat, 23 Jul 2011 18:22:13 +0200")

[-- Attachment #1: Type: text/plain, Size: 2447 bytes --]

>>>>> "Vladimir" == Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> writes:

> On 23.07.2011 15:11, David Kuehling wrote:
>>>>>>> "Vladimir" == Vladimir 'φ-coder/phcoder' Serbinenko
>>>>>>> <phcoder@gmail.com> writes:
>>>> sudo grub-mkimage --config=/boot/grub.elf.conf \
>>>> --output=/boot/grub3.elf --format=mipsel-fuloong-elf --verbose \
>>>> ata part_msdos ext2 reboot halt lspci ohci usbtest usbms linux \
>>>> fat xfs part_gpt multiboot2 minicmd configfile gcry_md5 hashsum
>>>> 
>>> ata was renamed to pata.
>> Just recreated my grub.elf with ata in the grub.elf.conf replaced by
>> pata, plus 'pata' module added to the grub-mkimage command line.
>> 
>> Now the grub blanks the screen and hangs when loaded from pmon.
>> 
> I've fixed 2 regressions in trunk.
>> Maybe I should add that I'm using a 750GB hard-disk with 4k sectors
>> in my Fuloong.  Could that be a problem?  It's neigher a problem for
>> pmon nor for linux, though.
> I'm attaching a patch which should add the support for 4K sectors with
> ATA.

Ok, I tried the new trunk, once with your patch and once without it.

Now grub comes up and displays a prompt, but not a menu.  Keyboard
doesn't work however, so I cannot do anything with grub yet.

I tried to re-run grub-mkimage with module 'usb_keyboard' and 'ahci'
added, but that didn't help, keyboard still not working:

sudo grub-mkimage --config=/boot/grub.elf.conf
--output=/boot/grub4-4k.elf --format=mipsel-fuloong-elf --verbose ata
pata part_msdos ext2 reboot halt lspci ohci ahci usbtest usbms linux fat
xfs part_gpt multiboot2 minicmd configfile gcry_md5 hashsum usb_keyboard

grub.elf.conf:

set root=pata0,msdos1
set prefix=($root)/grub

I also ran 'grub-install' once, which put a full set of grub modules to
/boot/grub.  However, it failed to generate a grub image and complained:

$ sudo /usr/local/sbin/grub-install 
/usr/local/bin/grub-mkimage: error: cannot stat /usr/local/lib/grub/mipsel-loongson/uhci.mod.

according to lsusb, my keyboard is a

Bus 002 Device 003: ID 0b51:0020 Comfort Keyboard Co. Comfort Keyboard

, connected to the top-right usb slot.  Other than that only a usb-mouse
is also connected.  No hubs or other advanced usb-hardware.

Any ideas what's wrong now?

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2011-07-24 10:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 11:11 Using grub on fuloong 6004 David Kuehling
2011-07-23 12:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-23 13:11   ` David Kuehling
2011-07-23 13:53     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-23 16:22     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-24 10:54       ` David Kuehling [this message]
2011-07-24 11:36         ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-24 12:54           ` David Kuehling
2011-07-25  0:43             ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-25 21:46               ` David Kuehling
2011-09-29  8:58                 ` Vladimir 'φ-coder/phcoder' Serbinenko

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=87fwlwx827.fsf@snail.Pool \
    --to=dvdkhlng@gmx.de \
    --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.