[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/console switching: the continuing saga
From: |
David Walter |
Subject: |
Re: /dev/console switching: the continuing saga |
Date: |
Wed, 20 Nov 2002 17:45:06 -0500 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, hurd-i386-debian) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Following up on the hangup when using fsysopts /dev/console, the
following change fixes the problem.
This immediately opens the new argument the term translator is pointed
to (eg. /dev/vcs/10/console or your preference)
Roland's earlier change hasn't made it to the server for some reason,
if diffs seem stranger than normal.
2002-11-20 David Walter <dwalter@syr.edu>
* hurdio.c (hurdio_init): added hurdio_assert_dtr () call to force
the open of a device during a change of arg/type.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/hurd/hurd/term/ChangeLog,v
retrieving revision 1.83
diff --unified -w -i -r1.83 ChangeLog
- --- ChangeLog 18 Aug 2002 19:57:58 -0000 1.83
+++ ChangeLog 20 Nov 2002 22:15:01 -0000
@@ -1,3 +1,8 @@
+2002-11-20 David Walter <dwalter@syr.edu>
+
+ * hurdio.c (hurdio_init): added hurdio_assert_dtr () call to force
+ the open of a device during a change of arg/type.
+
2002-08-18 Roland McGrath <roland@frob.com>
* Main.c (main): Open with O_RDWR only for hurdio bottomhalf.
Index: hurdio.c
===================================================================
RCS file: /cvsroot/hurd/hurd/term/hurdio.c,v
retrieving revision 1.4
diff --unified -w -i -r1.4 hurdio.c
- --- hurdio.c 26 Jun 2002 19:23:04 -0000 1.4
+++ hurdio.c 20 Nov 2002 22:00:37 -0000
@@ -95,6 +95,7 @@
cthread_detach (cthread_fork (hurdio_reader_loop, 0));
cthread_detach (cthread_fork (hurdio_writer_loop, 0));
+ hurdio_assert_dtr ();
return 0;
}
There is another problem, (this appeared prior to the above change),
when trying to reset the terminal device to --type=device console as:
fsysopts /dev/console --type=device console
I get the following:
ds_* invalid reply port
debugger invoked, but there isn't one.
... reboot ...
I guess that I need to rebuild with the kernel debugger for this one.
Note: I am using gnumach-1.3
(insert (concat "\n\n" (shell-command-to-string "uname -a")))
GNU naritai 0.3 GNUmach-1.3/Hurd-0.3 i386-AT386 unknown unknown GNU
- --
pub 1024D/DC92AE30 2002-02-26 David Walter <dwalter@syr.edu>
fingerprint = 50A0 E513 732D 1D0F BD26 C84E A8DD 9D80 DC92 AE30
sub 2048g/51023582 2002-02-26
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Hurd)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard
<http://www.gnupg.org/>
iD8DBQE93BBxqN2dgNySrjARAtJjAJ4ltYQIZVoT0OsiUCl4QKtP78aUkwCdGi4s
yGbuB2P83blG2K2L7H89nTQ=
=vFnv
-----END PGP SIGNATURE-----
- /dev/console switching : fix: term doesn't copy arg for output device., David Walter, 2002/11/19
- Re: /dev/console switching : fix: term doesn't copy arg for output device., Roland McGrath, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Marcus Brinkmann, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga,
David Walter <=
- Re: /dev/console switching: the continuing saga, Roland McGrath, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Roland McGrath, 2002/11/20