From owner-freebsd-questions@FreeBSD.ORG Sun Oct 11 14:18:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 779051065679 for ; Sun, 11 Oct 2009 14:18:43 +0000 (UTC) (envelope-from snailboy1@yahoo.com) Received: from web57008.mail.re3.yahoo.com (web57008.mail.re3.yahoo.com [66.196.97.112]) by mx1.freebsd.org (Postfix) with SMTP id 1C78A8FC22 for ; Sun, 11 Oct 2009 14:18:42 +0000 (UTC) Received: (qmail 61260 invoked by uid 60001); 11 Oct 2009 14:18:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255270722; bh=46b/lQY00pdFt2tPQACy0lXBdIqAu92WtGrqQ5jehYo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XxQKmhHcfe2fQVAZ5G3xMz7XZUNuw3d2SJ2m5hSYUCX6jq7JWToBOQIPwxRiAFUtv80oY5eYWQQOnGyHblaAitsyLGro6GuMaxsYm/eXkCEDv5ZWGwTzsOPzjVm+MGrIpLPPFHOpdMbrTQhTjwk5SZFEsaYPgF6N8TLurnIbIcg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yLorIguIT49wFNXMchCnvHCDcZbM7GKpApB41PrNJ4/xefSzu2jCJqttzBJbDw3jNfKKUPx0/J4ErtL0u5MYZGu3h8w/kQSUVTU+niBDFhNH2Fms1nTVWbTSdyv5Ax+Kkf3nUUYHlgB678EK8HZ+nULTUsnB19VDlcQEyb2CpkY=; Message-ID: <391701.61251.qm@web57008.mail.re3.yahoo.com> X-YMail-OSG: elsRirQVM1mnmczpYfMIakxAFjXx2BNsOzyQeuRrtK7gI_2zPADC2tX2Whwy04_pXhip_JK9r_IMJfDpUxMxY_rdH_TebG7a5QFqVmD55flbIseVanFuiemi4.m6PgClo.lf8F1EDmWenHbcgEmIt0WonAf92ifFwcyUi89fn8XuZBn.Zbx1gCNQaaAUNKUb_Bkn2pzGfvdQ3_S76OvD0zvgCAExIOlMqVr2..l9xdMogbCnMGXNCeP14FvQP8nxVolagV4u9Jr0Bx3zpu5n0u0EYu9T8DgM4OWmGogHvFcZRnEer.AFB6dAsnndFUhu0Rr0bGoR4eFEjmIW3NKyB9XIXVA1wXHiQJx28oyYkWXc.caux1SaBE_uzo2qvYXfGg1DGZz1XpTlL2g76N8CNeY- Received: from [76.202.128.204] by web57008.mail.re3.yahoo.com via HTTP; Sun, 11 Oct 2009 07:18:42 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Sun, 11 Oct 2009 07:18:42 -0700 (PDT) From: David LeCount To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: cdrecord returning inappropriate ioctl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 14:18:43 -0000 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 at scbus0 target 0 lun 0 (pass0) at scbus0 target 1 lun 0 (pass1) at scbus0 target 2 lun 0 (pass2) 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