Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 07:18:42 -0700 (PDT)
From:      David LeCount <snailboy1@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   cdrecord returning inappropriate ioctl
Message-ID:  <391701.61251.qm@web57008.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'm not sure when this started. I thought it might have started when I adde=
d my RAID controller which has SCSI emulation too, but the error still occu=
rs when I remove it. So I'm guessing it started when I upgraded to 8.0 RC1 =
from 7 stable.

I have a Pioneer DVD-RW. Burncd doesn't support it so I've always used cdre=
cord, but a few days ago, it gave me this error:

[root@bahamut ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 J=F6r=
g Schilling
cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot=
 open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=3Dhelp'.

Camcontrol works fine.

[root@bahamut ~]# camcontrol devlist
<WDC WD5000AADS-00S9B 0A01>        at scbus0 target 0 lun 0 (pass0)
<WDC WD5000AADS-00S9B 0A01>        at scbus0 target 1 lun 0 (pass1)
<WDC WD5000AADS-00S9B 0A01>        at scbus0 target 2 lun 0 (pass2)
<PIONEER DVD-RW  DVR-110D 1.11>    at scbus3 target 0 lun 0 (cd0,pass3)

I tried using cdrecord with lun 3,0,0 as reported by camcontrol and got the=
 same error as with -scanbus. I'm thinking this is a bug with either cdreco=
rd or the kernel, but I thought I'd check here first to make sure I haven't=
 missed something.=0A=0A=0A      



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