Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 16:36:57 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        michael johnson <ahze@ahze.net>, freebsd-questions@freebsd.org
Subject:   Re: cdrecord not working the way expected
Message-ID:  <200609101636.57592.freebsd@dfwlp.com>
In-Reply-To: <20060910194742.GA1297@madhosh.dhoomketu.net.in>
References:  <200609101013.34332.freebsd@dfwlp.com> <b2203fed0609100816u7e9fef1qe9db2c6ceb11a0ec@mail.gmail.com> <20060910194742.GA1297@madhosh.dhoomketu.net.in>

next in thread | previous in thread | raw e-mail | index | archive | help
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@dfwlp.com> wrote:
> | >anyone here sucessfully using cdrecord in freebsd?  -scanbus option
> | > gives me
> | >this error:
> | >
> | >[root@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=3Dhelp'.
> | >
> | >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@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@athena ~]# uname -a
> | >FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
> | >13:08:08
> | >CDT 2006     root@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@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@athena ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 J=F6r=
g=20
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



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