Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2003 00:14:53 +0100
From:      Holm Tiffe <holm@freibergnet.de>
To:        freebsd-alpha@freebsd.org
Subject:   Xfree86-4.3.0 seems to have a Problem..
Message-ID:  <20031203231453.GA80313@pegasus.freiberg-net.de>

next in thread | raw e-mail | index | archive | help
Hi folks,

I have installed -current (from yesterday) on a Compaq PWS 500 au,
compiled a world, several kernels and XFree86 from the ports.

Everything is fine but the Xserver just hangs after the startup
and is eating all cpu cycles..

Some investigation showed up to me, that not only I have this problem.
There at least 2 other people having the same trouble.

It seems to me, that there is a bug in the PCI scanning code of the X
server:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.1 alpha [ELF] 
Build Date: 03 December 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Dec  3 23:52:07 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "belinea"
(**) |   |-->Device "ELSA GLoria Synergy"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "de"
(**) Option "XkbVariant" "nodeadkeys"
(**) XKB: variant: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts
/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X1
1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 16777218.0)
(--) using VT number 9

(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.2
        XFree86 Video Driver: 0.6
        XFree86 XInput driver : 0.4
        XFree86 Server Extension : 0.2
        XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:03:0: chip 1011,0019 card 0000,0000 rev 30 class 02,00,00 hdr
00
(II) PCI: 00:07:0: chip 1080,c693 card 0000,0000 rev 00 class 06,01,00 hdr
80
(II) PCI: 00:07:1: chip 1080,c693 card 0000,0000 rev 00 class 01,01,80 hdr
80
(II) PCI: 00:07:2: chip 1080,c693 card 0000,0000 rev 00 class 01,01,00 hdr
80
(II) PCI: 00:07:3: chip 1080,c693 card 0000,0000 rev 00 class 0c,03,10 hdr
80
(II) PCI: 00:0c:0: chip 104c,3d07 card 1048,0a32 rev 01 class 03,00,00 hdr
00
(II) PCI: 00:14:0: chip 1011,0024 card 0000,0000 rev 03 class 06,04,00 hdr
01
(II) PCI: 01:04:0: chip 1077,1020 card 0000,0000 rev 05 class 01,00,00 hdr
00
(II) PCI: 01:0a:0: chip 1011,0014 card 0000,0000 rev 21 class 02,00,00 hdr
00
(II) PCI: End of PCI scan
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:20:0), (0,1,0), BCTRL: 0x0020 (VGA_EN is
cleared)
(II) Bus 1 I/O range:
        [0] -1  0       0x00008000 - 0x00008fff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0       0x81000000 - 0x810fffff (0x100000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]

.. heare the Xserver sits and hangs and must be killed.
It looks like the card does'nt get identified.
The Card is a ELSA Gloria Synergy, a Permedia 2 based card, that should be
supported.

Unfortunately I know almost nothing about this Alpha's, since I've got
those 2 boxes yesterday morning.

What I know is that the boxes are miataGL's without the DMA bug:


Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #0: Wed Dec  3 18:48:43 CET 2003
    root@install.freibergnet.de:/usr/src/sys/alpha/compile/HAL
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00008fa000.
Digital Personal Workstation (Miata)
Digital Personal WorkStation 500au, 500MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=0 extensions=0x1<BWX>
OSF PAL rev: 0x1000000020116
real memory  = 400654336 (382 MB)
avail memory = 380895232 (363 MB)
cia0: <2117x Core Logic chipset>
cia0: Pyxis, pass 1
cia0: extended capabilities: 1<BWEN>
pcib0: <2117x PCI host bus adapter> on cia0
pci0: <PCI bus> on pcib0
dc0: <Intel 21143 10/100BaseTX> port 0x9000-0x907f mem 0x81181000-0x8118107f irq 0 at device 3.0 on pci0
dc0: Ethernet address: 08:00:2b:86:9c:6b
miibus0: <MII bus> on dc0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: interrupting at CIA irq 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Cypress 82C693 ATA controller> port 0x90a0-0x90af,0x3f4-0x3f7,0x1f0-0x1f7 irq 238 at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: interrupting at ISA irq 15
ata1: [MPSAFE]
atapci1: <GENERIC ATA controller> port 0x374-0x377,0x170-0x177 mem 0x81170000-0x8117ffff irq 239 at device 7.2 on pci0
atapci1: unable to map interrupt
ohci0: <OHCI (generic) USB controller> mem 0x81180000-0x81180fff irq 234 at device 7.3 on pci0
ohci0: interrupting at ISA irq 10
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1080) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <display, VGA> at device 12.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 20.0 on pci0
pci1: <PCI bus> on pcib1
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x8000-0x80ff mem 0x81050000-0x81050fff irq 3 at device 4.0 on pci1
isp0: interrupting at CIA irq 3
de0: <Digital 21041 Ethernet> port 0x8100-0x817f mem 0x81051000-0x8105107f irq 20 at device 10.0 on pci1
de0: interrupting at CIA irq 20
de0: DEC DE450-CA 21041 [10Mb/s] pass 2.1
de0: address 08:00:2b:c4:eb:9c
de0: enabling 10baseT port
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd0: interrupting at ISA irq 1
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: interrupting at ISA irq 12
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: interrupting at ISA irq 6
mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
ppc0: interrupting at ISA irq 7
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio0: interrupting at ISA irq 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: interrupting at ISA irq 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sbc0: <ESS ES1888> at port 0x220-0x22f irq 5 drq 1 on isa0
sbc0: interrupting at ISA irq 5
pcm0: <ESS 18xx DSP> on sbc0
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "alpha" frequency 499870115 Hz quality 0
Timecounters tick every 0.976 msec
acd0: CDROM <Compaq CRD-8322B> at ata1-master BIOSPIO
Waiting 15 seconds for SCSI devices to settle
GEOM: create disk da0 dp=0xfffffc0000c78068
da0 at isp0 bus 0 target 0 lun 0
da0: <COMPAQ BB009222B5 B016> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0a

I've found people with similar problems here:

http://lists.freebsd.org/pipermail/freebsd-alpha/2003-May/000221.html

and here:

http://lists.freebsd.org/pipermail/freebsd-alpha/2003-April/000193.html

So it seems, that this problem is'nt related to -current, nor to the miata.

Can anyone confirm this or has some suggestions?
Has anyone filed a Bugreport to Xfree in the meantime or are all people
using 4.2.0?

Greetings from germany,

Holm

PS:
sorry for my poor english
-- 
L&P::Kommunikation GbR          Holm Tiffe  * Administration, Development
FreibergNet.de Internet Systems                      phone +49 3731 41930
Bereich Server & Technik                             fax +49 3731 4196026 
D-09599 Freiberg * Nonnengasse 31a              http://www.freibergnet.de



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