lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 8 Nov 2011 21:31:16 +0100
From:	Borislav Petkov <bp@...64.org>
To:	Daniel Drake <dsd@...top.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Geode LX boot fails after x86 microcode revision change

On Tue, Nov 08, 2011 at 01:59:40PM -0600, Daniel Drake wrote:
> Hi,
> 
> Linux-3.1 works fine on OLPC XO-1 (Geode LX) but latest linus master
> fails to boot. It hangs so early on that we don't even receive any
> output over serial.
> 
> git bisect tracked it down to:
> 
> 
> commit bcb80e53877c2045d9e52f4a71372c3fe6501f6f
> Author: Borislav Petkov <borislav.petkov@....com>
> Date:   Mon Oct 17 16:34:36 2011 +0200
> 
>     x86, microcode, AMD: Add microcode revision to /proc/cpuinfo
> 
>     Enable microcode revision output for AMD after 506ed6b53e00 ("x86,
>     intel: Output microcode revision in /proc/cpuinfo") did it for Intel.
> 
>     Signed-off-by: Borislav Petkov <borislav.petkov@....com>
> 
> 
> Any thoughts?

Hmm,

it might be that the Geode doesn't have the patch level MSR.., can you
send /proc/cpuinfo from a working kernel please, say 3.1?

Although, I have rdmsr_safe in the patch there so it actually shouldn't
be an issue, theoretically.

Can you also install msr-tools and do

$ rdmsr 0x8b

as root on the working kernel? If it hangs there too, then we know why.

Also, can you boot if you comment out the rdmsr_safe line in
early_init_amd(), line 477:

// rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy);

?

Thanks.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ