i386/108468: Stop in /usr/src/sys/modules/netgraph/atm/atmbase. on custom kernel build.

Landon Harsh technical at lantard.com
Sun Jan 28 09:10:23 UTC 2007


>Number:         108468
>Category:       i386
>Synopsis:       Stop in /usr/src/sys/modules/netgraph/atm/atmbase. on custom kernel build.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 28 09:10:22 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Landon Harsh
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD gateway.domain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
===> netgraph/atm/atmbase (all)
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../netgraph/atm/ngatmbase.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/misc/unimsg_common.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/misc/straddr.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/msg/traffic.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/msg/uni_ie.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATEWAY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GATEWAY -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/msg/uni_msg.c
/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/msg/uni_msg.c: In function `decode_setup':
/usr/src/sys/modules/netgraph/atm/atmbase/../../../../contrib/ngatm/netnatm/msg/uni_msg.c:1390: error: structure has no member named `h$'
*** Error code 1

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

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

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

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

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

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

Stop in /usr/src.

This is my first bug report, so hopefully it is really a bug! Sorry if it is user error.
>How-To-Repeat:
Fresh install of 6.2-RELEASE, with base, kernels/generic, info, man.
Ran cvsup-without-gui with the following cvs-supfile configuration:
*default host=cvsup4.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_2
*default delete use-rel-suffix
src-all
*default tag=.
ports-all
doc-all

and the following refuse file:
doc/bn_*
doc/da_*
doc/de
doc/de_*
doc/el_*
doc/es
doc/es_*
doc/fr
doc/fr_*
doc/id_*
doc/it
doc/it_*
doc/ja
doc/ja_*
doc/nl
doc/nl_*
doc/no_*
doc/pl_*
doc/pt_*
doc/ro_*
doc/ru
doc/ru_*
doc/sr
doc/sr_*
doc/tr_*
doc/zh
doc/zh_*
ports/arabic
ports/chinese
ports/french
ports/german
ports/hebrew
ports/hungarian
ports/japanese
ports/korean
ports/polish
ports/portuguese
ports/russian
ports/ukrainian
ports/vietnamese

Once cvs finished I configured the following kernel:
machine         i386
cpu             I686_CPU
ident           GATEWAY

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

options         SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

device          apic                    # I/O APIC

# Bus support.
device          eisa
device          pci

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
device          atapicd         # ATAPI CDROM drives
options         ATA_STATIC_ID   # Static device numbering

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

device          kbdmux          # keyboard multiplexer

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

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

device          agp             # support several AGP chipsets

# Add suspend/resume support for the i8254.
device          pmtimer

# 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 NICs!
device          miibus          # MII bus support
device          rl              # RealTek 8129/8139

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

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet filter

# OpenBSD PF
device          pf
options         ALTQ
options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
device          pflog
device          pfsync

# USB support
device          uhci            # UHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard

and the following /etc/make.conf:
# added by use.perl 2007-01-27 18:06:23
PERL_VER=5.8.8
PERL_VERSION=5.8.8
# Added by user 2007-01-27
CPUTYPE=pentium3
NO_BLUETOOTH=
NO_GAMES=
NO_SENDMAIL=

I then ran the following:
cd /usr/src
script ~/buildworld
make buildworld
CTRL+D
script ~/buildkernel
make buildkernel KERNCONF=GATEWAY

Error is produced.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list