Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2004 08:30:46 +0100
From:      =?ISO-8859-2?Q?Zahemszky_G=E1bor?= <Gabor@Zahemszky.HU>
To:        freebsd-stable@freebsd.org
Subject:   Re: cdrecord cannot see DVD-RW with ATAPICAM
Message-ID:  <41C3DCA6.5050908@Zahemszky.HU>

next in thread | raw e-mail | index | archive | help
Peter Radcliffe wrote:

 > Zahemszky G=E1bor <Gabor@Zahemszky.HU> probably said:
 > > <TSSTcorp CD/DVDW TS-H552B TS05>   at scbus2 target 0 lun 0 (cd1,pas=
s3)
 >
 > > Can somebody help me to find the reason of this special error?
 >
 > Have you checked that /dev/pass3 and other device files existx ?
 >
 > P.

Yes. Sorry for the missing information, but: /dev/acd0, /dev/cd0 and=20
/dev/cd1, /dev/xpt0 and /dev/pass[0-3] are all exists, and they have (I=20
think) the correct permissions, generated with devfs.conf) :

$ ll /dev/cd* /dev/pass* /dev/xpt*
crw-r-----  1 zgabor  zgabor    -   4,  25 Dec 18 08:15 /dev/cd0
crw-r-----  1 zgabor  zgabor    -   4,  26 Dec 18 08:15 /dev/cd1
lrwxr-xr-x  1 root    wheel     -        3 Dec 18 08:15 /dev/cdrom@ -> cd=
0
crw-------  1 zgabor  zgabor    - 234,   0 Dec 18 08:15 /dev/pass0
crw-------  1 root    operator  - 234,   1 Dec 18 08:15 /dev/pass1
crw-------  1 root    operator  - 234,   2 Dec 18 08:15 /dev/pass2
crw-------  1 zgabor  zgabor    - 234,   3 Dec 18 08:15 /dev/pass3
crw-rw----  1 root    operator  - 233,   0 Dec 18 08:15 /dev/xpt0
$

(And yes, I'm in the group of operator)

So the problem exists: how can it be, that "camcontrol devlist" shows an=20
ATAPICAM-generated "SCSI"-DVD-RW, but cdrecord couldn't see it with=20
"cdrecord -scanbus":

$ camcontrol devlist
<YAMAHA CRW8824S 1.00>             at scbus0 target 4 lun 0 (cd0,pass0)
<IBM DCAS-34330W   !# S69D>        at scbus0 target 13 lun 0 (da0,pass1)
<DEC RZ1CB-CA (C) DEC LYJ0>        at scbus0 target 15 lun 0 (da1,pass2)
<TSSTcorp CD/DVDW TS-H552B TS05>   at scbus2 target 0 lun 0 (cd1,pass3)
$ cdrecord -scanbus
Cdrecord 2.00.3 (i386-unknown-freebsd5.2) Copyright (C) 1995-2002 J=F6rg=20
Schilling
Using libscg version 'schily-0.7'
scsibus0:
         0,0,0     0) *
         0,1,0     1) *
         0,2,0     2) *
         0,3,0     3) *
         0,4,0     4) 'YAMAHA  ' 'CRW8824S        ' '1.00' Removable CD-R=
OM
         0,5,0     5) *
         0,6,0     6) *
         0,7,0     7) *
$

--=20
#!/bin/ksh
Z=3D'21N16I25C25E30, 40M30E33E25T15U!' ;IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXY=
Z=20
';set $Z ;for i { [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ???=20
]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "$j" =3D=
 ???=20
]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';set $Z;=
for=20
i { [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";types=
et +l=20
i;};print "$j"



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