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

2008-10-14 Thread Benedict Verheyen
Hi, i still can't use ssh on my UMl's because of the skas 4 patch problems i had in the past. Is there a recent skas 4 patch for kernel 2.6.25.4 or do i better use a skas 3 patch (and probably a kernel version lower than what i'm using now)? Thanks, Regards, Benedict -

Re: [uml-user] aptitude segfaults

2008-08-25 Thread Benedict Verheyen
Randall Smith wrote: > I installed a UML Etch dist as described here: > > http://www.punknix.com/?q=virtualization_uml > > aptitude segfaults on everything I've tried except update. Here is > example output. > > ws-uml:~# aptitude install python > Reading package lists... Done > Building depen

Re: [uml-user] UML check_ptrace ptrace_oldsetoptions failed

2008-08-06 Thread Benedict Verheyen
Giovanni Funchal wrote: > Hi again, > > So, I downloaded and compiled linux 2.6.26 with ARCH=um, but when I > try to run it it says "Checking that ptrace can change system call > numbers...check_ptrace: PTRACE_OLDSETOPTIONS failed: Input/output > error". > > -- Giovanni You said that you have 2.

Re: [uml-user] UML vs installing things in home directory

2008-08-06 Thread Benedict Verheyen
Giovanni Funchal wrote: > Hi, > > I'm stuck with an old red hat pc at work (on which I don't have root > access). Now I'm wanting to install a certain program, but after > checking it would require updating lots of dependences including libc, > binutils, gcc, etc. I could go for the old "./configu

Re: [uml-user] ssh fails from uml to host

2008-08-04 Thread Benedict Verheyen
Shehla Saleem wrote: > I am having a problem in using ssh in UML. My host can ssh into the > uml but ssh from uml into host fails. following is what happens: > I recently also had (well have) a problem with ssh and UML which is still not solved. It's a combination of a certain version of the ke

Re: [uml-user] Is it possible to use UML like server???

2008-08-04 Thread Benedict Verheyen
Diego Ramos V. wrote: > Hi everyone, definetly I couldn't run UML on centos 5, and I'm using on > Debain 4.0, I want to know, if it´s possible to configure a such web > server and mail server inside UML, and how do I, or at least for > configuring inside host, and later mount it on UML, with

Re: [uml-user] UML port connection problem

2008-08-04 Thread Benedict Verheyen
Thomas Winkler wrote: > Hello, > > I want to connect to my UML using a port connection. For that purpose I've > added the following to my UML kernel command line: > > con7=port:9000 > > When I try to telnet to localhost:9000 on the host I get following message in > UML: > > [42949394.49]

Re: [uml-user] skas4 on x86-32 -> boom at startup, and fallback failing too

2008-06-25 Thread Benedict Verheyen
Nix wrote: > I felt unhappy recently because UML was working perfectly well and I had > no complaints (except for the absence of skas3 on 2.6.25 > hosts). Obviously this was unacceptable. > > So I tried out skas4, host+guest (the guest also has your rng patches, > time fixes, and SIGWINCH fixes ap

Re: [uml-user] ssh can't obtain random bytes

2008-06-25 Thread Benedict Verheyen
Benedict Verheyen wrote: > Benedict Verheyen wrote: >> Jeff Dike wrote: >>> On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >>>> Random patches are still in place. I'm wondering why this does not work... >>>> Jeff, any idea ? >

Re: [uml-user] ssh can't obtain random bytes

2008-06-25 Thread Benedict Verheyen
Benedict Verheyen wrote: > Jeff Dike wrote: >> On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >>> Random patches are still in place. I'm wondering why this does not work... >>> Jeff, any idea ? >> Is it dumping messages about not being ab

Re: [uml-user] ssh can't obtain random bytes

2008-06-20 Thread Benedict Verheyen
Jeff Dike wrote: > On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >> Random patches are still in place. I'm wondering why this does not work... >> Jeff, any idea ? > > Is it dumping messages about not being able to get enough entropy? > > If you strace UML on the host, do you

Re: [uml-user] ssh can't obtain random bytes

2008-06-17 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > Ok, I checked git log, and a couple uml changes sneaked in after 2.6.26-rc6. > Commits f1ef9167ca4494a8c6d71d0031c73e9c8841eadd and > 14c8a77e1bbd693446dad297d2ae2dd22f187e4f. > Either try > http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.26-rc6-git3.bz2 > o

Re: [uml-user] ssh can't obtain random bytes

2008-06-16 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > 2008/6/16 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> Hi Benedict, all, >> >> I've solved the problem, and rebased on a newer linus tree (a bit >> after rc6). git clone >> git://gitorious.org/low-unofficial-linux-uml-hacking-tree/mainline.git >> I've deleted the previous

Re: [uml-user] ssh can't obtain random bytes

2008-06-11 Thread Benedict Verheyen
Benedict Verheyen schreef: > Laurent Wandrebeck wrote: > >> OK, silly me. I've (at last) finished to port the beast. >> Compile tested on x86_64. >> you can git clone >> git://gitorious.org/my-unofficial-linux-uml-tree/mainline.git or git >> clone http://

Re: [uml-user] ssh can't obtain random bytes

2008-06-09 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > OK, silly me. I've (at last) finished to port the beast. > Compile tested on x86_64. > you can git clone > git://gitorious.org/my-unofficial-linux-uml-tree/mainline.git or git > clone http://git.gitorious.org/my-unofficial-linux-uml-tree/mainline.git > Laurent. Hi, i

Re: [uml-user] ssh can't obtain random bytes

2008-06-07 Thread Benedict Verheyen
Benedict Verheyen schreef: > > Jeff, > > i googled for this patch and saw that it was commited in 2.6.26.rc2. > Does that mean that i need to compile a new 2.6.26.rc2 kernel or a new > 2.6.26.rc2 guest kernel or both ? > > Also, when i have compiled a new kernel, do

Re: [uml-user] ssh can't obtain random bytes

2008-06-05 Thread Benedict Verheyen
I found an option "Hardware random number generator" in the UML config that sets CONFIG_UML_RANDOM. Together with rng-tools and a daemon program rngd, it allows injection of the hosts entropy into the guests /dev/random. Maybe this will solve the problem, i'll try it out. Regards, Benedict -

Re: [uml-user] ssh can't obtain random bytes

2008-06-05 Thread Benedict Verheyen
Cameron Kerr wrote: > If you use -d, chances are it probably doesn't work correctly either, > but by then its already put itself into the background and so you see > it return. > > What does it '/usr/sbin/sshd' pause on when you run it inside strace? > I'm thinking it may be that its pausing

[uml-user] ssh can't obtain random bytes

2008-06-04 Thread Benedict Verheyen
Hi, i have a problem with running ssh on an etch UML system. I think this problem only started since Debian had the openssl bug. When i try to run sshd using /etc/init.d/ssh start, it doesn't run anymore. It prints the starting message but that's all. No sshd process running. When i try the c

Re: [uml-user] stop and go results in a "Not stopped" error

2008-06-03 Thread Benedict Verheyen
Jeff Dike wrote: > On Tue, May 27, 2008 at 03:31:06PM +0200, Benedict Verheyen wrote: >> on a couple of UML's, i get this error: >> >> wait_stub_done : failed to wait for SIGTRAP, pid = 10662, n = 10662, >> errno = 0, status = 0x1c7f >> Stub registers - &

Re: [uml-user] Loading an ISO with UML.

2008-05-28 Thread Benedict Verheyen
David Chanters wrote: > Hi -- > > 2008/5/27 Benedict Verheyen <[EMAIL PROTECTED]>: >> ./vmlinuz_2.6.24.3 devfs=nomount load_ramdisk=1 ramdisk_size=3 >> mem=128m initrd=initrd.gz root=/dev/ram0 >> ubd0=root_fs_test ubd1=debian-testing-i386-netinst.iso ub

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-23 Thread Benedict Verheyen
Jeff Dike wrote: > This is a stock 2.6.25.4 you've using dpkg to build? If not, could > you build a kernel.org kernel? > > If you see this with a stock kernel, any chance you can bisect it? I > don't see any suspicious tls-related things between 2.6.24 and > 2.6.25. There are ~100 changes in ar

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Thu, May 22, 2008 at 07:02:49PM +0200, Benedict Verheyen wrote: >> I tried and i got this error when starting the UML: >> arch_switch_tls failed, errno = EINVAL >> PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 >> PTRACE_SET_THREAD_AREA f

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Thu, May 22, 2008 at 11:27:28AM +0200, Benedict Verheyen wrote: >> I'm using Debian 4.0 stable (etch) with a vanilla kernel 2.6.24.3 on the >> host and the guest. > > Try upgrading the guest to 2.6.

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Tue, May 20, 2008 at 05:40:00PM +0200, Benedict Verheyen wrote: >> whenever i try to stop an uml to take backups >> and afterwards want to start it again with the "go" command, i always >> get the error "Not stopped". > > What

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-21 Thread Benedict Verheyen
Jay Shah wrote: > How many (CPU) cores are you running on the host machine? > The machine has 1 CPU (1 core). Regards, Benedict - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studi

[uml-user] stop and go results in a "Not stopped" error

2008-05-20 Thread Benedict Verheyen
Hi, whenever i try to stop an uml to take backups and afterwards want to start it again with the "go" command, i always get the error "Not stopped". (testvm) stop OK stopped (testvm) sysrq s OK SysRq : Emergency Sync (testvm) go ERR Not stopped Anybody know why? Thanks, Benedict

Re: [uml-user] inittab help

2008-04-02 Thread Benedict Verheyen
kewlemer wrote: > My bad - sorry this is what I have - > 3:2345:respawn:/sbin/getty 38400 tty3 > > I still get this error - > NIT: cannot execute "/sbin/getty" > INIT: cannot execute "/sbin/getty" > INIT: cannot execute "/sbin/getty" > INIT: cannot execute "/sbin/getty" > INIT: Id "3" respawning

Re: [uml-user] Filesystem with XWindows

2008-03-28 Thread Benedict Verheyen
Haywood Floyd wrote: > Hi, > > did you run ethereal/wireshark in this way ? > > Regards I finally got round to testing it and wireshark runs in an UML with a graphical shell. As I said, i run fluxbox as my windowmanager. I connect to the UML via a Windows machine with VNC tunneled over SSH. Secu

Re: [uml-user] Filesystem with XWindows

2008-03-25 Thread Benedict Verheyen
Haywood Floyd wrote: > Hi, > > did you run ethereal/wireshark in this way ? > > Regards Nope, i could install it and see what happens. If i have time, i'll try and see if running ethereal works Regards, Benedict - This SF

Re: [uml-user] Filesystem with XWindows

2008-03-25 Thread Benedict Verheyen
vincent-perrier wrote: > I tried to run a window manager on the clownix file system, > it fails, but any other x program works, xterm, wireshark, > firefox ... works fine. > If you manage to make a window manager work, and if there > is some kind of hack for it, please tell me. I work with a gui

Re: [uml-user] Filesystems

2008-03-21 Thread Benedict Verheyen
Brendan McNally wrote: > Hi All > > Just wondering if anyone has any experience of build OS filesystems on > Ubuntu. I've downloaded the UMLBuilder application but it's only > available as an RPM. > > Would you recommend using a pre-created FS and just modifying it for my > own needs? > > Br

Re: [uml-user] looking for network-ready fedora 8 kernel and root fs

2008-03-13 Thread Benedict Verheyen
Robert P. J. Day wrote: > p.s. this *appears* to be what you're doing in your setup at the > bottom of that web page again. i note that, when you start a UML > session, you assign the host eth0 an address of 192.168.1.254, which > suggests your local (physical) network is 192.168.1.0 (which is

Re: [uml-user] skas3

2008-01-04 Thread Benedict Verheyen
Brock, Anthony - NET schreef: > Flavio, > > Try the patch from here: > > http://www.coherenthosting.com/prj/uml/skas-2.6.23.patch.bz2 > > I haven't tried it yet as I've been waiting for something else, but it > seemed to copy correctly from Jeff's original email. Please let me know > how it work

Re: [uml-user] skas3

2008-01-04 Thread Benedict Verheyen
Brock, Anthony - NET schreef: > Flavio, > > Try the patch from here: > > http://www.coherenthosting.com/prj/uml/skas-2.6.23.patch.bz2 > > I haven't tried it yet as I've been waiting for something else, but it > seemed to copy correctly from Jeff's original email. Please let me know > how i

Re: [uml-user] skas3

2008-01-04 Thread Benedict Verheyen
Flavio schreef: >> Thanks for the link. I couldn't apply the patch, i get an error. >> >> patch unexpectedly ends in middle of line >> patch: Only garbage was found in the patch input. >> >> What am i doing wrong? I noticed the patch containsinstead >> of the symbols but changing that giv

Re: [uml-user] skas3

2008-01-04 Thread Benedict Verheyen
Ryan Finnie schreef: > On Jan 3, 2008 11:44 PM, Flavio <[EMAIL PROTECTED]> wrote: >> On 04/01/2008, Martin Paraskevov <[EMAIL PROTECTED]> wrote: >>> I haven't been able to find some a resource with a recent skas3 patch and >>> howto for installation. Is this still maintained? Can you give me some

Re: [uml-user] UML fails when logging in due to /dev/shm?

2007-09-19 Thread Benedict Verheyen
Benedict Verheyen schreef: > Hi, > > > i recently encountered a problem when starting an UML. > I had 5 running and wanted to start a 6th. > I booted but when in logged in, it crashed just before > reaching the prompt. > With crashing, i actually mean more like vanishi

[uml-user] UML fails when logging in due to /dev/shm?

2007-09-19 Thread Benedict Verheyen
Hi, i recently encountered a problem when starting an UML. I had 5 running and wanted to start a 6th. I booted but when in logged in, it crashed just before reaching the prompt. With crashing, i actually mean more like vanishing as it dropped me to the system prompt and no trace of the UML was fo

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-09-10 Thread Benedict Verheyen
Jeff Dike schreef: >> I think i would better split this up: >> * move the homedirectories to an UML with samba installed to share the >> files so they are accessible via samba >> * create home directories on the mail UML to store email. >> >> So mails & files will be stored on 2 different UML's bu

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-09-05 Thread Benedict Verheyen
Jeff Dike schreef: >> How can i get an uml to behave like a physical machine in regards with >> these permission issues as i would very much want to stay with this >> technology ? > > Don't use hostfs for this and UML will behave like any other system. OK, but i'm not sure how to handle this in a

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-09-04 Thread Benedict Verheyen
Benedict Verheyen schreef: > Jeff Dike schreef: >>>e screen -S $NAME -d -m $UML/$KERNEL $OPTIONS con=null con0=fd:0,fd:1 >> You want a sudo -u $UMLUSER before that screen. >> > > Jeff, > > that solved it for me. The uml now starts as user benedict and in

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-09-03 Thread Benedict Verheyen
Jeff Dike schreef: > >>e screen -S $NAME -d -m $UML/$KERNEL $OPTIONS con=null con0=fd:0,fd:1 > > You want a sudo -u $UMLUSER before that screen. > Jeff, that solved it for me. The uml now starts as user benedict and in the UML, the mails are no longer saved as root:root ! I'm happy, it wo

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-23 Thread Benedict Verheyen
he "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $DESC: $NAME"

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-22 Thread Benedict Verheyen
Jeff Dike schreef: Thanks Jeff for answering my questions. Much appreciated. >> The tun device is owned by root though. Does this also have to be my user? > > No - it just needs to be accessible to whoever is running the UML. OK. >> When getmail then gets mail (what's in a name :)), the mail i

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-21 Thread Benedict Verheyen
Jeff Dike schreef: > On Fri, Aug 17, 2007 at 03:24:59PM +0200, Benedict Verheyen wrote: >> I first thought of using hostfs and leaving /home on the host machine. >> This for instance resulted in saving emails from a user with root rights. >> Anyway, to solve this, i thought of

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-17 Thread Benedict Verheyen
Jeff Dike schreef: Thanks for your answers Jeff. > hostfs should work in this case. If you have a UML running as user, > importing the host's /home/user, the permissions should be OK. OK, but if want to import all of /home and not just /home/usr. Is hostfs still usable in this case? Because th

[uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-17 Thread Benedict Verheyen
Hi, i moved my vservers to UML but in the process, i ran into a problem. I need to access the /home partition from several uml's. I first thought of using hostfs and leaving /home on the host machine. This for instance resulted in saving emails from a user with root rights. Anyway, to solve this