Bug 1077381 - Printing to Brother HL-2140 printer hangs with cups 1:1.7.1-6
Summary: Printing to Brother HL-2140 printer hangs with cups 1:1.7.1-6
Keywords:
Status: CLOSED DUPLICATE of bug 1077239
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-17 20:45 UTC by Greg Sheremeta
Modified: 2014-03-18 16:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 16:12:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error_log with debug enabled (12.93 KB, application/gzip)
2014-03-17 20:45 UTC, Greg Sheremeta
no flags Details
Brother HL-2140 PPD file (19.32 KB, text/plain)
2014-03-17 20:46 UTC, Greg Sheremeta
no flags Details
error_log with debug enabled -- take 2 (238.02 KB, application/gzip)
2014-03-18 14:46 UTC, Greg Sheremeta
no flags Details
error_log with cups downgraded (18.55 KB, application/gzip)
2014-03-18 14:47 UTC, Greg Sheremeta
no flags Details

Description Greg Sheremeta 2014-03-17 20:45:05 UTC
Created attachment 875680 [details]
error_log with debug enabled

Description of problem:
Printing to Brother HL-2140 printer hangs with cups 1:1.7.1-6
Works great upon downgrading cups.
The printer is attached to the network via an iogear GPSU21

Version-Release number of selected component (if applicable):
1:1.7.1-6.fc20

How reproducible:
always

Steps to Reproduce:
1. Fresh network install of Fedora 20, cups 1:1.7.1-6 is installed
2. yum install hpijs, system-config-printer (both already installed)
3. system-config-printer -- add printer, URL is http://x.x.x.x:631/lp1
   Use attached PPD file
4. Open gedit, type "hello printer" and click Print. 

Actual results:
Job gets submitted, but nothing happens

Expected results:
Job should print

Additional info:
Upon print failure, logs are:

access_log
localhost - - [17/Mar/2014:16:23:35 -0400] "POST /printers/Brother-HL-2140 HTTP/1.1" 200 11137 Print-Job successful-ok

error_log
E [17/Mar/2014:16:21:52 -0400] [Job 1] The printer is not responding.

I enabled debug logging, retried -- error_log.gz is attached.

cups versions:

[greg@localhost ~]$ yum list installed cups*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
cups.x86_64                                                        1:1.7.1-6.fc20                                           @updates
cups-filesystem.noarch                                             1:1.7.1-6.fc20                                           @updates
cups-filters.x86_64                                                1.0.41-5.fc20                                            @updates
cups-filters-libs.x86_64                                           1.0.41-5.fc20                                            @updates
cups-libs.x86_64                                                   1:1.7.1-6.fc20                                           @updates
cups-pk-helper.x86_64                                              0.2.5-2.fc20                                             @fedora 
[greg@localhost ~]$ 

Upon dowgrading, as soon as the downgrade completes, my printer kicks on and prints the doc that was stuck in the queue.

[root@localhost cups]# yum downgrade cups cups-libs cups-filesystem
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package cups.x86_64 1:1.7.0-4.fc20 will be a downgrade
---> Package cups.x86_64 1:1.7.1-6.fc20 will be erased
---> Package cups-filesystem.noarch 1:1.7.0-4.fc20 will be a downgrade
---> Package cups-filesystem.noarch 1:1.7.1-6.fc20 will be erased
---> Package cups-libs.x86_64 1:1.7.0-4.fc20 will be a downgrade
---> Package cups-libs.x86_64 1:1.7.1-6.fc20 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                             Arch                       Version                            Repository                  Size
====================================================================================================================================
Downgrading:
 cups                                x86_64                     1:1.7.0-4.fc20                     fedora                     1.4 M
 cups-filesystem                     noarch                     1:1.7.0-4.fc20                     fedora                      89 k
 cups-libs                           x86_64                     1:1.7.0-4.fc20                     fedora                     366 k

Transaction Summary
====================================================================================================================================
Downgrade  3 Packages

Total download size: 1.8 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/20/fedora/packages/cups-filesystem-1.7.0-4.fc20.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 246110c1: NOKEY
Public key for cups-filesystem-1.7.0-4.fc20.noarch.rpm is not installed
(1/3): cups-filesystem-1.7.0-4.fc20.noarch.rpm                                                               |  89 kB  00:00:01     
(2/3): cups-libs-1.7.0-4.fc20.x86_64.rpm                                                                     | 366 kB  00:00:01     
(3/3): cups-1.7.0-4.fc20.x86_64.rpm                                                                          | 1.4 MB  00:00:01     
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               1.3 MB/s | 1.8 MB  00:00:01     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-20-x86_64
Importing GPG key 0x246110C1:
 Userid     : "Fedora (20) <fedora>"
 Fingerprint: c7c9 a9c8 9153 f201 83ce 7cba 2eb1 61fa 2461 10c1
 Package    : fedora-release-20-3.noarch (@updates)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-20-x86_64
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:cups-libs-1.7.0-4.fc20.x86_64                                                                                  1/6 
  Installing : 1:cups-filesystem-1.7.0-4.fc20.noarch                                                                            2/6 
  Installing : 1:cups-1.7.0-4.fc20.x86_64                                                                                       3/6 
  Cleanup    : 1:cups-1.7.1-6.fc20.x86_64                                                                                       4/6 
  Cleanup    : 1:cups-filesystem-1.7.1-6.fc20.noarch                                                                            5/6 
  Cleanup    : 1:cups-libs-1.7.1-6.fc20.x86_64                                                                                  6/6 
  Verifying  : 1:cups-1.7.0-4.fc20.x86_64                                                                                       1/6 
  Verifying  : 1:cups-filesystem-1.7.0-4.fc20.noarch                                                                            2/6 
  Verifying  : 1:cups-libs-1.7.0-4.fc20.x86_64                                                                                  3/6 
  Verifying  : 1:cups-filesystem-1.7.1-6.fc20.noarch                                                                            4/6 
  Verifying  : 1:cups-1.7.1-6.fc20.x86_64                                                                                       5/6 
  Verifying  : 1:cups-libs-1.7.1-6.fc20.x86_64                                                                                  6/6 

Removed:
  cups.x86_64 1:1.7.1-6.fc20            cups-filesystem.noarch 1:1.7.1-6.fc20            cups-libs.x86_64 1:1.7.1-6.fc20           

Installed:
  cups.x86_64 1:1.7.0-4.fc20            cups-filesystem.noarch 1:1.7.0-4.fc20            cups-libs.x86_64 1:1.7.0-4.fc20           

*** here it starts printing! ****

Complete!
[root@localhost cups]#

Comment 1 Greg Sheremeta 2014-03-17 20:46:05 UTC
Created attachment 875681 [details]
Brother HL-2140 PPD file

Comment 2 Jiri Popelka 2014-03-18 12:33:05 UTC
(In reply to Greg Sheremeta from comment #0)
> error_log
> E [17/Mar/2014:16:21:52 -0400] [Job 1] The printer is not responding.

I can't see this in the attached error_log neither can I see any other problems there. But the symptoms look similar to bug #1077239 - both are network printers.

Comment 3 Greg Sheremeta 2014-03-18 14:46:27 UTC
Created attachment 875961 [details]
error_log with debug enabled -- take 2

Comment 4 Greg Sheremeta 2014-03-18 14:47:00 UTC
Created attachment 875963 [details]
error_log with cups downgraded

Comment 5 Greg Sheremeta 2014-03-18 14:49:16 UTC
I reset my test VM and re-did the error_log (error_log with debug enabled -- take 2). I again don't see "The printer is not responding." in it.

I then downgraded cups and cleared out the error_log, and then printed. That error_log is attached (error_log with cups downgraded)
FWIW, the logs are very different.

Let me know how else I can help.

Comment 6 Jiri Popelka 2014-03-18 15:16:37 UTC
Greg, please try also cups-1.7.1-5.fc20 ?
https://koji.fedoraproject.org/koji/buildinfo?buildID=502584

Comment 7 Greg Sheremeta 2014-03-18 16:09:38 UTC
cups-1.7.1-5.fc20 works.


[root@localhost Downloads]# yum downgrade ./cups-1.7.1-5.fc20.x86_64.rpm ./cups-libs-1.7.1-5.fc20.x86_64.rpm ./cups-filesystem-1.7.1-5.fc20.noarch.rpm 
Loaded plugins: langpacks, refresh-packagekit
Examining ./cups-1.7.1-5.fc20.x86_64.rpm: 1:cups-1.7.1-5.fc20.x86_64
Examining ./cups-libs-1.7.1-5.fc20.x86_64.rpm: 1:cups-libs-1.7.1-5.fc20.x86_64
Examining ./cups-filesystem-1.7.1-5.fc20.noarch.rpm: 1:cups-filesystem-1.7.1-5.fc20.noarch
Resolving Dependencies
--> Running transaction check
---> Package cups.x86_64 1:1.7.1-5.fc20 will be a downgrade
---> Package cups.x86_64 1:1.7.1-6.fc20 will be erased
---> Package cups-filesystem.noarch 1:1.7.1-5.fc20 will be a downgrade
---> Package cups-filesystem.noarch 1:1.7.1-6.fc20 will be erased
---> Package cups-libs.x86_64 1:1.7.1-5.fc20 will be a downgrade
---> Package cups-libs.x86_64 1:1.7.1-6.fc20 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                     Arch               Version                      Repository                                        Size
====================================================================================================================================
Downgrading:
 cups                        x86_64             1:1.7.1-5.fc20               /cups-1.7.1-5.fc20.x86_64                        5.3 M
 cups-filesystem             noarch             1:1.7.1-5.fc20               /cups-filesystem-1.7.1-5.fc20.noarch             0.0  
 cups-libs                   x86_64             1:1.7.1-5.fc20               /cups-libs-1.7.1-5.fc20.x86_64                   788 k

Transaction Summary
====================================================================================================================================
Downgrade  3 Packages

Total size: 6.0 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:cups-filesystem-1.7.1-5.fc20.noarch                                                                            1/6 
  Installing : 1:cups-libs-1.7.1-5.fc20.x86_64                                                                                  2/6 
  Installing : 1:cups-1.7.1-5.fc20.x86_64                                                                                       3/6 
  Cleanup    : 1:cups-1.7.1-6.fc20.x86_64                                                                                       4/6 
  Cleanup    : 1:cups-filesystem-1.7.1-6.fc20.noarch                                                                            5/6 
  Cleanup    : 1:cups-libs-1.7.1-6.fc20.x86_64                                                                                  6/6 
  Verifying  : 1:cups-libs-1.7.1-5.fc20.x86_64                                                                                  1/6 
  Verifying  : 1:cups-filesystem-1.7.1-5.fc20.noarch                                                                            2/6 
  Verifying  : 1:cups-1.7.1-5.fc20.x86_64                                                                                       3/6 
  Verifying  : 1:cups-1.7.1-6.fc20.x86_64                                                                                       4/6 
  Verifying  : 1:cups-filesystem-1.7.1-6.fc20.noarch                                                                            5/6 
  Verifying  : 1:cups-libs-1.7.1-6.fc20.x86_64                                                                                  6/6 

Removed:
  cups.x86_64 1:1.7.1-6.fc20            cups-filesystem.noarch 1:1.7.1-6.fc20            cups-libs.x86_64 1:1.7.1-6.fc20           

Installed:
  cups.x86_64 1:1.7.1-5.fc20            cups-filesystem.noarch 1:1.7.1-5.fc20            cups-libs.x86_64 1:1.7.1-5.fc20           

Complete!
[root@localhost Downloads]#

printing works :)

Comment 8 Jiri Popelka 2014-03-18 16:12:58 UTC

*** This bug has been marked as a duplicate of bug 1077239 ***


Note You need to log in before you can comment on or make changes to this bug.