Re: [uml-user] slow ftp

2007-08-27 Thread Mark Lidd
Thanks Jeff, I'll try the patch in the next day or so and let you know. Mark At 01:02 PM 8/24/2007, Jeff Dike wrote: >On Thu, Aug 23, 2007 at 09:36:42AM -0700, Mark wrote: > > Sorry about the HTML email, I think it is disabled now. > >Yup, thanks. > > > The ioctl calls that returned -1 from the

Re: [uml-user] slow ftp

2007-08-24 Thread Jeff Dike
On Thu, Aug 23, 2007 at 09:36:42AM -0700, Mark wrote: > Sorry about the HTML email, I think it is disabled now. Yup, thanks. > The ioctl calls that returned -1 from the strace are: > ioctl (4, TIOCGSERIAL) > ioctl (3, TIOCMGET,[0]) > ioctl (4, SNDCTL_TMR_START or TCSETS, {B230400 -opost -isig -ic

Re: [uml-user] slow ftp

2007-08-23 Thread Mark
are slow to get the login prompt. Not a big problem though. When I use the "screen /dev/sttyS4" program in the guest, everything seems fine. Let me know if there is anything else. Mark Original Message Subject: Re: [uml-user] slow ftp From: Jeff Dike <[EMAIL

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

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] 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
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 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

[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