Re: XFree86 4.1.0: call for help
Ani Joshi wrote:
>
> Michel,
>
> I looked into the situation and found out why its crashing on your
> machine.
BTW it doesn't crash the whole machine, the server just segfaults. Nothing
dramatic. :)
> The vgaHW pointer is not setting the IOBase, so when it tries to
> read that it crashes. Do this in r128_driver.c:
>
> after the hwrec is alloced (vgaHWGetHWRec())
>
> {
> vgaHWPtr hwp;
>
> vgaHWGetIOBase(hwp);
> }
>
> (should probably add vgaHWGetIOBase to the loader symlist also)
>
> This should probably solve your problem.
That would be nice, unfortunately it doesn't. For the record, here's the patch
against xf-4_1-branch I tested:
Index: r128_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c,v
retrieving revision 1.29.2.1
diff -u -r1.29.2.1 r128_driver.c
--- r128_driver.c 2001/05/24 19:43:39 1.29.2.1
+++ r128_driver.c 2001/06/19 20:54:17
@@ -1378,6 +1378,8 @@
return FALSE;
}
+ vgaHWGetIOBase(VGAHWPTR(pScrn));
+
info->PciInfo = xf86GetPciInfoForEntity(info->pEnt->index);
info->PciTag = pciTag(info->PciInfo->bus,
info->PciInfo->device,
Keeping the pciconfig_iobase syscall always failing in my kernel...
--
Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast \ XFree86 and DRI project member
Reply to: