LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-04-2010, 01:22 PM   #1
alexneil
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
SQUEEZE: cat: /proc/scsi/scsi: No such file or directory


I tried googling and searching the forums but I can seem to find an answer.

When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory"

I've tried this on two different installs on two different machines.

Any help would be appreciated.

Alex
 
Old 05-04-2010, 02:07 PM   #2
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
Well I would say it means you do not have any recognized scsi devices....what exactly are you trying to do?

If you just need general information "No such file or directory" means the file you are trying to either execute with a command or use in a command does not exist.

Please post with more information on what exaclty you are trying to achieve.
 
Old 05-04-2010, 02:42 PM   #3
alexneil
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I'm looking for the 'Host: scsiX' and the 'id: XX' in particular. I'm building a duper station using a specific software created by TiVo. What i'm trying to configure in particular is a .rules files in "/etc/udev/rules.d"

#Host: scsi0 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi1 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi3 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi4 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: WDC WD3200AVJS-6 Rev: 12.0
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi4 Channel: 00 Id: 01 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access
#MASTER ANSI SCSI revision: 05
#Host: scsi5 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: WDC WD5000AVVS-6 Rev: 01.0
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi5 Channel: 00 Id: 01 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi6 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05
#Host: scsi7 Channel: 00 Id: 00 Lun: 00
# Vendor: ATA Model: ST3500312CS Rev: SC13
# Type: Direct-Access ANSI SCSI revision: 05

The acutal .rules files looks like this

KERNEL=="sd[a-z]", BUS=="scsi", ID=="5:0:0:0", SYMLINK="satamaster"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="4:0:1:0", SYMLINK="satatarget0"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="0:0:0:0", SYMLINK="satatarget1"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="1:0:0:0", SYMLINK="satatarget2"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="3:0:0:0", SYMLINK="satatarget3"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="5:0:1:0", SYMLINK="satatarget4"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="6:0:0:0", SYMLINK="satatarget5"
KERNEL=="sd[a-z]", BUS=="scsi", ID=="7:0:0:0", SYMLINK="satatarget6"

Last edited by alexneil; 05-04-2010 at 02:43 PM.
 
Old 05-04-2010, 02:46 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,114

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
' /proc/ ' contains virtual files.
If you have no scsi or SATA, then no /proc/scsi/
or /proc/scsi/scsi

The command : cat /proc/s<TAB>
.. will show if anything at all "s....."
..
 
Old 05-04-2010, 02:49 PM   #5
alexneil
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I have 9 SATA drives hooked up and it doesnt show anything. Shows up fine in Ubuntu 10 and Fedora 12 but TiVo requires the use of Debian (i have no idea why)
 
Old 05-04-2010, 02:53 PM   #6
alexneil
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry for the double post.

When I looked in the kernal config file I found this:

# SCSI device support
#
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=m
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=m
CONFIG_SCSI_NETLINK=y
# CONFIG_SCSI_PROC_FS is not set


would "# CONFIG_SCSI_PROC_FS is not set" have anything to do with my issue? If so how to enable this feature.
 
  


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
LTO-2 tape devices not showing up in /proc/scsi/scsi file datastor Red Hat 0 03-16-2009 06:11 PM
CDROM found in /proc/scsi/scsi but no /dev entry. Trying to make livecd. simonb Linux - Hardware 1 11-29-2008 05:05 AM
reformat output of cat /proc/scsi/scsi khairil Programming 2 01-13-2008 02:50 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 03:28 PM
Error editing /proc/scsi scsi file Thaidog Linux - Newbie 2 08-26-2004 09:19 AM


All times are GMT -5. The time now is 07:03 AM.

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