Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 15:42:09 +0200
From:      Mats <webmaster@carnal-cathedral.com>
To:        FreeBSD-Questions@FreeBSD.ORG
Subject:   compiling kernel.
Message-ID:  <200305031542.09259.webmaster@carnal-cathedral.com>

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

I'm converting from linux slackware to free bsd, but I'm stucked at chapt=
er 9=20
"Compiling kernel". I can't find information about what's wrong with my=20
compilation,=20
I run config MYKERNEL and everything is ok.
I run make depend and everything is fine...
Then I run make and got error code 1 and this messages:
'npx_driver' defined but not used
'npx_devclass' defined but not used.

My kernel looks like this:

# MYKERNEL
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369.2.2 2002/12/31 05:35:45 sco=
ttl=20
Exp $

machine=09=09i386
cpu=09=09I686_CPU
ident=09=09MYKERNEL
maxusers=0964

#To statically compile in device wiring instead of /boot/device.hints
#hints=09=09"GENERIC.hints"=09=09#Default places to look for devices.

#makeoptions=09DEBUG=3D-g=09=09#Build kernel with gdb(1) debug symbols

options =09INET=09=09=09#InterNETworking
options =09INET6=09=09=09#IPv6 communications protocols
options =09FFS=09=09=09#Berkeley Fast Filesystem
options =09SOFTUPDATES=09=09#Enable FFS soft updates support
options =09UFS_ACL=09=09=09#Support for access control lists
options =09UFS_DIRHASH=09=09#Improve performance on big directories
options =09MD_ROOT=09=09=09#MD is a potential root device
#options =09NFSCLIENT=09=09#Network Filesystem Client
# options =09NFSSERVER=09=09#Network Filesystem Server
# options =09NFS_ROOT=09=09#NFS usable as root device, requires NFSCLIENT
options =09MSDOSFS=09=09=09#MSDOS Filesystem
options =09CD9660=09=09=09#ISO 9660 Filesystem
options =09PROCFS=09=09=09#Process filesystem (requires PSEUDOFS)
options =09PSEUDOFS=09=09#Pseudo-filesystem framework
options =09COMPAT_43=09=09#Compatible with BSD 4.3 [KEEP THIS!]
options =09COMPAT_FREEBSD4=09=09#Compatible with FreeBSD4
# options =09SCSI_DELAY=3D15000=09#Delay (in ms) before probing SCSI
options =09KTRACE=09=09=09#ktrace(1) support
options =09SYSVSHM=09=09=09#SYSV-style shared memory
options =09SYSVMSG=09=09=09#SYSV-style message queues
options =09SYSVSEM=09=09=09#SYSV-style semaphores
options =09_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensio=
ns
options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev
options =09AHC_REG_PRETTY_PRINT=09# Print register bitfields in debug
=09=09=09=09=09# output.  Adds ~128k to driver.
options =09AHD_REG_PRETTY_PRINT=09# Print register bitfields in debug
=09=09=09=09=09# output.  Adds ~215k to driver.

# Debugging for use in -current
#options =09DDB=09=09=09#Enable the kernel debugger
#options =09INVARIANTS=09=09#Enable calls of extra sanity checking
options =09INVARIANT_SUPPORT=09#Extra sanity checks of internal structure=
s,=20
required by INVARIANTS
#options =09WITNESS=09=09=09#Enable checks to detect deadlocks and cycles
#options =09WITNESS_SKIPSPIN=09#Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
#options =09SMP=09=09=09# Symmetric MultiProcessor Kernel
#options =09APIC_IO=09=09=09# Symmetric (APIC) I/O

# device=09=09isa
# device=09=09eisa
device=09=09pci

# Floppy drives
device=09=09fdc

# ATA and ATAPI devices
device=09=09ata
device=09=09atadisk=09=09=09# ATA disk drives
device=09=09atapicd=09=09=09# ATAPI CDROM drives
device=09=09atapifd=09=09=09# ATAPI floppy drives
#device=09=09atapist=09=09=09# ATAPI tape drives
options =09ATA_STATIC_ID=09=09#Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device=09=09atkbdc=09=09# AT keyboard controller
device=09=09atkbd=09=09# AT keyboard
device=09=09psm=09=09# PS/2 mouse

device=09=09vga=09=09# VGA video card driver

device=09=09splash=09=09# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device=09=09sc

# Enable this for the pcvt (VT220 compatible) console driver
#device=09=09vt
#options =09XSERVER=09=09=09# support for X server on a vt console
#options =09FAT_CURSOR=09=09# start with block cursor

device=09=09agp=09=09# support several AGP chipsets

# Floating point support - do not disable.
device=09=09npx

# Power management support (see NOTES for more options)
#device=09=09apm
# Add suspend/resume support for the i8254.
device=09=09pmtimer

# Serial (COM) ports
device=09=09sio=09=09# 8250, 16[45]50 based serial ports

# Parallel port
device=09=09ppc
device=09=09ppbus=09=09# Parallel port bus (required)
device=09=09lpt=09=09# Printer
device=09=09plip=09=09# TCP/IP over parallel
device=09=09ppi=09=09# Parallel port interface device
#device=09=09vpo=09=09# Requires scbus and da


# 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 NI=
Cs!
device=09=09miibus=09=09# MII bus support
device=09=09fxp=09=09# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device=09=09random=09=09# Entropy device
device=09=09loop=09=09# Network loopback
device=09=09ether=09=09# Ethernet support
# device=09=09sl=09=09# Kernel SLIP
# device=09=09ppp=09=09# Kernel PPP
device=09=09tun=09=09# Packet tunnel.
device=09=09pty=09=09# Pseudo-ttys (telnet etc)
device=09=09md=09=09# Memory "disks"
device=09=09gif=09=09# IPv6 and IPv4 tunneling
device=09=09faith=09=09# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device=09=09bpf=09=09# Berkeley packet filter

# USB support
device=09=09uhci=09=09# UHCI PCI->USB interface
device=09=09ohci=09=09# OHCI PCI->USB interface
device=09=09usb=09=09# USB Bus (required)
#device=09=09udbp=09=09# USB Double Bulk Pipe devices
device=09=09ugen=09=09# Generic
device=09=09uhid=09=09# "Human Interface Devices"
device=09=09ukbd=09=09# Keyboard
device=09=09ulpt=09=09# Printer
device=09=09umass=09=09# Disks/Mass storage - Requires scbus and da
device=09=09ums=09=09# Mouse
device=09=09urio=09=09# Diamond Rio 500 MP3 player
device=09=09uscanner=09# Scanners
# USB Ethernet, requires mii
device=09=09aue=09=09# ADMtek USB ethernet
device=09=09cue=09=09# CATC USB ethernet

/Mats
/Buffy Rocks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305031542.09259.webmaster>