Mailing List Archive

parallel port printer stop working on 2.6 kernel
I have been struggling with this issue for a long time: using 2.6
kernel, device /dev/lp0 swallow all input to it without error, and
nothing comes out from the printer.

$ dmesg > /dev/lp0
$ [no output on commandline, no output from printer, nothing happens]

also cups running on this server shows every job is completed, nothing
comes out in paper form.

Here is the dmesg section that seems to be related to this issue:

[ 5.293312] lp: driver loaded but no devices found
[ 5.340515] rtc_init: no PC rtc found
[ 5.380379] /pci@1f,0/pci@1,1/ebus@1/su@14,3083f8: Keyboard port at 1fff13083f8, irq 6
[ 5.472406] /pci@1f,0/pci@1,1/ebus@1/su@14,3062f8: Mouse port at 1fff13062f8, irq 7
[ 5.561939] parport0: PC-style at 0x1fff13043bc (0x1fff13047bc), irq 8, dma 0 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 5.812374] parport0: Printer, Hewlett-Packard hp LaserJet 3015
[ 5.979388] lp0: using parport0 (interrupt-driven).

from dmesg it seems kernel not only able to detect parallel port, but
also possible to activate ECP mode and detect printer model (which is
correct). I also have activated all kernel configuration options I can
think of. I attached my kernel configuration file as well as whole dmesg
output hoping that can help.

The machine is Ultrasparc U5. It has been serving as print server for
more then one year, or probably two years.