Hi acrux
I recompiled using the latest kernel (2.6.31.1) and the problem was still persistent. However, I found out the source of the hardware clock problems:
Code:
[*] Macintosh device drivers --->
[ ] Support for PMU based PowerMacs
[*] Support for SMU based PowerMacs
[*] Support for mouse button 2+3 emulation
<*> Support for thermal management on PowerMac G5
< > New PowerMac thermal control infrastructure
< > Support for Apple XServe front panel LEDs
I was building a Kernel based on SMU, instead of PMU.
Now? The clock works, and can be configured.
But in all of this compiling frenzy, I was also trying to put out a couple of fires that popped up while compiling the new kernel. I was constantly bashing my head against the wall with these output messages from the make program:
Code:
$ make -j4 CONFIG_DEBUG_SECTION_MISMATCH=y | tee > kbuild/G5config3.build
dnsdomainname: Host name lookup failure
WARNING: vmlinux.o(.text+0x72d0): Section mismatch in reference from the function .start_secondary_prolog() to the function .devinit.text:.start_secondary()
The function .start_secondary_prolog() references
the function __devinit .start_secondary().
This is often because .start_secondary_prolog lacks a __devinit
annotation or the annotation of .start_secondary is wrong.
WARNING: vmlinux.o(.text+0x16f0c): Section mismatch in reference from the function .early_setup_secondary() to the function .cpuinit.text:.early_init_mmu_secondary()
The function .early_setup_secondary() references
the function __cpuinit .early_init_mmu_secondary().
This is often because .early_setup_secondary lacks a __cpuinit
annotation or the annotation of .early_init_mmu_secondary is wrong.
Plus these ones based on a g5_defconfig, mind you I adjusted it for my PMU G5 and Radeon graphics Card.
Code:
$ make -j4 CONFIG_DEBUG_SECTION_MISMATCH=y | tee > kbuild/G5config4.build
dnsdomainname: Host name lookup failure
sound/ppc/awacs.c: In function 'snd_pmac_awacs_init':
sound/ppc/awacs.c:886: warning: 'master_vol' may be used uninitialized in this function
drivers/gpu/drm/drm_edid.c: In function 'drm_detect_hdmi_monitor':
drivers/gpu/drm/drm_edid.c:704: warning: array subscript is above array bounds
drivers/pci/probe.c: In function '__pci_read_base':
drivers/pci/probe.c:196: warning: large integer implicitly truncated to unsigned type
WARNING: vmlinux.o(.text+0x72d0): Section mismatch in reference from the function .start_secondary_prolog() to the function .devinit.text:.start_secondary()
The function .start_secondary_prolog() references
the function __devinit .start_secondary().
This is often because .start_secondary_prolog lacks a __devinit
annotation or the annotation of .start_secondary is wrong.
WARNING: vmlinux.o(.text+0x15bc8): Section mismatch in reference from the function .early_setup_secondary() to the function .cpuinit.text:.early_init_mmu_secondary()
The function .early_setup_secondary() references
the function __cpuinit .early_init_mmu_secondary().
This is often because .early_setup_secondary lacks a __cpuinit
annotation or the annotation of .early_init_mmu_secondary is wrong.
Before I start a new thread regarding this, I'd just like to know if you have encountered these kernel building problems before?
Thanks for you help and consideration regarding the clock problem.
Gustav4