[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] can't start tty linux.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mustafa Abbasi <lordverminard@xxxxxxxxx>
  • Date: Sat, 26 Nov 2005 21:30:50 +0500
  • Delivery-date: Sat, 26 Nov 2005 16:30:50 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=r15S5qa003WUotR89bMbSC0I1YtGoCNx+ClmPwmY8vmT1Y4wIqUe/K3V88RbLn3aEuu40LqrW87jsCln1NV72hK/HCXhPoHB0b5AYb7L2CDvkYKQEUMOpKshMjR24ywNgi5jYtUWt6/2BDUwLGC6IAtxHRHCdcU0tHeB5s18CHg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hello.
i just installed xen from source (using mke world then make install) booted into linux using the xen-2.0.7.gz kernel and then triewd to run ttylinux  from the instructions in the user manual.
i used this command.


xm create /store/xmexample1 -c

my xonfigfile ( xmexample1) is this.
#  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================

#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/boot/vmlinuz- 2.6.11-xenU"

# Optional ramdisk.
#ramdisk = "/boot/initrd.gz"

# The domain build function. Default is 'linux'.
#builder='linux'

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

# A name for your domain. All domains must have different names.
name = "ttylinux"

# Which CPU to start domain on?
#cpu = -1   # leave to Xen to pick

#----------------------------------------------------------------------------
# Define network interfaces.

# Number of network interfaces. Default is 1.
nics=1

# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
#vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ]

#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.

disk = [ 'file:/home/m/Desktop/ttylinux-4.9_2.tar.gz_FILES/ttylinux-4.9/rootfs.gz,sda1,rw' ]
#disk = [ 'phy:s1-lvol0,swap,w' ]
#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= ).

# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid
ip = "1.2.3.4"

# Set root device.
rootpath = "/dev/sda1 ro"

# Root device for nfs.
#root = "/dev/nfs"
# The nfs server.
#nfs_server = '169.254.1.0
# Root directory on the nfs server.
#nfs_root   = '/full/path/to/root/directory'

# Sets runlevel 4.
extra = "4"

#----------------------------------------------------------------------------
# Set according to whether you want the domain restarted when it exits.
# The default is 'onreboot', which restarts the domain when it shuts down
# with exit code reboot.
# Other values are 'always', and 'never'.

restart = 'never'

#============================================================================


now upon running the  command i get this output and then it stops. nothing happens after this.
please tell what i am doing wrong. i am a noob at this so please help.

m@ubuntu:/store$ xm create /store/xmexample1 -c
Using config file "/store/xmexample1".
Started domain ttylinux, console on port 9620
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Linux version 2.6.11.12-xenU (m@ubuntu) (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)) #1 Sat Nov 26 17:41:04 PKT 2005
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000000a00000 (usable)
10MB LOWMEM available.
DMI not present.
IRQ lockup detection disabled
Allocating PCI resources starting at 00a00000 (gap: 00a00000:ff600000)
Built 1 zonelists
Kernel command line:  ip=1.2.3.4:1.2.3.4::::eth0:off 4
Initializing CPU#0
PID hash table entries: 64 (order: 6, 1024 bytes)
Xen reported: 1666.557 MHz processor.
Using tsc for high-res timesource
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
vmalloc area: c1800000-fbff9000, maxmem 34000000
Memory: 7760k/10240k available (1631k kernel code, 2456k reserved, 439k data, 112k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: CLK_CTL MSR was 0. Reprogramming to 20000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: AMD Sempron(tm)   2400+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
NET: Registered protocol family 16
xen_mem: Initialising balloon driver.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Xen virtual console successfully installed as tty
Event-channel device installed.
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
      device=eth0, addr= 1.2.3.4, mask=255.0.0.0, gw=255.255.255.255,

 nothing happens after this.



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.