[uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Hi all, I've been reading up on UML and decided I want to give it a try. I've done some reading about it, and just have a few questions which I want to get straight in my head, so hopefully some kind souls here will help clarify them for me. Am I right in thinking that the SKAS patch is only nee

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > The SKAS4 patch is for both guest and host kernel. > That's not like the skas3 patch which is only for the host kernel. But > now, it doesn't matter! Use the skas4 patch! Ah, right -- thank you, and as you say I'll search the archives to find SKAS

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > 2008/5/25 David Chanters <[EMAIL PROTECTED]>: >> Ah, right -- thank you, and as you say I'll search the archives to >> find SKAS4. > Yes, here is the last patch: > http://marc.info/?l=user-mode-linux-devel&am

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > You have to copy and locally paste only the necessary parts, from > diff --git a/arch/um/include/as-layout.h b/arch/um/include/as-layout.h > to > [...] > + return ret; > +} <- last line of the patch. > > It worked for me. > You know how to ap

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > Try this patch: http://rapidshare.com/files/117542575/skas4-2.6.25.patch.html > It's the patch I have on my own PC and I have uploaded for you. > It works for me. I feel like an idiot. Thank you so much - that patch does indeed apply cleanly. I

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
2008/5/25 David Chanters <[EMAIL PROTECTED]>: > Now it's compiling the host kernel. And I am just reading up about > guest kernels and filesystems. I am sure I will be back here with > more questions, but I wanted to thank you personally for being so > patient and helpful

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > It would be a great idea but, as you know, there's an official UML > website. Patches should be available at that site: > www.user-mode-linux.org at the download section. So that's no > necessity to place them on another server, but simply they cou

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- > No, you didn't miss anything! You're on the right place. Ah good. :) > Feel free to ask more questions here. Thank you. I've built the host kernel now, and booted from it just fine. (SKAS is in there somewhere). I am now following this to build the guest kernel: http://uml.jfdi

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
2008/5/25 David Chanters <[EMAIL PROTECTED]>: > % m make oldconfig ARCH=um That should of course read: % make oldconfig ARCH=um Sorry about that! Need more coffee. David. - This SF.net email is sponsored by:

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Flavio -- 2008/5/25 Flavio <[EMAIL PROTECTED]>: > I tried the BusyBox image for amd64 and it perfectly works. And now it works for me... almost. :) Using strace, I realised that for whatever reason I must run: % ./linux root= As "root" since strace showed a "permission denied" error. Upo

Re: [uml-user] New user: Basic UML questions.

2008-05-25 Thread David Chanters
Sorry for answering my own questions -- 2008/5/25 David Chanters <[EMAIL PROTECTED]>: > Should't I see a getty at I some point? Using a different FS than busybox worked. I tried the Debian-4.0-x86-root_fs from the aforementioned site, and all worked well. But using the following:

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

2008-05-27 Thread David Chanters
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 ubd2=/dev/cdrom > eth0=tuntap,tap8 Thanks for the hint. i ran the follow

[uml-user] xterms spawned with no getty

2008-05-29 Thread David Chanters
Hi all, I've been (ab)using UML now for a few days and have it all working properly, except a small oddity... With a root_fs image i've made, everything works and it will spawn three xterms just fine - one for syslog, and another two with gettys attached. This is on my home system with a guest U

Re: [uml-user] Problem starting kernel on: http://user-mode-linux.sourceforge.net/

2008-05-29 Thread David Chanters
Hi - 2008/5/29 J <[EMAIL PROTECTED]>: > UML does not manage to start up and exits with the error: >Checking advanced syscall emulation patch for ptrace...check_ptrace > : expected SIGTRAP or (SIGTRAP | 0x80), got status = 256 > > I performed as said the following commands: > > $ wget -q http:/

Re: [uml-user] xterms spawned with no getty

2008-06-01 Thread David Chanters
Jeff -- 2008/5/29 Jeff Dike <[EMAIL PROTECTED]>: > On Thu, May 29, 2008 at 09:09:24AM +0100, David Chanters wrote: >> With a root_fs image i've made, everything works and it will spawn >> three xterms just fine - one for syslog, and another two with gettys >> atta