Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 12:05:46 -0800
From:      Nate Lawson <nate@root.org>
To:        Adam K Kirchhoff <adamk@voicenet.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Laptop troubles...
Message-ID:  <41990C1A.60802@root.org>
In-Reply-To: <41990786.2070604@voicenet.com>
References:  <41910F00.3070402@voicenet.com> <419113BA.9000806@root.org> <41911D01.1090303@voicenet.com> <4191201A.4080406@root.org> <4191330A.7040707@voicenet.com> <41913F15.9060701@root.org> <419145A7.3000406@voicenet.com> <41914DCC.8000100@root.org> <20041112181038.GK31422@poupinou.org> <4198EDCD.8070306@root.org> <41990786.2070604@voicenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam K Kirchhoff wrote:
> Nate Lawson wrote:
>> Bruno Ducrot wrote:
>>> C3 support with a PIIX4 southbridge is buggy as hell and
>>> should be disabled no matter what.
>>
>>
>> Right, thanks for the reminder.  I actually have quirk code to do this 
>> but it wasn't enabled since I wanted to find an actual test case 
>> before turning it on.  Adam, please recompile with the attached 
>> patch.  Also, send me pciconf -l.  The patch will disable C3 and you 
>> should only get C1/C2 if your system is truly a PIIX4.
> 
> With that patch, I still have the option of setting C3.  And, if I do, I 
> get the lockups.  I'm attaching the output of pciconf -l.

I'll need to figure out what's wrong with the acpi_cpu_quirks() function 
then.  You definitely have the hardware I'm checking for (in particular, 
the 4M chipset):

none0@pci0:7:3:	class=0x068000 card=0x00000000 chip=0x71138086 rev=0x03

I think the problem is that acpi_cpu_quirks() is run before PCI has been 
initialized or that device created.  I'll change the patch to run the 
quirks late in the boot and see if that fixes things.  It's not 
completely easy because it will have to properly clean up states >= C3 
after they have probed, but I know what needs to be done.

Thanks,
-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41990C1A.60802>