cdrecord not working the way expected

Jonathan Horne freebsd at dfwlp.com
Sun Sep 10 14:37:05 PDT 2006


On Sunday 10 September 2006 14:47, Shantanoo Mahajan wrote:
> +++ michael johnson [freebsd] [10-09-06 11:16 -0400]:
> | On 9/10/06, Jonathan Horne <freebsd at dfwlp.com> wrote:
> | >anyone here sucessfully using cdrecord in freebsd?  -scanbus option
> | > gives me
> | >this error:
> | >
> | >[root at athena ~]# cdrecord -scanbus
> | >Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004
> | > J?rg Schilling
> | >cdrecord: Error 0. Cannot open SCSI driver.
> | >cdrecord: For possible targets try 'cdrecord -scanbus'.
> | >cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> | >
> | >i have a feeling that the reason my DVD-CDRW isnt working in xine is
> | >probably
> | >rooted in the same cause.  can anyone point me in the right direction
> | >here?
> | >
> | >[root at athena ~]# dmesg |grep acd0
> | >acd0: CDRW <LITE-ON COMBO SOHC-4832K/OQKB> at ata0-master UDMA40
> | >acd0: CDRW <LITE-ON COMBO SOHC-4832K/OQKB> at ata0-master UDMA40
> | >[root at athena ~]# uname -a
> | >FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
> | >13:08:08
> | >CDT 2006     root at athena.dfwlp.com:/usr/obj/usr/src/sys/ATHENA  i386
> | >
> | >anything at all that can get me going on this would be much appricated!
>
> # kldload atapicam
> # chmod 666 /dev/pass0 /dev/xpt0 /dev/cd0
>
> > k3b
>
> Is what I generally use and it works for me. After you run 'kldload..'
> check the dmesg output immediatly. You shoud be able to see some 'cd0'
> or 'cd*'. 'dmesg | grep ^cd'
>
>
> Shantanoo

thank you!  that was it!!
[root at athena ~]# kldstat
Id Refs Address    Size     Name
 1   15 0xc0400000 6b5a90   kernel
 2    2 0xc0ab6000 1adb8    linux.ko
 3    1 0xc0ad1000 5f60     snd_ich.ko
 4    2 0xc0ad7000 22b88    sound.ko
 5    1 0xc0afa000 59e80    acpi.ko
 6    1 0xc0b54000 4a3710   nvidia.ko
 7    1 0xc86f5000 4000     atapicam.ko
(dmesg...)
0: <LITE-ON COMBO SOHC-4832K OQKB> Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
[root at athena ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling
Using libscg version 'schily-0.8'.
scsibus1:
        1,0,0   100) 'LITE-ON ' 'COMBO SOHC-4832K' 'OQKB' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

cheers,
jonathan


More information about the freebsd-questions mailing list