LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 01: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, 01: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 01:43 PM.
 
Old 05-04-2010, 01:46 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
' /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, 01: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, 01: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



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 05:11 PM
CDROM found in /proc/scsi/scsi but no /dev entry. Trying to make livecd. simonb Linux - Hardware 1 11-29-2008 04:05 AM
reformat output of cat /proc/scsi/scsi khairil Programming 2 01-13-2008 01: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 02:28 PM
Error editing /proc/scsi scsi file Thaidog Linux - Newbie 2 08-26-2004 08:19 AM

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

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration