Dr-Noob / cpufetch

Simple yet fancy CPU architecture fetching tool
GNU General Public License v2.0
1.83k stars 100 forks source link

Wrong info under Lubuntu 16.04 PowerPC G4 #196

Open mizu-bai opened 9 months ago

mizu-bai commented 9 months ago

I have a PowerBook G4 with PowerPC G4 7447A shipped, and I compiled cpufetch under Lubuntu 16.04. However the info seems wrong.

Screenshot 2023-10-04 at 12 30 52

Actually, this CPU has 1 core and 1 thread and Altivec is supported, while the frequency is right. Also it was manufactured by Motolora instead of IBM using 130 nm process.

mizu-bai commented 9 months ago
mizu-bai@mizubai-laptop:~/cpufetch$ ./cpufetch --verbose
[WARNING]: Could not open '/proc/device-tree/vpd/root-node-vpd@a000/enclosure@1e00/backplane@800/processor@1000/part-number'
[WARNING]: fill_package_ids_from_sys: package_ids[0] = -1
[WARNING]: fill_package_ids_from_sys failed, output may be incomplete/invalid
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/topology/package_cpus'
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/cache/index3/size'
Dr-Noob commented 9 months ago

The PowerPC support was mainly tested under POWER8 and POWER9 so is no suprise that it does not work in an old CPU.

I would love to help but without access to the machine is going to be very hard. Could you provide access to your Lubuntu machine? In case you are able to, please send me an e-mail or just let me know.

hifron commented 8 months ago

Maybe sell it to some Museum as a high valued artefact or with historic value for some Distinguished work to be done...