From owner-freebsd-current Mon Jan 13 19:12: 6 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 887B137B401; Mon, 13 Jan 2003 19:12:04 -0800 (PST) Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A404043F18; Mon, 13 Jan 2003 19:12:03 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailg.telia.com (8.12.5/8.12.5) with ESMTP id h0E3C2Uq021308; Tue, 14 Jan 2003 04:12:02 +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 h0E3C2621004; Tue, 14 Jan 2003 04:12:02 +0100 (CET) Date: Tue, 14 Jan 2003 04:12:01 +0100 From: David Holm Cc: jhb@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Important, agp_via.c missing PCI ID! Message-Id: <20030114041201.2e12d70c.david@realityrift.com> In-Reply-To: <20030114031459.1c5043b8.david@realityrift.com> References: <20030113213218.5b6e13ca.david@realityrift.com> <20030114031459.1c5043b8.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 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 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND 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)) pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) It seems it never enters the generic but goes past it and returns NULL. (I even modified the line to and the result of pci_get_vendor(dev) with 0xffff) Also, acpi returns this which confirms my mobo model: acpi0: on motherboard //David Holm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message