Re: ichss0: transition to 1 failed

From: Marcin Jessa <lists_at_yazzy.org>
Date: Thu, 9 Jun 2005 20:40:30 +0200
Hi.

I got this problem solved thanks to Bruno Ducrot who emailed me offline providing a patch for sys/dev/cpufreq/ichss.c to autodetect CPU's that don't support SpeedStep technology.
Just like my Pentium Celeron M.
It could also be fixed with following string put to my /boot/loader.conf to disable ICHSS:
hint.ichss.0.disabled="1"

And est does not work, but p4tcc does.

For the record:
There are no occurances of ichss in sysctl now.

# sysctl -a | grep cpu
kern.threads.virtual_cpu: 1
kern.ccpu: 1948
kern.smp.cpus: 1
kern.smp.maxcpus: 1
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 0
hw.ncpu: 1
hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85
hw.acpi.cpu.cx_lowest: C3
hw.acpi.cpu.cx_usage: 0.00% 100.00% 0.00%
machdep.cpu_idle_hlt: 1
dev.cpu.0.%desc: ACPI CPU
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: 348
dev.cpu.0.freq_levels: 1395/-1 1220/-1 1046/-1 871/-1 697/-1 523/-1 348/-1 174/-1
dev.p4tcc.0.%parent: cpu0
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0

dmesg:
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 #4: Thu Jun  9 16:22:12 CEST 2005
    root_at_lapdance.yazzy.net:/usr/obj/usr/src/sys/LAPDANCE-6.0
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor         1400MHz (1395.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 258867200 (246 MB)
avail memory = 243884032 (232 MB)
wlan: mac acl policy registered
ichwd module loaded
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-1W> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
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> irq 11 on acpi0
pci_link6: <ACPI PCI Link LNKG> on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0
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
p4tcc0: <CPU Frequency Thermal Control> on cpu0
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
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
acpi_video0: <ACPI video extension> port 0x1800-0x1807 mem 0xe0000000-0xe7ffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0
pci0: <display> at device 2.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f 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 0x1840-0x185f 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 0x1860-0x187f 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
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0100000-0xd01003ff irq 11 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib1
cbb0: <TI1510 PCI-CardBus Bridge> mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xd0200000-0xd0200fff irq 11 at device 2.0 on pci2
iwi0: Ethernet address: 00:12:f0:12:29:b3
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0x7000-0x703f mem 0xd0201000-0xd0201fff 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:0a:e4:2f:9d:ce
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xd0100c00-0xd0100dff,0xd0100800-0xd01008ff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> 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]
psm0: <PS/2 Mouse> flags 0x2000 irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
ppc0: <Standard parallel printer port> port 0x3bc-0x3be irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_ibm0: <IBM ThinkPad Button> on acpi0
acpi_ibm0: Version 100
acpi_ibm0: Available Mask ffffff
acpi_ibm0: Initial Mask 80c
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xcd000-0xcdfff,0xce000-0xcefff,0xdc000-0xdffff 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 1395477498 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 28615MB <HTS424030M9AT00 MAAIA75A> at ata0-master UDMA100
acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4241N/1.04> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s3a
ata2: <CL ATA FLASH CARD LEXAR   TIDALWV> at port 0x3000-0x300f irq 11 function 0 config 1 on pccard0
ad4: FAILURE - SETFEATURES ENABLE RCACHE status=51<READY,DSC,ERROR> error=4<ABORTED>
ad4: FAILURE - SETFEATURES ENABLE WCACHE status=51<READY,DSC,ERROR> error=4<ABORTED>
ad4: 31MB <LEXAR ATA FLASH V1.01N> at ata2-master PIO2
iwi0: link state changed to UP


On Thu, 09 Jun 2005 11:08:53 -0700
"Kevin Oberman" <oberman_at_es.net> wrote:

> > Date: Thu, 9 Jun 2005 02:07:29 +0200
> > From: Marcin Jessa <lists_at_yazzy.org>
> > Sender: owner-freebsd-mobile_at_freebsd.org
> > 
> > After I recompiled my kernel with device cpufreq , dmesg spits out tons of messages like:
> > ichss0: transition to 1 failed
> > What does that mean?
> > 
> > sysctl -a |grep ich shows:
> > dev.ichss.0.%desc: SpeedStep ICH
> > dev.ichss.0.%driver: ichss
> > dev.ichss.0.%parent: cpu0
> > dev.ichss.0.freq_settings: 1397/-1 -1/-1
> > 
> > sysctl dev.cpu|grep freq shows
> > dev.cpu.0.freq: 1397
> > dev.cpu.0.freq_levels: 1397/-1 1222/-1 1047/-1 873/-1 698/-1 523/-1 349/-1 174/-1
> > 
> > I dont use est.
> > 
> > My CPU: (Thinkpad R50e):
> > CPU: Intel(R) Celeron(R) M processor         1400MHz (1395.48-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
> >   Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
> 
> OK. This one looks really weird to me.
> dev.ichss.0.freq_settings: 1397/-1 -1/-1
> This says that you have two CPU speeds, 1.397 GHz and -1. ????
> 
> Worse, this system is a Celeron-M. I am not terribly familiar with the
> Celerons, but I thought the Celeron-M supported EST, not ICHSS. Why do
> you not use est? It's much more powerful than any other power management
> technology.
> 
> Can you post a full DMESG? I'm curious what the device probe is picking
> up. Something looks bogus. I'm just not sure what.
> 
> Is someone else running a Celeron-M system on current? What do you see
> for 'sysctl dev.ichss' and 'sysctl dev.cpu.0'? I have a hunch that the
> system is not probing correctly and really does not do ICHSS.
> -- 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Thu Jun 09 2005 - 16:40:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC