cdrecord returning inappropriate ioctl

2009-10-11 Thread David LeCount
I'm not sure when this started. I thought it might have started when I added my 
RAID controller which has SCSI emulation too, but the error still occurs 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 
cdrecord, but a few days ago, it gave me this error:

[r...@bahamut ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 Jörg 
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=help'.

Camcontrol works fine.

[r...@bahamut ~]# camcontrol devlist
WDC WD5000AADS-00S9B 0A01at scbus0 target 0 lun 0 (pass0)
WDC WD5000AADS-00S9B 0A01at scbus0 target 1 lun 0 (pass1)
WDC WD5000AADS-00S9B 0A01at scbus0 target 2 lun 0 (pass2)
PIONEER DVD-RW  DVR-110D 1.11at 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 cdrecord or 
the kernel, but I thought I'd check here first to make sure I haven't missed 
something.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cdrecord returning inappropriate ioctl

2009-10-11 Thread Polytropon
The first thing that I've seen, allthough it may be completely
unrelated, is this:

On Sun, 11 Oct 2009 07:18:42 -0700 (PDT), David LeCount snailb...@yahoo.com 
wrote:
 So I'm guessing it started when I upgraded to 8.0 RC1 from 7 stable.
^^^  
and then
 
 Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) [...]
   ^^^
Maybe - just maybe - it's neccessary to recompile cdrecord?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cdrecord returning inappropriate ioctl

2009-10-11 Thread Warren Block

On Sun, 11 Oct 2009, Polytropon wrote:


The first thing that I've seen, allthough it may be completely
unrelated, is this:

On Sun, 11 Oct 2009 07:18:42 -0700 (PDT), David LeCount snailb...@yahoo.com 
wrote:

So I'm guessing it started when I upgraded to 8.0 RC1 from 7 stable.

   ^^^  
and then


Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) [...]

  ^^^
Maybe - just maybe - it's neccessary to recompile cdrecord?


After a major version upgrade, it's necessary to rebuild all ports.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cdrecord returning inappropriate ioctl

2009-10-11 Thread David LeCount
 Maybe - just maybe - it's neccessary to recompile
 cdrecord?

I knew it would be something simple I missed.


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org