Thread (16 messages) 16 messages, 4 authors, 2014-06-16

Re: Linux kernel crash (3.2.0-2-amd64) when trying to play audio CD

From: Borislav Petkov <hidden>
Date: 2012-09-13 12:58:25
Also in: linux-scsi

On Fri, Sep 07, 2012 at 11:14:33AM +0200, Thomas Schwinge wrote:
I have now finally been able to check this, and yes, I'm already using
the latest version of the BIOS, which is Phoenix cME FirstBIOS Desktop
Pro version 5.00 R1.07.2264.A1 (a.k.a.  5.00.1.07, 25.04.2006) for
Fujitsu Siemens Esprimo E5600, mainboard D2264-A1, CPU AMD Sempron 3000+.
Ok.
quoted
If there's no newer BIOS, we can try applying the workaround at boot in
an init script to fix your issue.
How'd that be done?
Well, you need to run the following script when the machine boots. I.e.,
you'd probably have to add it to /etc/init.d/ and make it run at some
runlevel, sometime early-ish, before a user can login.

Here's the script, let me know how it goes:

--
#!/bin/bash
# assuming a single CPU system

nb_cfg=0xc001001f
ht_tr_ctl=0x68


val="0x"$(rdmsr $nb_cfg)
val=$(( $val | (1 << 32) ))
val=$(printf "0x%08x" $val)
wrmsr $nb_cfg $val


val="0x"$(setpci -s 18.0 $ht_tr_ctl.l)
val=$(( $val | (1 << 21) ))
val=$(printf "0x%08x" $val)
setpci -s 18.0 $ht_tr_ctl.l=$val

echo "Erratum 169 workaround applied."
---

HTH.

-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help