README.DEBUG 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. If you are interested in very verbose debugging help when porting
  2. ecu or diagnosing a problem with line selection, locking, utmp or
  3. ecuungetty, try compiling with debug code by creating a file
  4. named config.local (or adding to your already existing one):
  5. LOCAL_CFLAGS = -DECUUNGETTY_DEBUG \
  6. -DCHOOSE_DEBUG \
  7. -DDEBUG_CURSOR \
  8. -DLOCK_DEBUG \
  9. -DSHARE_DEBUG \
  10. -DUTMP_DEBUG
  11. (For reference purposes only ... the example is Quite dated)
  12. 05-10-1992-08:48-26728-hdb_choose_Any baud=9600 current line=''
  13. 05-10-1992-08:48-26728-must pick new line utmpst=0 lerr=0
  14. 05-10-1992-08:48-26728-getdvbaud looking for 9600 baud
  15. 05-10-1992-08:48-26728-getdvbaud returning tty2b
  16. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  17. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  18. 05-10-1992-08:48-26728-UTMP uugetty:u2B:tty2B:26692:101
  19. 05-10-1992-08:48-26728-CHOOSEANY chose tty2b
  20. 05-10-1992-08:48-26728-copy_pde trial=0 Lline='/dev/tty2b' pdetty='2b'
  21. 05-10-1992-08:48-26728-choose_tty_for_pde '2b' 9600
  22. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  23. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  24. 05-10-1992-08:48-26728-UTMP uugetty:u2B:tty2B:26692:101
  25. ECUUNGET-26728-(26739) ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  26. ECUUNGET-26728-(26739) ISLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=2
  27. ECUUNGET-26728-(26739) UTMP uugetty:u2B:tty2B:26692
  28. ECUUNGET-26728-(26739) -g utmp status=101
  29. ECUUNGET-26728-(26739) /dev/tty2b b000021382a exit code 1
  30. 05-10-1992-08:48-26728-UNGETTY acquired /dev/tty2b
  31. 05-10-1992-08:48-26728-UTMPCHK /dev/tty2b st=0 ut=101
  32. 05-10-1992-08:48-26728-CRLOCK /usr/spool/uucp/LCK..tty2b status=0 errno=Error 0
  33. 05-10-1992-08:48-26728-LOCKTTY /dev/tty2b status 0 errno=Error 0
  34. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  35. 05-10-1992-08:48-26728-UTMP uugetty:u2B:tty2B:26692:104
  36. 05-10-1992-08:48-26728-UTMPCHK /dev/tty2b st=-11 ut=104
  37. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  38. 05-10-1992-08:48-26728-lclose Liofd=-1 Lline=/dev/tty2b line_lock_status=-11
  39. 05-10-1992-08:48-26728-choose_tty_for_pde rtn=1 line='/dev/tty2b' errmsg='' itmp=-11
  40. 05-10-1992-08:48-26728-copy_pde 2 Lline='/dev/tty2b' reopen=1
  41. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  42. 05-10-1992-08:48-26728-lopen Liofd=-1 Lline=/dev/tty2b line_lock_status=-11
  43. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  44. 05-10-1992-08:48-26728-UTMP uugetty:u2B:tty2B:26692:104
  45. 05-10-1992-08:48-26728-UTMPCHK /dev/tty2b st=-11 ut=104
  46. 05-10-1992-08:48-26728-LOCKTTY /dev/tty2b status 0 errno=Permission denied
  47. 05-10-1992-08:48-26728-getdvline looking for tty2b
  48. 05-10-1992-08:48-26728-getdvline tty2b found
  49. 05-10-1992-08:48-26728-UUCPDIAL /usr/lib/uucp/dialgT2500 4269068P exit status0x8200
  50. 05-10-1992-08:48-26728-ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  51. 05-10-1992-08:48-26728-lclose Liofd=3 Lline=/dev/tty2b line_lock_status=-11
  52. ECUUNGET-26728-(26742) ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  53. ECUUNGET-26728-(26742) UTMP uugetty:u2B:tty2B:26692
  54. ECUUNGET-26728-(26742) -t utmp status=104
  55. ECUUNGET-26728-(26742) -t /dev/tty2b b000021382a exit code 1
  56. 05-10-1992-08:48-26728-UNGETTY -t /dev/tty2b status 0100
  57. ECUUNGET-26728-(26743) ISLOCK /usr/spool/uucp/LCK..tty2b status=-11 errno=0
  58. ECUUNGET-26728-(26743) UTMP uugetty:u2B:tty2B:26692
  59. ECUUNGET-26728-(26743) -r utmp status=104
  60. ECUUNGET-26728-(26743) -r /dev/tty2b b000021382a exit code 0
  61. 05-10-1992-08:48-26728-UNGETTY returned /dev/tty2b