Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 19:07:10 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        FreeBSD SCSI <freebsd-scsi@freebsd.org>
Subject:   Wiring down devices does not work
Message-ID:  <20020921190710.A12733@schweikhardt.net>

next in thread | raw e-mail | index | archive | help
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
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

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?20020921190710.A12733>