From owner-freebsd-hackers Wed Nov 12 15:38:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA20718 for hackers-outgoing; Wed, 12 Nov 1997 15:38:47 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from burka.carrier.kiev.ua ([195.145.31.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA20615 for ; Wed, 12 Nov 1997 15:38:14 -0800 (PST) (envelope-from archer@grape.carrier.kiev.ua) Received: from sivka.carrier.kiev.ua (root@sivka.carrier.kiev.ua [193.193.193.101]) by burka.carrier.kiev.ua (8.8.6/8.Who.Cares) with ESMTP id BAA25563 for ; Thu, 13 Nov 1997 01:05:35 +0200 (EET) Received: from bucefal.carrier.kiev.ua (bucefal.carrier.kiev.ua [193.193.193.110]) by sivka.carrier.kiev.ua (8.8.7/8.8.7) with ESMTP id BAA08017 for ; Thu, 13 Nov 1997 01:05:36 +0200 (EET) Received: (from uucp@localhost) by bucefal.carrier.kiev.ua (8.8.6/8.8.6/8.Who.Cares) with UUCP id BAA17798 for hackers@freebsd.org; Thu, 13 Nov 1997 01:05:02 +0200 (EET) Received: (from archer@localhost) by grape.carrier.kiev.ua (8.8.7/8.8.7) id AAA00743; Thu, 13 Nov 1997 00:48:51 +0200 (EET) Message-ID: <19971113004848.26628@grape.carrier.kiev.ua> Date: Thu, 13 Nov 1997 00:48:48 +0200 From: Alexander Litvin To: hackers@freebsd.org Subject: 2.2-stable, panic Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, hackers! It's not the first time I'm asking here for some help. Though before I haven't received substantial assistance, where else can I ask for it? So, again, sorry for bothering you. That's 2.2.5-STABLE, CVSupped and built at November 11. P-II 266Mhz, ASUS P2L97 MB, 128M RAM, Adaptec 2940U, 3 IBM DCAS-34330W SCSI drives (ccd'ed), Intel EtherExpress ethernet (100M). Proxy server. May be, I just miss something? There was a message about PMAP_SHPGPERPROC, though I'm not sure if it is what hits me. Below I tried to provide as much info as I can imagine is necessary. Crash dump is still available, so I can examine it further. Alexander Litvin P.S. Not directly connected to the topic, but the wierd thing happened with the same box once. I noticed that there were two usless devices in kernel - ed0 and ed1 (left there from kernel config made from GENERIC). I decided that it was time to get rid of them, and rebuild kernel without ed0/ed1. But when a box came up and squid started, in a minute it was in a state then ping gave "No buffer space available"! ifconfig down/up helped for a 5-10 seconds, then it repeated :( I decided to put that ed0/ed1 back, and the problem dissappiared. There you still can see that dummy ed0/1 in dmesg output :-\ ----------------------------------------------------------------------------- bash# dmesg Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-STABLE #0: Wed Nov 12 20:02:39 EET 1997 archer@zebra.carrier.kiev.ua:/usr/local/squid/src/sys/compile/zebra.s CPU: Pentium Pro (267.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping=3 Features=0x80f9ff,MTRR,PGE,MCA,CMOV> real memory = 134217728 (131072K bytes) avail memory = 129732608 (126692K bytes) Probing for devices on PCI bus 0: chip0 rev 3 on pci0:0 chip1 rev 3 on pci0:1 chip2 rev 1 on pci0:4:0 pci0:4:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver assigned] pci0:4:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d irq 11 [no driver assigned] chip3 rev 1 on pci0:4:3 fxp0 rev 1 int a irq 12 on pci0:10 fxp0: Ethernet address 00:a0:c9:1c:a3:3f vga0 rev 227 int a irq 14 on pci0:11 ahc0 rev 0 int a irq 15 on pci0:12 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs (ahc0:0:0): "IBM DCAS-34330W S61A" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 4134MB (8467200 512 byte sectors) sd0(ahc0:0:0): with 8205 cyls, 6 heads, and an average 171 sectors/track (ahc0:1:0): "IBM DCAS-34330W S61A" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 4134MB (8467200 512 byte sectors) sd1(ahc0:1:0): with 8205 cyls, 6 heads, and an average 171 sectors/track (ahc0:2:0): "IBM DCAS-34330W S61A" type 0 fixed SCSI 2 sd2(ahc0:2:0): Direct-Access 4134MB (8467200 512 byte sectors) sd2(ahc0:2:0): with 8205 cyls, 6 heads, and an average 171 sectors/track Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 sio0 not found at 0x3f8 fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 fdc0 not found at 0x3f0 npx0 flags 0x7 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers ----------------------------------------------------------------------------- bash# gdb -k GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc. (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 IdlePTD 1c3000 current pcb at 1ac980 panic: page fault #0 boot (howto=260) at ../../kern/kern_shutdown.c:266 266 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=260) at ../../kern/kern_shutdown.c:266 #1 0xf01116e2 in panic (fmt=0xf017b84f "page fault") at ../../kern/kern_shutdown.c:390 #2 0xf017c3b6 in trap_fatal (frame=0xf01a0d18) at ../../i386/i386/trap.c:742 #3 0xf017bea4 in trap_pfault (frame=0xf01a0d18, usermode=0) at ../../i386/i386/trap.c:653 #4 0xf017bb7f in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -202662272, tf_ebp = -266728092, tf_isp = -266728128, tf_ebx = -201014528, tf_edx = 0, tf_ecx = -206575104, tf_eax = -200789120, tf_trapno = 12, tf_err = 0, tf_eip = -267186362, tf_cs = 8, tf_eflags = 66118, tf_esp = 0, tf_ss = -201014528}) at ../../i386/i386/trap.c:311 #5 0xf0130f46 in vget (vp=0xf404c300, lockflag=1) at ../../kern/vfs_subr.c:817 #6 0xf015cd3c in ffs_sync (mp=0xf3b07400, waitfor=2, cred=0xf20ad880, p=0xf01b7ab4) at ../../ufs/ffs/ffs_vfsops.c:819 #7 0xf0132407 in sync (p=0xf01b7ab4, uap=0x0, retval=0x0) at ../../kern/vfs_syscalls.c:360 #8 0xf01112ed in boot (howto=256) at ../../kern/kern_shutdown.c:199 #9 0xf01116e2 in panic (fmt=0xf017b84f "page fault") at ../../kern/kern_shutdown.c:390 #10 0xf017c3b6 in trap_fatal (frame=0xf01a0e9c) at ../../i386/i386/trap.c:742 #11 0xf017bea4 in trap_pfault (frame=0xf01a0e9c, usermode=0) at ../../i386/i386/trap.c:653 #12 0xf017bb7f in trap (frame={tf_es = -233046000, tf_ds = 16, tf_edi = -234080244, tf_esi = 1103282625, tf_ebp = -266727700, tf_isp = -266727740, tf_ebx = 60, tf_edx = 37648, tf_ecx = -206539140, tf_eax = 124, tf_trapno = 12, tf_err = 0, tf_eip = -267116173, tf_cs = 8, tf_eflags = 66070, tf_esp = 40, tf_ss = 0}) at ../../i386/i386/trap.c:311 #13 0xf0142173 in in_pcblookuphash (pcbinfo=0xf01b80f4, faddr={ s_addr = 1103282625}, fport_arg=37648, laddr={s_addr = 1640088001}, lport_arg=14348, wildcard=1) at ../../netinet/in_pcb.c:677 #14 0xf0147091 in tcp_input (m=0xf2155500, iphlen=20) at ../../netinet/tcp_input.c:362 #15 0xf0143bd4 in ip_input (m=0xf2155500) at ../../netinet/ip_input.c:564 #16 0xf0143c4c in ipintr () at ../../netinet/ip_input.c:585 ------------------------------------------------------------------------ machine "i386" ident zerba maxusers 160 options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" options FAILSAFE options INCLUDE_CONFIG_FILE # Include this file in kernel config kernel root on sd0 dumps on sd0 cpu "I686_CPU" # aka Pentium Pro(tm) options "COMPAT_43" options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options INET #Internet communications protocols pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device options FFS #Fast filesystem options PROCFS #Process filesystem options NSWAPDEV=4 options QUOTA #enable disk quotas controller scbus0 #base SCSI code device sd0 #SCSI disks options SCSI_REPORT_GEOMETRY pseudo-device pty 32 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device log #Kernel syslog interface (/dev/klog) pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. pseudo-device ccd 4 #Concatenated disk driver controller isa0 options "MAXMEM=(128*1024)" options BROKEN_KEYBOARD_RESET device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options MAXCONS=16 # number of virtual consoles device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x7 irq 13 vector npxintr controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr controller pci0 controller ahc0 device fxp0 device vx0