LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-03-2004, 10:33 AM   #1
senorsnor
Member
 
Registered: Apr 2004
Location: Delft, Netherlands
Distribution: ArchLinux
Posts: 46

Rep: Reputation: 15
Parallel port/printer modules don't load on startup


I'm using Slackware 10.0 with the 2.6.7-kernel from /testing. In rc.modules I've uncommented both the sections on parallel port support and parallel printer support but whenever I boot my computer these modules (parport, parport_pc and lp) don't get loaded. By loading them manually and restarting cups, I could add my printer and that works fine -- till the next reboot. Then the modules aren't loaded, /dev/lp0-device isn't created and the printer doesn't work.

When I run /etc/rc.d/rc.modules from the command line, the output is:

cat: /proc/ksyms: No such file or directory
cat: /proc/ksyms: No such file or directory

Since the first lines in the parallel port- en parallel-printer section are:

if cat /proc/ksyms | grep ... (blablabla)

and /proc/ksyms doesn't exist I was wondering this is the problem? I don't understand why this doesn't work since I have a pretty standard install? Of course I can just add 'modprobe <module>' in rc.modules but I'm wondering why the standard-script doesn't work on my system, and why I don't have /proc/ksyms?
 
Old 07-03-2004, 11:20 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
It's has to do with the way rc.modules checks if the modules are ready to load, just simply uncomment the lines that do the command modprobe. (at least that happened to me...)
 
Old 07-03-2004, 11:57 AM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
/proc/ksyms is used with 2.4 series kernels

it is deprecated in 2.6 series, now /proc/kallsyms is used.

I think you could replace the lines in rc.modules accordingly

tobyl
 
Old 07-03-2004, 12:43 PM   #4
senorsnor
Member
 
Registered: Apr 2004
Location: Delft, Netherlands
Distribution: ArchLinux
Posts: 46

Original Poster
Rep: Reputation: 15
tnx! I've changed it in the scripts to kallsyms but it still doesn't work. Now I've commented all but the /sbin/modprobe <modulename> and it works great. Guess I'll mail slackware about this though, since it's not like Slack not to work right out of the box!
 
Old 07-03-2004, 12:58 PM   #5
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
Hi senorsnor,

You are quite right. As was gbonvehi.
Looks like Slackware's rc.modules script is slightly broken with 2.6 kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer and Parallel port dancar Linux - Hardware 4 04-30-2006 09:43 AM
unable to load parallel port drivers for cups bipins1979 Linux - Hardware 3 09-03-2005 03:19 PM
Parallel port printer dtcamargo Linux - Hardware 4 10-31-2004 10:11 PM
printer modules not loaded; parallel printer doesn't work blinux1 Linux - Newbie 7 06-24-2004 09:59 PM
Parallel port and printer Xreagan Linux - Newbie 2 09-04-2002 01:13 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration