From owner-cvs-src-old@FreeBSD.ORG Wed Jan 14 22:10:59 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A698F10656EB for ; Wed, 14 Jan 2009 22:10:59 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 64A4A8FC12 for ; Wed, 14 Jan 2009 22:10:59 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0EMAxaK046068 for ; Wed, 14 Jan 2009 22:10:59 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0EMAxXw046067 for cvs-src-old@freebsd.org; Wed, 14 Jan 2009 22:10:59 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200901142210.n0EMAxXw046067@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Wed, 14 Jan 2009 22:10:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/dcons dcons_crom.c dcons_os.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 22:11:02 -0000 marius 2009-01-14 22:10:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/dcons dcons_crom.c dcons_os.c Log: SVN rev 187249 on 2009-01-14 22:10:51Z by marius MFC: r186876 Check the return values of contigmalloc(9) as well as bus_dma(9) functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. Revision Changes Path 1.9.2.2 +12 -3 src/sys/dev/dcons/dcons_crom.c 1.19.2.2 +13 -9 src/sys/dev/dcons/dcons_os.c