Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 19:36:43 +0200
From:      Paul van Berlo <paul@il.fontys.nl>
To:        freebsd-scsi@freebsd.org
Subject:   cdrecord and SCSI cd-rw drive
Message-ID:  <20001027193643.D22437@il.fontys.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I know this topic was prolly already discussed but I can't find
the answer to my question in the list-archives. I have the following
problem. I installed FreeBSD 4.1.1 and compiled cdrecord 1.9
from the ports collection. So far it's all good. However, when I want
to burn a cd or even run cdrecord -scanbus it gives me an error. Below
are the relevant outputs from various commands. This is a 'stock'
system and I didn't change anything, I did however recompile the
kernel with pass* support in it (basically just edited the GENERIC
conf file and removed some network cards etc). I'm hoping someone can
help me.

[.. dmesg ..]
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xb800-0xb8ff mem 0xdf000000-0xdf000fff irq 10 at device 11.0 on pci0
aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS IV 9 WLS 0B0B> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
da0: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C)
cd0 at ahc0 bus 0 target 1 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1.11> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
cd1 at ahc0 bus 0 target 3 lun 0
cd1: <PLEXTOR CD-R   PX-W124TS 1.06> Removable CD-ROM SCSI-2 device 
cd1: 20.000MB/s transfers (20.000MHz, offset 8)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed


[.. 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.

--Paul


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?20001027193643.D22437>