From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: 4D40 & 433a
Date: Tue, 24 Jun 1997 11:55:00 +0500 [thread overview]
Message-ID: <4649463ab6f2eee2cfdc883209f7481a.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95q.970624170416.330C-100000@linray.ts.ray.fi>
>>> 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
next prev parent reply other threads:[~1997-06-24 6:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19970624122648Z231477-31637+1@mea.tmt.tele.fi>
1997-06-24 14:15 ` 4D40 & 433a Iso-H
1997-06-24 6:55 ` jestabro [this message]
1997-06-24 15:27 ` Matti Aarnio
[not found] <199708051437.KAA02603@linux03.amt.tay1.dec.com>
1997-08-05 15:43 ` Iso-H
[not found] <Pine.SOL.3.91.970805113057.7106H-100000@hydra>
1997-08-05 9:30 ` Iso-H
[not found] <Pine.SOL.3.91.970728102746.14482C-100000@hydra>
1997-07-28 2:40 ` Iso-H
[not found] <Pine.SOL.3.91.970728100920.14482B-100000@hydra>
1997-07-28 2:13 ` Iso-H
[not found] <Pine.LNX.3.95q.970728030926.5968A-100000@linray.ts.ray.fi>
1997-07-28 2:10 ` Lo Sheng the Great
[not found] <199707252109.RAA29227@linux03.amt.tay1.dec.com>
1997-07-28 0:22 ` Iso-H
[not found] <199706241555.LAA01023@linux03.amt.tay1.dec.com>
1997-07-25 20:28 ` Iso-H
[not found] <Pine.LNX.3.95q.970624113612.330B-100000@linray.ts.ray.fi>
1997-06-24 12:26 ` Matti Aarnio
[not found] <m0wgBmV-000BWNC@charon.beck-sw.de>
1997-06-24 8:46 ` Iso-H
[not found] <Pine.LNX.3.95q.970623153825.323H-100000@linray.ts.ray.fi>
1997-06-23 16:15 ` becka
[not found] <Pine.LNX.3.95q.970613194747.383C-100000@linray.ts.ray.fi>
1997-06-23 12:51 ` Iso-H
1997-06-13 17:03 Iso-H
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox