http://bugs.winehq.org/show_bug.cgi?id=32482
Bug #: 32482 Summary: Windows Sysinternals "PsInfo" tool fails to retrieve "Physical Memory" value from "HKLM\Hardware\ResourceMap\System Resources" registry key Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
Windows Sysinternals "PsInfo" tool fails to query for some system properties... Making this bug about "Physical Memory".
Output:
--- snip --- $ wine ./PsInfo.exe
PsInfo v1.77 - Local and remote system information viewer Copyright (C) 2001-2009 Mark Russinovich Sysinternals - www.sysinternals.com
Querying information for nexus4...fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \nexus4: Uptime: Error reading uptime Kernel version: Microsoft Windows XP, Uniprocessor Free Product type: Professional Product version: 5.1 Service pack: 3 Kernel build number: 2600 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 4 Processor speed: 2.6 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- snip ---
Trace log (processor info = ok, physmem = missing):
--- snip --- ... 0024:Call advapi32.RegOpenKeyExW(80000002,0042f520 L"Hardware\Description\System\CentralProcessor\0",00000000,00020019,0032f96c) ret=00404a33 0024:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=00404a33 0024:Call advapi32.RegQueryValueExW(00000054,0042f510 L"~MHz",00000000,0032f970,0043c0e4,0032f968) ret=00404a58 0024:Ret advapi32.RegQueryValueExW() retval=00000000 ret=00404a58 0024:Call advapi32.RegQueryValueExW(00000054,0042f4e8 L"ProcessorNameString",00000000,0032f970,0043d538,0032f968) ret=00404a81 0024:Ret advapi32.RegQueryValueExW() retval=00000000 ret=00404a81 0024:Call advapi32.RegCloseKey(00000054) ret=00404a95 0024:Ret advapi32.RegCloseKey() retval=00000000 ret=00404a95 0024:Call advapi32.RegOpenKeyW(80000002,0042f210 L"Hardware\ResourceMap\System Resources\Physical Memory",0032f930) ret=00403b17 0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=00403b17 --- snip ---
Wineboot already creates a couple of hardware related registry keys:
Source: http://source.winehq.org/git/wine.git/blob/7f9dfe273a80d31e3f8c5bd0c100c8137...
Might be useful to add "Hardware\ResourceMap\System Resources" key here along with actual physmem value.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32482
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://technet.microsoft.co | |m/en-us/sysinternals/bb8975 | |50.aspx Severity|normal |enhancement
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-12-18 15:07:00 CST --- Hello folks,
filling fields ...
$ du -sh PSTools.zip 1.6M PSTools.zip
$ sha1sum PSTools.zip 853db38ae016df89beef8663e9f60cec0aeca343 PSTools.zip
$ wine --version wine-1.5.19-214-gb47facb
Regards
https://bugs.winehq.org/show_bug.cgi?id=32482
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |registry
https://bugs.winehq.org/show_bug.cgi?id=32482
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #2 from hanska2@luukku.com --- Downlaod link
http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
https://bugs.winehq.org/show_bug.cgi?id=32482
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor
https://bugs.winehq.org/show_bug.cgi?id=32482
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- still fails to show correctly 1.7.53
https://bugs.winehq.org/show_bug.cgi?id=32482
--- Comment #4 from super_man@post.com --- still valid 1.8.rc2
https://bugs.winehq.org/show_bug.cgi?id=32482
alexchandel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexchandel@gmail.com
--- Comment #5 from alexchandel@gmail.com --- Confirmed on OSX as well, still an issue in 1.9.7.
https://bugs.winehq.org/show_bug.cgi?id=32482
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://technet.microsoft.co |https://download.sysinterna |m/en-us/sysinternals/bb8975 |ls.com/files/PSTools.zip |50.aspx |
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
--- snip --- $ wine ./PsInfo.exe
PsInfo v1.78 - Local and remote system information viewer Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com
Querying information for n550...0009:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \n550: Uptime: 0 days 1 hour 6 minutes 38 seconds Kernel version: Microsoft Windows 7, Uniprocessor Free Product type: Professional Product version: 6.1 Service pack: 1 Kernel build number: 7601 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 8 Processor speed: 3.4 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- snip ---
$ sha1sum PSTools.zip 1e562ff2bae38856f8dcf3f939cdbe8e1bf6ccf3 PSTools.zip
$ du -sh PSTools.zip 2.8M PSTools.zip
$ wine --version wine-3.13
Regards
https://bugs.winehq.org/show_bug.cgi?id=32482
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windows Sysinternals |Windows Sysinternals |"PsInfo" tool fails to |'PsInfo' tool fails to |retrieve "Physical Memory" |retrieve 'Physical Memory' |value from |value from |"HKLM\Hardware\ResourceMa |'HKLM\Hardware\ResourceMa |p\System Resources" |p\System Resources' |registry key |registry key URL|https://download.sysinterna |https://web.archive.org/web |ls.com/files/PSTools.zip |/20200524120031/https://dow | |nload.sysinternals.com/file | |s/PSTools.zip
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Adding stable link via Internet Archive:
https://web.archive.org/web/20200524120031/https://download.sysinternals.com...
--- snip --- $ wine ./PsInfo.exe ...
PsInfo v1.78 - Local and remote system information viewer Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com
...
System information for \N550: Uptime: 0 days 2 hours 44 minutes 40 seconds Kernel version: Microsoft Windows 7, Uniprocessor Free Product type: Professional Product version: 6.1 Service pack: 1 Kernel build number: 7601 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 8 Processor speed: 3.4 GHz Processor type: Intel(R) Core(TM) i7-4700HQ CPU @ Physical memory: 0 MB Video driver: modesetting --- snip ---
$ sha1sum PSTools.zip ad067399bd4a553da391d8059b95b1bd156fbb0b PSTools.zip
$ du -sh PSTools.zip 3.1M PSTools.zip
$ wine --version wine-5.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=32482
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
--- snip --- $ wine ./PsInfo.exe
PsInfo v1.78 - Local and remote system information viewer Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com
System information for \LINUX: Uptime: 0 days 0 hours 54 minutes 30 seconds Kernel version: Microsoft Windows 7, Uniprocessor Free Product type: Professional Product version: 6.1 Service pack: 1 Kernel build number: 7601 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 8 Processor speed: 3.4 GHz Processor type: Intel(R) Core(TM) i7-4700HQ CPU @ Physical memory: 0 MB Video driver: Intel(R) HD Graphics 4600 (HSW GT2) --- snip ---
$ wine --version wine-6.21-214-gbe0684dad50
Regards