Created attachment 217091 [details] Xorg.0.log, lspci and dmesg outputs. MSI U180 atom netbook using gma500 driver works fine if the kernel is build as 32bit however if I build the kernel as 64bit the Xserver fails to start and reports: [ 27.260] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Inappropriate ioctl for device Please find attached Xorg.0.log, lspci and dmesg outputs. Any suggestions as to what is wrong ?
Hi Stuart Did you try with a 64-bit userspace? I haven't tried gma500 on a 64-bit system so not sure what the status is. GPU can only address 32-bit so there could be interesting problems.
(In reply to Patrik Jakobsson from comment #1) > Hi Stuart > > Did you try with a 64-bit userspace? I haven't tried gma500 on a 64-bit > system so not sure what the status is. GPU can only address 32-bit so there > could be interesting problems. Hi Patrik, No I have not tried a 64-bit userspace. I only planned on using a 32-bit user space. I use LFS/BLFS for my systems so I could try and build a cut down 64-bit user space if you think it will help. These are not the quickest machines so it may take me some time.
Created attachment 217321 [details] Add compat ioctl Turns out we didn't have compat_ioctl hooked up. Does the patch I attached fix your problem?
(In reply to Patrik Jakobsson from comment #3) > Created attachment 217321 [details] > Add compat ioctl > > Turns out we didn't have compat_ioctl hooked up. Does the patch I attached > fix your problem? Hi Patrik, Just tested your patch and I can report that it solved my problem the xserver starts correctly. Thank you.
Thanks for testing, queued for next and stable
Hi Patrik, I have checked both linux-4.7 and linux-4.8-rc1 and this fix has not made it through, when do you think it will be included ? Thanks.
Hi Stuart, The fix is available now in most stable kernels. Can you confirm and close the bug if everything is fine?
Hi Patrik, Yes everything is ok now. Thanks.