From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QkwKd-0005Wz-SI for mharc-grub-devel@gnu.org; Sun, 24 Jul 2011 06:54:47 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkwKb-0005Ws-Ku for grub-devel@gnu.org; Sun, 24 Jul 2011 06:54:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkwKa-0003OG-NC for grub-devel@gnu.org; Sun, 24 Jul 2011 06:54:45 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:35586) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QkwKa-0003OC-BG for grub-devel@gnu.org; Sun, 24 Jul 2011 06:54:44 -0400 Received: (qmail invoked by alias); 24 Jul 2011 10:54:42 -0000 Received: from g225042253.adsl.alicedsl.de (EHLO snail.gmx.de) [92.225.42.253] by mail.gmx.net (mp060) with SMTP; 24 Jul 2011 12:54:42 +0200 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX1/Tlt0g+ZfTQmGDMg1w+nCuhtleUs0gT0pDzVitkT djtChl8g5JrDcK From: David Kuehling To: The development of GNU GRUB Subject: Re: Using grub on fuloong 6004 References: <87sjpxuu9j.fsf@snail.Pool> <4E2AB7C1.5070305@gmail.com> <87oc0luope.fsf@snail.Pool> <4E2AF535.6090500@gmail.com> Date: Sun, 24 Jul 2011 12:54:40 +0200 In-Reply-To: <4E2AF535.6090500@gmail.com> ("Vladimir =?utf-8?Q?'=CF=86-cod?= =?utf-8?Q?er=2Fphcoder'?= Serbinenko"'s message of "Sat, 23 Jul 2011 18:22:13 +0200") Message-ID: <87fwlwx827.fsf@snail.Pool> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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: Sun, 24 Jul 2011 10:54:46 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "Vladimir" =3D=3D Vladimir '=CF=86-coder/phcoder' Serbinenko writes: > On 23.07.2011 15:11, David Kuehling wrote: >>>>>>> "Vladimir" =3D=3D Vladimir '=CF=86-coder/phcoder' Serbinenko >>>>>>> writes: >>>> sudo grub-mkimage --config=3D/boot/grub.elf.conf \ >>>> --output=3D/boot/grub3.elf --format=3Dmipsel-fuloong-elf --verbose \ >>>> ata part_msdos ext2 reboot halt lspci ohci usbtest usbms linux \ >>>> fat xfs part_gpt multiboot2 minicmd configfile gcry_md5 hashsum >>>>=20 >>> 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. >>=20 >> Now the grub blanks the screen and hangs when loaded from pmon. >>=20 > 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=3D/boot/grub.elf.conf =2D-output=3D/boot/grub4-4k.elf --format=3Dmipsel-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=3Dpata0,msdos1 set prefix=3D($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=20 /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 =2D-=20 GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOK/nxfe9TI8F0fUARAvbMAJ0X43h51s/AfoqRyn91ziDhMYtCaACfS/g6 YGfRqpcCcmwUF5RT3ddn6oc= =Z1pn -----END PGP SIGNATURE----- --=-=-=--