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] vm ignores kickstart

To: Nuno Loureiro Ferreira <nunolf@xxxxxxxxx>
Subject: Re: [Xen-users] vm ignores kickstart
From: Kyle Fransham <fransham@xxxxxxx>
Date: Wed, 28 Jan 2009 14:58:38 -0800
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 28 Jan 2009 15:00:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4980D354.1020808@xxxxxxxxx>
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: <1233177974.6218.128.camel@xxxxxxxxxxxxxxxxxxxxx> <4980D354.1020808@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Nuno,

Yes, I tried with the GUI as well, specifying the same kickstart file and source.  I was still guided through the entire installation process.  Thanks for your suggestion though, any other ideas?

Kyle

On Wed, 2009-01-28 at 13:51 -0800, Nuno Loureiro Ferreira wrote:
Hi Kyle

Did you tried to used the GUI version of the program (virt-manager) to
see if you get the same problem?

Once a tried to install a domU on a dom0 SL51 x86 using the virt-manager
(from the official repository), and in the final I was not able to
connect to the network. Then I tried virt-install, using the same
mirror, ..., and tthe final domU was ok. What I'm pointing out here is
that the same program (command-line vs gui) had different outputs.

Cheers,
Nuno

Kyle Fransham wrote:
> Hi,
>
> I'm trying to use a kickstart file to install VMs on a Scientific
> Linux 5.2 (repackaged RHEL52) host, but the install process seems to
> ignore my kickstart file.  The command I'm using is:
>
> virt-install -n sl4vm01 --ram=1024 --vcpus=1 --os-type=linux
> --os-variant=rhel4
> --extra-args="ks=http://particle.phys.uvic.ca/~fransham/ks.cfg"
> --paravirt --nographics --file=/var/lib/xen/images/BbrSL4.img
> --file-size=5
> --location=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/ -d
>
> In the output, I see that the ks=<mykickstartfile> parameter is indeed
> being passed to the kernel:
>
> ...
> Built 1 zonelists
> Kernel command line:  ks=http://particle.phys.uvic.ca/~fransham/ks.cfg
> method=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/
> Initializing CPU#0
> ...
>
> but I am forced to go through all of the install options (eg. setting
> the language) anyways.  I don't see any errors in the startup messages
> (see below).  Does anyone have any troubleshooting suggestions?
>
> Thanks
>
> Kyle
>
> The output:
>
> virt-install -n test-dev2 --ram=1024 --vcpus=1 --os-type=linux
> --os-variant=rhel4
> --extra-args="ks=http://particle.phys.uvic.ca/~fransham/ks.cfg"
> --paravirt --nographics --file=/var/lib/xen/images/BbrSL4.img
> --file-size=5
> --location=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/ -d
> Wed, 28 Jan 2009 13:20:55 DEBUG    Disk path not found: Assuming file
> disk type.
>
>
> Starting install...
> Wed, 28 Jan 2009 13:20:56 DEBUG    Fetching URI
> ftp://ftp.scientificlinux.org/linux/scientific/46/i386//.treeinfo
> Wed, 28 Jan 2009 13:20:58 DEBUG    Saved file to
> /var/lib/xen/virtinst-.treeinfo.--3HFj
> Retrieving file .treeinfo...                                       0 B
> 00:00
> Wed, 28 Jan 2009 13:20:58 DEBUG    Detected a Fedora distro
> Wed, 28 Jan 2009 13:20:58 DEBUG    Fetching URI
> ftp://ftp.scientificlinux.org/linux/scientific/46/i386//images/xen/vmlinuz
> Retrieving file vmlinuz..  35% |========                 | 368 kB
> 00:03 ETA Wed, 28 Jan 2009 13:21:01 DEBUG    Saved file to
> /var/lib/xen/virtinst-vmlinuz.uyfX25
> Retrieving file vmlinuz.. 100% |=========================| 1.0 MB
> 00:00
> Wed, 28 Jan 2009 13:21:01 DEBUG    Fetching URI
> ftp://ftp.scientificlinux.org/linux/scientific/46/i386//images/xen/initrd.img
> Retrieving file initrd.im  42% |==========               | 360 kB
> 00:02 ETA Wed, 28 Jan 2009 13:21:03 DEBUG    Saved file to
> /var/lib/xen/virtinst-initrd.img.6AC9qc
> Retrieving file initrd.im 100% |=========================| 853 kB
> 00:00
> Creating storage file...  100% |=========================| 5.0 GB
> 00:00
> Wed, 28 Jan 2009 13:21:04 DEBUG    Creating guest from '<domain
> type='xen'>
>   <name>test-dev2</name>
>   <currentMemory>1048576</currentMemory>
>   <memory>1048576</memory>
>   <uuid>a76a1a37-c094-1ced-c313-e4258e12164c</uuid>
>   <os>
>     <type>linux</type>
>     <kernel>/var/lib/xen/virtinst-vmlinuz.uyfX25</kernel>
>     <initrd>/var/lib/xen/virtinst-initrd.img.6AC9qc</initrd>
>     <cmdline>ks=http://particle.phys.uvic.ca/~fransham/ks.cfg
> method=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/<
> <ftp://ftp.scientificlinux.org/linux/scientific/46/i386/%3C>/cmdline>
>   </os>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>destroy</on_reboot>
>   <on_crash>destroy</on_crash>
>   <vcpu>1</vcpu>
>   <devices>
>     <disk type='file' device='disk'>
>       <driver name='tap'/>
>       <source file='/var/lib/xen/images/BbrSL4.img'/>
>       <target dev='xvda'/>
>     </disk>
>
>     <interface type='bridge'>
>       <source bridge='xenbr0'/>
>       <mac address='00:16:3e:44:d6:6b'/>
>     </interface>
>
>     <input type='mouse' bus='xen'/>
>
>   </devices>
> </domain>
> '
> Creating domain...                                                 0 B
> 00:00
> Wed, 28 Jan 2009 13:21:04 DEBUG    Created guest, looking to see if it
> is running
> Wed, 28 Jan 2009 13:21:04 DEBUG    Launching console callback
> Wed, 28 Jan 2009 13:21:04 DEBUG    Saving XML boot config '<domain
> type='xen'>
>   <name>test-dev2</name>
>   <currentMemory>1048576</currentMemory>
>   <memory>1048576</memory>
>   <uuid>a76a1a37-c094-1ced-c313-e4258e12164c</uuid>
>   <bootloader>/usr/bin/pygrub</bootloader>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>restart</on_crash>
>   <vcpu>1</vcpu>
>   <devices>
>     <disk type='file' device='disk'>
>       <driver name='tap'/>
>       <source file='/var/lib/xen/images/BbrSL4.img'/>
>       <target dev='xvda'/>
>     </disk>
>
>     <interface type='bridge'>
>       <source bridge='xenbr0'/>
>       <mac address='00:16:3e:44:d6:6b'/>
>     </interface>
>
>     <input type='mouse' bus='xen'/>
>
>   </devices>
> </domain>
> '
> Linux version 2.6.9-67.0.4.ELxenU (root@xxxxxxxxxxxxx) (gcc version
> 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Thu Jan 31 17:16:59 CST 2008
> BIOS-provided physical RAM map:
> Xen: 0000000000000000 - 0000000040800000 (usable)
> 304MB HIGHMEM available.
> 728MB LOWMEM available.
> Using x86 segment limits to approximate NX protection
> IRQ lockup detection disabled
> Built 1 zonelists
> Kernel command line:  ks=http://particle.phys.uvic.ca/~fransham/ks.cfg
> method=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/
> Initializing CPU#0
> CPU 0 irqstacks, hard=c033e000 soft=c031e000
> PID hash table entries: 4096 (order: 12, 65536 bytes)
> Xen reported: 1799.994 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> vmalloc area: ee000000-f4ffe000, maxmem 2d800000
> Memory: 1024384k/1056768k available (1458k kernel code, 23728k
> reserved, 548k data, 132k init, 311296k highmem)
> Checking if this processor honours the WP bit even in supervisor
> mode... Ok.
> Security Scaffold v1.0.0 initialized
> SELinux:  Initializing.
> There is already a security framework initialized, register_security
> failed.
> selinux_register_security:  Registering secondary module capability
> Capability LSM initialized as secondary
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 2048K
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> Brought up 1 CPUs
> checking if image is initramfs...it isn't (ungzip failed); looks like
> an initrd
> Freeing initrd memory: 8196k freed
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 VCPUs
> xen_mem: Initialising balloon driver.
> audit: initializing netlink socket (disabled)
> audit(1233177665.585:1): initialized
> highmem bounce pool size: 64 pages
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 6AE3E5354F98B3C8
> - User ID: Red Hat, Inc. (Kernel Module GPG key)
> rtc: IRQ 8 is not free.
> i8042.c: No controller found.
> RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
> Xen virtual console successfully installed as xvc0
> Linux version 2.6.9-67.0.4.ELxenU (root@xxxxxxxxxxxxx) (gcc version
> 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Thu Jan 31 17:16:59 CST 2008
> BIOS-provided physical RAM map:
> Xen: 0000000000000000 - 0000000040800000 (usable)
> 304MB HIGHMEM available.
> 728MB LOWMEM available.
> Using x86 segment limits to approximate NX protection
> IRQ lockup detection disabled
> Built 1 zonelists
> Kernel command line:  ks=http://particle.phys.uvic.ca/~fransham/ks.cfg
> method=ftp://ftp.scientificlinux.org/linux/scientific/46/i386/
> Initializing CPU#0
> CPU 0 irqstacks, hard=c033e000 soft=c031e000
> PID hash table entries: 4096 (order: 12, 65536 bytes)
> Xen reported: 1799.994 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> vmalloc area: ee000000-f4ffe000, maxmem 2d800000
> Memory: 1024384k/1056768k available (1458k kernel code, 23728k
> reserved, 548k data, 132k init, 311296k highmem)
> Checking if this processor honours the WP bit even in supervisor
> mode... Ok.
> Security Scaffold v1.0.0 initialized
> SELinux:  Initializing.
> There is already a security framework initialized, register_security
> failed.
> selinux_register_security:  Registering secondary module capability
> Capability LSM initialized as secondary
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 2048K
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> Brought up 1 CPUs
> checking if image is initramfs...it isn't (ungzip failed); looks like
> an initrd
> Freeing initrd memory: 8196k freed
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 VCPUs
> xen_mem: Initialising balloon driver.
> audit: initializing netlink socket (disabled)
> audit(1233177665.585:1): initialized
> highmem bounce pool size: 64 pages
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 6AE3E5354F98B3C8
> - User ID: Red Hat, Inc. (Kernel Module GPG key)
> rtc: IRQ 8 is not free.
> i8042.c: No controller found.
> RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
> Xen virtual console successfully installed as xvc0
> Event-channel device installed.
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> NET: Registered protocol family 2
> IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
> TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
> TCP bind hash table entries: 262144 (order: 9, 3145728 bytes)
> Welcome to Scientific
> Linux
>
>
>                    +---------+ Choose a Language
> +---------+
>                    |
> |
>                    | What language would you like to use
> |
>                    | during the installation process?
> |
>                    |
> |
>                    |       Catalan                #
> |
>                    |       Chinese(Simplified)    #
> |
>                    |       Chinese(Traditional)   #
> |
>                    |       Croatian               #
> |
>                    |       Czech                  #
> |
>                    |       Danish                 #
> |
>                    |       Dutch                  #
> |
>                    |       English                #
> |
>                    |
> |
>                    |                +----+
> |
>                    |                | OK |
> |
>                    |                +----+
> |
>                    |
> |
>                    |
> |
>                    +---------------------------------------+
>
> ************************************
> *   Kyle Fransham                  *
> *   BaBar Computing Associate      *
> *   University of Victoria         *
> *   250-721-7746                   *
> *   fransham@xxxxxxx               *
> ************************************
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>