LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2006, 03:24 PM   #1
otisthegbs
Member
 
Registered: May 2003
Location: Vancouver
Distribution: RH9
Posts: 100

Rep: Reputation: 15
Wrong module loading on boot


I'm running fedora core 5 and currently it's loading the ata_piix module for my sata controller. This module is causing the machine to lock up and so I need to load the ahci module instead. Both modules depend on the libata module.

In /etc/modprobe.conf i've set
"alias scsi_hostadapter" from ata_piix to ahci

I've also enter
install scsi_hostadapter /sbin/modprobe ahci
and
remove ata_piix /sbin/modprobe -r ata_piix

but it still boots with ata_piix loaded and not ahci.

Why?
 
Old 09-19-2006, 03:57 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Try adding:
Code:
blacklist ata_piix
to your /etc/modprobe.conf.
 
Old 09-20-2006, 12:44 PM   #3
otisthegbs
Member
 
Registered: May 2003
Location: Vancouver
Distribution: RH9
Posts: 100

Original Poster
Rep: Reputation: 15
I did what you said but still nothing, I also added

blacklist ata_piix

to

/etc/modprobe.d/blacklist

anymore ideas?
 
Old 09-20-2006, 01:20 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Aha, didn't know if fedora had a separate blacklist file. If it has one, best to put it in there.

I really should collect virtual machines of all major distros before I reply

Perhaps this module is required by another. Doing lsmod will show deps, e.g. I have a line in my lsmod output:
Code:
snd_ac97_codec         93216  1 snd_intel8x0
Which shows that the snd_ac87_codec is dependent on snd_intex8x0. Do lsmod and grrep for ata_piix:
Code:
$ lsmod |grep -i ata_piix
and see if it is being loaded as a dependency. blacklist anything which depends on this module too. I'm not sure how the blacklisting works, but maybe it still loads modules indirectly. Can anyone clarify this?
 
  


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 module on boot brazilian_user Linux - General 1 08-28-2006 10:33 PM
loading wrong ethernet card at boot holdenrj Linux - Wireless Networking 3 07-16-2005 02:19 AM
module loading at boot vasco1984 Linux - General 4 05-11-2004 06:39 AM
loading the wrong FS during boot edwardOG Linux - Newbie 12 05-06-2004 09:48 PM
Module not loading at boot sbadelt Linux - Hardware 2 12-18-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:16 AM.

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