[Fedora-xen] pygrub failed
Winston Chang
winston at stdout.org
Sun Apr 2 16:28:38 UTC 2006
I believe the error "Error: Error creating domain: The privileged
domain did not balloon!" happens when you don't have enough available
memory for the domU to boot. The xenguest-install.py script tells
you to restart the domain by running "xm create -c xxxx', but I think
the error message is just a generic one that is printed if the script
crashes out, and it it is the wrong thing to do in this case.
When I had the same problem, I had to allocate less memory to dom0
and re-run the xenguest-install script. I see you have about 196MB
of RAM. Since the FC5 script needs 256MB of RAM, I don't think
you'll be able to install it unless you increase the amount of RAM
you have. But since the machine is a virtual one in VMWare, this
shouldn't be too difficult.
--Winston
On Apr 2, 2006, at 7:49 AM, Jun OKAJIMA wrote:
>
> Hello, FC5 Xen folks.
>
> When I tried to install Xen3.0 on FC5, it has failed in making a
> guest OS image.
> It seems to be because that pygrub.py can not recognize my dom0
> menu.lst correctly.
> Or, maybe it is wrong that I used LVM, but this is default of
> current FC5 (Why?).
>
> BTW, I am testing FC5 Xen dom0 on VMware 5.5.1, and it runs, although
> many guys have reported that it has a lot of trouble.
> For me, the problem is not VMware or dom0, but installer of domU.
>
> Any help?
>
> --- Okajima, Jun. Tokyo, Japan.
>
>
>
> ---------------------------
>
> [root at localhost ~]# xm list
> Name ID Mem(MiB) VCPUs State Time(s)
> Domain-0 0 164 1 r----- 427.8
> [root at localhost ~]# xenguest-install.py
> What is the name of your virtual machine? FC5_1
> How much RAM should be allocated (in megabytes)? 256
> What would you like to use as the disk (path)? /XEN/FC5_1.img
> What is the install location? http://ring.sakura.ad.jp/archives/
> linux/fedora/linux/core/5/i386/os/
>
>
> Starting install...
> Using config file "/etc/xen/FC5_1".
> Error: Error creating domain: The privileged domain did not balloon!
> If your install has exited, you can restart your guest by running
> 'xm create -c FC5_1'. Otherwise, you can reconnect to the console
> by running 'xm console FC5_1'
> [root at localhost ~]# xm create -c FC5_1
> Using config file "/etc/xen/FC5_1".
> Traceback (most recent call last):
> File "/usr/bin/pygrub", line 256, in ?
> cf = get_config(file, isconfig)
> File "/usr/bin/pygrub", line 139, in get_config
> raise RuntimeError, "Unable to read filesystem"
> RuntimeError: Unable to read filesystem
> Error: Boot loader didn't return any data!
> [root at localhost ~]# cat /etc/xen/
> FC5_1 scripts/ xmexample.vti
> auto/ xend-config.sxp xmexample1
> qemu-ifup xmexample.hvm xmexample2
> [root at localhost ~]# cat /etc/xen/FC5_1
> # Automatically generated xen config file
> name = "FC5_1"
> memory = "256"
> disk = [ 'file:/XEN/FC5_1.img,xvda,w' ]
> vif = [ 'mac=00:16:3e:60:8f:ea' ]
> bootloader="/usr/bin/pygrub"
>
> on_reboot = 'restart'
> on_crash = 'restart'
> [root at localhost ~]# cat /boot/grub/menu.lst
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to
> this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,0)
> # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> # initrd /initrd-version.img
> #boot=/dev/hda
> default=2
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.6.16-1.2080_FC5xenU)
> root (hd0,0)
> kernel /vmlinuz-2.6.16-1.2080_FC5xenU ro root=/dev/
> VolGroup00/LogVol00 rhgb quiet
> initrd /initrd-2.6.16-1.2080_FC5xenU.img
> title Fedora Core (2.6.16-1.2080_FC5xen0)
> root (hd0,0)
> kernel /xen.gz-2.6.16-1.2080_FC5
> module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/
> VolGroup00/LogVol00 rhgb quiet
> module /initrd-2.6.16-1.2080_FC5xen0.img
> title Fedora Core (2.6.16-1.2080_FC5)
> root (hd0,0)
> kernel /vmlinuz-2.6.16-1.2080_FC5 ro root=/dev/VolGroup00/
> LogVol00 rhgb quiet
> initrd /initrd-2.6.16-1.2080_FC5.img
> title Fedora Core (2.6.15-1.2054_FC5)
> root (hd0,0)
> kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/
> LogVol00 rhgb quiet
> initrd /initrd-2.6.15-1.2054_FC5.img
> [root at localhost ~]# cat /proc/partitions
> major minor #blocks name
>
> 3 0 8388608 hda
> 3 1 104391 hda1
> 3 2 8281507 hda2
> 253 0 7831552 dm-0
> 253 1 393216 dm-1
> [root at localhost ~]# xm dmesg
> __ __ _____ ___ ___
> \ \/ /___ _ __ |___ / / _ \ / _ \
> \ // _ \ '_ \ |_ \| | | | | | |
> / \ __/ | | | ___) | |_| | |_| |
> /_/\_\___|_| |_| |____(_)___(_)___/
>
> http://www.cl.cam.ac.uk/netos/xen
> University of Cambridge Computer Laboratory
>
> Xen version 3.0.0 (bhcompile at build.redhat.com) (gcc version 4.1.0
> 20060304 (Red Hat 4.1.0-3)) Tue
> Mar 28 03:35:03 EST 2006
> Latest ChangeSet: unavailable
>
> (XEN) Physical RAM map:
> (XEN) 0000000000000000 - 000000000009f800 (usable)
> (XEN) 000000000009f800 - 00000000000a0000 (reserved)
> (XEN) 00000000000dc000 - 0000000000100000 (reserved)
> (XEN) 0000000000100000 - 000000000bef0000 (usable)
> (XEN) 000000000bef0000 - 000000000befc000 (ACPI data)
> (XEN) 000000000befc000 - 000000000bf00000 (ACPI NVS)
> (XEN) 000000000bf00000 - 000000000c000000 (usable)
> (XEN) 00000000fec00000 - 00000000fec10000 (reserved)
> (XEN) 00000000fee00000 - 00000000fee01000 (reserved)
> (XEN) 00000000fffe0000 - 0000000100000000 (reserved)
> (XEN) System RAM: 191MB (196156kB)
> (XEN) Xen heap: 10MB (10344kB)
> (XEN) Using scheduler: Simple EDF Scheduler (sedf)
> (XEN) PAE disabled.
> (XEN) found SMP MP-table at 000f6ce0
> (XEN) DMI present.
> (XEN) Using APIC driver default
> (XEN) ACPI: RSDP (v000 PTLTD ) @
> 0x000f6c70
> (XEN) ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000)
> @ 0x0bef7c02
> (XEN) ACPI: FADT (v001 INTEL 440BX 0x06040000 PTL 0x000f4240)
> @ 0x0befbf14
> (XEN) ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000)
> @ 0x0befbf88
> (XEN) ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001)
> @ 0x0befbfd8
> (XEN) ACPI: DSDT (v001 PTLTD Custom 0x06040000 MSFT 0x0100000d)
> @ 0x00000000
> (XEN) ACPI: Local APIC address 0xfee00000
> (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> (XEN) Processor #0 15:12 APIC version 17
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> (XEN) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> (XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
> (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
> (XEN) ACPI: IRQ0 used by override.
> (XEN) ACPI: IRQ2 used by override.
> (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
> (XEN) Using ACPI (MADT) for SMP configuration information
> (XEN) Initializing CPU#0
> (XEN) Detected 1599.572 MHz processor.
> (XEN) CPU0: AMD Flush Filter disabled
> (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/
> line)
> (XEN) CPU: L2 Cache: 128K (64 bytes/line)
> (XEN) Intel machine check architecture supported.
> (XEN) Intel machine check reporting enabled on CPU#0.
> (XEN) CPU0: AMD Sempron(tm) Processor 2600+ stepping 02
> (XEN) Total of 1 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN) ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
> (XEN) Platform timer is 1.193MHz PIT
> (XEN) Brought up 1 CPUs
> (XEN) Machine check exception polling timer started.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Domain 0 kernel supports features = { 0000001f }.
> (XEN) Domain 0 kernel requires features = { 00000000 }.
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN) Dom0 alloc.: 0a000000->0b000000 (37859 pages to be allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN) Loaded kernel: c0100000->c0455b7c
> (XEN) Init. ramdisk: c0456000->c07e2200
> (XEN) Phys-Mach map: c07e3000->c080bf8c
> (XEN) Start info: c080c000->c080d000
> (XEN) Page tables: c080d000->c0811000
> (XEN) Boot stack: c0811000->c0812000
> (XEN) TOTAL: c0000000->c0c00000
> (XEN) ENTRY ADDRESS: c0100000
> (XEN) Dom0 has maximum 1 VCPUs
> (XEN) Initrd len 0x38c200, start at 0xc0456000
> (XEN) Scrubbing Free RAM: ..done.
> (XEN) Xen trace buffers: disabled
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> input to Xen).
>
> [root at localhost ~]# cat /etc/redhat-release
> Fedora Core release 5 (Bordeaux)
> [root at localhost ~]#
>
> --
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen
More information about the Fedora-xen
mailing list