Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 14:28:15 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Paul van Berlo <paul@il.fontys.nl>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: cdrecord and SCSI cd-rw drive
Message-ID:  <20001027142815.A25164@panzer.kdm.org>
In-Reply-To: <20001027193643.D22437@il.fontys.nl>; from paul@il.fontys.nl on Fri, Oct 27, 2000 at 07:36:43PM %2B0200
References:  <20001027193643.D22437@il.fontys.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 27, 2000 at 19:36:43 +0200, Paul van Berlo wrote:
> [.. ls -l /dev/pass* ..]
> crw-rw-rw-  1 root  operator   31,   0 Oct 27 16:51 pass0
> crw-rw-rw-  1 root  operator   31,   1 Oct 27 16:51 pass1
> crw-rw-rw-  1 root  operator   31,   2 Oct 27 16:51 pass2
> crw-rw-rw-  1 root  operator   31,   3 Oct 27 16:51 pass3
> 
> 
> [.. ls -l /dev/xpt* ..]
> crw-rw-rw-  1 root  operator  104,   0 Oct 27 16:51 xpt0
> crw-rw-rw-  1 root  operator  104,   1 Oct 27 16:51 xpt1
> 
> 
> [.. cdrecord -scanbus ..]
> defiant# cdrecord -scanbus
> Cdrecord 1.9 (i386-unknown-freebsd4.1.1) Copyright (C) 1995-2000 Jörg Schilling
> cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error 'cam_real_open_device: couldn't open passthr. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
> 
> 
> [.. camcontrol devlist ..]
> <QUANTUM ATLAS IV 9 WLS 0B0B>      at scbus0 target 0 lun 0 (pass0,da0)
> <PLEXTOR CD-ROM PX-40TS 1.11>      at scbus0 target 1 lun 0 (pass1,cd0)
> <PLEXTOR CD-R   PX-W124TS 1.06>    at scbus0 target 3 lun 0 (pass2,cd1)
> 
> 
> [.. camcontrol tur cd1 -v ..]
> defiant# camcontrol tur cd1 -v 
> camcontrol: cam_real_open_device: couldn't open passthrough device /dev/pass2
> cam_real_open_device: Operation not permitted
> 
> 
> I hope that's enough info to solve this somehow. Thanks in advance.

Your securelevel is probably set to 2 or more.  Check it like this:

sysctl kern.securelevel

For security reasons (since you can use it to format disks, etc.) you can't
open the pass device when the securelevel is greater than 1.

Ken
-- 
Kenneth Merry
ken@kdm.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001027142815.A25164>