Re: acpi_memhotplug driver is not working for me. Any ideas?

keith
2005-11-11T02:45:35Z

On Mon, 2005-11-07 at 13:44 -0800, keith wrote:
> Hello,
> I have recently acquired an IBM x460 to work with. The hardware is
> completing it's hot add memory event just fine but the acpi code is
> retuning errors. (I implemented some stub functions the acpi code
> expects the arch to have)
>

Ok I have found out more.

The current driver is pretty complex perhaps too complex for my acpi
hardware event. The current event handler calls acpi_memory_get_device
which presently fails.

My event resource contains the ACPI_MEMORY_RANGE with the value of the
memory range that is hot-added. It seem like I have enough information
to call add_memory.

acpi_bus_get_device
acpi_get_parent
acpi_bus_get_device

are generic acpi functions that fail for my event. Can someone please
explain what these are all about. (Really I don't understand the acpi
API this handler was coded too.) I assume it is trying align itself to
a bus and parent but there really isn't a bus in this case and I don't
have any idea what the parent would be. My SSDT doesn't really layout
any such relationships so I don't think the memory driver should require
them.
I am working on a minimalisic event driver that works for my hardware
and will hopefully post code tomorrow sometime.

Thanks,
Keith Mannthey
LTC xSeries

--
keith <kmannth-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php