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

[Xen-users] not able to get to a login prompt for domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] not able to get to a login prompt for domU
From: digz <digvijoy_chatterjee@xxxxxxxxxxx>
Date: Tue, 9 Aug 2005 12:49:28 +0530
Delivery-date: Tue, 09 Aug 2005 07:09:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42F839DB.6020108@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42F839DB.6020108@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1

I am not able to login on my domU using /dev/hda2 from my hardrive

xm create -c myvmconf vmid=1

/etc/xen/myvmconf looks like this :

def vmid_check(var, val):

val = int(val)

if val <= 0:

raise ValueError

return val

xm_vars.var('vmid',

use="Virtual machine id. Integer greater than 0.",

check=vmid_check)

xm_vars.check()

kernel = "/boot/vmlinuz-2.6.11-1.1369_FC4xenU"

#builder='linux'

memory = 64

name = "VM%d" % vmid

cpu = -1 # leave to Xen to pick

#cpu = vmid # set based on vmid (mod number of CPUs)

vcpus = 1

#vcpus = 4 # make your domain a 4-way

#nics=1

#vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ]

disk = [ 'phy:hda%d,hda2,r' %(1+vmid)]

dhcp="dhcp"

root = "/dev/hda2 ro"

==========================================

MESSAGES WHILE THE KERNEL BOOTS UP on issuing command

xm create -c myvmconf vmid=1

==========================================

Using config file "/etc/xen/myvmconf".

Started domain VM1, console on port 9601

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Linux version 2.6.11-1.1369_FC4xenU (bhcompile@xxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.0 20050525 (Red Hat 4.0.0-9)) #1 SMP Thu Jun 2 23:33:51 EDT 2005

BIOS-provided physical RAM map:

Xen: 0000000000000000 - 0000000004000000 (usable)

64MB LOWMEM available.

Using x86 segment limits to approximate NX protection

DMI not present.

IRQ lockup detection disabled

Allocating PCI resources starting at 04000000 (gap: 04000000:fc000000)

Built 1 zonelists

Kernel command line: ip=:1.2.3.4::::eth0:dhcp root=/dev/hda2 ro

Initializing CPU#0

PID hash table entries: 1024 (order: 10, 16384 bytes)

Xen reported: 2258.351 MHz processor.

Using tsc for high-res timesource

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 60800k/65536k available (1785k kernel code, 4648k reserved, 506k data, 156k init, 0k highmem)

Checking if this processor honours the WP bit even in supervisor mode... Ok.

Security Framework v1.0.0 initialized

SELinux: Initializing.

SELinux: Starting in permissive mode

selinux_register_security: Registering secondary module capability

Capability LSM initialized as secondary

Mount-cache hash table entries: 512

CPU: Trace cache: 12K uops, L1 D cache: 8K

CPU: L2 cache: 512K

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Checking 'hlt' instruction... disabled

CPU0: Intel(R) Pentium(R) 4 CPU 2.26GHz stepping 07

per-CPU timeslice cutoff: 1462.80 usecs.

task migration cache decay timeout: 2 msecs.

SMP motherboard not detected.

smpboot_clear_io_apic_irqs

Brought up 1 CPUs

softlockup thread 0 started up.

NET: Registered protocol family 16

xen_mem: Initialising balloon driver.

Grant table initialized

audit: initializing netlink socket (disabled)

audit(1123568901.803:1): initialized

Total HugeTLB memory allocated, 0

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

SELinux: Registering netfilter hooks

Initializing Cryptographic API

ksign: Installing public key data

Loading keyring

- Added public key 42BD35A990375F72

- User ID: Red Hat, Inc. (Kernel Module GPG key)

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize

Xen virtual console successfully installed as tty1

Event-channel device installed.

Blkif frontend is using grant tables.

xen_blk: Initialising virtual block device driver

xen_net: Initialising virtual ethernet driver.

md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27

NET: Registered protocol family 2

IP: routing cache hash table of 256 buckets, 4Kbytes

TCP established hash table entries: 4096 (order: 4, 65536 bytes)

TCP bind hash table entries: 4096 (order: 3, 49152 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

Initializing IPsec netlink socket

NET: Registered protocol family 1

NET: Registered protocol family 17

md: Autodetecting RAID arrays.

md: autorun ...

md: ... autorun DONE.

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

VFS: Mounted root (ext3 filesystem) readonly.

Freeing unused kernel memory: 156k freed

I am not getting a console here........to communicate with my new machine

on issuing xm list i see the two domains listed

[root@localhost ~]# xm list

Name Id Mem(MB) CPU State Time(s) Console

Domain-0 0 891 0 r---- 26.1

VM1 1 64 0 ----- 760.1 9601

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users