Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 14:43:50 -0700 (PDT)
From:      <wpaul@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
Message-ID:  <199905312143.OAA98219@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905312143.OAA98219>