Ani Joshi wrote: > > Can you check and make sure the MMIO and framebuffer are mapped? I belive > its pMga->IOBase and pMga->FbBase. Maybe for some reason they didn't get > mapped, which would explain why once you try to copy (swcursor) into the > FB or 8x8 Mono blit the MMIO will crap out with null pointers.
Case DualHead (seg fault): ##### (gdb) print pMga->IOBase $1 = (unsigned char *) 0x30015000 <Address 0x30015000 out of bounds> (gdb) print pMga->FbBase $2 = (unsigned char *) 0x30084000 <Address 0x30084000 out of bounds> ##### Case SingleHead (works fine): ##### (gdb) print pMga->IOBase $1 = (unsigned char *) 0x30015000 <Address 0x30015000 out of bounds> (gdb) print pMga->FbBase $2 = (unsigned char *) 0x30049000 <Address 0x30049000 out of bounds> ##### both were taken at the same place, first after a SegFault, second after a breakpoint. The mapped value seems reasonable (to me :-). I suppose the difference in FbBase is due to mapping something else before mappig the MGA FB... -- DOLBEAU Romain | For a hill, men would kill, ENS Cachan / Ker Lann | Why ? They do not know. Thesard IRISA / CAPS | -- Metallica, [EMAIL PROTECTED] | 'For Whom The Bell Tolls' _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
