From owner-freebsd-current Tue Jan 14 12:35:46 2003 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 348E037B401; Tue, 14 Jan 2003 12:35:45 -0800 (PST) Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 261AC43E4A; Tue, 14 Jan 2003 12:35:39 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailc.telia.com (8.12.5/8.12.5) with ESMTP id h0EKZbMM028534; Tue, 14 Jan 2003 21:35:37 +0100 (CET) X-Original-Recipient: jhb@FreeBSD.org Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with SMTP id h0EKZb612622; Tue, 14 Jan 2003 21:35:37 +0100 (CET) Date: Tue, 14 Jan 2003 21:35:36 +0100 From: David Holm To: John Baldwin Cc: current@FreeBSD.org Subject: Re: Important, agp_via.c missing PCI ID! Message-Id: <20030114213536.38e0311b.david@realityrift.com> In-Reply-To: References: <20030114041201.2e12d70c.david@realityrift.com> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 14 Jan 2003 14:20:21 -0500 (EST) John Baldwin wrote: > > On 14-Jan-2003 David Holm wrote: > > > > My mistake, I didn't preload the module. I thought I could load it on a booted system. > > Anyway, with the standard agp module preloaded I get the following: > > > > pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND > > > > With my modified version I get: > > > > Preloaded elf module "/boot/kernel/agp.ko" at 0xc0551154. > > agp0: mem 0xe0000000-0xefffffff at device > > 0.0 > > > > I added some debug output to agp_via.c to see what was going on: > > > > agp0: id is 0x6051106 (<- it prints the device id returned by > > pci_get_devid(dev)) > > Could you print out the results of pci_get_vendor()? If it's not 0x1106 > then there might be some other bug. > It returns 1106, but it seems to work with the generic now for some reason... Did anyone change the code recently? Preloaded elf module "/boot/kernel/agp.ko" at 0xc0676154. agp0: Vendor id 1106 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND //David Holm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message