[uml-user] /dev/random and other strangeness

2008-02-23 Thread Anthony Brock
I recently upgraded some of my guest UML instances from and old kernel version (2.6.20.6) to a recent version (2.6.24.2). However, I am now experiencing strange behavior from various software packages following the upgrade (I use Debian lenny). For example, my ssh daemon has started crashing period

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
> On Sat, Feb 23, 2008 at 11:14:51AM -0800, Anthony Brock wrote: >> My instance has the follow on the file system: >> >> # ls -lA /dev/*rand* >> crw-rw-rw- 1 root root 1, 8 2008-02-11 11:43 /dev/random >> crw-rw-rw- 1 root root 1, 9 2008-02-23 10:06 /dev/urand

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
Quoting Jeff Dike <[EMAIL PROTECTED]>: > On Tue, Feb 26, 2008 at 08:30:35AM -0800, Anthony Brock wrote: >> It appears that this patch is designed against 2.6.22. Do you want me to >> downgrade from 2.6.24.2 to 2.6.22 to try this? > > It's against 2.6.25-rc2-mm1

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
>> On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: > So, I'm going to try and manually fit the rejected portions into the code. It has obviously been too long since I developed any software. I worked past this issue with the '-l' flag to patch and it is cur

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
> On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: >> # bzip2 -dc ../2.6.25-rc2-mm1.bz2 | patch >> The next patch would create the file o2cb, >> which already exists! Assume -R? [n] > > That looks right - I'd double-check that the tree is what you thi

Re: [uml-user] /dev/random and other strangeness

2008-02-27 Thread Anthony Brock
> On Tue, Feb 26, 2008 at 08:45:24PM -0800, Anthony Brock wrote: >> It has obviously been too long since I developed any software. I worked >> past this issue with the '-l' flag to patch and it is currently >> compiling. >> I will start testing the new ker

Re: [uml-user] /dev/random and other strangeness

2008-02-28 Thread Anthony Brock
Hmmm, I would guess that the random patch is helping a little as I have only had two recurrences since installing new kernel: Feb 27 11:35:09 dns2 sshd[1152]: fatal: Couldn't obtain random bytes (error 604389476) Feb 27 14:29:16 www sshd[3060]: fatal: Couldn't obtain random bytes (error 604389476)

Re: [uml-user] /dev/random and other strangeness

2008-02-29 Thread Anthony Brock
> On Fri, Feb 29, 2008 at 12:35:38PM +0100, Jan Wolff wrote: >> Could the entropy in /dev/random be exhausted because Anthony drains >> more >> entropy than is produced? > > That's what I'm thinking. The UML /dev/hw_random is attached to the > host's /dev/random. If you have rng-utils installed i

[uml-user] Upgrade to 2.6.26-rc5 results in boot failure

2008-06-21 Thread Anthony Brock
I have been running several UML instances on older kernels for some time hoping to see a fix for the random issue. However, a recent upgrade to 2.6.26-rc5 now reults in periodic boot failures of the virtual systems. Downgrading to 2.6.25-rc2-mm1 returns to previous behavior (reliable boot, but othe

Re: [uml-user] recent skas 4 patch or better use skas 3?

2008-11-15 Thread Anthony Brock
I'm interested in trying a more recently kernel version that 2.6.24. Where would I download the latest version of SKAS4? Also, is it available for 2.6.27? Has it reached the point where it is considered production or beta quality? Or is it still alpha code? If it is still alpha code, are there any

RE: [uml-user] bind9 utils seg fault

2004-12-03 Thread Anthony Brock
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jonas Meurer Sent: Friday, December 03, 2004 5:05 PM To: [EMAIL PROTECTED] Subject: Re: [uml-user] bind9 utils seg fault On 02/12/2004 Tad Kollar wrote: > I'm running a 2.4.27 host + host-skas3-2.4.25.patch and

RE: [uml-user] Error with uml-2.4.27-bs1.patch

2004-12-04 Thread Anthony Brock
Franck, First, did you apply the patch via something like: wget -c http://www.user-mode-linux.org/~blaisorblade/patches/guest/uml-2.4.27-bs1/um l-2.4.27-bs1.patch.bz2 cd linux-2.4.27 bzip2 -dc ../uml-2.4.27-bs1.patch.bz2 |patch -p1 Your error suggest that you might be missing the '-p1'. Tony

RE: [uml-user] bind9 utils seg fault

2004-12-05 Thread Anthony Brock
On Saturday 04 December 2004 07:32, Christopher S. Aker wrote: > You might also want to give 2.6.9-bb4 a shot as your guest patch. I will give 2.6.9-bb4 a try tomorrow. However, I am now noticing some interesting behavior (now that I'm paying closer attention). Both of my UML instances will start

Re: [uml-user] bind9 utils seg fault

2004-12-07 Thread Anthony Brock
Quoting "Christopher S. Aker" <[EMAIL PROTECTED]>: >> I've been experiencing erratic problems with bind 9.2.3 (bind-9.2.3-76) on >> my SuSE 9.1 UML images. The host is running a stock SuSE 2.6.5 kernel >> (2.6.5-7.111-smp) while the guest is running 2.6.7-1um. The software will >> run for hours or

Re: [uml-user] bind9 utils seg fault

2004-12-07 Thread Anthony Brock
Quoting Anthony Brock <[EMAIL PROTECTED]>: Quoting "Christopher S. Aker" <[EMAIL PROTECTED]>: I've been experiencing erratic problems with bind 9.2.3 (bind-9.2.3-76) on my SuSE 9.1 UML images. The host is running a stock SuSE 2.6.5 kernel (2.6.5-7.111-smp) while the gues

Re: [uml-user] bind9 utils seg fault

2004-12-09 Thread Anthony Brock
Quoting Anthony Brock <[EMAIL PROTECTED]>: Quoting Anthony Brock <[EMAIL PROTECTED]>: Quoting "Christopher S. Aker" <[EMAIL PROTECTED]>: You might also want to give 2.6.9-bb4 a shot as your guest patch. I will try this same kernel (compiled and run) on a SuSE 9.1 host

Re: [uml-user] UML (kernel 2.6.8) just SIGSTOP s

2005-02-07 Thread Anthony Brock
Quoting Blaisorblade <[EMAIL PROTECTED]>: Checking for the skas3 patch in the host...found Checking for /proc/mm...found Suspended (signal) Well, this problem was described earlier - and it's workarounded by exporting the env. var LD_ASSUME_KERNEL=2.4.1 before running UML (so that ld.so will link

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Anthony Brock
>>> Paul Warren <[EMAIL PROTECTED]> 02/09/05 07:12AM >>> > Right, but the memory is mmapped to that file. My understanding is that > the memory will only be synced with the disk when either (a) msync (or > munmap) gets called or (b) the kernel has nothing better to do. > I'm assuming that (a) doe

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Anthony Brock
Paul Warren <[EMAIL PROTECTED]> 02/09/05 10:31AM >>> > A delay. My original question was, does using tempfs do more than > prevent the memory from getting swapped out? We have developed a patch > that mlock()s the memory (using a setuid helper app), and thus should > stop it from getting swa

Re: [uml-user] swapoff hangs forever in UML guests

2005-03-03 Thread Anthony Brock
Quoting Nuutti Kotivuori <[EMAIL PROTECTED]>: No problem - I'm just mailing here in case someone has encountered the kind of problems we are seeing elsewhere. We've encountered this on some of our systems. However, it only seems to happen on a shutdown, not a reboot. Does this fit with your experi

RE: [uml-user] current root images

2005-04-08 Thread Anthony Brock
You might also try some of the ones listed at on the wiki: http://uml.harlowhill.com/index.php/UMLRootFilesystems However, these are also somewhat dated. If you find others, please add them to this site. Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf O

RE: [uml-user] current root images

2005-04-08 Thread Anthony Brock
Wiki has been updated with both David Houlden's Slackware images and Jim Carter's SuSE instructions. Tony --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover whi

Re: [uml-user] hostfs permissions problems

2005-04-09 Thread Anthony Brock
Quoting Dave Pearson <[EMAIL PROTECTED]>: Rather than use hostfs, I've been using NFS to mount my home on various umls - it gives me more flexibility to move the uml to a machine with more horsepower if I want to without shagging out the setup. If you can get TunTap working with 2.4 then this is a

Re: [uml-user] "stable" kernel ?!

2005-04-13 Thread Anthony Brock
Fabio, The most advanced, stable and mature UML kernel (IMHO) is a 2.6.10 (or newer) host kernel with v7 or newer of the SKAS patch. This host should be able to run almost any functional UML host. You can download the SKAS patch from: http://www.user-mode-linux.org/~blaisorblade/ However, this de

Re: [uml-user] "stable" kernel ?!

2005-04-14 Thread Anthony Brock
>>> Blaisorblade <[EMAIL PROTECTED]> 04/14/05 02:16PM >>> >On Tuesday 12 April 2005 19:42, Anthony Brock wrote: >> The most advanced, stable and mature UML kernel (IMHO) is a 2.6.10 (or >> newer) host kernel with v7 or newer of the SKAS patch. This host

RE: [uml-user] about screen

2005-04-23 Thread Anthony Brock
Have you tried the command: screen -ls This, according to my man page, is the way to produce a list of screens. Tony > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jack > Sent: Saturday, April 23, 2005 5:47 AM > To: user-mode-linux-user > Subject:

Re: [uml-user] Witch patch for SKAS kernel?

2005-04-26 Thread Anthony Brock
Given how often this has come up recently, should we add something about the most "stable" or "suggested" kernel combinations to the wiki? Of course, this would require someone to keep it updated as new releases come out... :) Tony >>> <[EMAIL PROTECTED]> 04/26/05 01:56AM >>> > Hello, i have to

Re: [uml-user] Question on UML Management

2005-04-26 Thread Anthony Brock
Rick, This is a security question in addition to a management question. For example, assume that one of your guest instances is eventually compromised. Will it matter if the attacker can freely access the file system of the other instances? If so, then you should look at creating separate accou

Re: [uml-user] mysqld can't start on my host and guest.

2005-04-27 Thread Anthony Brock
Jack, Have you removed the /lib/tls directory? Tony Quoting Jack <[EMAIL PROTECTED]>: hello . on my uml host ,i try to start mysqld ,but faild , and i checked the mysqld.log . it reports below: 050428 03:28:42 mysqld started ^G/usr/libexec/mysqld: Can't read dir of '/tmp/' (Errcode: 13) ^G

RE: [uml-user] DHCP requests not happening

2005-05-01 Thread Anthony Brock
Mike, I believe it's the second hex number that must be even. Take a look at the third paragraph on the following site: http://www.erg.abdn.ac.uk/users/gorry/course/lan-pages/mac-vendor-codes.html BTW, it wouldn't hurt to post the MAC address you're trying to use. Tony -Original Message--

RE: [uml-user] Networking: A common situation question ...

2005-05-06 Thread Anthony Brock
Paulo, Have you followed the instructions on the wiki? They can be found at: http://uml.harlowhill.com/index.php/UMLNetworking Tony > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Paulo da Silva > Sent: Friday, May 06, 2005 2:39 PM > To: user-mode

RE: [uml-user] Fedora 3

2005-05-20 Thread Anthony Brock
You will find several available images (some new, some not so new) listed on the UML wiki: http://uml.harlowhill.com/index.php/UMLRootFilesystems Tony > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Gianni > Sent: Friday, May 20, 2005 9:32 AM > To:

Re: [uml-user] Bridging problems

2005-05-23 Thread Anthony Brock
Are you on the same network as the machine, or are you remote? If you're remote, have you ensured that you're machines default route is still active after you've reconfigured for bridging? Tony >>> Celso González <[EMAIL PROTECTED]> 05/23/05 07:31AM >>> Hi people I will try to explain my situ

Re: [uml-user] Fedora core 3 root filesystem available

2005-06-06 Thread Anthony Brock
Bill, Have you updated the wiki to reflect this? You can find it at: http://uml.harlowhill.com/index.php/UMLRootFilesystems Tony >>> William Stearns <[EMAIL PROTECTED]> 06/05/05 10:34AM >>> Good afternoon, all, I have a fedora core 3/i386 filesystem that seems to Work Well For Me(tm).

RE: [uml-user] QM_MODULES: Function not implemented

2005-06-10 Thread Anthony Brock
I normally find it best to chroot myself in the loop-mount environment such as: mount -o loop /srv/vs/images/my_test.img /mnt chroot /mnt /bin/sh apt-get update apt-get install . Tony > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > antoine > Sen

RE: [uml-user] QM_MODULES: Function not implemented

2005-06-11 Thread Anthony Brock
rn OS image. You can find these (and a lot of other information) on the UML Wiki at: http://uml.harlowhill.com/ http://uml.harlowhill.com/index.php/UMLRootFilesystems Good luck. - Tony > -Original Message- > From: Dinesh Ahuja [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 11,

Re: [uml-user] QM_MODULES: Function not implemented

2005-06-15 Thread Anthony Brock
Allocate another drive. Do something like the following on the master: dd if=/dev/zero of=disk2.img bs=512M count=1 losetup /dev/loop0 ./disk2.img mkfs -t ext2 /dev/loop0 losetup -d /dev/loop0 ../linux-kernel . ubd1=./disk2.img . Once the UML has been launched, mount the new drive in the

Re: Java 1.5, was Re: [uml-user] Increasing perfomance

2005-10-04 Thread Anthony Brock
Quoting Blaisorblade <[EMAIL PROTECTED]>: And I think that distributing usable root_fs images would be of great help... (actually, there are other sources but the site has no link to them - plus I don't like that much cherry-picking root_fs's from people I don't trust and putting UML's approval

RE: [uml-user] Over 16 UBD devices...

2005-10-08 Thread Anthony Brock
Derek, First, you don't need the ubd* devices on the host. They're useless in this context. Second, you need to boot the UML instance by specifying the ubd devices. For example, the following might be an acceptable permutation of your command: /root/uml/linux-2.6.12.3/linux ubd0=/backup/Slackware

[uml-user] Crash and stability problems with 2.6.15.3-bs2

2006-02-12 Thread Anthony Brock
I recently downloaded and started using kernel 2.6.15.3 with the bs2 patches from BlaisorBlade's website. Most of my instances continued to run as normal, however I started experiencing outages on a couple of them this morning. Specifically, two of the instances stopped responding to network and co

RE: [uml-user] Crash and stability problems with 2.6.15.3-bs2

2006-02-13 Thread Anthony Brock
> -Original Message- > From: Blaisorblade [mailto:[EMAIL PROTECTED] > Sent: Monday, February 13, 2006 6:13 AM > Subject: Re: [uml-user] Crash and stability problems with 2.6.15.3-bs2 > > > Could you upgrade them to 2.6.15.3-bs1 - to verify that indeed > that's still > safe, too? I've done

RE: [uml-user] Crash and stability problems with 2.6.15.3-bs2

2006-02-15 Thread Anthony Brock
Blaisor, Here is the output from the last two times your script ran on a development DNS server. The script ran successfully until last night when it segment faulted. Interesting enough, this happened on two of our development instances 14 minutes apart. The third instance is still running the scr

Re: [uml-user] Crash and stability problems with 2.6.15.3-bs2

2006-02-15 Thread Anthony Brock
Quoting Jeff Dike <[EMAIL PROTECTED]>: On Wed, Feb 15, 2006 at 09:08:00AM -0800, Anthony Brock wrote: Here is the output from the last two times your script ran on a development DNS server. The script ran successfully until last night when it segment faulted. Interesting enough, this ha

Re: [uml-user] newbe questions

2006-03-22 Thread Anthony Brock
Quoting David Lang <[EMAIL PROTECTED]>: I also get several thousand lines of error message like the following line_ioctl: tty0: ioctl KDGKBTYPE called line_ioctl: tty0: ioctl KDGKBTYPE called line_ioctl: tty0: ioctl KDGKBTYPE called line_ioctl: tty0: ioctl KDGKBTYPE called line_ioctl: tty0: ioct

RE: [uml-user] tun/tap devices and uniqueness

2006-03-24 Thread Anthony Brock
Try adding the MAC to your command line. Something like: # Start the UML kernel ubd0=root_fs \ con0=fd:0,fd:1 \ eth0=tuntap,$IF,fe:fd:xx:xx:xx:xx Tony > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Nic > Sent: Friday, Mar

RE: [uml-user] Re: UML hang on shutdown

2006-05-19 Thread Anthony Brock
> On Wed, May 17, 2006 at 11:12:22AM -0600, > Rennie deGraaf <[EMAIL PROTECTED]> wrote > a message of 120 lines which said: > > > I'm trying to build a UML guest system based on Gentoo and the > > 2.6.16.16 kernel. It seems to work, except that it always hangs on > > shutdown at the message " *

Re: [uml-user] UML hang on shutdown

2006-05-22 Thread Anthony Brock
Quoting Blaisorblade <[EMAIL PROTECTED]>: The stacktrace suggests that too (by memory), but why it progresses till a certain point and then becomes unable to do anything? There's something more involved - a lock on a page, or on a swap entry (but I don't know lock on swap entries), maybe? I don

RE: [uml-user] a challenge: the perfect uml setup for a laptop development environment?

2006-05-30 Thread Anthony Brock
-Original Message- > Nic James Ferrier <[EMAIL PROTECTED]> writes: > >> My second question is: can uml_switch help me make tuntap's on the fly >> and connect them all together? > > > Never mind. > > The crappy man page I was reading was nothing to: > > http://user-mode-linux.sourceforge.net

Re: [uml-user] Moving from UML to standalone

2006-06-01 Thread Anthony Brock
Quoting Daniel Lundberg <[EMAIL PROTECTED]>: Is it possilbe to do an image of my UML installation and extract it on a physical harddrive, and getting it to boot? Depending on your Linux flavor (Fedora, Debian, etc.), it may help to pre-install some packages that a UML instance doesn't need.

Re: [uml-user] Problems in sharing filesystems between Virtual Machines

2006-06-05 Thread Anthony Brock
> -Original Message- > On Tuesday 30 May 2006 20:07, Brock, Anthony - NET wrote: > > You need to create a separate COW file (probably based of the same > > original image) for each instance. Your customizations will then be > > written to the COW file while preserving the base image intact.

Re: [uml-user] Kernel Not Syncing: Bug!

2006-09-01 Thread Anthony Brock
Since nobody else has replied, comments are inline below. > -Original Message- > I'm trying to run about 50 UML hosts on a dual-processor (each > dual-core) Opteron system, running 64-bit Ubuntu 6.06LTS . In my experience, this is a LOT for one machine. Remember that each UML is probably

Re: [uml-user] Fwd: Mounting cdrom && usb pen drive

2006-11-05 Thread Anthony Brock
-Original Message- > DebianUM:~# mount -t vfat /dev/ubdc1 /mnt/pendrive > mount: special device /dev/ubdc1 does not exist > > How can I create it??? There are several resources one the Internet that would tell you how to do this. However, the short answer is something like the following sc

Re: [uml-user] skas3

2008-01-05 Thread Anthony Brock
> -Original Message- > Just to make sure I understand, the patch posted above is for > kernel 2.6.23 and > it is a host patch, right. If I want to patch kernel 2.6.18 (the > kernel coming with > Debian stable) should I use a patch for 2.6.18, for example this one: > > http://www.user-mode-l