NetBSD Problem Report #42610
From leo@marco.de Tue Jan 12 07:54:30 2010
Return-Path: <leo@marco.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 093D363B844
for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Jan 2010 07:54:30 +0000 (UTC)
Message-Id: <20100112075426.7C691C0C2@zork.local>
Date: Tue, 12 Jan 2010 08:54:26 +0100 (CET)
From: leo@marco.de
Reply-To: leo@marco.de
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/libpciaccess doesn't enable dma
X-Send-Pr-Version: 3.95
>Number: 42610
>Category: pkg
>Synopsis: sysutils/libpciaccess doesn't enable dma
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 12 10:05:00 +0000 2010
>Closed-Date: Sat Sep 24 23:19:37 +0000 2016
>Last-Modified: Sat Sep 24 23:19:37 +0000 2016
>Originator: leo@marco.de
>Release: NetBSD-current
>Organization:
Matthias Pfaller Software Entwicklung
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau Fax +49 8131 5161 66
http://www.marco.de/ Email leo@marco.de
>Environment:
System: NetBSD slug 5.99.23 NetBSD 5.99.23 (SLUG) #42 Sun Jan 10 17:36:27 CET 2010 leo@slug:/usr/src/sys/arch/i386/compile/SLUG i386
Architecture: i386
Machine: i386
>Description:
drm with modular-xorg-server doesn't work on intel i945 (at least with
some bios releases). This is because the bios doesn't enable busmaster
dma for the graphics board. In NetBSD-5 and NetBSD-current xsrc
xsrc/external/libpciaccess/dist/src/netbsd_pci.c turns on busmaster
dma. After dropping xsrc/external/libpciaccess/dist/src/netbsd_pci.c
into sysutils/libpciaccess/work.i386 and reinstalling libpciaccess
drm works with modular-xorg-server.
>How-To-Repeat:
Try to use drm on an optiplex 755mt and watch a black screen.
>Fix:
patch netbsd_pci.c in the same way as in xsrc.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->bjs
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 12 Jan 2010 10:26:00 +0000
Responsible-Changed-Why:
Over to maintainer.
Responsible-Changed-From-To: bjs->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 28 Feb 2011 15:10:44 +0000
Responsible-Changed-Why:
Reset responsible field for retired developer.
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 24 Sep 2016 23:19:37 +0000
State-Changed-Why:
libpciaccess in pkgsrc has had all the netbsd patches for ages. this
should no longer be a problem.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.