Re: modem/comm port locked!
On Thu, Mar 02, 2000 at 06:43:23PM -0500, S. Salman Ahmed wrote:
>
> I tried connecting to my ISP a little while before and after typing
> "pon", noticed the following lines appear in one of my logs:
>
> Mar 2 18:35:01 phoenix pppd[845]: pppd 2.3.11 started by ssahmed, uid 1000
> Mar 2 18:35:01 phoenix pppd[845]: Device ttyS1 is locked by pid 836
> Mar 2 18:35:01 phoenix pppd[845]: Exit.
>
> When I picked up the phone, there was no dialtone. The only way to fix
> the problem was to reboot the system. Is there any other way besides
> rebooting to unlock the modem's comm port ?
# fuser -uk /dev/ttyS1
...assuming the process is killable.
Linux uses advisory filelocks. Not sure how this is implemented, but you
might RTFS.
Minicom can sometimes reset a wedged modem, though I'm not sure why
something else couldn't.
> Also, why would this happen in the first place ?
That time of the month?
> I am running an updated potato system.
>
> Thanks.
>
> --
> Salman Ahmed
> ssahmed AT pathcom DOT com
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Karsten M. Self (kmself@ix.netcom.com)
What part of "Gestalt" don't you understand?
Scope out Scoop: http://scoop.kuro5hin.org/
Nothin' rusty about Kuro5hin: http://www.kuro5hin.org/
Reply to: