Hi,
I've noticed that when connecting to the test web server via TAP,
connections seem to be a bit slow. I've added some test code to
"download" some data on the web server, and at most, i'm only getting
around 1.5K/s (using wget). Is there something i can do to improve the
connection speed, o
Hi,
In looking at those scripts, that's basically what I have done. Thank
you so much for your help Christian.
-
Peter Nguyen
Jacaranda Research Group
On 03/06/2010, at 10:09 PM, Christian Helmuth wrote:
> Hello,
>
> unfortu
er,
>
> On Thu, Jun 03, 2010 at 02:58:40PM +0930, Peter Nguyen wrote:
> > I think i might have figured out my issue. The IP address of 10.0.0.1
> > corresponds to the TAP device, which suggests that the requests are
> > coming from the TAP device (which it should be i think,
starting IP address ie. the IP address of the XP VM (which is obviously
not 10.0.0.1).
Peter
Peter Nguyen wrote:
> Sven,
>
> OK, so now i've got 2 different mac addresses for each of the instances.
> However, it seems to me that the remote ip addresses obtained by the web
> s
-net nic,model=pcnet,macaddr=00:81:71:61:51:41 -net
> tap,ifname=tap0,script=no,downscript=no
> Â
> Note that in my commandline the macaddr param sticks to the -net nic param
> while
> in yours it sticks to the -net tap param.
> Â
> Isn't this a nice candidate?
> Â
&g
Sven,
That is quite weird. I shall try a more recent version of qemu. Thank
you so much for your help.
-
Peter Nguyen
Jacaranda Research Group
On 02/06/2010, at 10:31 PM, m...@sven-fuelster.com wrote:
Hi Peter,
Peter Nguyen hat am 2
c,model=pcnet,macaddr=00:81:71:61:51:41"
> Â
> Perhaps you forgot this step?
> Â
> If you haven't, it would be helpful if you provided a Wireshark trace taken
> from
> your tap interface.
> Â
> Cheers
> Â
> Sven
> Â
>
> Peter Nguyen
Hi Sven,
> I'm not sure if I've got your setup right or not.
>
> You have a host operating system (guess linux) with two qemu
> instances, one running Windows XP and the other running genode with
> the webserver.
>
> Your host system also runs a dhcp server which assigns the same ip
> addres
Hi,
I was just wondering in using TAP with the HTTP server (and following
the instructions in the genode 10.02 documentation), i've noticed that
when i have multiple connections to the server, whereby i have a windows
xp virtual machine making requests to the server in addition to the host
ope
Stefan,
My apologies, the change to allocate the thread via the heap actually worked.
Turns out i was changing the wrong version of the code i was using.
Peter
Quoting Stefan Kalkowski :
> On Wednesday, 28. April 2010 12:02:18 Peter Nguyen wrote:
> > Hi,
>
> Hi Peter,
>
>
day, 28. April 2010 12:02:18 Peter Nguyen wrote:
> > Hi,
>
> Hi Peter,
>
> >
> > Attached is the http_srv code under question. I think the source of the
> > problem is when lwip_accept is called again after creating the thread. The
> > HTTP thread does not ex
HTTP thread executes. I
also suspect I might not have done enough to make the server truly
multithreaded.
Peter
Quoting Christian Helmuth :
> Hello Peter,
>
> On Wed, Apr 28, 2010 at 04:47:00PM +0930, Peter Nguyen wrote:
> > Any ideas as to what's going on?
>
> From your
Hi,
In messing around a bit further with the http server code, I decided to
have a go at making the HTTP server multithreaded. In this case, I
wanted the web server to function such that when a HTTP request is
received, a new thread is created whose purpose is to handle the HTTP
request. In ot
Hi,
In doing some further investigating, i discovered that the message was
popping as a result of using sleep_forever(). I changed the associated
Msgbuf size in base/sleep.h to 64, which has resulted in the code now
working.
Peter
Norman Feske wrote:
> Hi Peter,
>
> Peter Ngu
Hi,
In moving my sampling code to version 10.02 of genode, and running the
sampling functionality, I keep getting the following message during runtime:
void copy_utcb_to_msgbuf(Okl4::L4_MsgTag_t, Genode::Msgbuf_base*):
receive message buffer too small msg size=2c, buf size=16
Is there a way fo
Hi,
Is it just me, or is the genode website down at the moment?
-
Peter Nguyen
Jacaranda Research Group
--
Download Intel® Parallel Studio Eval
Try the new software
m 01)
virtual void
Genode::Signal_session_component::submit(Genode::Signal_context_capability,
unsigned int): invalid signal-context capability
Attached is a text file showing complete output i get, including the "no RM
attachment" part.
Peter
Quoting Norman Feske :
> Hi Peter,
>
Hi,
In using the latest genode version via OKL4 (an unmodified build), and trying to
include nic_drv and the http server as part of config, I keep getting the the
"no RM attachment" error. This is the output i get when i only include "nic_drv"
in the config.
int main(): --- create local services
help me achieve this task as well.
Peter
Quoting Christian Helmuth :
> Hi again,
>
> On Wed, Apr 14, 2010 at 01:14:49PM +0930, Peter Nguyen wrote:
> > I noticed that as part of booting up Genode that the contents of the rom
> > FS is printed (provided the variable i
Hi,
I noticed that as part of booting up Genode that the contents of the rom
FS is printed (provided the variable is set for enabling verbose
printing of boot information). Is there a way of having access to this
data in my profiling environment? Having access to this information
would greatly
Hi,
I was asked to summarize my experiences with using shared memory in
Genode. Apologies for the extremely late reply. My project involves
implementing a profiling infrastructure, whereby i have a profiling
server that coordinates the execution of profiling ie. the collection
and processing o
t;
> On Thu, Mar 11, 2010 at 07:21:28PM +1030, Peter Nguyen wrote:
> > What i meant by this is that in the client code, I obtain the
> > dataspace capability, write to that memory, and print the contents of
> > that memory. After this, I create other variables to store the
>> So I've had a go at trying to implement a simpler case of having
>> shared memory
>> between two processes via adding code to the hello tutorial. I have
>> done the
>> following things:
>>
>> - I added a dataspace capability variable in the session server
>> (which contains
>> the dispatch
Hi,
> Sounds good, though I expected the clients to write sampling data into
> the memory that is processed by the profiling server. More precisely,
> the server allocates the shared dataspace from its RAM session and
> provides the associated RAM-dataspace capability to its clients. Both
> - clie
Hi,
> I have the feeling you're mixing two distinct matters here. The issue
> Norman addressed in his email was "How to share memory buffers between
> applications". That is done via dataspaces that are referenced by
> dataspace capabilities (in Unix file descriptors) and could be
> attached to an
Norman,
This makes sense. However, on my end, i think i'm going to have to do
quite a bit of reconfiguring. I'm trying to integrate my profiling
environment with the http server that is part of lwip. I've added code
to the http server to collect samples whenever a request is received,
and when
Hi,
I just realized that making the library a shared object won't
necessarily fix my problem. What i'm trying to do is have two genode
components share data with each other, where this data is in user space.
I do this with a buffer that i create in the kernel, where I obtain the
physical addre
Hi Norman,
I take it that this fix only applies to the latest version of genode,
and not 9.11?
Peter
Norman Feske wrote:
> Hi Peter,
>
>
>> [init -> lwip_httpsrv_test] Starting ldso ...
>> [init -> lwip_httpsrv_test] void* fwrite(): fwrite - not yet implemented
>> [init -> lwip_httpsrv_test]
a dynamic binary is found.
>
> Greetings,
> Sebastian
>
> On 03/03/10 05:32, Peter Nguyen wrote:
> > Hi,
> >
> > I've tried to create a shared library for use by multiple components in
> > Genode, where in the mk file for the library, i
Hi,
I've tried to create a shared library for use by multiple components in
Genode, where in the mk file for the library, i have specified
SHARED_LIB=yes. When i try to execute Genode, I keep getting the
following message at runtime:
"Dynamically linked file found, but no dynamic linker binary
Stefan,
I also included libc in the mk file as well. I recall genode building if libc
wasn't included, but given that i'm using the http server, libc needs to be
included...
Peter
Quoting Stefan Kalkowski :
> On Tuesday, 2. March 2010 05:30:14 Peter Nguyen wrote:
> > Hi,
&
Hi,
In upgrading to Genode 10.02, i'm encountering build errors when i
specifically include one of three L4 header files, namely thread.h,
ipc.h, and arch/thread.h. I do the #include statements within a
namespace declaration like so:
namespace Okl4 { extern "C" {
//includes
}}
Every time i tr
dering what the purpose of the remote_ip and local_ip variables were?
Am i right in saying that remote_ip refers to the machine that performed the
HTTP request?
Thanks
Peter
Quoting Stefan Kalkowski :
> On Monday, 1. March 2010 05:30:27 Peter Nguyen wrote:
> > Hi,
>
> Hi Peter,
&g
Hi,
In digging to the HTTP server functionality, I noticed that with IP
address, data is stored for local and remote IP addresses. I gather
remote IPs refer to the machines making the requests. Does the local IP
refer to the HTTP server itself??
Peter
-
Just a point to add, i'm referring to the cc files i've written. In
terms of layout, i added a folder called 'sampling' in the
'base/include' directory, and i have added another 'sampling' folder in
the 'base/src/base' directory.
Peter Ng
Hi,
I'm now trying to add my own library, and have tried adding the files as
part of 'base'. Every time I try to build Genode, i keep getting
messages pertaining to undefined references to functions that i have
implemented. How do i go about incorporating the files i've written as
part of 'bas
Peter Nguyen
Jacaranda Research Group
On 23/02/2010, at 7:47 PM, Christian Helmuth wrote:
> Hi Peter,
>
> On Tue, Feb 23, 2010 at 01:40:42PM +1030, Peter Nguyen wrote:
>> OK, so now i've got the server up and running, and I can use the
>> local
>> web browser to ac
other qemu instances?
Peter
Christian Helmuth wrote:
> Hello Peter,
>
> On Mon, Feb 22, 2010 at 11:29:38AM +1030, Peter Nguyen wrote:
>
>> Is anyone able to give me some pointers on how to set up the TAP version
>> of the HTTP server? My knowledge on setting up suc
Hi,
Is anyone able to give me some pointers on how to set up the TAP version
of the HTTP server? My knowledge on setting up such things is not that
good. More specifically, I'm unsure as to what do for setting up the
DHCP server step stated in the following link:
http://genode.org/documentation
Hi Christian,
Turns out that the errors was on my end. So now that everything builds,
I was wondering how to get this server running natively. I'm trying to
run the simple web server on an ia32 machine, but I keep getting
"sending packet failed" messages on serial output. The other message I
k
Just a additional note: I used "make prepare" on the libports directory
before including it in the build.conf file, and running make in the
build directory.
Peter Nguyen wrote:
> Hi,
>
> I'm trying to build the lwip test so that I can make a start on
> experime
Hi,
I'm trying to build the lwip test so that I can make a start on
experimentation. However, I keep on getting build errors. To build this
package, I included the libports package, and also the libc package.
However, I keep getting errors about how size_t hasn't been declared in
scope. I also
Hi,
So i've encountered problems with trying to use stdio.h. After adding
libc to the build directory and the target.mk file, i keep getting
errors with some of the libc header files relating to variables like
va_list. On face value, it seems that libc and C++ don't like to play
with each
Hi,
I noticed that there isn't any support for printing floating point
numbers. I was wondering whether someone has a patch of some sort that
provides this functionality, even at a basic level.
Peter
--
The Planet: d
ous builds of OKL4, L4_Myself() could be used within a function which would
return the ID of the thread that was executing when the given function executes.
Peter
Quoting Stefan Kalkowski :
> Hi Peter,
>
> On Thursday, 28. January 2010 13:00:01 Peter Nguyen wrote:
> > Hi,
> >
Whoops, my mistake. The buffer is actually being mapped, there are some things
I'm doing wrong at me end. Apologies.
Peter
Quoting Peter Nguyen :
> > Is 'sampbuffer' declared as a local variable? If yes, this would
> > explain the problem. When the pro
> Is 'sampbuffer' declared as a local variable? If yes, this would
> explain the problem. When the program leaves the scope where
> 'sampbuffer' is declared, the destructor of 'Io_mem_connection'
> gets executed. By default, this destructor closes the session such
> that the session's dataspace ge
Before I get onto my next question, I would like to thank you Stefan and Norman
for all the help you have given me. I hope i haven't been annoying you with all
of these questions.
> the best way to go for mapping a predefined physical memory area
> into a Genode process is using core's IO_MEM serv
Hi,
In doing some more investigating, for some reason, that message seems to pop up
when i instantiate a thread. Before this thread, i instantiate 3 threads, which
execute fine, yet when i instantiate this 4th thread, it doesn't work.
Furthermore, when i only instantiate this 4th thread (ie. comme
Hi,
In also trying to create a thread, there are some instances when i would like to
pass some parameters to a thread to establish a starting state for a thread. To
do this, the class i write, which inherits from Thread contains some instance
variables which get initialised in the class's construc
Hi,
In trying to compile some code, i keep getting the following errors when i try
to instantiate a genode thread:
undefined reference to `operator new[](unsigned int)'
Can I not use "new" to allocate memory? If not, what is the proper way of doing
this via Genode?
Peter
PS. I noticed upon fur
As an addition to the previous post by me, I have some pre-existing C code that
I want to use in a Genode server I have created, and I don't really want to
change this code. Currently, i'm not able to utilize functions like printf,
memcpy etc in the C code i've written. What header files can I incl
Hi,
Is it at all possible to make use of functions like malloc, memcpy, strlen, and
other "standard" C functions in Genode apps?
Peter
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's b
I was more wondering how to get the numerical ID of the thread after
i've created one. Is it possible to obtain that at all?
Peter
On 19/01/2010, at 8:06 PM, Stefan Kalkowski wrote:
> Hi Peter,
>
> On Tuesday, 19. January 2010 06:30:22 Peter Nguyen wrote:
>> Hi,
>>
Norman,
> I know too little about the structure of your profiling environment
> to give a clear advice on how to integrate it with Genode. The answer
> depends on the relationship between the user-level portion of your
> profiling environment and the other processes. If there is no
> interaction (
Norman,
To clarify what i'm doing, I've implemented a profiling environment that runs on
top of L4. More specifically, this profiling environment has adaptive
properties, where the profiling environment can react whenever certain events
occur. Currently, I've implemented this on top of Iguana, but
Hi,
So I've done some more messing around with genode (running on top of OKL4), more
specifically creating some threads, and testing the functionality in general.
I'm wondering how i can go about obtaining the thread's ID and printing it out.
I've noticed that there are functions that are within t
Hi,
In running genode with the "hello" app, I keep getting the following message:
[init] starting hello_server with quota=262144
[init] using unique child name "hello_server"
[init] Warning: Could not open file "hello_server" at ROM service.
I also get the same thing with the hello client. Does
Iguana trace buffer, given you have suggested that Genode
primitives should be used.
Thanks
-
Peter Nguyen
Jacaranda Research Group
On 11/01/2010, at 7:02 PM, Norman Feske wrote:
> Hi Peter,
>
>> I'm trying to port some code
Hi,
I'm trying to port some code that I originally implemented in Iguana. This
functionality pertains to profiling functionality. In my current setup (ie. with
Iguana), I added an L4 system call (OKL4) to start and stop profiling. I'm
wondering whether it's possible at all to use OKL4 functionalit
of porting, that would be great!!
-----
Peter Nguyen
Jacaranda Research Group
On 07/01/2010, at 5:58 AM, Norman Feske wrote:
> Hi Peter,
>
>> I have another question about Genode. More specifically, I was
>> wondering whether
&
mo'. You can either specify this
file as filename for the 'config' module entry in 'weaver.xml' or copy
it to your '/bin/' directory (and of course rename it to
'config'). This bit was missing in the Wiki. So I added it to the Wiki
page. Thank you for pointi
Hi,
In the wiki describing how to build Genode on OKL4, does the bug alert refer to
following message: An error occurred: [Errno 2] No such file or directory:
'config'?
I've followed the build instructions, and i've changed the value as suggested as
the quick fix, but I still get this error.
As
Hi,
I'm trying to boot genode on OKL4 natively. I followed the instructions for
building genode via the following link:
http://genode.org/community/wiki/revisions/GenodeOnOKL4.6/?searchterm=build
I've tried building version 9.05, but when i try to boot it up, i keep getting a
grub error (Error 28
64 matches
Mail list logo