Jeff, Sorry about the HTML email, I think it is disabled now.
I am guessing that this is the one whenever wvdial starts or tries to set the ioctl since it appears immediately after I run wvdial: line_ioctl: ttyS4: unknown ioctl:0x541e I also got this other unknown ioctl when wvdial shuts down:: line_ioctl: ttyS4: unknown ioctl:0x80047437 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 -icanon -echo ...}) The first two happen when wvdial starts up the connection and the third happens when wvdial is shutting down the connection. There is also another issue that occurs occasionally: When wvdial starts, one of the things it does is to send "ATZ" to the modem to reset it and waits for a result code of "OK". On the screen, I can see this. Sometimes when wvdial starts, it gets a blank line with the first "ATZ" and sees this blank line as an incorrect result and re-issues the "ATZ". However, the result code of "OK" in this "sometimes" case is received before wvdial is ready for it so wvdial now times out. I have worked around this by issuing an "echo ATZ >/dev/ttyS4" before I run wvdial. The problem seems (to me) to be that the buffer in the host is not getting flushed to the client (or guest to host) correctly or something similar. I also suspect this is the same reason ssh and sftp 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 PROTECTED]> Date: Wed, August 22, 2007 11:48 pm To: Mark <[EMAIL PROTECTED]> Cc: user-mode-linux-user@lists.sourceforge.net 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 baud rate was indeed set to > 9600.) Are there any security issues with allowing a UML to fiddle a serial port with stty? I can't think of any. There's no reason I can't pass through the ioctls, but I'd like to know which ones they are. Can you see if there's anything in the UML dmesg about unknown ioctls, and send me a strace of the stty running on either the host or UML? Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user