Re: Problems with FreeBSD on Poweredge 6300

From: Nils Berzins <nberch_at_db.lv>
Date: Thu, 11 Mar 2004 15:05:59 +0200
> 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
Received on Thu Mar 11 2004 - 04:06:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC