recalcitrant_parport_problem

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: lost printer device - a year ago, and it's still not working!
From: "Russell W. Behne" <russ@concentric.net>
Date: Thu, 6 Jan 2000 12:28:05 -0500 (EST)


> > > On Sat, 1 Jan 2000, harold e vine iii wrote:
> > > > before the upgrade. it says it cant find or locate /dev/lp0, /dev/lp1,
> > > > /dev/lp2.

> > On Sat, 1 Jan 2000, Bernhard Rosenkraenzer wrote:
> > > Add
> > > =09"alias parport_lowlevel parport_pc"
> > > to /etc/conf.modules and try again.

> "Russell W. Behne" <russb@concentric.net> writes:
> > Been there, done that.
> > I'm using 6.1 and have the same problem since installing 6.0
> > here. That line has been in my /etc/conf.modules since a week after
> > the 6.0 install, and made no difference. Anyone have the complete
> > procedure for solving this problem once and for all? It would REALLY
> > be nice to once again have the use of my printer.

On 31 Dec 1999, Mark Gray wrote:
> I have this in my /etc/conf.modules
> alias parport_lowlevel    parport_pc
> options parport_pc io=0x378 irq=none,none

Ok, I've added that to my /etc/conf.modules and still:
	cat testfile > /dev/lp0
	bash: /dev/lp0: No such device

I've also gone over the kernel config with a fine tooth comb, and
recompiled the kernel so that printing uses the kernel instead of modules.
Still nothing.  
	I used to have a 486 here, but swapped the motherboard for a 686 to
see if it was a hardware problem. Nope. 
	I also added another parallel port by plugging in a new board. It
didn't detect that either.  It still can't detect /dev/lp0, or /dev/lp1.
	Any more ideas? I'm thinking the "parport" thing may be the problem
since it made it's appearance in 6.0, and that's when my problem started.
Perhaps if I could disable that parport stuff and get the parallel ports
back to the way they were in 5.x then maybe it'd detect lp0 once again and
be able to print again. Comments? Ideas?
	(It's been about a year now, redhat, and I still haven't seen any
docs to deal with this problem.)

===


Subject: Re: lost printer device - a year ago, and it's still not working!
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Thu, 6 Jan 2000 18:31:29 +0100 (CET)


On Thu, 6 Jan 2000, Russell W. Behne wrote:

> Ok, I've added that to my /etc/conf.modules and still:
> 	cat testfile > /dev/lp0
> 	bash: /dev/lp0: No such device

Ok, let's see if this is related to the modules...
Do:

insmod parport
insmod parport_pc
insmod parport_probe
echo "Microsoft sucks" >/dev/lp0

and let me know if that fixed it.

===

Subject: Re: lost printer device - a year ago, and it's still not working!
From: "Russell W. Behne" <russ@concentric.net>
Date: Thu, 6 Jan 2000 12:42:12 -0500 (EST)


On Thu, 6 Jan 2000, Bernhard Rosenkraenzer wrote:
> On Thu, 6 Jan 2000, Russell W. Behne wrote:
> > Ok, I've added that to my /etc/conf.modules and still:
> > 	cat testfile > /dev/lp0
> > 	bash: /dev/lp0: No such device
> Ok, let's see if this is related to the modules...
> Do:
> insmod parport
> insmod parport_pc
> insmod parport_probe
> echo "Microsoft sucks" >/dev/lp0
> 
> and let me know if that fixed it.

# /sbin/insmod parport
insmod: parport: no module by that name found
# /sbin/insmod parport_pc
# /sbin/insmod parport_probe
# echo "Microsoft sucks, but at least it prints" > /dev/lp0
bash: /dev/lp0: No such device
#

===

Subject: Re: lost printer device - a year ago, and it's still not working!
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Thu, 6 Jan 2000 18:48:06 +0100 (CET)


On Thu, 6 Jan 2000, Russell W. Behne wrote:

> # /sbin/insmod parport
> insmod: parport: no module by that name found

Try this with the standard Red Hat Linux kernel. It definitely has the
parport module.

> # /sbin/insmod parport_pc
> # /sbin/insmod parport_probe

I forgot: /sbin/insmod lp

===

Subject: Re: lost printer device - a year ago, and it's still not working!
From: "Russell W. Behne" <russ@concentric.net>
Date: Thu, 6 Jan 2000 12:51:55 -0500 (EST)


On Thu, 6 Jan 2000, Bernhard Rosenkraenzer wrote:
> On Thu, 6 Jan 2000, Russell W. Behne wrote:
> > # /sbin/insmod parport
> > insmod: parport: no module by that name found
> Try this with the standard Red Hat Linux kernel. It definitely has the
> parport module.
> > # /sbin/insmod parport_pc
> > # /sbin/insmod parport_probe
> I forgot: /sbin/insmod lp

# /sbin/insmod lp
/lib/modules/2.2.12-20/misc/lp.o: couldn't find the kernel version the
module was compiled for

===

Subject: Re: lost printer device - a year ago, and it's still not working!
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Thu, 6 Jan 2000 18:53:27 +0100 (CET)


On Thu, 6 Jan 2000, Russell W. Behne wrote:

> # /sbin/insmod lp
> /lib/modules/2.2.12-20/misc/lp.o: couldn't find the kernel version the
> module was compiled for

Your installation is broken. Reinstall the kernel RPM and it will work.

===

Subject: Re: lost printer device - a year ago, and it's still not working!
From: "Russell W. Behne" <russ@concentric.net>
Date: Thu, 6 Jan 2000 13:05:27 -0500 (EST)


On Thu, 6 Jan 2000, Russell W. Behne wrote:
> On Thu, 6 Jan 2000, Bernhard Rosenkraenzer wrote:
> > On Thu, 6 Jan 2000, Russell W. Behne wrote:
> > > # /sbin/insmod parport
> > > insmod: parport: no module by that name found
> > Try this with the standard Red Hat Linux kernel. It definitely has the
> > parport module.
> > > # /sbin/insmod parport_pc
> > > # /sbin/insmod parport_probe
> > I forgot: /sbin/insmod lp
> # /sbin/insmod lp
> /lib/modules/2.2.12-20/misc/lp.o: couldn't find the kernel version the
> module was compiled for

Now I forgot to mention something! :-)
The last time I recompiled the kernel I did so with parallel printer
suppory compiled into the kernel, not as a module. I did this to rule out a
module problem, and this is the probable cause of the above error message.

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu