A non existent process is locking the modem?
I believe mgetty-fax or start-stop-daemon and the /etc/init.d/mgetty-fax
script does not handle the port correctly.
Does anyone else have it?
[03:42:11 /tmp]$ cat /var/lock/LCK..ttyS2
623
[03:43:12 /tmp]$ ps 623
PID TTY STAT TIME COMMAND
[03:43:15 /tmp]$ tail /var/log/mgetty/mg_ttyS2.log
01/23 03:38:36 yS2 mod: cannot open line /dev/ttyS2: Device or resource busy
01/23 03:38:36 yS2 open device /dev/ttyS2 failed: Device or resource busy
01/23 03:38:36 yS2 cannot get terminal line dev=ttyS2, exiting: Device or
resource busy
--
01/23 03:38:36 yS2 mgetty: experimental test release 1.1.21-Jul24
01/23 03:38:36 yS2 check for lockfiles
01/23 03:38:36 yS2 locking the line
01/23 03:38:36 yS2 mod: cannot open line /dev/ttyS2: Device or resource busy
01/23 03:38:36 yS2 open device /dev/ttyS2 failed: Device or resource busy
01/23 03:38:36 yS2 cannot get terminal line dev=ttyS2, exiting: Device or
resource busy[03:43:28 /tmp]$ ls -l /var/lock/LCK..ttyS2
-rw-r--r-- 1 root root 11 Jan 23 03:43 /var/lock/LCK..ttyS2
Reply to: