[uml-user] slow ftp

2007-08-22 Thread Mark
The problem I have is a slow ppp connection through the serial port of the uml which is attached to the host modem (serial port, - /dev/ttyS0), using "ssl4=tty:/dev/ttyS0".   I have 2.22.1 guest kernel with a vanilla Fedora 7 filesystem. The host is vanilla Fedora 7 (2.6.21.3494).   I have a modem

Re: [uml-user] slow ftp

2007-08-22 Thread Jeff Dike
On Wed, Aug 22, 2007 at 08:54:29AM -0700, Mark wrote: > I can ping the ISP (300ms or so) successfully. I can > run various network apps without problems, but they all seem slower > than they should be. When I run ssh and do a cat of a file just to > stream some text back, I find that the speed is f

Re: [uml-user] [uml-devel] [PATCH 1/5] um/... convert #include "linux/..." to #include

2007-08-22 Thread Jeff Dike
On Tue, Aug 21, 2007 at 07:09:17PM +0200, Blaisorblade wrote: > Wait, this patch may or may not be sane (Jeff will tell more I guess). It's sane. > Since > we use two different sets of headers (the host ones from userspace and the > guest ones from Linux), this peculiar style has been used till

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-22 Thread Jeff Dike
On Tue, Aug 21, 2007 at 10:59:52PM +0200, Benedict Verheyen wrote: > The tun device is owned by root though. Does this also have to be my user? No - it just needs to be accessible to whoever is running the UML. > When getmail then gets mail (what's in a name :)), the mail is saved in my > Maildir

Re: [uml-user] slow ftp

2007-08-22 Thread Mark
Thanks,   Found a solution:  I had to run "stty -F /dev/ttyS0" in the host.  The configuration is: the host hardware port (/dev/ttyS0) in this case is connected to the guest serial port (/dev/ttyS4) via ssl4=tty:/dev/ttyS0My guess is that doing "stty -F /dev/ttyS4" in the guest does not pass throug

Re: [uml-user] slow ftp

2007-08-22 Thread Jeff Dike
On Wed, Aug 22, 2007 at 01:26:46PM -0700, Mark wrote: > My guess is that doing "stty -F /dev/ttyS4" in the guest does not pass > through the uml - host channel and therefore doesn't set the host > serial port (/dev/tttyS0). Probably something desirable and more > secure. Maybe it should. "stty

Re: [uml-user] slow ftp

2007-08-22 Thread Mark
sorry, mistyped:    The line was "stty -F /dev/ttyS0 230400" on the host to set the baud rate.  (I did check the baud rate on /dev/ttyS0 on the host before I set it to 230400.  The serial port baud rate was indeed set to 9600.)   The file xfer rate went from .8 Kbytes to 2.4 Kbytes -still slow, but

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-22 Thread Benedict Verheyen
Jeff Dike schreef: Thanks Jeff for answering my questions. Much appreciated. >> The tun device is owned by root though. Does this also have to be my user? > > No - it just needs to be accessible to whoever is running the UML. OK. >> When getmail then gets mail (what's in a name :)), the mail i

Re: [uml-user] sharing filesystem between UML's (ocfs2?)

2007-08-22 Thread Jeff Dike
On Thu, Aug 23, 2007 at 01:42:38AM +0200, Benedict Verheyen wrote: > > And if you look at the file on the host, it's owned by root? > Yes, it's owned by root. Then the UML is running as root on the host, which is not recommended. > How can i be certain that my uml is started as user benedict? I.

Re: [uml-user] slow ftp

2007-08-22 Thread Jeff Dike
BTW, can you stop sending html-only mail - it's a pain to read. On Wed, Aug 22, 2007 at 02:55:15PM -0700, Mark wrote: > The line was "stty -F /dev/ttyS0 230400" on the host to set the baud > rate. (I did check the baud rate on /dev/ttyS0 on the host before I > set it to 230400. The serial port b