powerd freezes system on lower cpu speeds

This is a discussion on powerd freezes system on lower cpu speeds within the FreeBSD forums, part of the Other OS category; Hello, I'm building a new system with an AMD Phenom 9350e Quad-Core: FreeBSD phenom.example.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Aug 26 19:49:24 UTC 2008 root@phenom.example.net :/usr/obj/usr/\ src/sys/GENERIC i386 Everything's running ...

Go Back   Unix Linux Forum > Unix > Other OS > FreeBSD

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 09:40 AM
Default powerd freezes system on lower cpu speeds

Hello,

I'm building a new system with an AMD Phenom 9350e Quad-Core:

FreeBSD phenom.example.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0:
Tue Aug 26 19:49:24 UTC 2008 root@phenom.example.net:/usr/obj/usr/\
src/sys/GENERIC i386

Everything's running smoothly, until I start powerd. As soon as
that happens, the system freezes hard. Trying powerd in the foreground
with -v shows that it decreased the frequencies a few times, but then
hangs the system.

So I've tried this manually:

# sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 1985/-1 1736/-1 1488/-1 1240/-1 992/-1 744/-1
496/-1 248/-1

# sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1985

powerd freezed the system after reaching 1240 when trying 992. If I set
the frequency manually down to 1240 with:

# sysctl dev.cpu.0.freq=1240

everything's fine. But as soon as I try setting it further down
(992, 744, 496 or 248), the system freezes too, just the same
as with powerd. This is 100% reproducible.

So what's going on here?

Thanks,
-cpghost.

Oh, here's dmesg, if it helps:

Copyright (c) 1992-2008 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 7.1-PRERELEASE #0: Tue Aug 26 19:49:24 UTC 2008
root@phenom.example.net:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Phenom(tm) 9350e Quad-Core Processor (1995.68-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3
Features=0x178bfbff
Features2=0x802009>
AMD Features=0xee500800,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x7ff,,,Prefetch,,>
Cores per package: 4
real memory = 2079916032 (1983 MB)
avail memory = 2025545728 (1931 MB)
ACPI APIC Table: <052808 APIC1156>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
ioapic0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <052808 RSDT1156> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of ffb80000, 80000 (3) failed
acpi0: reservation of fff00000, 100000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7bf00000 (3) failed
ACPI HPET table warning: Sequence is non-zero (2)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
vgapci0: port 0xc000-0xc0ff mem 0xf8000000-0xfbffffff,0xfe8f0000-0xfe8fffff,0xfe700000-0xfe7fffff irq 18 at device 5.0 on pci1
pcm0: mem 0xfe8e8000-0xfe8ebfff irq 19 at device 5.1 on pci1
pcm0: [ITHREAD]
pcib2: irq 17 at device 5.0 on pci0
pci2: on pcib2
pcib3: irq 18 at device 6.0 on pci0
pci3: on pcib3
ohci0: mem 0xfe6ff000-0xfe6fffff irq 16 at device 18.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: on ohci0
usb0: USB revision 1.0
uhub0: on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: mem 0xfe6fe000-0xfe6fefff irq 16 at device 18.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: on ohci1
usb1: USB revision 1.0
uhub1: on usb1
uhub1: 3 ports with 3 removable, self powered
ehci0: mem 0xfe6fd800-0xfe6fd8ff irq 17 at device 18.2 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: on ehci0
usb2: USB revision 2.0
uhub2: on usb2
uhub2: 6 ports with 6 removable, self powered
ohci2: mem 0xfe6fc000-0xfe6fcfff irq 18 at device 19.0 on pci0
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: on ohci2
usb3: USB revision 1.0
uhub3: on usb3
uhub3: 3 ports with 3 removable, self powered
ohci3: mem 0xfe6fb000-0xfe6fbfff irq 18 at device 19.1 on pci0
ohci3: [GIANT-LOCKED]
ohci3: [ITHREAD]
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: on ohci3
usb4: USB revision 1.0
uhub4: on usb4
uhub4: 3 ports with 3 removable, self powered
ehci1: mem 0xfe6fd000-0xfe6fd0ff irq 19 at device 19.2 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: on ehci1
usb5: USB revision 2.0
uhub5: on usb5
uhub5: 6 ports with 6 removable, self powered
pci0: at device 20.0 (no driver attached)
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
pcm1: mem 0xfe6f4000-0xfe6f7fff irq 16 at device 20.2 on pci0
pcm1: [ITHREAD]
isab0: at device 20.3 on pci0
isa0: on isab0
pcib4: at device 20.4 on pci0
pci4: on pcib4
rl0: port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 21 at device 6.0 on pci4
miibus0: on rl0
rlphy0: PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:ba:bb:48:46
rl0: [ITHREAD]
ohci4: mem 0xfe6fa000-0xfe6fafff irq 18 at device 20.5 on pci0
ohci4: [GIANT-LOCKED]
ohci4: [ITHREAD]
usb6: OHCI version 1.0, legacy support
usb6: SMM does not respond, resetting
usb6: on ohci4
usb6: USB revision 1.0
uhub6: on usb6
uhub6: 2 ports with 2 removable, self powered
acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0: on acpi0
acpi_throttle0: on cpu0
cpu1: on acpi0
cpu2: on acpi0
cpu3: on acpi0
acpi_button0: on acpi0
atkbdc0: port 0x60,0x64 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ad0: 76319MB at ata0-master UDMA100
acd0: DVDR at ata0-slave UDMA66
pcm0:
pcm0:
pcm1:
pcm1:
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP
pcm0: detached
pcm1: detached
pcm0: mem 0xfe6f4000-0xfe6f7fff irq 16 at device 20.2 on pci0
pcm0: [ITHREAD]
pcm0:
pcm0:
pcm1: mem 0xfe8e8000-0xfe8ebfff irq 19 at device 5.1 on pci1
pcm1: [ITHREAD]
pcm1:
pcm1:

--
Cordula's Web. http://www.cordula.ws/
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 09:31 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger