From owner-freebsd-questions Sun Nov 5 11:30:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 1346237B4CF for ; Sun, 5 Nov 2000 11:30:54 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id MAA18802; Sun, 5 Nov 2000 12:30:48 -0700 (MST) (envelope-from ken) Date: Sun, 5 Nov 2000 12:30:47 -0700 From: "Kenneth D. Merry" To: Matt of the Long Red Hair Cc: cjclark@alum.mit.edu, freebsd-questions@FreeBSD.ORG Subject: Re: Building cd devices Message-ID: <20001105123047.A18780@panzer.kdm.org> References: <20001105015626.Y75251@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mattp@conundrum.com on Sun, Nov 05, 2000 at 02:18:47PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 05, 2000 at 14:18:47 -0500, Matt of the Long Red Hair wrote: > On Sun, 5 Nov 2000, Crist J . Clark wrote: > > > > In fact, it looks like cd1c wasn't even being created. Just to see if it > > > would make a difference, I tried removing cd1c before doing a `./MAKEDEV cd1` > > > and nothing was created at all. > > > > > > flux# rm cd1c > > > flux# ./MAKEDEV cd1 > > > flux# ls -l cd1* > > > ls: No match. > > > > What version is your MAKEDEV? Actually, doing 'cd0' _or_ 'cd1' should > > create both the cd0 and cd1 devices. Try a, > > > > sh -x MAKEDEV cd1 > > Hrm.. okay, this gave me a thought. It looks like the last world I built > didn't update MAKEDEV. I was running this, whis is probably from 4.0-R: The difference is here: > + [ 0 -lt 1 ] versus: > + [ 0 -le 1 ] The old version would give you cd0 -> cd(N-1), the new version gives you cd0 -> cdN when you type 'sh MAKEDEV cdN'. > However, I'm still having the original problem that led me to all of this... > that my CD-R doesn't seem to be accessible to my burn software. Here's my > current dmesg info for the CDs: > > cd0 at sym0 bus 0 target 5 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 10.000MB/s transfers (10.000MHz, offset 15) > cd0: Attempt to query device size failed: NOT READY, Medium not present > > cd1 at sym0 bus 0 target 6 lun 0 > cd1: Removable Worm SCSI-2 device > cd1: 3.300MB/s transfers > cd1: cd present [314413 x 2048 byte records] > > > Now, my CDR102 works great if it's cd0 (I've put it there by disabling > scanning of target 5 in my SCSI BIOS). However, running as cd1 it can't be > detected by my burn software (cdrecord). This leads me to believe that there > are still some devices missing. > > Maybe this is getting away from a FreeBSD issue now and into more of an > application issue, but I can't really tell where the line is, here... whether > the software can't detect the drive because of some bug, or because some > device it's looking for isn't present. Make sure you have enough pass(4) devices. First, see which pass device is attached to your CD-R: camcontrol devlist Then see if you can access that pass device: camcontrol tur cd1 If not, make sure /dev/passN exists. If not: cd /dev sh MAKEDEV passM (where M == N + 1) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message