* Re: 2.6.8.1-mm1 hangs on boot with ACPI
[not found] <566B962EB122634D86E6EE29E83DD808182C35CE@hdsmsx403.hd.intel.com>
@ 2004-08-19 6:49 ` Len Brown
2004-08-19 8:10 ` Pontus Fuchs
2004-08-19 11:43 ` Pontus Fuchs
0 siblings, 2 replies; 7+ messages in thread
From: Len Brown @ 2004-08-19 6:49 UTC (permalink / raw)
To: Pontus Fuchs; +Cc: linux-kernel, ACPI Developers
On Tue, 2004-08-17 at 04:55, Pontus Fuchs wrote:
> Hi,
>
> After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does not
> boot anymore. The last message i see is:
>
> ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
>
> In plain 2.6.8.1 the next messages would be:
>
> ACPI: Thermal Zone [THRM] (52 C)
> Console: switching to colour frame buffer device 175x65
> Linux agpgart interface v0.100 (c) Dave Jones
> agpgart: Detected SiS 648 chipset
>
> Booting with acpi=off works fine. I have also tried pci=routeirq but
> it
> does not make any difference.
>
> The machine is an Asus L5c laptop.
Please try booting with "pci=routeirq"
If that doesn't work, please take stock 2.6.8.1 and apply the latest
patch here:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/
and give it a go.
This will bring your kernel up to the same ACPI patch that is in the -mm
tree, but without all the other stuff in the mm tree.
If it fails, then ACPI broke. If it works, then something in -mm broke
ACPI.
thanks,
-Len
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.6.8.1-mm1 hangs on boot with ACPI
2004-08-19 6:49 ` 2.6.8.1-mm1 hangs on boot with ACPI Len Brown
@ 2004-08-19 8:10 ` Pontus Fuchs
2004-08-19 8:26 ` [ACPI] " Eric Valette
2004-08-19 11:43 ` Pontus Fuchs
1 sibling, 1 reply; 7+ messages in thread
From: Pontus Fuchs @ 2004-08-19 8:10 UTC (permalink / raw)
To: Len Brown; +Cc: linux-kernel, ACPI Developers
On Thu, 2004-08-19 at 08:49, Len Brown wrote:
> > After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does not
> > boot anymore. The last message i see is:
> >
> > ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
> >
> > In plain 2.6.8.1 the next messages would be:
> >
> > ACPI: Thermal Zone [THRM] (52 C)
> > Console: switching to colour frame buffer device 175x65
> > Linux agpgart interface v0.100 (c) Dave Jones
> > agpgart: Detected SiS 648 chipset
> >
> > Booting with acpi=off works fine. I have also tried pci=routeirq but
> > it
> > does not make any difference.
> >
> > The machine is an Asus L5c laptop.
>
> Please try booting with "pci=routeirq"
> If that doesn't work, please take stock 2.6.8.1 and apply the latest
> patch here:
> http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/
> and give it a go.
>
> This will bring your kernel up to the same ACPI patch that is in the -mm
> tree, but without all the other stuff in the mm tree.
>
> If it fails, then ACPI broke. If it works, then something in -mm broke
> ACPI.
Hi,
I did what you suggested but the kernel still hangs. I have put the
details on bugme.osdl.org:
http://bugme.osdl.org/show_bug.cgi?id=3233
Pontus Fuchs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ACPI] Re: 2.6.8.1-mm1 hangs on boot with ACPI
2004-08-19 8:10 ` Pontus Fuchs
@ 2004-08-19 8:26 ` Eric Valette
0 siblings, 0 replies; 7+ messages in thread
From: Eric Valette @ 2004-08-19 8:26 UTC (permalink / raw)
To: Pontus Fuchs; +Cc: Len Brown, linux-kernel, ACPI Developers
Pontus Fuchs wrote:
> On Thu, 2004-08-19 at 08:49, Len Brown wrote:
>
>>>After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does not
>>>boot anymore. The last message i see is:
>>>
>>>ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
>>>
>>>In plain 2.6.8.1 the next messages would be:
>>>
>>>ACPI: Thermal Zone [THRM] (52 C)
>>>Console: switching to colour frame buffer device 175x65
>>>Linux agpgart interface v0.100 (c) Dave Jones
>>>agpgart: Detected SiS 648 chipset
>>>
>>>Booting with acpi=off works fine. I have also tried pci=routeirq but
>>>it
>>>does not make any difference.
>>>
>>>The machine is an Asus L5c laptop.
>>
>>Please try booting with "pci=routeirq"
>>If that doesn't work, please take stock 2.6.8.1 and apply the latest
>>patch here:
>>http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/
>>and give it a go.
>>
>>This will bring your kernel up to the same ACPI patch that is in the -mm
>>tree, but without all the other stuff in the mm tree.
>>
>>If it fails, then ACPI broke. If it works, then something in -mm broke
>>ACPI.
>
>
> Hi,
>
> I did what you suggested but the kernel still hangs. I have put the
> details on bugme.osdl.org:
>
> http://bugme.osdl.org/show_bug.cgi?id=3233
>
> Pontus Fuchs
Could you try the patch included in
<http://bugme.osdl.org/show_bug.cgi?id=3191> as it fixes my L3C and the
analysis of the problem may well lead to an ACPI crash...
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette@free.fr
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.8.1-mm1 hangs on boot with ACPI
2004-08-19 6:49 ` 2.6.8.1-mm1 hangs on boot with ACPI Len Brown
2004-08-19 8:10 ` Pontus Fuchs
@ 2004-08-19 11:43 ` Pontus Fuchs
2004-08-19 12:35 ` [ACPI] " Eric Valette
1 sibling, 1 reply; 7+ messages in thread
From: Pontus Fuchs @ 2004-08-19 11:43 UTC (permalink / raw)
To: Len Brown; +Cc: linux-kernel, ACPI Developers
On Thu, 2004-08-19 at 08:49, Len Brown wrote:
> On Tue, 2004-08-17 at 04:55, Pontus Fuchs wrote:
> > Hi,
> >
> > After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does not
> > boot anymore. The last message i see is:
> >
> > ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
> >
> > In plain 2.6.8.1 the next messages would be:
> >
> > ACPI: Thermal Zone [THRM] (52 C)
> > Console: switching to colour frame buffer device 175x65
> > Linux agpgart interface v0.100 (c) Dave Jones
> > agpgart: Detected SiS 648 chipset
> >
> > Booting with acpi=off works fine. I have also tried pci=routeirq but
> > it
> > does not make any difference.
> >
> > The machine is an Asus L5c laptop.
>
> Please try booting with "pci=routeirq"
> If that doesn't work, please take stock 2.6.8.1 and apply the latest
> patch here:
> http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/
> and give it a go.
>
> This will bring your kernel up to the same ACPI patch that is in the -mm
> tree, but without all the other stuff in the mm tree.
>
> If it fails, then ACPI broke. If it works, then something in -mm broke
> ACPI.
Hi,
I found this another Asus laptop with intel chipset which also has
problems with the latest ACPI code, and I tried the same trick on my
machine, and now the machine boots again!
http://bugme.osdl.org/show_bug.cgi?id=3191
I have no clue what I'm actually doing so please don't consider the
patch a fix for the problem, but rather a way do show how to make the
symptom go away.
--- quirks.c.bak 2004-08-19 13:25:23.000000000 +0200
+++ quirks.c 2004-08-19 13:25:47.000000000 +0200
@@ -756,11 +756,13 @@
*/
static void __init quirk_sis_96x_smbus(struct pci_dev *dev)
{
+/*
u8 val = 0;
printk(KERN_INFO "Enabling SiS 96x SMBus.\n");
pci_read_config_byte(dev, 0x77, &val);
pci_write_config_byte(dev, 0x77, val & ~0x10);
pci_read_config_byte(dev, 0x77, &val);
+*/
}
Pontus
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [ACPI] Re: 2.6.8.1-mm1 hangs on boot with ACPI
2004-08-19 11:43 ` Pontus Fuchs
@ 2004-08-19 12:35 ` Eric Valette
0 siblings, 0 replies; 7+ messages in thread
From: Eric Valette @ 2004-08-19 12:35 UTC (permalink / raw)
To: Pontus Fuchs, greg; +Cc: Len Brown, linux-kernel, ACPI Developers
Pontus Fuchs wrote:
> On Thu, 2004-08-19 at 08:49, Len Brown wrote:
>
>>On Tue, 2004-08-17 at 04:55, Pontus Fuchs wrote:
>>
>>>Hi,
>>>
>>>After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does not
>>>boot anymore. The last message i see is:
>>>
>>>ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
>>>
>>>In plain 2.6.8.1 the next messages would be:
>>>
>>>ACPI: Thermal Zone [THRM] (52 C)
>>>Console: switching to colour frame buffer device 175x65
>>>Linux agpgart interface v0.100 (c) Dave Jones
>>>agpgart: Detected SiS 648 chipset
>>>
>>>Booting with acpi=off works fine. I have also tried pci=routeirq but
>>>it
>>>does not make any difference.
>>>
>>>The machine is an Asus L5c laptop.
>>
>>Please try booting with "pci=routeirq"
>>If that doesn't work, please take stock 2.6.8.1 and apply the latest
>>patch here:
>>http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/
>>and give it a go.
>>
>>This will bring your kernel up to the same ACPI patch that is in the -mm
>>tree, but without all the other stuff in the mm tree.
>>
>>If it fails, then ACPI broke. If it works, then something in -mm broke
>>ACPI.
>
>
> Hi,
>
> I found this another Asus laptop with intel chipset which also has
> problems with the latest ACPI code, and I tried the same trick on my
> machine, and now the machine boots again!
>
> http://bugme.osdl.org/show_bug.cgi?id=3191
>
> I have no clue what I'm actually doing so please don't consider the
> patch a fix for the problem, but rather a way do show how to make the
> symptom go away.
>
> --- quirks.c.bak 2004-08-19 13:25:23.000000000 +0200
> +++ quirks.c 2004-08-19 13:25:47.000000000 +0200
> @@ -756,11 +756,13 @@
> */
> static void __init quirk_sis_96x_smbus(struct pci_dev *dev)
> {
> +/*
> u8 val = 0;
> printk(KERN_INFO "Enabling SiS 96x SMBus.\n");
> pci_read_config_byte(dev, 0x77, &val);
> pci_write_config_byte(dev, 0x77, val & ~0x10);
> pci_read_config_byte(dev, 0x77, &val);
> +*/
> }
Well the problem is not really in the ACPI code, but rather in the PCI
code that tries to inconditionnaly enable SMBus and thus PCI devices
without _also_ honoring the firmware configured IO port regions for the
devices it just enabled. Thus, when ACPI use the DTST to also map the
same IO ports regions that obviously assume the default firmware value,
ACPI fails.
Current victimcs are :
- Asus L3C, L5C users,
- Probably any user of pci quirk.c code that enables the SMbus...
On the L3C at least, the code to enable the SMBus works perfectly, the
firmware configured value for the IO region is coherent with what the
DTST contains but the PCI code change PCI configuration space default
value and thus breaks ACPI...
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette@free.fr
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [ACPI] Re: 2.6.8.1-mm1 hangs on boot with ACPI
@ 2004-08-19 13:54 Li, Shaohua
2004-08-19 14:12 ` Karol Kozimor
0 siblings, 1 reply; 7+ messages in thread
From: Li, Shaohua @ 2004-08-19 13:54 UTC (permalink / raw)
To: eric.valette
Cc: Brown, Len, Pontus Fuchs, Greg KH, Linux Kernel Mailing List,
acpi-devel
>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
>owner@vger.kernel.org] On Behalf Of Eric Valette
>Sent: Thursday, August 19, 2004 8:36 PM
>To: Pontus Fuchs; greg@kroah.com
>Cc: Brown, Len; linux-kernel@vger.kernel.org; ACPI Developers
>Subject: Re: [ACPI] Re: 2.6.8.1-mm1 hangs on boot with ACPI
>
>Pontus Fuchs wrote:
>> On Thu, 2004-08-19 at 08:49, Len Brown wrote:
>>
>>>On Tue, 2004-08-17 at 04:55, Pontus Fuchs wrote:
>>>
>>>>Hi,
>>>>
>>>>After upgrading to 2.6.8.1-mm1 from plain 2.6.8.1 my machine does
not
>>>>boot anymore. The last message i see is:
>>>>
>>>>ACPI: Processor [CPU0] (supports C1,C2,C3, 8 throttling states)
>>>>
>>>>In plain 2.6.8.1 the next messages would be:
>>>>
>>>>ACPI: Thermal Zone [THRM] (52 C)
>>>>Console: switching to colour frame buffer device 175x65
>>>>Linux agpgart interface v0.100 (c) Dave Jones
>>>>agpgart: Detected SiS 648 chipset
>>>>
>>>>Booting with acpi=off works fine. I have also tried pci=routeirq but
>>>>it
>>>>does not make any difference.
>>>>
>>>>The machine is an Asus L5c laptop.
>>>
>>>Please try booting with "pci=routeirq"
>>>If that doesn't work, please take stock 2.6.8.1 and apply the latest
>>>patch here:
>>>http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/relea
se/2
>.6.8/
>>>and give it a go.
>>>
>>>This will bring your kernel up to the same ACPI patch that is in the
-mm
>>>tree, but without all the other stuff in the mm tree.
>>>
>>>If it fails, then ACPI broke. If it works, then something in -mm
broke
>>>ACPI.
>>
>>
>> Hi,
>>
>> I found this another Asus laptop with intel chipset which also has
>> problems with the latest ACPI code, and I tried the same trick on my
>> machine, and now the machine boots again!
>>
>> http://bugme.osdl.org/show_bug.cgi?id=3191
>>
>> I have no clue what I'm actually doing so please don't consider the
>> patch a fix for the problem, but rather a way do show how to make the
>> symptom go away.
>>
>> --- quirks.c.bak 2004-08-19 13:25:23.000000000 +0200
>> +++ quirks.c 2004-08-19 13:25:47.000000000 +0200
>> @@ -756,11 +756,13 @@
>> */
>> static void __init quirk_sis_96x_smbus(struct pci_dev *dev)
>> {
>> +/*
>> u8 val = 0;
>> printk(KERN_INFO "Enabling SiS 96x SMBus.\n");
>> pci_read_config_byte(dev, 0x77, &val);
>> pci_write_config_byte(dev, 0x77, val & ~0x10);
>> pci_read_config_byte(dev, 0x77, &val);
>> +*/
>> }
>
>Well the problem is not really in the ACPI code, but rather in the PCI
>code that tries to inconditionnaly enable SMBus and thus PCI devices
>without _also_ honoring the firmware configured IO port regions for the
>devices it just enabled. Thus, when ACPI use the DTST to also map the
>same IO ports regions that obviously assume the default firmware
value,
>ACPI fails.
>
>Current victimcs are :
> - Asus L3C, L5C users,
> - Probably any user of pci quirk.c code that enables the
SMbus...
>
>On the L3C at least, the code to enable the SMBus works perfectly, the
>firmware configured value for the IO region is coherent with what the
>DTST contains but the PCI code change PCI configuration space default
>value and thus breaks ACPI...
Eric,
Why this breaks ACPI? ACPI just try to reserve the IO port declared in
DSDT (ACPI itself doesn't use the io ports), but if the attempt failed,
it doesn't matter. Eric, why the code change the default IO ports in
SMBus? It seems just to enable it to me.
Thanks,
Shaohua
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [ACPI] Re: 2.6.8.1-mm1 hangs on boot with ACPI
2004-08-19 13:54 Li, Shaohua
@ 2004-08-19 14:12 ` Karol Kozimor
0 siblings, 0 replies; 7+ messages in thread
From: Karol Kozimor @ 2004-08-19 14:12 UTC (permalink / raw)
To: linux-kernel
Cc: Li, Shaohua, eric.valette, Brown, Len, Pontus Fuchs, Greg KH,
acpi-devel
On Thursday 19 of August 2004 15:54, Li, Shaohua wrote:
> Why this breaks ACPI? ACPI just try to reserve the IO port declared in
> DSDT (ACPI itself doesn't use the io ports), but if the attempt failed,
_TMP indirectly tries (and fails) to access HSTS field which is in the
reserved region. Furthermore, the loop in the HBSY method that gets
referenced keeps kacpid very busy during (possibly) thermal interrupt
handling, thus increasing the system load and temperature, and in turn,
the frequency of thermal notifies.
Best regards,
--
Karol 'sziwan' Kozimor
sziwan@hell.org.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-19 14:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <566B962EB122634D86E6EE29E83DD808182C35CE@hdsmsx403.hd.intel.com>
2004-08-19 6:49 ` 2.6.8.1-mm1 hangs on boot with ACPI Len Brown
2004-08-19 8:10 ` Pontus Fuchs
2004-08-19 8:26 ` [ACPI] " Eric Valette
2004-08-19 11:43 ` Pontus Fuchs
2004-08-19 12:35 ` [ACPI] " Eric Valette
2004-08-19 13:54 Li, Shaohua
2004-08-19 14:12 ` Karol Kozimor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox