From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1R9CRi-00013X-De for mharc-grub-devel@gnu.org; Thu, 29 Sep 2011 04:58:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CRd-0000zm-0Z for grub-devel@gnu.org; Thu, 29 Sep 2011 04:58:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9CRY-0006OV-GL for grub-devel@gnu.org; Thu, 29 Sep 2011 04:58:16 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:65015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CRY-0006O1-85 for grub-devel@gnu.org; Thu, 29 Sep 2011 04:58:12 -0400 Received: by wyf22 with SMTP id 22so51638wyf.0 for ; Thu, 29 Sep 2011 01:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=6roCloW4sNHkDd6fG7tkN1guYL0Ni7mqmT9MkrSZOQs=; b=BROOeQrWoiuD3hyDyDfrdW+FjkRQ52HwwIc3ggsYHXkTygi1yjlRU16Gf0rO0kHTUa Zz3drLZPXSf1hGqX7cfG5qGjtL9RkeHmXWpxQIhcBvxRWbsv4PAbpI84natr92q2MFKN QYsK+t7/+XnuXHR3rAzGmK9JnD56YC7gElO34= Received: by 10.227.5.138 with SMTP id 10mr10263517wbv.35.1317286691257; Thu, 29 Sep 2011 01:58:11 -0700 (PDT) Received: from debian.x201.phnet (public-docking-hg-6-254.ethz.ch. [129.132.216.254]) by mx.google.com with ESMTPS id f26sm1461736wbp.7.2011.09.29.01.58.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 01:58:09 -0700 (PDT) Message-ID: <4E843320.3010109@gmail.com> Date: Thu, 29 Sep 2011 10:58:08 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Iceowl/1.0b2 Icedove/3.1.13 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Using grub on fuloong 6004 References: <87sjpxuu9j.fsf@snail.Pool> <4E2AB7C1.5070305@gmail.com> <87oc0luope.fsf@snail.Pool> <4E2AF535.6090500@gmail.com> <87fwlwx827.fsf@snail.Pool> <4E2C03CB.1000900@gmail.com> <8762mryh2f.fsf@snail.Pool> <4E2CBC25.7050409@gmail.com> <871uxe9got.fsf@snail.Pool> In-Reply-To: <871uxe9got.fsf@snail.Pool> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2EC6A29E6EB8E2E3A547AACA" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 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: Thu, 29 Sep 2011 08:58:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2EC6A29E6EB8E2E3A547AACA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.07.2011 23:46, David Kuehling wrote: >>>>>> "Vladimir" =3D=3D Vladimir '=CF=86-coder/phcoder' Serbinenko writes: > [..] >>> - keyoard still not working. Tried plugging in after grub startup, >>> but doesn't help (for grub-diy.elf i had to shortly plug in the >>> keyboard to select it in pmon, so mayb that doesn't count). Also >>> mouse was disconnected. >>> >> I've been unable to recreate. Keyboard worked fine both when GRUB >> loaded as ELF and when GRUB is firmware. I've uploaded them to >> http://download-mirror.savannah.gnu.org/releases/grub/phcoder/grub.elf= >> and >> http://download-mirror.savannah.gnu.org/releases/grub/phcoder/grub-ful= oong.img. >> do you see any messages if you set debug=3Dusb,ohci ? > If I use your grub.elf, it just prints something like 'Press Esc to ski= p > loading grub.cfg from hard-disk', then waits a few seconds, then the > screen gets black and the hdd led light flickers and it's trying to boo= t > something without success. That's because you have a separate /boot and the version I uploaded looks only for /boot/grub/grub.cfg, not /grub/grub.cfg and in case of failure it retries. So other than keyboard not working it works as expect= ed. > Pressing Esc on the keyboard doesn not have > any observable effect. > > I tried with 4 different keyboards with no success. =20 > That's weird given that code works with several keyboards here and also on yeeloong. > With my own grub.elf, adding debug=3Dusb,ohci to my /boot/grub/grub.cfg= > does not produce any output, but maybe it's just hidden by the menu > showing up? Anything that I can do to be sure to see messages? > Redirect them to the serial port? As a possibility. Or add an interruptible sleep at the end > Just to be sure, I now updated my grub.cfg to contain > > insmod ohci > insmod usb > insmod usb_keyboard > [..] > terminal_input usb_keyboard > > Which was generated from usr/local/etc/default/grub via the lines > > GRUB_TERMINAL_INPUT=3Dusb_keyboard > GRUB_PRELOAD_MODULES=3D"ohci usb usb_keyboard" > > The debug=3D lines I added before insmod ohci (but of course it's gone > after update-grub). > > In case it is of any help, I attach 'lspci -vv' and 'lsusb -vv' output.= > Seems to be same as mine other than keyboard model, of course. In short, I'm puzzled. >>> - menu looks a little grabled (lots of '@' instead of border), but >>> won't complain about that >>> >> It just means that no unifont was supplied > Yeah, with my dm-crypt partitions, grub has no chance to access its > fonts. Moved them to /boot and added=20 > > GRUB_FONT=3D/boot/grub/fonts/euro.pf2 > > to my default/grub, now that part is fixed (I wonder why you don't copy= > fonts to /boot when you detect partitions unaccessible to grub in > 00_header. debian's grub.d/05_debian_theme applies such a handling to > the splash images, copying them if neccessary). Because we recommended a too small /boot/grub partition on PowerMacs in the past. > BTW the device.map file is still misgenerated by grub-mkdevmap on > loongson. It writes 'hd0' where it should use 'ata0'. doesn't matter as long as UUIDs are correct. > cheers, > > David > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig2EC6A29E6EB8E2E3A547AACA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk6EMyAACgkQNak7dOguQgkevQEAuH8m5SlqvyPXeOQEfg3Xljkc 1FssmsnfkUApexvIYEUA+gK1Zn+IA8iEwIrX/NqRFj2rkhlp9uQsXImoir6vhRda =dzw8 -----END PGP SIGNATURE----- --------------enig2EC6A29E6EB8E2E3A547AACA--