Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printer troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sun Jan 02, 2005 6:31 am    Post subject: Printer troubles Reply with quote

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
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sun Jan 02, 2005 2:06 pm    Post subject: Reply with quote

Bump?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sun Jan 02, 2005 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sun Jan 02, 2005 3:30 pm    Post subject: Reply with quote

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... :wink:

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sun Jan 02, 2005 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sun Jan 02, 2005 4:03 pm    Post subject: Reply with quote

devfs I believe (that's what I see when I boot), how can I verify this?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sun Jan 02, 2005 4:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sun Jan 02, 2005 4:31 pm    Post subject: Reply with quote

Unfortunately it didn't work, but thanks for the suggestion! :)
Do you think trying out udev help?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum