Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 08:15:06 -0800 (PST)
From:      Julian Elischer <julian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/nulmodem tty_nullmodem.c
Message-ID:  <200102271615.f1RGF6a91516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
julian      2001/02/27 08:15:06 PST

  Added files:
    sys/dev/nulmodem     tty_nullmodem.c 
  Log:
  Add the 'virtual nulmodem driver'
  Particularly useful for debuging kernels using vmware.
  
  If your name is Bruce evans and you are a WIZ at tty interfaces,
  then you should probably rip this to shreds and offer lots of suggestions and
  patches. I've been using this since 4.0-CURRENT and it's never caused
  problems but I'm sure I got something wrong. This is similar to the pty/cty
  device driver except that both sides are ttys. Even minor numbers
  are side A and odd minor numbers are side B.
  Work needs to be done regarding what happens to the other side when you
  close a node.
  
  to use with vmware, configure vmware to redirect COM2 out to side A of one
  of these and boot a kernel with teh gdb remote port set to sio1.
  AFTER dropping into the gdb kernel debugger in your test kernel,
  fire up gdb with it's remote port pointing at the appropriate side B.
  
  To catch all console output, you can boot the vmware kernel with a serial
  console, (COM1) similarly redirected to a nulmodem, and use 'tip' to observe it.
  
  This is practically unaltered since pre 4.0 days except for
  changes made along the way needed to make it compile, so any suggestions
  or offers of total rewrites will be listenned to :-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102271615.f1RGF6a91516>