[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Process locking




> Booting up (to clear the system), logging on as root, and running lsof
> /dev/ttyS0 gives a blank.
> 
> Then trying to start tnt gives the "Device locked by process" error, with a
> different process number each time I try it.
> 
> Running lsof /dev/ttyS0 again, gives the pid as the process number. I then
> kill it and trying to run the program again just gives the error message with
> another number. It's the same if I use ps auwx | grep (followed by the process
> number).
> 

What is the process? Have you an example you can post here? It could be a 
mis-config of the mouse port for GPM or X, or maybe something thinks your 
modem is on /dev/ttyS0 ... digital camera app, lego mindstorms, minicom, a 
whole host :) Another possibility is a stale lock file it's finding that 
hasn't been deleted.

Plonk the output of lsof here and we should be able to point out where to 
look to disable the offender.

Chris...


-- 
Chris Johnson            \  "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk        \  for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/   ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000   \______


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.