grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug] Wrong machtype argument passed for fuloong-2f


From: David Kuehling
Subject: Re: [bug] Wrong machtype argument passed for fuloong-2f
Date: Sun, 30 Oct 2011 14:06:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

>>>>> "Vladimir" == Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> 
>>>>> 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=on). Please try the following patch: === modified
> 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] =
> { [GRUB_ARCH_MACHINE_YEELOONG] =
> "machtype=lemote-yeeloong-2f-8.9inches", -
> [GRUB_ARCH_MACHINE_FULOONG2F] = "machtype=lemote-fuloong-2f-unknown",
> + [GRUB_ARCH_MACHINE_FULOONG2F] = "machtype=lemote-fuloong-2f-box",
> [GRUB_ARCH_MACHINE_FULOONG2E] = "machtype=lemote-fuloong-2e-unknown"
> }; #endif

Already have exactly that change applied to the version of grub installed.

$ cat /proc/cmdline 
machtype=lemote-fuloong-2f-box root=/dev/mapper/world-root ro
console=tty rd_start=0x80eb0000 rd_size=0x68f0d9 

$ cat /proc/cpuinfo |grep system
system type             : lemote-fuloong-2f-box

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpD38Hm_cEU7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]