[OpenIndiana-discuss] OpenIndiana on EC2
Schweiss, Chip
chip at innovates.com
Tue Jun 19 19:04:34 UTC 2012
I've been working from the wiki page:
http://wiki.openindiana.org/oi/Creating+OpenIndiana+EC2+image
No problem getting OI running in Xen on Debian Squeeze w/ the pv-grub.gz
built with the supplied patches. The problem comes in when launching on
EC2. The kernel can never mount root.
I've moved my testing to my local Xen and get the same problem anytime the
device numbers are set to 2048 and 2064:
disk = [
'file:/etc/xen/vm/oi_boot.img,2048,w','file:/etc/xen/vm/images/oi_147.img,2064,w'
]
It doesn't seem to matter which build I'm using. I've tried 147, 148,
151a and 151a3. This leads me to believe I'm missing something.
If I set the device numbers to 0 and 1, OI boots fine.
While it was running this way I created the links in /dev/dsk and /dev/rdsk
and changed the device numbers back to 2048 and 2064, but it still fails to
mount root:
Booting command-list
findroot (pool_rpool,0,a)
Filesystem type is zfs, partition type 0xbf
bootfs rpool/ROOT/openindiana
kernel$ /platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS
loading '/platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS' ...
'/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/85,bootpath="/xpvd/xdf@
1:a"' is loaded
module$ /platform/i86pc/$ISADIR/boot_archive
loading '/platform/i86pc/$ISADIR/boot_archive' ...
'/platform/i86pc/amd64/boot_archive' is loaded
kexec(......,'/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/85,bootpat
h="/xpvd/xdf at 1:a"')
xc: error: panic: xc_dom_bzimageloader.c:556:
xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
close blk: backend=/local/domain/0/backend/vbd/68/2048 node=device/vbd/2048
close blk: backend=/local/domain/0/backend/vbd/68/2064 node=device/vbd/2064
v4.0.1 chgset 'unavailable'
OpenIndiana Build oi_147 64-bit
SunOS Release 5.11 - Copyright 1983-2010 Oracle and/or its affiliates.
All rights reserved. Use is subject to license terms.
NOTICE: Can not read the pool label from '/xpvd/xdf at 1:a'
NOTICE: spa_import_rootpool: error 5
Cannot mount root on /xpvd/xdf at 1:a fstype zfs
panic[cpu0]/thread=fffffffffbc609e0: vfs_mountroot: cannot mount root
Warning - stack not written to the dump buffer
fffffffffbcb5080 genunix:vfs_mountroot+33e <http://genunixvfs_mountroot+33e> ()
fffffffffbcb50b0 genunix:main+136 <http://genunixmain+136> ()
fffffffffbcb50c0 unix:_locore_start+7e ()
skipping system dump - no dump device configured
rebooting...
I'm guessing the links were not loaded properly. Any help would be greatly
appreciated.
More information about the OpenIndiana-discuss
mailing list