Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 1997 20:43:05 +0100
From:      se@freebsd.org (Stefan Esser)
To:        max@rnd.runnet.ru (Maxim A. Bolotin)
Cc:        se@freebsd.org (Stefan Esser), hackers@freebsd.org
Subject:   Re: Acer ALTOS 7000 instalation problem.
Message-ID:  <19970304204305.GY21094@x14.mi.uni-koeln.de>
In-Reply-To: <Pine.BSF.3.95q.970220192849.337A-100000@altos.rnd.runnet.ru>; from Maxim A. Bolotin on Feb 20, 1997 19:30:37 %2B0300
References:  <19970218205749.IK34225@x14.mi.uni-koeln.de> <Pine.BSF.3.95q.970220192849.337A-100000@altos.rnd.runnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 20, max@rnd.runnet.ru (Maxim A. Bolotin) wrote:
> OK, Here's what I have with controller pci0

> pcibus_setup(1):	mode 1 addr port (0x0cf8) is 0x81000800
> pcibus_setup(2):	mode 2 enable port (0x0cf8) is 0x00
> pcibus_setup(2a):	mode2res=0x0e (0x0e)
> pcibus_setup(2a):	now trying mechanism 2
> pcibus_check:	device 0 1 2 3 is there (id=00000021)
> Probing for devices on PCI bus 0:
> 	configuration mode 2 allows 16 devices.
> vga0 <Display device> rev 0 int _ irq ?? on pci0:3
> vga1 <Display device> rev 0 int _ irq ?? on pci0:7
> vga? <Display device> mirrored on pci0:11
> vga? <Display device> mirrored on pci0:15

Sorry for the late reply ...

Please try, whether the following patch stops PCI being found 
on your EISA-only system ...

I'd appreciate receiving verbose boot messages, independently
of whether the problem is fixed by this patch.

Thanks in advance!

STefan

Index: /sys/i386/isa/pcibus.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/isa/pcibus.c,v
retrieving revision 1.31
diff -C2 -r1.31 pcibus.c
*** pcibus.c	1997/02/22 09:36:58	1.31
--- pcibus.c	1997/03/04 19:32:58
***************
*** 168,179 ****
  
  	for (device = 0; device < pci_maxdevice; device++) {
! 		unsigned long id;
  		if (bootverbose) 
  			printf ("%d ", device);
  		id = pcibus_read (pcibus_tag (0,device,0), 0);
! 		if (id && id != 0xfffffffful) {
! 			if (bootverbose) printf ("is there (id=%08lx)\n", id);
! 			return 1;
! 		}
  	}
  	if (bootverbose) 
--- 168,192 ----
  
  	for (device = 0; device < pci_maxdevice; device++) {
! 		unsigned long id, class, header;
  		if (bootverbose) 
  			printf ("%d ", device);
  		id = pcibus_read (pcibus_tag (0,device,0), 0);
! 		if ((id == 0) || (id == 0xfffffffful))
! 			continue;
! 
! 		class = pcibus_read (pcibus_tag (0,device,0), 8);
! 		if (bootverbose)
! 			printf ("[class=%x] ", class >> 8);
! 		if ((class & 0xfff0ff00) != 0x06000000)
! 			continue;
! 
! 		header = pcibus_read (pcibus_tag (0,device,0), 12);
! 		if (bootverbose) 
! 			printf ("[hdr=%x] ", (header >> 16) & 0xff);
! 		if ((header & 0x007e0000) != 0)
! 			continue;
! 
! 		if (bootverbose) printf ("is there (id=%08lx)\n", id);
! 		return 1;
  	}
  	if (bootverbose) 



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