HEADSUP: cpufreq import complete, acpi_throttling changed
Eric Kjeldergaard
kjelderg at gmail.com
Tue Mar 1 21:34:59 GMT 2005
On Mon, 21 Feb 2005 17:49:04 -0800, Nate Lawson <nate at root.org> wrote:
> Eric Kjeldergaard wrote:
> > On Sun, 06 Feb 2005 13:21:32 -0800, Nate Lawson <nate at root.org> wrote:
> >
> >>I've finished the major work of importing cpufreq. As part of this, the
> >>sysctls for acpi throttling have been removed. The power_profile script
> >>has been updated, so you can use performance/economy_cpu_freq= in
> >>rc.conf to set AC on/offline cpu frequencies. The acpi throttling
> >>support has been compiled into acpi_perf.ko so load that to get
> >>throttling. Do a sysctl dev.cpu to get an understanding of the cpufreq
> >>sysctls.
> >
> >
> > I have been using cpufreq on and off since this got comitted and just
> > noticed a problem now. I can't really say when it started happening,
> > but I can say that it happens with a current from about 2 hours ago.
> > What happens is when I kldload cpufreq, usb stops working. If I have
> > a device that was already connected, it gets disconnected, I am unable
> > to connect any new devices. It's just completely unresponsive.
> > Whatever the issue is, it does not help to kldunload cpufreq, I am
> > forced to reboot to get USB working again. The system is an IBM
> > Thinkpad R40. I can give you whatever relevant info you need on
> > request.
>
> Hmm. If you boot with cpufreq and usb loaded, does it have this
> problem? Run the below script to send me your debug info:
>
> http://www.root.org/~nate/freebsd/cpufreq_debug
>
Finally got a chance to test again. It seems to happen regardless of
whether cpufreq is loaded at boot or dynamically during runtime. The
output of your script is attached.
--
If I write a signature, my emails will appear more personalised.
-------------- next part --------------
dev.cpu.0.%desc: ACPI CPU (3 Cx states)
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU_
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 2200
dev.cpu.0.freq_levels: 2200/0 1925/0 1650/0 1375/0 1200/0 1100/0 1050/0 900/0 825/0 750/0 600/0 550/0 450/0 300/0 275/0 150/0
dev.acpi_perf.0.%desc: ACPI CPU Frequency Control
dev.acpi_perf.0.%driver: acpi_perf
dev.acpi_perf.0.%parent: cpu0
dev.acpi_perf.0.freq_settings: 2200/0 1200/0
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
dev.acpi_throttle.0.%desc: ACPI CPU Throttling
dev.acpi_throttle.0.%driver: acpi_throttle
dev.acpi_throttle.0.%parent: cpu0
dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1
#################
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 6.0-CURRENT #9: Mon Feb 21 18:54:15 CST 2005
root at uninfectable:/usr/obj/usr/src/sys/UNINFECTABLE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (2192.89-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory = 804651008 (767 MB)
avail memory = 782393344 (746 MB)
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP-1O> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x66,0x62 on acpi0
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 (3 Cx states)> on acpi0
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> on acpi0
pci_link6: <ACPI PCI Link LNKG> on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <TI1510 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
ath0: <Atheros 5211> mem 0xd0200000-0xd020ffff irq 11 at device 2.0 on pci2
ath0: Ethernet address: 00:05:4e:42:8b:2d
ath0: mac 4.2 phy 3.0 5ghz radio 1.7 2ghz radio 2.3
pci2: <serial bus, FireWire> at device 7.0 (no driver attached)
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0x8000-0x803f mem 0xd0214000-0xd0214fff irq 11 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:06:1b:e0:d1:24
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xd2000-0xd2fff,0xd1000-0xd1fff,0xd0000-0xd0fff on isa0
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 2192894084 Hz quality 800
Timecounters tick every 1.000 msec
pid 24: corrected slot count (0->1)
ad0: 76319MB <FUJITSU MHT2080AT/0022> [155061/16/63] at ata0-master UDMA100
acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4240N/C102> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s2a
pid 454 (vmware-checkvm), uid 0: exited on signal 10 (core dumped)
pid 464 (vmware-checkvm), uid 0: exited on signal 10 (core dumped)
pid 466 (vmware-checkvm), uid 0: exited on signal 10 (core dumped)
pid 468 (vmware-checkvm), uid 0: exited on signal 10 (core dumped)
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
#################
nexus0
legacy0
npx0
acpi0
Interrupt request lines:
0x9
I/O ports:
0x10-0x1f
0x24-0x25
0x28-0x29
0x2c-0x2d
0x2e-0x2f
0x30-0x31
0x34-0x35
0x38-0x39
0x3c-0x3d
0x4e-0x4f
0x50-0x53
0x72-0x77
0x90-0x9f
0xa4-0xa5
0xa8-0xa9
0xac-0xad
0xb0-0xb5
0xb8-0xb9
0xbc-0xbd
0x1000-0x107f
0x1180-0x11bf
0x1600-0x167f
I/O memory addresses:
0x0-0x9ffff
0xc0000-0xc3fff
0xc4000-0xc7fff
0xc8000-0xcbfff
0xcc000-0xcffff
0xd0000-0xd3fff
0xdc000-0xdffff
0xe0000-0xe3fff
0xe4000-0xe7fff
0xe8000-0xebfff
0xec000-0xeffff
0xf0000-0xfffff
0x100000-0x2fffffff
0xfec00000-0xffffffff
acpi_ec0 pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.PCI0.LPC_.EC__
I/O ports:
0x62
0x66
cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU_
I/O ports:
0x1014
0x1015
acpi_perf0
I/O ports:
0xb2
0x1050
cpufreq0
acpi_throttle0
I/O ports:
0x1010-0x1013
pci_link0 pnpinfo _HID=PNP0C0F _UID=1 at handle=\_SB_.LNKA
pci_link1 pnpinfo _HID=PNP0C0F _UID=2 at handle=\_SB_.LNKB
pci_link2 pnpinfo _HID=PNP0C0F _UID=3 at handle=\_SB_.LNKC
pci_link3 pnpinfo _HID=PNP0C0F _UID=4 at handle=\_SB_.LNKD
pci_link4 pnpinfo _HID=PNP0C0F _UID=5 at handle=\_SB_.LNKE
pci_link5 pnpinfo _HID=PNP0C0F _UID=6 at handle=\_SB_.LNKF
pci_link6 pnpinfo _HID=PNP0C0F _UID=7 at handle=\_SB_.LNKG
pci_link7 pnpinfo _HID=PNP0C0F _UID=8 at handle=\_SB_.LNKH
acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=0 at handle=\_SB_.MEM_
acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.LID_
acpi_button0 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB
pcib0 pnpinfo _HID=PNP0A03 _UID=0 at handle=\_SB_.PCI0
pci0
agp0 pnpinfo vendor=0x8086 device=0x1a30 subvendor=0x1014 subdevice=0x0507 class=0x060000 at slot=0 function=0
I/O memory addresses:
0xe0000000-0xe3ffffff
pcib1 pnpinfo vendor=0x8086 device=0x1a31 subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=1 function=0 handle=\_SB_.PCI0.AGP_
pci1
unknown pnpinfo vendor=0x1002 device=0x4c57 subvendor=0x1014 subdevice=0x0527 class=0x030000 at slot=0 function=0 handle=\_SB_.PCI0.AGP_.VID_
I/O ports:
0x3000-0x30ff
I/O memory addresses:
0xd0100000-0xd010ffff
0xe8000000-0xefffffff
uhci0 pnpinfo vendor=0x8086 device=0x24c2 subvendor=0x1014 subdevice=0x052d class=0x0c0300 at slot=29 function=0 handle=\_SB_.PCI0.USB0
Interrupt request lines:
0xb
I/O ports:
0x1800-0x181f
usb0
uhub0
uhci1 pnpinfo vendor=0x8086 device=0x24c4 subvendor=0x1014 subdevice=0x052d class=0x0c0300 at slot=29 function=1 handle=\_SB_.PCI0.USB1
I/O ports:
0x1820-0x183f
usb1
uhub1
uhci2 pnpinfo vendor=0x8086 device=0x24c7 subvendor=0x1014 subdevice=0x052d class=0x0c0300 at slot=29 function=2 handle=\_SB_.PCI0.USB2
I/O ports:
0x1840-0x185f
usb2
uhub2
unknown pnpinfo vendor=0x8086 device=0x24cd subvendor=0x1014 subdevice=0x052e class=0x0c0320 at slot=29 function=7 handle=\_SB_.PCI0.USB7
I/O memory addresses:
0xd0000000-0xd00003ff
pcib2 pnpinfo vendor=0x8086 device=0x2448 subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=30 function=0 handle=\_SB_.PCI0.PCI1
pci2
cbb0 pnpinfo vendor=0x104c device=0xac56 subvendor=0x1014 subdevice=0x0528 class=0x060700 at slot=0 function=0 handle=\_SB_.PCI0.PCI1.CBS0
I/O memory addresses:
0x50000000-0x50000fff
cardbus0
pccard0
ath0 pnpinfo vendor=0x168c device=0x0012 subvendor=0x17ab subdevice=0x8310 class=0x020000 at slot=2 function=0
I/O memory addresses:
0xd0200000-0xd020ffff
unknown pnpinfo vendor=0x104c device=0x8026 subvendor=0x1014 subdevice=0x0515 class=0x0c0010 at slot=7 function=0
I/O memory addresses:
0xd0210000-0xd0213fff
0xd0215000-0xd02157ff
fxp0 pnpinfo vendor=0x8086 device=0x103d subvendor=0x1014 subdevice=0x0522 class=0x020000 at slot=8 function=0
I/O ports:
0x8000-0x803f
I/O memory addresses:
0xd0214000-0xd0214fff
miibus0
inphy0 pnpinfo oui=0xaa00 model=0x33 rev=0x0 at phyno=1
isab0 pnpinfo vendor=0x8086 device=0x24cc subvendor=0x0000 subdevice=0x0000 class=0x060100 at slot=31 function=0 handle=\_SB_.PCI0.LPC_
isa0
adv0
aha0
aic0
bt0
cs0
ed0
fe0
ie0
lnc0
pcic0
pcic1
ppc0
sc0
sio0
sio1
sio2
sio3
sn0
vga0
I/O ports:
0x3c0-0x3df
I/O memory addresses:
0xa0000-0xbffff
vt0
orm0
I/O memory addresses:
0xd0000-0xd0fff
0xd1000-0xd1fff
0xd2000-0xd2fff
0xdc000-0xdffff
pmtimer0
atapci0 pnpinfo vendor=0x8086 device=0x24ca subvendor=0x1014 subdevice=0x052d class=0x01018a at slot=31 function=1 handle=\_SB_.PCI0.IDE0
I/O ports:
0x170-0x177
0x1f0-0x1f7
0x376
0x3f6
0x1860-0x186f
ata0
Interrupt request lines:
0xe
ata1
Interrupt request lines:
0xf
unknown pnpinfo vendor=0x8086 device=0x24c3 subvendor=0x1014 subdevice=0x052d class=0x0c0500 at slot=31 function=3
I/O ports:
0x1880-0x189f
unknown pnpinfo vendor=0x8086 device=0x24c5 subvendor=0x1014 subdevice=0x0523 class=0x040100 at slot=31 function=5
I/O ports:
0x18c0-0x18ff
0x1c00-0x1cff
I/O memory addresses:
0xd0000800-0xd00008ff
0xd0000c00-0xd0000dff
unknown pnpinfo vendor=0x8086 device=0x24c6 subvendor=0x1014 subdevice=0x0524 class=0x070300 at slot=31 function=6 handle=\_SB_.PCI0.AC97
I/O ports:
0x2000-0x207f
0x2400-0x24ff
acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=0 at handle=\_SB_.PCI0.LPC_.SIO_
atpic0 pnpinfo _HID=PNP0000 _UID=0 at handle=\_SB_.PCI0.LPC_.PIC_
attimer0 pnpinfo _HID=PNP0100 _UID=0 at handle=\_SB_.PCI0.LPC_.TIMR
atdma0 pnpinfo _HID=PNP0200 _UID=0 at handle=\_SB_.PCI0.LPC_.DMAC
unknown pnpinfo _HID=PNP0800 _UID=0 at handle=\_SB_.PCI0.LPC_.SPKR
npxisa0 pnpinfo _HID=PNP0C04 _UID=0 at handle=\_SB_.PCI0.LPC_.FPU_
attimer1 pnpinfo _HID=PNP0B00 _UID=0 at handle=\_SB_.PCI0.LPC_.RTC_
atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.PCI0.LPC_.KBD_
I/O ports:
0x60
0x64
atkbd0
Interrupt request lines:
0x1
psm0
Interrupt request lines:
0xc
psmcpnp0 pnpinfo _HID=IBM0057 _UID=0 at handle=\_SB_.PCI0.LPC_.MOU_
fdc0 pnpinfo _HID=PNP0700 _UID=0 at handle=\_SB_.PCI0.LPC_.FDC_
Interrupt request lines:
0x6
DMA request lines:
2
I/O ports:
0x3f0-0x3f5
0x3f7
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.LPC_.FDC_.FDD0
unknown pnpinfo _HID=PNP0501 _UID=0 at handle=\_SB_.PCI0.LPC_.UART
unknown pnpinfo _HID=PNP0400 _UID=0 at handle=\_SB_.PCI0.LPC_.LPT_
unknown pnpinfo _HID=PNP0401 _UID=0 at handle=\_SB_.PCI0.LPC_.ECP_
unknown pnpinfo _HID=IBM0071 _UID=0 at handle=\_SB_.PCI0.LPC_.FIR_
unknown pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.PCI0.LPC_.EC__
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.LPC_.EC__.PUBS
acpi_cmbat0 pnpinfo _HID=PNP0C0A _UID=0 at handle=\_SB_.PCI0.LPC_.EC__.BAT0
unknown pnpinfo _HID=PNP0C0A _UID=1 at handle=\_SB_.PCI0.LPC_.EC__.BAT1
acpi_acad0 pnpinfo _HID=ACPI0003 _UID=0 at handle=\_SB_.PCI0.LPC_.EC__.AC__
unknown pnpinfo _HID=IBM0068 _UID=0 at handle=\_SB_.PCI0.LPC_.EC__.HKEY
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.AGP_.VID_.LCD0
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.AGP_.VID_.CRT0
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.AGP_.VID_.TV0_
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.AGP_.VID_.DVI0
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.PRIM
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.PRIM.MSTR
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.SCND
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.IDE0.SCND.MSTR
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.USB0.URTH
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.USB0.URTH.UNST
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.USB7.URTH
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.PCI0.USB7.URTH.UNST
unknown pnpinfo _HID=IBM006A _UID=0 at handle=\_SB_.NEST
unknown pnpinfo _HID=IBM0069 _UID=0 at handle=\_SB_.SWAP
acpi_tz0 pnpinfo _HID=none _UID=0 at handle=\_TZ_.THM0
acpi_timer0 pnpinfo unknown at unknown
I/O ports:
0x1008-0x100b
More information about the freebsd-acpi
mailing list