Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 15:27:20 -0600
From:      Scott Long <scott_long@btc.adaptec.com>
To:        Jens Schweikhardt <schweikh@schweikhardt.net>
Cc:        FreeBSD SCSI <freebsd-scsi@freebsd.org>, peter@wemm.org
Subject:   Re: Wiring down devices does not work
Message-ID:  <20020921212720.GA92567@hollin.btc.adaptec.com>
In-Reply-To: <20020921190710.A12733@schweikhardt.net>
References:  <20020921190710.A12733@schweikhardt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 21, 2002 at 07:07:10PM +0200, Jens Schweikhardt wrote:
> hello, world\n
> 
> I'm trying to wire down my devices according to LINT, on -current:
> <LINT>
> # The syntax for wiring down devices is:
> 
> # device    scbus0 at ahc0      # Single bus device
> # device    scbus1 at ahc1 bus 0    # Single bus device
> # device    scbus3 at ahc2 bus 0    # Twin bus device
> # device    scbus2 at ahc2 bus 1    # Twin bus device
> # device    da0 at scbus0 target 0 unit 0
> # device    da1 at scbus3 target 1
> # device    da2 at scbus2 target 3
> # device    sa1 at scbus1 target 6
> </LINT>
> 
> But if I write (yes, I've got an ahc, it works without wiring):
> ...
> device ahc
> device scbus0 at ahc0             # line 84
> device da0 at scbus0 target 2
> device da1 at scbus0 target 8
> device da2 at scbus0 target 9
> device da3 at scbus0 target 10
> device da4 at scbus0 target 11
> 
> then what happens is
> 
> $ make buildkernel KERNCONF=HAL
> 
> --------------------------------------------------------------
> >>> Kernel build for HAL started on Sat Sep 21 19:01:10 CEST 2002
> --------------------------------------------------------------
> ===> HAL
> mkdir -p /usr/obj/src/current/sys
> cd /src/current/sys/i386/conf;  PATH=/usr/obj/src/current/i386/usr/sbin:/usr/obj/src/current/i386/usr/bin:/usr/obj/src/current/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin  config  -d /usr/obj/src/current/sys/HAL HAL
> config: line 84: ahc 0 not defined
> *** Error code 1
> 
> I've tried variations with ahc0 and "ahc 0" to no avail. What am I
> missing?
> 
> Regards,
> 
> 	Jens

Yep, it looks like config(8) no longer accepts the syntax needed for
wiring.  This might be related to the elimination of count devices by
Peter Wemm.  In any case, can you try wiring by putting hints in
/boot/device.hints?  Examples for this are in /sys/conf/NOTES.  If this
too is broken, then we have a major regression to fix in 5.0.

Scott

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?20020921212720.GA92567>