Date: Wed, 27 Aug 2008 15:40:20 +0200 From: cpghost <cpghost@cordula.ws> To: freebsd-stable@freebsd.org Subject: powerd freezes system on lower cpu speeds Message-ID: <20080827134020.GA4973@epia-2.farid-hajji.net>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,<b23>> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,<b26>,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,<b5>,<b6>,<b7>,Prefetch,<b9>,<b10>> 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 <Version 2.1> 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: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xf8000000-0xfbffffff,0xfe8f0000-0xfe8fffff,0xfe700000-0xfe7fffff irq 18 at device 5.0 on pci1 pcm0: <ATI (Unknown) High Definition Audio Controller> mem 0xfe8e8000-0xfe8ebfff irq 19 at device 5.1 on pci1 pcm0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> irq 17 at device 5.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0 pci3: <ACPI PCI bus> on pcib3 ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 3 ports with 3 removable, self powered ohci1: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 3 ports with 3 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 uhub2: 6 ports with 6 removable, self powered ohci2: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci2 usb3: USB revision 1.0 uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 uhub3: 3 ports with 3 removable, self powered ohci3: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci3 usb4: USB revision 1.0 uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4 uhub4: 3 ports with 3 removable, self powered ehci1: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci1 usb5: USB revision 2.0 uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5 uhub5: 6 ports with 6 removable, self powered pci0: <serial bus, SMBus> at device 20.0 (no driver attached) atapci0: <ATI IXP700 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] pcm1: <ATI SB600 High Definition Audio Controller> mem 0xfe6f4000-0xfe6f7fff irq 16 at device 20.2 on pci0 pcm1: [ITHREAD] isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci4: <ACPI PCI bus> on pcib4 rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 21 at device 6.0 on pci4 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:ba:bb:48:46 rl0: [ITHREAD] ohci4: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci4 usb6: USB revision 1.0 uhub6: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6 uhub6: 2 ports with 2 removable, self powered acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 fdc0: <floppy drive controller (FDE)> 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: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ad0: 76319MB <SAMSUNG SP0842N BH100-45> at ata0-master UDMA100 acd0: DVDR <Optiarc DVD RW AD-7203A/1.01> at ata0-slave UDMA66 pcm0: <HDA Codec: Unknown Codec> pcm0: <HDA Driver Revision: 20080420_0052> pcm1: <HDA Codec: Realtek ALC888> pcm1: <HDA Driver Revision: 20080420_0052> 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: <ATI SB600 High Definition Audio Controller> mem 0xfe6f4000-0xfe6f7fff irq 16 at device 20.2 on pci0 pcm0: [ITHREAD] pcm0: <HDA Codec: Realtek ALC888> pcm0: <HDA Driver Revision: 20080420_0052> pcm1: <ATI (Unknown) High Definition Audio Controller> mem 0xfe8e8000-0xfe8ebfff irq 19 at device 5.1 on pci1 pcm1: [ITHREAD] pcm1: <HDA Codec: Unknown Codec> pcm1: <HDA Driver Revision: 20080420_0052> -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080827134020.GA4973>