LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2003, 02:14 PM   #1
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Rep: Reputation: 0
Talking Trouble deciding course of action!


Hello,

I am running Slackware 8.1, and someone gave me an AHA2940 SCSI controller and a 9Gb SCSI drive. I have physically installed it and I am able to enter the SCSI BIOS. I assume I have installed it correctly.

My challenge is finding out what I should do next to get Slackware to recognize my drive. When I enter cfdisk, my new hard drive is nowhere to be seen.

I've also tried mounting all sda[x] drives, unsuccesfully.

I looked for drivers to install, and I couldn't find any except for something called aicxxxx and a scsi.gz file. I umcompressed the scsi.gz file and ended up with a scsi.h, and a scsi.c.

I think the next step is to recompile the kernel, which I have never done. I've compiled other things such as the new apache server and such... but I suspect this is different since I must include the drivers for the scsi card.

Or, perhaps there are prepackaged drivers for SCSI, or Slackware already comes with support for my SCSI controller. Unfortunately when I looked at the drivers that were included with the package I did not find mine. I also went to the adaptec site and found Unixware drivers, but no Slackware or plain linux drivers.

If anyone can help me I'd really appreciate it. Also, my card may be 2490 as opposed to 2940. Yet my question remains the same, should I be able to find drivers, or will I need to compile, and how do I do so?

Thanks,

Robert.
 
Old 03-13-2003, 03:48 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try the command "modprobe aic7xxx"

If no errors are reported then try "dmesg"
I think it sould report at the very end what it scaned from the SCSI bus.

You should then be able to "cfdisk /dev/sda" as desired.
 
Old 03-14-2003, 11:47 PM   #3
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Awesome!

That was the perfect solution, and it worked immediately.

Thanks!

Now, to get my computer to mount it everytime, I need to modify my /etc/fstab correct?

and one more.

How do I get lilo to dual boot with Slackware on the primary partition and FreeBSD on the SCSI partition?

liloconfig doesn't give me the option of adding a boot partition from sda.

Without dual boot, I am stuck having to use bootdisks for FreeBSD or worse, changing the boot disk on my BIOS setup everytime I want to use a different disk.

(Some people may ask why I want both Slackware and FreeBSD on the same computer... the answer is that I want to learn both, and to understand what is so great about ports.)

So far I like Slackware much better since it is what I started out with.

Robert.
 
Old 03-15-2003, 06:42 AM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I would think that a line in the fstab for mounting the disk partition would be correct provided the module has been loaded. I reviewed the rc.S script and it appears that the mount command is performed prior to calling the rc.modules file. Simply duplicate one of the lines in the /etc/fstab to mount it on the mount point desired. It is still a good idea to have it there. You will find a modprobe command for the aic7xxx module in the /etc/rc.d/rc.modules file. Simply remove the hash in front of the command to enable it. But I would suggest adding a line to the /etc/rc.d/rc.local file to mount the partition.

For your second question. Add another section to your /etc/lilo.conf file something like below. Since you described the disk as being bootable through the BIOS perhaps the easiest would be to handle it like a DOS partition.

other = /dev/sda1 (or /dev/sda)
label = FreeBSD

You will also need to make sure you have "delay = 50" type of statement to allow time for you to select the desired OS. After you modify the file, you will need to run "lilo" to write the new boot record. I think the SCSI module will need to be loaded in order for lilo to determine the drive number assignments so it will understand the device sda. If it doesn't work then post back. Somebody else might know more about booting FreeBSD on a different disk using lilo.
 
Old 03-15-2003, 10:17 AM   #5
deezee
LQ Newbie
 
Registered: Mar 2003
Location: Philly
Distribution: Slackware 9.1
Posts: 6

Rep: Reputation: 0
maybe you could add the line into your /etc/rc.local to mount it?

mount /dev/sda /mntpoint

rc.local is the last thing that's run, so the modules would definately be loaded by then.. its not fstab, but it gets the job done
 
  


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
Deciding which one to install djgerbavore *BSD 3 08-04-2005 05:52 PM
Help on deciding distribution Thebinaryman Linux - Newbie 8 06-26-2005 07:09 AM
I need help on deciding kare13 Linux - Newbie 2 07-25-2004 11:01 AM
I really need help deciding on something? rodeoclown General 8 06-08-2004 01:04 PM
having trouble deciding what tv tuner to get timberwolf5480 Linux - General 1 12-25-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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