From owner-freebsd-hackers Tue Nov 5 08:01:53 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA07573 for hackers-outgoing; Tue, 5 Nov 1996 08:01:53 -0800 (PST) Received: from delphi.bsd.uchicago.edu (delphi.bsd.uchicago.edu [128.135.5.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA07562 for ; Tue, 5 Nov 1996 08:01:42 -0800 (PST) Received: from bio-5.bsd.uchicago.edu (bio-5.bsd.uchicago.edu [128.135.75.14]) by delphi.bsd.uchicago.edu (8.7.6/8.7.3/BSD-4.0) with SMTP id KAA03522 for ; Tue, 5 Nov 1996 10:00:36 -0600 (CST) Received: by bio-5.bsd.uchicago.edu (5.0/SMI-SVR4) id AA07042; Tue, 5 Nov 1996 10:00:34 +0600 Date: Tue, 5 Nov 1996 10:00:34 +0600 Message-Id: <9611051600.AA07042@bio-5.bsd.uchicago.edu> To: hackers@freebsd.org Subject: wrong unit number when wiring down st0 From: Tim Pierce Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Here's an interesting one. I tried wiring down my SCSI tape in my 2.1.5 kernel config as follows: controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller scbus0 at aha0 device st0 at scbus0 target 2 The DAT deck is properly set up as target 2 (or so says the little number window on the back of the box), and I'm pretty sure that this syntax worked in 2.0.5. However, when I booted my machine, the kernel assigned the tape drive to st1, not st0. Removing `at stbus0 target 2' and recompiling the kernel corrected the problem. Is this a bug in the SCSI sense code, or my own confusion about how wiring down SCSI devices works?