Re: ioctl32 warning on framebuffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Meelis Roos <mroos@xxxxxxxx>
Date: Sun, 29 Jul 2007 19:32:47 +0300 (EEST)

> The warnings are gone but I do not know whether X actually work since 
> the box is headless in a rack and X runs only by accident (it rised its 
> head again when I enabled atyfb compilation). Trying to run X by hand 
> now gives
> 
> Fatal server error:
> xf86MapPciMem: Could not mmap PCI memory [base=0xe2000000,hostbase=0xe2000000,size=2000] (Inappropriate ioctl for device)
> but this could be because OF may have disabled the device (OF thinks 
> there is no monitor since the ID pins in VGA connector have appearantly broken - 
> but no visible brokenness).

There have been several patches posted recently which should
cure X on sparc64, make sure you have them all applied.  It
could cause exactly this error.

In particular, I think you're hitting the fs/proc/inode.c bug
fix I made which got checked into Linus's tree yesterday.

 ...
> so the memory regions are at 1ffe1000000, not e2000000 - but maybe this 
> is remapped automatically?

e20000000 is the PCI bus-centric address of the device, the
larger address is the physical address.

X is using the correct address for the mmap().
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux