From owner-freebsd-questions@FreeBSD.ORG Sun Sep 10 21:37:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1010916A407 for ; Sun, 10 Sep 2006 21:37:05 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from zeus.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id BACCD43D5D for ; Sun, 10 Sep 2006 21:37:00 +0000 (GMT) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.dfwlp.com (8.13.6/8.13.6) with ESMTP id k8ALavdQ041211; Sun, 10 Sep 2006 16:36:58 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: michael johnson , freebsd-questions@freebsd.org Date: Sun, 10 Sep 2006 16:36:57 -0500 User-Agent: KMail/1.9.3 References: <200609101013.34332.freebsd@dfwlp.com> <20060910194742.GA1297@madhosh.dhoomketu.net.in> In-Reply-To: <20060910194742.GA1297@madhosh.dhoomketu.net.in> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200609101636.57592.freebsd@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on zeus.dfwlp.com Cc: Subject: Re: cdrecord not working the way expected 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, 10 Sep 2006 21:37:05 -0000 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 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 at ata0-master UDMA40 > | >acd0: CDRW 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: 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