Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Alexander Makarov                    2:5030/1147    02 May 2003  17:51:18
 To : All
 Subject : mgetty дурит
 -------------------------------------------------------------------------------- 
 
 
 --
 05/02 09:15:04 yS0  mgetty: experimental test release 1.1.27-Oct21
 05/02 09:15:04 yS0  check for lockfiles
 05/02 09:15:04 yS0   checklock: stat failed, no file
 05/02 09:15:04 yS0  locking the line
 05/02 09:15:04 yS0   makelock(ttyS0) called
 05/02 09:15:04 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:15:04 yS0   lock made
 05/02 09:15:05 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
 05/02 09:15:05 yS0  lowering DTR to reset Modem
 05/02 09:15:05 yS0   tss: set speed to 57600 (10001)
 05/02 09:15:05 yS0   tio_set_flow_control( HARD )
 05/02 09:15:05 yS0   waiting for line to clear (VTIME), read:
 05/02 09:15:05 yS0  send: \d\d\d+++\d\d\dAT&F1M0E0[0d]
 05/02 09:15:09 yS0  waiting for ``OK''
 05/02 09:15:09 yS0   got: [0d][0a]OK ** found **
 05/02 09:15:09 yS0  send: AT[0d]
 05/02 09:15:09 yS0  do_stat: expect 'OK' ** found **
 05/02 09:15:09 yS0  send: ATI6[0d]
 05/02 09:15:09 yS0  do_stat: expect 'OK' ** found **
 05/02 09:15:09 yS0   waiting for line to clear (VTIME), read: [0a]
 05/02 09:15:10 yS0   removing lock file
 05/02 09:15:10 yS0  waiting...
 05/02 09:18:06 yS0    select returned 1
 05/02 09:18:06 yS0   checking lockfiles, locking the line
 05/02 09:18:06 yS0   makelock(ttyS0) called
 05/02 09:18:06 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:18:06 yS0   lock made
 05/02 09:18:06 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:18:06 yS0  wfr: waiting for ``RING''
 05/02 09:18:06 yS0   got:
 05/02 09:18:06 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:18:06 yS0  wfr: error in read(): Success
 05/02 09:18:06 yS0   wfr: rc=-1, drn=0
 05/02 09:18:06 ##### rejected, rings=0
 
 05/02 09:18:06 yS0   waiting for line to clear (VTIME), read:
 05/02 09:18:06 yS0  tcgetattr failed: Input/output error
 05/02 09:18:06 yS0  tcsetattr failed: Input/output error
 05/02 09:18:06 yS0  tcsetattr failed: Input/output error
 05/02 09:18:06 yS0   removing lock file
 05/02 09:18:06 yS0  waiting...
 05/02 09:18:06 yS0    select returned 1
 05/02 09:18:06 yS0   checking lockfiles, locking the line
 05/02 09:18:06 yS0   makelock(ttyS0) called
 05/02 09:18:06 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:18:06 yS0   lock made
 05/02 09:18:06 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:18:06 yS0  wfr: waiting for ``RING''
 05/02 09:18:06 yS0   got:
 05/02 09:18:06 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:18:06 yS0  wfr: error in read(): Success
 05/02 09:18:06 yS0   wfr: rc=-1, drn=0
 05/02 09:18:06 ##### rejected, rings=0
 
 05/02 09:18:06 yS0   waiting for line to clear (VTIME), read:
 05/02 09:18:06 yS0  tcgetattr failed: Input/output error
 05/02 09:18:06 yS0  tcsetattr failed: Input/output error
 05/02 09:18:06 yS0  tcsetattr failed: Input/output error
 05/02 09:18:06 yS0   removing lock file
 05/02 09:18:06 yS0  waiting...
 05/02 09:18:06 yS0    select returned 1
 05/02 09:18:06 yS0   checking lockfiles, locking the line
 05/02 09:18:06 yS0   makelock(ttyS0) called
 05/02 09:18:06 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:18:06 yS0   lock made
 05/02 09:18:06 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:18:06 yS0  wfr: waiting for ``RING''
 05/02 09:18:06 yS0   got:
 05/02 09:18:06 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:18:06 yS0  wfr: error in read(): Success
 05/02 09:18:06 yS0   wfr: rc=-1, drn=0
 05/02 09:18:06 ##### rejected, rings=0
 
 > [ здесь 50 метров одинаковых записей ]
 
 05/02 09:34:02 yS0   waiting for line to clear (VTIME), read:
 05/02 09:34:02 yS0  tcgetattr failed: Input/output error
 05/02 09:34:02 yS0  tcsetattr failed: Input/output error
 05/02 09:34:02 yS0  tcsetattr failed: Input/output error
 05/02 09:34:02 yS0   removing lock file
 05/02 09:34:02 yS0  waiting...
 05/02 09:34:02 yS0    select returned 1
 05/02 09:34:02 yS0   checking lockfiles, locking the line
 05/02 09:34:02 yS0   makelock(ttyS0) called
 05/02 09:34:02 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:34:02 yS0   lock made
 05/02 09:34:02 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:34:02 yS0  wfr: waiting for ``RING''
 05/02 09:34:02 yS0   got:
 05/02 09:34:02 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:34:02 yS0  wfr: error in read(): Success
 05/02 09:34:02 yS0   wfr: rc=-1, drn=0
 05/02 09:34:02 ##### rejected, rings=0
 
 05/02 09:34:02 yS0   waiting for line to clear (VTIME), read:
 05/02 09:34:02 yS0  tcgetattr failed: Input/output error
 05/02 09:34:02 yS0  tcsetattr failed: Input/output error
 05/02 09:34:02 yS0  tcsetattr failed: Input/output error
 05/02 09:34:02 yS0   removing lock file
 05/02 09:34:02 yS0  waiting...
 05/02 09:34:02 yS0    select returned 1
 05/02 09:34:02 yS0   checking lockfiles, locking the line
 05/02 09:34:02 yS0   makelock(ttyS0) called
 05/02 09:34:02 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:34:02 yS0  lock not made: lock file exists (pid=13293)
 05/02 09:34:02 yS0   lock file exists (dialout)!
 05/02 09:34:02 yS0   lockfile found, pid=13293
 05/02 09:34:02 yS0    looking for utmp entry... (my PID: 13287)
 05/02 09:34:02 yS0   utmp + wtmp entry made
 05/02 09:34:02 yS0   lockfile found, pid=13293
 05/02 09:34:12 yS0   checklock: stat failed, no file
 05/02 09:34:17 yS0   checklock: stat failed, no file
 --
 05/02 09:34:17 yS0  mgetty: experimental test release 1.1.27-Oct21
 05/02 09:34:17 yS0  check for lockfiles
 05/02 09:34:17 yS0   checklock: stat failed, no file
 05/02 09:34:17 yS0  locking the line
 05/02 09:34:17 yS0   makelock(ttyS0) called
 05/02 09:34:17 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:34:17 yS0   lock made
 05/02 09:34:18 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
 05/02 09:34:18 yS0  lowering DTR to reset Modem
 05/02 09:34:18 yS0   tss: set speed to 57600 (10001)
 05/02 09:34:18 yS0   tio_set_flow_control( HARD )
 05/02 09:34:18 yS0   waiting for line to clear (VTIME), read:
 05/02 09:34:18 yS0  send: \d\d\d+++\d\d\dAT&F1M0E0[0d]
 05/02 09:34:21 yS0  waiting for ``OK''
 05/02 09:34:21 yS0   got: [0d][0a]OK ** found **
 05/02 09:34:22 yS0  send: AT[0d]
 05/02 09:34:22 yS0  do_stat: expect 'OK' ** found **
 05/02 09:34:22 yS0  send: ATI6[0d]
 05/02 09:34:22 yS0  do_stat: expect 'OK' ** found **
 05/02 09:34:22 yS0   waiting for line to clear (VTIME), read: [0a]
 05/02 09:34:22 yS0   removing lock file
 05/02 09:34:22 yS0  waiting...
 05/02 09:37:25 yS0    select returned 1
 05/02 09:37:25 yS0   checking lockfiles, locking the line
 05/02 09:37:25 yS0   makelock(ttyS0) called
 05/02 09:37:25 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:37:25 yS0   lock made
 05/02 09:37:25 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:37:25 yS0  wfr: waiting for ``RING''
 05/02 09:37:25 yS0   got:
 05/02 09:37:25 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:37:25 yS0  wfr: error in read(): Success
 05/02 09:37:25 yS0   wfr: rc=-1, drn=0
 05/02 09:37:25 ##### rejected, rings=0
 
 05/02 09:37:25 yS0   waiting for line to clear (VTIME), read:
 05/02 09:37:25 yS0  tcgetattr failed: Input/output error
 05/02 09:37:25 yS0  tcsetattr failed: Input/output error
 05/02 09:37:25 yS0  tcsetattr failed: Input/output error
 05/02 09:37:25 yS0   removing lock file
 05/02 09:37:25 yS0  waiting...
 05/02 09:37:25 yS0    select returned 1
 05/02 09:37:25 yS0   checking lockfiles, locking the line
 05/02 09:37:25 yS0   makelock(ttyS0) called
 05/02 09:37:25 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 09:37:25 yS0   lock made
 05/02 09:37:25 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 09:37:25 yS0  wfr: waiting for ``RING''
 05/02 09:37:25 yS0   got:
 05/02 09:37:25 yS0  mdm_read_byte: read returned 0: Success
 05/02 09:37:25 yS0  wfr: error in read(): Success
 05/02 09:37:25 yS0   wfr: rc=-1, drn=0
 05/02 09:37:25 ##### rejected, rings=0
 
 > [ здесь ещё метров 100 ]
 
 05/02 10:20:40 yS0   waiting for line to clear (VTIME), read:
 05/02 10:20:40 yS0  tcgetattr failed: Input/output error
 05/02 10:20:40 yS0  tcsetattr failed: Input/output error
 05/02 10:20:40 yS0  tcsetattr failed: Input/output error
 05/02 10:20:40 yS0   removing lock file
 05/02 10:20:40 yS0  waiting...
 05/02 10:20:40 yS0    select returned 1
 05/02 10:20:40 yS0   checking lockfiles, locking the line
 05/02 10:20:40 yS0   makelock(ttyS0) called
 05/02 10:20:40 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 10:20:40 yS0  lock not made: lock file exists (pid=13555)
 05/02 10:20:40 yS0   lock file exists (dialout)!
 05/02 10:20:40 yS0   lockfile found, pid=13555
 05/02 10:20:40 yS0    looking for utmp entry... (my PID: 13294)
 05/02 10:20:40 yS0   utmp + wtmp entry made
 05/02 10:20:40 yS0   lockfile found, pid=13555
 05/02 10:20:50 yS0   lockfile found, pid=13555
 05/02 10:21:00 yS0   lockfile found, pid=13555
 05/02 10:21:10 yS0   lockfile found, pid=13555
 05/02 10:21:20 yS0   lockfile found, pid=13555
 05/02 10:21:30 yS0   lockfile found, pid=13555
 05/02 10:21:40 yS0   lockfile found, pid=13555
 05/02 10:21:50 yS0   lockfile found, pid=13555
 05/02 10:22:00 yS0   checklock: stat failed, no file
 05/02 10:22:05 yS0   checklock: stat failed, no file
 --
 05/02 10:22:06 yS0  mgetty: experimental test release 1.1.27-Oct21
 05/02 10:22:06 yS0  check for lockfiles
 05/02 10:22:06 yS0   checklock: stat failed, no file
 05/02 10:22:06 yS0  locking the line
 05/02 10:22:06 yS0   makelock(ttyS0) called
 05/02 10:22:06 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 10:22:06 yS0   lock made
 05/02 10:22:06 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
 05/02 10:22:06 yS0  lowering DTR to reset Modem
 05/02 10:22:07 yS0   tss: set speed to 57600 (10001)
 05/02 10:22:07 yS0   tio_set_flow_control( HARD )
 05/02 10:22:07 yS0   waiting for line to clear (VTIME), read:
 05/02 10:22:07 yS0  send: \d\d\d+++\d\d\dAT&F1M0E0[0d]
 05/02 10:22:10 yS0  waiting for ``OK''
 05/02 10:22:10 yS0   got: [0d][0a]OK ** found **
 05/02 10:22:10 yS0  send: AT[0d]
 05/02 10:22:10 yS0  do_stat: expect 'OK' ** found **
 05/02 10:22:10 yS0  send: ATI6[0d]
 05/02 10:22:10 yS0  do_stat: expect 'OK' ** found **
 05/02 10:22:11 yS0   waiting for line to clear (VTIME), read: [0a]
 05/02 10:22:11 yS0   removing lock file
 05/02 10:22:11 yS0  waiting...
 05/02 11:22:11 yS0    select returned 0
 05/02 11:22:11 yS0  checking if modem is still alive
 05/02 11:22:11 yS0   makelock(ttyS0) called
 05/02 11:22:11 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 11:22:11 yS0   lock made
 05/02 11:22:11 yS0  mdm_send: 'AT'
 05/02 11:22:11 yS0    got:[0d][0a]OK[0d]
 05/02 11:22:11 yS0   mdm_command: string 'OK' -> OK
 05/02 11:22:11 yS0   waiting for line to clear (VTIME), read:
 05/02 11:22:12 yS0   removing lock file
 05/02 11:22:12 yS0  waiting...
 05/02 11:24:49 yS0    select returned 1
 05/02 11:24:49 yS0   checking lockfiles, locking the line
 05/02 11:24:49 yS0   makelock(ttyS0) called
 05/02 11:24:49 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
 05/02 11:24:49 yS0   lock made
 05/02 11:24:49 yS0  /etc/nologin.ttyS0 exists - do not accept call!
 05/02 11:24:49 yS0  wfr: waiting for ``RING''
 05/02 11:24:49 yS0   got: [0a][0d][0a]RING[0d]
 05/02 11:24:49 yS0    CND: RING
 05/02 11:24:49 yS0   wfr: rc=0, drn=0
 05/02 11:24:49 yS0  wfr: waiting for ``RING''
 05/02 11:24:49 yS0   got: [0a]
 05/02 11:24:59 yS0  mdm_read_byte: read returned -1: Interrupted system call
 05/02 11:24:59 yS0  wfr: timeout waiting for RING
 05/02 11:24:59 yS0   wfr: rc=-1, drn=0
 05/02 11:24:59 ##### rejected, rings=1
 
 Дальше всё нормально. Вот лог fborce за это время:
 
 [...]
 May 02 09:14:55 [13283] modem: "Disconnect Reason is DTR dropped"
 May 02 09:14:55 [13283] session rc = 0 ("Successfull")
 May 02 09:17:56 [13288] calling 2:5030/966 [...]
 May 02 09:18:06 [13288] session rc = 11 ("Can't connect to remote: busy")
 May 02 09:34:02 [13293] calling 2:5030/1187 [...]
 May 02 09:34:09 [13293] session rc = 11 ("Can't connect to remote: busy")
 May 02 09:37:14 [13295] calling 2:5030/966 [...]
 May 02 09:37:25 [13295] session rc = 11 ("Can't connect to remote: busy")
 May 02 10:20:40 [13555] calling 2:5030/966 [...]
 May 02 10:21:14 [13555] connect "CONNECT 26400/ARQ/V34/LAPM/V42BIS" (26400)
 [ тут нормальная сессия ]
 May 02 10:21:55 [13555] session rc = 0 ("Successfull")
 May 02 12:10:19 [13831] calling 2:5030/966 [...]
 
 Такое каждый день. Hочью (когда нет nologin.ttyS0) всё в порядке. Что с ним
 происходит?
 
 ЗЫ debian 3.0r0, linux 2.4.19
 
                                                      DeltaFlight
 --- GoldED+/W32 1.1.5-030104
  * Origin: Тяжело в болтанке, легко в штилю. (2:5030/1147)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 mgetty дурит   Alexander Makarov   02 May 2003 17:51:18 
 Re: mgetty дурит   Kirill Frolov   04 May 2003 03:21:11 
 Re: mgetty дурит   Ilya Dikarev   10 May 2003 07:35:36 
 Re: mgetty дурит   Valentin Nechayev   11 May 2003 09:23:19 
Архивное /ru.linux/138143eb277f3.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional