Date: Sun, 10 Nov 2013 13:46:29 -0800 From: Nicholas Stewart McKenzie <nicholassmckenzie@gmail.com> To: Drivers <freebsd-drivers@freebsd.org>, amd64 <freebsd-amd64@freebsd.org> Subject: Problems with amd FX 8 core and freq scaling Message-ID: <1384119989.1540.9.camel@freebsd.local>
next in thread | raw e-mail | index | archive | help
--=-j2AzyNAKUBirh+zn+l8L Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit My computer crashes if I enable powerd. I can't get cpu freq scaling to work with my cpu:(P.S. I sent this to both drivers and amd64 mailing list... uname -a FreeBSD freebsd.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 dmesg | grep -A 30 "CPU:" |more CPU: AMD FX(tm)-8350 Eight-Core Processor (4018.42-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f20 Family = 0x15 Model = 0x2 Stepping = 0 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=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C> AMD Features=0x2e500800<SYSCALL,NX,MMX +,FFXSR,Page1GB,RDTSCP,LM> AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,<b17>,NodeId,TBM,Topology,<b23>,<b24>> Standard Extended Features=0x8 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16457981952 (15695 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <ALASKA A M I> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 16 cpu1 (AP): APIC ID: 17 cpu2 (AP): APIC ID: 18 cpu3 (AP): APIC ID: 19 cpu4 (AP): APIC ID: 20 cpu5 (AP): APIC ID: 21 cpu6 (AP): APIC ID: 22 cpu7 (AP): APIC ID: 23 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20110527/tbfadt-586) ioapic0 <Version 2.1> irqs 0-23 on motherboard ioapic1 <Version 2.1> irqs 24-55 on motherboard kbd1 at kbdmux0 acpi0: <ALASKA A M I> on motherboard acpi0: Power Button (fixed) cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 rc.conf hostname= ifconfig_re0= #ifconfig_re0= sshd_enable="YES" ntpd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" fusefs_enable="YES" ################# powerd_enable="NO" @@@@@@@@@@@@@@@@@ dbus_enable="YES" hald_enable="YES" devfs_system_ruleset="system" loader.conf linux_load="YES" drm_load="YES" linprocfs_load="YES" nvidia_load="YES" sem_load="YES" vboxdrv_load="YES" mono_load="YES" cuse4bsd_load="YES" dmesg attached --=-j2AzyNAKUBirh+zn+l8L Content-Disposition: attachment; filename="dmesg" Content-Type: text/plain; name="dmesg"; charset="us-ascii" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2013 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.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 gcc version 4.2.1 20070831 patched [FreeBSD] CPU: AMD FX(tm)-8350 Eight-Core Processor (4018.42-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f20 Family = 0x15 Model = 0x2 Stepping = 0 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=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,<b17>,NodeId,TBM,Topology,<b23>,<b24>> Standard Extended Features=0x8 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16457981952 (15695 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <ALASKA A M I> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 16 cpu1 (AP): APIC ID: 17 cpu2 (AP): APIC ID: 18 cpu3 (AP): APIC ID: 19 cpu4 (AP): APIC ID: 20 cpu5 (AP): APIC ID: 21 cpu6 (AP): APIC ID: 22 cpu7 (AP): APIC ID: 23 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20110527/tbfadt-586) ioapic0 <Version 2.1> irqs 0-23 on motherboard ioapic1 <Version 2.1> irqs 24-55 on motherboard Cuse4BSD v0.1.30 @ /dev/cuse kbd1 at kbdmux0 acpi0: <ALASKA A M I> on motherboard acpi0: Power Button (fixed) cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 cpu4: <ACPI CPU> on acpi0 cpu5: <ACPI CPU> on acpi0 cpu6: <ACPI CPU> on acpi0 cpu7: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 hpet0: HPET never increments, disabling device_attach: hpet0 attach returned 6 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 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> irq 52 at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff irq 24 at device 0.0 on pci1 nvidia0: <GeForce GTX 650> on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io hdac0: <NVIDIA (0x0e1b) HDA Controller> mem 0xfe080000-0xfe083fff irq 25 at device 0.1 on pci1 pcib2: <ACPI PCI-PCI bridge> irq 53 at device 9.0 on pci0 pci2: <ACPI PCI bus> on pcib2 xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe400000-0xfe407fff irq 48 at device 0.0 on pci2 xhci0: 64 byte context size. usbus0 on xhci0 pcib3: <ACPI PCI-PCI bridge> irq 54 at device 10.0 on pci0 pci3: <ACPI PCI bus> on pcib3 ahci0: <Marvell 88SE9172 AHCI SATA controller> port 0xd040-0xd047,0xd030-0xd033,0xd020-0xd027,0xd010-0xd013,0xd000-0xd00f mem 0xfe310000-0xfe3101ff irq 47 at device 0.0 on pci3 ahci0: AHCI v1.00 with 2 6Gbps ports, Port Multiplier supported with FBS ahci0: quirks=0x100<NOBSYRES> ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahci1: <ATI IXP700 AHCI SATA controller> port 0xf040-0xf047,0xf030-0xf033,0xf020-0xf027,0xf010-0xf013,0xf000-0xf00f mem 0xfe50b000-0xfe50b3ff irq 19 at device 17.0 on pci0 ahci1: AHCI v1.20 with 6 6Gbps ports, Port Multiplier supported ahcich2: <AHCI channel> at channel 0 on ahci1 ahcich3: <AHCI channel> at channel 1 on ahci1 ahcich4: <AHCI channel> at channel 2 on ahci1 ahcich5: <AHCI channel> at channel 3 on ahci1 ahcich6: <AHCI channel> at channel 4 on ahci1 ahcich7: <AHCI channel> at channel 5 on ahci1 ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe50a000-0xfe50afff irq 18 at device 18.0 on pci0 usbus1 on ohci0 ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe509000-0xfe5090ff irq 17 at device 18.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe508000-0xfe508fff irq 18 at device 19.0 on pci0 usbus3 on ohci1 ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe507000-0xfe5070ff irq 17 at device 19.2 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci1 pci0: <serial bus, SMBus> at device 20.0 (no driver attached) hdac1: <ATI SB600 HDA Controller> mem 0xfe500000-0xfe503fff irq 16 at device 20.2 on pci0 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 pci4: <serial bus, FireWire> at device 14.0 (no driver attached) ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe506000-0xfe506fff irq 18 at device 20.5 on pci0 usbus5 on ohci2 pcib5: <ACPI PCI-PCI bridge> at device 21.0 on pci0 pci5: <ACPI PCI bus> on pcib5 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xb000-0xb0ff mem 0xd2104000-0xd2104fff,0xd2100000-0xd2103fff irq 16 at device 0.0 on pci5 re0: Using 1 MSI-X message re0: Chip rev. 0x2c800000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: ########### pcib6: <ACPI PCI-PCI bridge> at device 21.1 on pci0 pci6: <ACPI PCI bus> on pcib6 xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfe100000-0xfe107fff irq 17 at device 0.0 on pci6 xhci1: 64 byte context size. usbus6 on xhci1 ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe505000-0xfe505fff irq 18 at device 22.0 on pci0 usbus7 on ohci3 ehci2: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe504000-0xfe5040ff irq 17 at device 22.2 on pci0 usbus8: EHCI version 1.0 usbus8 on ehci2 acpi_button0: <Power Button> on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 acpi_throttle1: <ACPI CPU Throttling> on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_throttle2: <ACPI CPU Throttling> on cpu2 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 acpi_throttle3: <ACPI CPU Throttling> on cpu3 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 acpi_throttle4: <ACPI CPU Throttling> on cpu4 acpi_throttle4: failed to attach P_CNT device_attach: acpi_throttle4 attach returned 6 acpi_throttle5: <ACPI CPU Throttling> on cpu5 acpi_throttle5: failed to attach P_CNT device_attach: acpi_throttle5 attach returned 6 acpi_throttle6: <ACPI CPU Throttling> on cpu6 acpi_throttle6: failed to attach P_CNT device_attach: acpi_throttle6 attach returned 6 acpi_throttle7: <ACPI CPU Throttling> on cpu7 acpi_throttle7: failed to attach P_CNT device_attach: acpi_throttle7 attach returned 6 Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0x8d3 offMax=0xc8e hdacc0: <NVIDIA (0x0042) HDA CODEC> at cad 0 on hdac0 hdaa0: <NVIDIA (0x0042) Audio Function Group> at nid 1 on hdacc0 pcm0: <NVIDIA (0x0042) (HDMI/DP 8ch)> at nid 4 on hdaa0 pcm1: <NVIDIA (0x0042) (HDMI/DP 8ch)> at nid 5 on hdaa0 pcm2: <NVIDIA (0x0042) (HDMI/DP 8ch)> at nid 7 on hdaa0 hdacc1: <Realtek ALC889 HDA CODEC> at cad 0 on hdac1 hdaa1: <Realtek ALC889 Audio Function Group> at nid 1 on hdacc1 pcm3: <Realtek ALC889 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa1 pcm4: <Realtek ALC889 (Front Analog)> at nid 27 and 25 on hdaa1 pcm5: <Realtek ALC889 (Onboard Digital)> at nid 17 on hdaa1 pcm6: <Realtek ALC889 (Rear Digital)> at nid 30 on hdaa1 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 5.0Gbps Super Speed USB v3.0 usbus7: 12Mbps Full Speed USB v1.0 usbus8: 480Mbps High Speed USB v2.0 ugen0.1: <0x1b6f> at usbus0 uhub0: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: <ATI> at usbus1 uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <ATI> at usbus2 uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen3.1: <ATI> at usbus3 uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <ATI> at usbus4 uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4 ugen5.1: <ATI> at usbus5 uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5 ugen6.1: <0x1b6f> at usbus6 uhub6: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus6 ugen7.1: <ATI> at usbus7 uhub7: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus7 ugen8.1: <ATI> at usbus8 uhub8: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus8 ada0 at ahcich4 bus 0 scbus4 target 0 lun 0 ada0: <WDC WD10EARX-32N0YB0 51.0AB51> ATA-8 SATA 3.x device ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada0: quirks=0x1<4K> ada0: Previously was known as ad12 ada1 at ahcich5 bus 0 scbus5 target 0 lun 0 ada1: <ST31000528AS CC37> ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad14 SMP: AP CPU #1 Launched! cd0 at ahcich3 bus 0 scbus3 target 0 lun 0 cd0: <HL-DT-ST BD-RE BH16NS40 1.00> Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SMP: AP CPU #6 Launched! SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #5 Launched! Timecounter "TSC-low" frequency 2009208814 Hz quality 1000 uhub5: 2 ports with 2 removable, self powered uhub7: 4 ports with 4 removable, self powered uhub1: 5 ports with 5 removable, self powered uhub3: 5 ports with 5 removable, self powered uhub0: 4 ports with 4 removable, self powered uhub6: 4 ports with 4 removable, self powered Root mount waiting for: usbus8 usbus4 usbus2 Root mount waiting for: usbus8 usbus4 usbus2 uhub8: 4 ports with 4 removable, self powered uhub4: 5 ports with 5 removable, self powered uhub2: 5 ports with 5 removable, self powered Trying to mount root from ufs:/dev/ada0p2 [rw]... ugen7.2: <Microsoft> at usbus7 ukbd0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 2> on usbus7 kbd2 at ukbd0 ums0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 2> on usbus7 ums0: 5 buttons and [XYZT] coordinates ID=26 ums0: 0 buttons and [T] coordinates ID=0 uhid0: <Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 2> on usbus7 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.19 ugen8.2: <vendor 0x13fe> at usbus8 umass0: <vendor 0x13fe USB DISK 3.0, class 0/0, rev 2.10/1.10, addr 2> on usbus8 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:8:0:-1: Attached to scbus8 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 da0: < USB DISK 3.0 PMAP> Removable Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 14786MB (30283008 512 byte sectors: 255H 63S/T 1885C) da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE> --=-j2AzyNAKUBirh+zn+l8L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1384119989.1540.9.camel>