Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can i change the compiled in drivers startup order
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
piavlo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 141

PostPosted: Thu Nov 22, 2007 4:17 pm    Post subject: How can i change the compiled in drivers startup order Reply with quote

Hi, if i have 2 disk drivers both compiled into kernel how can make sure that
one driver gets started before the other?

Thanks
Alex
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Nov 22, 2007 10:40 pm    Post subject: Reply with quote

I think, there is no way.
Normally, you don't need two compiled in drivers. Have you though about making one as module and loading it at boottime?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Nov 22, 2007 11:15 pm    Post subject: Reply with quote

You can change the order that the devices get probed by the kernel, and it is not too difficult.

Take a look at this thread :
Fibre Channel controller upstaging Sata controller [solved]
Back to top
View user's profile Send private message
piavlo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 141

PostPosted: Thu Nov 22, 2007 11:55 pm    Post subject: Reply with quote

feivelda wrote:
Have you though about making one as module and loading it at boottime?

I did this already before i posted the question and it woks ok, but i was just wondering if there is
a non hacky way to do this, like some kernel argumets what can be passed.
cyrillic wrote:
Take a look at this thread :
Fibre Channel controller upstaging Sata controller

I've also thought about changing the compile order in the makefile, but this is really ugly.
The solution proposed by feivelda is much better.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Nov 23, 2007 2:03 am    Post subject: Reply with quote

piavlo wrote:
i was just wondering if there is a non hacky way to do this ...

Sorry, I can't help you if you are looking for a non hacky solution. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum