From owner-freebsd-bugs Mon May 31 14:43:52 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1FE3E14F85; Mon, 31 May 1999 14:43:50 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA98219; Mon, 31 May 1999 14:43:50 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Date: Mon, 31 May 1999 14:43:50 -0700 (PDT) From: Message-Id: <199905312143.OAA98219@freefall.freebsd.org> To: delaroca@ucla.edu, wpaul@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11961: 3c509b (xl0) ethernet driver unable to map port at kernel load time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: 3c509b (xl0) ethernet driver unable to map port at kernel load time State-Changed-From-To: open->analyzed State-Changed-By: wpaul State-Changed-When: Mon May 31 14:36:50 PDT 1999 State-Changed-Why: This happens (I think) because in the BIOS configurationf or your machine, you have 'Plug & Play OS' set to 'yes.' For FreeBSD (and LoseNT), it should be 'no' because FreeBSD and LoseNT don't have the ability to manually fix up the configuration of PCI devices. You need the PCI BIOS to do it, then FreeBSD will read the information correctly. You'll notice that the driver forges ahead and configures the NIC anyway. This is because when pci_map_port() fails, the xl driver tries to read the PCI I/O address from the card's PCI config space manually. It shouldn't really do that, but it allows the card to work which makes people happy. Previously, the driver read the PCI config space by default and didn't use pci_map_port() (which was a bug) so nobody noticed that anything was wrong. Anyway, try this: reboot your machine, and press F2 to get into the CMOS setup for your computer. There will probably be a section called 'Advanced' and somewhere in there you should find a setting labeled 'Plug and Play OS.' It will probably be set to [Yes]. Changed it to [No] (I think you do it by pressing the space bar) then press F10 to save the change and exit. Then check to see if the NIC is configured correctly without the warning. If it works, please let me know, and I will close this PR. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message