SL 10; kernel 2.6: parport_pc not loading
I'm befuddled. And I'm amazed I can't find anyone with the same problem.
I recently upgraded my Slack 10.0 installation to the 2.6 kernel on the CD and my printer stopped working. I can see that /etc/rc.d/rc.modules runs. I can see that the parport section is uncommented and it looks like it should modprobe parport_pc, but this dosn't seem to happen. I can manually modprobe parport_pc and it works, but it dosn't happen automatically on a reboot. I noticed a few things. the cat /proc/ksyms | grep in rc.modules dosn't work because I don't have a /proc/ksyms. There's a /proc/kallsyms though. But that should still fail and drop me through to the part of the if which runs /sbin/modprobe parport_pc. /lib/modules/2.6.7/kernel/drivers/parport/parport_pc.o exists. Thoughts? What's up with the echo "" > /dev/null stuff? Why echo if no one ever sees it? A chunk of rc.modules for your reference: Code:
### PC parallel port support ### |
Well, it looks like the module isn't there. Maybe recompile your kernel modules?
|
i think it wouldn't harm to put " /sbin/modprobe parport_pc " outside the "if" statement.
( so it always tries to load it at boot ) egag |
Quote:
Seriously, I would like to figure this out because there's something going on I'm not understanding. [some more looking] Ah, the test is looking for parport_pc.o and the file is actually called parport_pc.ko. I think that this will fix it s/parport_pc.o/parport_pc.ko/g I just can't believe that no one has complained about the package on the CD until now. |
well...the script is written for a 2.4.x kernel and not 2.6.x .
there might be something about this in the /testing dir. on cd. but i didn't look, i cheated :) egag |
Quote:
I guess 10.0 wasn't quite as "2.6 ready" as I expected. I would have been content to stick with a 2.4 kernel, but I have a PCHDTV HD3000 card which needs a 2.6 kernel for its driver. |
i run slack 10 and added this line to /etc/modules.conf so it always loads on boot
alias parport_lowlevel parport_pc |
Quote:
|
Quote:
good point, i guess i better start brushing up on the 2.6 kernel since most distros are moving to the 2.6 series kernels... |
All times are GMT -5. The time now is 04:47 AM. |