LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-12-2005, 11:08 AM   #1
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Rep: Reputation: 30
My scsi drives have disappeared


I recently installed Kanotix on my pc. Before that I had Debian Sarge installed.

I have 4 ide devices (3 harddrives, 1 dvd) and 2 scsi devices (1 harddrive, 1 cd) in the pc. When I boot, it appears that the bios does recognise the scsi drives but once logged in, I cannot see them or access them. I've changed my fstab to look like it did under Sarge, but that hasn't helped.

Can anybody point me in the right direction? What other info can I post to help solve this?

Thanks
Joe
 
Old 03-12-2005, 11:27 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
what is the output of df and cfdisk (use as root).
 
Old 03-12-2005, 12:37 PM   #3
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
df:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 6000004 3857056 2142948 65% /
tmpfs 257388 0 257388 0% /dev/shm
/dev/hda5 10000116 4366796 5633320 44% /mnt/hda5
/dev/hda6 10000072 1284972 8715100 13% /mnt/hda6
/dev/hda7 10000072 1670240 8329832 17% /mnt/hda7
/dev/hda8 81214092 63785300 17428792 79% /mnt/hda8
/dev/hdd1 58611324 44722900 13888424 77% /mnt/hdd1
/dev/hdd2 58603324 47341276 11262048 81% /mnt/hdd2
/dev/hdc1 78137704 50712644 27425060 65% /mnt/hdc1
/dev/hdc2 78145768 31481284 46664484 41% /mnt/hdc2


cfdisk (without any parameters):

Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------------------------------------------
hda1 Boot Primary Linux ReiserFS 6144.29
hda5 Logical Linux ReiserFS 10240.48
hda6 Logical Linux ReiserFS 10240.48
hda7 Logical Linux ReiserFS 10240.48
hda8 Logical Linux ReiserFS 83165.81

Hope that helps.
 
Old 03-12-2005, 03:16 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
What is the make / model of SCSI adapter installed in this PC?
Check the output of dmesg command to see if Kanotix is recognizing the SCSI controller.
What is the ouput of command lspci with respect to the SCSI controller?
 
Old 03-13-2005, 05:45 AM   #5
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
The SCSI adapter is Adaptec AHA-2940U2W

dmesg:

salt@andelain:~$ dmesg | grep scsi
ide-cd: passing drive hdb to ide-scsi emulation.
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
scsi1 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
scsi2 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0

lspci:

salt@andelain:~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:0d.0 Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller]
0000:00:0f.0 SCSI storage controller: Adaptec AHA-2940U2/U2W
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4)
 
Old 03-13-2005, 09:31 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
It does not look like the SCSI controller module is being loaded.
Look at the output of the command lsmod for the module aic7xxx.

If not present try loading it using the command:
modprobe aic7xxx
 
Old 03-13-2005, 02:12 PM   #7
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
Thanks michaelk. I used modconf to load aic7xxx_old and can now access my scsi cdrom.

However, I still can't access my scsi harddrive. I've got the following line in my fstab (copied from my previous installation's fstab):

/dev/sda2 /xtra1 reiserfs defaults 0 0

When I try to mount it, it says: mount: No medium found

The output from dmesg now looks like this:

ide-cd: passing drive hdb to ide-scsi emulation.
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
scsi1 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
(scsi2) <Adaptec AHA-294X Ultra2 SCSI host adapter> found at PCI 0/15/0
(scsi2) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi2) Downloading sequencer code...<6>usb 1-1: new full speed USB device using address 3
scsi3 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi3, channel 0, id 0, lun 0, type 0
scsi2 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
(scsi2:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 16.
sr1: scsi3-mmc drive: 17x/40x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr1 at scsi2, channel 0, id 5, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 5, lun 0, type 5


When I try fdisk /dev/sda, it says: Unable to open /dev/sda

Same story for sdb, sdc, etc.
 
Old 03-13-2005, 04:33 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
Check the output of lsmod for the module sd_mod. If not use modprobe to install.
 
Old 03-14-2005, 10:34 AM   #9
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
Ok, lsmod shows that sd_mod is not installed. However, when I try modprobe, it says that it can't find the module. I've tried modconf & sd_mod ain't there either.

How & where can I get this module?

Thanks
Joe
 
Old 03-22-2005, 03:05 PM   #10
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
Unsatisfactory solution: I reinstalled Knoppix with a 2.4 kernel, instead of a 2.6 kernel.

Thanks to all who gave advice.
 
  


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
Problem: SCSi CD drive disappeared during installation RickWortelboer Debian 3 05-27-2005 04:45 PM
Testing scsi drives hari_seldon99 Linux - Hardware 1 12-04-2004 05:17 PM
SCSI drives 4steve44 Linux - Hardware 7 10-26-2004 12:35 AM
How to get 2 SCSI drives working st the same time? DJ Platano Linux - Hardware 4 03-13-2004 08:34 PM
Links to CD-ROM drives disappeared from desktop bitpicker Linux - Newbie 3 09-02-2003 07:02 AM


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