[2822] in linux-scsi channel archive
Access problems with /dev/sr0
daemon@ATHENA.MIT.EDU (Dirk Foersterling)
Tue Nov 18 01:54:49 1997
Date: Tue, 18 Nov 1997 07:51:39 +0100
From: Dirk Foersterling <milliByte@DeathsDoor.com>
To: Linux SCSI list <linux-scsi@vger.rutgers.edu>
Reply-To: Dirk Foersterling <milliByte@DeathsDoor.com>
Hi, list readers...
[Please email me directly, because I'm not on the list due to technical
problems]
I experienced the following:
Script started on Tue Nov 18 07:45:46 1997
NOTE: umask now is 077
dirk@infinity:~ >ls -l /dev/sr0
brw-rw-rw- 1 root root 11, 0 Jun 4 1996 /dev/sr0
dirk@infinity:~ >scsiinfo -i /dev/sr0
ioctl(SCSI_IOCTL_SEND_COMMAND) status = -1
dirk@infinity:~ >exit
Script done on Tue Nov 18 07:45:58 1997
As root, I can run scsiinfo -i /dev/sr0 without any problem. What is my
mistake? What mode should the device file have to answer correctly to
INQUIRY commands? I tried another program that issues an INQUIRY
command, and as "dirk" it failed on /dev/sr0, but as "root" it worked.
how can I issue an INQUIRY command as "dirk" ?
I'm using Linux 2.0.31 without any patches or additional drivers. The
low-level SCSI driver is ncr53c8xx (825 chip).
-dirk
--
D i r k F "o r s t e r l i n g
milliByte@DeathsDoor.com - http://www.informatik.uni-frankfurt.de/~dirk
-------------
"Die 4-Stündige Klausur geht von 8:00Uhr bis 14:00Uhr" - R.K.