Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The bug is rock solid reproducible and has been around for about 7-10 days.
With a cold boot and nothing in the CUPS print queues; (lp1 double sided A4, lp2 single sided A4) when I "print" a document it gets no further than the print queue. and there is no /dev/lp0. same if I do a test print from within CUPS is queued. Restarting the spooler from inside the CUPS GUI had no effect.
If I then reboot the m/c. I can now see /dev/lp0 (parallel port) is now present,
crw-rw---- 1 root lp 6, 0 2010-02-01 14:21 /dev/lp0,
the documents in the queue from before the reboot are now printed,
and I am able to print any further documents until the next reboot.
The kit,:
K7S6A with 1GB of RAM and 4 IDE disks.
o/s is : “Linux tigger 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux”
print chain: CUPS and HP 4050TN connected to parallel port by cable (D25 to Centronics)
My work round is to “print” a file with printer off before shutdown, a waste of paper but a temporary fix.
Found following error messages: in /var/log/cup/ [I was trying to print something off the web, it locked I killed it with SIG9].
error_log.4
E [26/Jan/2010:12:07:16 +0000] PID 3821 (/usr/lib/cups/filter/pstops) crashed on signal 9!
E [26/Jan/2010:12:07:16 +0000] PID 3822 (/usr/lib/cups/backend/parallel) crashed on signal 9!
error_log.5
E [20/Jan/2010:13:40:17 +0000] PID 3789 (/usr/lib/cups/backend/socket) crashed on signal 9!
error_log.6
E [19/Jan/2010:07:36:42 +0000] PID 8873 (/usr/lib/cups/backend/socket) crashed on signal 9!
Any suggestions as to what I should check or how to fix please.
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329
Rep:
AFAIK, signal 9 is "segmentation fault", usually faulty RAM. Try checking your RAM
Not very sure, because if the RAM is really faulty, surely you'll get your system hung or something worst than a little printing problem. But, worth to check, IMHO :-)
1) SIG 9 is SIGKILL what I used to kill (sledgehammer) hung processes (as it cannot be ignored), nasty but works every time.
I ran a one hour batter test on the RAM, with no errors, so it looks OK.
I can see the printer being recognized correctly at paraport0 during the boot process.
From the Web interface, trying to print a test page, with a cold booted m/c and emptym print queues, I see the message ""Printer not connected; will retry in 30 seconds..." but the printer is connected and if I then reboot the test page is printed and this message not seen. As already stated, when I then try a new test page it prints and anything else I send to the printer. [printing is normal ?]
In the fault mode looking at the /var/log/cups files:
error.log is empty
Anyone able to say quickly which pins on the D25 and Centronics plugs do I test continuity through, in case I have a cable fault? I do not believe I have as the reboot clears the fault. I suspect it is software but (?) What else can I try? any pointers appreciated. And thank you all.
While searching line by line in syslog found with printer off "cwdeamon" was trying to seize the paraport0 with exclusive access at boot time. Why it was doing this is unknown but deleted cwdeamon package and all is back to normal. Thank you all for help.regards, (spirals -dja.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.