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.
>
> Thanks!
>
> -Eric
>
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.
For some reasion, the RedHat kernel source RPMs are not always as clean
as they should be. Combind that with a .config file from an earlyer
version, and not running "make oldconfig", and you can get some strange
results.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list