LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 02-03-2004, 09:32 PM   #1
KoldFusion
LQ Newbie
 
Registered: Feb 2004
Location: Maine
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Promise FT376 SATA Controler on Slack9.1


ok, I have an MSI KT4 Ultra-SR with a Promise Fasttrack 376 Serial ATA controler onboard. I managed to find a "dirty" module that seems to work well enough with it. I was able to put the module onto a floppy and load it into memory ok when I am installing slackware. I copy it to /lib/modules/2.4.22/kernel/drivers/scsi and edit the rc.modules file to try to load the module with no luck. I have also tried several other options with out luck either. How would I load this driver so I can boot my system? Any help would be really greatly appreciated! Thanks!
 
Old 02-04-2004, 07:11 AM   #2
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
You'll have to make your own initrd (INItial RamDisk). This file contains a virtual filesystem and a script called linuxrc which loads all the requiered modules for booting. I have a Promise 20276 ATA Raid controller and faced exactly the same problem as you and the solution proposed solved all my problems. Unfortunatelly, Slackware unlike other distros doesn't contain a mkinitrd script and you have to do this by yourself. Look at the kernel documentation for details or give an e-mail and I'll send you mine . All you have to do to make it work is to replace my module with yours and modify the corresponding line in linuxrc (eg instead of insmod FastTrak.o write insmod SerialATA.o).
 
Old 02-04-2004, 06:29 PM   #3
KoldFusion
LQ Newbie
 
Registered: Feb 2004
Location: Maine
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Hey, Thanks for the advice. I tried to mount the initrd file by inputing "mount -o loop /dev/initrd /data" after creating a folder called dada so that I would be able to alter the files on the initrd image. Every time I did so, I would get "no such device" error. If you could just point me in the correct direction I would be very greatful. Again, thanks for the help
 
Old 02-05-2004, 07:59 AM   #4
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
Which is the file system of your initrd ? Is it ext2 ? Mine is ext2 so I give the command "mount -t ext2 -o loop /path-to-initrd/initrd /path-to-mount-point".
 
Old 02-05-2004, 10:26 AM   #5
id10t
Member
 
Registered: Dec 2003
Location: Minnesota
Distribution: Slackware 9.1
Posts: 63

Rep: Reputation: 15
I'm having the same problem with my Promise 376 onboard controller. I got the driver working on installation but don't know how to get the thing to use the driver when I boot. But anway, above I saw "initrd" being in /dev/inird, and I could have sworn I saw this in the /etc folder... but I guess that may have been a config file.

Jojof.K-- I sent you an email about that script and never got a reply... Just wondering if the one you have inyour profile at LQ was what you meant.

One more question... Would putting the driver in /lib/modules/2.4.22/kernel/drivers/scsi be the standard way of solving this problem? Because I have yet to try that.

Thanks
 
Old 02-05-2004, 01:57 PM   #6
KoldFusion
LQ Newbie
 
Registered: Feb 2004
Location: Maine
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Hey id10t, Thats what I tried initally, with no success. I think the way jojef.k sudjested is probably the only way. Oh, the file in /etc you are probably thinking of is inittab. This controls a few startup related items but is not what we are looking for.

Last edited by KoldFusion; 02-05-2004 at 04:12 PM.
 
Old 02-05-2004, 05:15 PM   #7
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
id10t, I guess you've sent the email to my hotmail account which I don't check regularly (I get a lot of chunk over there). Check your email now .

Last edited by Jojef.K; 02-05-2004 at 05:17 PM.
 
Old 02-05-2004, 06:39 PM   #8
id10t
Member
 
Registered: Dec 2003
Location: Minnesota
Distribution: Slackware 9.1
Posts: 63

Rep: Reputation: 15
OK booting of a boot disk... followed your instrution... Got the driver in and the harddrive mounted to /sda I made sure I made all of the changes to the hard drive on /sda and not my boot disk.

The problem is when I get to the end. I am trying to run lilo. so I cd to /sda/sbin/ and type
./lilo
and it can't find the lilo.conf. No problem:
./lilo -C /sda/etc/lilo.conf
then I get
"Fatal: creat /boot/boot.0810 No such file or directory"

Is there another switch for lilo that I need to throw in there?

EDIT: And I forgot to say how much I appreciate the help. I have so many people giving me trouble over this server being down (Runs a Counter-Strike server for the school)

Last edited by id10t; 02-05-2004 at 07:29 PM.
 
Old 02-05-2004, 07:51 PM   #9
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
That's a problem I encountered too but I can't give a "clean" solution to this. I happen to have a Suse 8.2 dvd and I booted into Slackware using it! From there I normally ran lilo and voila! Slackware booted ever since. Maybe some more experienced guy could give us an answer to this (hey, I am not a connoisseur either ) ?
 
Old 02-05-2004, 11:40 PM   #10
KoldFusion
LQ Newbie
 
Registered: Feb 2004
Location: Maine
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
ok, this is where I stand. I have attempted to mount the initrd file using every possible combination I could think of. I am on an ext3 so I typed in (after chrooting into where I had the drive mounted) mount -t ext3 -o loop /dev/initrd /mnt. no luck. tried ext2 and ext and a verity of other file system options. Still gives me the same error that /dev/initrd cannot be found. I did some research on it and found some information that is rather usefull if I were doing just about anything else. Any way... enough of my mad ramblings, do you know of any other way I can go about altering this file?
 
Old 02-06-2004, 07:31 AM   #11
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
Usually initrd is compressed with gzip. Have you tried to uncompress it and then mount it ?
 
Old 02-06-2004, 08:57 PM   #12
KoldFusion
LQ Newbie
 
Registered: Feb 2004
Location: Maine
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
It says it isin't a regular file. Where is initrd stored on your computer? Mabe I am at the wrong location...
 
Old 02-06-2004, 09:29 PM   #13
id10t
Member
 
Registered: Dec 2003
Location: Minnesota
Distribution: Slackware 9.1
Posts: 63

Rep: Reputation: 15
It worked! Booted into Slack 9.1 runnng happy. If you want my initrd file, email at ahalfake@css.edu You can jusrt copy that file into your /boot folder and run lilo.
 
Old 02-07-2004, 02:07 PM   #14
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
id10t , how did you manage to run lilo after all ?
 
Old 02-08-2004, 12:25 AM   #15
id10t
Member
 
Registered: Dec 2003
Location: Minnesota
Distribution: Slackware 9.1
Posts: 63

Rep: Reputation: 15
/<mounted HD>/sbin/lilo -r /<mounted HD/

If oyu want the exact oen I used, it was.

/sda/sbin/lilo -r /sda/



Thank you for all of your help. I am so greatful.
 
  


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
sata controler card citrus Linux - Hardware 2 06-29-2005 06:54 PM
Silicon Image Sli 3112 SATA controler Kernel 2.6 KoldFusion Slackware 0 01-16-2005 12:44 PM
promise sata raid help ganja_guru Linux - Hardware 5 10-18-2004 08:20 PM
Has anybody got problems using an Intel SRCS14L SATA controler (gdth)? Jar Linux - Hardware 2 09-15-2004 06:49 PM
Promise Sata ciscorubs Linux - Hardware 3 01-02-2004 08:17 AM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration