From owner-freebsd-stable Mon Jan 8 4: 6:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from apotheosis.org.za (apotheosis.org.za [137.158.128.27]) by hub.freebsd.org (Postfix) with ESMTP id 6143637B400 for ; Mon, 8 Jan 2001 04:05:41 -0800 (PST) Date: Mon, 8 Jan 2001 14:05:21 +0200 From: Matthew West To: stable@freebsd.org Subject: page faults on FreeBSD 4.2-STABLE Message-ID: <20010108140521.A23828@apotheosis.org.za> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have a 4.2-STABLE machine which had been running fine until a recent cvsup and make world. The previous version was from around early December. FreeBSD 4.2-STABLE #0: Sun Jan 7 23:03:17 SAST 2001 The machine catches a trap 12 now and then, but I seem to be able to raise the chances significantly by running gimp-1.2 (installed from ports) - very strange. I'm running a vinum mirror volume with softupdates _disabled_ on the vinum volume. Here's the output from a crash dump: (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 SMP 2 cpus IdlePTD 3031040 initial pcb at 265940 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 01000002; cpuid = 1; lapic.id = 00000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01f2cbb stack pointer = 0x10:0xe53dfef8 frame pointer = 0x10:0xe53dff04 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 = 499 (gimp) interrupt mask = net tty bio cam <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000002; cpuid = 1; lapic.id = 00000000 boot() called on cpu#1 syncing disks... 32 done Uptime: 4m43s dumping to dev #da/0x20029, offset 128 dump 1023 1022 1021 1020 1019 1018 1017 1016 1015 1014 1013 1012 1011 1010 1009 1008 1007 1006 1005 1004 1003 1002 1001 1000 999 998 997 996 995 994 993 [ ... ] 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at ../../kern/kern_shutdown.c:469 469 if (dumping++) { (kgdb) bt #0 dumpsys () at ../../kern/kern_shutdown.c:469 #1 0xc0145c0b in boot (howto=256) at ../../kern/kern_shutdown.c:309 #2 0xc0145fbc in poweroff_wait (junk=0xc024300f, howto=-449438752) at ../../kern/kern_shutdown.c:556 #3 0xc021a20f in trap_fatal (frame=0xe53dfeb8, eva=0) at ../../i386/i386/trap.c:951 #4 0xc0219ea5 in trap_pfault (frame=0xe53dfeb8, usermode=0, eva=0) at ../../i386/i386/trap.c:844 #5 0xc0219a3f in trap (frame={tf_fs = 24, tf_es = -449445872, tf_ds = -1012662256, tf_edi = 0, tf_esi = 0, tf_ebp = -448921852, tf_isp = -448921884, tf_ebx = -1014879872, tf_edx = 0, tf_ecx = 16777217, tf_eax = 411, tf_trapno = 12, tf_err = 0, tf_eip = -1071698757, tf_cs = 8, tf_eflags = 66054, tf_esp = 138129408, tf_ss = -449438752}) at ../../i386/i386/trap.c:443 #6 0xc01f2cbb in zalloci (z=0xc3822980) at ../../vm/vm_zone.h:87 #7 0xc0154733 in pipe (p=0xe5361be0, uap=0xe53dff80) at ../../vm/vm_zone.h:117 #8 0xc021a4d9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937480, tf_esi = 137187616, tf_ebp = -1077938004, tf_isp = -448921644, tf_ebx = 138129408, tf_edx = 136032223, tf_ecx = 137487536, tf_eax = 42, tf_trapno = 22, tf_err = 2, tf_eip = 675698356, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938064, tf_ss = 47}) at ../../i386/i386/trap.c:1150 #9 0xc020899b in Xint0x80_syscall () cannot read proc at 0 Any ideas? I've included /var/run/dmesg.boot and my kernel configuration file as attachments. -- mwest@uct.ac.za --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot" 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.2-STABLE #0: Sun Jan 7 23:03:17 SAST 2001 mwest@casper2.cs.uct.ac.za:/usr/src/sys/compile/CASPER2 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (547.18-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387fbff real memory = 1073676288 (1048512K bytes) avail memory = 1042120704 (1017696K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02c5000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pcib3: at device 15.0 on pci1 pci2: on pcib3 ahc0: port 0x2000-0x20ff mem 0xf4100000-0xf4100fff irq 19 at device 12.0 on pci0 aic7896/97: Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0x2400-0x24ff mem 0xf4101000-0xf4101fff irq 19 at device 12.1 on pci0 aic7896/97: Wide Channel B, SCSI Id=7, 32/255 SCBs fxp0: port 0x2800-0x283f mem 0xf4000000-0xf40fffff,0xf4102000-0xf4102fff irq 21 at device 14.0 on pci0 fxp0: Ethernet address 00:90:27:e0:6c:d7 isab0: at device 18.0 on pci0 isa0: on isab0 pci0: at 18.1 pci0: at 18.2 irq 21 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x1040-0x104f at device 18.3 on pci0 pci0: at 20.0 pcib1: on motherboard pci3: on pcib1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default Waiting 2 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! pass3 at ahc0 bus 0 target 6 lun 0 pass3: Fixed Processor SCSI-2 device pass3: 3.300MB/s transfers Mounting root from ufs:/dev/da5s1a da5 at ahc1 bus 0 target 0 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 20.000MB/s transfers (20.000MHz, offset 15) da5: 4340MB (8888924 512 byte sectors: 64H 32S/T 4340C) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) WARNING: / was not properly dismounted vinum: loaded vinum: reading configuration from /dev/da1e vinum: updating configuration from /dev/da2s1e vinum: updating configuration from /dev/da0e --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=CASPER2 machine i386 cpu I686_CPU ident CASPER2 maxusers 512 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 NFS #Network Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 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 ICMP_BANDLIM #Rate limit bad replies options QUOTA #enable disk quotas options TCP_RESTRICT_RST #restrict emission of TCP RST #options DDB # ipfirewall options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about dropped packets options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity # 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 eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus0 # SCSI bus (required) device scbus1 # SCSI bus (required) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) device da0 at scbus0 target 0 device da1 at scbus0 target 1 device da2 at scbus0 target 2 device da3 at scbus0 target 3 device da4 at scbus0 target 4 device da5 at scbus1 target 0 # 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 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 # PCI Ethernet NICs. device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter --HcAYCG3uE/tztfnV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message