From owner-freebsd-current@FreeBSD.ORG Mon Jan 23 08:15:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 8280216A41F for ; Mon, 23 Jan 2006 08:15:28 +0000 (GMT) (envelope-from dunstan@zsno.ids.czest.pl) Received: from zsno.ids.czest.pl (zsno.ids.czest.pl [212.87.237.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADFB343D48 for ; Mon, 23 Jan 2006 08:15:27 +0000 (GMT) (envelope-from dunstan@zsno.ids.czest.pl) Received: from zsno.ids.czest.pl (localhost [127.0.0.1]) by zsno.ids.czest.pl (8.13.4/8.13.3) with ESMTP id k0N9tEG3095192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2006 10:55:14 +0100 (CET) (envelope-from dunstan@zsno.ids.czest.pl) Received: (from dunstan@localhost) by zsno.ids.czest.pl (8.13.4/8.13.3/Submit) id k0N9tDdD095191; Mon, 23 Jan 2006 10:55:13 +0100 (CET) (envelope-from dunstan) Date: Mon, 23 Jan 2006 10:55:13 +0100 From: "Wojciech A. Koszek" To: Pawel Worach Message-ID: <20060123095513.GA95040@zsno.ids.czest.pl> References: <1137681189.672.4.camel@localhost> <20060120105424.m384aenq0ck4g088@netchild.homeip.net> <1137942552.893.4.camel@localhost> <43D3BAE9.6080501@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <43D3BAE9.6080501@gmail.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (zsno.ids.czest.pl [127.0.0.1]); Mon, 23 Jan 2006 10:55:14 +0100 (CET) X-Spam-Status: No, score=-2.8 required=4.0 tests=ALL_TRUSTED autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on zsno.ids.czest.pl X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on zsno.ids.czest.pl X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: panic: kmem_malloc(171642880): kmem_map too small: 31387648 total allocated X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 23 Jan 2006 08:15:28 -0000 On Sun, Jan 22, 2006 at 08:03:52AM +0000, Pawel Worach wrote: > Stefan Ehmann wrote: > > I had similar problems. removing atatpicam fixed this. > > > > Also I could run a buildworld without a panic. Might be only by chance > > though (don't know how easily the panic was reproducible). > > > > I have a similar panic here, seems like ATAPICAM finds a bogus CD in the > drive and then GEOM_ELI tries to taste it. > > cd0@ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: \M-@:\M-W\M-D\^P > > panic: kmem_malloc(536870912): kmem_map too small: 14929920 total allocated > KDB: stack backtrace: > kdb_backtrace(c071ee05,c0774e20,c072fcb3,e35a85ac,100)@kdb_backtrace+0x2e > panic(c072fcb3,20000000,e3d000,e35a85dc,c070cfed)@panic+0xb7 > kmem_malloc(c104c0a8,20000000,2,e35a862c,c068e532)@kmem_malloc+0xab > page_alloc(0,20000000,e35a861f,2,c56d47bc)@page_alloc+0x27 > uma_large_malloc(20000000,2,e35a8650,c04ead43,20000000)@ > uma_large_malloc+0x52malloc(20000000,c0746c80,2,0,c56ef9c0)@malloc+0x9e > g_read_data(c56ef9c0,0,200000,20000000,0)@g_read_data+0x50 > g_eli_read_metadata(c0746980,c56e0600,e35a8a7c,c0719b38,c56e0658)@ > g_eli_read_metadata+0xe1 > g_eli_taste(c0746980,c56e0600,0,c56e0700,4)@g_eli_taste+0xdc > g_new_provider_event(c56e0600,0,0,c072c28d,0)@g_new_provider_event+0x7a > one_event(66666667,c4aa1bd0,0,e35a8d00,c04eb955)@one_event+0x219 > g_run_events(c0772c90,0,4c,c072c28d,64)@g_run_events+0x15 > g_event_procbody(0,e35a8d38,0,0,0)@g_event_procbody+0x85 > fork_exit(c04eb8d0,0,e35a8d38)@fork_exit+0x7f > fork_trampoline()@fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xe35a8d6c, ebp = 0 --- > Uptime: 16m5s > Dumping 1023 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 1023MB (261728 pages) 1007 991 975 959 943 927 911 895 879 > 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 > 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 > 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 > > #0 doadump ()@pcpu.h:166 > 166 pcpu.h: No such file or directory. > in pcpu.h [..] I have had similar problem on my laptop few weeks ago, ASUS A4D. Unfortunately I didn't have opportunity to obtain more information. Although I don't have dmesg -v output, traces are here: http://zsno.ids.czest.pl/~dunstan/FreeBSD/kmem01.log http://zsno.ids.czest.pl/~dunstan/FreeBSD/kmem02.log Some information about an environment: FreeBSD-CURRENT from the middle of December, filesystem with softupdates, snapshots, ACLs, MAC enabled. My case was somehow different: I was able to build world, but system got a panic while starting X environment. -- * Wojciech A. Koszek &&