cat bug?

Kris Kennaway kris at obsecurity.org
Fri Jan 27 12:10:25 PST 2006


On Wed, Jan 25, 2006 at 10:02:49AM +0000, Aivaras Kondrotas wrote:
> Can anybody explain me if cat command is different in
> Freebsd than in other linux/unix/bsd os'es, because
> this problem appear just in Freebsd.
> 
> I am running a FreeBSD 6.0. To get working my printer
> I have to upgrade my firmware, but
> I get problem "cat: stdout: Input/output error".

This is cat reporting an error from the ulpt0 device.  So your problem
is really with the ulpt driver.

> Searched for days in google, but it appears that all
> results leads to just Freebsd OS.
> Do I have to switch OS just to make my printer work?

What happens if you can some normal file to the device?

> ----------------------------------------------------------------
> #dmesg | grep ulpt
> ulpt0: Hewlett-Packard hp LaserJet 1000, rev
> 1.10/1.20, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
> 
> # cat SIhp1000.dl > /dev/ulpt0
> cat: stdout: Input/output error

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20060127/1586859a/attachment.bin


More information about the freebsd-bugs mailing list