Subject: Re: vga and XFree woes
To: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
From: Oleg Gritsinevich <olegg@ukrpack.net>
List: port-alpha
Date: 12/20/2002 11:48:16
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Dec 20, 2002 at 10:01:24AM +0100, Pavel Cahyna wrote:
[skip]
> > P.S. I suspect it looks like 'pci_display_console: no device at ...'
>
> Exactly.
>
> panic: pci_display_console: no device at 255/255/0
> Stopped at 0xfffffc000096ac54: or zero,s6,sp
> db>
>
> and keyboard in ddb is not working. Some keys don't do anything,
> backspace gives backtick (`).
>
> It's an AlphaPC 164LX.
OK. Try to apply attached patch (I make it with MAIN Revision
1.41.4.3 from Oct 18 2002) to /sys/arch/alpha/alpha/dec_eb164.c and tell
me about results.
--
With best regards, Oleg Gritsinevich
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dec_eb164.c.patch"
--- dec_eb164.c.old Fri Dec 20 11:31:39 2002
+++ dec_eb164.c Fri Dec 20 11:35:46 2002
@@ -152,12 +152,12 @@
PCKBC_KBD_SLOT);
if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) ==
- CTB_TURBOSLOT_TYPE_ISA)
- isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
- else
+ CTB_TURBOSLOT_TYPE_PCI)
pci_display_console(&ccp->cc_iot, &ccp->cc_memt,
&ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot),
CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0);
+ else
+ isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
#else
panic("not configured to use display && keyboard console");
#endif
--0F1p//8PRICkK4MW--