From owner-freebsd-current Sat Sep 4 7:26:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 5F82115254 for ; Sat, 4 Sep 1999 07:26:32 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id PAA43299; Sat, 4 Sep 1999 15:28:11 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 4 Sep 1999 15:28:11 +0100 (BST) From: Doug Rabson To: Blaz Zupan Cc: freebsd-current@freebsd.org Subject: Re: ed driver problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 4 Sep 1999, Blaz Zupan wrote: > I'm trying to configure my new Compex NE2000 PCI card under 4.0-current. > Just before the latest PnP changes, the card was just recognized like > this: > > ed0: irq 10 at device 13.0 on pci0 > > It did not display the MAC, and "ifconfig -a" did not show ed0/ed1 as > configured. I even tried booting a generic 2.2.1 and 3.2 kernel, with the > same symptoms. After the PnP changes, I get this: > > ed0: irq 10 at device 13.0 on pci0 > device_probe_and_attach: ed0 attach returned 2 > > I sprinkeled a couple of printf's through if_ed.c and found out, that > bus_alloc_resource() fails in ed_alloc_port() in if_ed.c, thus > ed_alloc_port() returns ENOENT (== 2). Why could allocating an I/O port > address fail? Does your bios have a setting for 'PNP compliant OS' or similar? If it does, set it to 'no' and see if it helps. The current pci code relies on the bios to program port and memory locations for cards and its possible that this isn't happening for your card/bios combination. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message