From owner-freebsd-current Thu Sep 24 17:21:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18886 for freebsd-current-outgoing; Thu, 24 Sep 1998 17:21:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18872 for ; Thu, 24 Sep 1998 17:21:27 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id SAA01798; Thu, 24 Sep 1998 18:19:50 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809250019.SAA01798@panzer.plutotech.com> Subject: Re: burn cd ? In-Reply-To: <360ADCEE.9453EE45@webwizard.org.mx> from Edwin Culp at "Sep 24, 98 06:59:42 pm" To: eculp@webwizard.org.mx (Edwin Culp) Date: Thu, 24 Sep 1998 18:19:50 -0600 (MDT) Cc: ken@plutotech.com, croot@btp1da.phy.uni-bayreuth.de, current@FreeBSD.ORG, eculp@mexcom.net.mx X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Edwin Culp wrote... > "Kenneth D. Merry" wrote: > > My guess is that one of the following is true: > > > > - you haven't made the xpt or pass devices in /dev > > - you don't have the passthrough device in your kernel config file > > I didn't and I made pass0-3 and xpt0-1. Doesn't seem to be the problem. You'll need one passthrough device for each SCSI device in your system. (not sure how many devices you have) > cdrecord.test: Undefined error: 0. Cannot open SCSI driver. > Cdrecord release 1.6.1a3 Copyright (C) 1995-1998 Jörg > Schilling > scsidev: '0,3,0' > scsibus: 0 target: 3 lun: 0 > > Can't open SCSI driver?? > > would the link from scgx to rcd0.ctl have anything to do with the problem? I doubt it. Are you running as root? By default, you can't open the xpt or pass devices unless you're root. > > Please make sure that both of those devices are there, and that you've got > > the passthrough device in your kernel. > > > > Try typing: > > > > ./cdrecord.test -scanbus > > > > You'll probably get a more verbose error message. Did you try typing that? Like I said, you'll get a more verbose error message. It may indicate what the problem is. > > > with cdrecord 1.6.a12 > > > > > > p400:/usr/local/sbin # /var/ftp/incoming/cdrecord dev=0,3,0 speed=2 > > > driver=mm > > > > Cdrecord release 1.6a12 Copyright (C) 1995-1998 Jörg Schilling > > > scsidev: '0,3,0' > > > scsibus: 0 target: 3 lun: 0 > > > /var/ftp/incoming/cdrecord: Inappropriate ioctl for device. Cannot get > > > SCSI addr > > > . > > > /var/ftp/incoming/cdrecord: Cannot do inquiry for CD-Recorder. > > > /var/ftp/incoming/cdrecord: Undefined error: 0. test unit ready: scsi > > > sendcmd: f > > > atal error > > > cmd finished after 0.000s timeout 40s > > > > You must be using a cdrecord binary build under the old SCSI subsystem. It > > won't work, the CAM SCSI passthrough interface is completely different. > > > > > They will all work with an old kernel. > > > > What worked with an old kernel? How old of a kernel? > > Sept. 8, 1998 Well, like I said, a binary that worked with the old SCSI subsystem will certainly not work with CAM. The kernel<->userland API is completely different. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message