Skip to contentSkip to conversation

con0=pty '/dev/ttpy0: device or resource busy' bug?

uml-devel Struan Bartlett 2 participants 2 messages Nov 6, 2004 – Nov 8, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

My thanks to everyone who's contributed to UML - it is a wonderfully useful thing.

I need to run uml xterm-free and tty-free so 'm running uml with:

# linux con=pty

When I disconnect 'minicom' from /dev/ttyp0 and reconnect, minicom says:

# minicom
minicom: cannot open /dev/ttyp0: Device or resource busy

When I disconnect 'minicom' from /dev/ttyp1 or /dev/ttyp2 and reconnect, minicom connects just fine.

Is this a known bug?

Regards,

Struan Bartlett

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Struan" == Struan Bartlett <[email protected]> writes:

Struan> My thanks to everyone who's contributed to UML - it is a Struan> wonderfully useful thing.

Struan> I need to run uml xterm-free and tty-free so 'm running uml Struan> with:

Struan> # linux con=pty

I suggest you create a mortal account, and a that you run it under
screen.

I use something like:

% cat start.sh

screen -ekk -r -dmS myuml ./linux stuff

% crontab -l
@reboot $HOME/start.sh

and I have something like:

% cat .screenrc
multiuser on
adduser mcr

that means that I can login to the system and run "screen -r -x myuml/"
to get the console. Note that this requires screen to be setuid root, which it is not installed that way by default on many systems. This is just a security precaution --- screen is designed to operate that way.

] Train travel features AC outlets with no take-off restrictions|  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[

] panic("Just another Debian/notebook using, kernel hacking, security guy"); [

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQY5PO4qHRg3pndX9AQHPSwQAmtaEeBnbaTov2xSU3dUB9zFYcKcr/9Cw G/MDt6oDD9sllgiLtoXAIUHvr4zhLNgKdb/GiBESvOHU/rKViYOarJJlby+qbcwN +C26lK9Gpq6gFbtXPy3M30Tok3BkKQP1abZBz0Y49fH8dkhji1GkYZc9kp7etXfb M1/vf+NTRN8=
=BAkO
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel