From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 11 13:31:35 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13D8716A420 for ; Thu, 11 Aug 2005 13:31:35 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD1C943D45 for ; Thu, 11 Aug 2005 13:31:34 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from localhost (ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id j7BDVWsh024007 for ; Thu, 11 Aug 2005 06:31:34 -0700 (PDT) (envelope-from john@jnielsen.net) From: John Nielsen To: freebsd-sparc64@freebsd.org Date: Thu, 11 Aug 2005 09:31:13 -0400 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508110931.13802.john@jnielsen.net> X-Virus-Scanned: ClamAV 0.85.1/1011/Tue Aug 9 02:20:28 2005 on ns1.jnielsen.net X-Virus-Status: Clean Subject: "fast data access mmu miss" on kernels w/o "makeoptions DEBUG=-g" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 13:31:35 -0000 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