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

Re: [XenPPC] [xenppc-unstable] [POWERPC] fixed bad swap of console and stoe event channels



I cannot how embarrassed I am by this.
watching evtchn's fly everywhere seen the wrong one get delivered and the right one go no where and the whole time I was swapping the 2 channels.

anyway, using the two files from:
http://lists.xensource.com/archives/html/xen-ppc-devel/2006-08/ msg00006.html

Using the command:
  $ xm create -c dom1
you should be able to boot a DomU and see its output, all the way until it says it cannot find its rootfs.

Here is some output

NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
ebt_ulog: not logging via ulog since somebody else already registered for PF_BRIDGE
802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
All bugs added by David S. Miller <davem@xxxxxxxxxx>
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
Please append a correct "root=" boot option

and then you should panic. :)

I have a call to BUG() in my kernel so I can make sure I can interract with xmon, and I can :)

kernel BUG in mount_block_root at /home/jimix/work/xen/linux/ linux-2.6/init/do_mounts.c:310!
cpu 0x0: Vector: 700 (Program Check) at [c000000003fc3ad0]
    pc: c000000000551f20: .mount_block_root+0x120/0x2b0
    lr: c000000000551f1c: .mount_block_root+0x11c/0x2b0
    sp: c000000003fc3d50
   msr: 8000000000029032
  current = 0xc00000000101d7a0
  paca    = 0xc00000000059b100
    pid   = 1, comm = swapper
kernel BUG in mount_block_root at /home/jimix/work/xen/linux/ linux-2.6/init/do_mounts.c:310!
enter ? for help
0:mon> ?
Commands:
  A     Get the attention of the hardware probe, assuming you have one
  b     show breakpoints
  bd    set data breakpoint
  bi    set instruction breakpoint
[...]
  ?     help
  zr    reboot
  zh    halt
0:mon> t
[c000000003fc3e20] c000000000552308 .prepare_namespace+0xd8/0x1b0
[c000000003fc3eb0] c000000000009640 .init+0x3d0/0x430
[c000000003fc3f90] c0000000000290f4 .kernel_thread+0x4c/0x68
0:mon>

-JX


On Aug 4, 2006, at 5:31 PM, Xen patchbot-xenppc-unstable wrote:

# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID f46a34f4dea16dc107404aec8fbabc007506fe65
# Parent  5ecfc7102ccae3252062f685c12e249bbd272fdb
[POWERPC] fixed bad swap of console and stoe event channels

Nothing to say except "Sorry!" :(

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 tools/libxc/xc_ppc_linux_build.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 5ecfc7102cca -r f46a34f4dea1 tools/libxc/xc_ppc_linux_build.c
--- a/tools/libxc/xc_ppc_linux_build.c  Tue Aug 01 16:51:03 2006 -0400
+++ b/tools/libxc/xc_ppc_linux_build.c  Fri Aug 04 17:25:29 2006 -0400
@@ -394,7 +394,7 @@ int xc_linux_build(int xc_handle,
         dtb_addr = 0;
     }

-    si_addr = create_start_info(&si, store_evtchn, console_evtchn);
+    si_addr = create_start_info(&si, console_evtchn, store_evtchn);
     *console_mfn = page_array[si.console_mfn];
     *store_mfn = page_array[si.store_mfn];


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


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


 


Rackspace

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