From owner-freebsd-questions Tue Dec 8 08:22:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA14098 for freebsd-questions-outgoing; Tue, 8 Dec 1998 08:22:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from proteus.idirect.com (proteus.idirect.com [207.136.80.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA14093 for ; Tue, 8 Dec 1998 08:21:58 -0800 (PST) (envelope-from fehr@idirect.com) Received: from localhost (fehr@localhost) by proteus.idirect.com (8.9.1/8.9.1) with ESMTP id LAA21992 for ; Tue, 8 Dec 1998 11:22:18 -0500 (EST) Date: Tue, 8 Dec 1998 11:22:18 -0500 (EST) From: "Eric D. Fehr" To: freebsd-questions@FreeBSD.ORG Subject: Device names (SCSI in particular) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I appear to need a refresher in the device name system used on FreeBSD, or else I have encountered a bug in the SCSI drive support. Here is my problem: I have a system with 14 SCSI drives connected to an Adaptec 7895 controller (dual channel Ultra SCSI). There are 7 devices on each channel, with the drives on channel one using device ID #'s 0-6, and the other channel using device ID #'s 8-14. Please ignore the obvious bandwidth starvation here... The first ten drives are assigned by the system as da0-da9. All is fine there, I can use disklabel to label them without any problems. The problem comes with the last 4 drives. The system calls drive #11 da10, which appears to confuse disklabel when it attempts to write the label to the drive. It can read it no problem, via a: disklabel da10 (which gives all of the proper info for the drive, as far as type & model) but doing a: disklabel -w da10 auto gives: disklabel: Operation not supported by device All 14 drives are Seagate ST118273LW. To the best of my knowledge, it is confusing this drive with da1. I have been trying to track this down in source code, but have been unsuccessfull so far. Anybody have any possible ideas? Thanks, Eric Useful info: uname -a: FreeBSD momma.bigmomma.com 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Mon Dec 7 18:48:57 GMT 1998 root@momma.bigmomma.com:/usr/src/sys/compile/MOMMA i386 dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-RELEASE #0: Mon Dec 7 18:48:57 GMT 1998 root@momma.bigmomma.com:/usr/src/sys/compile/MOMMA Timecounter "i8254" frequency 1193182 Hz cost 3028 ns Timecounter "TSC" frequency 448802821 Hz cost 114 ns CPU: Pentium II (quarter-micron) (448.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 268435456 (262144K bytes) avail memory = 258379776 (252324K bytes) Bad SMBIOS table checksum! Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 chip3: rev 0x01 int d irq 255 on pci0.7.2 chip4: rev 0x02 on pci0.7.3 vga0: rev 0x01 int a irq 15 on pci0.9.0 de0: rev 0x22 int a irq 11 on pci0.10.0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:80:c8:58:96:d3 ahc0: rev 0x04 int a irq 10 on pci0.12.0 ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x04 int b irq 10 on pci0.12.1 ahc1: Using left over BIOS settings ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> psm0 not found at 0x60 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface Waiting 15 seconds for SCSI devices to settle de0: enabling Full Duplex 100baseTX port changing root device to da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da7 at ahc1 bus 0 target 8 lun 0 da7: Fixed Direct Access SCSI2 device da7: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da7: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da11 at ahc1 bus 0 target 12 lun 0 da11: Fixed Direct Access SCSI2 device da11: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da11: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da13 at ahc1 bus 0 target 14 lun 0 da13: Fixed Direct Access SCSI2 device da13: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da13: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da12 at ahc1 bus 0 target 13 lun 0 da12: Fixed Direct Access SCSI2 device da12: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da12: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da10 at ahc1 bus 0 target 11 lun 0 da10: Fixed Direct Access SCSI2 device da10: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da10: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da9 at ahc1 bus 0 target 10 lun 0 da9: Fixed Direct Access SCSI2 device da9: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da9: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da8 at ahc1 bus 0 target 9 lun 0 da8: Fixed Direct Access SCSI2 device da8: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da8: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da4 at ahc0 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI2 device da4: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da4: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da6 at ahc0 bus 0 target 6 lun 0 da6: Fixed Direct Access SCSI2 device da6: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da6: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da5 at ahc0 bus 0 target 5 lun 0 da5: Fixed Direct Access SCSI2 device da5: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da5: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da3 at ahc0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI2 device da3: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da3: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI2 device da2: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da2: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI2 device da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message