* acpi on r40e
@ 2004-02-07 16:20 Praveen C
[not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Praveen C @ 2004-02-07 16:20 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>Did you deselect thermal and processor modules to be able to boot
>without hang?
>But we need boot log of kernel with thermal and processor modules, and
>don't forget
>to get acpi debug option selected.
>
>--Luming
I select all of them as modules and load only those which work. The
moment I load processor or thermal module the system hangs and I have
to reboot. I have looked at the kernel log there is nothing related to
processor/thermal modules. It looks like the system totally hangs so
that kernel is not able to print any messages.
Another problem with acpi which I forgot to mention is that it makes
the special buttons for volume and brightness control ineffective. If I
boot the same kernel with acpi=off those buttons work fine.
I have selected all the options in ACPI. My kernel config file is here
http://www.flatface.net/~praveen/tp/linux-2.6.1-config.txt
--
------------------------------------------------------------------------------
Praveen. C
CFD Center, Dept. of Aerospace Engg.
IISc, Bangalore - 560012, India
Phone: +91-80-3600904
http://www.cpraveen.tk
http://aero.iisc.ernet.in/~praveen
------------------------------------------------------------------------------
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 26+ messages in thread
* acpi on r40e
@ 2004-02-08 5:31 Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-08 5:31 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I have tried without the pnpbios and I still get hangup with processor module.
praveen
-----------------------------------------------------------------------------
From: <gava-7azNGskkaze/k5lE4H/icg@public.gmane.org>
To: "Henny Wilbrink" <wsdwhw-ek1Qb6IBo2Pz+pZb47iToQ@public.gmane.org>,
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [ACPI] Re: ACPI, Acer Aspire 1700 series and Kernel 2.6
Date: Sat, 7 Feb 2004 17:33:44 +0100
Thank's very much Henny,
it works!!
i suggesto also to Praveen C (mesasage [ACPI] acpi on r40e) to vrify if he
has
P&P support enable on kernel configuration
Regards
kolja
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
@ 2004-02-10 4:34 ` Len Brown
[not found] ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Len Brown @ 2004-02-10 4:34 UTC (permalink / raw)
To: Praveen C; +Cc: ACPI Developers
On Sat, 2004-02-07 at 11:20, Praveen C wrote:
> Another problem with acpi which I forgot to mention is that it makes
> the special buttons for volume and brightness control ineffective. If I
> boot the same kernel with acpi=off those buttons work fine.
Interesting.
If you boot, say with "acpi=off", your volume and brightness buttons
work, but if you boot with ACPI enabled they have no effect?
you DSDT has an IBM defined device:
Device (HKEY)
{
Name (_HID, EisaId ("IBM0068"))
which sure sounds like it might be a hot-key device;-)
However, not immediately clear to me how ACPI w/o vendor-specific
extensions would talk to it. Even more unclear is how and why these
buttons work when ACPI is disabled, and how ACPI interferes with their
proper operation when it is enabled.
-Len
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
@ 2004-02-10 5:18 Praveen C
[not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Praveen C @ 2004-02-10 5:18 UTC (permalink / raw)
To: len.brown-ral2JQCrhuEAvxtiuMwx3w
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>Interesting.
>If you boot, say with "acpi=off", your volume and brightness buttons
>work, but if you boot with ACPI enabled they have no effect?
Thats right. I know that many others with R40e are facing the same
problems as me with acpi (hangup with processor/thermal modules and the
special button problems). When I am booting an acpi kernel I have to
adjust the brightness before the kernel starts. With acpi=off the
buttons work without me doing anything extra.
There are other buttons which dont work either with or without acpi.
For example Fn+F3 switches off the backlight in the display in Windows
but does nothing in Linux. In Linux I can switch off the backlight only
by closing the lid.
Regarding the hangup with processor/thermal modules I am not
able to locate any messages in kernel log.
Is there any other information I can provide which help to identify the
problem?
Thanks
praveen
--
------------------------------------------------------------------------------
Praveen. C
CFD Center, Dept. of Aerospace Engg.
IISc, Bangalore - 560012, India
Phone: +91-80-3600904
http://www.cpraveen.tk
http://aero.iisc.ernet.in/~praveen
------------------------------------------------------------------------------
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
@ 2004-02-10 16:12 ` Nate Lawson
2004-02-12 16:57 ` Praveen C
1 sibling, 0 replies; 26+ messages in thread
From: Nate Lawson @ 2004-02-10 16:12 UTC (permalink / raw)
To: Len Brown; +Cc: Praveen C, ACPI Developers
On Mon, 9 Feb 2004, Len Brown wrote:
> On Sat, 2004-02-07 at 11:20, Praveen C wrote:
> > Another problem with acpi which I forgot to mention is that it makes
> > the special buttons for volume and brightness control ineffective. If I
> > boot the same kernel with acpi=off those buttons work fine.
>
> Interesting.
> If you boot, say with "acpi=off", your volume and brightness buttons
> work, but if you boot with ACPI enabled they have no effect?
>
> you DSDT has an IBM defined device:
>
> Device (HKEY)
> {
> Name (_HID, EisaId ("IBM0068"))
>
> which sure sounds like it might be a hot-key device;-)
> However, not immediately clear to me how ACPI w/o vendor-specific
> extensions would talk to it. Even more unclear is how and why these
> buttons work when ACPI is disabled, and how ACPI interferes with their
> proper operation when it is enabled.
In the APM case, SMM handles the buttons. In the ACPI case, the SMI is
tristated and the SCI is used. However, Linux has no IBM hotkey driver
and hence his volume buttons don't work.
-Nate
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
@ 2004-02-11 21:48 ` Sandro Weiser
0 siblings, 0 replies; 26+ messages in thread
From: Sandro Weiser @ 2004-02-11 21:48 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 10. Februar 2004 06:18 schrieb Praveen C:
> >Interesting.
> >If you boot, say with "acpi=off", your volume and brightness buttons
> >work, but if you boot with ACPI enabled they have no effect?
>
> Thats right. I know that many others with R40e are facing the same
> problems as me with acpi (hangup with processor/thermal modules and the
> special button problems). When I am booting an acpi kernel I have to
> adjust the brightness before the kernel starts. With acpi=off the
> buttons work without me doing anything extra.
>
> There are other buttons which dont work either with or without acpi.
> For example Fn+F3 switches off the backlight in the display in Windows
> but does nothing in Linux. In Linux I can switch off the backlight only
> by closing the lid.
>
> Regarding the hangup with processor/thermal modules I am not
> able to locate any messages in kernel log.
>
> Is there any other information I can provide which help to identify the
> problem?
Here the same with Fn+F3 which doesn't works anymore with acpi
I'm using now apm in 2.4.24 and haven't tested 2.5.XX and 2.6.XX heavily
anymore, but
When I experimented with early acpi-support in 2.4 before switching to apm
(was in March 2003) Fn+F3 *definitely* worked with acpi.
- --
Sandro Weiser <Sandro.Weiser-Mmb7MZpHnFY@public.gmane.org>
Fingerprint: 77E0 7C87 4DB2 6BBB 5419 343C 7995 1C67 25B9 CBF1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAKqMfeZUcZyW5y/ERAnzHAJ40pSOOCUKerA4pF6HHfAlD2zGKVACgu6zd
N57WKlL25Zg3vYMKpf0H0ns=
=feaw
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-12 3:18 Yu, Luming
0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-12 3:18 UTC (permalink / raw)
To: sandro.weiser-Mmb7MZpHnFY,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>
> When I experimented with early acpi-support in 2.4 before
> switching to apm
> (was in March 2003) Fn+F3 *definitely* worked with acpi.
Really? Can you recall the exact version?
--Luming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-10 16:12 ` Nate Lawson
@ 2004-02-12 16:57 ` Praveen C
[not found] ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
1 sibling, 1 reply; 26+ messages in thread
From: Praveen C @ 2004-02-12 16:57 UTC (permalink / raw)
To: Len Brown; +Cc: ACPI Developers
I removed all HKEY related stuff and assembled dsdt.dsl using iasl.
Then I used the DSDT initrd patch together with the new DSDT table. I
STILL cant get the volume and brightness buttons to work.
praveen
--- Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > On Sat, 2004-02-07 at
11:20, Praveen C wrote:
>
> > Another problem with acpi which I forgot to mention is that it
> makes
> > the special buttons for volume and brightness control ineffective.
> If I
> > boot the same kernel with acpi=off those buttons work fine.
>
> Interesting.
> If you boot, say with "acpi=off", your volume and brightness buttons
> work, but if you boot with ACPI enabled they have no effect?
>
> you DSDT has an IBM defined device:
>
> Device (HKEY)
> {
> Name (_HID, EisaId ("IBM0068"))
>
> which sure sounds like it might be a hot-key device;-)
> However, not immediately clear to me how ACPI w/o vendor-specific
> extensions would talk to it. Even more unclear is how and why these
> buttons work when ACPI is disabled, and how ACPI interferes with
> their
> proper operation when it is enabled.
>
> -Len
=====
Praveen C
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Education Special: Study in the UK now.
Go to http://in.specials.yahoo.com/index1.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
@ 2004-02-12 18:01 ` Nate Lawson
0 siblings, 0 replies; 26+ messages in thread
From: Nate Lawson @ 2004-02-12 18:01 UTC (permalink / raw)
To: Praveen C; +Cc: Len Brown, ACPI Developers
On Thu, 12 Feb 2004, [iso-8859-1] Praveen C wrote:
> I removed all HKEY related stuff and assembled dsdt.dsl using iasl.
> Then I used the DSDT initrd patch together with the new DSDT table. I
> STILL cant get the volume and brightness buttons to work.
> praveen
Apparently you didn't read my reply to you. If you want the buttons, use
APM and disable ACPI.
-Nate
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-13 4:22 Yu, Luming
0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-13 4:22 UTC (permalink / raw)
To: Nate Lawson, Praveen C; +Cc: Brown, Len, ACPI Developers
>
> On Thu, 12 Feb 2004, [iso-8859-1] Praveen C wrote:
> > I removed all HKEY related stuff and assembled dsdt.dsl using iasl.
> > Then I used the DSDT initrd patch together with the new
> DSDT table. I
> > STILL cant get the volume and brightness buttons to work.
> > praveen
>
> Apparently you didn't read my reply to you. If you want the
> buttons, use
> APM and disable ACPI.
>
>From hardware point of view, User interface can trigger SMI# and SCI# ,
So, maybe it's possible that Hot key feature handled by SMM code
can work with ACPI. I'm not sure, it is just my imagination.
--Luming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-13 5:46 Brown, Len
0 siblings, 0 replies; 26+ messages in thread
From: Brown, Len @ 2004-02-13 5:46 UTC (permalink / raw)
To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers
I expect that the SMI for these buttons gets disabled when the platform
gets switched into ACPI mode. The existence of IBM-specific HKEY stuff
in the AML suggests that IBM expects an ACPI-enabled OS to have an
IBM-specific ACPI extensions to handle these keys.
Praveen,
As IBM has not supplied such Linux sofware, and nobody has written it
for them, these HKEY methods go un-used. (and that is why removing them
made no difference). If you're really excited about running in ACPI
mode on this platform and having those buttons work then...
1. see if you can find out if someplace in IBM they actually have this
software and can make it available for Linux. IBM's the company running
Linux ads on TV, right?;-)
2. consider writing an ACPI driver that gets loaded when it sees this
device, and talks to those methods.
Cheers,
-Len
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-16 10:25 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Yu, Luming @ 2004-02-16 10:25 UTC (permalink / raw)
To: Yu, Luming, Nate Lawson, Praveen C; +Cc: Brown, Len, ACPI Developers
> > On Thu, 12 Feb 2004, [iso-8859-1] Praveen C wrote:
> > > I removed all HKEY related stuff and assembled dsdt.dsl
> using iasl.
> > > Then I used the DSDT initrd patch together with the new
> > DSDT table. I
> > > STILL cant get the volume and brightness buttons to work.
> > > praveen
> >
> > Apparently you didn't read my reply to you. If you want the
> > buttons, use
> > APM and disable ACPI.
> >
>
> From hardware point of view, User interface can trigger SMI#
> and SCI# ,
> So, maybe it's possible that Hot key feature handled by SMM code
> can work with ACPI. I'm not sure, it is just my imagination.
>
> --Luming
I just want to add my experience on T21 for hot key issue .
The hot key FN+Home (End) is for brightness control on T21.
It do work with ACPI without any Linux ACPI code, which is expected
to support hot key feature.
To identify the problem you may have, could you send out
/proc/interrupts
befroe and after pressing hot-key. I want to see whether this is
interrupt or event releated problem.
I suspect something is wrong with triggering SMI# or SCI# on r40e.
(Full boot log is appreciated!)
--Luming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-02-16 14:03 ` Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-16 14:03 UTC (permalink / raw)
To: Yu, Luming; +Cc: ACPI Developers
> I just want to add my experience on T21 for hot key issue .
> The hot key FN+Home (End) is for brightness control on T21.
> It do work with ACPI without any Linux ACPI code, which is expected
> to support hot key feature.
> To identify the problem you may have, could you send out
> /proc/interrupts
> befroe and after pressing hot-key. I want to see whether this is
> interrupt or event releated problem.
> I suspect something is wrong with triggering SMI# or SCI# on r40e.
>
> (Full boot log is appreciated!)
>
> --Luming
If I boot with acpi=off, the hotkeys work. I can see the keypress by
watch'ing /dev/nvram. But with acpi, the keys dont work and nothing is
registered in /dev/nvram when any of the hotkeys are pressed.
However the power button is recognized by acpi and I can use it to shut
down properly.
Here is the /proc/interrupts
Before a keypress
CPU0
0: 279592 XT-PIC timer
1: 305 XT-PIC i8042
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
9: 1 XT-PIC acpi
11: 1 XT-PIC ALI 5451, ohci_hcd, yenta, eth0
12: 797 XT-PIC i8042
14: 2549 XT-PIC ide0
15: 8 XT-PIC ide1
NMI: 0
ERR: 0
After a key press
CPU0
0: 291455 XT-PIC timer
1: 463 XT-PIC i8042
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
9: 1 XT-PIC acpi
11: 1 XT-PIC ALI 5451, ohci_hcd, yenta, eth0
12: 797 XT-PIC i8042
14: 2555 XT-PIC ide0
15: 8 XT-PIC ide1
NMI: 0
ERR: 0
My dmesg is below (with acpi)
Linux version 2.6.1 (root-AOiGnv2RGtY@public.gmane.org) (gcc version 3.2.3 20030422 (Gentoo
Linux 1.4 3.2.3-r1, propolice)) #1 Thu Jan 29 12:57:27 IST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ef70000 (usable)
BIOS-e820: 000000000ef70000 - 000000000ef7b000 (ACPI data)
BIOS-e820: 000000000ef7b000 - 000000000ef7d000 (ACPI NVS)
BIOS-e820: 000000000ef80000 - 000000000f000000 (reserved)
BIOS-e820: 000000001ef80000 - 000000001f000000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
239MB LOWMEM available.
On node 0 totalpages: 61296
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 57200 pages, LIFO batch:13
HighMem zone: 0 pages, LIFO batch:1
DMI present.
IBM machine detected. Enabling interrupts during APM calls.
IBM machine detected. Disabling SMBus accesses.
ACPI: RSDP (v002 IBM ) @
0x000f6d90
ACPI: XSDT (v001 IBM TP-1S 0x00001230 LTP 0x00000000) @
0x0ef74a3b
ACPI: FADT (v003 IBM TP-1S 0x00001230 IBM 0x00000001) @
0x0ef74b00
ACPI: SSDT (v001 IBM TP-1S 0x00001230 MSFT 0x0100000e) @
0x0ef74cb4
ACPI: ECDT (v001 IBM TP-1S 0x00001230 IBM 0x00000001) @
0x0ef7ae89
ACPI: BOOT (v001 IBM TP-1S 0x00001230 LTP 0x00000001) @
0x0ef7afd8
ACPI: DSDT (v001 IBM TP-1S 0x00001230 MSFT 0x0100000e) @
0x00000000
Building zonelist for node : 0
Kernel command line: root=/dev/hda5 vga=773
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 2192.695 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Memory: 238964k/245184k available (2014k kernel code, 5508k reserved,
783k data, 136k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay loop... 4308.99 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebf9ff 00000000 00000000
00000000
CPU: After vendor identify, caps: bfebf9ff 00000000 00000000
00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After all inits, caps: bfebf9ff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU: Intel Mobile Intel(R) Celeron(R) CPU 2.20GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd84c, last bus=4
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040116
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully
acquired
Parsing all Control
Methods:...............................................................................................................................................................................................................................
Table [DSDT](id F005) - 782 Objects with 44 Devices 223 Methods 10
Regions
Parsing all Control Methods:.
Table [SSDT](id F003) - 1 Objects with 0 Devices 1 Methods 0 Regions
ACPI Namespace successfully loaded at root c03ec39c
ACPI: IRQ9 SCI: Edge set to Level Trigger.
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode
successful
evgpeblk-0747 [06] ev_create_gpe_block : GPE 00 to 63 [_GPE] 8 regs
at 0000000000008028 on int 9
ACPI: Found ECDT
Completing Region/Field/Buffer/Package
initialization:............................................................................................................................................................................
Initialized 10/10 Regions 80/80 Fields 49/49 Buffers 33/33 Packages
(791 nodes)
Executing all Device _STA and_INI
methods:..............................................
46 Devices found containing: 46 _STA, 6 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKI] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 2)
ACPI: Power Resource [PUBS] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
SCSI subsystem initialized
ACPI: PCI Interrupt Link [LNKI] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
pci_irq-0302 [30] acpi_pci_irq_derive : Unable to derive IRQ for
device 0000:00:0f.0
ACPI: No IRQ known for interrupt pin A of device 0000:00:0f.0
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
vesafb: framebuffer at 0xf8000000, mapped to 0xcf810000, size 16384k
vesafb: mode is 1024x768x8, linelength=1024, pages=20
vesafb: protected mode interface info at c000:4f59
vesafb: scrolling: redraw
fb0: VESA VGA frame buffer device
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
ikconfig 0.7 with /proc/config*
devfs: v1.22 (20021013) Richard Gooch (rgooch-r1x6VkxMR+00zabcByZE4g@public.gmane.org)
devfs: boot_options: 0x1
udf: registering filesystem
Initializing Cryptographic API
Console: switching to colour frame buffer device 128x48
pty: 256 Unix98 ptys configured
Linux agpgart interface v0.100 (c) Dave Jones
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
pci_irq-0302 [31] acpi_pci_irq_derive : Unable to derive IRQ for
device 0000:00:0f.0
ACPI: No IRQ known for interrupt pin A of device 0000:00:0f.0
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8080-0x8087, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x8088-0x808f, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MHS2020AT E, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 33000053 sectors (16896 MB)
native capacity is 39070080 sectors (20003 MB)
hda: 33000053 sectors (16896 MB) w/2048KiB Cache, CHS=34920/15/63,
UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
Console: switching to colour frame buffer device 128x48
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25
19:16:36 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
ALSA device list:
No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 136k freed
Adding 385552k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda5, internal journal
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension
(NICE) ver.
7.1.9 (11/03/03)
eth0: Broadcom BCM5901 100Base-TX found at mem e8000000, IRQ 11, node
addr 00061bda8eba
eth0: Broadcom BCM5705 Integrated Copper transceiver found
eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON,
802.1Q VLAN ON, TSO ON
cpufreq: P4/Xeon(TM) CPU On-Demand Clock Modulation available
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: USB HC TakeOver from BIOS/SMM
ohci_hcd 0000:00:02.0: reset, control = 0x83
ohci_hcd 0000:00:02.0: irq 11, pci mem d087a000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: root hub device address 1
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID
0x409
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.1 ohci_hcd
usb usb1: SerialNumber: 0000:00:02.0
drivers/usb/core/usb.c: usb_hotplug
usb usb1: registering 1-0:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: Port indicators are not supported
hub 1-0:1.0: power on to power good time: 2ms
hub 1-0:1.0: hub controller current requirement: 0mA
hub 1-0:1.0: local power source is good
hub 1-0:1.0: no over-current condition exists
hub 1-0:1.0: enabling power on all ports
ohci_hcd 0000:00:02.0: created debug files
ohci_hcd 0000:00:02.0: OHCI controller state
ohci_hcd 0000:00:02.0: OHCI 1.0, with legacy support registers
ohci_hcd 0000:00:02.0: control 0x08f HCFS=operational IE PLE CBSR=3
ohci_hcd 0000:00:02.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0000:00:02.0: intrstatus 0x00000004 SF
ohci_hcd 0000:00:02.0: intrstatus 0x00000004 SF
ohci_hcd 0000:00:02.0: intrenable 0x80000002 MIE WDH
ohci_hcd 0000:00:02.0: hcca frame #0031
ohci_hcd 0000:00:02.0: roothub.a 01000202 POTPGT=1 NPS NDP=2
ohci_hcd 0000:00:02.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0000:00:02.0: roothub.status 00000000
ohci_hcd 0000:00:02.0: roothub.portstatus [0] 0x00000100 PPS
ohci_hcd 0000:00:02.0: roothub.portstatus [1] 0x00000100 PPS
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
Yenta: CardBus bridge found at 0000:00:0c.0 [1014:0528]
Yenta: ISA IRQ mask 0x04f8, PCI irq 11
Socket status: 30000007
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Real Time Clock Driver v1.12
bcm5700: eth0 NIC Link is DOWN
atkbd.c: Unknown key released (translated set 2, code 0x7a on
isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on
isa0060/serio0).
Thanks
praveen
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17 5:10 Brown, Len
0 siblings, 0 replies; 26+ messages in thread
From: Brown, Len @ 2004-02-17 5:10 UTC (permalink / raw)
To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers
> I just want to add my experience on T21 for hot key issue .
>The hot key FN+Home (End) is for brightness control on T21.
>It do work with ACPI without any Linux ACPI code, which is expected
>to support hot key feature.
Why is Linux expected to support the hot key feature?
If the T21 has no AML to support hot keys, and it chooses not to disable
the SMM hot-key handlers when the platform enters ACPI mode, then it is
the T21 firmware that is intended to support the hot keys, not ACPI, and
not Linux. Linux doesn't even know the hot key exists, and has no power
to control it.
(OTOH, the r40e apparently _does_ have AML for hot-key support, and
_does_ disable the SMM handlers for hot keys when ACPI mode is enabled.
So in that case we must presume that IBM shipped an platform specific
ACPI HKEY driver with Windows. The question is why they don't make the
same driver available on Linux.
So if I bought such a machine, I'd go to http://www.ibm.com/linux and
ask the supplier they support Linux on this model, or not.
-Len
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17 5:47 Yu, Luming
0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-17 5:47 UTC (permalink / raw)
To: Brown, Len, Nate Lawson, Praveen C; +Cc: ACPI Developers
> > I just want to add my experience on T21 for hot key issue .
> >The hot key FN+Home (End) is for brightness control on T21.
> >It do work with ACPI without any Linux ACPI code, which is expected
> >to support hot key feature.
>
> Why is Linux expected to support the hot key feature?
> If the T21 has no AML to support hot keys, and it chooses not
> to disable
> the SMM hot-key handlers when the platform enters ACPI mode,
> then it is
> the T21 firmware that is intended to support the hot keys,
> not ACPI, and
> not Linux. Linux doesn't even know the hot key exists, and
> has no power
> to control it.
>
The AML of T21 has HKEY Device like r40e.
Device (HKEY)
{
Name (_HID, EisaId ("IBM0068"))
......
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17 7:03 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Brown, Len @ 2004-02-17 7:03 UTC (permalink / raw)
To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers
>The AML of T21 has HKEY Device like r40e.
>
> Device (HKEY)
> {
> Name (_HID, EisaId ("IBM0068"))
Interesting!
Yet your T21 brightness key is working when Linux is in ACPI mode.
Perhaps The brightness key is not one of the keys handled by this code?
Are there other hot keys on the T21? Do they work?
Where is an IBM engineer when you need one?
Thanks,
-Len
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
@ 2004-02-17 7:40 ` Ian Pilcher
2004-02-19 14:04 ` Praveen C
2004-02-21 13:26 ` Praveen C
2 siblings, 0 replies; 26+ messages in thread
From: Ian Pilcher @ 2004-02-17 7:40 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Brown, Len wrote:
>>The AML of T21 has HKEY Device like r40e.
>>
>> Device (HKEY)
>> {
>> Name (_HID, EisaId ("IBM0068"))
>
>
> Interesting!
> Yet your T21 brightness key is working when Linux is in ACPI mode.
> Perhaps The brightness key is not one of the keys handled by this code?
> Are there other hot keys on the T21? Do they work?
>
> Where is an IBM engineer when you need one?
>
This might be of interest:
http://www-306.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4GXPEG
--
========================================================================
Ian Pilcher i.pilcher-Wuw85uim5zDR7s880joybQ@public.gmane.org
========================================================================
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17 8:14 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 26+ messages in thread
From: Yu, Luming @ 2004-02-17 8:14 UTC (permalink / raw)
To: Praveen C; +Cc: ACPI Developers
> Before a keypress
> 9: 1 XT-PIC acpi
> After a key press
> 9: 1 XT-PIC acpi
Thanks for your information, Obviously, Hot key doesn't trigger any
SCI# .And most likely, No SMI# too. This is a real bug.
output of acpidmp and /proc/acpi/dsdt are wanted!
--Luming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-02-17 16:36 ` Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-17 16:36 UTC (permalink / raw)
To: Yu, Luming; +Cc: ACPI Developers
Hello,
I have put all the required files here
http://www.flatface.net/~praveen/tp/tables
The complete output of running acpidmp is in acpidmp.out
I have also put the individual tables.
The dsdt from /proc/acpi/dsdt is in dsdt_from_proc.dat
Thanks
praveen
--- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > > Before a keypress
> > 9: 1 XT-PIC acpi
>
> > After a key press
> > 9: 1 XT-PIC acpi
>
> Thanks for your information, Obviously, Hot key doesn't trigger any
> SCI# .And most likely, No SMI# too. This is a real bug.
> output of acpidmp and /proc/acpi/dsdt are wanted!
>
> --Luming
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17 7:40 ` Ian Pilcher
@ 2004-02-19 14:04 ` Praveen C
2004-02-21 13:26 ` Praveen C
2 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-19 14:04 UTC (permalink / raw)
To: Brown, Len, Yu, Luming; +Cc: ACPI Developers
If I boot with acpi=off, the hotkeys work. I can see the keypress by
watch'ing /dev/nvram. But with acpi, the keys dont work and nothing is
registered in /dev/nvram when any of the hotkeys are pressed. Even
closing and opening the lid causes some change in nvram but nothing is
registered when acpi is enabled.
It looks like hotkeys are accessed through CMOS in Thinkpads.
I dont see any CMOS entry in dsdt table
(http://www.flatface.net/~praveen/tp/acpi/dsdt.dsl).
I am not an expert in this; I am just trying to give all the info I
think might be relevant.
praveen
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17 7:40 ` Ian Pilcher
2004-02-19 14:04 ` Praveen C
@ 2004-02-21 13:26 ` Praveen C
2 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-21 13:26 UTC (permalink / raw)
To: Brown, Len, Yu, Luming; +Cc: ACPI Developers
Hello
I have discovered some more info regarding the problems with processor
and thermal modules on R40e. It looks like there is some problem with
processor module and IDE. When I boot kernel 2.6.2 with all acpi
modules inbuilt into the kernel, then the machine hangs while executing
drivers/ide/ide-disk.c
in function idedisk_check_hpa (This checks if the machine has a host
protected area, which is present on r40e)
-----------------------------------------------------------------------------------------------
if(lba48)
set_max = idedisk_read_native_max_address_ext(drive);
else
//control reaches here
set_max = idedisk_read_native_max_address(drive);
// HANGS, DOES NOT COME OUT OF ABOVE FUNCTION
if(set_max <= capacity)
return;
printk(KERN_INFO "%s: Host protected area ..........
-----------------------------------------------------------------------------------------------
WIth acpi inbuilt, I see in the boot messages that processor modules
loads and says 8 throttling states found, thermal loads and displays
current temperature; then the ide is probed and it hangs in the
position I indicated above.
If I build the acpi stuff as modules, and try to load them (modprobe)
after full boot, then the machine hangs if I try to modprobe processor
module. I dont get any messages in the log because the processor module
seems to be doing something to IDE.
Can you please tell me what the processor module is doing to IDE ?
praveen
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-21 14:27 Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-21 14:27 UTC (permalink / raw)
To: Brown, Len, Yu, Luming; +Cc: ACPI Developers
--- Praveen C <cpravn-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > Hello
> I have discovered some more info regarding the problems with
> processor
> and thermal modules on R40e. It looks like there is some problem with
> processor module and IDE. When I boot kernel 2.6.2 with all acpi
> modules inbuilt into the kernel, then the machine hangs while
> executing
> drivers/ide/ide-disk.c
>
> in function idedisk_check_hpa (This checks if the machine has a host
> protected area, which is present on r40e)
>
-----------------------------------------------------------------------------------------------
> if(lba48)
> set_max = idedisk_read_native_max_address_ext(drive);
> else
> //control reaches here
> set_max = idedisk_read_native_max_address(drive);
> // HANGS, DOES NOT COME OUT OF ABOVE FUNCTION
>
> if(set_max <= capacity)
> return;
>
> printk(KERN_INFO "%s: Host protected area ..........
>
-----------------------------------------------------------------------------------------------
>
> WIth acpi inbuilt, I see in the boot messages that processor modules
> loads and says 8 throttling states found, thermal loads and displays
> current temperature; then the ide is probed and it hangs in the
> position I indicated above.
>
> If I build the acpi stuff as modules, and try to load them (modprobe)
> after full boot, then the machine hangs if I try to modprobe
> processor
> module. I dont get any messages in the log because the processor
> module
> seems to be doing something to IDE.
>
> Can you please tell me what the processor module is doing to IDE ?
> praveen
lspci on R40e gives the IDE Interface
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
Subsystem: IBM: Unknown device 053d
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 0
Region 4: I/O ports at 8080 [size=16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
In the linux kernel I select Ali M15x3 chipset support which provides
the IDE controller for M5229.
Snip from dmesg
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8080-0x8087, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x8088-0x808f, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MHS2020AT E, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
praveen
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-25 9:29 Yu, Luming
0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-25 9:29 UTC (permalink / raw)
To: Praveen C; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> > Can you please tell me what the processor module is doing to IDE ?
> > praveen
>
To get more debug information, would you please add
acpi_dbg_layer=0x01000000
acpi_dbg_level=0xffffffff
in function acpi_processor_init?
And post deubg info, I think that will help us
a lot.
Maybe it is related to SCI.
--Luming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
@ 2004-02-25 17:53 Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-25 17:53 UTC (permalink / raw)
To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>-----Original Message-----
>From: Yu, Luming [mailto:luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org]
>Sent: Wednesday, February 25, 2004 09:29 AM
>To: 'Praveen C'
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: RE: acpi on r40e
>
>> > Can you please tell me what the processor module is doing to IDE ?
>> > praveen
>>
>
>To get more debug information, would you please add
>acpi_dbg_layer=0x01000000
>acpi_dbg_level=0xffffffff
>in function acpi_processor_init?
>
>And post deubg info, I think that will help us
>a lot.
>
>Maybe it is related to SCI.
>
>--Luming
I made the above modification and boot. I see some debug statements during boot but I cannot copy them since the system hangs subsequently during IDE setup as I have written previously. If I compile the processor as a module and do modprobe after full boot, then system hangs but I dont get any debug messages in /var/log.
praveen
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: acpi on r40e
@ 2004-03-02 5:57 Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-03-02 5:57 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
This is about the hangup problem with processor modules on Thinkpad R40e. I have narrowed the problem down to the following functions in drivers/acpi/processor.c
acpi_processor_idle
acpi_processor_get_throttling
acpi_processor_set_throttling
I forced a return in the beginning of all these three functions so that the above functions are not executed. The module then does not hangup and I can also load the thermal module. So I can now get the temperature. I suspect the above three functions because all of them disable irq (local_irq_disable() and local_irq_enable() in 2.6 kernel) which could be causing some problem but thats just a guess. I hope somebody will be able to tell me the possible problems with these functions.
Thanks
praveen
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
* acpi on r40e
@ 2004-03-18 15:27 Praveen C
0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-03-18 15:27 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello,
I posted to this list about acpi problems on r40e. The processor module
was causing the system to hang and I found that cpu power management
was the cause of the trouble. So in drivers/acpi/processor.c, in
function acpi_processor_add(), I disabled power managment by setting
the power flag to zero as follows:
/*
Install the idle handler if processor power management is
supported.
Note that the default idle handler (default_idle) will be used on
platforms that only support C1.
*/
pr->flags.power = 0; //Disable cpu power management for r40e
if ((pr->id == 0) && (pr->flags.power)) {
pm_idle_save = pm_idle;
pm_idle = acpi_processor_idle;
}
With this change the processor module does not hang. But the system is
always in C1 and it becomes hot (~50C) even when there is no load. Here
is
cat /proc/acpi/processor/cpu/*
processor id: 0
acpi id: 1
bus mastering control: yes
power management: no
throttling control: yes
limit interface: yes
active limit: P0:T0
user limit: P0:T0
thermal limit: P0:T0
active state: C1
default state: C1
bus master activity: 00000000
states:
*C1: promotion[C2] demotion[--] latency[000]
usage[00000000]
C2: promotion[C3] demotion[C1] latency[003]
usage[00000000]
C3: promotion[--] demotion[C2] latency[250]
usage[00000000]
state count: 8
active state: T0
states:
*T0: 00%
T1: 12%
T2: 25%
T3: 37%
T4: 50%
T5: 62%
T6: 75%
T7: 87%
I hope someone can find a solution for this.
Thanks
praveen
=====
http://www.cpraveen.tk/
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2004-03-18 15:27 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-10 5:18 acpi on r40e Praveen C
[not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-11 21:48 ` Sandro Weiser
-- strict thread matches above, loose matches on Subject: below --
2004-03-18 15:27 Praveen C
2004-03-02 5:57 Praveen C
2004-02-25 17:53 Praveen C
2004-02-25 9:29 Yu, Luming
2004-02-21 14:27 Praveen C
2004-02-17 8:14 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-17 16:36 ` Praveen C
2004-02-17 7:03 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17 7:40 ` Ian Pilcher
2004-02-19 14:04 ` Praveen C
2004-02-21 13:26 ` Praveen C
2004-02-17 5:47 Yu, Luming
2004-02-17 5:10 Brown, Len
2004-02-16 10:25 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-16 14:03 ` Praveen C
2004-02-13 5:46 Brown, Len
2004-02-13 4:22 Yu, Luming
2004-02-12 3:18 Yu, Luming
2004-02-08 5:31 Praveen C
2004-02-07 16:20 Praveen C
[not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-10 4:34 ` Len Brown
[not found] ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-10 16:12 ` Nate Lawson
2004-02-12 16:57 ` Praveen C
[not found] ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-02-12 18:01 ` Nate Lawson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox