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]
Message-Id: <1206123836.15075.699.camel@localhost>
Date:	Fri, 21 Mar 2008 19:23:56 +0100
From:	Laurent GUERBY <laurent@...rby.net>
To:	Peter Oruba <peter.oruba@....com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: BUG: soft lockup detected on Phenom with Debian 2.6.24-4

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@...ian.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 


--
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