about pvgrub
fdisk -l:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b3ff212
Device Boot Start End Blocks Id System /dev/sda1 1 10 80293+ de Dell Utility /dev/sda2 11 6146 49287420 7 HPFS/NTFS /dev/sda3 6147 6538 3148740 82 Linux swap / Solaris /dev/sda4 * 6539 14593 64701787+ f W95 Ext'd (LBA) /dev/sda5 11761 14593 22756041 83 Linux /dev/sda6 6539 11760 41945652 83 Linux
Partition table entries are not in disk order
df :
/dev/sda6 41286768 29801560 9387928 77% /
udev 529448 1048 528400 1% /dev
anything wrong?
best regards,
-- James
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Zhang, Dongdong" <[email protected]> 08年10月10日 下午 14:55 >>>
James,
if you see "grubdom>", this maybe grub can't find its config file Check your harddisk partition number to make sure that is correct or
check the position of grub config file
Regards,
Dongdong Zhang
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of James Song
Sent: 2008年10月10日 14:47
To: [email protected]
Cc: [email protected]
Subject: 答复: Re: [Xen-devel] about pvgrub
Thank Zhigang Wang for your response. I have test pvgrub with this config file:
#pv-config
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
disk = [ 'file:/var/lib/xen/images/opensuse11-1/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
root = "/dev/sda5 ro"
start pvgrub with "xm cr pv-config -c"
only see the grub command line like this:
GNU GRUB version 0.97 (524288K lower / 0K upper memory)
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grubdom>
what's wrong?
--- Song Wei
best regards,
-- James
Quoted 1 line
Quoted 1 line
Quoted 1 line
Zhigang Wang <[email protected]> 08年10月09日 下午 19:20 >>>
This should due to the bad virtual framebuffer support in xenfb.
see bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1365
you can try without:
Quoted 1 line
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]
zhigang
Quoted 2 lines · James Song
Hi,
I test pvgrub on xen-3.3.0. After starting pvgrub with "xm cr
xmexample.pv-grub", I can see nothing but qemu window. With "xm li" , I can see this domain is running:
Quoted 1 line
Name ID Mem VCPUs
State Time(s)
Quoted 1 line
Domain-0 0 1024 2
r----- 173.0
Quoted 1 line
ExampleDomain 3 512 1
r----- 18.7
Quoted 18 lines
#config file
kernel = "/usr/lib/xen/boot/pv-grub.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
boot = "d"
disk = [ 'file:/var/lib/xen/images/opensuse11/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]#grub file
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: xen### title Xen -- openSUSE 11.0 - 2.6.26-14
Quoted 3 lines
root (hd0,5)
kernel /boot/xen.gz dom0_mem=1024M
module /boot/vmlinuz-2.6.26-14-xenroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
module /boot/initrd-2.6.26-14-xen###Don't change this comment - YaST2 identifier: Original name:
linux###
Quoted 3 lines
title openSUSE 11.0 - 2.6.25.5-1.1 (pae)
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-pae
root=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
initrd /boot/initrd-2.6.25.5-1.1-pae###Don't change this comment - YaST2 identifier: Original name:
failsafe###
Quoted 3 lines
title Failsafe -- openSUSE 11.0 - 2.6.25.5-1.1
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-pae
root=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x314
Quoted 4 lines
initrd /boot/initrd-2.6.25.5-1.1-paethe messge " xm dmesg", from the message , it's seems that hvmdom
have not running.
Quoted 3 lines
(XEN) Xen version 3.3.0_18314_02-5 (james@site) (gcc version 4.3.1
20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) Wed Oct 8 11:55:57 CST 2008
Quoted 18 lines
(XEN) Latest ChangeSet: 18314
(XEN) Command line: dom0_mem=1024M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:(XEN) 0000000000000000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 0000000000100000 - 000000007f65b800 (usable) (XEN) 000000007f65b800 - 0000000080000000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) > (XEN) 00000000feda0000 - 00000000feda6000 (reserved) (XEN) 00000000fee00000 - 00000000fee10000 (reserved) (XEN) 00000000ffe00000 - 0000000100000000 (reserved)
Quoted 3 lines
(XEN) System RAM: 2037MB (2086888kB)
(XEN) ACPI: RSDP 000FBB00, 0024 (r2 DELL )
(XEN) ACPI: XSDT 7F65D200, 0064 (r1 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: FACP 7F65D09C, 00F4 (r4 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: DSDT 7F65D800, 614C (r2 INT430 SYSFexxx 1001 INTL
20050624)
Quoted 2 lines
(XEN) ACPI: FACS 7F66C000, 0040
(XEN) ACPI: HPET 7F65D300, 0038 (r1 DELL M08 1 ASL
61)
Quoted 1 line
(XEN) ACPI: APIC 7F65D400, 0068 (r1 DELL M08 27D80614 ASL
47)
Quoted 1 line
(XEN) ACPI: ASF! 7F65D000, 007E (r32 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: MCFG 7F65D3C0, 003E (r16 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: TCPA 7F65D700, 0032 (r1 0 ASL
0)
Quoted 1 line
(XEN) ACPI: SLIC 7F65D49C, 0176 (r1 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: SSDT 7F65B9C0, 04CC (r1 PmRef CpuPm 3000 INTL
20050624)
Quoted 10 lines
(XEN) Xen heap: 9MB (9768kB)
(XEN) Domain heap initialised
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]:apic_id2, version 32, address0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 1995.097 MHz processor.
(XEN) HVM: VMX enabled
(XEN) CPU0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping
0d
Quoted 2 lines
(XEN) Booting processor 1/1 eip 8c000
(XEN) CPU1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping
0d
Quoted 4 lines
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using old ACK method
(XEN) checking TSC synchronization across 2 CPUs: passed.
Quoted 8 lines
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 32-bit, PAE, lsb
(XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr0x100000->0x554000(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000003c000000->000000003e000000 (253952 pages
to be allocated)
Quoted 9 lines
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: c0100000->c0554000 (XEN) Init. ramdisk: c0554000->c0f35e00 (XEN) Phys-Mach map: c0f36000->c1036000 (XEN) Start info: c1036000->c1036474 (XEN) Page tables: c1037000->c1046000 (XEN) Boot stack: c1046000->c1047000 (XEN) TOTAL: c0000000->c1400000 (XEN) ENTRY ADDRESS: c0100000
Quoted 7 lines
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: ..........done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen)
Quoted 6 lines
(XEN) Freed 104kB init memory
what's wrong I make?
Quoted 7 lines
best regards,
-- James_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: pvgrub
Quoted 19 lines · James Song
fdisk -l:
Disk
/dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier:0x4b3ff212Device Boot Start End Blocks Id System /dev/sda1 1 10 80293+ de Dell Utility /dev/sda2 11 6146 49287420 7 HPFS/NTFS /dev/sda3 6147 6538 3148740 82 Linux swap / Solaris /dev/sda4 * 6539 14593 64701787+ f W95 Ext'd (LBA) /dev/sda5 11761 14593 22756041 83 Linux /dev/sda6 6539 11760 41945652 83 LinuxPartition table entries are not in disk order
Quoted 6 lines
df :
/dev/sda641286768 29801560 9387928 77% /
udev 529448 1048 528400 1% /devanything wrong?
does "(hd0,5)/boot/grub/menu.lst" exist?
you can try:
grubdom>configfile (hd0,5)/boot/grub/menu.lst
because:
Quoted 1 line
Partition table entries are not in disk order
I'm not sure whether it will affect grub to determine the disk order. please
try: (hd0,4)/boot/grub/menu.lst
thanks,
zhigang
Quoted 232 lines
best regards,
-- JamesQuoted 1 line
Quoted 1 line
Quoted 1 line
"Zhang, Dongdong" <[email protected]> 08��10��10�� ���� 14:55 >>>
James,
if you see "grubdom>", this maybe grub can't find its config file Check your harddisk partition number to make sure that is correct or
check the position of grub config fileRegards,
Dongdong Zhang-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of James Song
Sent: 2008��10��10�� 14:47
To: [email protected]
Cc: [email protected]
Subject: �� Re: [Xen-devel] about pvgrubThank Zhigang Wang for your response. I have test pvgrub with this config file:
#pv-config
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
disk = [ 'file:/var/lib/xen/images/opensuse11-1/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
root = "/dev/sda5ro"start pvgrub with "xm cr pv-config -c"
only see the grub command line like this:
GNU GRUB version 0.97 (524288K lower / 0K upper memory)[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible completions of a device/filename. ]grubdom>
what's wrong?
--- Song Wei
best regards,
-- JamesQuoted 1 line
Quoted 1 line
Quoted 1 line
Zhigang Wang <[email protected]> 08��10��09�� ���� 19:20 >>>
This should due to the bad virtual framebuffer support in xenfb.
see bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1365
you can try without:
Quoted 1 line
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]
zhigang
Quoted 2 lines · James Song
Hi,
I test pvgrub on xen-3.3.0. After starting pvgrub with "xm crxmexample.pv-grub", I can see nothing but qemu window. With "xm li" , I can see this domain is running:
Quoted 1 line
Name ID Mem VCPUs
State Time(s)
Quoted 1 line
Domain-0 0 1024 2
r----- 173.0Quoted 1 line
ExampleDomain 3 512 1
r----- 18.7
Quoted 17 lines
#config file
kernel = "/usr/lib/xen/boot/pv-grub.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
boot = "d"
disk = [ 'file:/var/lib/xen/images/opensuse11/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]#grub file
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: xen### title Xen -- openSUSE 11.0 - 2.6.26-14Quoted 3 lines
root (hd0,5) kernel /boot/xen.gz dom0_mem=1024M module /boot/vmlinuz-2.6.26-14-xenroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
module /boot/initrd-2.6.26-14-xen###Don't change this comment - YaST2 identifier: Original name:
linux###
Quoted 3 lines
title openSUSE 11.0 - 2.6.25.5-1.1 (pae)
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-paeroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
initrd /boot/initrd-2.6.25.5-1.1-pae###Don't change this comment - YaST2 identifier: Original name:
failsafe###
Quoted 3 lines
title Failsafe -- openSUSE 11.0 - 2.6.25.5-1.1
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-paeroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x314
Quoted 4 lines
initrd /boot/initrd-2.6.25.5-1.1-paethe messge " xm dmesg", from the message , it's seems that hvmdom
have not running.
Quoted 2 lines
(XEN) Xen version 3.3.0_18314_02-5 (james@site) (gcc version 4.3.1
20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) Wed Oct 8 11:55:57 CST 2008
Quoted 18 lines
(XEN) Latest ChangeSet: 18314
(XEN) Command line: dom0_mem=1024M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:(XEN) 0000000000000000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 0000000000100000 - 000000007f65b800 (usable) (XEN) 000000007f65b800 - 0000000080000000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) > (XEN) 00000000feda0000 - 00000000feda6000 (reserved) (XEN) 00000000fee00000 - 00000000fee10000 (reserved) (XEN) 00000000ffe00000 - 0000000100000000 (reserved)Quoted 3 lines
(XEN) System RAM: 2037MB (2086888kB)
(XEN) ACPI: RSDP 000FBB00, 0024 (r2 DELL )
(XEN) ACPI: XSDT 7F65D200, 0064 (r1 DELL M08 27D80614 ASL61)
Quoted 1 line
(XEN) ACPI: FACP 7F65D09C, 00F4 (r4 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: DSDT 7F65D800, 614C (r2 INT430 SYSFexxx 1001 INTL
20050624)
Quoted 2 lines
(XEN) ACPI: FACS 7F66C000, 0040
(XEN) ACPI: HPET 7F65D300, 0038 (r1 DELL M08 1 ASL61)
Quoted 1 line
(XEN) ACPI: APIC 7F65D400, 0068 (r1 DELL M08 27D80614 ASL
47)
Quoted 1 line
(XEN) ACPI: ASF! 7F65D000, 007E (r32 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: MCFG 7F65D3C0, 003E (r16 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: TCPA 7F65D700, 0032 (r1 0 ASL
0)
Quoted 1 line
(XEN) ACPI: SLIC 7F65D49C, 0176 (r1 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: SSDT 7F65B9C0, 04CC (r1 PmRef CpuPm 3000 INTL
20050624)
Quoted 10 lines
(XEN) Xen heap: 9MB (9768kB)
(XEN) Domain heap initialised
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]:apic_id2, version 32, address0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 1995.097 MHz processor.
(XEN) HVM: VMX enabled
(XEN) CPU0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping0d
Quoted 2 lines
(XEN) Booting processor 1/1 eip 8c000
(XEN) CPU1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping0d
Quoted 4 lines
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using old ACK method
(XEN) checking TSC synchronization across 2 CPUs: passed.Quoted 8 lines
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 32-bit, PAE, lsb
(XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr0x100000->0x554000(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000003c000000->000000003e000000 (253952 pagesto be allocated)
Quoted 9 lines
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: c0100000->c0554000 (XEN) Init. ramdisk: c0554000->c0f35e00 (XEN) Phys-Mach map: c0f36000->c1036000 (XEN) Start info: c1036000->c1036474 (XEN) Page tables: c1037000->c1046000 (XEN) Boot stack: c1046000->c1047000 (XEN) TOTAL: c0000000->c1400000 (XEN) ENTRY ADDRESS: c0100000Quoted 7 lines
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: ..........done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switchinput to Xen)
Quoted 6 lines
(XEN) Freed 104kB init memory
what's wrong I make?
Quoted 7 lines
best regards,
-- James_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
RE: pvgrub
Quoted 2 lines
extra = "(hd0,5)/boot/grub/menu.lst"
(hd0,5) that's /dev/sda6
grubdom>configfile (hd0, ## now you can try to used "tab" to select the partition you want
Regards,
Dongdong Zhang
-----Original Message-----
From: Zhigang Wang [mailto:[email protected]]
Sent: 2008年10月10日 15:31
To: James Song
Cc: Zhang, Dongdong; [email protected]
Subject: Re: pvgrub
Quoted 19 lines · James Song
fdisk -l:
Disk
/dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier:0x4b3ff212Device Boot Start End Blocks Id System /dev/sda1 1 10 80293+ de Dell Utility /dev/sda2 11 6146 49287420 7 HPFS/NTFS /dev/sda3 6147 6538 3148740 82 Linux swap / Solaris /dev/sda4 * 6539 14593 64701787+ f W95 Ext'd (LBA) /dev/sda5 11761 14593 22756041 83 Linux /dev/sda6 6539 11760 41945652 83 LinuxPartition table entries are not in disk order
Quoted 6 lines
df :
/dev/sda641286768 29801560 9387928 77% /
udev 529448 1048 528400 1% /devanything wrong?
does "(hd0,5)/boot/grub/menu.lst" exist?
you can try:
grubdom>configfile (hd0,5)/boot/grub/menu.lst
because:
Quoted 1 line
Partition table entries are not in disk order
I'm not sure whether it will affect grub to determine the disk order. please
try: (hd0,4)/boot/grub/menu.lst
thanks,
zhigang
Quoted 227 lines
best regards,
-- JamesQuoted 1 line
Quoted 1 line
Quoted 1 line
"Zhang, Dongdong" <[email protected]> 08 10 10 14:55 >>>
James,
if you see "grubdom>", this maybe grub can't find its config file Check your harddisk partition number to make sure that is correct or
check the position of grub config fileRegards,
Dongdong Zhang-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of James Song
Sent: 2008 10 10 14:47
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] about pvgrubThank Zhigang Wang for your response. I have test pvgrub with this config file:
#pv-config
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
disk = [ 'file:/var/lib/xen/images/opensuse11-1/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
root = "/dev/sda5ro"start pvgrub with "xm cr pv-config -c"
only see the grub command line like this:
GNU GRUB version 0.97 (524288K lower / 0K upper memory)[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible completions of a device/filename. ]grubdom>
what's wrong?
--- Song Wei
best regards,
-- JamesQuoted 1 line
Quoted 1 line
Quoted 1 line
Zhigang Wang <[email protected]> 08 10 09 19:20 >>>
This should due to the bad virtual framebuffer support in xenfb.
see bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1365
you can try without:
Quoted 1 line
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]
zhigang
Quoted 2 lines · James Song
Hi,
I test pvgrub on xen-3.3.0. After starting pvgrub with "xm crxmexample.pv-grub", I can see nothing but qemu window. With "xm li" , I can see this domain is running:
Quoted 1 line
Name ID Mem VCPUs
State Time(s)
Quoted 1 line
Domain-0 0 1024 2
r----- 173.0Quoted 1 line
ExampleDomain 3 512 1
r----- 18.7
Quoted 17 lines
#config file
kernel = "/usr/lib/xen/boot/pv-grub.gz"
extra = "(hd0,5)/boot/grub/menu.lst"
memory = 512
name = "ExampleDomain"
boot = "d"
disk = [ 'file:/var/lib/xen/images/opensuse11/disk0,xvda,w' ] vif = [ "bridge=eth0" ]
vfb = [ 'type=vnc,vnclisten=127.0.0.1,vncdisplay=1' ]#grub file
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: xen### title Xen -- openSUSE 11.0 - 2.6.26-14Quoted 3 lines
root (hd0,5) kernel /boot/xen.gz dom0_mem=1024M module /boot/vmlinuz-2.6.26-14-xenroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
module /boot/initrd-2.6.26-14-xen###Don't change this comment - YaST2 identifier: Original name:
linux###
Quoted 3 lines
title openSUSE 11.0 - 2.6.25.5-1.1 (pae)
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-paeroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 resume=/dev/sda3 splash=silent showopts vga=0x314
Quoted 3 lines
initrd /boot/initrd-2.6.25.5-1.1-pae###Don't change this comment - YaST2 identifier: Original name:
failsafe###
Quoted 3 lines
title Failsafe -- openSUSE 11.0 - 2.6.25.5-1.1
root (hd0,5) kernel /boot/vmlinuz-2.6.25.5-1.1-paeroot=/dev/disk/by-id/scsi-SATA_ST9120823ASG_5NJ0WTL5-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x314
Quoted 4 lines
initrd /boot/initrd-2.6.25.5-1.1-paethe messge " xm dmesg", from the message , it's seems that hvmdom
have not running.
Quoted 2 lines
(XEN) Xen version 3.3.0_18314_02-5 (james@site) (gcc version 4.3.1
20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) Wed Oct 8 11:55:57 CST 2008
Quoted 18 lines
(XEN) Latest ChangeSet: 18314
(XEN) Command line: dom0_mem=1024M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:(XEN) 0000000000000000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 0000000000100000 - 000000007f65b800 (usable) (XEN) 000000007f65b800 - 0000000080000000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) > (XEN) 00000000feda0000 - 00000000feda6000 (reserved) (XEN) 00000000fee00000 - 00000000fee10000 (reserved) (XEN) 00000000ffe00000 - 0000000100000000 (reserved)Quoted 3 lines
(XEN) System RAM: 2037MB (2086888kB)
(XEN) ACPI: RSDP 000FBB00, 0024 (r2 DELL )
(XEN) ACPI: XSDT 7F65D200, 0064 (r1 DELL M08 27D80614 ASL61)
Quoted 1 line
(XEN) ACPI: FACP 7F65D09C, 00F4 (r4 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: DSDT 7F65D800, 614C (r2 INT430 SYSFexxx 1001 INTL
20050624)
Quoted 2 lines
(XEN) ACPI: FACS 7F66C000, 0040
(XEN) ACPI: HPET 7F65D300, 0038 (r1 DELL M08 1 ASL61)
Quoted 1 line
(XEN) ACPI: APIC 7F65D400, 0068 (r1 DELL M08 27D80614 ASL
47)
Quoted 1 line
(XEN) ACPI: ASF! 7F65D000, 007E (r32 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: MCFG 7F65D3C0, 003E (r16 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: TCPA 7F65D700, 0032 (r1 0 ASL
0)
Quoted 1 line
(XEN) ACPI: SLIC 7F65D49C, 0176 (r1 DELL M08 27D80614 ASL
61)
Quoted 1 line
(XEN) ACPI: SSDT 7F65B9C0, 04CC (r1 PmRef CpuPm 3000 INTL
20050624)
Quoted 10 lines
(XEN) Xen heap: 9MB (9768kB)
(XEN) Domain heap initialised
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]:apic_id2, version 32, address0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 1995.097 MHz processor.
(XEN) HVM: VMX enabled
(XEN) CPU0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping0d
Quoted 2 lines
(XEN) Booting processor 1/1 eip 8c000
(XEN) CPU1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz stepping0d
Quoted 4 lines
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using old ACK method
(XEN) checking TSC synchronization across 2 CPUs: passed.Quoted 8 lines
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 32-bit, PAE, lsb
(XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr0x100000->0x554000(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000003c000000->000000003e000000 (253952 pagesto be allocated)
Quoted 9 lines
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: c0100000->c0554000 (XEN) Init. ramdisk: c0554000->c0f35e00 (XEN) Phys-Mach map: c0f36000->c1036000 (XEN) Start info: c1036000->c1036474 (XEN) Page tables: c1037000->c1046000 (XEN) Boot stack: c1046000->c1047000 (XEN) TOTAL: c0000000->c1400000 (XEN) ENTRY ADDRESS: c0100000Quoted 7 lines
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: ..........done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switchinput to Xen)
Quoted 6 lines
(XEN) Freed 104kB init memory
what's wrong I make?
Quoted 7 lines
best regards,
-- James_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel