From owner-freebsd-current Thu Sep 24 16:52:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13992 for freebsd-current-outgoing; Thu, 24 Sep 1998 16:52:26 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13985 for ; Thu, 24 Sep 1998 16:52:23 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id QAA16871; Thu, 24 Sep 1998 16:46:14 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdc16864; Thu Sep 24 23:46:09 1998 Date: Thu, 24 Sep 1998 16:46:05 -0700 (PDT) From: Julian Elischer To: "John W. DeBoskey" cc: freebsd-current@FreeBSD.ORG Subject: Re: Massive devfs confusion In-Reply-To: <199809242242.SAA00779@bb01f39.unx.sas.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you missed that you need to not use devfs for a while because CAM doesn't support it. On Thu, 24 Sep 1998, John W. DeBoskey wrote: > hi, > > I seem to be having a problem with /devs and my scsi disks > on my -current system: > > FreeBSD FreeBSD.pc.sas.com 3.0-BETA FreeBSD 3.0-BETA #0: Thu Sep 24 18:12:56 EDT 1998 root@FreeBSD.pc.sas.com:/usr/src/sys/compile/FreeBSD i386 > > > From dmesg: > > DEVFS: ready to run > ccd0-3: Concatenated disk drivers > changing root device to wd0s1a > da0 at ahc0 bus 0 target 1 lun 0 > da0: Fixed Direct Access SCSI2 device > da0: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled > da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) > da3 at ahc0 bus 0 target 4 lun 0 > da3: Fixed Direct Access SCSI2 device > da3: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled > da3: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) > da2 at ahc0 bus 0 target 3 lun 0 > da2: Fixed Direct Access SCSI2 device > da2: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled > da2: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) > da1 at ahc0 bus 0 target 2 lun 0 > da1: Fixed Direct Access SCSI2 device > da1: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled > da1: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) > > > However, these devices are not showing up in /devs. > > FreeBSD# ls -al /devs/d* > crw-r----- 1 root kmem 4, 0 Sep 24 18:24 /devs/drum > FreeBSD# > > From my fstab file: > > devfs /devs devfs rw 0 0 > > > Could someone point out what I am missing? > > thanks, > John > > ps: I had to create a /dev/xpt0 by hand for camcontrol, it isn't > in MAKEDEV. > > device xpt0 is not listed in LINT... should it not be there? > > devfs_add_devswf() can return NULL (not documented in the > man page), and the rc is not checked in the calls to it from > kern/disk_subr.c .... > > Comments? Critiques? Am I losing my mind? I mean my disks? > > > Ok, I give, I just found one of my disks under /dev/sd0 .. I > must have my kernel config file messed up... any ideas? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message