From owner-freebsd-questions Wed Jun 20 4: 9:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 9BA8137B401 for ; Wed, 20 Jun 2001 04:09:09 -0700 (PDT) (envelope-from patrick@mip.co.za) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id NAA58786; Wed, 20 Jun 2001 13:08:52 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "Christopher Bush" , Subject: RE: I'm having some trouble with kernel configuration Date: Wed, 20 Jun 2001 13:09:04 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <3B307D7B.6040104@home.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christopher, I have built kernels only a few times (maybe 5 or 6 times), and my experience has been that there are some dependencies which are not documented in the GENERIC file, but which have caught me more than once. For example, I built a kernel for an old Pentium 200Mhz system which I am sure was built before PCMCIA existed, and which certainly does not have an PCMCIA device installed, yet the kernel would not build with the following lines exactly as you have them: --- # PCCARD (PCMCIA) support #device card #device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 #device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable --- I tried to un-comment the "card" device, still no joy. Then uncommented all three lines and make was fine. I have no idea why - but that was my experience. Andy also replied saying you should include the line: --- # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support --- I have also found that miibus is referred by other devices, so now I always include it. At least the GENERIC kernel file comments hint that you should probably include it. I seem to recall also having difficulties when excluding some of the "ata" set of devices. Your config has: --- # ATA and ATAPI devices #device ata0 at isa? port IO_WD1 irq 14 #device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives --- You might want to try uncommenting the "ata0" and "ata1" lines. These comments are purely based on personal experience - I don't wish to pretend to understand exactly why some of these inter-dependencies exist. I hope you have more success. FreeBSD is my personal choice - give it some more time. :) Patrick. -----Original Message----- From:Christopher Bush Sent: 20 June 2001 12:40 To: freebsd-questions@FreeBSD.ORG Subject: I'm having some trouble with kernel configuration I seem to be doing something wrong while configuring my kernel. I've tried a few IRC rooms, but they keep telling me I should read the handbook. While the handbook seems to be a good source of information, either I must be illiterate, or what I'm looking for isn't there. I can configure the kernel. I don't get any error messages when I do. However, when I do a make depend, it gives me an error. I'm including my kernel configuration in hopes that maybe you'll be able to explain to me what I'm doing wrong. This is the first time I've tried to do configure and compile a kernel under FreeBSD. I've done so under Linux several times. I thought I'd try your OS, but from what I've seen in IRC, I'm supposed to be born with an understanding of it. Anyway, thanks in advance for any help. I appreciate it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message