From owner-freebsd-current Tue Jan 14 11:20:18 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 7A88637B401 for ; Tue, 14 Jan 2003 11:20:16 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E23343F5B for ; Tue, 14 Jan 2003 11:20:12 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 19475 invoked from network); 14 Jan 2003 19:20:17 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 14 Jan 2003 19:20:17 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h0EJK9UT007143; Tue, 14 Jan 2003 14:20:09 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030114041201.2e12d70c.david@realityrift.com> Date: Tue, 14 Jan 2003 14:20:21 -0500 (EST) From: John Baldwin To: David Holm Subject: Re: Important, agp_via.c missing PCI ID! Cc: current@FreeBSD.ORG 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 14-Jan-2003 David Holm wrote: > On Tue, 14 Jan 2003 03:14:59 +0100 > David Holm wrote: > >> On Mon, 13 Jan 2003 16:16:51 -0500 (EST) >> John Baldwin wrote: >> >> > >> > On 13-Jan-2003 David Holm wrote: >> > >> > What is the output of 'dmesg | grep agp' both with and without the patch? >> > >> >> Now this is strange. I cvsupped before recompiling the kernel. Now all I get when loading the >> module (with or without the patch): >> >> pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND >> >> I don't understand why it doesn't fall back to the generic. >> > > 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. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message