From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RKV6M-0006WP-Db for mharc-grub-devel@gnu.org; Sun, 30 Oct 2011 09:07:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKV6K-0006WH-B2 for grub-devel@gnu.org; Sun, 30 Oct 2011 09:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKV6J-0007tz-26 for grub-devel@gnu.org; Sun, 30 Oct 2011 09:07:00 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:54273) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RKV6I-0007tf-Ni for grub-devel@gnu.org; Sun, 30 Oct 2011 09:06:59 -0400 Received: (qmail invoked by alias); 30 Oct 2011 13:06:55 -0000 Received: from g225034078.adsl.alicedsl.de (EHLO snail.gmx.de) [92.225.34.78] by mail.gmx.net (mp011) with SMTP; 30 Oct 2011 14:06:55 +0100 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX18Bc29s2lsBHyZA19rj6EX95QUjgM5mXRmdInlDZY K5XFdRTcym93Cn From: David Kuehling To: The development of GNU GRUB Subject: Re: [bug] Wrong machtype argument passed for fuloong-2f References: <87y5w4f8bj.fsf@snail.Pool> <20111029103758.GM4110@mails.so.argh.org> <87ipn7frvv.fsf@snail.Pool> <20111029205434.GQ4110@mails.so.argh.org> <4EACC4AE.5030504@gmail.com> Date: Sun, 30 Oct 2011 14:06:47 +0100 In-Reply-To: <4EACC4AE.5030504@gmail.com> ("Vladimir =?utf-8?Q?'=CF=86-cod?= =?utf-8?Q?er=2Fphcoder'?= Serbinenko"'s message of "Sun, 30 Oct 2011 04:29:50 +0100") Message-ID: <87ehxu632w.fsf@snail.Pool> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (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: Sun, 30 Oct 2011 13:07:01 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "Vladimir" =3D=3D Vladimir '=CF=86-coder/phcoder' Serbinenko writes: [..] > As I already said: machtype isn't only about pmon. And I consider it > as part of protocol on loongson so no, it won't be > overrideable. Moreover it's fundamentally wrong to make bugs > configurable (bugs=3Don). Please try the following patch: =3D=3D=3D modif= ied > file 'grub-core/loader/mips/linux.c' --- grub-core/loader/mips/linux.c > 2011-08-19 20:46:11 +0000 +++ grub-core/loader/mips/linux.c 2011-10-30 > 03:28:36 +0000 @@ -41,7 +41,7 @@ const char loongson_machtypes[][60] =3D > { [GRUB_ARCH_MACHINE_YEELOONG] =3D > "machtype=3Dlemote-yeeloong-2f-8.9inches", - > [GRUB_ARCH_MACHINE_FULOONG2F] =3D "machtype=3Dlemote-fuloong-2f-unknown", > + [GRUB_ARCH_MACHINE_FULOONG2F] =3D "machtype=3Dlemote-fuloong-2f-box", > [GRUB_ARCH_MACHINE_FULOONG2E] =3D "machtype=3Dlemote-fuloong-2e-unknown" > }; #endif Already have exactly that change applied to the version of grub installed. $ cat /proc/cmdline=20 machtype=3Dlemote-fuloong-2f-box root=3D/dev/mapper/world-root ro console=3Dtty rd_start=3D0x80eb0000 rd_size=3D0x68f0d9=20 $ cat /proc/cpuinfo |grep system system type : lemote-fuloong-2f-box 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) iEYEARECAAYFAk6tS+kACgkQfe9TI8F0fUAG9QCeN29TIkQUy2k0P3GGpzkHx+pY lhoAn2ZTlw1XBwpEEjoEvP09fGVHVu8n =hKbL -----END PGP SIGNATURE----- --=-=-=--