All of lore.kernel.org
 help / color / mirror / Atom feed
* char-major-6
@ 2002-04-19  3:55 G Anna
  2002-04-19 14:08 ` char-major-6 Tom Beer
  2002-04-19 14:40 ` char-major-6 Richard Adams
  0 siblings, 2 replies; 5+ messages in thread
From: G Anna @ 2002-04-19  3:55 UTC (permalink / raw)
  To: linux-newbie

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

-- 

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: char-major-6
  2002-04-19  3:55 char-major-6 G Anna
@ 2002-04-19 14:08 ` Tom Beer
  2002-04-19 14:40 ` char-major-6 Richard Adams
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Beer @ 2002-04-19 14:08 UTC (permalink / raw)
  To: linux-newbie

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



> 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
>
> --
>
> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: char-major-6
  2002-04-19  3:55 char-major-6 G Anna
  2002-04-19 14:08 ` char-major-6 Tom Beer
@ 2002-04-19 14:40 ` Richard Adams
  2002-04-20 12:56   ` char-major-6 G Anna
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Adams @ 2002-04-19 14:40 UTC (permalink / raw)
  To: linux-newbie, G Anna

On Friday 19 April 2002 03:55, G Anna wrote:
> 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.

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

>
> [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

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.

>
> Can anybody tell me, which config option is this char-major-6?

As above, "lp" printer.

>
> 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

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: char-major-6
  2002-04-19 14:40 ` char-major-6 Richard Adams
@ 2002-04-20 12:56   ` G Anna
  2002-04-20 18:02     ` char-major-6 Richard Adams
  0 siblings, 1 reply; 5+ messages in thread
From: G Anna @ 2002-04-20 12:56 UTC (permalink / raw)
  To: pa3gcu; +Cc: linux-newbie


> Date: Fri, 19 Apr 2002 14:40:50 +0000
> From: Richard Adams <pa3gcu@zeelandnet.nl>
> Subj: Re: char-major-6

[snip]

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

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

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.

> 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

-- 

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: char-major-6
  2002-04-20 12:56   ` char-major-6 G Anna
@ 2002-04-20 18:02     ` Richard Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Adams @ 2002-04-20 18:02 UTC (permalink / raw)
  To: G Anna, pa3gcu; +Cc: linux-newbie

On Saturday 20 April 2002 12:56, G Anna wrote:
> > Date: Fri, 19 Apr 2002 14:40:50 +0000
> > From: Richard Adams <pa3gcu@zeelandnet.nl>
> > Subj: Re: char-major-6
>
> [snip]
>
> > 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.

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

I am glad i hit the nail on the head, have a nice weekend.

>
> > 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

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-20 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-19  3:55 char-major-6 G Anna
2002-04-19 14:08 ` char-major-6 Tom Beer
2002-04-19 14:40 ` char-major-6 Richard Adams
2002-04-20 12:56   ` char-major-6 G Anna
2002-04-20 18:02     ` char-major-6 Richard Adams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.