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                         <[EMAIL PROTECTED]>
> Ottawa, ON             FreeBSD: Where you want to go. Today.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to