Problems with FreeBSD on Poweredge 6300
Nils Berzins
nberch at db.lv
Thu Mar 11 05:06:03 PST 2004
> 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
More information about the freebsd-current
mailing list