WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Guest boot problem on centOS 5.4

To: Akshay Joglekar <akshayj_18@xxxxxxxxxxx>
Subject: Re: [Xen-users] Guest boot problem on centOS 5.4
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 2 Mar 2010 08:57:47 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Mar 2010 22:59:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <806036.60535.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20100301074212.GK2761@xxxxxxxxxxx> <806036.60535.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Mar 02, 2010 at 05:43:49AM +0530, Akshay Joglekar wrote:
>    Hi Pasi,
> 
>    Thanks for the reply.
> 
>    Output of virtinstall --prompt:
> 
>     What is the name of your virtual machine? vm01
>     How much RAM should be allocated (in megabytes)? 256
>     What would you like to use as the disk (file path)? /vm/vm01.img
>     How large would you like the disk (/vm/vm01.img) to be (in gigabytes)? 4
>     What is the virtual CD image, CD device or install location?
>    http://www.gtlib.gatech.edu/pub/centos/5.4/os/i386/
> 
>    Actually, right now I am in the following state:
> 
>    The /vm/vm01.img has been created and the file /etc/xen/vm01 has following
>    contents
> 
>    name = "vm01"
>    uuid = "c854a111-c1dd-8af7-21f5-eb4aff41c66d"
>    maxmem = 256
>    memory = 256
>    vcpus = 1
>    bootloader = "/usr/bin/pygrub"
>    on_poweroff = "destroy"
>    on_reboot = "restart"
>    on_crash = "restart"
>    vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
>    disk = [ "tap:aio:/vm/vm01.img,xvda,w" ]
>    vif = [ "mac=00:16:36:57:89:23,bridge=xenbr0,script=vif-bridge" ]
> 
>    Following is the output of xm list and xm create at this stage:
> 
>    [root@localhost akshay]# /usr/sbin/xm list
>    Name                                      ID Mem(MiB) VCPUs State
>    Time(s)
>    Domain-0                                   0     1739     2 r-----
>    45.1
> 
>    [root@localhost akshay]# /usr/sbin/xm create /etc/xen/vm01
>    Using config file "/etc/xen/vm01".
>    Traceback (most recent call last):
>      File "/usr/bin/pygrub", line 677, in ?
>        fs = fsimage.open(file, get_fs_offset(file))
>    IOError: [Errno 95] Operation not supported
>    No handlers could be found for logger "xend"
>    Error: Boot loader didn't return any data!
>    Usage: xm create <ConfigFile> [options] [vars]
> 
>    .I restarted the xend daemon, but I again get the above output.
> 

read "xm log" output, maybe you have more information there..

It sounds like the installer/installation failed, so then you
can't do "xm create".. since there's nothing in the disk image.

-- Pasi

>    Akshay
> 
>    --- On Mon, 1/3/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> 
>      From: Pasi Kärkkäinen <pasik@xxxxxx>
>      Subject: Re: [Xen-users] Guest boot problem on centOS 5.4
>      To: "Akshay Joglekar" <akshayj_18@xxxxxxxxxxx>
>      Cc: xen-users@xxxxxxxxxxxxxxxxxxx
>      Date: Monday, 1 March, 2010, 1:12 PM
> 
>      On Mon, Mar 01, 2010 at 12:05:35PM +0530, Akshay Joglekar wrote:
>      >    Hi all,
>      >
>      >    I am using a centOS 5.4 system with Xen installed.
>      >
>      >    When I try to create a new VM instance in dom0 using virt-install,
>      the
>      >    process hangs up at:
>      >
>      >    Write protecting the kernel read-only data: 390k
>      >
>      >    Following is the complete output:
>      >
>      >    Linux version 2.6.18-164.el5xen ([1]mockbuild@xxxxxxxxxxxxxxxxxxxx)
>      (gcc
>      >    version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3
>      04:47:32 EDT
>      >    2009
>      >    BIOS-provided physical RAM map:
>      >     Xen: 0000000000000000 - 0000000010800000 (usable)
>      >    0MB HIGHMEM available.
>      >    264MB LOWMEM available.
>      >    NX (Execute Disable) protection: active
>      >    ACPI in unprivileged domain disabled
>      >    Built 1 zonelists.  Total pages: 67584
>      >    Kernel command line:
>      >    method=[2]http://www.gtlib.gatech.edu/pub/centos/5.4/os/i386/
>      >    Enabling fast FPU save and restore... done.
>      >    Enabling unmasked SIMD FPU exception support... done.
>      >    Initializing CPU#0
>      >    CPU 0 irqstacks, hard=c0750000 soft=c0730000
>      >    PID hash table entries: 2048 (order: 11, 8192 bytes)
>      >    Xen reported: 1995.001 MHz processor.
>      >    Console: colour dummy device 80x25
>      >    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
>      >    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
>      >    Software IO TLB disabled
>      >    vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000
>      >    Memory: 246016k/270336k available (2162k kernel code, 15832k
>      reserved,
>      >    887k data, 176k init, 0k highmem)
>      >    Checking if this processor honours the WP bit even in supervisor
>      mode...
>      >    Ok.
>      >    Calibrating delay using timer specific routine.. 4990.95 BogoMIPS
>      >    (lpj=9981902)
>      >    Security Framework v1.0.0 initialized
>      >    SELinux:  Initializing.
>      >    selinux_register_security:  Registering secondary module capability
>      >    Capability LSM initialized as secondary
>      >    Mount-cache hash table entries: 512
>      >    CPU: L1 I cache: 32K, L1 D cache: 32K
>      >    CPU: L2 cache: 1024K
>      >    Checking 'hlt' instruction... OK.
>      >    SMP alternatives: switching to UP code
>      >    Freeing SMP alternatives: 13k freed
>      >    Brought up 1 CPUs
>      >    checking if image is initramfs... it is
>      >    Freeing initrd memory: 8464k freed
>      >    Grant table initialized
>      >    NET: Registered protocol family 16
>      >    Brought up 1 CPUs
>      >    PCI: setting up Xen PCI frontend stub
>      >    ACPI: Interpreter disabled.
>      >    Linux Plug and Play Support v0.97 (c) Adam Belay
>      >    pnp: PnP ACPI: disabled
>      >    xen_mem: Initialising balloon driver.
>      >    usbcore: registered new driver usbfs
>      >    usbcore: registered new driver hub
>      >    PCI: System does not support PCI
>      >    PCI: System does not support PCI
>      >    NetLabel: Initializing
>      >    NetLabel:  domain hash size = 128
>      >    NetLabel:  protocols = UNLABELED CIPSOv4
>      >    NetLabel:  unlabeled traffic allowed by default
>      >    NET: Registered protocol family 2
>      >    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
>      >    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
>      >    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
>      >    TCP: Hash tables configured (established 16384 bind 8192)
>      >    TCP reno registered
>      >    audit: initializing netlink socket (disabled)
>      >    type=2000 audit(1267422085.998:1): initialized
>      >    VFS: Disk quotas dquot_6.5.1
>      >    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>      >    Initializing Cryptographic API
>      >    alg: No test for crc32c (crc32c-generic)
>      >    ksign: Installing public key data
>      >    Loading keyring
>      >    - Added public key 581431131FF6A527
>      >    - User ID: CentOS (Kernel Module GPG key)
>      >    io scheduler noop registered
>      >    io scheduler anticipatory registered
>      >    io scheduler deadline registered
>      >    io scheduler cfq registered (default)
>      >    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>      >    rtc: IRQ 8 is not free.
>      >    Non-volatile memory driver v1.2
>      >    Linux agpgart interface v0.101 (c) Dave Jones
>      >    brd: module loaded
>      >    Xen virtual console successfully installed as xvc0
>      >    Event-channel device installed.
>      >    Console: switching to colour frame buffer device 100x37
>      >    input: Xen Virtual Keyboard/Mouse as /class/input/input0
>      >    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>      >    ide: Assuming 50MHz system bus speed for PIO modes; override with
>      >    idebus=xx
>      >    ide-floppy driver 0.99.newide
>      >    usbcore: registered new driver hiddev
>      >    usbcore: registered new driver usbhid
>      >    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
>      >    PNP: No PS/2 controller found. Probing ports directly.
>      >    i8042.c: No controller found.
>      >    mice: PS/2 mouse device common for all mice
>      >    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
>      >    md: bitmap version 4.39
>      >    TCP bic registered
>      >    Initializing IPsec netlink socket
>      >    NET: Registered protocol family 1
>      >    NET: Registered protocol family 17
>      >    Using IPI No-Shortcut mode
>      >    XENBUS: Device with no driver: device/vbd/51712
>      >    XENBUS: Device with no driver: device/vif/0
>      >    Initalizing network drop monitor service
>      >    Freeing unused kernel memory: 176k freed
>      >    Write protecting the kernel read-only data: 390k
>      >
>      >    Can someone please help me out? Thanks in advance.
>      >
> 
>      So it doesn't start initrd execution?
>      Try restarting xenconsoled in dom0 and see if that helps.
> 
>      Also please paste your virt-install cmdline.
> 
>      -- Pasi
> 
>    --------------------------------------------------------------------------
> 
>    The INTERNET now has a personality. YOURS! [3]See your Yahoo! Homepage.
> 
> References
> 
>    Visible links
>    1. file:///mc/compose?to=mockbuild@xxxxxxxxxxxxxxxxxxxx
>    2. http://www.gtlib.gatech.edu/pub/centos/5.4/os/i386/
>    3. http://in.rd.yahoo.com/tagline_yyi_1/*http:/in.yahoo.com/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>