On Tue, Feb 07, 2006 at 12:33:24AM +0100, Blaisorblade wrote: Hi, > > I would like to have a faxserver running under UML, so it needs to access > > /dev/ttyS0 on the host. If I start UML with argument ssl0=/dev/ttyS0 > > Check on the "terminal input" (or something like that, I don't remember) page > on the main site - the correct syntax is about ssl0=tty:/dev/ttyS0 (the > syntax is the same accepted for con#= switches). > > I'm not sure if everything works ok, I have a few doubts on ioctls, so please > give us the results. > > > it > > does not communicate with the modem, while the user UML is running as can > > (checked with minicom). > > What else would I need to specify on the command line or in the kernel > > config (using 2.4.26),
once I suggested the following to communicate between to uml instances: uml1> stty -F /dev/ttyS0 uml1> dmesg| grep Serial Serial line 0 assigned device '/dev/pts/9' uml2> stty -F /dev/ttyS0 uml2> dmesg| grep Serial Serial line 0 assigned device '/dev/pts/5' uml2> cat < /dev/pts/5 >> /dev/pts/9 & ; cat > /dev/pts/5 >> /dev/pts/9 & can you please try it, using uml2 as a server/host and the other as the uml instance. But before have a look a the /uml/etc/inittab to se if you uncomment the line with your serial device, the same on the server/host. > > > or do I need hostfs access to the device node? > > That wouldn't work. As Blaisorblade said it is not your need, because it enables the chance for uml to access the host filesystem in read/write mode. Let us know Cheers SteX -- Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]> http://etinarcadiaego.dyndns.org -- http://www.stex.name
signature.asc
Description: Digital signature