Re: [XenPPC] [PATCH] Fix Xen-GDB Stub (smp_sen_stop, E00 on unknown command, remove printk prefix)

2007-05-04 Thread Tony Breeds
On Wed, Apr 18, 2007 at 09:04:08AM +0200, Christian Ehrhardt wrote: [XEN][POWERPC] Fix Xen-GDB Stub (smp_sen_stop, E00 on unknown command, remove printk prefix) - Remove BUG() from smp_stop_all(), common code changes added a call to this - changed to unimplemented(). - remove the printk

[XenPPC] [RFC][PATCH] 2/5] [POWERPC] Use the PFN decoration for the xentrace page(s).

2006-11-23 Thread Tony Breeds
Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- xen/arch/powerpc/mm.c | 10 +- xen/common/trace.c| 13 + 2 files changed, 18 insertions(+), 5 deletions(-) Index: xenppc-unstable.hg.working/xen/common/trace.c

[XenPPC] [RFC][PATCH] 3/5] [XEN] Use explicit bit sized fields for exported xentrace data.

2006-11-23 Thread Tony Breeds
Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- xen/common/trace.c |6 +++--- xen/include/public/trace.h |2 +- xen/include/xen/trace.h| 14 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) Index: xenppc-unstable.hg.working/xen/common/trace.c

[XenPPC] [RFC][PATCH] 0/5] Support xentrace on PPC, and update tools to work regardless of endian/wordsize.

2006-11-23 Thread Tony Breeds
Hello All, This series of patches gets xentrace working on PPC. Clearly the first 2 patches are PPC specific, but the last 3 are xen-devel material. Essentially the patches do: 1. Introduce a #define for decorating xenheap(and htab) pages. 2. Wire up xentrace and use the pfn

[XenPPC] [RFC][PATCH] 4/5] [TOOLS][XENTRACE] Update tools to write data to disk in a known endian'ness.

2006-11-23 Thread Tony Breeds
Use network byte order when writing data to disk, making the data portable to any machine. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xentrace/xentrace.c | 47 ++--- tools/xentrace/xentrace_format |7 +++--- 2 files changed, 44

[XenPPC] [RFC][PATCH] 1/5] [POWERPC] Introduce a PFN decoration.

2006-11-23 Thread Tony Breeds
This bit can be OR'ed into a MFN, to allow dom0 to map it. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- xen/arch/powerpc/mm.c|5 - xen/include/asm-powerpc/mm.h |3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) Index: xenppc-unstable.hg.working/xen/arch/powerpc

[XenPPC] [RFC][PATCH] 5/5] [TOOLS][XENTRACE] Various tidyups to xentrace tools.

2006-11-23 Thread Tony Breeds
- use err/errx/warn, instead of PERROR, perror and fprintf - Match () place ment consistent in this files - Use consistent tabs and whitespacing. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xentrace/xentrace.c | 137 ++--- tools/xentrace

[XenPPC] FWD: [Xen-devel] Xentrace supported platforms.

2006-11-16 Thread Tony Breeds
FYI, I stuffed up the CC line, and missed this list. - Forwarded message from Tony Breeds [EMAIL PROTECTED] - To: Xen-Devel [EMAIL PROTECTED], Mark Williamson [EMAIL PROTECTED], Rob Gardner [EMAIL PROTECTED] From: Tony Breeds [EMAIL PROTECTED] Subject: [Xen-devel

[XenPPC] Re: [Xen-devel] Re: Xentrace supported platforms.

2006-11-16 Thread Tony Breeds
On Fri, Nov 17, 2006 at 02:01:02PM +0900, Atsushi SAKAI wrote: Hello, Rob and Tony I am using xentrace in IA64 environment. It works fine. What is your problem? Essentially it boiled down to the use of unsigned long in the t_rec structure. When trying to write the data to disk

[XenPPC] Re: [Xen-devel] Re: Xentrace supported platforms.

2006-11-16 Thread Tony Breeds
On Thu, Nov 16, 2006 at 09:55:40PM -0700, Rob Gardner wrote: In the dim past, xentrace/xenmon had been tested on amd64 and IA64, but I don't know if anyone is using it on those platforms. If you have fixes that would work on all platforms, then by all means you should share them.

Re: [XenPPC] Xen says Linux dom0 is not a Xen-compatible Elf image

2006-11-12 Thread Tony Breeds
On Sun, Nov 12, 2006 at 02:14:54PM -0500, Mark F Mergen wrote: I was current with linux-ppc-2.6.hg and xenppc-unstable.hg as of about Thursday and my noHV systems were woking fine. This weekend, I pulled changes from both trees and rebuilt everything. Now, I get the following error during

[XenPPC] Remapping xenheap pages into dom0.

2006-11-12 Thread Tony Breeds
Howdy all, I'm having problems getting what should be a reasonably fundamental operation working. I have a set of xenheap pages that I'm initialising and then attempting to map in to dom0 (This is for hcall tracing [ xen/common/trace.c ]) If I dump that pages (or parts thereof) from xen

Re: [XenPPC] [linux-ppc-2.6] [XEN] The VIO rewrite

2006-11-05 Thread Tony Breeds
On Fri, Nov 03, 2006 at 10:02:41PM +, Xen patchbot-linux-ppc-2.6 wrote: # HG changeset patch # User Jimi Xenidis [EMAIL PROTECTED] # Node ID 2a9c6a23cd1292e9ed361e33d640ce84a6fbdb53 # Parent f4d382795e57b926cd82256bcb3a74c539731796 [XEN] The VIO rewrite Once you figure it all out, its

[XenPPC] [PATCH 2/3][TOOLS][XM-TEST] Add xvd devices to the initrd

2006-10-30 Thread Tony Breeds
Add xvd devices to the initrd. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/patches/buildroot/add_xvd_devices.patch | 13 ++ 1 file changed, 13 insertions(+) --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/tools/xm-test/ramdisk/patches/buildroot

[XenPPC] [PATCH 0/3][TOOLS][XM-TEST] Update block tests to use xvd rather than SCSI or IDE

2006-10-30 Thread Tony Breeds
) bumps the version number of xm-test to 1.1, as these new block tests will certainly fail with older initrd's due to the lack of xvd device nodes in the initrd. I've tested these patches with no regressions on x86, and a number of improvements on PPC. Signed-off-by: Tony Breeds [EMAIL PROTECTED

[XenPPC] [PATCH 3/3][TOOLS][XM-TEST] Bump xm-test version to 1.1 to accommodate new devices

2006-10-30 Thread Tony Breeds
Bump xm-test version to 1.1 to accommodate new devices. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/configure.ac|2 tools/xm-test/ramdisk/README-XenSource-initrd-1.1-img | 45 ++ 2 files changed, 46 insertions(+), 1 deletion

[XenPPC] [PATCH 1/3][TOOLS][XM-TEST] Update all block tests to use the Xen Virtual Block Device (xvd) rather than IDE or SCSI

2006-10-30 Thread Tony Breeds
Update all block tests to use the Xen Virtual Block Device (xvd) rather than IDE or SCSI. This patch also modifies 09_block_attach_and_dettach_device_check_data_pos.py to force / to be read-write otherwise the mkdir fails. Also Whistspace cleanups. Signed-off-by: Tony Breeds [EMAIL PROTECTED

[XenPPC] Re: [Xen-devel] [PATCH 10/10][TOOLS][XM-TEST] Fix Memory assumptions in the create tests

2006-10-30 Thread Tony Breeds
On Tue, Oct 24, 2006 at 02:54:16PM +0100, Ewan Mellor wrote: OK, I've taken the most of the patch, but with the 16MiB low limit left in. What's this bit though (I haven't taken this yet)? Hi Ewan, What are the outstanding issues with this patch? I'm keen to get it merged if you're

Re: [XenPPC] Re: 2 questions of creating domU

2006-10-26 Thread Tony Breeds
On Wed, Oct 25, 2006 at 10:38:46AM -0400, Jimi Xenidis wrote: this just works in my local disk environment and I'm pretty sure othe local disk environments work as well. Hollis, Tony are you able to create domain that have net access? Yes. On my JS20 I was able to create a domU (called

Re: [XenPPC] Re: 2 questions of creating domU

2006-10-26 Thread Tony Breeds
On Thu, Oct 26, 2006 at 02:11:54AM -0400, Hao Yu wrote: Hi Tony, Thanks for the info. I followed your steps and basically got the same thing: Hi Hao, You're up late (or early). 1. I got rid of the line : vif = [ '' ] , created a domain (id=8) 2. I issued xm network-attach 8,

[XenPPC] [PATCH][TOOLS][XM-TEST] Force BR_URL decison into final Makefile.

2006-10-25 Thread Tony Breeds
BR_SNAPSHOT else BR_URL ?= http://xm-test.xensource.com/ramdisks/buildroot-20061023.tar.bz2 endif Which meant that BR_URL was always getting http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2; Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- Makefile.am |4

[XenPPC] [RFC] Re: [Xen-devel] Status of xvd and problems with sd.

2006-10-25 Thread Tony Breeds
On Wed, Oct 25, 2006 at 02:45:36PM +1000, Tony Breeds wrote: Cool. I'll tackle this. I expect we'll neeed to create some extra device nodes (/dev/xvd*) in the initrd so we may need to bump the xm-test version to 1.1 when this goes in to make sure everything stays in sync. The following

[XenPPC] Re: [Xen-devel] [PATCH 10/10][TOOLS][XM-TEST] Fix Memory assumptions in the create tests

2006-10-24 Thread Tony Breeds
On Tue, Oct 24, 2006 at 02:54:16PM +0100, Ewan Mellor wrote: OK, I've taken the most of the patch, but with the 16MiB low limit left in. Great. What's this bit though (I haven't taken this yet)? Essentially the XenDomain class does not respect the arch defaults where as XmTestDomain does.

[XenPPC] Re: [Xen-devel] Status of xvd and problems with sd.

2006-10-24 Thread Tony Breeds
On Tue, Oct 24, 2006 at 04:43:30PM +0100, Ewan Mellor wrote: On Tue, Oct 24, 2006 at 11:18:48AM -0400, Jeremy Katz wrote: On Tue, 2006-10-24 at 15:28 +0100, Ewan Mellor wrote: If you would like to do the work to switch xm-test over to use xvd, that would be greatly appreciated. xvd

[XenPPC] Re: [Xen-devel] [PATCH 10/10][TOOLS][XM-TEST] Fix Memory assumptions in the create tests

2006-10-23 Thread Tony Breeds
On Mon, Oct 23, 2006 at 11:55:22AM +0100, Ewan Mellor wrote: I'm not convinced by this one. Just because 32 MiB is known to be safe, that doesn't mean that 31 MiB will cause the domain to crash. The 16 MiB value is deliberately _far_ too small, so that the OOM killer kicks in, and the

Re: [Xen-devel] Re: [XenPPC] [PATCH 0/10][TOOLS][XM-TEST] [v3] Update xm-test to support new architectures

2006-10-23 Thread Tony Breeds
On Mon, Oct 23, 2006 at 11:48:54AM +0100, Ewan Mellor wrote: Patches 3 - 9 look OK. Rather than take 1 and 2 directly,?I've reworked that bit of the build system as we discussed, so that xm-test.xensource.com will host a known-good version of the buildroot source. Great. I included them

Re: [XenPPC] [PATCH 0/10][TOOLS][XM-TEST] [v3] Update xm-test to support new architectures

2006-10-22 Thread Tony Breeds
On Fri, Oct 20, 2006 at 01:19:55PM +1000, Tony Breeds wrote: Hi All, These patches update the xm-test code to be more easily portable to new architecture. This focus of this endeavor is PPC but I believe that IA64 also benefits. Hi Ewan, Any feedback on these patches

[XenPPC] [PATCH 3/10][TOOLS][XM-TEST] Rename buildroot - buildroot-i386

2006-10-20 Thread Tony Breeds
Rename buildroot - buildroot-i386. Also update Makefile. After patch Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/Makefile.am|2 tools/xm-test/ramdisk/configs/buildroot | 330 --- tools/xm-test/ramdisk/configs/buildroot-i386 | 330

[XenPPC] [PATCH 1/10][TOOLS][XM-TEST] Update to use uClibc buildroot-snapshot

2006-10-20 Thread Tony Breeds
Update to use uClibc buildroot-snapshot. Dated file no longer exists on upstream server. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/Makefile.am |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/tools/xm-test/ramdisk/Makefile.am Tue Oct 17 19:04:46 2006

[XenPPC] [PATCH 7/10][TOOLS][XM-TEST] Add ability to inspect messages from domain for arbitrary strings

2006-10-20 Thread Tony Breeds
Add ability to inspect messages from domain for arbitrary strings. Used on PowerPC to FAIL(), if the guest domain hits a BUG() and enters XMON. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/Console.py |5 + tools/xm-test/lib/XmTestLib/arch.py| 20

[XenPPC] [PATCH 4/10][TOOLS][XM-TEST] Update .hgignore to remove artifacts of ramdisk build

2006-10-20 Thread Tony Breeds
Update .hgignore to remove artifacts of ramdisk build. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- .hgignore |9 + 1 file changed, 9 insertions(+) --- a/.hgignore Thu Oct 19 11:57:00 2006 +1000 +++ b/.hgignore Thu Oct 19 11:57:29 2006 +1000 @@ -184,6 +184,15 @@ ^tools/xentrace

[XenPPC] [PATCH 8/10][TOOLS][XM-TEST] Ignore generated .test files

2006-10-20 Thread Tony Breeds
Ignore generated .test files. Signed-off-by: Jimi Xenidis [EMAIL PROTECTED] Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- .hgignore |1 + 1 file changed, 1 insertion(+) --- a/.hgignore Thu Oct 19 12:09:21 2006 +1000 +++ b/.hgignore Thu Oct 19 12:14:50 2006 +1000 @@ -193,6 +193,7

[XenPPC] [PATCH 6/10][TOOLS][XM-TEST] Add configuration data for powerpc

2006-10-19 Thread Tony Breeds
Add configuration data for powerpc. Allows for building of initrd, and running of tests. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/arch.py | 26 + tools/xm-test/lib/XmTestReport/arch.py |6 tools/xm-test/ramdisk/Makefile.am

[XenPPC] [PATCH 5/10][TOOLS][XM-TEST] Refactor code to encapsulate architecture decisions in one place

2006-10-19 Thread Tony Breeds
Refactor code to encapsulate architecture decisions in one place. Also includes some whitespace fixes. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/XenDomain.py | 73 +++ tools/xm-test/lib/XmTestLib/arch.py| 102 + tools

[XenPPC] [PATCH 9/10][TOOLS][XM-TEST] Default to appending to extra in XenConfig

2006-10-19 Thread Tony Breeds
Default to appending to extra in XenConfig. PowerPC needs console information from the command line. Resetting the whole command line causes false failures. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/XenDomain.py |3 +++ 1 file changed, 3 insertions

[XenPPC] [PATCH 0/10][TOOLS][XM-TEST] [v3] Update xm-test to support new architectures

2006-10-19 Thread Tony Breeds
./autogen ./configure cd ramdisk make BR_ARCH=powerpc -=-=- As discussed previously it'd be great if an initrd and buildroot tarball could be hosted on xensource. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- .hgignore | 10 tools/xm-test/lib

[XenPPC] [PATCH 10/10][TOOLS][XM-TEST] Fix Memory assumptions in the create tests

2006-10-19 Thread Tony Breeds
Fix Memory assumptions in the create tests. Use the architecture specified idea of minimum memory. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/tests/create/11_create_concurrent_pos.py|2 - tools/xm-test/tests/create/12_create_concurrent_stress_pos.py | 11

[XenPPC] [PATCH 2/10][TOOLS][XM-TEST] Remove hard coded reference to i386

2006-10-19 Thread Tony Breeds
Remove hard coded reference to i386. In preparation for other architectures. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/Makefile.am |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/tools/xm-test/ramdisk/Makefile.am Thu Oct 19 11:54:43 2006 +1000

[XenPPC] [PATCH] Fix build breakage in powerpc64/xc_linux_build.c

2006-10-17 Thread Tony Breeds
(for consistency) and start_info - si (in load_devtree beuse of the renaming above) Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/libxc/powerpc64/xc_linux_build.c | 59 - 1 file changed, 30 insertions(+), 29 deletions(-) --- diff -r a1fdeb2c6d77 tools/libxc

[XenPPC] [PATCH linux.hg] fix typo in HYPERVISOR_memory_op()

2006-10-05 Thread Tony Breeds
Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- arch/powerpc/platforms/xen/hcall.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff -r 933613959bf6 arch/powerpc/platforms/xen/hcall.c --- a/arch/powerpc/platforms/xen/hcall.cWed Oct 04 11:20:16 2006 -0400 +++ b/arch

[XenPPC] [PATCH] Teach xm-test about Xmon.

2006-10-04 Thread Tony Breeds
If using a kernel with xmon enabled, when triggering a BUG() we enter xmon. This effectively stalls the xm-tests process. This patch teaches xm-test to recognise the xmon prompt and FAIL the test. This patch requires applies on top of my previous xm-test patches Signed-off-by: Tony Breeds

Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Tony Breeds
On Wed, Oct 04, 2006 at 07:36:08AM -0400, Jimi Xenidis wrote: I think hollis nailed correctly, does it work for everyone? Works for me. Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2007.linux.org.au/ Jan 15-20 2007 The Australian Linux Technical Conference!

Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Tony Breeds
On Wed, Oct 04, 2006 at 11:57:45PM -0400, Amos Waterland wrote: Did you try building with debug=y, then with debug=n, with no intervening `make clean'? Yup. [EMAIL PROTECTED]:~/Xen/xenppc-unstable.hg.working$ history | egrep dist-xen snip Older stuff 562 make clean; PATH=/usr/bin:/bin

[PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-03 Thread Tony Breeds
your patch. I came accross the same probelm with a clean build. The patch below fixes it for me. Reorder includes to help the complier and avoid redundat definition of __trap_to_gdb. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- xen/arch/powerpc/gdbstub.c |2 +- 1 file changed, 1

[XenPPC] xm-test can panic Xen on JS20

2006-10-02 Thread Tony Breeds
Hi All, I've just opened bug 787[1] for tracking down this problem. Quoting from my bug report: == When running create/13_create_multinic_pos.test xen will panic as it calls guest_physmap_remove_page(). --- (XEN)

[XenPPC] Re: [Xen-devel] [PATCH 0/6][TOOLS][XM-TEST] Update xm-test to support new architectures

2006-10-01 Thread Tony Breeds
On Fri, Sep 29, 2006 at 08:56:54PM +1100, Tony Breeds wrote: Hi All, These patches update the xm-test code to be more easily portable to new architecture. This focus od this endevour is PPC but I believe that IA64 also benifits. snip By way of a quick status report. With all thee

[XenPPC] [PATCH 4/6][TOOLS][XM-TEST] Update .hgignore to remove artifacts of ramdisk build

2006-09-30 Thread Tony Breeds
Update .hgignore to remove artifacts of ramdisk build. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- .hgignore |9 + 1 file changed, 9 insertions(+) diff -r 76cd9324d142 -r 8fd3e1ce2f9f .hgignore --- a/.hgignore Fri Sep 29 15:54:43 2006 +1000 +++ b/.hgignore Fri Sep 29 15:57:28

[XenPPC] [PATCH 1/6][TOOLS][XM-TEST] Update to use uClib buildroot-snapshot

2006-09-30 Thread Tony Breeds
Update to use uClib buildroot-snapshot. Dated file no longer exists on upstream server. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/Makefile.am |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -r 500043f8ccff -r 3207a28bb29d tools/xm-test/ramdisk

[XenPPC] [PATCH 2/6][TOOLS][XM-TEST] Remove hard coded reference to i386

2006-09-30 Thread Tony Breeds
Remove hard coded reference to i386. In preperation for other architectures. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/ramdisk/Makefile.am |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff -r 3207a28bb29d -r 5017ce424246 tools/xm-test/ramdisk/Makefile.am

[XenPPC] [PATCH 6/6][TOOLS][XM-TEST] Add configuration data for powerpc

2006-09-30 Thread Tony Breeds
Add configuration data for powerpc. Allows for building of initrd, and running of tests. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/arch.py | 30 + tools/xm-test/lib/XmTestReport/arch.py |6 tools/xm-test/ramdisk/Makefile.am

[XenPPC] [PATCH 5/6][TOOLS][XM-TEST] Refactor code to encapsulate architecture decisions in one place

2006-09-30 Thread Tony Breeds
Refactor code to encapsulate architecture decisions in one place. Also includes some whitespace fixes. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- tools/xm-test/lib/XmTestLib/XenDomain.py | 72 +++--- tools/xm-test/lib/XmTestLib/arch.py| 103 + tools

Re: Hang on boot Was: [XenPPC] [xenppc-unstable] [POWERPC][XEN] Detect bad spurious interrupt condition and panic instead of hang

2006-09-14 Thread Tony Breeds
On Tue, Sep 12, 2006 at 06:00:17PM +0200, Segher Boessenkool wrote: Sometimes when Xen is booted and we let Linux init the MPIC for the second time Xen could end up in a loop where the CPU is constantly being interrupted by the MPIC. Because of console buffering, the last message you see

Re: [XenPPC] Re: xm-test

2006-09-14 Thread Tony Breeds
On Fri, Sep 15, 2006 at 12:10:44PM +1000, Tony Breeds wrote: This patch gets the process further, but I expect more changes to be required. See I said therie'd be more. With this additional patch, the initrd.img and the rootfs build successfully. (available from http://bakeyournoodle.com

[XenPPC] Re: [patch] xencomm with empty buffers

2006-09-10 Thread Tony Breeds
On Fri, Sep 08, 2006 at 03:16:56PM -0500, Hollis Blanchard wrote: Hi Tony, you mentioned on IRC that your xm top problem was exascerbated by passing a non-NULL pointer with bytes==0 to xencomm_create(). Does this patch catch the problem without breaking anything else? snip patch Looks good to

Re: [XenPPC] [PATCH] fix build break in exceptions.c

2006-09-08 Thread Tony Breeds
On Fri, Sep 08, 2006 at 11:09:43AM -0400, Amos Waterland wrote: Building exceptions.c with CRASH_DEBUG=y produces a build break, because gcc complains about the unused variable. Strange I'm not seeing it here ... infact my program_exception doens't even have an int recover ... I must be behind

Re: [XenPPC] heads up: large nasty merge

2006-09-06 Thread Tony Breeds
On Wed, Sep 06, 2006 at 09:16:01AM -0500, Hollis Blanchard wrote: Sorry all, there were in fact a whole bunch of files I forgot to check in. (It doesn't help that hg status on a built tree is full of noise.) I do my linux builds into a scratch area, for just this reason. I've included my

[XenPPC] [PATCH] Fix a couple of typos

2006-08-29 Thread Tony Breeds
From: Tony Breeds [EMAIL PROTECTED] While getting xend/domU up and runngin today I noticed what look like a couple of typos. AFAICT do_dom0_op will return 0 or -1, so the failure test in tools/libxc/powerpc64/xc_memory.c has the wrong operator. Also in xen/arch/powerpc

[XenPPC] Accessing the Xen GDB-stub

2006-08-28 Thread Tony Breeds
Hello All, As many of you know I've been looking at getting access to hypervisor via the GDB stub in Xen. This is a brain dump, of what I learned trying to get this tested. Firstly a summary of GDB stub and technology available from Jimi, in response to some confused queries from me.

[XenPPC] [RFC] GDB O packets

2006-08-28 Thread Tony Breeds
Hello All, When GDB is atatched to the serial console you loose the output from printk()'s. Below is a quick patch that uses GDBs O packet to pass this data out to GDB. Currently it only works for Xen printk()'s (I'll work on dom0). It's not complete but I'll dump it here for a quick

Re: [XenPPC] [RFC] GDB O packets

2006-08-28 Thread Tony Breeds
On Mon, Aug 28, 2006 at 09:38:08AM -0500, Hollis Blanchard wrote: You probably want to avoid serial_puts() if GDB is attached, no? Otherwise, you'll be sending garbage (i.e. non-packet data) down the serial line to GDB. Rather than including gdbstub.h here, you might do something like

Re: [XenPPC] Current tip broken with SystemSim

2006-08-16 Thread Tony Breeds
On Wed, Aug 16, 2006 at 11:30:48AM -0500, Hollis Blanchard wrote: Add to the wiki, please: http://wiki.xensource.com/xenwiki/XenPPC/Run/SystemSim Also please add a note about the required memory increase. Done x2 When I workout how to get a root image under systemsim I'll document that

Re: [XenPPC] PHDR link failure testcase

2006-08-16 Thread Tony Breeds
On Wed, Aug 16, 2006 at 08:10:20AM -0400, Jimi Xenidis wrote: Thanks for getting to the bottom of this Tony. As it's empty the linker decides to start a 3rd segment rather than waste disk space. Hmm, what is empty? By empty I mean filled with 0s, which I believe is because all the