From owner-acpi-jp@jp.freebsd.org  Sun Jul  8 05:45:19 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id FAA21292;
	Sun, 8 Jul 2001 05:45:19 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from webcom.it ([212.239.10.243])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with SMTP id FAA21279
	for <acpi-jp@jp.freebsd.org>; Sun, 8 Jul 2001 05:45:15 +0900 (JST)
	(envelope-from andrea@webcom.it)
Received: (qmail 557 invoked by uid 1000); 7 Jul 2001 20:44:17 -0000
Date: Sat, 7 Jul 2001 22:44:16 +0200
From: Andrea Campi <andrea@webcom.it>
To: acpi-jp@jp.freebsd.org
Cc: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>, current@freebsd.org
Message-ID: <20010707224416.A473@webcom.it>
References: <20010708033241M.iwasaki@jp.FreeBSD.org> <200107071958.f67Jwi701117@mass.dis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200107071958.f67Jwi701117@mass.dis.org>; from msmith@freebsd.org on Sat, Jul 07, 2001 at 12:58:43PM -0700
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1163
Subject: [acpi-jp 1163] Re: HEADS UP - more ACPI updates, CPU throttling
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: andrea@webcom.it

Hi guys,

I'm back with my Thinkpad 570E (I think you might remember me).

I tried enabling ACPI again after this last commit, and got a hang on reboot. I
tried going back to before the latest commits and the problem didn't go away.
So apparently a kernel with ACPI no longer boots on my machine. I don't have
another machine so the complete capture of messages will have to wait until
monday, but I just wanted to ask a quick question: might orm0 in some way
interact with ACPI? I am asking because the freeze happens right at the point
where usually I get the orm0 line:

Copyright (c) 1992-2001 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.0-CURRENT #0: Mon Jul  2 15:03:49 CEST 2001
root@brian:/usr/src/sys/i386/compile/THINKPAD
Timecounter "i8254"  frequency 1193156 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (448.04-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
real memory  = 201261056 (196544K bytes)
avail memory = 191741952 (187248K bytes)
Preloaded elf kernel "kernel" at 0xc03ce000.
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00fdef0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
pccbb0: <TI1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at devic
cardbus0: <Cardbus bus (newcard)> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
pccbb1: <TI1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at devic
cardbus1: <Cardbus bus (newcard)> on pccbb1
pccard1: <16-bit PCCard bus> on pccbb1
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xf4000000-0xf40fffff,0xf41000
csa: card is Thinkpad 570
pcm0: <CS461x PCM Audio> on csa0
isab0: <PCI-ISA bridge> at device 6.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1800-0x180f at device 6.1 on p
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1820-0x183f irq 11 at
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
intpm0: <Intel 82371AB Power management controller> port 0x1040-0x104f irq 9
intpm0: I/O mapped 1040
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 1000
pci0: <simple comms> at 7.0 (no driver attached)

Hangs here! Non-ACPI boot continues with:

orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xe8000-0xeffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0

Again, this is a "simulation", that is, a copy and paste of syslog messages
from a non-ACPI boot.

If you have any idea, I will try them, otherwise, I'll send you more details
on monday.

TIA,
	Andrea


On Sat, Jul 07, 2001 at 12:58:43PM -0700, Mike Smith wrote:
> > > I've committed another round of ACPI changes to -current.
> > > 
> > > The major addition is CPU throttling support.  This is implemented using
> > > ACPI, not any vendor-specific technology, so it should work on any
> > > platform that exports the relevant information.  By default, the CPU will
> > > run at 100% in 'performance' mode and 50% in 'economy' mode, however these
> > > levels can be adjusted with the following sysctls:
> > 
> > Cool!  I'll check whether the cpu performance actually changes on
> > AC-line on/off events.
> > BTW, I've found a couple of typo :) will commit soon.
> 
> Thanks for fixing these; I don't know why it compiled with the first one 
> there.  Nice to have another set of eyes on the code!
> 
> -- 
> ... every activity meets with opposition, everyone who acts has his
> rivals and unfortunately opponents also.  But not because people want
> to be opponents, rather because the tasks and relationships force
> people to take different points of view.  [Dr. Fritz Todt]
>            V I C T O R Y   N O T   V E N G E A N C E
> 

-- 
            The dark ages were caused by the Y1K problem.
