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: <200906121104.26174.lkml@morethan.org>
Date:	Fri, 12 Jun 2009 11:04:23 -0500
From:	"Michael S. Zick" <lkml@...ethan.org>
To:	tomaz.mertelj@...st.arnes.si
Cc:	Harald Welte <HaraldWelte@...tech.com>,
	Jean Delvare <khali@...ux-fr.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, lm-sensors@...sensors.org
Subject: Re: [lm-sensors] [PATCH] hwmon: Add driver for VIA CPU core	temperature

On Fri June 12 2009, Michael S. Zick wrote:
> On Fri June 12 2009, tomaz.mertelj@...st.arnes.si wrote:
> > > 
> > > The author had a problem in that routine -
> > > try this one (32bit machines only) -
> > > 
> > > Mike 
> > 
> > DEBNAS:/home# for r in 0x1160 0x1161 0x1162 0x1163 0x1164 0x1165 0x1166 
> > 0x1167
> > 0x1168 0x1169 0x116a 0x116b 0x116c 0x1152 0x1153 ; do  ./rdmsrll $r ; 
> > done
> > MSR register 0x1160 => 08:04:83:94:bf:c2:39:c8
> > MSR register 0x1161 => 08:04:83:94:bf:ce:12:88
> > MSR register 0x1162 => 08:04:83:94:bf:d0:7a:a8
> > MSR register 0x1163 => 08:04:83:94:bf:9e:1f:88
> > MSR register 0x1164 => 08:04:83:94:bf:9c:ff:78
> > MSR register 0x1165 => 08:04:83:94:bf:87:6e:18
> > MSR register 0x1166 => 08:04:83:94:bf:a1:87:b8
> > MSR register 0x1167 => 08:04:83:94:bf:f1:cc:b8
> > MSR register 0x1168 => 08:04:83:94:bf:c6:22:08
> > MSR register 0x1169 => 08:04:83:94:bf:cf:b8:68
> > MSR register 0x116a => 08:04:83:94:bf:a3:57:d8
> > MSR register 0x116b => 08:04:83:94:bf:b3:a8:d8
> > MSR register 0x116c => 08:04:83:94:bf:ea:04:48
> > MSR register 0x1152 => 08:04:83:94:bf:84:85:e8
> > MSR register 0x1153 => 08:04:83:94:bf:d6:fb:18
> > 
> > I 
> > I hope this is better.
> >
> 
> The tool is broke - it is not reporting read failures.
> Evidently those register ranges are masked out somewhere; 
> will check on why/where.
>

The tool does not report read failures.
**BUT** if you remember to "modprobe msr" or have it built in...
Translation: Cockpit error.  ;)

root@...1:~# for r in 0x1160 0x1161 0x1162 0x1163 0x1164 0x1165 0x1166 0x1167 0x1168 0x1169 0x116a 0x116b 0x116c 0x1152 0x1153 ; do ./rdmsrll  $r ; done
MSR register 0x1160 => 00:00:00:00:00:00:05:dc
MSR register 0x1161 => 00:00:00:00:00:00:03:e8
MSR register 0x1162 => 00:00:00:00:00:00:00:00
MSR register 0x1163 => 00:00:00:00:00:00:00:00
MSR register 0x1164 => 00:00:00:00:00:00:00:5f
MSR register 0x1165 => 00:00:00:00:00:00:00:64
MSR register 0x1166 => 00:00:00:00:00:00:00:7d
MSR register 0x1167 => 00:00:00:00:00:00:00:00
MSR register 0x1168 => 00:00:00:00:00:00:01:8d
MSR register 0x1169 => 00:00:00:00:00:00:00:32
MSR register 0x116a => 00:00:00:00:00:00:00:03
MSR register 0x116b => 00:00:00:00:00:00:01:a6
MSR register 0x116c => 00:00:00:00:00:00:03:34
MSR register 0x1152 => e7:2c:b3:9f:fb:ff:ff:ff
MSR register 0x1153 => 04:06:0c:09:fe:ff:ff:ff

Which is the same data as reported by msr-tools.

Mike 
> Mike 
> > Tomaz
> > 
> > 
> > 
> > 
> 
> 
> --
> 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/
> 
> 


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