FS#52322 - [linux] 4.10.x breaks HP printing
Attached to Project:
Arch Linux
Opened by James (thx1138) - Saturday, 31 December 2016, 20:20 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 13 April 2017, 14:32 GMT
Opened by James (thx1138) - Saturday, 31 December 2016, 20:20 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 13 April 2017, 14:32 GMT
|
Details
linux 4.9-1
hplip 3.16.11-1 In the log: hp[29426]: io/hpmud/pp.c 585: failed claim_pp fd=7: No such device or address hp[29426]: prnt/backend/hp.c 824: ERROR: open device failed stat=12: hp:/par/HP_LaserJet_6MP?device=/dev/parport0 kernel: ------------[ cut here ]------------ kernel: WARNING: CPU: 2 PID: 29426 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80 kernel: sysfs: cannot create duplicate filename '/devices/parport0/ppdev0.0' ... kernel: ------------[ cut here ]------------ kernel: WARNING: CPU: 2 PID: 29426 at lib/kobject.c:240 kobject_add_internal+0x2b4/0x320 kobject_add_internal failed for ppdev0.0 with -EEXIST, don't try to register things with the same name in the same directory. ... See attached file for the call trace. Down-grading the kernel restores normal printer function. |
This task depends upon
See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1414656
Clearly, the referenced commit does not fix the problem:
commit dd5c472a60e43549d789a17a8444513eec64bd7e
Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Date: Sat Nov 12 21:22:12 2016 +0000
ppdev: check before attaching port
For anyone who cannot wait, the patch is attached.
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch."
I'm not familiar with how the kernel update process works here, where GKH says "The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release", which implies 4.11, rather than saying anything about patching 4.9 and 4.10. Perhaps there is some misunderstanding?
The thing is, 4.9 is suppose to be an LTS series, and, for now, 1) the parport is simply broken, and 2) the patch has seemingly not been moved into the update queue. Perhaps GKH really really wants Linus to look at it first?
Still, Sudip's patch works for me, and it's not that difficult to manually patch and replace only the ppdev and parport drivers. Alternatively, a
patch -p1 -i "${srcdir}/printing.patch"
could be added to the PKGBUILD.