From owner-freebsd-current@FreeBSD.ORG Sun Jun 26 23:43:02 2005 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 80DCD16A41C for ; Sun, 26 Jun 2005 23:43:02 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B58A43D48 for ; Sun, 26 Jun 2005 23:43:01 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.4/8.13.1) with ESMTP id j5QNgWKt024252; Sun, 26 Jun 2005 16:42:32 -0700 (PDT) (envelope-from eta@lclark.edu) Received: (from anholt@localhost) by leguin.anholt.net (8.13.4/8.13.1/Submit) id j5QNgPiO024251; Sun, 26 Jun 2005 16:42:25 -0700 (PDT) (envelope-from eta@lclark.edu) X-Authentication-Warning: leguin.anholt.net: anholt set sender to eta@lclark.edu using -f From: Eric Anholt To: Martin Cracauer In-Reply-To: <20050626191956.A59922@cons.org> References: <20050617173008.A11142@cons.org> <20050617194638.A13394@cons.org> <20050617.233055.41723867.imp@bsdimp.com> <200506241641.25433.jhb@FreeBSD.org> <1119650444.1173.105.camel@leguin> <20050624195906.A5702@cons.org> <1119816026.3817.20.camel@leguin> <20050626191956.A59922@cons.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 26 Jun 2005 16:42:25 -0700 Message-Id: <1119829345.3817.62.camel@leguin> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: freebsd-current@freebsd.org, Adam K Kirchhoff , Warner Losh Subject: Re: 6.0-current panic: loading radeon module 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: Sun, 26 Jun 2005 23:43:02 -0000 On Sun, 2005-06-26 at 19:19 -0400, Martin Cracauer wrote: > > OK, one more try, for everyone who's been having hangs/reboots on X > > startup since April. Attached is a patch that will hopefully kill the > > problem off. > > The candidate gets 100 points. It fixes the panic and hardware 3D > worked for a few tests. No other side effects observed. Thanks so > much! > > Out of curiosity, why does a 32 MB VRAM card try to map 128 MB? Do you only had 32MB? If so, oops on my part. Every other case of this I had seen was 128MB, so I was just assuming. Basically the issue (afaik) is that you're running out of KVA because framebuffers are large and KVA isn't all that huge. pmap_mapdev was not designed to handle failure to allocate memory, so it just paniced instead of returning NULL (which wouldn't have helped us anyway, due to other issues). -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org