[Xastir] Xastir on Mepis - ttyS0 hard fail

J. Lance Cotton joe at lightningflash.net
Sun Feb 8 11:16:26 EST 2004


Gale Wilkinson wrote:
> found an existing lock file /var/lock/LCK..ttyS0 for this port!
> Lock is stale! Removing it!
> 
> Note: I only get that error message when logged and starting Xastir as a
> "normal" user.  Do not get the error message when logged in as root! 
> Though in both cases do get the hard fail error in Xastir itself.

That sounds like something else has opened the serial port. When you start 
Xastir as a normal user, it is finding the lockfile put there by whatever 
program is already using the port. When you start as root, it can overwrite 
the file, but that doesn't change the fact that the port is open by some 
other program, which is causing your hard fails.

Look to see if some other program is using the serial port, maybe a getty 
login thread or serial console.

-Lance
-- 
J. Lance Cotton, KJ5O
joe at lightningflash.net
http://map.findu.com/kj5o-14
Three Step Plan: 1. Take over the world. 2. Get a lot of cookies. 3. Eat the 
cookies.



More information about the Xastir mailing list