From owner-freebsd-hackers Sat Oct 28 5:20:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-178-14.dsl.snfc21.pacbell.net [63.202.178.14]) by hub.freebsd.org (Postfix) with ESMTP id 4309737B479 for ; Sat, 28 Oct 2000 05:20:51 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.0/8.11.1) with ESMTP id e9SCLLF07465; Sat, 28 Oct 2000 05:21:21 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200010281221.e9SCLLF07465@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Oleg Sharoiko Cc: freebsd-hackers@freebsd.org Subject: Re: Problem with 2 video cards: /src/sys/pci.c code question In-reply-to: Your message of "Sat, 28 Oct 2000 16:05:37 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 28 Oct 2000 05:21:21 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've just tried to install second video card into Intel L440GX+ based box > running FreeBSD and this broke the system: the screen output is messed (even > during device probing), some characters are not printed, scrolling doesn't > work well and after some short time it dies with only 'reset' key working. Grr. The BIOS shouldn't turn these resources on. However, why are you trying to put a second video card into the system? > I've looked into the log and found this > ---------------------------- > revision 1.141.2.3 > date: 2000/09/01 23:29:34; author: msmith; state: Exp; lines: +9 -5 > MFC: fix up botched PCI configuration by the BIOS in the case where a > resource has been allocated but its class is not marked as enabled > in the command register. > ---------------------------- > > So I'm wondering is this a bug or I should by some means disable first > card. There're no any jumpers or bios options to disable video card. I suppose > that kernel turns on the built-in video adapter and it conflicts with the one > I've plugged in. I don't have strong skills in PCI programming so I'm asking > for your help. We don't (properly) support multiple video adapters at this time. If you're trying to override the onboard video adapter, I do believe that the Intel L440GX+ does provide a jumper on the board to disable the builtin video. The problem here is somewhat complex; in reality we shouldn't care whether the resource kind is actually enabled in the PCI command register, and devices that do care should have it fixed up in the driver or when the resource is allocated. There are a number of other fixes that need to be made to the PCI resource allocation code, and I supposed I (or whoever else makes them) will try to fix all this at the same time. Sorry. 8( -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message