WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 393] dom0 OpenIPMI driver neither finds nor initializes BMC
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 14 Nov 2005 04:55:45 +0000
Delivery-date: Mon, 14 Nov 2005 04:55:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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