Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!ira.uka.de!smurf!flatlin!ptavv!ralf From: ralf@ptavv.ka.sub.org (Ralf Wenk) Newsgroups: comp.os.minix Subject: Re: ps failed & lpr = PANIC Message-ID: <1991Jan22.220549.01094@ptavv.ka.sub.org> Date: 22 Jan 91 22:05:49 GMT References: <41987@nigel.ee.udel.edu> Organization: The known space Lines: 19 From article <41987@nigel.ee.udel.edu>, by Michael.Joswig@germany.sun.com (Michael Joswig (Vertriebsunterstuetzung Hamburg)): > 2) After applying all "official" 3 Patches, I am unable to print. Everytime > I use "lpr", I get a PANIC--Push RESET Button. This bug was introuduced by the official Patch 2, namely by the stwini- changes. The buffer in which the partitioning information is read in (struct hi) was global before and local on the stack now. But the default stack size is equal sizeof( struct hi). That's why increasing the stack size of the winchester task will be a fix, too. My fix was very simple, I just add a simple static before struct hi hi in do_open(). I send this fix to Frans Meulenbroeks and he has included it into his patch 3. So I think there should be no problem with the printer device after applying the 3rd patch. My system is actually running MINIX ST 1.5.10.2 compiled witch ack. Regards, Ralf Wenk -- -- Ralf Wenk -- ralf@ptavv.ka.sub.org