From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4649463ab6f2eee2cfdc883209f7481a.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199706241555.LAA01023@linux03.amt.tay1.dec.com> Date: Tue, 24 Jun 1997 11:55:00 +0500 From: jestabro@amt.tay1.dec.com Subject: Re: 4D40 & 433a In-Reply-To: >>> Iso-H said: > > > MILO works just Ok, but when "real" kernel boots up console won't print > > > anything (except blinking cursor) anymore! So what is this what kernel > > > can't do but MILO can? This confuses me, too, but here's my theory on what's happening: 1. assume that the 4D40 does NOT identify itself as a DISPLAY device correctly, WRT its class and the following code from bios32.c: if (dev->class >> 8 == PCI_CLASS_NOT_DEFINED || dev->class >> 8 == PCI_CLASS_NOT_DEFINED_VGA || dev->class >> 8 == PCI_CLASS_STORAGE_IDE || dev->class >> 8 == PCI_CLASS_DISPLAY_VGA || dev->class >> 8 == PCI_CLASS_DISPLAY_XGA) { /* * All of these (may) have I/O scattered all around * and may not use i/o-base address registers at all. * So we just have to always enable I/O to these * devices. */ cmd |= PCI_COMMAND_IO; } So, this code will NOT enable IO space registers for the card, and the VGA registers will not respond, 2. MILO code inits the PCI bus devices first, and then calls BIOS emulation to init any VGA on the bus. Since the PCI bus init code is shared with the kernel, we assume it disables the 4D40 for IO space. However, the BIOS emulator code scans the PCI bus as well, and *may* detect the VGA on the card, and do the *right* thing by enabling IO space accesses. Thus during MILO operation the VGA works correctly. > I have also 433a with Accel2000 and there everything > (except LAN) works fine when I use exactly same MILO > and kernel. Only drawback with Accel2000 is that there > is no X-server available for it :~( Now, same MILO and kernel, my theory above suggests that the Accel2000 DOES identify it self successfully to the above code, thus enabling IO space accesses, and everybody is happy... Now one way to further investigate: the 4D40 prolly has a jumper on it that can be used to enable/disable the VGA; if poossible, stick another VGA in that box after diabling the VGA on the 4D40, boot up, and see how the 4D40 device identifies itself (ie cat /proc/pci should give an indication). Good luck, and let me know what you find out... --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools - LINUX Project Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202 151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com Littleton, MA 01460-1407 decnet: tallis::jestabro ------------------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com