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/
Home Products Support Community News


Re: [XenPPC] [xenppc-unstable] [POWERPC] fixed bad swap of console and s

To: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [XenPPC] [xenppc-unstable] [POWERPC] fixed bad swap of console and stoe event channels
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Fri, 4 Aug 2006 20:47:50 -0400
Delivery-date: Fri, 04 Aug 2006 17:48:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1G97GH-0005zh-BW@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1G97GH-0005zh-BW@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
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> ?
  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


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 mailing list

<Prev in Thread] Current Thread [Next in Thread>