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

Kent Franken

From:  Wilfried Heller[]
Sent:  Saturday, March 07, 1998 10:04 AM
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 !!
Ing. B=FCro Heller        |
Hauptstr. 50            |
D - 66484 Dietrichingen |    =20
-------------------------------------------------------  =20