linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent GUERBY <laurent@guerby.net>
To: Peter Oruba <peter.oruba@amd.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG: soft lockup detected on Phenom with Debian 2.6.24-4
Date: Fri, 21 Mar 2008 19:23:56 +0100	[thread overview]
Message-ID: <1206123836.15075.699.camel@localhost> (raw)
In-Reply-To: <47E26A5D.40401@amd.com>

On Thu, 2008-03-20 at 14:45 +0100, Peter Oruba wrote:
> Laurent,
> 
> you may have triggered the L2 eviction bug (E298).
> 
> Please try
> 
> hexdump -s 0xc0010015 -n 8 -C /dev/cpu/0/msr
> 
> Output is little-endian, so the left-most byte must have bit 3 enabled meaning 
> TLB caching is disabled.

Hi Peter,

Since I did not have /dev/cpu I did after some searching:

for i in 0 1 2 3; do
	mkdir -p /dev/cpu/$i
	mknod -m 444 /dev/cpu/$i/msr c 202 $i
	mknod -m 444 /dev/cpu/$i/cpuid c 203 $i
done
modprobe msr

Then:

# hexdump -s 0xc0010015 -n 8 -C /dev/cpu/0/msr
# echo $?
0
# cat /proc/version 
Linux version 2.6.24-1-amd64 (Debian 2.6.24-4) (waldi@debian.org) (gcc
version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Mon Feb 11
13:47:43 UTC 2008

When I look at hexdump -v it's only zeroes for as long as I run it.

What am I doing wrong?

Thanks for your help!

Laurent

# lsmod
Module                  Size  Used by
msr                     8968  0 
nfs                   258800  0 
tun                    16512  1 
cpufreq_userspace       9604  4 
nfsd                  261416  17 
lockd                  73136  3 nfs,nfsd
nfs_acl                 8192  2 nfs,nfsd
auth_rpcgss            53152  1 nfsd
sunrpc                201096  11 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                9472  1 nfsd
ac                     11400  0 
battery                19976  0 
ipv6                  286248  28 
it87                   28432  0 
hwmon_vid               7424  1 it87
k8temp                 10496  0 
eeprom                 12688  0 
powernow_k8            18464  0 
freq_table              9728  1 powernow_k8
loop                   22788  0 
snd_hda_intel         362024  0 
parport_pc             42408  0 
parport                44812  1 parport_pc
serio_raw              11908  0 
snd_pcm                89352  1 snd_hda_intel
snd_timer              28552  1 snd_pcm
snd                    65896  3 snd_hda_intel,snd_pcm,snd_timer
soundcore              13216  1 snd
snd_page_alloc         15248  2 snd_hda_intel,snd_pcm
pcspkr                  7808  0 
i2c_piix4              13708  0 
psmouse                45724  0 
i2c_core               29824  2 eeprom,i2c_piix4
shpchp                 38428  0 
button                 13984  0 
pci_hotplug            35504  1 shpchp
evdev                  17024  0 
ext3                  139024  1 
jbd                    55976  1 ext3
mbcache                13952  1 ext3
dm_mirror              27008  0 
dm_snapshot            21960  0 
dm_mod                 67832  2 dm_mirror,dm_snapshot
ata_generic            13060  0 
sd_mod                 33408  3 
generic                 9732  0 [permanent]
usbhid                 35168  0 
hid                    41792  1 usbhid
atiixp                  9488  0 [permanent]
ahci                   34436  2 
ide_core              144920  2 generic,atiixp
libata                162736  2 ata_generic,ahci
ehci_hcd               39692  0 
ohci_hcd               28164  0 
scsi_mod              170296  2 sd_mod,libata
r8169                  36740  0 
thermal                22688  0 
processor              45032  2 powernow_k8,thermal
fan                     9864  0 



  reply	other threads:[~2008-03-21 18:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 22:00 BUG: soft lockup detected on Phenom with Debian 2.6.24-4 Laurent GUERBY
2008-03-16 14:43 ` Laurent GUERBY
2008-03-20 12:20   ` Laurent GUERBY
2008-03-20 13:45     ` Peter Oruba
2008-03-21 18:23       ` Laurent GUERBY [this message]
2008-04-12  7:28         ` Laurent GUERBY
2008-04-13 14:37           ` Thomas Gleixner
2008-04-14 10:23             ` Laurent GUERBY
2008-04-03  1:04       ` Schmielau, Tim
2008-04-02 19:15 ` Tim Schmielau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1206123836.15075.699.camel@localhost \
    --to=laurent@guerby.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter.oruba@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).