Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2001 23:44:14 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        gbuchana@home.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Config doesn't understand wired SCSI devices any more 
Message-ID:  <200102020744.f127iEW23075@mobile.wemm.org>
In-Reply-To: <XFMail.010201214827.gbuchana@home.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Gardner Buchanan wrote:
> Hi,
> 
> I cvsupped 4.2-STABLE last night and did a buildworld.
> This part was okay.  Now I'm trying to build a kernel
> and config is complaining about the config lines that
> wire down my SCSI devices.
> 
> Config says this:
> 
>    config: line 83: sym 0 not defined
> 
> My Kernel config looks like this:
> 
>    72   device          ncr             # NCR/Symbios Logic
>    73   device          sym             # NCR/Symbios Logic (newer chipsets)

Change this to 'sym0' and it will shut up config(8).  It should have worked
anyway, this is a config(8) warning only.  When the kernel boots it will
look up the strings you have supplied and will use 'sym0' regardless of
what config said.

This used to be just a warning, but people started using config(8) in
automated scripts (such as make buildkernel) which effectively hid the
messages.  There was no difference between "not really a problem" error
messages like this or more serious ones.  config relied on a human to judge
if it was serious or not.  'make buildkernel' was igoring it totally and
stopping humans from seeing it at all by scrolling the results off the
screen in a fraction of a second.

>    75   #device         adv0    at isa?
>    76   #device         adw
>    77   #device         bt0     at isa?
>    78   #device         aha0    at isa?
>    79   #device         aic0    at isa?
>    80   
>    81   # Wired down SCSI unit numbers.
>    82   #
>    83   device        scbus0 at sym0
>    84   device        da0 at scbus0 target 3 unit 0
>    85   device        cd0 at scbus0 target 3 unit 1
>    86   device        da1 at scbus0 target 6
>    87   device        da2 at scbus0 target 9
> 
> If I comment these lines out, the kernel seems to build
> allright.
> 
> I noticed that the wiring down example in LINT is commented 
> out, so any quick tests would have missed this.
> 
> ============================================================
> Gardner Buchanan                         <gbuchana@home.com>
> Ottawa, ON             FreeBSD: Where you want to go. Today.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102020744.f127iEW23075>