"fast data access mmu miss" on kernels w/o "makeoptions DEBUG=-g"
John Nielsen
john at jnielsen.net
Thu Aug 11 13:31:35 GMT 2005
Can anyone say why removing "makeoptions DEBUG=-g" from a kernel would make
it unreliable? I'm on an Ultra 5, and it's quite stable with either
GENERIC or the kernel specified below. However, commenting out the
"makeoptions DEBUG=-g" line builds a kernel that boots but then panics
right after mounting /:
Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: fast data
access mmu miss
Uptime:2s
Dumping 512 MB (2 chunks)
...
Here is the kernel config file (although the same thing happens on GENERIC
sans the makeoptions line):
machine sparc64
cpu SUN4U
ident MOON
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
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 NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
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_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
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 ADAPTIVE_GIANT # Giant mutex is adaptive.
# Standard busses
device ebus
device isa
device pci
device sbus
device central
device fhc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
# syscons is the default console driver, resembling an SCO console
device sc
device machfb # ATI Mach64 framebuffers
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
# Builtin hardware
device auxio # auxiliary I/O device
device clkbrd # Clock Board (blinkenlight on Sun Exx00)
device genclock # Generic clock interface
device eeprom # eeprom (really a front-end for the MK48Txx)
device mk48txx # Mostek MK48Txx clocks
device rtc # rtc (really a front-end for the MC146818)
device mc146818 # Motorola MC146818 and compatible clocks
# Serial (COM) ports
device uart # Multi-uart driver
device puc # Multi-channel uarts
# 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 fxp # Intel EtherExpress PRO/100B (82557, 82558)
device hme # Sun HME (Happy Meal Ethernet)
device rl # RealTek 8129/8139
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device tap
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device bpf # Berkeley packet filter
device snp
options IPFIREWALL
options IPFIREWALL_FORWARD
options DUMMYNET
options HZ=500
options LIBMCHAIN
options LIBICONV
options NETSMB
options NETSMBCRYPTO
options SMBFS
options SC_HISTORY_SIZE=2000
Thanks,
JN
More information about the freebsd-sparc64
mailing list