NetBSD Problem Report #47669

From khorben@defora.org  Tue Mar 19 16:25:36 2013
Return-Path: <khorben@defora.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 37C5D63F1F2
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Mar 2013 16:25:36 +0000 (UTC)
Message-Id: <20130319162243.29D9B24B@kwarx.defora.lan>
Date: Tue, 19 Mar 2013 17:22:43 +0100 (CET)
From: Pierre Pronchery <khorben@defora.org>
To: gnats-bugs@gnats.NetBSD.org
Subject: X fails to start on Xen DOM0 (amd64)
X-Send-Pr-Version: 3.95

>Number:         47669
>Category:       port-xen
>Synopsis:       X fails to find the video RAM when running on an amd64 DOM0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 19 16:30:00 +0000 2013
>Last-Modified:  Tue Mar 19 20:50:04 +0000 2013
>Originator:     Pierre Pronchery
>Release:        NetBSD 6.1_RC2
>Organization:
>Environment:
NetBSD 6.1_RC2 (XEN3_DOM0) #6: Sun Mar 17 23:54:06 CET 2013 khorben@kwarx.defora.lan:/home/amd64/obj.6/sys/arch/amd64/compile/XEN3_DOM0 amd64

Architecture: x86_64
Machine: amd64
>Description:
When starting modular Xorg on a 6.1_RC2 amd64 DOM0, it fails with the
following message:
(EE) RADEONHD(0): No Video RAM detected.

I haven't experienced this on earlier versions of the netbsd-6 branch;
however, I have recently raised the amount of RAM allocated to the DOM0
from 2048 to 4096MB, and I suspect this might well be related.

I can test with a lower amount when I get physical access to this
computer again, probably this evening.

This might be helpful:
modular-xorg-server-1.6.5nb14 Modular X11 server from modular X.org
modular-xorg-drivers-1.4 Modular Xorg driver meta-package
xf86-video-radeonhd-1.3.0nb2 Modular X.org driver for Radeon HD series

The machine has a total of 6 GB of RAM.  The video card is a Sapphire
ATI/AMD RadeonHD 4870, with 512 MB of video RAM IIRC. It works otherwise
fine with a GENERIC kernel.

>How-To-Repeat:
Run modular Xorg from pkgsrc 2012Q4 on a 6.1_RC2 amd64 XEN3_DOM0 kernel,
with 4096 MB of memory allocated to the DOM0.

>Fix:
Unknown at the moment.

>Audit-Trail:
From: Pierre Pronchery <khorben@defora.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/47669: X fails to start on Xen DOM0 (amd64)
Date: Tue, 19 Mar 2013 21:46:59 +0100

 > I haven't experienced this on earlier versions of the netbsd-6 branch;
 > however, I have recently raised the amount of RAM allocated to the DOM0
 > from 2048 to 4096MB, and I suspect this might well be related.

 This appears to be exactly the issue; I have just restarted the machine
 with dom0_mem=3072 with the same kernel that failed earlier, and X
 starts correctly. So I guess this is not a regression, and therefore not
 a showstopper for NetBSD 6.1.

 There is however still the issue that X does not work properly if the
 DOM0 is allocated 4 GB of RAM.

 HTH,
 -- 
 khorben

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.