Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!ll-xn!cit-vax!oberon!bacall!papa From: papa@bacall.UUCP Newsgroups: comp.sys.amiga Subject: Re: Probably SERIAL.DEVICE bug. Message-ID: <2409@bacall.UUCP> Date: Sat, 2-May-87 03:25:43 EDT Article-I.D.: bacall.2409 Posted: Sat May 2 03:25:43 1987 Date-Received: Fri, 8-May-87 05:45:16 EDT References: <8704300002.AA28012@cory.Berkeley.EDU> Organization: CS&CE Depts, U.S.C., Los Angeles, CA Lines: 38 Matt Dillon writes: > I think I've found a bug in the serial.device ... You can crash your > Amiga by doing the following: > > -Set terminal program and modem @ 1200 baud > - Make sure it is NOT using the RAD_BOOGIE bit > -Tell modem to send it's help screen (or test chars..) continuously. > -While the modem is sendin, change the baud rate of the terminal > program (and thus serial.device) to 20000 > > Your Amiga should freeze up. Using RAD_BOOGIE seems to fix the > the problem. This is a *real* bug because it would seem that changing the > the baud rate to anything, at any time when the serial.device isn't using > RAD_BOOGIE creates a window or something... (20000 almost always causes > a crash. 1200->2400 does so every once in a while) > You do not mention if you have oustanding I/O requests when you do the SETPARMS (to change the baud rate). RKM mentions that " a parameter change cannot be performed while actually processing and I/O request .... therefore you must use SDCMD_SETPARAMES only when you have no serial I/O requests pending". This means executing an AbortIO(readrequest) before resetting the baudrate (or any other comm parameter) if, as usually done by comm programs, one has started an input request. I do not have your code handy, so this might not apply if you do indeed use AbortIO. -- Marco -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Marco Papa 3175 S. Hoover St., Ste. 275 (213)747-8498 Los Angeles, CA 90007 USC: (213)743-3752 F E L S I N A Now working for ::::::: BIX: papa But in no way :: :: Officially representing ::::::: ...!oberon!bacall!papa S O F T W A R E papa@cse.usc.edu -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-