From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 19 20:11:55 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4BF106566B for ; Sat, 19 Dec 2009 20:11:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 172298FC17 for ; Sat, 19 Dec 2009 20:11:54 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NM5eY-0001Wo-UF; Sat, 19 Dec 2009 20:11:53 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NM5eY-0003Ur-4k; Sat, 19 Dec 2009 20:11:50 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBJKBnjs009760; Sat, 19 Dec 2009 20:11:49 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBJKBnBU009759; Sat, 19 Dec 2009 20:11:49 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 19 Dec 2009 20:11:49 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091219201149.GB9715@mech-cluster241.men.bris.ac.uk> References: <20091218184220.GA54077@mech-cluster241.men.bris.ac.uk> <20091218195514.GA64224@mech-cluster241.men.bris.ac.uk> <20091219130630.GA54383@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091219130630.GA54383@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: freebsd-sparc64@freebsd.org Subject: Re: and cdrecord [WAS: burncd error on blade 1500] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 20:11:55 -0000 On Sat, Dec 19, 2009 at 02:06:30PM +0100, Marius Strobl wrote: > On Fri, Dec 18, 2009 at 07:55:14PM +0000, Anton Shterenlikht wrote: > > On Fri, Dec 18, 2009 at 06:42:20PM +0000, Anton Shterenlikht wrote: > > > on 9.0 current > > > > > > # burncd -t -f /dev/acd0 data ./trydata fixate > > > burncd: ioctl(CDRIOCINITTRACK): Input/output error > > > # > > > > > > I've hw.ata.atapi_dma=0 in /boot/loader.conf > > > > I also tried cdrecord: > > > > # cdrecord -v -dummy dev=1,0,0 ./z.iso > > cdrecord: No write mode specified. > > cdrecord: Asuming -tao mode. > > cdrecord: Future versions of cdrecord may have different drive dependent default > > s. > > cdrecord: Continuing in 5 seconds... > > Cdrecord-Clone 2.01 (sparc64-unknown-freebsd9.0) Copyright (C) 1995-2004 Jörg Sc > > hilling > > TOC Type: 1 = CD-ROM > > scsidev: '1,0,0' > > scsibus: 1 target: 0 lun: 0 > > cdrecord: Error 0. Cannot open SCSI driver. > > cdrecord: For possible targets try 'cdrecord -scanbus'. > > cdrecord: For possible transport specifiers try 'cdrecord dev=help'. > > > > # camcontrol devlist -v > > scbus0 on ata0 bus 0: > > <> at scbus0 target -1 lun -1 () > > scbus1 on ata1 bus 0: > > at scbus1 target 0 lun 0 () > > <> at scbus1 target -1 lun -1 () > > scbus-1 on xpt0 bus 0: > > <> at scbus-1 target -1 lun -1 (xpt0) > > # > > > > At least for reading atapicam(4) works on sparc64 and cdrecord > is also known to work for writing CDs with SCSI writers on > sparc64, I currently don't have hardware to test whether it's > also possible to write CDs with ATAPI writers using cdrecord > on sparc64 though. Given that atapicam(4) works for reading > it's unlikely that there are bugs preventing writing, I think > it's way more likely that your drive is one of those incapable > of simulating writes or it denies writing in PIO mode. It seems atapicam detects this cdw device ok (from dmesg): cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: cd present [1 x 2048 byte records] but scanbus fails: # cdrecord -scanbus Cdrecord-Clone 2.01 (sparc64-unknown-freebsd9.0) Copyright (C) 1995-2004 Jörg Sc hilling cdrecord: Error 0. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. # I think cdrecord -scanbus should work even if there is no cdw device present. For example this is what I get on ia64 9.0-current: # cdrecord -scanbus Cdrecord-Clone 2.01 (ia64-unknown-freebsd9.0) Copyright (C) 1995-2004 Jörg Schilling Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'HP 73.4G' 'ST373454LC ' 'HPC2' Disk 0,1,0 1) 'HP 73.4G' 'ST373454LC ' 'HPC2' Disk 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) * 1,1,0 101) * 1,2,0 102) 'SEAGATE ' 'ST318452LC ' '2213' Disk 1,3,0 103) 'HP ' 'C7438A ' 'V303' Removable Tape 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * # So I think this Cannot open SCSI driver error might be caused by some other problem on my system, and not by the cdw device. But where?? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423