Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 13:36:43 +0300
From:      "locust" <locust@anid.com.ua>
To:        <freebsd-questions@FreeBSD.org>
Subject:   buildkernel and buildworld fails on 4.7-RC FreeBSD
Message-ID:  <000301c26ac8$c46b1230$010201c8@main_server.anid.com.ua>

next in thread | raw e-mail | index | archive | help
I just wanted to recompile my kernel without options
IPFIREWALL_DEFAULT_TO_ACCEPT
and got smth like
---------
..........
rm -f .depend
mkdep -f
.depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../includ
e -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/wi/../../dev/wi/if_w
i.c /usr/src/sys/modules/wi/../../dev/wi/if_wi_pccard.c
/usr/src/sys/modules/wi/
../../dev/wi/if_wi_pci.c /usr/src/sys/modules/wi/../../dev/wi/wi_hostap.c
===> xe
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
touch opt_bdg.h
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/dev/pccard/card_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f
.depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../includ
e -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/xe/../../dev/xe/if_x
e.c
Illegal instruction (core dumped)
mkdep: compile failed
*** Error code 1

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

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

Stop in /usr/obj/usr/src/sys/MAIL.
*** Error code 1

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

Stop in /usr/src.
--------------------
so, i did after that cvsup with
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
src-all
.... etc

done
after that make buildworld
and i got from it:
-------------------
...................
rm -f .depend
mkdep -f
.depend -a    -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DH
AVE_LIMITS_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 -DRET_TY
PE_S
RAND_IS_VOID=1 -DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_CC_LIMITS_H=1 -
DRET
SIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -D
HAVE
_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1 -D
HAVE
_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_S
TRSE
P=1 -DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1 -I/usr/src/gnu/usr.bin/groff/sr
c/ut
ils/pfbtops/../../../../../../contrib/groff/src/include -I/usr/src/gnu/usr.b
in/g
roff/src/utils/pfbtops/../../../src/include -D__FBSDID=__RCSID
/usr/src/gnu/usr
.bin/groff/src/utils/pfbtops/../../../../../../contrib/groff/src/utils/pfbto
ps/p
fbtops.c
Illegal instruction (core dumped)
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff/src/utils/pfbtops.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff/src/utils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff/src.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff.
*** Error code 1

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

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

Stop in /usr/src.
-----------------------------
uname -a
FreeBSD bla.bla.bla.bla 4.7-RC FreeBSD 4.7-RC #0: Fri Sep 20 12:34:02 EEST
2002
     locust@bla.bla.bla.bla:/usr/obj/usr/src/sys/MAIL  i386

please help me
i dont understand what is wrong.
it is very important to take system allways up

sorry for my english
thanks for any help

locust

PS:
my kernel config:

machine  i386
cpu     I686_CPU
ident   LOCUST
maxusers 0

makeoptions     DEBUG=-g      #Build kernel with gdb(1) debug symbols
options  MAXDSIZ="(256*1024*1024)"
options  MAXSSIZ="(256*1024*1024)"
options  DFLDSIZ="(256*1024*1024)"

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  UFS_DIRHASH        #Improve performance on big directories
options  MFS                #Memory Filesystem
options  MD_ROOT              #MD is a potential root device
options  NFS                #Network Filesystem
options  NFS_ROOT           #NFS usable as root device, NFS required
options  MSDOSFS              #MSDOS Filesystem
options  CD9660             #ISO 9660 Filesystem
options  CD9660_ROOT

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  KTRACE             #ktrace(1) support
options  SYSVSHM              #SYSV-style shared memory
options  SYSVMSG              #SYSV-style message queues
options  SYSVSEM              #SYSV-style semaphores
options  ICMP_BANDLIM       #Rate limit bad replies
options  KBD_INSTALL_CDEV   # install a CDEV entry in /dev
options  AHC_REG_PRETTY_PRINT # Print register bitfields in debug
options  AHD_REG_PRETTY_PRINT # Print register bitfields in debug

options  MROUTING
options  IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_FORWARD
options  IPFIREWALL_VERBOSE_LIMIT=100
#options   IPFIREWALL_DEFAULT_TO_ACCEPT
options  IPDIVERT
options  IPSTEALTH
options  TCPDEBUG
options  ICMP_BANDLIM
options  DUMMYNET
options  BRIDGE

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
device   atapifd              # ATAPI floppy drives
options  ATA_STATIC_ID      #Static device numbering

# 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?
device   cd
# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device   sc0    at isa? flags 0x100
options  SC_DISABLE_REBOOT
options  SC_PIXEL_MODE
options  SC_HISTORY_SIZE=1000
options  SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
options  SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
options  SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options  SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
options  SC_TWOBUTTON_MOUSE

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

# Power management support (see LINT for more options)
#device  apm0   at nexus? disable flags 0x20 # Advanced Power Management

# Serial (COM) ports
device   sio0   at isa? port IO_COM1 flags 0x10 irq 4
device   sio1   at isa? port IO_COM2 irq 3
device   sio2   at isa? disable port IO_COM3 irq 5
device   sio3   at isa? disable port IO_COM4 irq 9
options  CONSPEED=115200

# Parallel port
device   ppc0   at isa? irq 7
device   ppbus          # Parallel port bus (required)
device   lpt            # Printer
device   plip           # TCP/IP over parallel
device   ppi            # Parallel port interface device

# PCI Ethernet NICs that use the common MII bus controller code.
device   miibus         # MII bus support
device   fxp            # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop        # Network loopback
pseudo-device   ether       # Ethernet support
pseudo-device   sl      1   # Kernel SLIP
pseudo-device   ppp     1   # Kernel PPP
pseudo-device   tun         # Packet tunnel.
pseudo-device   pty         # Pseudo-ttys (telnet etc)
pseudo-device   md          # Memory "disks"
pseudo-device   snp

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
pseudo-device   bpf         #Berkeley packet filter

options  PANIC_REBOOT_WAIT_TIME=10




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?000301c26ac8$c46b1230$010201c8>