From owner-freebsd-current Thu Dec 12 05:33:43 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA12229 for current-outgoing; Thu, 12 Dec 1996 05:33:43 -0800 (PST) Received: from box.satech.net.au (root@box.satech.net.au [203.0.179.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA12221; Thu, 12 Dec 1996 05:33:15 -0800 (PST) Received: from matte.satech.net.au (matte.satech.net.au [203.1.91.219]) by box.satech.net.au (go-away/8.6.9) with ESMTP id AAA30712; Fri, 13 Dec 1996 00:03:37 +1030 Received: from matte.satech.net.au (localhost.satech.net.au [127.0.0.1]) by matte.satech.net.au (8.8.4/8.7.3) with SMTP id AAA00822; Fri, 13 Dec 1996 00:02:38 +1100 (EST) Message-ID: <32B0026C.15FB7483@satech.net.au> Date: Fri, 13 Dec 1996 00:02:36 +1100 From: Matthew Thyer X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Stefan Esser CC: FreeBSD CURRENT Subject: Re: Four problems that really bug me with CURRENT 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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