home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / sysadmin / 6675 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!biosci!parc!mdixon
  2. From: mdixon@parc.xerox.com (Mike Dixon)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: SUMMARY: cpu usage of unused but enabled serial port
  5. Message-ID: <mdixon.722029867@thelonius>
  6. Date: 17 Nov 92 19:51:07 GMT
  7. References: <1992Nov17.142613.27644@news.th-darmstadt.de>
  8. Sender: news@parc.xerox.com
  9. Organization: Xerox PARC
  10. Lines: 24
  11.  
  12. (this should probably be put in the FAQ)
  13.  
  14. why does an unused serial port consume cpu?
  15.  
  16. because you've got a (probably fairly long) unshielded serial cable
  17. attached to it, with either nothing at the other end or a powered-off
  18. device at the other end.  EE's call this an antenna.  it's probably
  19. picking up most of the radio stations in your area, which the serial
  20. chip is interpreting as a continuous stream of garbage bytes, which
  21. it feeds to getty, which tries to interpret them as login attempts.
  22.  
  23. how do you avoid this problem?
  24.  
  25.    - leave the device at the other end switched on (even when it's not
  26.      transmitting, it will assert a voltage that overrides the noise)
  27.  
  28.    - unplug the cable from the next when you're not using it
  29.  
  30.    - use 'kill -STOP' & 'kill -CONT' to stop & resume the getty process
  31.      as needed
  32.  
  33.    - buy an adequately shielded serial cable
  34.  
  35.                                              .mike.
  36.