Date: Tue, 14 Jul 1998 09:35:46 -0600 (MDT) From: "Kenneth D. Merry" <ken@plutotech.com> To: ckempf@enigami.com (Cory Kempf) Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: CAM, dewfs, camcontrol, CD's Message-ID: <199807141535.JAA08707@panzer.plutotech.com> In-Reply-To: <x7r9zpds4l.fsf@singularity.enigami.com> from Cory Kempf at "Jul 13, 98 11:32:42 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Cory Kempf wrote... > I could swear I have posted this at least twice now, but the original > doesn't seem to be on my machine for some reason. And if the answer > has changed with the new snapshot, well, it is downloading now. > > OK, I am poking into CAM, trying to get the SCSI card that came with > my scanner to work (see other message). I noticed that the CD ROM > drive, which seems to be identified via dmesg, and mounts CDs, doesn't > seem to exist in devfs. > > Has this simply not been done yet? That's correct, CAM doesn't coexist with devfs yet. Just use the standard device nodes and you should be fine. > On a related note, camcontrol -l doesn't list my CD drive either. A common misconception. camcontrol -l is not supposed to list every SCSI device in your system. I've gotten this same question numerous times. The -l option only lists peripheral drivers attached to a particular physical device. I've got another camcontrol option planned that *will* list every CAM device, but it's not in there yet. Here are a few examples of how camcontrol -l works: {roadwarrior:/usr/home/ken:11:0} camcontrol -l pass0: generation: 4 index: 1 status: MORE da0: generation: 4 index: 2 status: LAST {roadwarrior:/usr/home/ken:12:0} camcontrol -n da -u 1 -l pass1: generation: 4 index: 1 status: MORE da1: generation: 4 index: 2 status: LAST {roadwarrior:/usr/home/ken:13:0} camcontrol -n cd -l pass2: generation: 4 index: 1 status: MORE cd0: generation: 4 index: 2 status: LAST So, you see, it just lists the (in this case) two peripheral drivers attached to each physical device in the system. If you want to see *every* device in the system, I'd suggest getting the 'ds.c' program on the ftp sites. It prints out the entire devstat table, which includes device name/unit number. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807141535.JAA08707>