LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-25-2004, 12:17 PM   #1
verminsky
LQ Newbie
 
Registered: Apr 2002
Location: Hot Tub, California
Distribution: Slackware 8.0
Posts: 7

Rep: Reputation: 0
SuSE - loading drivers at boot time


Hello:

I need to run an install script for a custom Xilinx linux parallel port driver during the boot process on a SuSE 9.0 system. When i put the "source /lib/modules/misc/install_windrvr6 windrvr6" line in boot.local, the screen and log show that the driver is loaded with success.

However, when I launch the Xilinx program and attempt to program an fpga, the drivers are not found by the main program.

If I install the same drivers manually AFTER booting, the program works fine. I think that by putting the driver install command in boot.load that it's happening too early in the boot sequence.

Does anyone know where I should put the driver load commands so that they execute later in the boot sequence - or how to do it? I've looked at insserv and the man pages but don't really understand it.

Thanks a lot.
 
Old 03-25-2004, 08:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Does anyone know where I should put the driver load commands so that they execute later in the boot sequence - or how to do it? I've looked at insserv and the man pages but don't really understand it."

boot.local is the last script in the boot sequence. I would look to see if there are any differences in the command that you have in boot.local and the command you enter manually.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-26-2004, 12:27 PM   #3
verminsky
LQ Newbie
 
Registered: Apr 2002
Location: Hot Tub, California
Distribution: Slackware 8.0
Posts: 7

Original Poster
Rep: Reputation: 0
Steve - thanks so much for your reply. If SuSE boot.local is the last one to run, something's really wrong. After boot.local runs on my box, all the networking, pcmcia, xdm, etc runs . On an old box I have Fedora running on, their rc.local indeed IS the last thing to run.

Do you know what gives here?

Thanks
 
Old 03-26-2004, 03:41 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"If SuSE boot.local is the last one to run, something's really wrong. After boot.local runs on my box, all the networking, pcmcia, xdm, etc runs . On an old box I have Fedora running on, their rc.local indeed IS the last thing to run."

I have two different thoughts about this.

1. Maybe SuSE is running startup scripts in parallel to speed up boot. So maybe boot.local is the last thing to start but not the last thing to finish. You could experiment with this idea by putting this command as the first command in boot.local:
sleep 10
I am not at a Linux box right now so I cannot check the sleep command against the man pages to make sure I have to time set to 10 seconds.

2. Maybe SuSE has changed things to where boot.local is no longer last. In that case figure out which script is last and pput your "source /lib/modules/misc/install_windrvr6 windrvr6" command as the last command in the last script.

-----------------------
Steve Stites
 
Old 03-31-2004, 05:21 AM   #5
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
Try putting it at the end of /etc/init.d/rc
 
  


Reply



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
Loading modules at boot time Musikolo Linux - Software 3 07-18-2004 11:29 AM
Loading a Module at boot time Nappa Fedora 8 04-14-2004 07:12 PM
Loading modules at boot time dancar Linux - Newbie 6 02-28-2004 06:00 PM
Loading module at boot time. fei Linux - General 1 02-27-2004 09:05 PM
Loading drivers at boot time Oraly Linux - Distributions 3 01-15-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration