Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 15:05:59 +0200
From:      Nils Berzins <nberch@db.lv>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Problems with FreeBSD on Poweredge 6300
Message-ID:  <BC7630D7.1E646%nberch@db.lv>
In-Reply-To: <404DEC93.9060909@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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 <bsd.kmod.mk>

-------------------------------------

Best Regards
Nils Berzins







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC7630D7.1E646%nberch>