char-major-6
Dear All,
When I try to do
# /etc/rc.d/init.d/lpd start Starting lpd: Warning - test: \ cannot open lp device '/dev/lp0' - No such device
[I broke the line into two.]
And in the /var/log/messages file I have
Apr 19 09:19:05 wobble modprobe: modprobe: Can't locate module char-major-6 Apr 19 09:19:05 wobble lpd: lpd startup succeeded
Can anybody tell me, which config option is this char-major-6?
I am using RH 7.1,
$ uname -a Linux wobble 2.4.16 #2 Fri Apr 19 01:09:19 IST 2002 i686 unknown
Thanks for all the help.
Cheers,
anna
Signature · 7 lines
Get your free e-mail account at http://www.linuxmail.org - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Hi Anna,
take a look at the thread from yesterday named "usb device installation". There a similiar problem poped up. I'm not sure if it is fixed or not. Additionally you may read /usr/src/linux/Documentation/modules.txt
as a starter. I don't think that the lpd will work, besides that he is started "successfully". Cause without the device, there is no way accessing it, if lpd tries.
Therefore you have to create the /dev/lp0 device
with a char-major number of 6 (look at the thread).
Or you reconfigure your lpd using another device as lp0. This is covered in the printing howto. Pointer: /etc/printcap
Greets Tom
Quoted 8 lines
Dear All,
When I try to do
# /etc/rc.d/init.d/lpd start Starting lpd: Warning - test: \ cannot open lp device '/dev/lp0' - No such device
Quoted 5 lines
[I broke the line into two.]
And in the
/var/log/messagesfile I haveApr 19 09:19:05 wobble modprobe: modprobe: Can't locate module
char-major-6
Quoted 16 lines
Apr 19 09:19:05 wobble lpd: lpd startup succeededCan anybody tell me, which config option is this char-major-6?
I am using RH 7.1,
$ uname -a Linux wobble 2.4.16 #2 Fri Apr 19 01:09:19 IST 2002 i686 unknownThanks for all the help.
Cheers,
anna--
Quoted 8 lines
Get your free e-mail account at http://www.linuxmail.org
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 1 line · G Anna
Dear All,
I've only seen one reply to this mail, i will try and explain whats happening and possably shed some light on the other discussion about devices not being found.
Quoted 6 lines
When I try to do
# /etc/rc.d/init.d/lpd start Starting lpd: Warning - test: \ cannot open lp device '/dev/lp0' - No such device
Note here it says No such device, normally one can take that to mean there is no hardware device found via /dev/lp0 (in this case) that in turn does not mean one has to go hunting in /dev/ and (re)create /dev/lp0 because 99,9% of the time its there but its only a file with No device attached.
Redhat like most all distro's create those files at install time, my Redhat system here has never had a printer attached to it nor have i configured a printer, but the file /dev/lp0 is there..
Quoted 7 lines
[I broke the line into two.]
And in the
/var/log/messagesfile I haveApr 19 09:19:05 wobble modprobe: modprobe: Can't locate module char-major-6 Apr 19 09:19:05 wobble lpd: lpd startup succeeded
The above message is saying that the program modprobe cannot find a module called "lp" which is char-major-6 (to answer your question), now either you configured your kernel without lp support or the needed modules were not installed beforehand, those are;
parport and parport_pc
if those are loaded (can be seen with the command 'lsmod') then you did not configure your kernel with lp module support.
Or it could be that IRQ 7 is in use by some other device, check that with the command 'cat /proc/interrupts'.
To see just what you configured (or did not configure) in your kernel you can look at the file .config found in /usr/src/linux that is providing you have not done a make distclean or make mrproper after you compiled the last kernel.
Quoted 2 lines
Can anybody tell me, which config option is this char-major-6?
As above, "lp" printer.
Quoted 10 lines
I am using RH 7.1,
$ uname -a Linux wobble 2.4.16 #2 Fri Apr 19 01:09:19 IST 2002 i686 unknownThanks for all the help.
Cheers,
anna
Signature · 9 lines
Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 4 lines
Date: Fri, 19 Apr 2002 14:40:50 +0000
From: Richard Adams <[email protected]>
Subj: Re: char-major-6
[snip]
Quoted 3 lines
I've only seen one reply to this mail, i will try and explain whats happening and possably shed some light on the other discussion about devices not being found.
That supposedly mean that I should have got one more mail on this. But I haven't. Yours was the only mail I got and it had all the help I needed. Thanks.
Quoted 7 lines
The above message is saying that the program modprobe cannot find a module called "lp" which is char-major-6 (to answer your question), now either you configured your kernel without lp support or the needed modules were not installed beforehand, those are; parport and
parport_pcif those are loaded (can be seen with the command 'lsmod') then you did not configure your kernel with lp module support.
I set the CONFIG_PARPORT, CONFIG_PARPORT_PC, CONFIG_PARPORT_PC_CML1 and CONFIG_PRINTER to 'm' and recompiled the kernel. Now everything is working fine. ;-)
Thank you very much for the help.
Quoted 2 lines
Or it could be that IRQ 7 is in use by some other device, check that with the command 'cat
/proc/interrupts'.
Thankfully, my problem wasn't that difficult!
(much snipped away)
Cheers,
anna
Signature · 7 lines
Get your free e-mail account at http://www.linuxmail.org - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 6 lines · G Anna
Quoted 3 lines
Date: Fri, 19 Apr 2002 14:40:50 +0000
From: Richard Adams <[email protected]>
Subj: Re: char-major-6[snip]
Quoted 7 lines
Quoted 3 lines
I've only seen one reply to this mail, i will try and explain whats happening and possably shed some light on the other discussion about devices not being found.
That supposedly mean that I should have got one more mail on this. But I haven't. Yours was the only mail I got and it had all the help I needed. Thanks.
It seems this mailing list has problems at the minute, i suppose as always it will get back to normal soon.
Quoted 9 lines
Quoted 8 lines
The above message is saying that the program modprobe cannot find a module called "lp" which is char-major-6 (to answer your question), now either you configured your kernel without lp support or the needed modules were not installed beforehand, those are; parport and
parport_pcif those are loaded (can be seen with the command 'lsmod') then you did not configure your kernel with lp module support.
Quoted 5 lines
I set the
CONFIG_PARPORT,CONFIG_PARPORT_PC,CONFIG_PARPORT_PC_CML1andCONFIG_PRINTERto 'm' and recompiled the kernel. Now everything is working fine. ;-)Thank you very much for the help.
I am glad i hit the nail on the head, have a nice weekend.
Quoted 10 lines
Quoted 3 lines
Or it could be that IRQ 7 is in use by some other device, check that with the command 'cat
/proc/interrupts'.Thankfully, my problem wasn't that difficult!
(much snipped away)
Cheers,
anna
Signature · 9 lines
Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs