Subject: RE: unexpected halt of system while ... problem solved !
To: 'cgd@pa.dec.com' <cgd@pa.dec.com>
From: Kent Franken <franken@macatawa.org>
List: port-alpha
Date: 03/09/1998 08:48:15
How do I remove my name from this list?

Kent Franken
franken@macatawa.org

----------
From:  Wilfried Heller[SMTP:Ing.-Buero_Heller@t-online.de]
Sent:  Saturday, March 07, 1998 10:04 AM
To:  cgd@pa.dec.com
Cc:  port-alpha@NetBSD.ORG
Subject:  Re: unexpected halt of system while ... problem solved !

I probably found out, what went wrong:
 -The statically allocated printer-buffer size was too small to
  handle a brute force 'cat anytext > /dev/lpt'. Probably the
  printer-buffer was overun and caused an illegal memory access.
  The workaround is , to increase the buffer-size.
  the file in question is '/sys/dev/ic/lpt.c'.=20
  I increased '#define LPT_BSIZE 1024' to 4098.
  Perhaps a 'LPT_BSIZE =3D pagesize used' would be better.
The best solution would be, if this buffer could dynamically
resize itself. Is this possible ???
But one question remains: Why is the interrupt driven driven
/dev/lpt slower than /dev/lpa witch uses polling - or have they
been interchanged ?? - in FreeBSD , it's just the other way around !!
MARTIN
-------------------------------------------------------
Ing. B=FCro Heller        | mheller@acm.org
Hauptstr. 50            | Ing.-Buero_Heller@t-online.de
D - 66484 Dietrichingen | mheller@student.uni-kl.de    =20
-------------------------------------------------------  =20
  =20