Problems with Xinerama using a Matrox Millenium / Creator 3D with an Ultra 30.
Hi out there,
Got my Ultra Sparc 30 installed with Debian Sarge and fixed the usual Keyboard problems.
I then compiled an own Kernel 2.6.11.2 to have support for the additional Adaptec SCSI Controller and Matrox Graphics card.
Both seem to work well. For the Matrox I use the Framebuffer device that comes with the 2.6 Kernels.
BUT the Matrox framebuffer will only work when no BusID is specified in the Device Section, otherwise I get an illegal paging request, as laid out below. Driver MGA does not work as X does not see the card.
If I add the Creator 3D X seems to require BusID's specified with every device.
I suspect there is something wrong with the PCI scan of X. Scanpci does only list the 66MHz PCI Bus omitting the second bus installed whereas lspci sees all of the devices.
I wondered if anyone could help me with this. The lspci/scanpci output, Error reported as soon as I add the BusID in the Device section and my XFConfig file are below.
regards
Detlef
##########################################################################################################
LSPCI -VV
##########################################################################################################
0000:80:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
0001:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 80 (2500ns min, 6250ns max), Cache Line Size: 0x10 (64 bytes)
Region 0: Memory at 000001fff0000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at 000001fff1000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at 0000000082000000 [disabled] [size=16M]
0001:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 80 (2500ns min, 1250ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin ? routed to IRQ 7428576
Region 0: Memory at 000001ff80008000 (32-bit, non-prefetchable) [size=32K]
Expansion ROM at 0000000083000000 [disabled] [size=16M]
0001:00:02.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W [Millennium] (rev 01) (prog-if 00 [VGA])
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 7428032
Region 0: Memory at 000001ff80014000 (32-bit, non-prefetchable) [size=16K]
Region 1: Memory at 000001ff80800000 (32-bit, prefetchable) [size=8M]
Expansion ROM at 0000000080020000 [disabled] [size=64K]
0001:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 136 (4250ns min, 16000ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 7428544
Region 0: I/O ports at 2010400 [size=256]
Region 1: Memory at 000001ff80010000 (32-bit, non-prefetchable) [size=256]
Region 2: Memory at 000001ff80011000 (32-bit, non-prefetchable) [size=4K]
0001:00:05.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2000ns min, 2000ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 7428416
Region 0: I/O ports at 2010800 [disabled] [size=256]
Region 1: Memory at 000001ff81000000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 0000000080000000 [disabled] [size=32K]
##########################################################################################################
SCANPCI -VV No devices are connected as far as scanpci is concerned
##########################################################################################################
# scanpci -vv
pci bus 0x0080 cardnum 0x00 function 0x00: vendor 0x108e device 0x8000
Sun Microsystems Computer Corp. Psycho PCI Bus Module
STATUS 0x22a0 COMMAND 0x0146
CLASS 0x06 0x00 0x00 REVISION 0x00
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BYTE_0 0x00 BYTE_1 0x00 BYTE_2 0xff BYTE_3 0x80
##########################################################################################################
XF86Config
##########################################################################################################
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "dri"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
# Option "XkbRules" "sun"
# Option "XkbModel" "type5_euro"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" ""
# Option "XkbKeycodes" "sun(type5_euro)"
# Option "XkbGeometry" "sun(type5euro)"
# Option "XkbSymbols" "de(nodeadkeys)"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "PS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Creator 3D"
Driver "sunffb"
BusID "SBUS:/SUNW,ffb@1e,0"
EndSection
Section "Monitor"
Identifier "SunVGA"
HorizSync 30-75
VertRefresh 50-85
Option "DPMS"
EndSection
Section "Screen"
Identifier "CRT Screen"
Device "Creator 3D"
Monitor "SunVGA"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Device"
Identifier "Matrox Millenium"
Driver "fbdev"
# BusID "0:2:0"
Option "UseFBDev" "true"
Option "FBDev" "/dev/fb1"
EndSection
Section "Monitor"
Identifier "Medion"
HorizSync 30-75
VertRefresh 60-70
Option "DPMS"
EndSection
Section "Screen"
Identifier "LCD Screen"
Device "Matrox Millenium"
Monitor "Medion"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Serverflags"
Option "Xinerama" "true"
Option "AllowDeactivateGrabs"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
# Screen "CRT Screen" LeftOf "LCD Screen"
Screen "LCD Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
##########################################################################################################
------Error I get when a BusID is specified --------------------------------------------------------------
##########################################################################################################
matroxfb_base: falsely claims to have parameter mtrr
matroxfb: Matrox Millennium (PCI) detected
Unable to handle kernel paging request at virtual address 0000000080014000
tsk->{mm,active_mm}->context = 000000000000051d
tsk->{mm,active_mm}->pgd = fffff80072cdc000
\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/
modprobe(2666): Oops [#1]
TSTATE: 0000000011009607 TPC: 00000000020f7fe8 TNPC: 00000000020f7fec Y: 00000000 Not tainted
TPC: <matroxfb_getmemory+0x48/0x240 [matroxfb_base]>
g0: 00000000006bf400 g1: 0000000000000003 g2: 0000000000001fde g3: 0000000000001fdf
g4: fffff80070643680 g5: 0000000002000000 g6: fffff80071afc000 g7: 000001ff80014000
o0: 0000000000000000 o1: 0000000000000010 o2: 0000000000000040 o3: 00000000df000100
o4: 00000000020eab40 o5: 00000000020ea800 sp: fffff80071afebc1 ret_pc: 00000000020ea800
RPC: <__ksymtab_matroxfb_read_pins+0xa68/0xfffffffffffffda8 [matroxfb_misc]>
l0: fffff80070a33800 l1: 00000000020eab40 l2: 00000000020eb678 l3: 00000000020fc5ac
l4: 0000000000000000 l5: 0000000000000000 l6: 00000000006a3648 l7: 0000000000001410
i0: 0000000000000000 i1: 00000000020eb4f8 i2: 0000000000800000 i3: 000001ff80800000
i4: 00000000005fcfd0 i5: 00000000020eab40 i6: fffff80071afeca1 i7: 00000000020f8670
I7: <initMatrox2+0x390/0x900 [matroxfb_base]>
Instruction DUMP: 0b008000 8530a000 8610e3df <c229c002> 8730e000 80a68005 ce5f69d0 03000004 39000400
Reply to: