Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uvesafb + grsecurity?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nmp0906
n00b
n00b


Joined: 31 Jan 2008
Posts: 71
Location: United States

PostPosted: Sat Feb 06, 2010 5:17 pm    Post subject: uvesafb + grsecurity? Reply with quote

I am running the latest hardened toolchain from hardened-development overlay, keyworded ~amd64, no-multilib, hardened-sources system with grsecurity (and pax) enabled in the kernel. Now here's my issue:

With uvesafb:off appended to the kernel line, everything boots and runs fine.
With uvesafb:1680x1050-32,mttr:3,ywrap appended to the kernel line, things break:

Code:
uvesafb: Getting VBE info block failed (eax=0x4f00, err=1)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22


Are there any known issues with uvesafb/v86d and grsecurity/pax enabled hardened kernels? If so, are there any known workarounds?

Thanks!
Back to top
View user's profile Send private message
s_e_a_n
n00b
n00b


Joined: 14 Jan 2011
Posts: 1

PostPosted: Fri Jan 14, 2011 11:32 pm    Post subject: Using v86d with grsecurity/pax Reply with quote

I realize this is a pretty old thread, but I never did find a clear answer to this question. The kernel option preventing v86d/uvesafb from working properly with a hardened kernel is GRKERNSEC_VM86 (Security Options---> Grsecurity---> Address Space Protection---> Restrict VM86 mode) . Uvesafb worked again after disabling this option, though it may not be a good idea to disable this on a hardened system: "The purpose of the option is to prevent exploitation of emulation errors in virtualization of vm86 mode like the one discovered in VMWare in 2009."
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 383

PostPosted: Thu Feb 10, 2011 4:28 am    Post subject: Reply with quote

Just use Kernel Modesetting. Forget about uvesafb.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum