* DHV-11, DZV-11 speeds ?
@ 1996-08-12 4:00 Dan Ts'o
1996-08-15 4:00 ` Andy Davis
1996-08-17 4:00 ` Dan Tso
0 siblings, 2 replies; 8+ messages in thread
From: Dan Ts'o @ 1996-08-12 4:00 UTC (permalink / raw)
Can someone tell me if either the DZV-11 or DHV-11 serial line mux
cards for the Qbus support 38400baud ? Or anything else higher than 19200 ?
I want to connect one up to a 28.8k modem at the highest reasonable
speed, under Ultrix-32 (MVAX III).
Thanks.
--
Cheers,
Dan Ts'o 212-327-7671
Dept. of Neurobiology FAX: 212-327-7671
The Rockefeller University
1230 York Ave. Box 138 dantso@cris.com
New York, NY 10021 dan@dna.rockefeller.edu
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: DHV-11, DZV-11 speeds ? 1996-08-12 4:00 DHV-11, DZV-11 speeds ? Dan Ts'o @ 1996-08-15 4:00 ` Andy Davis 1996-08-16 4:00 ` Jerry Hudgins 1996-08-21 4:00 ` bkort 1996-08-17 4:00 ` Dan Tso 1 sibling, 2 replies; 8+ messages in thread From: Andy Davis @ 1996-08-15 4:00 UTC (permalink / raw) In article <Dw073z.Mzx@rockyd.rockefeller.edu>, dan@dnn.rockefeller.edu says... > > Can someone tell me if either the DZV-11 or DHV-11 serial line mux >cards for the Qbus support 38400baud ? Or anything else higher than 19200 ? > I want to connect one up to a 28.8k modem at the highest reasonable >speed, under Ultrix-32 (MVAX III). No, I think that you are stuck with 19200. I have exactly the same desire, but despite poking around a bit could not find a way to run it faster. Of course, when these cards were designed, nobody would have believed you would ever get a modem at 28.8k :-) Andy ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-15 4:00 ` Andy Davis @ 1996-08-16 4:00 ` Jerry Hudgins 1996-08-21 4:00 ` bkort 1 sibling, 0 replies; 8+ messages in thread From: Jerry Hudgins @ 1996-08-16 4:00 UTC (permalink / raw) In article <Dw79wL.KxC@nb-info.co.uk>, andy@nb-info.co.uk (Andy Davis) writes: >In article <Dw073z.Mzx@rockyd.rockefeller.edu>, dan@dnn.rockefeller.edu says... >> >> Can someone tell me if either the DZV-11 or DHV-11 serial line mux >>cards for the Qbus support 38400baud ? Or anything else higher than 19200 ? >> I want to connect one up to a 28.8k modem at the highest reasonable >>speed, under Ultrix-32 (MVAX III). > >No, I think that you are stuck with 19200. I have exactly the same desire, >but despite poking around a bit could not find a way to run it faster. I do recall that at least one Q-Bus vendor (Emulex?) produced a compatible card that would actually run at 38.4 if you told the driver to use an oddball speed. This may be an option for you. -- Jerry Hudgins | Corning Incorporated | hudgins_jc@corning.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-15 4:00 ` Andy Davis 1996-08-16 4:00 ` Jerry Hudgins @ 1996-08-21 4:00 ` bkort 1 sibling, 0 replies; 8+ messages in thread From: bkort @ 1996-08-21 4:00 UTC (permalink / raw) Andy Davis (andy@nb-info.co.uk) wrote: : In article <Dw073z.Mzx@rockyd.rockefeller.edu>, dan@dnn.rockefeller.edu says... : > Can someone tell me if either the DZV-11 or DHV-11 serial line mux : >cards for the Qbus support 38400baud ? Or anything else higher than 19200 ? : > I want to connect one up to a 28.8k modem at the highest reasonable : >speed, under Ultrix-32 (MVAX III). : No, I think that you are stuck with 19200. I have exactly the same desire, : but despite poking around a bit could not find a way to run it faster. : Of course, when these cards were designed, nobody would have believed you : would ever get a modem at 28.8k :-) What's worse, they don't run reliably above 9600. I can get PPP to work at 19200, but if I use 'tin' or 'kermit' to derive a virtual terminal at 19200, I get silo overflows. And if you try to run a getty listener at 19200, it cycles between active and inactive modes every minute or two, so that much of the time the incoming call will ring without the modem answering. Barry Kort ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-12 4:00 DHV-11, DZV-11 speeds ? Dan Ts'o 1996-08-15 4:00 ` Andy Davis @ 1996-08-17 4:00 ` Dan Tso 1996-08-19 4:00 ` zrepachol 1996-09-01 4:00 ` Carl Harris 1 sibling, 2 replies; 8+ messages in thread From: Dan Tso @ 1996-08-17 4:00 UTC (permalink / raw) Dan Ts'o (dan@dnn.rockefeller.edu) wrote: : Can someone tell me if either the DZV-11 or DHV-11 serial line mux : cards for the Qbus support 38400baud ? Or anything else higher than 19200 ? : I want to connect one up to a 28.8k modem at the highest reasonable : speed, under Ultrix-32 (MVAX III). : Thanks. Well, it looks like I got 38400 baud working on my Ultrix 4.3 MVAX III. Thanks to Alan Rollow for bits of information and ideas. Basically he informed me that a DHU-11 claims to support 38400 and a DHV-11 is a Qbus DHU-11 not a DH-11. The problem is that the Ultrix DHU-11/DHV-11 driver for some reason does not support 38400 because that speed code was omitted from the internal driver table. Why one can only speculate. There are a few other places around Ultrix/BSD Unix that also assume 9600 or 19200 is the highest speed one would want to go. The original DH-11, upon which most of the Unix serial mux code is based, including the encoding of speeds in gtty/stty only supported up to 9600, plus two "external" clock rates named EXTA and EXTB. It is these two that, first, 3rd party card companies, and then BSD Unix later took as 19200 and 38400. Anyways, to patch in support for 38400 baud for the DHV-11 (I don't think the DZV-11 will hack it), all you have to do is add a final 15 (hex 0xF, the stty/gtty speed code for EXTB/38400) to the internal dhu.c driver table dhu_speeds and turn on the 16th bit in the mask word dhu_valid_speeds. Trivial if you have the source. Don't have the source ? Then its adb time: # adb -w /vmunix /dev/kmem _dhu_speeds+0xe?x _dhu_speeds+e: e ?w 0xf0e _dhu_speeds+e: e = f0e /w 0xf0e # Optional: patch running kernel _dhu_speeds+e: e = f0e <ENTER> _dhu_valid_speeds: _dhu_valid_speeds: 7fbd ?w 0xffbd _dhu_valid_speeds: 7fbd = ffbd /w 0xffbd # Optional: patch running kernel _dhu_valid_speeds: 7fbd = ffbd $q That's it. The /w commands patch the running kernel so there's no need to reboot (isn't UNIX great ?). Of course, you will have to do this to every new kernel that you rebuild. However you can do the same thing to the load module dhu.o (/usr/sys/VAX/BINARY/dhu.o) to incorporate the patch to avoid this nuisance to reapplying the above patch each time you rebuild the kernel. Just use the same ?w commands above to dhu.o. There is another thing that I did: tip as distributed also doesn't support 38400. Patching tip is a little more tricky because: 1) unlike /vmunix tip doesn't have a namelist so no symbolic labels in adb, 2) the code to tip is such that if you enter the code into the speed table within tip, you will create the possibility that tip will crash/coredump if you later tell tip to use a bad speed, since it depends on a -1 code to tell its the end of the speed table and that is the entry you must punch out with 38400. The alternative, obvious, is to fix it in the source, which I believe is freely available from the FREEBSD people. However, I went for the quick patch and don't care much if a later mistake of mine in entering speeds causes a coredump (it isn't the kernel, after all...). So here is what you do: # adb -w /usr/bin/tip ?l 4b00 # locate 19200 (hex 4b00) 2e76 <ENTER> 2e78: 3fef ?l 4b00 # locate again, find the right one 9b26 <ENTER> 9b28: 1100 ?l 4b00 # which is followed by 0, then -1 (FFFF) f9ee <ENTER> f9f0: 1700 ?l 4b00 # and again 15224 <ENTER> 15226: 0 # this is it <ENTER> 15228: ffff ?w 9600 15228: ffff = 9600 # change -1 to 38400 (hex 9600) <ENTER> 1522a: ffff ?w 0 # change -1 to 0 1522a: ffff = 0 $q To enable logins at 38400, obviously you have to edit /etc/gettytab and /etc/ttys (and kill -1 1). But luckily /etc/getty already supports 38400, as does stty. To enable dialouts with tip at 38400, you must edit /etc/remote. With the above patch I have gotten 26400 connects to my ISP with my USR Sportster 28.8 and everything seems fine. Not 57600, but 38400 is better than 19200. Good luck! ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-17 4:00 ` Dan Tso @ 1996-08-19 4:00 ` zrepachol 1996-08-18 4:00 ` Dan Tso 1996-09-01 4:00 ` Carl Harris 1 sibling, 1 reply; 8+ messages in thread From: zrepachol @ 1996-08-19 4:00 UTC (permalink / raw) In Article <4v5gq6$c6q@herald.concentric.net> Dantso@cris.com (Dan Tso) writes: >Dan Ts'o (dan@dnn.rockefeller.edu) wrote: >: Can someone tell me if either the DZV-11 or DHV-11 serial line mux >: cards for the Qbus support 38400baud ? Or anything else higher than 19200 ? >: I want to connect one up to a 28.8k modem at the highest reasonable >: speed, under Ultrix-32 (MVAX III). >: Thanks. > > Well, it looks like I got 38400 baud working on my Ultrix 4.3 MVAX III. >Thanks to Alan Rollow for bits of information and ideas. Basically he informed >me that a DHU-11 claims to support 38400 and a DHV-11 is a Qbus DHU-11 not a >DH-11. There is one other thing to watch out for with a DHV-11. ( Not the later dual board though, DHQ-11? ) It uses 2 cpus to run each 4 lines, and 19.2 uses up about 65% of it ;| so , thats 2 lines at 19.2 in and a it out to saturate the unit. One line at 38.4 and you are RIGHT on the hairy limit. If you can get the latter board rather than a DHV, do so. ~Paul ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-19 4:00 ` zrepachol @ 1996-08-18 4:00 ` Dan Tso 0 siblings, 0 replies; 8+ messages in thread From: Dan Tso @ 1996-08-18 4:00 UTC (permalink / raw) zrepachol@alpha2.curtin.edu.au wrote: : There is one other thing to watch out for with a DHV-11. ( Not the : later dual board though, DHQ-11? ) It uses 2 cpus to run each 4 lines, : and 19.2 uses up about 65% of it ;| so , thats 2 lines at 19.2 in and ^^^^ of one cpu or of both, I assume of one... : a it out to saturate the unit. One line at 38.4 and you are RIGHT on the : hairy limit. If you can get the latter board rather than a DHV, do so. Except that DHV-11's are dirt cheap now (either free or $50). But yes, if you need a lot of high speed lines... Thanks for the reminder. Yes, I vaguely recall seeing a spec like 5000 cps as the total aggregate throughput of a DHV-11, so yes, one can't expect to run too many lines at 38400. Of course in this day of Ethernet etc. whereas once we had some 64 RS232 lines serving the department full of VT100's, now we only need a couple of serial lines to serve modems... Of course the throughput of a DEQNA or DELQA ain't so good either. The best I've seen doing FTP is about 250kbytes/sec. Anybody seen better, suggestions to do better ? It might be a Qbus bottleneck: if the DELQA isn't doing block mode DMA, then it is getting close to the bandwidth of the Qbus doing single-cycle DMA... Cheers, Dan Ts'o 212-327-7671 Dept. of Neurobiology FAX: 212-327-7671 The Rockefeller University 1230 York Ave. Box 138 dantso@cris.com New York, NY 10021 dan@dna.rockefeller.edu ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: DHV-11, DZV-11 speeds ? 1996-08-17 4:00 ` Dan Tso 1996-08-19 4:00 ` zrepachol @ 1996-09-01 4:00 ` Carl Harris 1 sibling, 0 replies; 8+ messages in thread From: Carl Harris @ 1996-09-01 4:00 UTC (permalink / raw) Dan Tso (Dantso@cris.com) wrote: : The problem is that the Ultrix DHU-11/DHV-11 driver for some reason : does not support 38400 because that speed code was omitted from the internal : driver table. Why one can only speculate. That driver has been around for a long time, from early 4BSD distributions (some of it is no doubt derived from UNIX version 6 or 7 code for the DHU-11). As for why the 38400 speed code was omitted, the answer is fairly simple. While the DHU-11 can drive the line at 38400, many vaxen (like my uVax II/GPX, for example) can't keep up with the interrupts to receive data at that rate, and drop characters as a result. The code was never modified when faster vaxen came along... -- Carl Harris Systems Engineer CNS Research and Planning, Virginia Tech ceharris@vt.edu ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1996-09-01 4:00 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1996-08-12 4:00 DHV-11, DZV-11 speeds ? Dan Ts'o 1996-08-15 4:00 ` Andy Davis 1996-08-16 4:00 ` Jerry Hudgins 1996-08-21 4:00 ` bkort 1996-08-17 4:00 ` Dan Tso 1996-08-19 4:00 ` zrepachol 1996-08-18 4:00 ` Dan Tso 1996-09-01 4:00 ` Carl Harris
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox