View previous topic :: View next topic |
Author |
Message |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sun Jan 02, 2005 6:31 am Post subject: Printer troubles |
|
|
when I try to load the module needed
modprobe lp
I get
Code: | FATAL: Error inserting lp (/lib/modules/2.6.9-gentoo-r13/kernel/drivers/char/lp.ko): Input/output error |
Do I need some combination of modules and built in drivers for this to work? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sun Jan 02, 2005 2:06 pm Post subject: |
|
|
Bump? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54817 Location: 56N 3W
|
Posted: Sun Jan 02, 2005 2:47 pm Post subject: |
|
|
artificio,
dmesg will give some more useful info on this error. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sun Jan 02, 2005 3:30 pm Post subject: |
|
|
Code: | lp: unable to get major 6 |
Google isn't much help...
tail /var/log/cups/error_log
Code: | I [02/Jan/2005:07:25:32 +0000] Started filter /usr/lib/cups/filter/pstops (PID 11805) for job 4.
I [02/Jan/2005:07:25:32 +0000] Started filter /usr/lib/cups/filter/foomatic-rip (PID 11806) for job 4.
I [02/Jan/2005:07:25:32 +0000] Started backend /usr/lib/cups/backend/parallel (PID 11807) for job 4.
I [02/Jan/2005:07:25:34 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11814)
E [02/Jan/2005:07:25:34 +0000] PID 11806 stopped with status 1!
I [02/Jan/2005:07:25:34 +0000] Hint: Try setting the LogLevel to "debug" to find out |
With LogLevel set to debug
Code: | D [02/Jan/2005:07:30:04 +0000] ReadClient: 7 POST / HTTP/1.1
D [02/Jan/2005:07:30:04 +0000] ProcessIPPRequest: 7 status_code=1
E [02/Jan/2005:07:30:04 +0000] PID 12057 stopped with status 1!
D [02/Jan/2005:07:30:04 +0000] UpdateJob: job 6, file 0 is complete.
D [02/Jan/2005:07:30:04 +0000] CancelJob: id = 6
D [02/Jan/2005:07:30:04 +0000] StopJob: id = 6, force = 0
D [02/Jan/2005:07:30:04 +0000] StopJob: printer state is 3
D [02/Jan/2005:07:30:04 +0000] ReadClient: 7 POST / HTTP/1.1
D [02/Jan/2005:07:30:04 +0000] ProcessIPPRequest: 7 status_code=1
D [02/Jan/2005:07:30:04 +0000] CloseClient: 7
|
This seems to be a bit over my head...
Edit-
This
http://216.239.37.104/translate_c?hl=en&u=http://lists.debian.org/debian-user-spanish/1998/09/msg00034.html&prev=/search%3Fq%3Dlp:%2Bunable%2Bto%2Bget%2Bmajor%2B6%26hl%3Den%26lr%3D%26sa%3DG
seems interesting, I should go through all my drivers to see if I have anything complied in or modularized that would use lp0... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54817 Location: 56N 3W
|
Posted: Sun Jan 02, 2005 3:57 pm Post subject: |
|
|
artificio,
Do you use udev or devfs?
Quote: | lp: unable to get major 6 | means that the entry in /dev/ could not be created for some reason. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sun Jan 02, 2005 4:03 pm Post subject: |
|
|
devfs I believe (that's what I see when I boot), how can I verify this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54817 Location: 56N 3W
|
Posted: Sun Jan 02, 2005 4:12 pm Post subject: |
|
|
artificio,
If you didn't make the move to udev, its devfs.
Try Code: | emerge module-init-tools | this appeared to fix similar issues for me. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sun Jan 02, 2005 4:31 pm Post subject: |
|
|
Unfortunately it didn't work, but thanks for the suggestion!
Do you think trying out udev help? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|