Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!att!lzaz!hcj From: hcj@lzaz.ATT.COM (HC Johnson) Newsgroups: comp.os.minix Subject: Re: ST RS232 Kernel problems Summary: you have old files Keywords: ST RS232 Message-ID: <662@lzaz.ATT.COM> Date: 28 Jun 89 18:15:23 GMT References: <2015@qfdts.OZ> Organization: AT&T ISL Lincroft NJ USA Lines: 47 In article <2015@qfdts.OZ>, kas@qfdts.OZ (Kas Sommers) writes: > > > 1. Attatching another computer running a terminal emulator to the ST serial port > and changing /etc/ttys putting a second line reading 101 > > I attempted a login.... > Only garbage echoed from minix > Removing the IOCTL lines from login.c and recompiling this program allows me to > > cat file >/dev/tty1 results in a listing not well aligned vertically and the > last X ( I think probably 256 chars ) missing > > > 2. cat file >/dev/fd0 is broken ( Disk I/O error ) > tos -r /dev/fd0 file fails also > > cat file >/dev/rfd0 works from the author of the changes: 1. looks like you have both old files and incomplete ones. yes, login.c was changed. dont thro out the ioctl, add ispeed=ospeed=B2400 or whatever you are using. 2. there are problems with the speed being changed to 0 (B19200) at unexpected times because there are programs that need to be relinked with the new ioctl for libc. 3. there are speed problems above 4800 baud. MINIX turns the interrupt off for too long in places and a character gets lost. should mess up listings somewhat. 4. the improvement to floppy disk has a bug in the RDAFTERWT code. change the buffer size to 512. OR turn off that feature (it is local to the stfloppy.c file. 5. cat>/dev/tty1 is probably a buffer overrun on the receiving side. You may have inadvertently turned off xoff.xon at the driver level. Finally. These changes make a LARGE kernel. strange things happen with the 4 different versions of cv that are out there. 1. original cv. it just silently breaks things as kernel grows. 2. fixed cv. Noisily breaks things. 3. refixed cv. just broken 4. latest cv, with source: USE IT. Howard C. Johnson ATT Bell Labs att!lzaz!hcj hcj@lzaz.att.com