Xen inside Parallels Desktop for Mac (revisit)

Discussion in 'Linux Virtual Machine' started by richramos, Jun 21, 2007.

  1. richramos

    richramos Junior Member

    Messages:
    11
    This is a follow up to the following thread which I found in the archives:
    http://forum.parallels.com/showthread.php?t=3306&highlight=xen

    I know this seems a little weird, but as discussed in the other thread there's some reasons why I'd like to do this. It would seem that there was some success in the past getting Xen working inside Parallels.

    Here's my config:
    PD build: 4128 (3.0, which is latest as of today)
    Xen: 3.1.0 (which has a 2.6.18-xen kernel, also latest as of right now)
    Dom0: Ubuntu 7.04 (also latest as of today)

    When trying to boot Dom0, it would seem like it's not seeing the hard drive. I'll post the boot log next in separate posts, but basically it gets to where it's trying to load the modules and can't. This looks similar to a problem that was discussed in the reference thread. Of course I might just be doing something dumb in my config, so I need to figure out which it is.

    I've tried with both sda and hda as root param just in case (which also confuses me as parallels presents an IDE drive so why do I see sda getting used when successful in the other thread?).

    Any help would be much appreciated!
    Thanks,
    Rich




    Xen config:
    --------------
    title Xen 3.2 / XenLinux 2.6
    kernel /boot/xen-3.1.0.gz dom0_mem=262144 com1=115200,8n1
    module /boot/vmlinuz-2.6.18-xen root=/dev/hda1 ro console=ttyS0
    module /boot/initrd.img-2.6.20-16-generic
     
  2. richramos

    richramos Junior Member

    Messages:
    11
    Boot logs (1st):

    Boot logs:
    ----------
    sda:
    -----
    __ __ _____ _ ___
    \ \/ /___ _ __ |___ / / | / _ \
    \ // _ \ '_ \ |_ \ | || | | |
    / \ __/ | | | ___) || || |_| |
    /_/\_\___|_| |_| |____(_)_(_)___/

    http://www.cl.cam.ac.uk/netos/xen
    University of Cambridge Computer Laboratory

    Xen version 3.1.0 (shand@localdomain) (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)) Fri May 18 15:53:15 BST 2007
    Latest ChangeSet: Fri May 18 15:52:14 2007 +0100 15042:50fe1a769660

    (XEN) Command line: /boot/xen-3.1.0.gz dom0_mem=262144 com1=115200,8n1
    (XEN) 0000000000000000 - 000000000009f000 (usable)
    (XEN) 0000000000100000 - 0000000020000000 (usable)
    (XEN) System RAM: 511MB (523900kB)
    (XEN) ACPI: Unable to locate RSDP
    (XEN) Xen heap: 10MB (10332kB)
    (XEN) Domain heap initialised: DMA width 32 bits
    (XEN) PAE disabled.
    (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
    (XEN) Using scheduler: SMP Credit Scheduler (credit)
    (XEN) Detected 1940.320 MHz processor.
    (XEN) CPU0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping 0a
    (XEN) Mapping cpu 0 to node 255
    (XEN) Platform timer is 1.193MHz PIT
    (XEN) Brought up 1 CPUs
    (XEN) *** LOADING DOMAIN 0 ***
    (XEN) Xen kernel: 32-bit, lsb
    (XEN) Dom0 kernel: 32-bit, lsb, paddr 0xc0100000 -> 0xc0456dbc
    (XEN) PHYSICAL MEMORY ARRANGEMENT:
    (XEN) Dom0 alloc.: 1c000000->1e000000 (57344 pages to be allocated)
    (XEN) VIRTUAL MEMORY ARRANGEMENT:
    (XEN) Loaded kernel: c0100000->c0456dbc
    (XEN) Init. ramdisk: c0457000->c13e4400
    (XEN) Phys-Mach map: c13e5000->c1425000
    (XEN) Start info: c1425000->c142546c
    (XEN) Page tables: c1426000->c142d000
    (XEN) Boot stack: c142d000->c142e000
    (XEN) TOTAL: c0000000->c1800000
    (XEN) ENTRY ADDRESS: c0100000
    (XEN) Dom0 has maximum 1 VCPUs
    (XEN) Initrd len 0xf8d400, start at 0xc0457000
    (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).
    Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
    BIOS-provided physical RAM map:
    Xen: 0000000000000000 - 0000000010800000 (usable)
    0MB HIGHMEM available.
    264MB LOWMEM available.
    DMI not present or invalid.
    ACPI: Unable to locate RSDP
    Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
    Detected 1940.682 MHz processor.
    Built 1 zonelists. Total pages: 67584
    Kernel command line: root=/dev/sda1 ro console=ttyS0
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Xen reported: 1940.320 MHz processor.
    Console: colour VGA+ 80x50
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Software IO TLB enabled:
    Aperture: 2 megabytes
    Kernel range: c16a3000 - c18a3000
    Address size: 24 bits
    vmalloc area: d1000000-fb7fe000, maxmem 33ffe000
    Memory: 237312k/270336k available (2075k kernel code, 24576k reserved, 738k data, 192k init, 0k highmem)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 5272.10 BogoMIPS (lpj=26360524)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L3 cache: 4096K
    Checking 'hlt' instruction... OK.
    SMP alternatives: switching to UP code
    Freeing SMP alternatives: 12k freed
    Brought up 1 CPUs
    migration_cost=0
    checking if image is initramfs... it is
    Freeing initrd memory: 15925k freed
    NET: Registered protocol family 16
    PCI: Using configuration type 1
    Setting up standard PCI resources
    ACPI: Interpreter disabled.
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI: disabled
    xen_mem: Initialising balloon driver.
    PCI: Probing PCI hardware
    PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
    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
    IA-32 Microcode Update Driver: v1.14a-xen <tigran@veritas.com>
    audit: initializing netlink socket (disabled)
    audit(1182377822.410:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is an 8272A
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    Xen virtual console successfully installed as ttyS0
    Event-channel device installed.
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PNP: No PS/2 controller found. Probing ports directly.
    serio: i8042 AUX port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    mice: PS/2 mouse device common for all mice
    input: AT Translated Set 2 keyboard as /class/input/input0
    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: bitmap version 4.39
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
    Freeing unused kernel memory: 192k freed
    Loading, please wait...
    WARNING: Couldn't open directory /lib/modules/2.6.18-xen: No such file or directory
    FATAL: Could not open /lib/modules/2.6.18-xen/modules.dep.temp for writing: No such file or directory
    input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
    Begin: Loading essential drivers... ...
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    Done.
    Begin: Running /scripts/init-premount ...
    Done.
    Begin: Mounting root file system... ...
    Begin: Running /scripts/local-top ...
    Done.
    Begin: Waiting for root file system... ...
    Done.
    Check root= bootarg cat /proc/cmdline
    or missing modules, devices: cat /proc/modules ls /dev
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory
    ALERT! /dev/sda1 does not exist. Dropping to a shell!


    BusyBox v1.1.3 (Debian 1:1.1.3-3ubuntu3) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    /bin/sh: can't access tty; job control turned off
    (initramfs)
     
  3. richramos

    richramos Junior Member

    Messages:
    11
    boot logs (2nd):

    hda:
    -----
    __ __ _____ _ ___
    \ \/ /___ _ __ |___ / / | / _ \
    \ // _ \ '_ \ |_ \ | || | | |
    / \ __/ | | | ___) || || |_| |
    /_/\_\___|_| |_| |____(_)_(_)___/

    http://www.cl.cam.ac.uk/netos/xen
    University of Cambridge Computer Laboratory

    Xen version 3.1.0 (shand@localdomain) (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)) Fri May 18 15:53:15 BST 2007
    Latest ChangeSet: Fri May 18 15:52:14 2007 +0100 15042:50fe1a769660

    (XEN) Command line: /boot/xen-3.1.0.gz dom0_mem=262144 com1=115200,8n1
    (XEN) 0000000000000000 - 000000000009f000 (usable)
    (XEN) 0000000000100000 - 0000000020000000 (usable)
    (XEN) System RAM: 511MB (523900kB)
    (XEN) ACPI: Unable to locate RSDP
    (XEN) Xen heap: 10MB (10332kB)
    (XEN) Domain heap initialised: DMA width 32 bits
    (XEN) PAE disabled.
    (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
    (XEN) Using scheduler: SMP Credit Scheduler (credit)
    (XEN) Detected 1919.404 MHz processor.
    (XEN) CPU0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping 0a
    (XEN) Mapping cpu 0 to node 255
    (XEN) Platform timer is 1.193MHz PIT
    (XEN) Brought up 1 CPUs
    (XEN) *** LOADING DOMAIN 0 ***
    (XEN) Xen kernel: 32-bit, lsb
    (XEN) Dom0 kernel: 32-bit, lsb, paddr 0xc0100000 -> 0xc0456dbc
    (XEN) PHYSICAL MEMORY ARRANGEMENT:
    (XEN) Dom0 alloc.: 1c000000->1e000000 (57344 pages to be allocated)
    (XEN) VIRTUAL MEMORY ARRANGEMENT:
    (XEN) Loaded kernel: c0100000->c0456dbc
    (XEN) Init. ramdisk: c0457000->c13e4400
    (XEN) Phys-Mach map: c13e5000->c1425000
    (XEN) Start info: c1425000->c142546c
    (XEN) Page tables: c1426000->c142d000
    (XEN) Boot stack: c142d000->c142e000
    (XEN) TOTAL: c0000000->c1800000
    (XEN) ENTRY ADDRESS: c0100000
    (XEN) Dom0 has maximum 1 VCPUs
    (XEN) Initrd len 0xf8d400, start at 0xc0457000
    (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).
    Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
    BIOS-provided physical RAM map:
    Xen: 0000000000000000 - 0000000010800000 (usable)
    0MB HIGHMEM available.
    264MB LOWMEM available.
    DMI not present or invalid.
    ACPI: Unable to locate RSDP
    Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
    Detected 1919.666 MHz processor.
    Built 1 zonelists. Total pages: 67584
    Kernel command line: root=/dev/hda1 ro console=ttyS0
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Xen reported: 1919.404 MHz processor.
    Console: colour VGA+ 80x50
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Software IO TLB enabled:
    Aperture: 2 megabytes
    Kernel range: c16a3000 - c18a3000
    Address size: 24 bits
    vmalloc area: d1000000-fb7fe000, maxmem 33ffe000
    Memory: 237312k/270336k available (2075k kernel code, 24576k reserved, 738k data, 192k init, 0k highmem)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 9631.10 BogoMIPS (lpj=48155508)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L3 cache: 4096K
    Checking 'hlt' instruction... OK.
    SMP alternatives: switching to UP code
    Freeing SMP alternatives: 12k freed
    Brought up 1 CPUs
    migration_cost=0
    checking if image is initramfs... it is
    Freeing initrd memory: 15925k freed
    NET: Registered protocol family 16
    PCI: Using configuration type 1
    Setting up standard PCI resources
    ACPI: Interpreter disabled.
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI: disabled
    xen_mem: Initialising balloon driver.
    PCI: Probing PCI hardware
    PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
    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
    IA-32 Microcode Update Driver: v1.14a-xen <tigran@veritas.com>
    audit: initializing netlink socket (disabled)
    audit(1182424845.190:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is an 8272A
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    Xen virtual console successfully installed as ttyS0
    Event-channel device installed.
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PNP: No PS/2 controller found. Probing ports directly.
    serio: i8042 AUX port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    mice: PS/2 mouse device common for all mice
    input: AT Translated Set 2 keyboard as /class/input/input0
    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: bitmap version 4.39
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
    Freeing unused kernel memory: 192k freed
    Loading, please wait...

    WARNING: Couldn't open directory /lib/modules/2.6.18-xen: No such file or directory

    FATAL: Could not open /lib/modules/2.6.18-xen/modules.dep.temp for writing: No such file or directory

    input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
    Begin: Loading essential drivers... ...

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    Done.

    Begin: Running /scripts/init-premount ...

    Done.

    Begin: Mounting root file system... ...

    Begin: Running /scripts/local-top ...

    Done.

    Begin: Waiting for root file system... ...

    Done.

    Check root= bootarg cat /proc/cmdline

    or missing modules, devices: cat /proc/modules ls /dev

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    FATAL: Could not load /lib/modules/2.6.18-xen/modules.dep: No such file or directory

    ALERT! /dev/hda1 does not exist. Dropping to a shell!





    BusyBox v1.1.3 (Debian 1:1.1.3-3ubuntu3) Built-in shell (ash)

    Enter 'help' for a list of built-in commands.



    /bin/sh: can't access tty; job control turned off

    (initramfs)
     
  4. jaydesh9

    jaydesh9 Junior Member

    Messages:
    10
    Well.. In my case the xen kernel does not even boot. i can't get any var logs or errs either..

    I am using RHEL 5.3 2.6.18.el5 kernel ..
     

Share This Page