From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QlSzG-0008En-Je for mharc-grub-devel@gnu.org; Mon, 25 Jul 2011 17:46:54 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlSzD-0008DD-EL for grub-devel@gnu.org; Mon, 25 Jul 2011 17:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlSzB-00071h-Jk for grub-devel@gnu.org; Mon, 25 Jul 2011 17:46:51 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:58754) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QlSzA-00071Y-Lx for grub-devel@gnu.org; Mon, 25 Jul 2011 17:46:49 -0400 Received: (qmail invoked by alias); 25 Jul 2011 21:46:44 -0000 Received: from g225040064.adsl.alicedsl.de (EHLO snail.gmx.de) [92.225.40.64] by mail.gmx.net (mp035) with SMTP; 25 Jul 2011 23:46:44 +0200 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX19MHvxa83tMFhIzrLc4o/2PBt++BhNiBZno0Ys1e5 g1dmDrxUrPn3RL 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> <87fwlwx827.fsf@snail.Pool> <4E2C03CB.1000900@gmail.com> <8762mryh2f.fsf@snail.Pool> <4E2CBC25.7050409@gmail.com> Date: Mon, 25 Jul 2011 23:46:42 +0200 In-Reply-To: <4E2CBC25.7050409@gmail.com> ("Vladimir =?utf-8?Q?'=CF=86-cod?= =?utf-8?Q?er=2Fphcoder'?= Serbinenko"'s message of "Mon, 25 Jul 2011 02:43:17 +0200") Message-ID: <871uxe9got.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: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 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: Mon, 25 Jul 2011 21:46:53 -0000 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "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. >>=20 > 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-fuloon= g.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 skip 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 boot something without success. Pressing Esc on the keyboard doesn not have any observable effect. I tried with 4 different keyboards with no success.=20=20 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? 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. >> - menu looks a little grabled (lots of '@' instead of border), but >> won't complain about that >>=20 > 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). BTW the device.map file is still misgenerated by grub-mkdevmap on loongson. It writes 'hd0' where it should use 'ata0'. 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-Disposition: inline; filename=lspci.txt 00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-