I have seen this for about a month or two on more than one machine.

xdm works fine.

Rebuilds over some time have no effect.

I have now built the world and wdm with -g and still have all the
source and objects.

Kernel config attached.

What further info would you like ?

And please give me some instructions on how to provide the
non-obvious stuff.

I tried to look with ports/devel/ddd but got stuck by the fact
that the problem seems to be ld-elf.so.1 and not wdm.

(gdb) core-file /wdm.core
Core was generated by `wdm'.
Program terminated with signal 10, Bus error.
#0  0x2806010a in reloc_non_plt () from /usr/libexec/ld-elf.so.1
(gdb) 

All relevent ports have been rebuilt from scratch after the
world build (including XFree86-4).

/etc/make.conf:

CFLAGS=-g -O -pipe
COPTFLAGS=-g -O -pipe
USA_RESIDENT=no
XFREE86_VERSION=4
HAVE_MOTIF=yes
WITH_MOTIF=yes
WITH_PNG_MMX=yes
WITH_GNOME=yes
WITH_GTK=yes
WITH_TK83=yes
WITH_OGGVORBIS=yes
WITH_SANE=yes
A4=yes
CVS_UPDATE=YES
MASTER_SITE_GNOME=ftp://ftp.au.freebsd.org/pub/gnome/%SUBDIR%/
MASTER_SITE_GNU=ftp://ftp.au.freebsd.org/pub/gnu/%SUBDIR%/
MASTER_SITE_KDE=ftp://ftp.au.freebsd.org/pub/kde/%SUBDIR%/
MASTER_SITE_XEMACS=ftp://ftp.au.freebsd.org/pub/xemacs/%SUBDIR%/
MASTER_SITE_MOZILLA=ftp://ftp.planetmirror.com/pub/mozilla/%SUBDIR%/
KERNCONF=GENERIC
# $FreeBSD: MATT,v 24.5 2002/02/06 20:03:00 +10:30 matt Exp $
# Based on: $FreeBSD: src/sys/i386/conf/NOTES,v 1.993 2002/01/27 01:00:16 jdp Exp $

machine         i386
ident           MATT
maxusers        0
# Only build Linux API modules and plus those parts of the sound system I need.
#makeoptions    MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
#options        KSTACK_PAGES=3          #number of 4k stack pages per process
options         INCLUDE_CONFIG_FILE     #Include this file in kernel
cpu             I686_CPU
options         CPU_UPGRADE_HW_CACHE    #Eliminate unneeded cache flush instructions
# COMPATIBILITY OPTIONS
options         CPU_ENABLE_SSE
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SYSVSHM                 #SYSV style shared memory
options         SYSVSEM                 #SYSV style semaphores
options         SYSVMSG                 #SYSV style message queues
# DEBUGGING OPTIONS
options         DDB                     #Enable the kernel debugger
options         UCONSOLE                #Allow users to grab the console
# NETWORKING OPTIONS
options         INET                    #Internet communications protocols
# FILESYSTEM OPTIONS
options         UFS_DIRHASH             #Speedup v. large dirs
options         FFS                     #Berkeley Fast Filesystem
options         NFSCLIENT               #Network File System
options         NFSSERVER               #Network File System
options         CD9660                  #ISO 9660 Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         PROCFS                  #Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         SOFTUPDATES             #Enable FFS soft updates support
options         SCSI_DELAY=300          #Delay (in ms) before probing SCSI
options         KTRACE                  #Kernel tracing (SYSV emul requirement)
#options        INVARIANTS              #Sanity checking of internal structures
#options        INVARIANT_SUPPORT       #Support modules built with INVARIANTS
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV        #Install a CDEV entry in /dev

options         VFS_AIO                 #Real aio_* system calls
options         ENABLE_VFS_IOOPT        #IO optimization through VM system when 
vfs.ioopt > 0

options         MSGBUF_SIZE=40960       #Size of the kernel message buffer
options         COMPAT_LINUX            #Linux ABI emulation
options         LINPROCFS               #Linux-like proc filesystem support

device          isa
device          pci
device          agp
#Enable pci resources left off by a "lazy" BIOS:
options         PCI_ENABLE_IO_MODES
options         AUTO_EOI_1              #Save 0.7-1.25 usec for each interrupt

# Floppy drives
device          fdc

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

# SCSI Controllers
device          sym             #NCR/Symbios Logic (newer chipsets)

# SCSI peripherals
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)

device          vga

# splash screen/screen saver
device          splash

# syscons is the default console driver, resembling an SCO console
device          sc      1
options         MAXCONS=12              #Number of virtual consoles
options         SC_HISTORY_SIZE=2000    #Number of history buffer lines
#options        SC_DISABLE_REBOOT       #Disable Ctrl-Alt-Del reboot
options         SC_CUT_SPACES2TABS      #convert leading spaces into tabs
options         VESA

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc  1
device          atkbd
device          psm

# Floating point support - do not disable.
device          npx

# Power management support (see LINT for more options)
device          apm

# Serial (COM) ports
device          sio
options         BREAK_TO_DEBUGGER       #A BREAK on a comconsole goes to DDB

# Parallel port
options         PPC_PROBE_CHIPSET # Enable chipset specific detection
device          ppc
device          ppbus           #Parallel port bus (required)
device          lpt             #Printer

# PCI Ethernet NICs.
device          miibus
device          de              #DEC/Intel DC21x4x (``Tulip'')
device          rl              #RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocated.
device          loop            #Network loopback
device          ether           #Ethernet support
device          tun             #Packet tunnel.
device          pty             #Pseudo-ttys (telnet etc)
device          gif     4       #IPv6 and IPv4 tunneling
device          faith           #for IPv6 and IPv4 translation
device          random
#options        RANDOM_IP_ID

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             #Berkeley packet filter
options         PPP_FILTER      #Enable bpf filtering (needs bpf)

# USB support
device          uhci            #UHCI PCI->USB interface
device          usb             #USB Bus (required)
device          ukbd            #Keyboard
device          ums             #Mouse

# Sound
device          pcm
device          sbc
#device         midi
#device         seq

device          smbus
device          iicbus
device          iicbb
device          intpm
device          smb
device          ichsmb

device          bktr    1       #Brooktree BT848 support
options         BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL

device          tdfx            #Enable 3Dfx Voodoo support
options         TDFX_LINUX      #Enable Linuxulator support

# pmtimer: Timer device driver for power management events (APM or ACPI)
device          pmtimer                 #Adjust system timer at wakeup time

Reply via email to