can't print after kernel upgrade

can't print after kernel upgrade

Post by thuk.. » Sun, 31 Dec 1899 09:00:00



Hi...

        I had a long, detailed post here, and Deja.com trashed it because I
hadn't logged in before posting, so this one is gonna be short.  >:-(

        Basically, I built a new kernel on my system (Mandrake/Redhat 5.3), to
upgrade from 2.0.36 to 2.2.11-4.  Now, I cannot print anything.  I have
changed /etc/printcap to reference lp0 instead of lp1, and the module
parport_pc.o loads, but then tells me I need to use procfs to enable
interrupt-driven printing.  I've got /etc/conf.modules set with this,
per the documentation:

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=auto

        (I also tried it with irc=7, which is where my BIOS says the parallel
port lives.)

        /proc/parport/0 exists and is populated with files that look ok.

        Instead of printing, lpc tells me it's waiting for the printer to be
ready, and I get kernel messages that kmod can't locate modules
char-major-[either 6, 14, or 108 here, though 6 is by far the most
frequent].  These messages mostly happen when I try to print, but seem
to occur rarely by themselves -- though I haven't noticed anything else
not working... yet.  :)

        I hope somebody else out there has had and fixed this problem, or knows
how, as I rather need to be able to print!

Thanks for any assistance,
Carl

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

can't print after kernel upgrade

Post by John Solto » Sun, 31 Dec 1899 09:00:00



> Hi...

>         I had a long, detailed post here, and Deja.com trashed it because I
> hadn't logged in before posting, so this one is gonna be short.  >:-(

>         Basically, I built a new kernel on my system (Mandrake/Redhat 5.3), to
> upgrade from 2.0.36 to 2.2.11-4.  Now, I cannot print anything.  I have
> changed /etc/printcap to reference lp0 instead of lp1, and the module
> parport_pc.o loads, but then tells me I need to use procfs to enable
> interrupt-driven printing.  I've got /etc/conf.modules set with this,
> per the documentation:

> alias parport_lowlevel parport_pc
> options parport_pc io=0x378 irq=auto

>         (I also tried it with irc=7, which is where my BIOS says the parallel
> port lives.)

>         /proc/parport/0 exists and is populated with files that look ok.

>         Instead of printing, lpc tells me it's waiting for the printer to be
> ready, and I get kernel messages that kmod can't locate modules
> char-major-[either 6, 14, or 108 here, though 6 is by far the most
> frequent].  These messages mostly happen when I try to print, but seem
> to occur rarely by themselves -- though I haven't noticed anything else
> not working... yet.  :)

>         I hope somebody else out there has had and fixed this problem, or knows
> how, as I rather need to be able to print!

> Thanks for any assistance,
> Carl

> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

    I had the problem you're talking about with RH 5.2/Kernel 2.2.9 and cleared it
only by saying YES to all ParPort stuff instead of modules.  Hopefully someone
smarter than I has found a way to correct the problem without doing that, because
I have the problem again using RH 6.0.Kernel 2.2.5 (yeah, I haven't upgraded the
kernel yet).  If you're desperate to print, you can try this as a workaround.
Personally, I'd like a real solution   :)

    John

 
 
 

can't print after kernel upgrade

Post by John Solto » Sun, 31 Dec 1899 09:00:00



> Hi...

>         I had a long, detailed post here, and Deja.com trashed it because I
> hadn't logged in before posting, so this one is gonna be short.  >:-(

>         Basically, I built a new kernel on my system (Mandrake/Redhat 5.3), to
> upgrade from 2.0.36 to 2.2.11-4.  Now, I cannot print anything.  I have
> changed /etc/printcap to reference lp0 instead of lp1, and the module
> parport_pc.o loads, but then tells me I need to use procfs to enable
> interrupt-driven printing.  I've got /etc/conf.modules set with this,
> per the documentation:

> alias parport_lowlevel parport_pc
> options parport_pc io=0x378 irq=auto

>         (I also tried it with irc=7, which is where my BIOS says the parallel
> port lives.)

>         /proc/parport/0 exists and is populated with files that look ok.

>         Instead of printing, lpc tells me it's waiting for the printer to be
> ready, and I get kernel messages that kmod can't locate modules
> char-major-[either 6, 14, or 108 here, though 6 is by far the most
> frequent].  These messages mostly happen when I try to print, but seem
> to occur rarely by themselves -- though I haven't noticed anything else
> not working... yet.  :)

>         I hope somebody else out there has had and fixed this problem, or knows
> how, as I rather need to be able to print!

> Thanks for any assistance,
> Carl

> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

    I just finished recompiling my kernel to correct this.  Works fine.      Under

"General Setup" that "Parallel Support" and "PC-Style Hardware" were set
as modules.  Change them from "M" to "Y" and recompile the kernel.

 
 
 

can't print after kernel upgrade

Post by parker » Sun, 31 Dec 1899 09:00:00


Did you remember to point /etc/printcap to the new device,
/dev/lp0?

-pc

 
 
 

can't print after kernel upgrade

Post by thuk.. » Sun, 31 Dec 1899 09:00:00




Quote:> > upgrade from 2.0.36 to 2.2.11-4.  Now, I cannot print anything.  I
have
> > changed /etc/printcap to reference lp0 instead of lp1, and the
module
> > parport_pc.o loads, but then tells me I need to use procfs to enable

[...]

Quote:> >         Instead of printing, lpc tells me it's waiting for the
printer to be
> > ready, and I get kernel messages that kmod can't locate modules
> > char-major-[either 6, 14, or 108 here, though 6 is by far the most
> > frequent].  These messages mostly happen when I try to print, but
seem
> > to occur rarely by themselves -- though I haven't noticed anything
else
> > not working... yet.  :)
>     I had the problem you're talking about with RH 5.2/Kernel 2.2.9
and cleared it
> only by saying YES to all ParPort stuff instead of modules.  Hopefully

someone

[...]

Quote:> kernel yet).  If you're desperate to print, you can try this as a

workaround.

        I don't think this will have any effect, as I just had time to look
more into the problem and, preparing to rebuild, noticed that I *had*
compiled parallel printer support into the kernel, instead of doing it
as a module.  I have since rebooted, using 'append="parport=0x378,7
parport=auto"' (the auto was just in case it would detect something
other than what my BIOS says the parallel port should be at) in
lilo.conf, and nothing has changed.

        More info in another post...

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

1. Can't print after Kernel upgrade

My RH5.2 machine mysteriously stopped printing. I can only assume that
this happened after upgrading the kernel to version 2.2.2. I definateley
DID compile the new kernel with parallel port support, and at this point
I'm thinking the problem may be with lpd itself. Anyway here's what I
get:

bash$ /usr/sbin/lpc
lpc> status
        queuing is enabled
        printing is enabled
        no entries
        no daemon present
lpc>

When I try to print it just sits there, or complains about not being
able to start the daemon. cf and df files are put in the que but nothing
happens.

lpd is running on the system, although sometimes two instances at once.
I have one printer connected to parallell port or /dev/lp1 (right?).
/etc/printcap looks fine.

So far I have tried editing /etc/printcap to use /dev/lp(0 through 3)
and /dev/printer. I have experimented with killing and restarting lpd. I
have used the RedHat printtool to uninstall and reinstall the printer's
config files. I have removed and recreated the /var/spool/lpd directory.

What do I need to do? It was printing before, I know it was, I'm not
crazy!!!

Obviously, this is very frustrating so any ideas would be appreciated.

Thanks,
    -Steve

2. HELP!!

3. It's not bad canned meat...

4. OS/2 Bootmanager and LILO problem

5. IPC and Scripting Issues

6. Help: Kernel module doesn't compile after kernel upgrade.

7. External DVD Recorder

8. Problem in upgrading kernel -- can't boot the system with new 2.4.1 kernel

9. Kernel upgrade: make modules -> nothing to do for 'modules' and complains afterwards ?

10. Problem with 'mkinitrd' while upgrading kernel to 2.2.12

11. COL22 newbie: Upgraded kernel - now 'caldera' boot screen gone?

12. Informix problems afters Y2K Solaris 2.5 patch