[XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
[XenPPC] [xenppc-unstable] [POWERPC][XEN] Remove boot wrapper, and extensive Makefile simplifications. It seems that the above change made my XenPPC unbootable from local disk. I had been booting XenPPC through yaboot by adding the following lines to /etc/yaboot.conf of SLES10. (The

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Maria Butrico
Kawachiya-san, seems that your problem today is different from yesterday. You have however not answered any of my questions. So here is goes again. Kawachiya-san, can you tell us exactly what kind of js20 is this. I just learned that there are two, the 21X (of which we have some in

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Kawachiya-san, seems that your problem today is different from yesterday. You have however not answered any of my questions. Some people in this list may be confusing, so let me summarize my boot problem. I am using JS20 (884241X) to run XenPPC, which is booted from local disk through the

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
Kawachiya-san, thank you for the exhaustive analysis! Could you make sure that you show the cmdline as both Xen _and_ Linux see it? I suspect that perhpas the order by which we evaluate the CMDLINE may be incorrect. On Oct 6, 2006, at 7:38 AM, Kiyokuni Kawachiya wrote: Kawachiya-san,

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Could you make sure that you show the cmdline as both Xen _and_ Linux see it? I suspect that perhpas the order by which we evaluate the CMDLINE may be incorrect. Jimi, Let me first say that my analysis is based on our internal version, since the official version does not boot from local disk

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
On Oct 6, 2006, at 8:25 AM, Kiyokuni Kawachiya wrote: Could you make sure that you show the cmdline as both Xen _and_ Linux see it? I suspect that perhpas the order by which we evaluate the CMDLINE may be incorrect. Jimi, Let me first say that my analysis is based on our internal version,

insmod? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
splitting emails On Oct 6, 2006, at 7:59 AM, Jimi Xenidis wrote: Kawachiya-san, thank you for the exhaustive analysis! On Oct 6, 2006, at 7:38 AM, Kiyokuni Kawachiya wrote: Kawachiya-san, seems that your problem today is different from yesterday. You have however not answered any of my

SMP patch? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
More splits On Oct 6, 2006, at 7:59 AM, Jimi Xenidis wrote: Kawachiya-san, thank you for the exhaustive analysis! On Oct 6, 2006, at 7:38 AM, Kiyokuni Kawachiya wrote: 1. I could not boot our internal version which is a little bit old version, but contains the SMP patch. It failed

Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
On Oct 6, 2006, at 7:59 AM, Jimi Xenidis wrote: Kawachiya-san, thank you for the exhaustive analysis! 3. I also cannot boot the official XenPPC in XenSource, which I already reported. : Welcome to yaboot version 10.1.14-r716.SuSE booted from '/ht/[EMAIL

Re: [XenPPC][RFC/PATCH] DomU kernel update for Xen tools save restore

2006-10-06 Thread Yi Ge
I attached the patch as a TXT file below. Hope it works for you. This is not the final version. Just for comments. (See attached file: patch_06_10_05.TXT) Regards, Yi Ge Hollis Blanchard [EMAIL PROTECTED] Hollis Blanchard [EMAIL PROTECTED] 2006-10-05 18:43 To Yi Ge/China/[EMAIL

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Amos Waterland
I took a look at the situation. It boils down to this: 1. In the internal Xen tree, there is a bug (my fault) in which firmware bootargs are overridden by the builtin xen bootarg. This is fixed (by Hollis) in the current public Xen tree. 2. In the internal Xen tree, the SMP patch

CMDLINE Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
I just returned home. I will answer as much as possible although my remote environment is poor. Jimi Xenidis [EMAIL PROTECTED] wrote on 2006/10/06 21:46:15: AFAIK, the internal version is Xen with the SMP patch that has been sent to this list, Is there more? This inernal version is maintained

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
I took a look at the situation. It boils down to this: 1. In the internal Xen tree, there is a bug (my fault) in which firmware bootargs are overridden by the builtin xen bootarg. This is fixed (by Hollis) in the current public Xen tree. Thanks, I just checked it. 2. In the

Re: insmod? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
through the /etc/yaboot.conf like this. # header section partition = 2 timeout = 600 default = xen # image section image = /boot/vmlinux label = linux root = /dev/hda3 append = quiet sysrq=1 insmod=sym53c8xx

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
On Oct 6, 2006, at 10:38 AM, Kiyokuni Kawachiya wrote: 3. In the public Xen tree, the 32-bit objcopy produces an image that Kawachiya's yaboot apparently cannot load. The catch-22 is that if Maria updates the internal tree to get the fixes in the public tree, the bootargs problem

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
It probably is, which image do you copy for yaboot to use? I usually copied xen/xen to /boot/xen-3.0-unstable, and specified it in yaboot.conf. can you try: $ objcopy -S xen/xen-syms xen/xen.yaboot and have yaboot load xen.yaboot I tried, but the situation is same. Welcome to yaboot

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Jimi Xenidis
On Oct 6, 2006, at 11:05 AM, Kiyokuni Kawachiya wrote: It probably is, which image do you copy for yaboot to use? I usually copied xen/xen to /boot/xen-3.0-unstable, and specified it in yaboot.conf. can you try: $ objcopy -S xen/xen-syms xen/xen.yaboot and have yaboot load xen.yaboot

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Hollis Blanchard
On Fri, 2006-10-06 at 10:08 -0400, Amos Waterland wrote: I took a look at the situation. It boils down to this: 3. In the public Xen tree, the 32-bit objcopy produces an image that Kawachiya's yaboot apparently cannot load. The catch-22 is that if Maria updates the internal tree to

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Hollis Blanchard
On Fri, 2006-10-06 at 11:23 -0400, Jimi Xenidis wrote: Welcome to yaboot version 10.1.14-r716.SuSE booted from '/ht/[EMAIL PROTECTED],1/[EMAIL PROTECTED]' Enter help to get some basic usage information boot: xen Please wait, loading kernel... Can't find a loadable segment ! $

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Kawachiya-san, Please try the following patch against the yaboot boot. I rebuilt xen with the patches, and tried to boot with xen/xen, but the situation was same. diff -r f9631d8c3e3c xen/arch/powerpc/Makefile --- a/xen/arch/powerpc/Makefile Thu Oct 05 16:06:42 2006 -0500 +++

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Do we really need yaboot? (Just looking for a workaround...) Kawachiya cannot netboot for political reasons in his lab, so he actually installs Xen on his Local Disk. We should certainly support this booting model and so he is sorta stuck with a bootloader and yaboot is what we are all

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Hollis Blanchard
On Fri, 2006-10-06 at 11:04 -0500, Hollis Blanchard wrote: diff -r 48840bbe607d xen/arch/powerpc/xen.lds.S --- a/xen/arch/powerpc/xen.lds.STue Sep 12 14:28:16 2006 -0500 +++ b/xen/arch/powerpc/xen.lds.SFri Oct 06 10:31:48 2006 -0500 @@ -12,7 +12,7 @@

Re: SMP patch? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Could you synchronize the console here, there are two ways to do this: 1) add sync_console to the cmdline _before_ -- 2) apply the follow diff Do you have output for this? I did this with 1), and this is the log. : *** : Setup Done [boot]0015 Setup Done Built 1 zonelists.

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Hollis Blanchard [EMAIL PROTECTED] wrote on 2006/10/07 01:26:38: On Fri, 2006-10-06 at 11:04 -0500, Hollis Blanchard wrote: diff -r 48840bbe607d xen/arch/powerpc/xen.lds.S --- a/xen/arch/powerpc/xen.lds.STue Sep 12 14:28:16 2006 -0500 +++ b/xen/arch/powerpc/xen.lds.SFri Oct

Status summary Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
Thank you for the quick action. Let me summarize the latest situation before I go to bed (it's 2am in Japan). 1. In the internal Xen tree, there is a bug in which firmware bootargs are overridden by the builtin xen bootarg. was a problem in our local tree, will be fixed. 2. The

[XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix yaboot loading and other linker script tweaks.

2006-10-06 Thread Xen patchbot-xenppc-unstable
# HG changeset patch # User Hollis Blanchard [EMAIL PROTECTED] # Node ID a41b8cd01ad287d60a5e59ccffa23b5dd8837af8 # Parent f9631d8c3e3c38cd618003487e5bd21b4a0acb5d [POWERPC][XEN] Fix yaboot loading and other linker script tweaks. yaboot refuses to load segments at file offset 0, so move the ELF

[XenPPC] [linux-ppc-2.6] [POWERPC][LINUX][XEN] fix typo in HYPERVISOR_memory_op() message.

2006-10-06 Thread Xen patchbot-linux-ppc-2 . 6
# HG changeset patch # User Hollis Blanchard [EMAIL PROTECTED] # Node ID f7363a56e7c7bf0acd2a48a0e056184afc5ee23f # Parent 933613959bf6a8e48a43e1cd93d4afae4a660ec8 [POWERPC][LINUX][XEN] fix typo in HYPERVISOR_memory_op() message. Signed-off-by: Tony Breeds [EMAIL PROTECTED] Signed-off-by: Hollis

Re: [XenPPC] xm-test can panic Xen on JS20

2006-10-06 Thread poff
Similar panic whenever 'shutdown -h' on JS20 (using local ide for root fs): ... /dev/hda2 umounted done done Shutting down MD Raid

Re: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Segher Boessenkool
Good question, I think it may do iso-9660 and fat16, and I heard that ext2 might be supported, but I'd be surprised if SLOF can do reiserfs It can do ext2/ext3 and fat12/fat16 (both versions)/fat32. The various CD and DVD filesystems are next on the list of filesystems we want to support,

Re: [XenPPC] xm-test can panic Xen on JS20

2006-10-06 Thread Jimi Xenidis
Not really similar to Tony's. Dan yours is known, Xen is setup to trap if Dom0 shutsdown _and_ crash_debug=y -JX On Oct 6, 2006, at 5:03 PM, poff wrote: Similar panic whenever 'shutdown -h' on JS20 (using local ide for root fs): ... /dev/hda2 umounted

[XenPPC] [PATCH] Improve presentation of objcopy output

2006-10-06 Thread Amos Waterland
This makes it easier to grep log files, and just looks a lot better in the console output of a make. Signed-off-by: Amos Waterland [EMAIL PROTECTED] --- Makefile |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff -r a41b8cd01ad2 xen/arch/powerpc/Makefile ---

Re: [XenPPC] [PATCH] Improve presentation of objcopy output

2006-10-06 Thread Jimi Xenidis
On Oct 6, 2006, at 5:49 PM, Amos Waterland wrote: +OCPYFLAGS cute -JX ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel

Re: SMP patch? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Amos Waterland
On Sat, Oct 07, 2006 at 01:36:18AM +0900, Kiyokuni Kawachiya wrote: Could you synchronize the console here, there are two ways to do this: 1) add sync_console to the cmdline _before_ -- 2) apply the follow diff Do you have output for this? I did this with 1), and this is the

Fw: SMP patch? Was: [XenPPC] Cannot boot from local disk

2006-10-06 Thread Kiyokuni Kawachiya
(I failed to post this to the ML) From: Kiyokuni Kawachiya on 2006/10/07 11:33 To: Amos Waterland [EMAIL PROTECTED] Subject: Re: SMP patch? Was: [XenPPC] Cannot boot from local disk Could you synchronize the console here, there are two ways to do this: 1) add sync_console to

[XenPPC] Spurious interrupt count

2006-10-06 Thread Amos Waterland
I am having some doubts about this code in external.c: vec = xen_mpic_get_irq(regs); if (vec != -1) { ... spur_count = 0; } else { ++spur_count; if (spur_count 100) panic(Too many (%d) spurrious interrupts in a row\n); } When I do