Fan/Power controls

Andreas Tobler andreast-list at fgznet.ch
Sat Feb 27 21:48:02 UTC 2010


On 27.02.10 22:28, Alexander Bakst wrote:
> (Switched my non-work e-mail)
>
> Well, I actually am using a fancy apple G5 - I belive it is a power
> 970fx, not sure though. I'm not even sure how to check the current clock
> frequency of my cpu. To be honest, it would be fantastic if it weren't
> running at the highest speed, since I would like to save power. I don't
> know if the kernel will tell the cpu to snooze/nap.

Hm, it is a 970FX @ 2000.36 MHz.
I'm confused that there is no smu?
Maybe this one lacks the smu. According to the docs I have, the 7,3 
behaves similar to the 7,2. And the 7,2/3 do not have an smu. The cpu 
speed is controlled via freq and volt. And some nasty gpio interrupts @ 
Nathan :) This bites me currently!

Can you boot this machine into OS-X and see what it tells you about the 
CPU speed?

Hopefully I'm wrong :)

Andreas

> dmesg output:
>
> Copyright (c) 1992-2010 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>       The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 9.0-CURRENT #314 r204309:204312M: Thu Feb 25 09:28:38 CST 2010
>
> root at comporellon.tachypleus.net:/usr/obj/powerpc/usr/src/sys/GENERIC powerpc
> cpu0: IBM PowerPC 970FX revision 3.0, 2000.36 MHz
> cpu0: Features dc000000<PPC32,PPC64,ALTIVEC,FPU,MMU>
> cpu0: HID0 511081<NAP,DPM,NHR,TBEN,ENATTN>
> real memory  = 1060220928 (1011 MB)
> avail memory = 986472448 (940 MB)
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0: dev=ff899e08 (BSP)
> cpu1: dev=ff89b2e8
> ispfw: registered firmware<isp_1040>
> ispfw: registered firmware<isp_1040_it>
> ispfw: registered firmware<isp_1080>
> ispfw: registered firmware<isp_1080_it>
> ispfw: registered firmware<isp_12160>
> ispfw: registered firmware<isp_12160_it>
> ispfw: registered firmware<isp_2100>
> ispfw: registered firmware<isp_2200>
> ispfw: registered firmware<isp_2300>
> ispfw: registered firmware<isp_2322>
> ispfw: registered firmware<isp_2400>
> ispfw: registered firmware<isp_2400_multi>
> ispfw: registered firmware<isp_2500>
> ispfw: registered firmware<isp_2500_multi>
> kbd0 at kbdmux0
> nexus0:<Open Firmware Nexus device>
> cpulist0:<Open Firmware CPU Group>  on nexus0
> cpu0:<Open Firmware CPU>  on cpulist0
> pcr0:<PPC 970 Power Control Register>  on cpu0
> pcr0: No power mode data in device tree!
> device_attach: pcr0 attach returned 6
> cpu1:<Open Firmware CPU>  on cpulist0
> pcr1:<PPC 970 Power Control Register>  on cpu1
> pcr1: No power mode data in device tree!
> device_attach: pcr1 attach returned 6
> pcib0:<Apple U3 Host-AGP bridge>  on nexus0
> pci0:<OFW PCI bus>  on pcib0
> vgapci0:<VGA-compatible display>  port 0x400-0x4ff mem
> 0xa0000000-0xafffffff,0x90000000-0x9000ffff irq 48 at device 16.0 on pci0
> cpcht0:<IBM CPC925 HyperTransport Tunnel>  on nexus0
> pcib1:<HyperTransport-PCI bridge>  on cpcht0
> pci1:<OFW PCI bus>  on pcib1
> macio0:<K2 KeyLargo I/O Controller>  mem 0x80000000-0x8007ffff at device
> 7.0 on pci1
> openpic0:<OpenPIC Interrupt Controller>  mem 0x40000-0x7ffff on macio0
> macgpio0:<MacIO GPIO Controller>  mem 0x50-0x8a on macio0
> scc0:<Zilog Z8530 dual channel SCC>  mem
> 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff
> irq 22,5,6,23,7,8 on macio0
> scc0: [FILTER]
> scc0: [FILTER]
> uart0:<z8530, channel A>  on scc0
> uart0: [FILTER]
> uart1:<z8530, channel B>  on scc0
> uart1: [FILTER]
> iichb0:<Keywest I2C controller>  mem 0x18000-0x18fff irq 26 on macio0
> iichb0: [ITHREAD]
> iicbus0:<OFW I2C bus>  on iichb0
> iicbus0:<unknown card>  at addr 0x1c0
> iicbus0:<unknown card>  at addr 0x6a
> pmu0:<Apple PMU99 Controller>  mem 0x16000-0x17fff irq 25 on macio0
> ohci0:<OHCI (generic) USB controller>  mem 0x80081000-0x80081fff irq 27
> at device 8.0 on pci1
> ohci0: [ITHREAD]
> usbus0:<OHCI (generic) USB controller>  on ohci0
> ohci1:<OHCI (generic) USB controller>  mem 0x80080000-0x80080fff irq 28
> at device 9.0 on pci1
> ohci1: [ITHREAD]
> usbus1:<OHCI (generic) USB controller>  on ohci1
> pcib2:<HyperTransport-PCI bridge>  on cpcht0
> pci2:<OFW PCI bus>  on pcib2
> ohci2:<NEC uPD 9210 USB controller>  mem 0x80702000-0x80702fff irq 63 at
> device 11.0 on pci2
> ohci2: [ITHREAD]
> usbus2:<NEC uPD 9210 USB controller>  on ohci2
> ohci3:<NEC uPD 9210 USB controller>  mem 0x80701000-0x80701fff irq 63 at
> device 11.1 on pci2
> ohci3: [ITHREAD]
> usbus3:<NEC uPD 9210 USB controller>  on ohci3
> ehci0:<NEC uPD 720100 USB 2.0 controller>  mem 0x80700000-0x807000ff irq
> 63 at device 11.2 on pci2
> ehci0: [ITHREAD]
> usbus4: EHCI version 1.0
> usbus4:<NEC uPD 720100 USB 2.0 controller>  on ehci0
> pcib3:<HyperTransport-PCI bridge>  on cpcht0
> pci3:<OFW PCI bus>  on pcib3
> ata0:<K2 Kauai ATA Controller>  mem 0x80104000-0x80107fff irq 39 at
> device 13.0 on pci3
> ata0: [ITHREAD]
> fwohci0:<1394 Open Host Controller Interface>  mem 0x80100000-0x80100fff
> irq 40 at device 14.0 on pci3
> fwohci0: [ITHREAD]
> fwohci0: OHCI version 1.0 (ROM=0)
> fwohci0: No. of Isochronous channels is 8.
> fwohci0: EUI64 00:0d:93:ff:fe:62:62:7c
> fwohci0: invalid speed 7 (fixed to 3).
> fwohci0: Phy 1394a available S800, 3 ports.
> fwohci0: Link S800, max_rec 4096 bytes.
> firewire0:<IEEE1394(FireWire) bus>  on fwohci0
> fwe0:<Ethernet over FireWire>  on firewire0
> if_fwe0: Fake Ethernet address: 02:0d:93:62:62:7c
> fwe0: Ethernet address: 02:0d:93:62:62:7c
> sbp0:<SBP-2/SCSI over FireWire>  on firewire0
> fwohci0: Initiate bus reset
> fwohci0: fwohci_intr_core: BUS reset
> fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=2,
> CYCLEMASTER mode
> pcib4:<HyperTransport-PCI bridge>  on cpcht0
> pci4:<OFW PCI bus>  on pcib4
> gem0:<Apple K2 GMAC Ethernet>  mem 0x80400000-0x805fffff irq 41 at
> device 15.0 on pci4
> miibus0:<MII bus>  on gem0
> brgphy0:<BCM54K2 10/100/1000baseTX PHY>  PHY 1 on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> gem0: 10kB RX FIFO, 4kB TX FIFO
> gem0: Ethernet address: 00:0d:93:62:62:7c
> gem0: [ITHREAD]
> pcib5:<HyperTransport-PCI bridge>  on cpcht0
> pci5:<OFW PCI bus>  on pcib5
> atapci0:<ServerWorks K2 SATA150 controller>  mem 0x80600000-0x80601fff
> irq 0 at device 12.0 on pci5
> atapci0: [ITHREAD]
> ata2:<ATA channel 0>  on atapci0
> ata2: [ITHREAD]
> ata3:<ATA channel 1>  on atapci0
> ata3: [ITHREAD]
> ata4:<ATA channel 2>  on atapci0
> ata4: [ITHREAD]
> ata5:<ATA channel 3>  on atapci0
> ata5: [ITHREAD]
> atapci1:<ServerWorks K2 SATA150 controller>  at device 12.1 on pci5
> atapci1: unable to map interrupt
> device_attach: atapci1 attach returned 6
> sc0:<System console>  on nexus0
> sc0: Unknown<16 virtual consoles, flags=0x300>
> Timecounter "decrementer" frequency 33333333 Hz quality 0
> Timecounters tick every 10.000 msec
> firewire0: 1 nodes, maxhop<= 0 cable IRM irm(0)  (me)
> firewire0: bus manager 0
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 12Mbps Full Speed USB v1.0
> ugen0.1:<Apple>  at usbus0
> uhub0:<Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1>  on usbus0
> ugen1.1:<Apple>  at usbus1
> uhub1:<Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1>  on usbus1
> usbus2: 12Mbps Full Speed USB v1.0
> usbus3: 12Mbps Full Speed USB v1.0
> ugen2.1:<NEC>  at usbus2
> uhub2:<NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1>  on usbus2
> ugen3.1:<NEC>  at usbus3
> uhub3:<NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1>  on usbus3
> usbus4: 480Mbps High Speed USB v2.0
> ugen4.1:<NEC>  at usbus4
> uhub4:<NEC EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>  on usbus4
> uhub0: 2 ports with 2 removable, self powered
> acd0: DVDR<PIONEER DVD-RW DVR-109/A912>  at ata0-master UDMA66
> uhub1: 2 ports with 2 removable, self powered
> ad0: 152627MB<WDC WD1600JD-41HBC0 21.02J21>  at ata2-master UDMA100 SATA
> 1.5Gb/s
> uhub2: 3 ports with 3 removable, self powered
> uhub3: 2 ports with 2 removable, self powered
> uhub4: 5 ports with 5 removable, self powered
> ugen4.2:<vendor 0x0204>  at usbus4
> umass0:<vendor 0x0204 2090E, class 0/0, rev 2.00/1.00, addr 2>  on usbus4
> umass0:  SCSI over Bulk-Only; quirks = 0x0000
> SMP: AP CPU #1 launched
> Root mount waiting for: usbus4
> umass0:1:0:-1: Attached to scbus1d
> a0 at umass-sim0 bus 0 scbus1 target 0 lun 0
> da0:<  2090E 5.00>  Removable Direct Access SCSI-2 device
> da0: 40.000MB/s transfers
> da0: 249MB (509952 512 byte sectors: 64H 32S/T 249C)
> (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
> (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
> (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
> (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
> Trying to mount root from ufs:/dev/ad0s3
> GEOM_PART: Partition 'ad0s4' not suitable for kernel dumps (wrong type?)
>
> ugen2.2:<vendor 0x0409>  at usbus2
> uhub5:<vendor 0x0409 product 0x55ab, class 9/0, rev 1.00/1.00, addr 2>
> on usbus2
> uhub5: 4 ports with 4 removable, bus powered
> ugen2.3:<Alps Electric>  at usbus2
> ukbd0:<Alps Electric M2452, class 0/0, rev 1.00/1.01, addr 3>  on usbus2
> kbd1 at ukbd0
> ugen2.4:<Logitech>  at usbus2
> ums0:<Logitech M4848, class 0/0, rev 1.00/5.00, addr 4>  on usbus2
> ums0: 1 buttons and [XY] coordinates ID=0
> gem0: link state changed to DOWN
> gem0: link state changed to UP
> gem0: link state changed to DOWN
> gem0: link state changed to UP




More information about the freebsd-ppc mailing list