From owner-freebsd-current@FreeBSD.ORG Sat Jun 19 07:21:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 813DC16A4CE for ; Sat, 19 Jun 2004 07:21:49 +0000 (GMT) Received: from static.ninja-assassin.com (noonelikesyou.net [69.13.116.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2960A43D2D for ; Sat, 19 Jun 2004 07:21:47 +0000 (GMT) (envelope-from static@ninja-assassin.com) Received: from localhost (static.ninja-assassin.com [69.13.116.3]) by static.ninja-assassin.com (Postfix) with ESMTP id 4CD754145E for ; Sat, 19 Jun 2004 02:21:38 -0500 (CDT) Date: Sat, 19 Jun 2004 02:21:38 -0500 (CDT) From: Static To: current@freebsd.org Message-ID: <20040619011759.J92183@static.ninja-assassin.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Sat, 19 Jun 2004 12:07:10 +0000 Subject: npxdna causing kernel traps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 07:21:49 -0000 Hello List, Thought I'd quick bounce this off the list before I submitted a bug report. I have a fresh install of 5.2.1 which i then upgraded to -current. I'm now getting the following message scrolling on the console kernel trap 22 with interrupts disabled kernel: npxdna: fpcurthread == curthread X times Where X is N+1. Eventually I get a kernel panic and the machine has to be rebooted. I get this in a custom kernel as well as GENERIC. This is with the src from Midnight CDT. Generic kernel spits out watchdog noticed and the network doesn't work both with and without ACPI, but that's for another email. here's my info. The trap info is simliar every time and happens while I'm building ports. The one below is when I was running `make clean` Thank you Rob Info: Homer# uname -a FreeBSD Homer.noonelikesyou.net 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Fri Jun 18 23:47:42 CDT 2004 static@Homer.noonelikesyou.net:/usr/src/sys/i386/compile/KERNEL i386 machine i386 cpu I686_CPU ident KERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE 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 CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 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 AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options PFIL_HOOKS # pfil(9) framework device isa device eisa device pci # 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 # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse 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 # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # 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 xl # RealTek 8129/8139 device vr # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter options SC_KERNEL_CONS_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_ATTR="(FG_RED|BG_BLACK)" options NETSMB #SMB/CIFS requester options NETSMBCRYPTO #encrypted password support for SMB options LIBMCHAIN #mbuf management library options LIBICONV options SMBFS options VESA options MAXMEM="(256*1024)" makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options DDB # Enable the kernel debugger trap: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x100 fault code = supervisor read, page not present instruction pointer = 0x8:0xc05ce9c4 stack pointer = 0x10:0xcc598a9c` frame pointer = 0x10:0xcc598a9c` code segment = base 0x0, limit 0xfffff, type 0x1b = DPL, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 54139 (make) kernel: type 12 trap, code=0 Stopped at npxdrop+0x20: movl 0x100(%eax),%eax db> trace npxdrop(cc598d48,cc598ac4,c05c1c68,c1122dc0,48) at npxdrop+0x20 fpstate_drop(c1122dc0,48,c14c0400,cc598b8c,0) at fpstate_drop+0x31 exec_setregs(c1122dc0,80480b8,bfbfebf8,0,20) at exec_setregs+0xf8 kern_execve(c1122dc0,8069644,80695b4,80695c4,0) at kern_execve+0xb81 execve(c1122dc0,cc598d14,c,c1122dc0,3) at execve+0x18 syscall(2f,2f,2f,0,0) at syscall+0x1d0 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (0, FreeBSD ELF32, nosys), eip=0x80480b8, esp=0bfbfebf8,ebp = 0 --- db>examine npxdrop+0x20 db>print c05ce9c4