[XenPPC] David M Daly is out of the office.

2007-09-10 Thread David M Daly

I will be out of the office starting  09/06/2007 and will not return until
09/13/2007.

I will respond to your message when I return.


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


Re: [XenPPC] Question about netbooting with initrd/initramfs

2007-01-29 Thread David M Daly
[EMAIL PROTECTED] wrote on 01/27/2007 11:02:03 PM:

> On Thu, Jan 25, 2007 at 04:39:39PM -0500, David M Daly wrote:
> > I've been having some trouble netbooting linux on a JS21 with an 
initramfs
> 
> Getting a builtin initramfs to work on PPC is tricky.  The only way I
> have found to do it is a fragile two-stage process. 
> 

Amos, thanks for the recipes. I've been able to get some initramfs 
functionality working using them, and I was able to netboot it. 

> I assume that you want to build an initramfs necessary and sufficient to
> run xend and launch a domU, so in the following I describe one technique

I want to do two things with the initramfs:
1. Run xend as you suggest
2. Boot a utility image to set some things up for a later boot (flash 
SLOF, configure HBA/SAN settings). This does not require xend running. 

I'll post a followup if I get xend working from an initramfs. 

Thanks again. 

David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845

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

[XenPPC] Question about netbooting with initrd/initramfs

2007-01-25 Thread David M Daly
I've been having some trouble netbooting linux on a JS21 with an 
initramfs, and wanted to see if there were any known issues, etc. Are 
there any difficulties in netbooting as an image on a JS21 with an 
initramfs/initrd? Any secret voodoo? I'm using Maria's branch of the 
linux-ppc kernel both on bare-metal, and on Xen, and I netboot both. Since 
I've successfully compiled the Dom0 kernel into Xen, so am just concerned 
with the step of getting the initramfs into the linux kernel. 

I've followed the instructions straight from the xensource powerpc wiki 
for building an initrd. I've also tried compiling using the specify 
initramfs source config option in the build process. I can successfully 
boot with an initramfs using yaboot, if I specify an option for it, but I 
have not successfully booted with an initial image over netboot, or 
through yaboot with all the bootargs compiled into the kernel. 

Any help or pointers are appreciated. 
Thanks

David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

[XenPPC] Crash with ssh

2006-11-27 Thread David M Daly
I got the following error this morning from the console on one of our 
JS21s. I had a program that was supposed to ssh into the blade and reboot 
it after shutting down GPFS. I don't think it did any of the gpfs shutdown 
before crashing. Here is the error message. I saw it because I happened to 
be on the SOL console ( I wouldn't normally be). This is the first time 
I'm noticing this. I will post again if I see more errors of this kind. 

cso85:/ # cpu 0x2: Vector: 700 (Program Check) at [c0017b5a7340]
pc: c00f62bc: .clear_inode+0x3c/0x120
lr: c00f62b4: .clear_inode+0x34/0x120
sp: c0017b5a75c0
   msr: 90029032
  current = 0xc0002facc540
  paca= 0xc05ae600
pid   = 17947, comm = umount
kernel BUG in clear_inode at 
/root/xen-maria-latest/linux/linux-xen-ppc/fs/inode.c:251!
enter ? for help
2:mon>
2:mon>

This is built from Maria's tree on 11-9. 

David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Re: [XenPPC] xend start error

2006-10-23 Thread David M Daly

Hollis,

Your comment on upgrading kernel with
Xen seems to be the key. I tried Maria's tree for linux and xen tree and
xend start; xm list doesn't give an error message. 

David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845





[EMAIL PROTECTED]

10/23/2006 06:19 PM




To
Hao Yu/Watson/[EMAIL PROTECTED]


cc
Xen-ppc-devel@lists.xensource.com, Edi
Shmueli/Watson/[EMAIL PROTECTED], David M Daly/Watson/[EMAIL PROTECTED], Doron Shiloach/Watson/[EMAIL PROTECTED]


Subject
Re: [XenPPC] xend start error








On Fri, 2006-10-20 at 11:04 -0400, Hao Yu wrote:
> Hi ,
> 
> On our js21 blade running xen, we encountered a problem.
> 
> What we did:
> cso83:/etc/xen # xend start
> cso83:/etc/xen # xm list
> Error: Error connecting to xend: No such file or directory.  Is
xend
> running?
> 
> cso83:/etc/xen # tail -25 /var/log/xen/xend.log
> Error: (22, 'Invalid argument')
> [2006-10-20 11:03:05 xend 8097] INFO (SrvDaemon:190) Xend stopped
due to
> signal 15.
> [2006-10-20 11:03:07 xend 8116] INFO (SrvDaemon:283) Xend Daemon started
> [2006-10-20 11:03:07 xend 8116] INFO (SrvDaemon:287) Xend changeset:
Wed
> Oct 11 13:01:31 2006 -0400 12202:e7cb3aefc233.
> [2006-10-20 11:03:07 xend 8116] ERROR (SrvDaemon:297) Exception starting
> xend ((22, 'Invalid argument'))
> Traceback (most recent call last):
>   File "//usr/lib/python/xen/xend/server/SrvDaemon.py",
line 291, in run
>     servers = SrvServer.create()
>   File "//usr/lib/python/xen/xend/server/SrvServer.py",
line 108, in create
>     root.putChild('xend', SrvRoot())
>   File "//usr/lib/python/xen/xend/server/SrvRoot.py",
line 40, in __init__
>     self.get(name)
>   File "//usr/lib/python/xen/web/SrvDir.py", line 82,
in get
>     val = val.getobj()
>   File "//usr/lib/python/xen/web/SrvDir.py", line 52,
in getobj
>     self.obj = klassobj()
>   File "//usr/lib/python/xen/xend/server/SrvDomainDir.py",
line 39, in __init__
>     self.xd = XendDomain.instance()
>   File "//usr/lib/python/xen/xend/XendDomain.py", line
636, in instance
>     inst.init()
>   File "//usr/lib/python/xen/xend/XendDomain.py", line
76, in init
>     self._add_domain(
>   File "//usr/lib/python/xen/xend/XendDomain.py", line
139, in xen_domains
>     domlist = xc.domain_getinfo()
> Error: (22, 'Invalid argument')
> 
> 
> We wonder what the problem could be?

Doesn't look like there's much in the domctl path that returns EINVAL.

Did you recently upgrade Xen? If so, make sure you install a newer
kernel and tools.

Do you see any errors when you run 'dmesg' in Linux?

-- 
Hollis Blanchard
IBM Linux Technology Center


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

[XenPPC] Xen boot error: known issue?

2006-10-17 Thread David M Daly

Hi,

Wanted to let you know that we are trying
some things out under Xen now with our CSO environment. A few times when
we've booted the system we've seen a Xen error message to the effect of
too many spurious interrupts, this is a known issues, rebooting, let the
machine cool down. The full message is below. It says it's a known issue,
but I thought I would check. Amos encouraged me to post it here. 

hg tip on my xen tree reports:
changeset:   12184:f9631d8c3e3c
tag:         tip
user:        Hollis
Blanchard <[EMAIL PROTECTED]>
date:        Thu
Oct 05 16:06:42 2006 -0500
summary:     [POWERPC][XEN]
Escape dots in .hgignore.


***  : Setup Done
[boot]0015 Setup Done
Built 1 zonelists.  Total pages:
126976
Kernel command line: root=/dev/sde1
init=/sbin/developinit xencons=xvc0
 -> maple_init_IRQ
mpic: Setting up MPIC "U3-MPIC"
version 1.2 at f804, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask:
7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds
for U3/U4
mpic:   - HT:07.0 [0xf0] vendor
1022 device 7460 has 24 irqs
(XEN)
(XEN) 
(XEN) Panic on CPU 0:
(XEN) Too many (100) spurrious interrupts
in a row
(XEN)   Known problem, please halt
and let machine idle/cool   then reboot
(XEN) 
(XEN)
(XEN) Reboot in five seconds...
(XEN) [0077F9C0] 00422788
.do_external+0xa8/0x100
(XEN) [0077FA40] 0042E928
ex_external_continued+0x9c/0xa8
(XEN) [006C3748] 7B08DFF036CD7BBB
(XEN) SP (62f535022c4f3756) is not in
xen space
(XEN) machine_restart called




David Daly

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

[XenPPC] Xen hangs

2006-09-25 Thread David M Daly

I'm running Xen on a JS21 and am using
a straight xen_maple_defconfig for Dom0, both cloned from mercurial on
xenbits. When I boot from nfsroot, sometimes Xen hangs. I've included a
sample output below. I originally thought it was dependant on boot args
passed to Xen and Dom0, but now I notice changing behavior, where sometimes
a target will boot, and sometimes it will hang. When it does hang, it is
always around the same place in the output. 

Let me know what further tests you would
like, and I will do them tomorrow. 

OF: Xen/PPC version 3.0-unstable ([EMAIL PROTECTED])
(gcc version 4.1.0 (SUSE Linux)) Mon Sep 25 21:55:21 EDT 2006
boot_of_init args: 0x40 0x0 0x111027c
0x0 0x0
boot msr: 0x10003000
boot_of_init: _start 00400100
_end 0072d8b8 0x0
boot_of_probemem: memory 0x[0x8000]
boot_of_probemem: memory 0x0001[0x18000]
bootargs =  -- ro root=/dev/nfs
nfsroot=9.2.208.86:/home/apw/devel/nfsroots/sles10-rootfs ip=9.2.78.86::9.2.78.1:255.255.255.0:cso86:eth1:off
init=/sbin/quickinit
boot_of_module: Dom0 is linked in: 0x44d6c4[size
0x2a26f9]
mod0: 177 E L F
boot_of_module: mod[0] @ 0x0044d6c4[0x6efdbd]
boot_of_module: mod[0].string: ro root=/dev/nfs
nfsroot=9.2.208.86:/home/apw/devel/nfsroots/sles10-rootfs ip=9.2.78.86::9.2.78.1:255.255.255.0:cso86:eth1:off
init=/sbin/quickinit
find_space base=0x0072d8b8  eomem=0x8000
 size=0x0003  align=0x1000
creating oftree
pkg_save: saved device tree in 0x42a0
bytes
boot_of_module: mod[1] @ 0x0090[0x93]
pruning `/ht/[EMAIL PROTECTED]/[EMAIL PROTECTED]' from
devtree
pruning `/ht/[EMAIL PROTECTED]/[EMAIL PROTECTED]' from
devtree
boot_of_serial: ISA base: 0xf400
boot_of_serial: ISRC=0x44, but forcing
poll mode
OF: timebase-frequency = 14318378 Hz
OF: clock-frequency = 250 KHz
spinning up secondary processor #1:
ping = 0x: pong = 0x1
spinning up secondary processor #2:
ping = 0x: pong = 0x2
spinning up secondary processor #3:
ping = 0x: pong = 0x3
 __  __      
     _  ___          
          _        _  
  _
 \ \/ /___ _ __   |___ / /
_ \    _   _ _ __  ___| |_ __ _| |__ | | ___
  \  // _ \ '_ \    |_
\| | | |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | |  ___)
| |_| |__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_| |(_)___/
   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
           
                     
                     
                 
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer
Laboratory
 
 Xen version 3.0-unstable ([EMAIL PROTECTED])
(gcc version 4.1.0 (SUSE Linux)) Mon Sep 25 21:55:21 EDT 2006
 Latest ChangeSet: Tue Aug 29 07:07:57
2006 -0400 11747:9c4858991254
 
(XEN) Physical RAM map:
(XEN) End of RAM: 10240MB (10485760kB)
(XEN) total_pages: 0x001fc000
(XEN) free_xenheap: 0x55000 - 0x40
(XEN) Xen heap: 63MB (65196kB)
(XEN) free_xenheap: 0x72e000 - 0x400
(XEN) free_xenheap:     Go
around the devtree: 0x90 - 0x93
(XEN) Domheap pages: 0x1f4800 8008MB
(8200192kB)
(XEN) CPU #0: Hello World! SP = 44ceb0
TOC = 71f8b8 HID0 = 5111818000
(XEN) spinning up at most 16 total processors
...
(XEN) CPU #1: Hello Wo


David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

[XenPPC] Xen on JS21 - Dom0 rootfs on SAN

2006-09-25 Thread David M Daly

I consistently get an error booting
Dom0 from a SAN on JS21. I'm using xen_maple_defconfig + QLA2xxx device
driver. 

With an nfsroot boot argument passed
in, the system boots fine. 
With a root=/dev/nfs changed to root=/dev/sdc1
(a lun on the SAN), it mounts the root filesystem, and then fails with
the following message:

kjournald starting.  Commit interval
5 seconds
EXT3-fs: mounted filesystem with ordered
data mode.
VFS: Mounted root (ext3 filesystem)
readonly.
Freeing unused kernel memory: 244k freed
/bin/bash: /lib/libdl.so.2: version
`' not found (required by /bin/bash)
/bin/bash: /lib/libdl.so.2: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
/bin/bash: /lib/power4/libc.so.6: version
`' not found (required by /bin/bash)
Kernel panic - not syncing: Attempted
to kill init!
 <0>Rebooting in 180 seconds..Connection
closed by foreign host.

The two root filesystems are basically
identical, and I can boot and mount the SAN based filesystem as root for
a linux kernel (no Xen). 

This can be repeated on my test blade
cso86 (chassis 4 blade 6). I am using yaboot, and the failing configuration
is target cxeny2s. 

David Daly
Research Staff Member
32-003 IBM T.J. Watson Research Center
Yorktown Heights, NY, 10958
(914) 945-1845, T/L 862-1845___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel