Mikkel L. Ellertson <[EMAIL PROTECTED]> wrote:
>On Mon, 30 Apr 2001, Eric Sisler wrote:
>
> > Greetings all,
> >
> > I've just upgraded my 6.2 servers from kernel 2.2.17-14 to 2.2.19-6.2.1 and
> > discovered I can no longer print to /dev/lp0. I compiled my own kernel but
> > re-used the config file from the older kernel and tweaked it a
> > little. AFAIK, I didn't mess with the parallel port settings which are:
> >
> > <*> Parallel port support (built-in)
> > <*> PC-style hardware (built-in)
> >
> > [*] Plug and Play support (built-in)
> > <M> Auto-probe for parallel devices (module)
> >
> > There's one line different in /var/log/dmesg:
> >
> > old dmesg:
> > parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPEPP,ECPPS2]
> > parport0: detected irq 7; use procfs to enable interrupt-driven operation.
> > lp0: using parport0 (polling).
> >
> > new dmesg:
> > parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPEPP,ECPPS2]
> > parport0: detected irq 7; use procfs to enable interrupt-driven operation.
> >
> > and I see error messages in /var/log/messages:
> > Apr 30 11:18:17 rust modprobe: modprobe: Can't locate module char-major-6
> > It looks as though the kernel's trying to load a module for the parallel
> > port, although it shouldn't be since parallel support is built in. Anyone
> > have any ideas? I'll probably try rebooting with the old kernel and/or
> > making parallel support modular with the new kernel unless someone has a
> > better idea.
>It looks like your new kernel didn't get the parrelle port support
>completly built in. It looks like it is trying to load the lp module.
>(Your modprobe error.) What I would do is to copy your .config file to
>a safe location, run "make mrproper", and then copy the config file
>back. Now run "make oldconfig" to bring the config file up to date to
>the 2.2.19 kernel, and then run "make menuconfig" to confirm the setting
>are what you want. Then build the kernel again.
Didn't seem to change things any, but thanks for the tip - I'll remember it
in the future. I've had pretty good luck reusing old configs, but I
generally let menuconfig load the default configuration and then load my
config over it, which may explain my luck.
I wound up making all the parallel port stuff modules which is
worked. There still seems to be something goofy here, but I'll try some
different compile options on a test box and see what happens so I don't
have to keep rebooting my production box.
Thanks!
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list