From: Johannes G. <joh...@gm...> - 2004-09-21 22:54:18
|
Dear list members, Yitzhak Bar Geva has told me I can ask in this list for help on problems setting up a multiuser system. I have kernel 2.4.27 for AMD64 (xf86_64) and use Jean-Daniel Paugets patch which I have slightly modified by replacing "i386" with "x86_64" where it seemed appropriate to me. I had to hack a little on IA32 support, but finally the result was quite ok for me. I can now attach a second PS2 keyboard and start a second XServer on the DUMB console which uses the second keyboard but shows up on my primary graphic card (NVidia FX 5200). Now for the second XServer. Yitzhak Bar Geva has told me I cannot use the second head of the NVidia for the second XServer, so I installed my old MGA Millenium. I use XFree86 4.3.0.1 with xf86-430-prefbusid3.diff. When I start X on the MGA I get the error (WW) ****INVALID MEM ALLOCATION**** b: 0xffffc000 e: 0xffffc000 correcting (EE) MGA(0): No valid MMIO address in PCI config space (EE) Screen(s) found, but none have a usable configuration. lspci -v shows ... 00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W [Millennium] (rev 01) (prog-if 00 [VGA]) Flags: stepping, medium devsel, IRQ 18 Memory at <ignored> (32-bit, non-prefetchable) [disabled] Memory at <ignored> (32-bit, prefetchable) [disabled] ... 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA]) Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 Memory at fd000000 (32-bit, non-prefetchable) [size=16M] Memory at f0000000 (32-bit, prefetchable) [size=128M] Expansion ROM at feae0000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Capabilities: [44] AGP version 3.0 which suggests to me that the memory on the MGA cannot be used. When I make the MGA the primary graphic adapter (BIOS setup) it is the other way round: The MGA works ok, I can start an XServer on it, but the NVidia has no memory and I cannot start an XServer on the NVidia with the same error as described above. I have tried two XFree86 patches I have found on the Internet: 1) http://www.redhat.com/archives/axp-list/2001-February/msg00349.html 2) http://www.redhat.com/archives/axp-list/2001-February/msg00348.html The second patch does not apply cleanly, perhaps it interferes with xf86-430-prefbusid3.diff, but I have tried my best to apply it in a meaningful way. The resulting XServer works exactly as the unpatched XServer: my problem is not fixed. I would be very glad If you could give me some help on what is going wrong. Yours, Johannes Gajdosik |
From: Aivils <ai...@un...> - 2004-09-22 06:14:00
|
On Wednesday 22 September 2004 01:53, Johannes Gajdosik wrote: > Dear list members, > Yitzhak Bar Geva has told me I can ask in this list > for help on problems setting up a multiuser system. > > I have kernel 2.4.27 for AMD64 (xf86_64) and use Jean-Daniel Paugets > patch which I have slightly modified by replacing "i386" with "x86_64" > where it seemed appropriate to me. --- arch/x86_64/kernel/setup.c~ 2004-08-19 14:40:13.000000000 +0300 +++ arch/x86_64/kernel/setup.c 2004-09-22 09:46:59.952898432 +0300 @@ -577,7 +577,7 @@ void __init setup_arch(char **cmdline_p) iommu_hole_init(); #endif -#ifdef CONFIG_VT +#if 0 #if defined(CONFIG_VGA_CONSOLE) conswitchp = &vga_con; #elif defined(CONFIG_DUMMY_CONSOLE) > I had to hack a little on IA32 > support, but finally the result was quite ok for me. > I can now attach a second PS2 keyboard and start a second XServer > on the DUMB console which uses the second keyboard but shows up > on my primary graphic card (NVidia FX 5200). > > Now for the second XServer. > Yitzhak Bar Geva has told me I cannot use the second head of the NVidia > for the second XServer, so I installed my old MGA Millenium. > I use XFree86 4.3.0.1 with xf86-430-prefbusid3.diff. > > When I start X on the MGA I get the error > (WW) ****INVALID MEM ALLOCATION**** b: 0xffffc000 e: 0xffffc000 > correcting > (EE) MGA(0): No valid MMIO address in PCI config space > (EE) Screen(s) found, but none have a usable configuration. > > lspci -v shows > .... > 00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W > [Millennium] > (rev 01) (prog-if 00 [VGA]) > Flags: stepping, medium devsel, IRQ 18 > Memory at <ignored> (32-bit, non-prefetchable) [disabled] > Memory at <ignored> (32-bit, prefetchable) [disabled] > .... > 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX > 5200] (rev a1) (prog-if 00 [VGA]) > Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 > Memory at fd000000 (32-bit, non-prefetchable) [size=16M] > Memory at f0000000 (32-bit, prefetchable) [size=128M] > Expansion ROM at feae0000 [disabled] [size=128K] > Capabilities: [60] Power Management version 2 > Capabilities: [44] AGP version 3.0 This may interest hairspliters in the Linux kernel mailing list. Cause is not linux-ruby and not XFree86. 1) You can try 2.6.8 2) Drop milenium into waste box. > which suggests to me that the memory on the MGA cannot be used. > When I make the MGA the primary graphic adapter (BIOS setup) > it is the other way round: > The MGA works ok, I can start an XServer on it, but the NVidia has no > memory and I cannot start an XServer on the NVidia with the same error > as described above. > > I have tried two XFree86 patches I have found on the Internet: > 1) http://www.redhat.com/archives/axp-list/2001-February/msg00349.html > 2) http://www.redhat.com/archives/axp-list/2001-February/msg00348.html > The second patch does not apply cleanly, perhaps it interferes with > xf86-430-prefbusid3.diff, but I have tried my best to apply it in a > meaningful way. The resulting XServer works exactly as the unpatched > XServer: my problem is not fixed. I heard about DIP swiches on the old matrox video cards. In one state of dip switch video card is primary. Only when dip switch is in the right state, then video card works as secondary. But Your card is relative new. Aivils |
From: Vojtech P. <vo...@su...> - 2004-09-22 07:43:09
|
On Wed, Sep 22, 2004 at 10:07:14AM +0300, Aivils wrote: > > lspci -v shows > > .... > > 00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W > > [Millennium] > > (rev 01) (prog-if 00 [VGA]) > > Flags: stepping, medium devsel, IRQ 18 > > Memory at <ignored> (32-bit, non-prefetchable) [disabled] > > Memory at <ignored> (32-bit, prefetchable) [disabled] > > .... > > 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX > > 5200] (rev a1) (prog-if 00 [VGA]) > > Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 > > Memory at fd000000 (32-bit, non-prefetchable) [size=16M] > > Memory at f0000000 (32-bit, prefetchable) [size=128M] > > Expansion ROM at feae0000 [disabled] [size=128K] > > Capabilities: [60] Power Management version 2 > > Capabilities: [44] AGP version 3.0 > > This may interest hairspliters in the Linux kernel mailing list. > Cause is not linux-ruby and not XFree86. > 1) You can try 2.6.8 > 2) Drop milenium into waste box. It's a mainboard BIOS issue. Happens on many x86-64 mainboards with two VGA cards installed - only the first one gets resources assigned. I'm not yet sure why the kernel can't fix that, but at the moment it can't. > I heard about DIP swiches on the old matrox video cards. > In one state of dip switch video card is primary. Only when > dip switch is in the right state, then video card works as secondary. > But Your card is relative new. It happens with my MGA G400 PCI as well. -- Vojtech Pavlik SuSE Labs, SuSE CR |
From: ludovic p. <pl...@nn...> - 2004-09-22 06:39:56
|
Hello... I had a similar problem with a MGA mystique board, with a 2.4.25 (i386)=20 kernel : the board was not correctly activated in PCI. And X failled to=20 activate it. My problem was that I was using the hackvideo stuff. I don't think you ne= ed it=20 with a patched XFree. (cat /proc/bus/pci/hackvideo ) Do you manage to have a running Xserver driving both cards, without any=20 prefbusid ? Does lspci returns the same before and after you start the X server ? Ludovic Pollet Le mercredi 22 Septembre 2004 00:53, Johannes Gajdosik a =E9crit : > Dear list members, > Yitzhak Bar Geva has told me I can ask in this list > for help on problems setting up a multiuser system. > > I have kernel 2.4.27 for AMD64 (xf86_64) and use Jean-Daniel Paugets > patch which I have slightly modified by replacing "i386" with "x86_64" > where it seemed appropriate to me. I had to hack a little on IA32 > support, but finally the result was quite ok for me. > I can now attach a second PS2 keyboard and start a second XServer > on the DUMB console which uses the second keyboard but shows up > on my primary graphic card (NVidia FX 5200). > > Now for the second XServer. > Yitzhak Bar Geva has told me I cannot use the second head of the NVidia > for the second XServer, so I installed my old MGA Millenium. > I use XFree86 4.3.0.1 with xf86-430-prefbusid3.diff. > > When I start X on the MGA I get the error > (WW) ****INVALID MEM ALLOCATION**** b: 0xffffc000 e: 0xffffc000 > correcting > (EE) MGA(0): No valid MMIO address in PCI config space > (EE) Screen(s) found, but none have a usable configuration. > > lspci -v shows > ... > 00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W > [Millennium] > (rev 01) (prog-if 00 [VGA]) > Flags: stepping, medium devsel, IRQ 18 > Memory at <ignored> (32-bit, non-prefetchable) [disabled] > Memory at <ignored> (32-bit, prefetchable) [disabled] > ... > 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX > 5200] (rev a1) (prog-if 00 [VGA]) > Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 > Memory at fd000000 (32-bit, non-prefetchable) [size=3D16M] > Memory at f0000000 (32-bit, prefetchable) [size=3D128M] > Expansion ROM at feae0000 [disabled] [size=3D128K] > Capabilities: [60] Power Management version 2 > Capabilities: [44] AGP version 3.0 > > which suggests to me that the memory on the MGA cannot be used. > When I make the MGA the primary graphic adapter (BIOS setup) > it is the other way round: > The MGA works ok, I can start an XServer on it, but the NVidia has no > memory and I cannot start an XServer on the NVidia with the same error > as described above. > > I have tried two XFree86 patches I have found on the Internet: > 1) http://www.redhat.com/archives/axp-list/2001-February/msg00349.html > 2) http://www.redhat.com/archives/axp-list/2001-February/msg00348.html > The second patch does not apply cleanly, perhaps it interferes with > xf86-430-prefbusid3.diff, but I have tried my best to apply it in a > meaningful way. The resulting XServer works exactly as the unpatched > XServer: my problem is not fixed. > > I would be very glad If you could give me some help on what is going > wrong. Yours, > > Johannes Gajdosik > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Linuxconsole-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev --=20 God made machine language; all the rest is the work of man. |