LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-21-2006, 04:35 AM   #1
sutch51
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Question How do I get aic7xx to start at boot time?


Hi All,

I'm new to this site - so hello & more power to your mouse.
I'm running kernel version 2.4.20-8
At the moment I have to manually do:

modprobe aic7xxx

after reboot so that I can access my scsi DAT drive (without the 'modprobe' anything trying to use /dev/st0 just gets 'no such device or address'). From other threads I think it should be possible to get aic7xx loaded automatically on boot, but can't seem to make it work.

Here's my modules.conf:

alias eth0 e1000
alias eth1 e100
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias scsi_hostadapter aic7xxx

Here's the output from 'lsmod' after boot but before 'modprobe aic7xxx':

Module Size Used by Tainted: PF
i830 74336 1
agpgart 47776 12 (autoclean)
vmnet 25000 8
vmmon 41644 5
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
nfsd 80176 8 (autoclean)
lockd 58704 1 (autoclean) [nfsd]
sunrpc 81564 1 (autoclean) [nfsd lockd]
autofs 13268 0 (autoclean) (unused)
e100 60644 1
e1000 50604 0 (unused)
sg 36524 0 (autoclean)
sr_mod 18136 2 (autoclean)
ide-scsi 12208 1
scsi_mod 107160 3 [sg sr_mod ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [sr_mod ide-cd]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
ehci-hcd 19976 0 (unused)
usbcore 78784 1 [hid usb-uhci ehci-hcd]
ext3 70784 2
jbd 51892 2 [ext3]

Why no 'aic7xxx'? Have I got it wrong in 'modules.conf'?

Here's the output from 'lsmod' after 'modprobe aic7xxx':

aic7xxx 141300 0
st 31248 0 (autoclean)
i830 74336 1
agpgart 47776 12 (autoclean)
vmnet 25000 8
vmmon 41644 5
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
nfsd 80176 8 (autoclean)
lockd 58704 1 (autoclean) [nfsd]
sunrpc 81564 1 (autoclean) [nfsd lockd]
autofs 13268 0 (autoclean) (unused)
e100 60644 1
e1000 50604 0 (unused)
sg 36524 0 (autoclean)
sr_mod 18136 2 (autoclean)
ide-scsi 12208 1
scsi_mod 107160 5 [aic7xxx st sg sr_mod ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [sr_mod ide-cd]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
ehci-hcd 19976 0 (unused)
usbcore 78784 1 [hid usb-uhci ehci-hcd]
ext3 70784 2
jbd 51892 2 [ext3]

I see an 'st' entry has magically appeared as well as 'aic7xx' and I can now use /dev/st0 ok.

Any ideas anyone?
 
Old 03-21-2006, 08:56 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Add the modprobe command to your /etc/rc.d/rc.local script, example below;

/sbin/modprobe aic7xxx


FYI: your kernel is really, really old, this was one of two orginal released kernels for Red Hat Linux 9 (which is out of date now). As a suggestion at least bring your system current. Visit http://www.fedoralegacy.org/ and learn how to download/install and use apt and/or yum.
 
Old 03-21-2006, 11:52 AM   #3
sutch51
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Lenard,

I edited the 'rc.local' script as you suggested & st0 is now available immediately after boot.

I thought that 'module.conf' was supposed to enable this sort of stuff to be done without editing the 'rc' scripts.
Obviously, I'm wrong & this is just another item on my, almost infinite, list of things I don't understand.

Re: ancient kernel - yes it is - but I have to support users who don't or won't update their systems and I'm nervous about getting ahead of them in case something doesn't work when I ship them an update to my software.

If I were to update which do you think best: 'apt' or 'yum'?
 
Old 03-21-2006, 04:05 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Most prefer yum, I have used both and currently use yum. Nothing wrong with apt in a single mode environment, but I'm dual mode now and yum works better for this environment.

Dual mode == both 32-bit and 64-bit applications installed.
 
Old 03-22-2006, 02:46 AM   #5
sutch51
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
yum it shall be then!

Over & Out
 
  


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
Application that start at boot time Panagiotis_IOA Slackware 5 02-14-2006 03:42 PM
Start Apache at boot-time alexthedon Linux - Networking 1 06-26-2005 04:59 PM
Start VNC at boot time hlpboplz Linux - Newbie 13 05-25-2005 04:55 PM
Start a program at boot time cppkid Programming 3 08-31-2004 10:33 AM
start the service for every boot time yuva_mca Linux - General 3 03-09-2004 02:18 PM

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

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