From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RKFvQ-00078m-Hp for mharc-grub-devel@gnu.org; Sat, 29 Oct 2011 16:54:44 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFvO-00077S-K5 for grub-devel@gnu.org; Sat, 29 Oct 2011 16:54:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKFvN-0007bN-Hd for grub-devel@gnu.org; Sat, 29 Oct 2011 16:54:42 -0400 Received: from alius.ayous.org ([78.46.213.165]:53854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFvN-0007bI-9m for grub-devel@gnu.org; Sat, 29 Oct 2011 16:54:41 -0400 Received: from eos.turmzimmer.net ([2001:a60:f006:aba::1]) by alius.turmzimmer.net with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RKFvM-0007qk-1k for grub-devel@gnu.org; Sat, 29 Oct 2011 20:54:40 +0000 Received: from aba by eos.turmzimmer.net with local (Exim 4.69) (envelope-from ) id 1RKFvG-0006Bs-AA for grub-devel@gnu.org; Sat, 29 Oct 2011 22:54:34 +0200 Date: Sat, 29 Oct 2011 22:54:34 +0200 From: Andreas Barth To: The development of GNU GRUB Subject: Re: [bug] Wrong machtype argument passed for fuloong-2f Message-ID: <20111029205434.GQ4110@mails.so.argh.org> References: <87y5w4f8bj.fsf@snail.Pool> <20111029103758.GM4110@mails.so.argh.org> <87ipn7frvv.fsf@snail.Pool> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ipn7frvv.fsf@snail.Pool> X-Editor: Vim http://www.vim.org/ User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 78.46.213.165 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:54:43 -0000 * David Kuehling (dvdkhlng@gmx.de) [111029 22:46]: > BTW it looks like it is impossible to override machtype= 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=" 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= rather than prepend it to the command line... I would consider it more appropriate to add a flag "suppress pmon command line" to the grub configuration - if you want to overwrite it, it should fully disappear, and not just be not parsed because there is another one first. Andi