Subject: Re: unexpected halt of system while ... problem solved !
To: None <>
From: Wilfried Heller <>
List: port-alpha
Date: 03/07/1998 16:04:20
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'. 
  I increased '#define LPT_BSIZE 1024' to 4098.
  Perhaps a 'LPT_BSIZE = 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üro Heller        |
Hauptstr. 50            |
D - 66484 Dietrichingen |