LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Closed Thread
  Search this Thread
Old 11-02-2006, 11:04 AM   #1
Ohesceayar
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
How to load a driver before libata


I have written a driver that needs to use I/O port 0x170. Note that this is the secondary ide port. The computers this goes on will use sata for hard drive therefore libata/ata_piix loads and controls all things hard drive.

Using suse 10.0. (2.6.13-15.8) I have tried various approaches to load prior to libata:

-in /etc/modprobe.conf I placed "install mydriver..." in front of "install ata_piix..." then ran depmod -a

-Manually edited /lib/modules/2.6.../modules.dep placing driver high up, as an experiment.

dmesg shows that libata loads first and takes the port.

Is there a way to either ensure that I load before libata/ata_piix or else ask it to leave a range of ports alone?
 
Old 11-02-2006, 06:57 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please continue here
 
  


Closed Thread



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
error libata stomach Linux - Hardware 2 02-25-2006 10:34 PM
Libata. How do I get it going??! GingerPrince Fedora 4 12-06-2005 10:26 AM
Libata. How do I get it going??! GingerPrince Linux - Software 1 12-06-2005 09:56 AM
libata.h 2.6.14 yazdzik Linux - General 0 12-04-2005 03:04 PM
libata with 2.4.29 sbhodge Red Hat 0 03-07-2005 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:42 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