Re: [Linux-ia64] kernel update (relative to 2.4.13)

From: David Mosberger <davidm_at_hpl.hp.com>
Date: 2001-11-06 12:23:08
>>>>> On Thu, 1 Nov 2001 17:35:01 -0800, William Lee Irwin III <wli@holomorphy.com> said:

  Bill> According to my analysis this is due to acpi_os_map_memory()
  Bill> attempting to use the results of virt_to_page() prior to
  Bill> paging_init(), where virt_to_page() attempts to index off of
  Bill> mem_map (which is not yet initialized) and access the contents
  Bill> of the struct page from there (which leads to an invalid
  Bill> pointer dereference or returns garbage).

  Bill> The following check in acpi_os_map_memory() (in
  Bill> drivers/acpi/os.c) was introduced somewhere after 2.4.5, and
  Bill> (IMHO) should be omitted:

  Bill>     if ((unsigned long) phys < virt_to_phys(high_memory)) {
  Bill> struct page *page; *virt = phys_to_virt((unsigned long) phys);

You're probably right.  Jung-Ik, can you make this change and send me
a patch?

	--david
Received on Mon Nov 05 17:23:11 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST