Re: [uml-user] Some Drivers in UML kernel

2008-05-19 Thread Jeff Dike
On Mon, May 19, 2008 at 05:29:19PM -0700, David Francisco Rodriguez Perez wrote: > I was able to compile my driver using user space library libc.a. If libc is all you need, then don't bother trying to pull in libc.a at all. UML needs libc, so you'll get it anyway. > So I wanted to compile the d

Re: [uml-user] Some Drivers in UML kernel

2008-05-19 Thread David Francisco Rodriguez Perez
Hi All Sorry pls disregard my message. I was able to do it. I created a driver similar to vde and pcap linking user space library libc.a and then I exported the symbols to make TCP connections. Then I created a normal loadable module to use those methods to make a connection to a server out of th

Re: [uml-user] Some Drivers in UML kernel

2008-05-19 Thread David Francisco Rodriguez Perez
Hi I was able to compile my driver using user space library libc.a. But when I run the Linux executable, it runs this driver very early in the bootup process such that I have not setup the ethernet eth0 interface. So the output looks like: HelloTCP Start Not able to connect to remote client... Th

Re: [uml-user] Some Drivers in UML kernel

2008-05-16 Thread Jeff Dike
On Fri, May 16, 2008 at 11:35:20AM -0700, David Francisco Rodriguez Perez wrote: > I am working on a simulator of a product and so far we have decided to go > with UML. I have so far 2 questions. > 1. There is a network namespace patch that is coming into the mainline in > 2.6.26. Is this patch goi

[uml-user] Some Drivers in UML kernel

2008-05-16 Thread David Francisco Rodriguez Perez
Hi I am working on a simulator of a product and so far we have decided to go with UML. I have so far 2 questions. 1. There is a network namespace patch that is coming into the mainline in 2.6.26. Is this patch going to be supported in UML? 2. The following question is maybe a no-brainer. We have a