From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 05:06:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A06C16A4CE for ; Thu, 11 Mar 2004 05:06:03 -0800 (PST) Received: from saulite.db.lv (saulite.db.lv [195.122.6.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 868AF43D49 for ; Thu, 11 Mar 2004 05:06:02 -0800 (PST) (envelope-from nberch@db.lv) Received: from saulite (root@localhost) by saulite.db.lv (8.12.10/8.12.10) with SMTP id i2BGFiKR031967 for ; Thu, 11 Mar 2004 18:15:44 +0200 Received: from [195.122.6.220] ([195.122.6.220])i2BGFhor031959 for ; Thu, 11 Mar 2004 18:15:44 +0200 User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Thu, 11 Mar 2004 15:05:59 +0200 From: Nils Berzins To: FreeBSD Current Message-ID: In-Reply-To: <404DEC93.9060909@centtech.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: Problems with FreeBSD on Poweredge 6300 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 13:06:03 -0000 > I have this same issue - Jung-uk Kim (jkim (at) niksun.com) sent me a > patch, that made my life better (below). Something with the PERC > controllers. > Hi ! I have a newbie question about kernel module compiling. When I try to build the patched amr, I get the following error: > "/usr/src/sys/dev/amr/../../conf/kmod.mk", line 261: Could not find bsd.kern.mk > make: fatal errors encountered -- cannot continue Any suggestions ? I use following Makefile: ------------------------------------- KMOD = amr KO = ${KMOD}.ko SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h # SCSI passthrough support for non-disk devices #CFLAGS += -DAMR_SCSI_PASSTHROUGH SRCS += amr_cam.c opt_cam.h opt_scsi.h # Enable a questionable optimisation for newer adapters #CFLAGS += -DAMR_QUARTZ_GOFASTER # Debugging #CFLAGS += -DAMR_DEBUG=3 KLDMOD = t .include ------------------------------------- Best Regards Nils Berzins