From owner-freebsd-current Mon Jun 26 2:17: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (peter1.corp.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id 0250337BA9B for ; Mon, 26 Jun 2000 02:16:58 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 10C411CE3; Mon, 26 Jun 2000 02:16:55 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Chuck Robey Cc: Kenneth Wayne Culver , FreeBSD-current Subject: Re: Config problems In-Reply-To: Message from Chuck Robey of "Sun, 25 Jun 2000 23:56:20 EDT." Date: Mon, 26 Jun 2000 02:16:55 -0700 From: Peter Wemm Message-Id: <20000626091655.10C411CE3@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > On Sun, 25 Jun 2000, Kenneth Wayne Culver wrote: > > > Hey chuck, except for the SMP stuff, your config looks mostly like mine (I > > only have a cpu line for i686) Let me know if there's anything I can do to > > help though. > > I'm about ready to post again, so this is good timing. > > I got the totally vague warning from gethints.pl to quiet by making my > disk section look much like the NOTES file. I then ran it by a brand new > config, and out spewed more than 25 errors. The entire section on wiring > down disks fails, and also all the stuff on npx, even tho that part was > copied verbatim from NOTES. You should get no errors from gethints.pl based on the disk section in NOTES file because those entries are actual hints for device.hints, not something that you put in a config file and feed to gethints.pl. > I have an Adaptec dual channel controller on my motherboard, and I have 3 > disks and 2 cdroms, which I want to wire down. There's lines in the NOTES > examples whose meanings just make no sense to me. Let me do a bit of > quoting: > > [from NOTES] > hint.scbus.0.at="ahc0" > hint.scbus.1.at="ahc1" > hint.scbus.1.bus="0" > hint.scbus.3.at="ahc2" > hint.scbus.3.bus="0" > hint.scbus.2.at="ahc2" > hint.scbus.2.bus="1" > hint.da.0.at="scbus0" > hint.da.0.target="0" > hint.da.0.unit="0" > hint.da.1.at="scbus3" > hint.da.1.target="1" > hint.da.2.at="scbus2" > hint.da.2.target="3" > hint.sa.1.at="scbus1" > hint.sa.1.target="6" > > > What does ``hint.scbus.1.bus="0"'' mean? Do I have to stick a number > after the "device ahc" and "device scbus" lines (the NOTES file > doesn't). Are there any other oddities I ought to know of? It works the same as the other devices: 'device scbus1 at ahc1 bus 0' becomes: hint.scbus.1.at="ahc1" hint.scbus.1.bus="0" When you have a trailing '?' character in an 'at' binding, you leave it out. eg: hint.scbus.1.at="ahc" (which would have meant "device scbus1 at ahc?") You do not stick numbers after the 'device ahc' and 'device scbus' lines. The device wiring comes from the hints (either /boot/device.hints or the statically compiled in hints) Perhaps you should post your old *ORIGINAL* config file and I'll do a worked example conversion... 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-current" in the body of the message