alpha/4936: Xserver on alpha XP1000

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

alpha/4936: Xserver on alpha XP1000

>Number:         4936
>Category:       alpha
>Synopsis:       sysctl machdep.chipset.memory value makes Xserver hang.
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 06 03:00:01 GMT 2005
>Originator:     KUDO Takashi
>Release:        3.8
        System      : OpenBSD 3.8
        Architecture: OpenBSD.alpha
        Machine     : alpha
        With attached patch, ELSA synergy vga card works fine with XP1000 and
        standard openbsd 3.8 Xorg server.

        This value taken from Tsunami/Typhoon 21272 Chipset
        Hardware Reference Manual(Order Number: DS-0025A-TE).
        Please see P.238 10.1.1 System Space and Address Map.

        Without this patch, Xserver attempt to mmap incorrect physical
        address, can't access mmio register and framebuffer memory.

        start Xserver on XP1000, then hang.
--- ./sys/arch/alpha/pci/tsc.c.orig Thu Jul 22 03:32:22 2004
+++ ./sys/arch/alpha/pci/tsc.c Tue Dec  6 11:35:54 2005
@@ -238,7 +238,7 @@
  tsp_pci_init(&pcp->pc_pc, pcp);
  alpha_pci_chipset = &pcp->pc_pc;
  alpha_pci_chipset->pc_name = "tsunami";
- alpha_pci_chipset->pc_mem = TS_P0(0);
+ alpha_pci_chipset->pc_mem = 0x80000000000UL; /* XXX */
  alpha_pci_chipset->pc_ports = P_PCI_IO;
  alpha_pci_chipset->pc_hae_mask = 0;
  alpha_pci_chipset->pc_dense = TS_P0(0);