>>We have a new webserver with two Opteron 244 CPU's which support the
>>Powernow powersavings technologie. We use FreeBSD 5.4 stable with the
>>built-in cpufreq and powerd options and we have some difficulties to get
>>it running longer than 2 seconds.
>>
>>If we enable powerd in rc.conf (powerd_enable="YES") and we reboot the
>>machine, the machine hangs after about two seconds after the boot
>>process is at that stage during booting. So we disabled that option. The
>>server now starts as it supposed to do, but if we start powerd, the
>>server hangs again after two seconds.
>>
>>What settings other than the default settings do we need so that the
>>server is not crashing upon starting powerd? Does anyone use Opterons
>>with powernow enabled? If so, what is their config?
>>
>
>
> I don't know if powernow will work on SMP. I never received
> any reports for. Could you please try without SMP for testing purpose,
> please?
>
Just FYI, i'm working on the very same machine.
I put kern.smp.disabled=1 in /boot/loader and rebooted the system as an UP system.
SMP is disabled now and dmesg sees only one processor. Also the sysctl variables for the second processor dissapeared, which is a good thing
However.. after starting powerd, the server still hangs. No kernel panics, segfaults or whatsoever. The system just hangs and never reboots.
This seems to be a nasty bug in FreeBSD 5-STABLE for AMD64, or we must be missing something overhere.
The hardware :
AMD Opteron 244 at 1,8GHz on a Tyan S2882GNN motherboard
2GB PC3200 DDR RAM
3Ware 9500S-4LP 4 port SATA RAID controller (twa driver)
dmesg (uniprocessor) outputs the following information:
Copyright (c) 1992-2005 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 5.4-STABLE #6: Tue Oct 18 13:34:23 CEST 2005
root.TakeThisOut@son-ws1-dc1.signet.nl:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 244 (1793.61-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory = 2147418112 (2047 MB)
avail memory = 2061496320 (1965 MB)
ACPI APIC Table: <A M I OEMAPIC >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib1
pci3: <display, VGA> at device 6.0 (no driver attached)
fxp0: <Intel 82551 Pro/100 Ethernet> port 0xbc00-0xbc3f mem 0xfeaa0000-0xfeabffff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:32:f6:fb
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
pci0: <bridge> at device 7.3 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc990000-0xfc99ffff,0xfc9a0000-0xfc9affff irq 24 at device 9.0 on pci2
miibus1: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:32:f6:66
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc9c0000-0xfc9cffff,0xfc9d0000-0xfc9dffff irq 25 at device 9.1 on pci2
miibus2: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:32:f6:67
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib3
3ware device driver for 9000 series storage controllers, version: 3.50.00.017
twa0: <3ware 9000 series Storage Controller> port 0x8800-0x88ff mem 0xfb800000-0xfbffffff,0xfc8ffc00-0xfc8ffcff irq 29 at device 4.0 on pci1
twa0: INFO: (0x15: 0x1300): Controller details:: 4 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
acpi_button0: <Power Button> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
ppc0: cannot reserve I/O port range
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
Timecounter "TSC" frequency 1793608926 Hz quality 800
Timecounters tick every 1.000 msec
da0 at twa0 bus 0 target 0 lun 0
da0: <AMCC 9500S-4LP DISK 2.06> Fixed Direct Access SCSI-3 device
da0: 100.000MB/s transfers
da0: 476816MB (976519168 512 byte sectors: 255H 63S/T 60785C)
Mounting root from ufs:/dev/da0s1a
I sure hope someone can help us overhere,.
Regards,
Remco Bressers
>> Stay informed about: FreeBSD 5.4 stable and Opteron Powernow support