From owner-freebsd-stable Fri Oct 5 19:25:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mozone.net (mail.mozone.net [206.165.200.53]) by hub.freebsd.org (Postfix) with ESMTP id 7DE4737B403 for ; Fri, 5 Oct 2001 19:25:03 -0700 (PDT) Received: (from mki@localhost) by mozone.net (8.11.2/8.11.2) id f962OwJ21137 for stable@freebsd.org; Fri, 5 Oct 2001 19:24:58 -0700 Date: Fri, 5 Oct 2001 19:24:58 -0700 From: mki To: stable@freebsd.org Subject: panic in 4.4-stable (10/01 snap); help needed Message-ID: <20011005192458.G1671@cyclonus.mozone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, A couple of my machines have panic'd (rather randomly it seems) but on one of them, I was able to get a dump. The stack trace is included below, if anyone can help, it'd be greatly appreciated (on the machine below, there were no nfs mount points). thanks -mohan gdb -k kernel.debug /var/crash/vmcore.0 GNU gdb 4.18 ... ... SMP 2 cpus IdlePTD 3420160 initial pcb at 2b5600 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 fault virtual address = 0x1e fault code = supervisor read, page not present instruction pointer = 0x8:0xc01adac6 stack pointer = 0x10:0xfbaa1d48 frame pointer = 0x10:0xfbaa1df0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 215 (squid) interrupt mask = <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks... 8 done Uptime: 2d13h20m32s dumping to dev #ad/0x20001, offset 8126464 dump ata0: resetting devices .. done ... ... (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:473 #1 0xc0152a9f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:313 #2 0xc0152ea0 in poweroff_wait (junk=0xc0289e59, howto=-1071081169) at /usr/src/sys/kern/kern_shutdown.c:581 #3 0xc024f8ac in trap_fatal (frame=0xfbaa1d08, eva=30) at /usr/src/sys/i386/i386/trap.c:956 #4 0xc024f53d in trap_pfault (frame=0xfbaa1d08, usermode=0, eva=30) at /usr/src/sys/i386/i386/trap.c:849 #5 0xc024f0db in trap (frame={tf_fs = -754974696, tf_es = -72744944, tf_ds = -72744944, tf_edi = -66031872, tf_esi = 0, tf_ebp = -72737296, tf_isp = -72737484, tf_ebx = 10, tf_edx = 5, tf_ecx = -72737244, tf_eax = 10, tf_trapno = 12, tf_err = 0, tf_eip = -1071981882, tf_cs = 8, tf_eflags = 66054, tf_esp = -752278720, tf_ss = -66031872}) at /usr/src/sys/i386/i386/trap.c:448 #6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0, cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228 #7 0xc01ade3c in nqnfs_vop_lease_check (ap=0xfbaa1e64) at /usr/src/sys/nfs/nfs_nqlease.c:366 #8 0xc017d48d in vop_defaultop (ap=0xfbaa1e64) at /usr/src/sys/kern/vfs_default.c:150 #9 0xc0209971 in ufs_vnoperate (ap=0xfbaa1e64) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2382 #10 0xc0187423 in vn_read (fp=0xd3292340, uio=0xfbaa1ed4, cred=0xd2ad8800, flags=0, p=0xf1884c20) at vnode_if.h:392 #11 0xc016123c in dofileread (p=0xf1884c20, fp=0xd3292340, fd=727, buf=0x10715000, nbyte=4096, offset=-1, flags=0) at /usr/src/sys/sys/file.h:146 #12 0xc0161102 in read (p=0xf1884c20, uap=0xfbaa1f80) at /usr/src/sys/kern/sys_generic.c:117 #13 0xc024fbd5 in syscall2 (frame={tf_fs = -1078001617, tf_es = 47, tf_ds = -1078001617, tf_edi = 727, tf_esi = 0, tf_ebp = -1078199848, tf_isp = -72736812, tf_ebx = 1709052004, tf_edx = 306994816, tf_ecx = 1709044064, tf_eax = 3, tf_trapno = 532520, tf_err = 2, tf_eip = 1708770552, tf_cs = 31, tf_eflags = 643, tf_esp = -1078199892, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1155 #14 0xc023d8ab in Xint0x80_syscall () cannot read proc at 0 (kgdb) frame 6 #6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0, cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228 228 if (lp != 0) { (kgdb) print lp $33 = (struct nqlease *) 0x40000000 (kgdb) ## $Id$ machine i386 cpu I686_CPU ident CDS maxusers 192 options NMBCLUSTERS=65534 options MAXDSIZ="(1500*1024*1024)" options MAXSSIZ="(512*1024*1024)" options DFLDSIZ="(1500*1024*1024)" makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev # SYSV-style message queue specific settings options MSGMNB=16384 # max # of bytes in a queue options MSGMNI=41 # number of message queue identifiers options MSGSEG=2049 # number of message segments options MSGSSZ=64 # size of a message segment options MSGTQL=512 # max messages in system # Misc options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device sym # NCR/Symbios Logic (newer chipsets) options SYM_SETUP_LP_PROBE_MAP=0x40 # Allow ncr to attach legacy NCR devices when # both sym and ncr are configured # 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) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device ppi # Parallel port interface device # 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 wx # Intel Gigabit Ethernet Card (``Wiseman'') device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #0: Mon Oct 1 16:47:25 MST 2001 root@nfs:/usr/obj/usr/src/sys/CDS Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1004.26-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff real memory = 4227858432 (4128768K bytes) avail memory = 4119920640 (4023360K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0324000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 13 entries at 0xc00f4cb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #1 intpin 13 -> irq 2 IOAPIC #1 intpin 14 -> irq 5 IOAPIC #1 intpin 15 -> irq 9 pci0: on pcib0 fxp0: port 0xde80-0xdebf mem 0xfe300000-0xfe3fffff,0xfe6fc000-0xfe6fcfff irq 2 at device 7.0 on pc i0 fxp0: Ethernet address 00:20:ed:13:4a:8c inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xdf00-0xdf3f mem 0xfe500000-0xfe5fffff,0xfe6fd000-0xfe6fdfff irq 5 at device 8.0 on pc i0 fxp1: Ethernet address 00:20:ed:13:4a:8d inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 9.0 irq 9 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib1: on motherboard IOAPIC #1 intpin 10 -> irq 10 IOAPIC #1 intpin 11 -> irq 11 pci1: on pcib1 sym0: <1010-66> port 0xe000-0xe0ff mem 0xfebf8000-0xfebf9fff,0xfebff400-0xfebff7ff irq 10 at device 4.0 on pci1 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <1010-66> port 0xe400-0xe4ff mem 0xfebfa000-0xfebfbfff,0xfebff800-0xfebffbff irq 11 at device 4.1 on pci1 sym1: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. orm0: