[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 393] dom0 OpenIPMI driver neither finds nor initializes BMC



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=393





------- Additional Comments From aball@xxxxxxxxxx  2005-11-14 04:55 -------
The code that's trying to read memory at physical addresses 0xf0000-0xfffff is
in linux-2.6.12-xen0/drivers/char/ipmi/ipmi_si_intf.c .

In a dom0 Linux kernel, the call to isa_memcpy_fromio() in this file does not
actually read all 0's from the memory region 0xf0000-0xfffff as I originally
thought.  It does not, however, read the memory at physical addresses
0xf0000-0xfffff either.  A quick check of the first 16 bytes starting at address
0xf0000 read via isa_memcpy_fromio() in the kernel and read via mmap() on
/dev/mem in userspace confirm this.

If I change dmi_decode() to use the same method of reading memory as dmi_table()
uses, dmi_decode() reads the correct portion of memory and the ipmi_si module
loads correctly.

Why does isa_memcpy_fromio() behave differently on dom0 than on a regular Linux
2.6.12.6 kernel?  Can isa_memcpy_fromio() be made to behave as the ipmi_si
module expects it to without breaking other parts of the kernel?

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.