[uml-user] Questions about user mode linux

2006-09-21 Thread Lee Cartwright
Hi everyone, I am looking into user mode linux to help with some testing, however I'm not sure if it is capable of doing quite what I need. I have a couple of questions that I was hoping you could answer. 1) Is it possible for an instance of user mode linux to simulate the use of a piece of ha

[uml-user] Problems compiling user mode linux kernel

2006-09-26 Thread Lee Cartwright
Hi all, I've got a session of user mode linux up and running using the pre-compiled binaries so thought I would have a go at building my own uml. Hopefully this will help me to understand uml a bit more. I have downloaded the 2.6.18 kernel from kernel.org and applied the -mm patch (Which I bel

Re: [uml-user] Problems compiling user mode linux kernel

2006-09-27 Thread Lee Cartwright
Hi Samuel, Thanks, that got me a bit further :) I removed my linux directory, unpacked the kernel source again and applied the patch you linked to. The make is now failing with the following error: CC lib/rbtree.o CC lib/rwsem.o CC lib/semaphore-sleepers.o CC lib/sha1

Re: [uml-user] Problems compiling user mode linux kernel

2006-09-27 Thread Lee Cartwright
Samuel Korpi wrote: > >> > Hmm. I've never had such a problem. Check that you have libutil.a in > your library path (e.g. /usr/lib/libutil.a). If not, that is most > likely causing the error. Depending on your distro, you then have to > find where libutil.a is provided. > > /Samuel > > Embarrassin

Re: [uml-user] Problems compiling user mode linux kernel

2006-09-27 Thread Lee Cartwright
Jeff Dike wrote: > If your distro really has libutil only in /usr/lib, then the place to fix > that is this line in arch/um/Makefile: > > LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib > > Jeff > Hi Jeff, Here is the libutil info for my system (FC4 for the

Re: [uml-user] Problems compiling user mode linux kernel

2006-09-27 Thread Lee Cartwright
Jeff Dike wrote: > You should have added the /usr/lib part, not modified /lib to /usr/lib. > > But in any case, that's not the problem, so put that back the way it was > and add "V=1" to the UML build command and post the failing link command > line. > > Jeff > >

[uml-user] [Fwd: Re: Problems compiling user mode linux kernel]

2006-10-09 Thread Lee Cartwright
Hi all, I was dragged away from this problem for a couple of weeks and have only just got back to it. I'm still having the same problem. I have even tried building 2.6.17.13 and get exactly the same error, which suggests to me it is definitely something in my setup. I'm running Fedora Core 4,

Re: [uml-user] [Fwd: Re: Problems compiling user mode linux kernel]

2006-10-10 Thread Lee Cartwright
Hi Jeff, I'll give this a try today. One thing to note is that if I build a native version of the kernel rather than a uml version everything works ok. Thanks, Lee Jeff Dike wrote: > > Can you link anything against libutil? Try some stupid little hello > world program. This smells like some s