Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 00:02:36 +1100
From:      Matthew Thyer <thyerm@satech.net.au>
To:        Stefan Esser <se@FreeBSD.org>
Cc:        FreeBSD CURRENT <current@FreeBSD.org>
Subject:   Re: Four problems that really bug me with CURRENT
Message-ID:  <32B0026C.15FB7483@satech.net.au>
References:  <3292F70B.41C67EA6@satech.net.au> <199611221253.NAA07064@x14.mi.uni-koeln.de> <3296F2FE.41C67EA6@satech.net.au> <199611231555.QAA18903@x14.mi.uni-koeln.de>

index | next in thread | previous in thread | raw e-mail

Sorry for the delay I've been very busy with a new baby and
a new job.

I have applied the patch but it makes no difference.

The PCI bus is still only found on the second boot into FreeBSD
after a hard reset (or power cycle) regardless of whether I boot
into DOS 6.22 first (to activate my PnP sound card).

My motherboard is a no name GA-586AP if that means anything
to you.  The motherboard manual is dated 1 Jan 1995


Stefan Esser wrote:
> 
> On Nov 23, thyerm@satech.net.au (Matthew Thyer) wrote:
> > My system is a Pentium 90 PCI with 16MB standard RAM, ExpertColor
> > S3 Trio 64 (2 MB), Maxtor 71260 AT 1204MB 2448 cyl 10ms IDE HDD,
> > PC-2000 NCR 53c810 PCI scsi controller, 2 x slow old IBM 0661371
> > 320MB disks from a RISC 6000, quad speed ATAPI CD-ROM, Creative
> > Labs PnP SB16, NE2000 clone NIC, floppy disk.

[snip]

> Your system does not comply to the PCI spec. My only idea
> now is, to have the configuration mode 1 hardcoded in your
> kernel. Please apply the following patch:
> 
> Index: /sys/i386/isa/pcibus.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/i386/isa/pcibus.c,v
> retrieving revision 1.27
> diff -C2 -r1.27 pcibus.c
> *** pcibus.c    1996/10/30 22:38:55     1.27
> --- pcibus.c    1996/11/23 15:50:11
> ***************
> *** 204,208 ****
>                 pci_mechanism = 1;
>                 pci_maxdevice = 32;
> !
>                 outl (CONF1_ADDR_PORT, CONF1_ENABLE_CHK);
>                 outb (CONF1_ADDR_PORT +3, 0);
> --- 204,208 ----
>                 pci_mechanism = 1;
>                 pci_maxdevice = 32;
> ! return;
>                 outl (CONF1_ADDR_PORT, CONF1_ENABLE_CHK);
>                 outb (CONF1_ADDR_PORT +3, 0);
> 
> But BEWARE: This removes support for PCI configuration mode 2
> chip sets, and may even fail on non-PCI systems. If this patch
> is not sufficient to probe your PCI bus, then there might be
> some chip set register, that needs to be set to a specific
> value in order to enable PCI. Since I have no idea what this
> value might be, I don't think I can help, then ...
> 
> (Please let me know whether this patch works or not.)
> 
> Complain to your vendor for delivering a non-PCI compliant
> product !
> 
> Regards, STefan

-- 
========================================================================
@ Work: Matthew.Thyer@dsto.defence.gov.au   @ Play: thyerm@satech.net.au
========================================================================
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
 E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32B0026C.15FB7483>