sorry for the noise..just sharing for the record.....i found the
ramdisk inside the osol-0811.iso image's /boot directory.

And another thing is that I cannot use the amd64 version of unix (but
my hardware is AMD64), but

kernel = "/platform/i86xpv/kernel/unix" instead.

So the entire config file look like this:

name = "opensolaris-pv-install"
vcpus = 2
memory = "1024"
bootloader = "/usr/lib/xen/bin/pygrub"
kernel = "/platform/i86xpv/kernel/unix"
ramdisk = "/boot/x86.microroot"
extra = "-B console=ttya,livemode=text"
disk = 
['file:/root/solaris_big/Korona-0.0.2.iso,6:cdrom,r','file:/export/home/vmdisk01.img,0,w']
vif = ['']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"

And I can successfully login using username jack (password jack) and
root is "opensolaris".

Doing "xm list":

xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  7026     4     r-----   4610.6
opensolaris-pv-install                      15  1024     2     -b----     22.6

Thanks!!!

On Thu, Sep 17, 2009 at 11:28 AM, Peter Teoh <htmldeveloper at gmail.com> wrote:
> I am on SXCE snv115. ? After booting into the xVM kernel, "xm dmesg"
> gives the following output:
>
> xm dmesg
> ?xVM version 3.1.4-xvm
> (xVM) Command line:
> (xVM) Video information:
> (xVM) ?VGA is text mode 80x25, font 8x16
> (xVM) ?VBE/DDC methods: none; EDID transfer time: 0 seconds
> (xVM) ?EDID info not retrieved because no DDC retrieval method detected
> (xVM) Disc information:
> (xVM) ?Found 2 MBR signatures
> (xVM) ?Found 2 EDD information structures
> (xVM) Xen-e820 RAM map:
> (xVM) ?0000000000000000 - 000000000009f000 (usable)
> (xVM) ?000000000009f000 - 00000000000a0000 (reserved)
> (xVM) ?00000000000e6000 - 0000000000100000 (reserved)
> (xVM) ?0000000000100000 - 00000000cfea0000 (usable)
> (xVM) ?00000000cfea0000 - 00000000cfeae000 (ACPI data)
> (xVM) ?00000000cfeae000 - 00000000cfef0000 (ACPI NVS)
> (xVM) ?00000000cfef0000 - 00000000d0000000 (reserved)
> (xVM) ?00000000fff00000 - 0000000100000000 (reserved)
> (xVM) ?0000000100000000 - 0000000230000000 (usable)
> (xVM) System RAM: 8190MB (8386812kB)
> (xVM) Xen heap: 14MB (14520kB)
> (xVM) Domain heap initialised: DMA width 32 bits
> (xVM) Processor #0 0:4 APIC version 16
> (xVM) Processor #1 0:4 APIC version 16
> (xVM) Processor #2 0:4 APIC version 16
> (xVM) Processor #3 0:4 APIC version 16
> (xVM) IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
> (xVM) Enabling APIC mode: ?Flat. ?Using 1 I/O APICs
> (xVM) Using scheduler: SMP Credit Scheduler (credit)
> (xVM) Detected 3200.201 MHz processor.
> (xVM) AMD SVM: ASIDs enabled.
> (xVM) HVM: SVM enabled
> (xVM) HVM: Hardware Assisted Paging enabled
> (xVM) CPU0: AMD Family10h machine check reporting enabled.
> (xVM) CPU0: AMD Phenom(tm) II X4 955 Processor stepping 02
> (xVM) Booting processor 1/1 eip 90000
> (xVM) AMD SVM: ASIDs enabled.
> (xVM) CPU1: AMD Family10h machine check reporting enabled.
> (xVM) CPU1: AMD Phenom(tm) II X4 955 Processor stepping 02
> (xVM) Booting processor 2/2 eip 90000
> (xVM) AMD SVM: ASIDs enabled.
> (xVM) CPU2: AMD Family10h machine check reporting enabled.
> (xVM) CPU2: AMD Phenom(tm) II X4 955 Processor stepping 02
> (xVM) Booting processor 3/3 eip 90000
> (xVM) AMD SVM: ASIDs enabled.
> (xVM) CPU3: AMD Family10h machine check reporting enabled.
> (xVM) CPU3: AMD Phenom(tm) II X4 955 Processor stepping 02
> (xVM) Total of 4 processors activated.
> (xVM) ENABLING IO-APIC IRQs
> (xVM) ?-> Using new ACK method
> (xVM) Platform timer overflows in 14998 jiffies.
> (xVM) Platform timer is 14.318MHz HPET
> (xVM) Brought up 4 CPUs
> (xVM) *** LOADING DOMAIN 0 ***
> (xVM) ?Xen ?kernel: 64-bit, lsb, compat32
> (xVM) ?Dom0 kernel: 64-bit, lsb, paddr 0x40000000 -> 0x40826ea8
> (xVM) PHYSICAL MEMORY ARRANGEMENT:
> (xVM) ?Dom0 alloc.: ? 0000000220000000->0000000228000000 (1997322
> pages to be allocated)
> (xVM) VIRTUAL MEMORY ARRANGEMENT:
> (xVM) ?Loaded kernel: 0000000040000000->0000000040826ea8
> (xVM) ?Init. ramdisk: 0000000040827000->000000004306f000
> (xVM) ?Phys-Mach map: 000000004306f000->0000000043fec050
> (xVM) ?Start info: ? ?0000000043fed000->0000000043fed49c
> (xVM) ?Page tables: ? 0000000043fee000->0000000044013000
> (xVM) ?Boot stack: ? ?0000000044013000->0000000044014000
> (xVM) ?TOTAL: ? ? ? ? 0000000040000000->0000000044400000
> (xVM) ?ENTRY ADDRESS: 0000000040800000
> (xVM) Dom0 has maximum 4 VCPUs
> (xVM) Initrd len 0x2848000, start at 0x40827000
> (xVM) Scrubbing Free RAM: .done.
> (xVM) Xen trace buffers: disabled
> (xVM) Std. Loglevel: Errors and warnings
> (xVM) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
> (xVM) Xen is relinquishing VGA console.
> (xVM) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> input to Xen).
> (xVM) Freed 124kB init memory.
> (xVM) microcode: CPU1 not a capable Intel processor
> (xVM) microcode: CPU2 not a capable Intel processor
> (xVM) microcode: CPU3 not a capable Intel processor
> (xVM) microcode: CPU0 not a capable Intel processor
> (xVM) microcode: error! Bad data in microcode data file
> (xVM) microcode: Error in the microcode data
> (xVM) Xen trace buffers: initialized
>
>
> Notice the last part - microcode data error? ? This appeared on a
> clean, domU-less system:
>
> /export/home>xm list
> Name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ID ? Mem VCPUs ? ? ?State ? 
> Time(s)
> Domain-0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 ?7026 ? ? 4 ? ? r----- ? 2145.0
>
>
> But upon trying to create a client, where the following is in snv1.py file:
>
> name = "opensolaris-pv-install"
> vcpus = 2
> memory = "1024"
> bootloader = "/usr/lib/xen/bin/pygrub"
> kernel = "/platform/i86xpv/kernel/amd64/unix"
> ramdisk = "/boot/x86.microroot"
> extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text"
> disk = 
> ['file:/root/solaris_big/Korona-0.0.2.iso,6:cdrom,r','file:/export/home/vmdisk01.img,0,w']
> vif = ['']
> on_shutdown = "destroy"
> on_reboot = "destroy"
> on_crash = "destroy"
>
> And upon "xm create -c snv1.py" I got these in "xm dmesg":
>
> (xVM) Unhandled page fault in domain 1 on VCPU 0 (ec=0002)
> (xVM) Pagetable walk from 0000000000000000:
> (xVM) ?L4[0x000] = 0000000208a95067 0000000000008d63
> (xVM) ?L3[0x000] = 0000000000000000 ffffffffffffffff
> (xVM) domain_crash_sync called from entry.S
> (xVM) Domain 1 (vcpu#0) crashed on cpu#3:
> (xVM) ----[ Xen-3.1.4-xvm ?x86_64 ?debug=n ?Not tainted ]----
> (xVM) CPU: ? ?3
> (xVM) RIP: ? ?e033:[<fffffffffb88bb78>]
> (xVM) RFLAGS: 0000000000000206 ? CONTEXT: guest
> (xVM) rax: 000000000000002f ? rbx: 0000000000000006 ? rcx: 0000000000000034
> (xVM) rdx: 0000000000000017 ? rsi: 000000004080ead0 ? rdi: 0000000000000000
> (xVM) rbp: 000000004080ea30 ? rsp: 000000004080e9d0 ? r8: ?000000004080eaed
> (xVM) r9: ?00000000493ff000 ? r10: 0000000000007ff0 ? r11: 0000000000000246
> (xVM) r12: 000000004080eae7 ? r13: 0000000000000017 ? r14: 0000000000000000
> (xVM) r15: 000000004080ead0 ? cr0: 000000008005003b ? cr4: 00000000000006f0
> (xVM) cr3: 0000000208a98000 ? cr2: 0000000000000000
> (xVM) ds: 0000 ? es: 0000 ? fs: 0000 ? gs: 0000 ? ss: e02b ? cs: e033
> (xVM) Guest stack trace from rbp=000000004080ea30:
> (xVM) ?fffffffffb83012d fffffffffb8af993 fffffffffb8ae9ab fffffffffb8ad5cd
> (xVM) ?fffffffffb817f3a 000000004080004d
> (xVM) Xen stack trace from rsp=000000004080e9d0:
> (xVM) ? ?0000000000000034 0000000000000246 0000000000000002
> (xVM) ? ?fffffffffb88bb78 000000010000e030 0000000000010006
> (xVM) ? ?000000004080ea18 000000000000e02b 000000004080ef10
> (xVM) ? ?0000000000000017 000000004080ead0 0000000000000000
> (xVM) ? ?000000004080ea90 fffffffffb83012d 000000004080ea60
> (xVM) ? ?ff003436646d612f 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 000000004080ead0 0000000000000000
> (xVM) ? ?0000000000000000 000000004080ead0 0000000000000000
> (xVM) ? ?000000004080eac0 fffffffffb8af993 000000004080ef10
> (xVM) ? ?0000000000000000 000000004080ef10 000000004080ead0
> (xVM) ? ?000000004080ef00 fffffffffb8ae9ab 726f6674616c702f
> (xVM) ? ?7670783638692f6d 2f6c656e72656b2f 6e752f3436646d61
> (xVM) ? ?0000000000007869 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) Xen call trace:
> (xVM) ? ?[<fffffffffb88bb78>] ???
> (xVM) ? ?[<fffffffffb83012d>] ???
> (xVM) ? ?[<fffffffffb8af993>] ???
> (xVM) ? ?[<fffffffffb8ae9ab>] ???
> (xVM) ? ?[<fffffffffb8ad5cd>] ???
> (xVM) ? ?[<fffffffffb817f3a>] ???
> (xVM) ? ?[<000000004080004d>] ???
> (xVM) ? ?[<0000000000000000>] ???
> (xVM)
> (xVM) Unhandled page fault in domain 2 on VCPU 0 (ec=0000)
> (xVM) Pagetable walk from 0000000000000018:
> (xVM) ?L4[0x000] = 0000000201d7c067 0000000000000a2b
> (xVM) ?L3[0x000] = 0000000000000000 ffffffffffffffff
> (xVM) domain_crash_sync called from entry.S
> (xVM) Domain 2 (vcpu#0) crashed on cpu#3:
> (xVM) ----[ Xen-3.1.4-xvm ?x86_64 ?debug=n ?Not tainted ]----
> (xVM) CPU: ? ?3
> (xVM) RIP: ? ?e033:[<fffffffffb816551>]
> (xVM) RFLAGS: 0000000000000246 ? CONTEXT: guest
> (xVM) rax: 0000000000000000 ? rbx: 0000000000000000 ? rcx: fffffffffb84bef1
> (xVM) rdx: 000000004080e96c ? rsi: 0000000000000000 ? rdi: fffffffffbc0dae8
> (xVM) rbp: 000000004080eac0 ? rsp: 000000004080ea40 ? r8: ?0000000000000000
> (xVM) r9: ?0000000040825000 ? r10: 0000000000000000 ? r11: 0000000000000202
> (xVM) r12: 000000004080ef10 ? r13: 0000000000000000 ? r14: 0000000000000000
> (xVM) r15: 0000000000000001 ? cr0: 000000008005003b ? cr4: 00000000000006f0
> (xVM) cr3: 0000000201bfc000 ? cr2: 0000000000000018
> (xVM) ds: 0000 ? es: 0000 ? fs: 0000 ? gs: 0000 ? ss: e02b ? cs: e033
> (xVM) Guest stack trace from rbp=000000004080eac0:
> (xVM) ?fffffffffb8ae980 fffffffffb8ad5cd fffffffffb817f3a 000000004080004d
> (xVM)
> (xVM) Xen stack trace from rsp=000000004080ea40:
> (xVM) ? ?fffffffffb84bef1 0000000000000202 0000000000000000
> (xVM) ? ?fffffffffb816551 000000010000e030 0000000000010046
> (xVM) ? ?000000004080ea80 000000000000e02b 0000000000000000
> (xVM) ? ?000000004080ef10 fffffffffb945250 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 000000004080ef10
> (xVM) ? ?0000000000000000 000000004080ef00 fffffffffb8ae980
> (xVM) ? ?726f6674616c702f 7670783638692f6d 2f6c656e72656b2f
> (xVM) ? ?6e752f3436646d61 0000000000007869 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000Using
> config file "./snv1.py".
> Started domain opensolaris-pv-install
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? krtld: failed to open
> '/platform/i86xpv/kernel/amd64/unix'
> /export/home>
>
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) Xen call trace:
> (xVM) ? ?[<fffffffffb816551>] ???
> (xVM) ? ?[<fffffffffb8ae980>] ???
> (xVM) ? ?[<fffffffffb8ad5cd>] ???Using config file "./snv1.py".
> Started domain opensolaris-pv-install
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? krtld: failed to open
> '/platform/i86xpv/kernel/amd64/unix'
> /export/home>
>
> (xVM) ? ?[<fffffffffb817f3a>] ???
> (xVM) ? ?[<000000004080004d>] ???
> (xVM) ? ?[<0000000000000000>] ???
> (xVM)
> (xVM) Unhandled page fault in domain 3 on VCPU 0 (ec=0002)
> (xVM) Pagetable walk from 0000000000000000:
> (xVM) ?L4[0x000] = 000000020cb5b067 0000000000008d63
> (xVM) ?L3[0x000] = 0000000000000000 ffffffffffffffff
> (xVM) domain_crash_sync called from entry.S
> (xVM) Domain 3 (vcpu#0) crashed on cpu#3:
> (xVM) ----[ Xen-3.1.4-xvm ?x86_64 ?debug=n ?Not tainted ]----
> (xVM) CPU: ? ?3
> (xVM) RIP: ? ?e033:[<fffffffffb88bb78>]
> (xVM) RFLAGS: 0000000000000206 ? CONTEXT: guest
> (xVM) rax: 000000000000002f ? rbx: 0000000000000006 ? rcx: 0000000000000034
> (xVM) rdx: 0000000000000017 ? rsi: 000000004080ead0 ? rdi: 0000000000000000
> (xVM) rbp: 000000004080ea30 ? rsp: 000000004080e9d0 ? r8: ?000000004080eaed
> (xVM) r9: ?00000000493ff000 ? r10: 0000000000007ff0 ? r11: 0000000000000246
> (xVM) r12: 000000004080eae7 ? r13: 0000000000000017 ? r14: 0000000000000000
> (xVM) r15: 000000004080ead0 ? cr0: 000000008005003b ? cr4: 00000000000006f0
> (xVM) cr3: 000000020cb5c000 ? cr2: 0000000000000000
> (xVM) ds: 0000 ? es: 0000 ? fs: 0000 ? gs: 0000 ? ss: e02b ? cs: e033
> (xVM) Guest stack trace from rbp=000000004080ea30:
> (xVM) ?fffffffffb83012d fffffffffb8af993 fffffffffb8ae9ab fffffffffb8ad5cd
> (xVM) ?fffffffffb817f3a 000000004080004d
> (xVM) Xen stack trace from rsp=000000004080e9d0:
> (xVM) ? ?0000000000000034 0000000000000246 0000000000000002
> (xVM) ? ?fffffffffb88bb78 000000010000e030 0000000000010006
> (xVM) ? ?000000004080ea18 000000000000e02b 000000004080ef10
> (xVM) ? ?0000000000000017 000000004080ead0 0000000000000000
> (xVM) ? ?000000004080ea90 fffffffffb83012d 000000004080ea60
> (xVM) ? ?ff003436646d612f 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 000000004080ead0 0000000000000000
> (xVM) ? ?0000000000000000 000000004080ead0 0000000000000000
> (xVM) ? ?000000004080eac0 fffffffffb8af993 000000004080ef10
> (xVM) ? ?0000000000000000 000000004080ef10 000000004080ead0
> (xVM) ? ?000000004080ef00 fffffffffb8ae9ab 726f6674616c702f
> (xVM) ? ?7670783638692f6d 2f6c656e72656b2f 6e752f3436646d61
> (xVM) ? ?0000000000007869 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) ? ?0000000000000000 0000000000000000 0000000000000000
> (xVM) Xen call trace:
> (xVM) ? ?[<fffffffffb88bb78>] ???
> (xVM) ? ?[<fffffffffb83012d>] ???
> (xVM) ? ?[<fffffffffb8af993>] ???
> (xVM) ? ?[<fffffffffb8ae9ab>] ???
> (xVM) ? ?[<fffffffffb8ad5cd>] ???
> (xVM) ? ?[<fffffffffb817f3a>] ???
> (xVM) ? ?[<000000004080004d>] ???
> (xVM) ? ?[<0000000000000000>] ???
> (xVM)
>
>
> and the command line error is:
>
> Using config file "./snv1.py".
> Started domain opensolaris-pv-install
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? krtld: failed to open
> '/platform/i86xpv/kernel/amd64/unix'
> /export/home>
>
> Questions:
>
> 1. ? the ramdisk /boot/x86.microroot file does not exists - must it be
> created? ? and how to create it?
> 2. ? the link at:
>
> http://blog.pebcak.de/plugin/tag/krtld
>
> seemed to indicate how to create a ramdisk, but that ramdisk is meant
> for the OS, not for the Xen hypervisor right?
>
> Sadly, this link does not helped either:
>
> http://blogs.sun.com/mrj/entry/installing_opensolaris_on
>
> The next link:
>
> http://osholes.blogspot.com/2008/10/hypervisor-to-go.html
>
> seemed to indicate something, but no concreate implementation details.
>
> Can someone help or point me in some directions?
>
>
>
> Thanks.
>
>
>
> --
> Regards,
> Peter Teoh
>



-- 
Regards,
Peter Teoh

Reply via email to