Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 21:52:45 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        brian@hyperreal.org (Brian Behlendorf)
Cc:        questions@FreeBSD.ORG
Subject:   Re: I'm missing something, I'm sure...
Message-ID:  <199902030452.VAA45340@panzer.plutotech.com>
In-Reply-To: <Pine.BSF.4.04.9901312100110.9666-100000@taz.hyperreal.org> from Brian Behlendorf at "Jan 31, 1999  9: 1:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Behlendorf wrote...
> 
> pez# cdrecord -scanbus
> Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
> scsibus1:
>                 100) 'IBM     ' 'DCAS-34330W     ' 'S65A' Disk
>                 101) *
>                 102) *
>                 103) *
>                 104) 'SEAGATE ' 'ST15230N        ' '0638' Disk
>                 105) *
>                 106) 'YAMAHA  ' 'CDR400t         ' '1.0q' Removable CD-ROM
>                 107) *
> pez# ls -s
> total 598066
>       3 10            3 11            3 12       598056 cd.img        1
> src
> pez# cdrecord -v -eject speed=2 dev=0,6,0 -isosize cd.img
> Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
> TOC Type: 1 = CD-ROM
> cdrecord: Inappropriate ioctl for device. WARNING: RR-scheduler not
> available, disabling.
> scsidev: '0,6,0'
> scsibus: 0 target: 6 lun: 0
> cdrecord: Inappropriate ioctl for device. Cannot open SCSI driver.
> pez# uname -a
> FreeBSD pez.hyperreal.org 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Sun Jan 31
> 16:10:47 PST 1999     brian@pez.hyperreal.org:/usr/src/sys/compile/pez 
> i386
> 
> 
> Did I miss something in my kernel config? 

You should probably send SCSI questions to the SCSI list.

It looks like, though, you're using the wrong device.  That's SCSI bus 1,
so you should be doing something like:

cdrecord dev=1,6,0 ....

Does this work:

cdrecord dev=1,6,0 -inq

cdrecord will tell you whether or not it can talk to the device.  For
example:

{bladerunner:/usr/home/ken:3:0} cdrecord dev=1,3,0 -inq
Cdrecord release 1.8a14 Copyright (C) 1995-1998 Jörg Schilling
scsidev: '1,3,0'
scsibus: 1 target: 3 lun: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC LINKED 
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-R412C '
Revision       : '1.04'
Device seems to be: Generic mmc CD-R.

It identifies the drive as a generic CD-R.

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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