Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 10:48:56 -0400
From:      "j. rivera" <rewt@delaware.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   kernel config for 4.3-RELEASE
Message-ID:  <3BB1EAD8.1020203@delaware.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020906070001050702080901
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello all,

I am trying to compile a custom kernel on 4.3-RELEASE, but 
unfortunately, make dies unexpectedly. I have tried various options to 
troubleshoot the problem, including trying to recompile GENERIC, but 
even that compile dies when trying to gzip  manpages (at least that's 
how it appears). I have tried both the sources from the CD and 
downloaded via FTP using sysinstall.

Attached is a copy of my kernel config file along with the error 
message. Any help with this issue is definately appreciated.  Thanks.

Regards,
Jovan Rivera


Here's the error:

cc -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. 
-I@ -I@/../include  -mpreferred-stack-boundary=2 -c setdef1.c
ld -Bshareable  -o joy.ko setdef0.o joy.kld setdef1.o
gzip -cn /usr/src/sys/modules/joy/joy.8 > joy.8.gz
-cn: No such file or directory
*** Error code 1

Stop in /usr/src/sys/modules/joy.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/HALCYON.


--------------020906070001050702080901
Content-Type: text/plain;
 name="HALCYON"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="HALCYON"

#
# HALCYON -- Kernel configuration file for halcyon.delaware.net
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.24 2001/04/05 17:23:10 sos Exp $

machine         i386
cpu             I686_CPU
ident           HALCYON
maxusers        64

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

options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         FFS_ROOT                # FFS usable as root device [keep this!]
options         SOFTUPDATES             # Enable FFS soft updates support
options         MD_ROOT                 # MD is a potential root device
options         NSWAPDEV=8              # Allow this many (8) swap devices
options         PROCFS                  # Process filesystem
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         UCONSOLE                # Allow users to grab the console
options         USERCONFIG              # boot -c editor
options         KTRACE                  # ktrace(1) support
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         TCP_RESTRICT_RST        # Restrict emission of TCP RST packets
options         ICMP_BANDLIM            # Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         QUOTA                   # Enable disk quotas

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

device          isa
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

# SCSI Controllers
device          ncr             # NCR/Symbios Logic
device          sym             # NCR/Symbios Logic (newer chipsets)
options         SYM_SETUP_LP_PROBE_MAP=0x40
                        # Allow ncr to attach legacy NCR devices when
			# both sym and ncr are configured

# SCSI devices
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

# RAID controllers
device          mlx             # Mylex DAC960 family

# 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?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device         vt0     at isa?
options        PCVT_FREEBSD=432          # PCVT console driver for FreeBSD(4.3)

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer

# PCI Ethernet NICs.
device          miibus0         # Generic support for mii-compliant transceivers
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# The probe order of these is presently determined by i386/isa/isa_compat.c.
device          ie0     at isa? port 0x300 irq 10 iomem 0xd0000
device          lnc0    at isa? port 0x280 irq 10 drq 0
device          cs0     at isa? port 0x300
device          sn0     at isa? port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support

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

# Miscellaneous devices
pseudo-device   pty             # Pseudo ttys
pseudo-device   vn              # Vnode driver
pseudo-device   md              # Memory/malloc disks


--------------020906070001050702080901--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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