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] RHAS on xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RHAS on xen
From: Sweekar Pinto <sweekarpinto@xxxxxxxxx>
Date: Thu, 15 Sep 2005 17:45:05 +0530
Delivery-date: Thu, 15 Sep 2005 12:12:56 +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:in-reply-to:mime-version:content-type:references; b=oo6bxpKlb5kASKnlrYGkdr/S4djxBSXw04dxQQ95zUazC4rkvj9DRNs+MQLoWqOxxk76ffxA5YrNttFAhH2Ke+2Y563jZqIoyyrfEf27ejLwQHs2GvzgFEH8wyjU6BVFzHGChHiJiw2xLPwL1rXnCBWh0Qjb6BjyZ1GENDBtWLk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1EFsPN-0007o5-55@host-192-168-0-1-bcn-london>
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: <E1EFsPN-0007o5-55@host-192-168-0-1-bcn-london>
Reply-to: sweekarpinto@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


Hi,
 I'm a super newbie to xen and linux!
Call me studip if want to but here's wot i tried to get RHAS running on xen.
I need to the the whole thing in an image.

I'm using a patched FC4 domu kernel
my domU config file looks like this:

kernel ="/boot/vmlinuz-2.6.12-1.1447_FC4xenU"
memory = 128
name = "rhas"
nics = 1
disk = ['file:/root/fedora.img,sda1,w']
root = "/dev/sda1"
extra = "ro selinux=0 3"
~
as you can see, i have not even bothered to change the 'fedora.img' image name from the fedora howto manual:)

I copied an existing RHAS image into fedora.img, unmounted it and as soon as i try creating a domU this is what i get:

[root@symlin6 ~]# xm create -c rhas
Using config file "/etc/xen/rhas".
Started domain rhas
Linux version 2.6.12-1.1447_FC4xenU (bhcompile@xxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Fri Aug 26 21:25:28 EDT 2005
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008000000 (usable)
128MB LOWMEM available.
Using x86 segment limits to approximate NX protection
DMI not present.
IRQ lockup detection disabled
Allocating PCI resources starting at 08000000 (gap: 08000000:f8000000)
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro selinux=0 3
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2600.026 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
vmalloc area: c8800000-fbff5000, maxmem 34000000
Memory: 125312k/131072k available (1839k kernel code, 5560k reserved, 512k 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:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
CPU0: Intel(R) Celeron(R) CPU 2.60GHz stepping 09
Total of 1 processors activated (5190.45 BogoMIPS).
Brought up 1 CPUs
NET: Registered protocol family 16
store_evtchn = 2
XENBUS xs_read_watch: 0
xen_mem: Initialising balloon driver.
Grant table initialized
audit: initializing netlink socket (disabled)
audit(1126785233.483:1): initialized
Total HugeTLB memory allocated, 0
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 1C1942C715575330
- 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.
xen_blk: Initialising virtual block device driver
Registering block device major 8
´´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 512 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 98304 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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

  ***************************************************************
  ***************************************************************
  ** WARNING: Currently emulating unsupported memory accesses  **
  **          in /lib/tls libraries. The emulation is very     **
  **          slow. To ensure full performance you should      **
  **          execute the following as root:                   **
  **          mv /lib/tls /lib/tls.disabled                    **
  ** Offending process: init (pid=1)                           **
  ***************************************************************
  ***************************************************************

Continuing...

INIT: version 2.85 booting
/etc/rc.d/rc.sysinit: line 34: /dev/tty1: Read-only file system
/etc/rc.d/rc.sysinit: line 34: /dev/tty2: Read-only file system
/etc/rc.d/rc.sysinit: line 34: /dev/tty3: Read-only file system
/etc/rc.d/rc.sysinit: line 34: /dev/tty4: Read-only file system
/etc/rc.d/rc.sysinit: line 34: /dev/tty5: Read-only file system
/etc/rc.d/rc.sysinit: line 34: /dev/tty6: Read-only file system
/etc/rc.d/rc.sysinit: line 38: /dev/tty7: Read-only file system
/etc/rc.d/rc.sysinit: line 39: /dev/tty8: Read-only file system
                Welcome to Red Hat Enterprise Linux AS
                Press 'I' to enter interactive startup.
Configuring kernel parameters:  [  OK  ]
Setting clock  (localtime): Thu Sep 15 17:24:01 IST 2005 [  OK  ]
Setting hostname symlin9.india.hp.com:  [  OK  ]
modprobe: Can't open dependencies file /lib/modules/2.6.12-1.1447_FC4xenU/modules.dep (No such file or directory)
modprobe: QM_MODULES: Function not implemented
modprobe: Can't open dependencies file /lib/modules/2.6.12-1.1447_FC4xenU/modules.dep (No such file or directory)
Initializing USB controller (usb-uhci):  modprobe: Can't open dependencies file /lib/modules/2.6.12-1.1447_FC4xenU/modules.dep (No such file or directory)
[FAILED]
Initializing USB controller (ehci-hcd):  modprobe: Can't open dependencies file /lib/modules/2.6.12-1.1447_FC4xenU/modules.dep (No such file or directory)
[FAILED]
Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a dev/sda1
fsck.ext3: Filesystem has unsupported feature(s) (dev/sda1)
e2fsck: Get a newer version of e2fsck!
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

.......
I have disabled tls but still get a big bannered warning message.
HELP! I
Thanks,
Sweekar

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