From owner-freebsd-stable@FreeBSD.ORG Wed Apr 9 03:05:21 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DD9937B401 for ; Wed, 9 Apr 2003 03:05:21 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25A943FB1 for ; Wed, 9 Apr 2003 03:05:20 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0033.cvx22-bradley.dialup.earthlink.net ([209.179.198.33] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 193CSF-0005mS-00 for stable@freebsd.org; Wed, 09 Apr 2003 03:05:20 -0700 Message-ID: <3E93F011.71D7801@mindspring.com> Date: Wed, 09 Apr 2003 03:04:01 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4c24407b099e13de909f9dd3efba89a77548b785378294e88350badd9bab72f9c350badd9bab72f9c Subject: Serious VM issues in 4.7, 4.8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 10:05:21 -0000 In FreeBSD 4.7 and 4.8, the code for vm_object_allocate() in the file /usr/src/sys/vm/vm_object.c looks like: > 232 vm_object_t > 233 vm_object_allocate(type, size) > 234 objtype_t type; > 235 vm_size_t size; > 236 { > 237 vm_object_t result; > 238 > 239 result = (vm_object_t) zalloc(obj_zone); > 240 > 241 _vm_object_allocate(type, size, result); > 242 > 243 return (result); > 244 } A number of users appear to be encountering an error in which the zalloc() appears to be returning NULL, instead of hanging until the sun goes nova like it should. The resulting NULL is passed down to _vm_object_allocate(), and causes a trap 12 in the TAILQ_INIT() there, where "object" ("result") is dereferenced. This appears to be a result of some of the zone allocator changes which were back-ported after 4.6, and/or the result of the KVA space moving from 1G to 2G on small memory machines. I don't know what to do about this, and I can't personally repeat it, but I'm reporting the problem to the -STABLE list, which I don't usually follow, except via the archives (Cc: me directly, if you want to ask a question on the list and have me see it before a week or two goes by). One of the people having this problem is: Christopher Smith He is seeing it on 4.7-RELEASE. I've told him to look at moving to 4.8-RELEASE to allow him to convince this list to look at trying to fix it, but the code is the same in both releases, so I expect his problem will persist. He has a copy of my analysis, so far. -- Terry