LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 11-08-2007, 01:44 AM   #1
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
Urgent


HI
I follow this article to load the driver and it works fine.Using
lsmod command it can be seen with name ftsata2
but after booting system this module does not exist and i have to install it again and again...
please help me how can it be permenantly stay in module list. i am using RH Enterprise3 with kernel 2.6.9.

How to make driver for FastTrak & load it?

1.) Please ensure cc, the source compiler , version is above 3 by issuing Linux command :
# gcc -v
2.) Please ensure linux kernel source directory is "/usr/src/linux".
For SuSE EL9 platform, it always release its kernel source in /usr/src/linux-2.6.7-97.
Please make a link to the appropriate directory, for example:
# ln -s /usr/src/linux-2.6.7-97 /usr/src/linux

For RHEL4 platform, it always release its kernel source in /usr/src/kernels/2.6.9-5.EL.??? which ??? means various kernel images.

3.) Setup Kernel Compile Environment
For SuSE EL9, SuSE 10:
# cd /usr/src/linux/
# make mrproper
# cp arch/$(ARCH)/defconfig.??? .config
# Execute 'make' for a while about 5 sec. and then stop its execution. (Avoid below make menuconfig fail...)
# Execute 'make menuconfig' & exit with configuration save.
# Execute 'make' for a while about 10 sec. and then stop its execution.

For RHEL4:
DO NOTHING.

[1]. $(ARCH) means architecture, which is i386 or x86_64.
[2]. ??? is options to make choose, default, smp and bigmem, depend on your booting image.

4.) Check /lib/modules/$(UTS_RELEASE)/build directy was linked properly to /usr/src/linux.
UTS_RELEASE is the current version of your booting image. You can get it by issuing Linux command :
#uname -r

5.) Goto directory where the PROMISE driver source was located.

5.) Issue Linux command to make FastTrak driver: ftsata2.o
#make clean
#make or #make all

6.) Load PROMISE driver
# modprobe -a sd_mod
# insmod ftsata2.ko or # insmod ftsata2.o

7.) You can copy this module to /lib/modules/$(UTS_VERSION)/kernel/drivers/scsi/ for automatic load when boot system.

Waiting 4 reply
 
Old 11-08-2007, 04:59 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Urgent
... sure, but if you put what was urgent in the title, you'd get faster attention.

Quote:
I follow this article to load the driver and it works fine.
What article? Where? You mean... the instructions quoted below this?

FastTrak... you have a Promise, fake-HW raid controller huh? Better you don't use it in favour of linux software RAID (if you must have RAID). Software RAID is usually faster anyway.

# modprobe -a sd_mod
... just the modprobe should be sufficient.

The hack is to add the modprobe command to the bottom of /etc/rc.local ... then it will load on boot each time. BTW: you didn't need to build the module every time, just modprobe it.

Quote:
7.) You can copy this module to /lib/modules/$(UTS_VERSION)/kernel/drivers/scsi/ for automatic load when boot system.
... what happened in this step?
 
Old 11-08-2007, 07:02 AM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,123

Rep: Reputation: 262Reputation: 262Reputation: 262
I got here as fast as I could.

Sorry, can't help you, don't have a clue.

(waiting, with bated breath, for next thread entitled "Urgent")

cheers,
 
  


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent sravanth.svk Linux - Security 2 05-01-2006 11:07 PM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 10:19 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

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

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