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

[Xen-devel] happy happy happy


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: "Eric S. Johansson" <esj@xxxxxxxxxx>
  • Date: Wed, 23 Feb 2005 18:32:44 -0500
  • Delivery-date: Wed, 23 Feb 2005 23:34:36 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

so very happy. I got xen (mostly) working on gentoo with udev, raid, and lvm2 under the vm storage. here are the hints (read scar tissue) I have acquired in the process.

All documentation has been written by the Brothers Grimm including this.

As long as the raid array and lvm2 volumes are not on the standard /, /usr, ... directories, it doesn't matter whether the modules are compiled in or loadable. However, if you need them at boot time for any of the core directories, play it safe and compile them in.

build and verify your raid array first (mdadm and /etc/mdadm.conf is your friend). Make sure it is discovered appropriately on reboot

create your lvm2 partitions and volume groups per instructions.

install udev

under gentoo, /etc/init.d/createfs will not detect a logical volumes and raid partitions properly. the startup script detects the logical volume first and raid second. the only solution is to hack on the script to reverse this process.

reboot and (in theory) everything should be OK. obviously, verified to make sure the raid was still detected as well as the logical volumes (/dev/<vol group>/<partitions>)

how you use this under xen is only for consenting adults.

anyway, the hopefully minor errors that I'm trying to figure out are below:

Gentoo Linux; http://www.gentoo.org/
 Copyright 2001-2004 Gentoo Technologies, Inc.; Distributed under the GPL

 * Mounting proc at /proc...  [ ok ]
 * Mounting sysfs at /sys...  [ ok ]
rm: cannot remove `/dev/.devfsd': Read-only file system
 * Mounting devpts at /dev/pts...  [ ok ]
 * Activating (possible) swap...  [ ok ]
 * Remounting root filesystem read-only (if necessary)...  [ ok ]
* Checking root filesystem...Reiserfs super block in block 16 on 0x801 of format 3.6 with standard journal
Blocks (total/free): 1048576/575357 by 4096 bytes
Filesystem is clean
Filesystem seems mounted read-only. Skipping journal replay.
Checking internal tree..finished
  [ ok ]
 * Remounting root filesystem read/write...  [ ok ]
 * Setting hostname to harvee...  [ ok ]
 * Calculating module dependencies...  [ ok ]
 * Checking all filesystems...  [ ok ]
 * Mounting local filesystems...  [ ok ]
 * Activating (possibly) more swap...  [ ok ]
* Caching service dependencies... * Setting system clock to hardware clock [UTC]... * Failed to set system clock to hardware clock
  [ !! ]

 * ERROR:  Problem starting needed services.
 *         "bootmisc" was not started.
 * Setting user font...Couldnt open /dev/vc/1
Couldnt open /dev/vc/2
Couldnt open /dev/vc/3
Couldnt open /dev/vc/4
Couldnt open /dev/vc/5
Couldnt open /dev/vc/6
Couldnt open /dev/vc/7
Couldnt open /dev/vc/8
Couldnt open /dev/vc/9
Couldnt open /dev/vc/10
Couldnt open /dev/vc/11
 * Failed to set user font
  [ !! ]

* Loading key mappings...Couldnt get a file descriptor referring to the console
 * Error loading key mappings
  [ !! ]

 * Bringing lo up...  [ ok ]
 * Initializing random number generator...  [ ok ]
INIT: Entering runlevel: 4
  [ ok ]
 * Starting syslog-ng...  [ ok ]
 * Bringing eth0 up (192.168.25.100)...  [ ok ]
 * Mounting network filesystems...  [ ok ]
 * Starting sshd...  [ ok ]
 * Starting vixie-cron...  [ ok ]
 * Starting local...  [ ok ]


This is harvee.unknown_domain (Linux i686 2.6.10-xenU) 22:47:41

harvee login: root
Password:
Last login: Tue Feb 22 02:37:58 from 192.168.0.34


--
http://www.wired.com/wired/archive/13.03/view.html?pg=5

The result of the duopoly that currently defines "competition" is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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