powernow not working on AMD Athlon XP Mobile
Maurizio Lombardi
m.lombardi85 at gmail.com
Tue Sep 13 14:31:04 PDT 2011
> Try following patch:
> http://leaf.dragonflybsd.org/~sephe/pstate_machdep.c.diff
>
> See whether following sysctl appears:
> hw.acpi.cpu.px_dom0.select
I applied your patch and rebuild the kernel.
Unfortunately it does not work:
#sysctl -a | grep px
#
Now it does not print anything at all!
Any ideas?
However, full dmesg attached.
--
--------------------
Maurizio Lombardi
Copyright (c) 2003-2011 The DragonFly Project.
Copyright (c) 1992-2003 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.
madt_probe: can't locate MADT
DragonFly v2.11.0.836.g3ddc3-DEVELOPMENT #0: Tue Sep 13 22:48:33 UTC 2011
root@:/usr/obj/usr/src/sys/LMB
TSC clock: 1855182810 Hz, i8254 clock: 1193179 Hz
CPU: mobile AMD Athlon(tm) XP2500+ (1855.20-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow!+,3DNow!>
real memory = 526972928 (502 MB)
avail memory = 494817280 (471 MB)
LAPIC: Can't find LAPIC
module_register: module pci/ahci already exists!
Module pci/ahci failed to register: 17
FQ scheduler policy version 1.1 loaded
kbd0 at kbdmux0
disk scheduler: set policy of md0 to noop
md0: Malloc disk
ACPI: RSDP 0xf7290 00014 (v0 PTLTD )
ACPI: RSDT 0x1f6f8b67 00030 (v1 PTLTD RSDT 06040000 LTP 00000000)
ACPI: FACP 0x1f6fee2b 00074 (v1 ATI Raptor 06040000 ATI 000F4240)
ACPI: DSDT 0x1f6f8b97 06294 (v1 ATI U1_M1535 06040000 MSFT 0100000D)
ACPI: FACS 0x1f6fffc0 00040
ACPI: BOOT 0x1f6fee9f 00028 (v1 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: SSDT 0x1f6feec7 00139 (v1 PTLTD POWERNOW 06040000 LTP 00000001)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
cryptosoft0: <software crypto> on motherboard
acpi0: <PTLTD RSDT> on motherboard
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/low
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device. You can't run both
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
[ACPI Debug] String [0x1C] "THERM: _Q80 - Thermal Change"
[ACPI Debug] String [0x16] "Notify _TZ.THRM , 0x80"
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <ATI RS100 AGP bridge> port 0x8090-0x8093 mem 0xe4400000-0xe4400fff,0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem 0xe4100000-0xe410ffff,0xec000000-0xedffffff irq 10 at device 5.0 on pci1
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xe4000000-0xe4000fff irq 9 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 4 ports with 4 removable, self powered
pci0: <multimedia, audio> (vendor 0x10b9, dev 0x5451) at device 6.0 irq 5
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <simple comms, generic modem> (vendor 0x10b9, dev 0x5457) at device 8.0 irq 3
cbb0: <TI1410 PCI-CardBus Bridge> irq 11 at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
atapci0: <AcerLabs M5229 UDMA100 controller> port 0x8080-0x808f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 16.0 on pci0
atapci0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance
ata0: <ATA channel 0> on atapci0
disk scheduler: set policy of ad0 to noop
[ACPI Debug] String [0x1C] "THERM: _Q80 - Thermal Change"
[ACPI Debug] String [0x16] "Notify _TZ.THRM , 0x80"
[ACPI Debug] String [0x1C] "THERM: _Q80 - Thermal Change"
[ACPI Debug] String [0x16] "Notify _TZ.THRM , 0x80"
ad0: 152627MB <Hitachi HTS541616J9AT00 SB4OA70H> at ata0-master UDMA100
ata1: <ATA channel 1> on atapci0
disk scheduler: set policy of acd0 to noop
acd0: CDRW <NEC DVD+RW ND-5100A/1.22> at ata1-master PIO4
pci0: <bridge> (vendor 0x10b9, dev 0x7101) at device 17.0
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x8c00-0x8cff mem 0xe4003000-0xe4003fff irq 11 at device 18.0 on pci0
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: MAC address: 00:0f:20:c7:7f:8d
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
battery0: <ACPI Control Method Battery> on acpi0
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd1 at atkbd0
[ACPI Debug] String [0x8] "QUERY_09"
[ACPI Debug] String [0xD] "CMBatt - SMSL"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] Integer 0x F1
[ACPI Debug] String [0x12] "CMBatt - CHBP.BAT1"
[ACPI Debug] String [0x17] "CMBatt - BAT1 connected"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x12] "CMBatt - UPBI.BAT1"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] Package [Contains 0xD Elements]
[ACPI Debug] (0) Integer 0x 1
[ACPI Debug] (1) Integer 0x 1130
[ACPI Debug] (2) Integer 0x 620
[ACPI Debug] (3) Integer 0x 1
[ACPI Debug] (4) Integer 0x 39D0
[ACPI Debug] (5) Integer 0x 12C
[ACPI Debug] (6) Integer 0x C8
[ACPI Debug] (7) Integer 0x 20
[ACPI Debug] (8) Integer 0x 20
[ACPI Debug] (9) Buffer [0x5]
0: 30 31 4B 54 00 01KT.
[ACPI Debug] (10) Buffer [0x9]
0: 37 00 00 00 00 00 00 00 00 7........
[ACPI Debug] (11) Buffer [0x5]
0: 4C 49 4F 4E 00 LION.
[ACPI Debug] (12) Buffer [0x4]
0: 53 4D 50 00 SMP.
[ACPI Debug] String [0x12] "CMBatt - UPBS.BAT1"
[ACPI Debug] String [0x15] "CMBATT - PBST Changed"
[ACPI Debug] Package [Contains 0x4 Elements]
[ACPI Debug] (0) Integer 0x 0
[ACPI Debug] (1) Integer 0x 0
[ACPI Debug] (2) Integer 0x 620
[ACPI Debug] (3) Integer 0x 4000
[ACPI Debug] String [0x12] "CMBatt - UPBH.BAT1"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] Package [Contains 0x3 Elements]
[ACPI Debug] (0) Integer 0x 49
[ACPI Debug] (1) Integer 0x 19
[ACPI Debug] (2) Integer 0x 63B
[ACPI Debug] String [0x20] "CMBatt - Notify(BAT1,0x81): B1CK"
[ACPI Debug] String [0x20] "CMBatt - Notify(BAT1,0x81): B1IF"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x8] "QUERY_20"
[ACPI Debug] String [0x25] "Current Temperature C is ----------- "
[ACPI Debug] Integer 0x 4B
[ACPI Debug] String [0x25] "Current Temperature C is ----------- "
[ACPI Debug] Integer 0x 4B
[ACPI Debug] String [0x25] "Current Temperature C is ----------- "
[ACPI Debug] Integer 0x 4B
[ACPI Debug] String [0xD] "CMBatt - _PSR"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _BST.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _BIF.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _BIF.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _BIF.BAT1"
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <NEC 72065B or clone> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 0 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
cpu0: <ACPI CPU> on acpi0
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
orm0: <Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcf7ff,0xdb000-0xdbfff,0xdc000-0xdffff on isa0
pmtimer0 on isa0
fdc1: cannot reserve I/O port range
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2: can't drain, serial port might not exist, disabling
ppc1: cannot reserve I/O port range
cpu0: max VID mismatch real 5, lim 13
cpu0: max FID mismatch real 54, lim 22
cpu0: Invalid MVS 0x3
ACPI: domain0 P-State configuration check failed
CAM: Configuring 2 busses
CAM: finished configuring all busses
disk scheduler: set policy of cd0 to noop
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD+RW ND-5100A 1.22> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from hammer:serno/QM00001.s1d
tryroot serno/QM00001.s1d
no disk named 'serno/QM00001.s1d'
hammer_mountroot: can't find devvp
Root mount failed: 6
Manual root filesystem specification:
<fstype>:<device> Specify root (e.g. ufs:da0s1a)
? List valid disk boot devices
panic Just panic
abort Abort manual input
mountroot> hammer:/dev/ad0s1d
Mounting root from hammer:/dev/ad0s1d
tryroot ad0s1d
HAMMER(ROOT) recovery check seqno=0017e417
HAMMER(ROOT) recovery range 300000000a44a468-300000000a44a468
HAMMER(ROOT) recovery nexto 300000000a44a468 endseqno=0017e418
HAMMER(ROOT) mounted clean, no recovery needed
Mounting devfs
[ACPI Debug] String [0xD] "CMBatt - _PSR"
[ACPI Debug] String [0xD] "CMBatt - _PSR"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _BST.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x12] "CMBatt - _STA.BAT1"
[ACPI Debug] String [0x25] "Current Temperature C is ----------- "
[ACPI Debug] Integer 0x 4D
[ACPI Debug] String [0x25] "Current Temperature C is ----------- "
[ACPI Debug] Integer 0x 4B
More information about the Users
mailing list