Date: Fri, 20 Apr 2001 18:07:59 -0500 (CDT) From: Eduardo Viruena Silva <mrspock@esfm.ipn.mx> To: freebsd-questions@freebsd.org Subject: mini kernel Message-ID: <Pine.BSF.4.21.0104201744310.64409-200000@Michelle.esfm.ipn.mx>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hello FreeBSD's gurus!
I like to configure a very small kernel.
I only need very few capabilities, I do not need network services.
I'm building this kernel just for starting a computer, mounting
a CD file system and copying an image from ide-cdrom to ide-hard drive.
I compiled my minikernel in a FreeBSD 4.1 box and everything was ok.
BUT... when I tried to compile it in a FreeBSD 4.2 box I got the
following error message:
--------------------------------------------------------
make depend
...
make
...
linking kernel
uipc_accf.o(.data+0x80): undefined reference to
`sysctl__net_inet_children'
*** Error code 1
--------------------------------------------------------
It seems to me that some network functions are required in version 4.2
but I do not know why.
Could you please help me?
I'm attaching a copy of my minikernel configuration.
Thanks in advance.
- ______ _
* / /###\ / \ __
/\ /\ * / ./#### \ * \__|_/ | |
/ \/ \ | b#####| * _ | __ | | __
= .. \____ \ \_\#####/ / \| / \ | | /\_\/
= \_| * \___\###/ * \_/\_/\__/\__\/_/\__/
= \______/ _
| |
[-- Attachment #2 --]
machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident GENERIC
maxusers 32
options MATH_EMULATE #Support for x87 emulation
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options MFS_ROOT #MFS can be used as root device
options MD_ROOT #MD is a potential root device
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
device isa
device eisa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID #Static device numbering
#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
#
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104201744310.64409-200000>
