Power Patches
John Baldwin
jhb at FreeBSD.org
Mon Jan 5 14:29:57 PST 2004
On 04-Jan-2004 Nate Lawson wrote:
> I get a panic on my T23 due to the ATA driver not being detected so no
> rootvp. Attached are dmesg both before and after the patch. The cbb0
> issue is a regression since I have specified it to use an unused IO range
> via this tunable (the same range Windows uses):
>
> hw.cbb.start_memory=0xc0203000
>
> I commented out that tunable while testing the power kernel.
>
> One thing you should fix is calling the acpi set methods with a NULL
> pointer:
>
> pci2: Failed to set ACPI power state D3 on (null): AE_BAD_PARAMETER
>
> You should probably just skip the call to the acpi set power state if it's
> null.
Well, see, I'm not sure yet what pointer is null. That is the output
of acpi_name() on a handle. It would help to know what bus/device/func
that is and if your ASL has a correspondnig device in the tree or not.
It may be that acpi_handle() is returning NULL and in that case I guess
we should just not try to adjust ACPI power resources/_PSx but just
stick to the pci powerstate stuff. If you could verify what is actually
NULL that could help however.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the freebsd-hackers
mailing list