From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RKFnM-0006Dl-00 for mharc-grub-devel@gnu.org; Sat, 29 Oct 2011 16:46:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFnJ-0006AM-9t for grub-devel@gnu.org; Sat, 29 Oct 2011 16:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKFnI-000639-7Y for grub-devel@gnu.org; Sat, 29 Oct 2011 16:46:21 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:59743) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RKFnH-000632-RX for grub-devel@gnu.org; Sat, 29 Oct 2011 16:46:20 -0400 Received: (qmail invoked by alias); 29 Oct 2011 20:46:17 -0000 Received: from f052069096.adsl.alicedsl.de (EHLO snail.gmx.de) [78.52.69.96] by mail.gmx.net (mp035) with SMTP; 29 Oct 2011 22:46:17 +0200 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX18XPJ9tjLMXPLtpBr43TBvoo4yprgZSDmbRvt9C0F nOGBEDzwDk7O2A 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> Date: Sat, 29 Oct 2011 22:46:12 +0200 In-Reply-To: <20111029103758.GM4110@mails.so.argh.org> (Andreas Barth's message of "Sat, 29 Oct 2011 12:37:58 +0200") Message-ID: <87ipn7frvv.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: Sat, 29 Oct 2011 20:46:22 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "Andreas" =3D=3D Andreas Barth writes: > * David Kuehling (dvdkhlng@gmx.de) [111029 11:37]: >> according to my /proc/cmdline grub passes >> machtype=3Dlemote-fuloong-2f-unknown as first argument to the linux >> kernel. > Did you see any issues because of that in Linux? Fallback within linux > is MACH_LEMOTE_FL2F which is the one used with the argument > "lemote-fuloong-2f-box" (not saying this bug shouldn't be fixed, but > ...). Also I think grub should just forward the parameters added by > pmon, but not adding them itself (except for the parameters via the > grub configuration, e.g. root=3D...). BTW it looks like it is impossible to override machtype=3D parameter from the kernel command line configured in boot/grub/grub.cfg, since linux code in loongson/common/machtype.c uses the first occurence of "machtype=3D" in arcs_cmdline[]. Is this behaviour by design or by accident? Is this linux' fault or grub's fault? One could change grub to append machtype=3D rather than prepend it to the command line... 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) iEYEARECAAYFAk6sZhUACgkQfe9TI8F0fUAP/wCgj+SWbdXOmHY+/wdIqhTTCPJo hZwAoIkQVVCR7QUP8HqX/7cHyQZO+9Kc =M2IR -----END PGP SIGNATURE----- --=-=-=--