All of lore.kernel.org
 help / color / mirror / Atom feed
* happy happy happy
@ 2005-02-23 23:32 Eric S. Johansson
  2005-02-24 16:44 ` Jon Mason
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S. Johansson @ 2005-02-23 23:32 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: happy happy happy
@ 2005-02-24 19:51 Ian Pratt
  0 siblings, 0 replies; 10+ messages in thread
From: Ian Pratt @ 2005-02-24 19:51 UTC (permalink / raw)
  To: Eric S. Johansson, Jon Mason; +Cc: xen-devel, ian.pratt


> it shows errors I'm not comfortable with.  For example, it says is 
> unable to set the system clock yet the time is set correctly.  This 
> messages from the clock init script.
> 
> harvee-xeno init.d # hwclock --show
> hwclock is unable to get I/O port access:  the iopl(3) call failed.

That's to be expected, and harmless -- just disable it.

> the next set of errors come from the consolefont script. 
> turning it off 
> makes those errors go away.  I suspect the key mappings error is 
> similarly solvable but I just haven't had the time to dig 
> back into it.

Likewise.

> one other thing I noticed was that when I try to use Reiser 
> FS, I kept 
> getting exceptions from the journaling code.  

Xen/Linux should work fine with reiserfs. I wander if you accidently
mounted it from two domains simultaneously at some point and introduced
corruption?

Ian


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-02-24 20:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 23:32 happy happy happy Eric S. Johansson
2005-02-24 16:44 ` Jon Mason
2005-02-24 19:39   ` Eric S. Johansson
2005-02-24 19:40     ` Mark Williamson
2005-02-24 19:58       ` Eric S. Johansson
2005-02-24 19:55         ` Mark Williamson
2005-02-24 19:54     ` Jon Mason
2005-02-24 20:14     ` Robin Green
2005-02-24 20:28       ` Eric S. Johansson
  -- strict thread matches above, loose matches on Subject: below --
2005-02-24 19:51 Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.