From owner-freebsd-hackers Mon Jan 22 8:48:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 5FD4837B402; Mon, 22 Jan 2001 08:48:38 -0800 (PST) Received: from nsouch by smtp.alcove.fr with local (Exim 3.12 #1 (Debian)) id 14Kk8l-000870-00; Mon, 22 Jan 2001 17:48:23 +0100 Date: Mon, 22 Jan 2001 17:48:23 +0100 From: Nicolas Souchu To: Steve Shoecraft Cc: 'John Baldwin' , "'Donald J . Maddox'" , freebsd-hackers@FreeBSD.org Subject: Re: more info about: odd result of pci_read_config Message-ID: <20010122174822.D30873@ontario.alcove-int> References: <20010121111903.B10148@ontario.alcove-int> <001301c0845a$db047780$89ccdacf@max.home.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <001301c0845a$db047780$89ccdacf@max.home.org>; from sshoecraft@safepages.com on Mon, Jan 22, 2001 at 04:05:31AM -0600 Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Efr?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 22, 2001 at 04:05:31AM -0600, Steve Shoecraft wrote: > > My viapm driver is a kmodule. Could it be that PCI_READ_CONFIG is not > > correctly resolved and returns ENXIO which is 0x6? > > That's exactly whats going on here. Have you turned on BUS_DEBUG (or mebbe > DEBUG_BUS) in /kern/subr_bus.c ? Not yet. I will then. > > Also, I have a userland app that loads and runs your kernel module - it > makes it alot easier to debug this kinda stuff. Even does device file I/O. > If you want, you can check it out. Thanks, where? -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message