|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-bugs
[Xen-bugs] [Bug 393] dom0 OpenIPMI driver neither finds nor	initializes  
| http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=393
------- Additional Comments From aball@xxxxxxxxxx  2005-11-14 23:48 -------
I have a possible patch here:
diff -r 995e94c4802e linux-2.6-xen-sparse/include/asm-xen/asm-i386/io.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-i386/io.h        Fri Nov 11
18:11:13 2005
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-i386/io.h        Mon Nov 14
14:12:50 2005
@@ -228,7 +228,7 @@
  * used as the IO-area pointer (it can be iounmapped as well, so the
  * analogy with PCI is quite large):
  */
-#define __ISA_IO_base ((char __iomem *)(PAGE_OFFSET))
+#define __ISA_IO_base ((char __iomem *)(fix_to_virt(FIX_ISAMAP_BEGIN)))
 #define isa_readb(a) readb(__ISA_IO_base + (a))
 #define isa_readw(a) readw(__ISA_IO_base + (a))
diff -r 995e94c4802e linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h      Fri Nov 11
18:11:13 2005
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h      Mon Nov 14
14:12:50 2005
@@ -298,7 +298,7 @@
  * used as the IO-area pointer (it can be iounmapped as well, so the
  * analogy with PCI is quite large):
  */
-#define __ISA_IO_base ((char __iomem *)(PAGE_OFFSET))
+#define __ISA_IO_base ((char __iomem *)(fix_to_virt(FIX_ISAMAP_BEGIN)))
 #define isa_readb(a) readb(__ISA_IO_base + (a))
 #define isa_readw(a) readw(__ISA_IO_base + (a))
I'm still running it through xm-test to check for regression.  I see 9 failures
with this on i386 and x86_64 with changeset 7793, so any other
testing/explanations would be helpful.  Here are the failures that I see:
anball          Device is not actually attached to domU
anball  FAIL: 05_block_attach_and_dettach_device_repeatedly_pos
anball          Failed to attach block device /proc/partitions does not show 
that!
anball  FAIL: 09_block_attach_and_dettach_device_check_data_pos
anball          Failed to attach block device /proc/partitions does not show 
that!
anball  FAIL: 04_memset_smallmem_pos
anball          Timed out waiting for console
anball  FAIL: 01_vcpu-disable_basic_pos
anball          failed to disable VCPU1
anball  FAIL: 01_save_basic_pos
anball          save command exited 256 != 0
anball  FAIL: 01_restore_basic_pos
anball          save command exited 256 != 0
anball  FAIL: 04_restore_withdevices_pos
anball          xm save exited with 256 != 0
anball  FAIL: 01_migrate_localhost_pos
anball          xm migrate returned invalid 256 != 0
-- 
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
 | 
 |  | 
  
    |  |  |