From owner-freebsd-current Mon Oct 7 3:42:58 2002 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 4638537B401 for ; Mon, 7 Oct 2002 03:42:55 -0700 (PDT) Received: from uucp.nl.uu.net (uucp.nl.uu.net [193.79.237.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9415743E6E for ; Mon, 7 Oct 2002 03:42:54 -0700 (PDT) (envelope-from ben@stuyts.nl) Received: from stuyts by uucp.nl.uu.net with UUCP id ; Mon, 7 Oct 2002 09:30:39 +0000 Received: from lodovik.stuyts.nl (lodovik.stuyts.nl [193.78.231.31]) by stuyts.nl (8.12.6/8.12.6) with ESMTP id g979UBsR010772 for ; Mon, 7 Oct 2002 11:30:11 +0200 (CEST) (envelope-from ben@stuyts.nl) Message-Id: <4.3.2.7.2.20021007112408.02038ff0@terminus> X-Sender: ben@terminus X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 07 Oct 2002 11:30:15 +0200 To: current@FreeBSD.org From: Ben Stuyts Subject: Re: panic: kmem_malloc(4096): kmem_map too small In-Reply-To: <200210060706.g9676QAO040736@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, At 09:06 06/10/2002, Mikhail Teterin wrote: >... 218222592 total allocated > >this machine has a total of 512Mb of RAM, and no swap. >No X was running. Just ``cvs update''-ing. I got this also a couple of times over the last week. It would panic every few days with this same message. I cvsupped/rebuilt 5 Oct, but it's only up for 14 hours. In any case, here's my dmesg. Also note the 'could sleep' warnings for if_xl. They have been there for over half a year I think. I've reported them before. There's also a duplicate lock in udp_usrreq that's new to me. Copyright (c) 1992-2002 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 5.0-CURRENT #5: Sun Oct 6 01:50:54 CEST 2002 root@terminus.stuyts.nl:/var/obj/usr/src/sys/TERMINUS Preloaded elf kernel "/boot/kernel/kernel" at 0xc04dc000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233865126 Hz CPU: Pentium II/Pentium II Xeon/Celeron (233.87-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 67108864 (65536K bytes) avail memory = 59920384 (58516K bytes) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface Using $PIR table, 6 entries at 0xc00fdc00 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 atapci0: Busmastering DMA not supported ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x6400-0x641f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) sym0: <875> port 0x6800-0x68ff mem 0xe8000000-0xe8000fff,0xe8001000-0xe80010ff irq 12 at device 11.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x6c00-0x6c3f irq 9 at device 13.0 on pci0 /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:1264 /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:1264 lock order reversal 1st 0xc0ba1bd4 xl0 (network driver) @ /usr/src/sys/pci/if_xl.c:1264 2nd 0xc03d2b00 allproc (allproc) @ /usr/src/sys/kern/kern_fork.c:318 /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:1264 /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:1264 /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:1264 xl0: Ethernet address: 00:60:08:a5:d4:ff miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto /usr/src/sys/vm/uma_core.c:1307: could sleep with "xl0" locked from /usr/src/sys/pci/if_xl.c:647 pci0: at device 15.0 (no driver attached) orm0: