LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2004, 08:39 PM   #1
h_lina_k
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Rep: Reputation: 15
don't quite get linux and scsi


first of all how can i detect what drives have not been installed. to note i cannot view the boot sequence since i am working on a remote machine. i think answering this question might be all i really need to know.
i have been attempting to use modprobe to load the modules for a scsi drive, however two things confuse me. one is that sda through sdh show up in devices. does that mean that they are already being loaded in the kernel. second where do i go to find modules?
 
Old 02-03-2004, 08:47 PM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
The presence of files in /dev means absolutely nothing by itself. Nearly every entry in /dev is just a placeholder in case you happen to have that device.

You can view the boot messages using "dmesg"
 
Old 02-03-2004, 09:06 PM   #3
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
# lsmod

Do you see a module loaded for your scsi card?

# dmesg | grep sd

How many sdX devices do you see that the kernel detected. sda will be the first and they'll go up alphabetically from there.

# modprobe SCSICARDMODULENAME

If the module for your SCSI card isn't loaded. Then check with "dmesg" to see what devices are available.

# dmesg | more

Look for the lines in the vicinity of the lines having to do with the detection of sda and other devices to see what they are, etc...

If it's a hard drive:

# fdisk /dev/sda

To view the partitions on the drive which are /dev/sda1 /dev/sda2 etc...

Good luck
 
Old 02-03-2004, 09:41 PM   #4
h_lina_k
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Original Poster
Rep: Reputation: 15
none of that seemed to work. the kernel didn't detect any sda devices. do i need to reconfigure it so that it will? if so any good how-tos?
 
Old 02-03-2004, 09:56 PM   #5
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Can you be more clear on your setup? Is root on a scsi disk or ide? Do you have a PCI SCSI controller card, and if so, what make and model?

What is the current output of "cat /proc/scsi/scsi"?

lsmod; what are the output results as they relate to scsi?

Can you specify what type of scsi devices you have that aren't working right now?
 
Old 02-03-2004, 10:43 PM   #6
h_lina_k
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Original Poster
Rep: Reputation: 15
well the thing is i havent the foggist clue what scsi devices i have. all i know is that there are some sort of scsi hard drives connected to this server that arent showing up. the root is ide, definitely. lsmod gives me nothing scsi related. i believe there is a pci scsi controller - Adaptec AIC-7896U2/7897U2. i really just need to know how to find out whats connected, without physically looking at the machine.
 
Old 02-03-2004, 11:10 PM   #7
h_lina_k
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Original Poster
Rep: Reputation: 15
oh and proc/scsi/scsi doesn't exist
 
Old 02-04-2004, 03:34 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,400

Rep: Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654Reputation: 1654
Post the output of lspci.

Look at the output of dmesg and see if you have any messages relating to SCSI or Adaptec.

If that is the Adaptec controller installed then try:
modprobe aic7xxx
 
Old 02-04-2004, 04:32 AM   #9
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
If /proc/scsi/scsi doesn't exist, it's a good sign you have a kernel with no scsi support.

Get one, and make sure it has the driver michaelk says (aic7xxx). Like he says, it's the one you need.
 
  


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
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 SUSE / openSUSE 5 02-22-2005 02:06 PM
How can I access my scsi hdd from dev/scsi/host1/bus0/target0/lun0 ?? marius7sv Linux - Hardware 0 09-06-2004 10:40 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM


All times are GMT -5. The time now is 02:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration