Beiträge von joe1802

    Hi Elian,


    das habe ich mir auch schonmal so gedacht, eben aber auch nochmal ausprobiert, leider auch hier wieder ohne Erfolg, das Teil kommt nicht weiter als bis zum "Swap"... Habe per chroot die links geändert, also auch ins /boot Verzeichnis System.map, config initrd und Kernel der XEN-Dom0 kopiert und entsprechend verlinkt...


    Gruß


    Joe

    Hallo VirtuaDZ,


    danke für Deine Antwort, bisher hatte ich das (fast) genauso gemacht, bis auf den Teil mit depmod...habe es nun eben nocheinmal genau wie von Dir beschrieben probiert, wenn ich dann jedoch mit "xm create -c linvdr-test" (config siehe oben), das Image boote, kommt der Bootvorgang bis zum
    -----------------------------------------------------------------------------------------------
    ...
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 1, 8192 bytes)
    TCP established hash table entries: 4096 (order: 4, 65536 bytes)
    TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    XENBUS: Device with no driver: device/vbd/769
    XENBUS: Device with no driver: device/vif/0
    XENBUS: Device with no driver: device/console/0
    IP-Config: Device `eth0' not found.
    netfront: Initialising virtual ethernet driver.
    netfront: device eth0 has copying receive path.
    Registering block device major 3
    blkfront: hda1: barriers enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    EXT3 FS on hda1, internal journal
    EXT3 FS on hda1, internal journal
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    USB Universal Host Controller Interface driver v2.3
    Adding 262136k swap on /var/vm/swapfile. Priority:-1 extents:74 across:337200k
    -----------------------------------------------------------------------------------------------
    ...und das war's, weiter geht es nicht.


    Was kann jetzt noch "stören"??? Wo hängt die Kiste? Muss ich in der VM die /boot/grub/menu.lst noch anpassen??? Oder müssen aus meinem Wirt'ssystem nicht nur die /lib/modules/ sondern auch die /lib64/ kopiert werden? Muss ich gar den Wirts-Kernel noch kopieren? Irgendwie fehlen mir da massiv Informationen...trotz finden und lesen div. I-Net Seiten, Doku etc.


    Danke und Gruß


    Joe

    Moin,


    Franki_ES: das hat leider nicht geholfen, jedoch bin ich einen kleinen Schritt weiter gekommen. Nachdem ich versucht hatte, eine neue VM mit dem vorhandenen Diskfile anzulegen, kam eine Fehlermeldung, dass die HDD (in diesem Fall also mein Fileimage) nicht bootbar sei.


    Daraufhin habe ich ein wenig gegoogelt und mich schlau gemacht, wie man ein Diskfile richtig mountet und als bootbares ext3 partitioniert und formatiert. Das ganze hat dann auch geklappt (Stichwort losetup / lomount).


    Daraufhin habe ich dann wieder die das tar.gz in das gemountete Fileimage kopiert und zu guter letzt die /lib/modules meines XEN-Kernels hineinkopiert, noch aus der /etc/init.d/rcStart die hwclock entfernt, image dismountet und neuer Versuch...


    Jetzt bootet die virtuelle HDD, jedoch versucht das System nun auf meine eigentliche HDD zuzugreifen als physisches Device! Zumindest wird der Harddisk-ID-String ausgelesen und angezeigt! Und scheiter dann nach kurzer Zeit des wartens und kehrt in eine Shell zurück...


    Dann habe ich noch ein wenig mit den Namesgebungen für die HDD experimentiert, also ob das Image als xvda oder hda exportiert werden soll, hat aber leider auch nichts gebracht...


    Hat hierzu evtl. noch einer eine Idee???


    Elian: Der CT-VDR würde mir ja auch schon genügen (obwohl auch ich den LinVDR lieber mag...), allderings habe ich mich da noch nicht 'ran gemacht, Du schreibst aber, dass Du ihn unter XEN am laufen hast? Wie hast Du den installiert? Direkt von der CT-CD in eine para-VM ?



    Gruß


    Joe

    Hallo zusammen,


    ich versuche mich nun schon seit Tagen daran, entweder das Mahlzeit-Iso (3.2), oder alternativ den original linvdr wie von mahlzeit auf Seite 1 dieses Threads beschrieben in einer domU unter xen zu installieren, allerdings bis jetzt absolut ohne Erfolg...


    Umgebung: Intel Core2Duo 6420 Proz. mit 4GB RAM, Suse SLES10 SP1 mit XEN Unterstützung, eine IDE-HDD 200GB (ist derzeit noch ein Testsystem).


    Bislang ist es mir lediglich gelungen, das ganze in einer hvm zum "Laufen" zu bringen, allerdings nützt es dort ja nicht viel in Ermangelung an durchgereichten PCI-Devices :(


    Mein XM-Script sieht so aus:


    xen-host:/etc/xen/vm # cat linvdr-test
    # Kernel image file.
    kernel = "/boot/vmlinuz-2.6.16.46-0.12-xen"
    ramdisk="/boot/initrd-2.6.16.46-0.12-xen"


    # Initial memory allocation (in megabytes) for the new domain.
    memory = 64


    # A name for your domain. All domains must have different names.
    name = "linvdr-test"


    #----------------------------------------------------------------------------
    # Define network interfaces.
    vif = [ '' ]


    #----------------------------------------------------------------------------
    # Define the disk devices you want the domain to have access to, and
    # what you want them accessible as.
    disk = [ 'file:/etc/xen/images/linvdr-test/disk0,hda1,w' ]


    #----------------------------------------------------------------------------
    # Set if you want dhcp to allocate the IP address.
    dhcp="dhcp"


    # Set root device.
    root = "/dev/hda1 ro"


    # Sets runlevel 4.
    extra = "4"
    #------------------------------------------------------------------------------



    Die Ausgabe bringt dann dieses zum Vorschein, weiter geht es nicht ...:


    xen-host:/etc/xen/vm # xm create -c linvdr-test
    Using config file "./linvdr-test".
    Started domain linvdr-test
    Bootdata ok (command line is root=/dev/hda1 ro ip=:::::eth0:dhcp 4)
    Linux version 2.6.16.46-0.12-xen (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 SMP Thu May 17 14:00:09 UTC 2007
    BIOS-provided physical RAM map:
    Xen: 0000000000000000 - 0000000004800000 (usable)
    No mptable found.
    Built 1 zonelists
    Kernel command line: root=/dev/hda1 ro ip=:::::eth0:dhcp 4
    Initializing CPU#0
    PID hash table entries: 512 (order: 9, 16384 bytes)
    Xen reported: 2133.406 MHz processor.
    Console: colour dummy device 80x25
    Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
    Software IO TLB disabled
    Memory: 52752k/73728k available (1902k kernel code, 12720k reserved, 798k data, 160k init)
    Calibrating delay using timer specific routine.. 5335.46 BogoMIPS (lpj=10670925)
    Security Framework v1.0.0 initialized
    Mount-cache hash table entries: 256
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L3 cache: 4096K
    CPU: Physical Processor ID: 0
    checking if image is initramfs... it is
    Freeing initrd memory: 7432k freed
    Brought up 1 CPUs
    migration_cost=0
    DMI not present or invalid.
    Grant table initialized
    NET: Registered protocol family 16
    Brought up 1 CPUs
    PCI: setting up Xen PCI frontend stub
    ACPI: Subsystem revision 20060127
    ACPI: Interpreter disabled.
    xen_mem: Initialising balloon driver.
    Setting mem allocation to 65536 kiB
    PCI: System does not support PCI
    PCI: System does not support PCI
    IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
    audit: initializing netlink socket (disabled)
    audit(1186494041.518:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    rtc: IRQ 8 is not free.
    Non-volatile memory driver v1.2
    i8042.c: No controller found.
    RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
    xencons_init: Initializing xen vfb; pass xencons=tty to prevent this
    Xen virtual console successfully installed as xvc0
    Event-channel device installed.
    mice: PS/2 mouse device common for all mice
    input: PC Speaker 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 2
    IP route cache hash table entries: 1024 (order: 1, 8192 bytes)
    TCP established hash table entries: 4096 (order: 4, 65536 bytes)
    TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    XENBUS: Device with no driver: device/vbd/769
    XENBUS: Device with no driver: device/vif/0
    XENBUS: Device with no driver: device/console/0
    IP-Config: Device `eth0' not found.
    netfront: Initialising virtual ethernet driver.
    netfront: device eth0 has copying receive path.
    Registering block device major 3
    blkfront: hda1: barriers enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    EXT3 FS on hda1, internal journal
    EXT3 FS on hda1, internal journal
    Adding 262136k swap on /var/vm/swapfile. Priority:-1 extents:69 across:266648k



    Hat einer von Euch mit deutlich mehr XEN-Erfahrung als ich (z.B. Mahlzeit?) eine Idee, was ich falsch mache? Bin für jede Hilfe dankbar!


    Gruß


    Joe