Re: [uml-devel] Re: tun/tap network throughput problem

2005-03-09 Thread Nuutti Kotivuori
Young Koh wrote: In general, there's nothing to limit how many packets get queued to the interface queue - if something sends a million packets, that is how many packets are queued to the interface. However, for TCP, there interesting. then, the UDP sending rate should be solely determined

Re: [uml-devel] Re: tun/tap network throughput problem

2005-03-09 Thread Nuutti Kotivuori
Nuutti Kotivuori wrote: Young Koh wrote: when i measured UDP sending rate in the host machine, it was about 650Mbits/s. that means the throughput of data transfer from an application to the kernel internal structure is only 650Mbits/s? but, when i measured UDP sending rate with loopback

Re: [uml-devel] RE: uml_switch security fixing

2005-03-09 Thread Blaisorblade
On Monday 07 March 2005 05:42, Steve Schmidtke wrote: Blaisorblade wrote: Hey, has anyone found the time to put together any patch to workaround the security bug in uml_net? Attached are two patches. The first one, uml_net-slip.diff, is the minimal patch to apply to uml_net. The second

Re: [uml-devel] Re: uml_switch security fixing

2005-03-09 Thread Blaisorblade
On Thursday 03 March 2005 13:47, Nuutti Kotivuori wrote: [EMAIL PROTECTED] wrote: Suggestions? FWIW, we have gone off using switch daemon entirely. We are using simply preallocated tap devices, connected to bridges via normal Linux bridging controls. Works cleaner and faster, more places to

Re: [uml-devel] [PATCH] UML - Make deb-pkg build target build a Debian-style user-mode-linux package

2005-03-09 Thread Blaisorblade
On Monday 07 March 2005 19:28, Ryan Anderson wrote: Make the deb-pkg build target understand the um arch and set up the package and directory structure to match a mainline-Debian style user-mode-linux package. This is primarily so that it stops matching, exactly, the naming convention used

[uml-devel] [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-09 Thread blaisorblade
From: [EMAIL PROTECTED] Cc: user-mode-linux-devel@lists.sourceforge.net, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Unify the spinlock initialization as far as possible. Signed-off-by: Amit Gud [EMAIL PROTECTED] Signed-off-by: Domen Puncer [EMAIL PROTECTED] Signed-off-by: Paolo

Re: [uml-devel] Re: Fw: [patch] uml: terminal cleanup

2005-03-09 Thread Blaisorblade
On Tuesday 08 March 2005 09:25, Gerd Knorr wrote: -void register_winch(int fd, void *device_data) +void register_winch(int fd, struct tty_struct *tty) { int pid, thread, thread_fd; int count; -void line_close(struct line *lines, struct tty_struct *tty) +void

Re: [uml-devel] RE: uml_switch security fixing

2005-03-09 Thread Steve Schmidtke
Blaisorblade wrote: But an unpatched UML won't work with a newer uml_net binary (for SLIP usage only and only for closing the interface, I mean), right? Correct. I think uml_net would need to manage a database of who opened what to do what you suggest. I also looked at the versioning for

Re: [uml-devel] how to freeze user mode linux

2005-03-09 Thread Blaisorblade
On Tuesday 08 March 2005 17:13, Rob Landley wrote: On Tuesday 08 March 2005 02:45 am, [EMAIL PROTECTED] wrote: hello everyone: I am a new coder of embed linux app development .I use User Mode Linux as host stimulator environment where our applications running .now I have a big problem

Re: [uml-devel] RE: uml_switch security fixing

2005-03-09 Thread Blaisorblade
On Wednesday 09 March 2005 19:53, Steve Schmidtke wrote: Blaisorblade wrote: But an unpatched UML won't work with a newer uml_net binary (for SLIP usage only and only for closing the interface, I mean), right? Correct. I think uml_net would need to manage a database of who opened what to

Re: [uml-devel] how to freeze user mode linux

2005-03-09 Thread Erik Paulson
On Wed, Mar 09, 2005 at 08:24:26PM +0100, Blaisorblade wrote: In the archives there was also an announce for a separate project for UML only to implement suspending in a UML-specific way (it was meaningful, but I don't remember about it, even because they wanted to run their own mainling

Re: [uml-devel] tun/tap network throughput problem

2005-03-09 Thread Young Koh
sure, allow me to check if everything looks fine (at least) to me... On Wed, 9 Mar 2005 20:29:29 +0100, Blaisorblade [EMAIL PROTECTED] wrote: On Monday 07 March 2005 21:56, Young Koh wrote: Hi, i was running an expriment to measure network throughput of UML. physical machine A and B are

[uml-devel] lasted skas patch for 2.6

2005-03-09 Thread itamar
Whats the lasted skas patch for 2.6 kernel ? Itamar Reis Peixoto +55 (34) 3238 3845 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up

[uml-devel] Re: Switching uml_utilities to public CVS and no-maintainer model

2005-03-09 Thread Blaisorblade
On Wednesday 09 March 2005 22:39, Michael Richardson wrote: I'm happy to deal with whatever. More open CVS is a good idea. I even have a gForge install at XXX if you want. Removed the hostname just in case (I didn't now why you mailed me privately, maybe you just forgot to CC the list).

Re: [uml-devel] lasted skas patch for 2.6

2005-03-09 Thread Blaisorblade
On Wednesday 09 March 2005 22:59, itamar wrote: Whats the lasted skas patch for 2.6 kernel ? See my homepage (at the end of the signature). Use -V7 for now..., it's a good release (or -V8-rc2 with the fixup if you need 2.6.11 host kernel, but it's still a bit experimental). -- Paolo Giarrusso,

[uml-devel] Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-09 Thread Andrew Morton
Russell King [EMAIL PROTECTED] wrote: I'm not convinced about the practicality of converting all static initialisations to code-based initialisations though This is the first one I recall seeing. All the other conversions were replacing static spinlock_t lock = SPIN_LOCK_UNLOCKED;

[uml-devel] [PATCH 3/9] UML - Hardware random number generator

2005-03-09 Thread Jeff Dike
This implements a hardware random number generator for UML which attaches itself to the host's /dev/random. Signed-off-by: Jeff Dike [EMAIL PROTECTED] Index: linux-2.6.11/arch/um/Kconfig_char === ---

[uml-devel] [PATCH 1/9] UML - Fix hostfs typo

2005-03-09 Thread Jeff Dike
Fix a typo in the hostfs setgid code. Signed-off-by: Jeff Dike [EMAIL PROTECTED] Index: linux-2.6.11/arch/um/include/kern.h === --- linux-2.6.11.orig/arch/um/include/kern.h2005-03-08 20:13:55.0 -0500 +++

[uml-devel] [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-09 Thread Jeff Dike
The init function called by gcc when gcov is enabled is __gcov_init or __bb_init_func, depending on the gcc version. Anton is using 3.3.4 and seeing __gcov_init. I'm using 3.3.2 and seeing __bb_init_func, so we need to close that gap a bit. Signed-off-by: Jeff Dike [EMAIL PROTECTED] Index:

[uml-devel] [PATCH 2/9] UML - ptrace interface cleanup

2005-03-09 Thread Jeff Dike
From Bodo Stroesser, mostly: Gets rid of all inclusions of {sys,linux,asm}/ptrace.h since their effects and contents are somewhat distro- and architecture-dependent. arch/um/sysdep/ptrace_user is now responsible for providing the system's ptrace interfaces to UML. As such, it is a purely

[uml-devel] [PATCH 8/9] UML - Consolidate tlb flushing code

2005-03-09 Thread Jeff Dike
This patch merges now-identical page table walking and flushing code that had been duplicated in skas and tt modes. The differences had been the low-level address space updating operations, which are now abstracted away in the respective do_ops functions. Signed-off-by: Jeff Dike [EMAIL

[uml-devel] Re: [PATCH 5/9] UML - change semaphores to completions

2005-03-09 Thread Andrew Morton
Jeff Dike [EMAIL PROTECTED] wrote: @@ -197,13 +197,14 @@ { .list = LIST_HEAD_INIT(port-list), .wait_count = ATOMIC_INIT(0), .has_connection = 0, - .sem =

[uml-devel] Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-09 Thread Zwane Mwaikambo
On Wed, 9 Mar 2005, linux-os wrote: We need to retain the spin_lock_init(lock) because not all spin-locks are allocated at compile-time. They might be allocated from kmalloc() on startup, probably in a structure, along with other so-called global data. Not to worry my good man, it's not

[uml-devel] (no subject)

2005-03-09 Thread Fitch, David L