Printing broken on jaunty (cnpkmodule?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using jaunty on a Thinkpad T61 with a Canon imageClass MF4150 printer attached with a USB cable.
I run the following command:
echo "Test" | a2ps
I expect a page with the word "Test" on it to be printed.
No such thing happens. At no point, in fact, does the printer do anything at all.
The print job does get into the print queue; when I run
lpq
I get
MF4100-Series is ready and printing
Rank Owner Job File(s) Total Size
active weel 1589 (stdin) 18432 bytes
When I run
ps axf
I find, among many others, the following processes:
4376 ? Ss 0:00 /usr/sbin/cupsd
5715 ? S 0:00 \_ MF4100-Series 1589 weel (stdin) 1 media=Letter sides=one-sided finishings=3 number-up=1 job-uuid=
5736 ? S 0:00 \_ /usr/bin/gs -r600 -dDEVICEWIDTH=5100 -dDEVICEHEIGHT=6600 -sDEVICE=opvp -sDriver=
5739 ? Z 0:00 \_ [c3pldrv] <defunct>
5741 ? R 9:44 /usr/bin/cnpkmodule --format=2 --output=1 --cmd_fd=7 --res_fd=15 --dat_fd=16
In particular, the process cnpkmodule takes up 100% CPU! I don't know what it's doing, but it sure is busy doing it, and it keeps going. To find out what it's doing, I run
sudo strace -p 5741
and I get
read(7, ""..., 4) = 0
read(7, ""..., 4) = 0
read(7, ""..., 4) = 0
read(7, ""..., 4) = 0
....
over and over and over agin.
Apparently, cnpkmodule is very busy reading nothing in particular from file handle 7, so let's find out what file handle 7 is...
I run
sudo lsof -p 5741
and get
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
[...]
cnpkmodul 5741 lp 7r FIFO 0,6 35341 pipe
[...]
Apparently, it's a pipe.
That's all the debugging I'm going to do for now, but I hope it gives someone a lead as to what's going on here.
affects: | ubuntu → cups (Ubuntu) |
Changed in cups (Ubuntu): | |
status: | New → Confirmed |
I have Canon MF4010 and this problem too. On Intrepid is all good.