From owner-freebsd-stable@FreeBSD.ORG Sat Dec 18 07:28:32 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6802116A4CE for ; Sat, 18 Dec 2004 07:28:32 +0000 (GMT) Received: from fe06.axelero.hu (fe06.axelero.hu [195.228.240.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8694D43D49 for ; Sat, 18 Dec 2004 07:28:31 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from fe06 (localhost-02 [127.0.2.1]) by fe06.axelero.hu (8.12.11/8.12.11) with SMTP id iBI7SUoW073831 for ; Sat, 18 Dec 2004 08:28:30 +0100 (CET) Received: from fe06.axelero.hu [127.0.2.1] via SMTP gateway by fe06 [195.228.240.94]; id A020636A3F7 at Sat, 18 Dec 2004 08:28:30 +0100 Received: from [192.168.1.3] (95.205-182-adsl-pool.axelero.hu [81.182.205.95]) by fe06.axelero.hu (8.12.11/8.12.11) with ESMTP id iBI7STu2073811 for ; Sat, 18 Dec 2004 08:28:30 +0100 (CET) Message-ID: <41C3DCA6.5050908@Zahemszky.HU> Date: Sat, 18 Dec 2004 08:30:46 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fe06.axelero.hu id iBI7STu2073811 Subject: Re: cdrecord cannot see DVD-RW with ATAPICAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 07:28:32 -0000 Peter Radcliffe wrote: > Zahemszky G=E1bor probably said: > > 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 at scbus0 target 4 lun 0 (cd0,pass0) at scbus0 target 13 lun 0 (da0,pass1) at scbus0 target 15 lun 0 (da1,pass2) 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"