Yes – you are reading correctly… I have decided that IF I wanted to hate Ubuntu I needed to know more about it. I’ve used my Mac Mini 2009 and installed latest Ubuntu 17.10. First conclusions? I don’t hate Ubuntu. I still feel weird writing this but Ubuntu is… ok.
But as our friends in Hollywood would say “lets cut to the chase”.
I tried printing something from the Ubuntu client machine to the Arch Linux Cups server and it failed. No printout was produced. Instead I’ve noticed that the process c3pldrv was using 100% of one of my server cores.
I have checked and confirmed that the file belongs to the cannon driver for my printer.
[root@andrzejl andrzejl]# which c3pldrv
root@andrzejl andrzejl]# pacman -Q --owns /sbin/c3pldrv
/usr/bin/c3pldrv is owned by cndrvcups-lb-bin 3.40-1
Since few days ago I was printing without any issue from my Arch Linux client I assumed that it the fault was on Ubuntu’s side and started looking thru logs / Googling for potential red flags. Maybe 15 minutes later I’ve decided to start from the scratch and I ran command:
To my surprise nothing was printed and the c3pldrv process which I’ve just killed was again hogging the cpu.
I’ve checked when the printer driver was installed. I have set my pacman mirrors to downgrade to that date (over a month of packages), downgraded and rebooted.
Printed was working without a problem.
I divided the list of downgraded packages into 2 halves. Upgraded the first half – printer was dead.
Then I started downgrading packages several at the time checking the printer / killing c3pldrv after each failed printing attempt. At some stage I’ve downgraded a bunch of packages and ran the lp command as mentioned above and voila… content of my fstab file was printed. Few minutes later I knew that the culprit was the lib32-glibc package so I have marked it as ignored package and upgraded the remaining packages.
Rebooted the server and all is good in the world again.
Soooo… IF you own a Canon printer and you cannot print to the cups server and the symptoms are a) no printout b) c3pldrv hogging the CPU – try downgrading lib32-glibc. The version that is known to work:
[root@andrzejl andrzejl]# pacman -Qi lib32-glibc
Name : lib32-glibc
Version : 2.25-7
Description : GNU C Library (32-bit)
Architecture : x86_64
URL : http://www.gnu.org/software/libc
Licenses : GPL LGPL
Groups : None
Provides : None
Depends On : glibc>=2.25
Optional Deps : None
Required By : lib32-gcc-libs lib32-keyutils lib32-libffi lib32-libidn lib32-libjpeg-turbo lib32-libpng12
lib32-libtasn1 lib32-ncurses lib32-openssl lib32-p11-kit lib32-readline lib32-util-linux
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 14.98 MiB
Packager : Jan Alexander Steffens (heftig)
Build Date : Tue 11 Jul 2017 21:00:38 IST
Install Date : Tue 12 Sep 2017 17:42:04 IST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature