[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PowerMac G5 fans run out of control with kernel 4.17.0-3-powerpc64 but not with 4.16.0-1-powerpc64



On 10/03/2018 03:52 AM, Rick Thomas wrote:

On Oct 3, 2018, at 12:19 AM, Dennis Clarke <dclarke@blastwave.org> wrote:

I gather you have the 4-core version.

Looks like just dual core. I don't think the IBM 970ppc was ever quad core.

Sorry… I said “core” when I should have said “processor”.  You have four processors...

Let's not split hairs.

In any case I have 4.18.11 doing its thing :

$ cat /proc/version
Linux version 4.18.11-genunix (dclarke@nix) (gcc version 8.1.0 (genunix Sat May 12 22:02:47 UTC 2018)) #1 SMP Wed Oct 3 03:05:40 GMT 2018


However upon reboot I seem to have lost a 2G dimm somewhere. I should have noticed that on my last email.

nix$
nix$ ./pagesize
-------------------------------------------------------------
        system name = Linux
          node name = nix
            release = 4.18.11-genunix
            version = #1 SMP Wed Oct 3 03:05:40 GMT 2018
            machine = ppc64
-------------------------------------------------------------
         sysconf_phys = 1507329
       sysconf_avphys = 1460584
                 pgsz = 4096
                 phys = 1507329
               avphys = 1460584
Total physical memory may be   6174019584 bytes.
     Available memory may be   5982552064 bytes.
get_nprocs() claims 4 processors are available.
get_nprocs_conf() claims 4 processors are configured.
sysconf(_SC_NPROCESSORS_ONLN) reports 4 processors are available.
sysconf(_SC_NPROCESSORS_CONF) reports 4 processors are configured.
nix$
nix$

nix$ head /proc/meminfo
MemTotal:        6029316 kB
MemFree:         5842040 kB
MemAvailable:    5898992 kB
Buffers:           17204 kB
Cached:            76884 kB
SwapCached:            0 kB
Active:            60976 kB
Inactive:          51472 kB
Active(anon):      18584 kB
Inactive(anon):     8344 kB
nix$

dmesg tells me :

[ 0.000000] Page orders: linear mapping = 24, virtual = 12, io = 12, vmemmap = 24
[    0.000000] hash-mmu: Initializing hash mmu with SLB
[ 0.000000] Linux version 4.18.11-genunix (dclarke@nix) (gcc version 8.1.0 (genunix Sat May 12 22:02:47 UTC 2018)) #1 SMP Wed Oct 3 03:05:40 GMT 2018
[    0.000000] Found initrd at 0xc000000001640000:0xc000000001ad3000
[ 0.000000] Found U4 memory controller & host bridge @ 0xf8000000 revision: 0x42
[    0.000000] Mapped at 0xd000380080000000
[ 0.000000] Found a Shasta mac-io controller, rev: 0, mapped at 0x(____ptrval____)
[    0.000000] PowerMac motherboard: PowerMac G5 Dual Core
[    0.000000] DART table allocated at: (____ptrval____)
[    0.000000] DART IOMMU initialized for U4 type chipset
[    0.000000] Using PowerMac machine description
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 1 thread per core
[    0.000000]  (thread shift is 0)
[    0.000000] Allocated 1056 bytes for 4 pacas
[    0.000000] Top of RAM: 0x200000000, Total RAM: 0x180000000
[    0.000000] Memory hole size: 2048MB
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size    = 0x0
[    0.000000] phys_mem_size     = 0x180000000
.
.
.

Well hell.  Sure enough Total RAM: 0x180000000 says 6G right there.

Weird ... I am looking into that.  I simply pulled out the mem dimms and
gave them a once over with a pencil eraser and isopropyl alcohol and
then put them back into the slots in reverse order.

Yep .. oxidation on the pins I guess :



dclarke@nix:~$ head /proc/meminfo
MemTotal:        8093688 kB
MemFree:         7912084 kB
MemAvailable:    7955352 kB
Buffers:           14804 kB
Cached:            74908 kB
SwapCached:            0 kB
Active:            59468 kB
Inactive:          48176 kB
Active(anon):      18192 kB
Inactive(anon):     8344 kB
dclarke@nix:~$
dclarke@nix:~$ ./pgm/C/pagesize/pagesize
-------------------------------------------------------------
        system name = Linux
          node name = nix
            release = 4.18.11-genunix
            version = #1 SMP Wed Oct 3 03:05:40 GMT 2018
            machine = ppc64
-------------------------------------------------------------
         sysconf_phys = 2023422
       sysconf_avphys = 1977955
                 pgsz = 4096
                 phys = 2023422
               avphys = 1977955
Total physical memory may be   8287936512 bytes.
     Available memory may be   8101703680 bytes.
get_nprocs() claims 4 processors are available.
get_nprocs_conf() claims 4 processors are configured.
sysconf(_SC_NPROCESSORS_ONLN) reports 4 processors are available.
sysconf(_SC_NPROCESSORS_CONF) reports 4 processors are configured.
dclarke@nix:~$


So I will get back to the task of the mystery deb pkg files.

Dennis


Reply to: