Re: watch(8) stuck in devdrn




On Thu, 31 May 2007, Giorgos Keramidas wrote:

On 2007-05-31 18:38, Robert Watson <rwatson@xxxxxxxxxxx> wrote:
I was using watch(8) this afternoon, and on trying to quit, ran into this:

peppercorn:~> ps axl | grep watch
0 14200 14194 0 -8 0 3416 1056 devdrn D p2- 0:00.01 watch -W tt

It was running on a pty, but the target tty was ttyv1.

If you have kern.pts.enable=1 you may have to use:
http://hg.hellug.gr/freebsd/src-keramida/file/944ac3982de1/pty-devdrn

Without this patch and kern.pts.enable=1 all ptys seem to get stuck in devdrn on process exit. AFAIK, Kostik Belousov and Tor Egge know this and are already working on a fix:

I'm not using pts.enable on this box.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • watch(8) stuck in devdrn
    ... peppercorn:~> ps axl | grep watch ... It was running on a pty, but the target tty was ttyv1. ...
    (freebsd-current)
  • Re: watch(8) stuck in devdrn
    ... peppercorn:~> ps axl | grep watch ... It was running on a pty, but the target tty was ttyv1. ...
    (freebsd-current)