Enable promiscous /dev/mem in ubuntu server

Andy Whitcroft apw at canonical.com
Sun Apr 6 14:20:56 UTC 2014


On Thu, Apr 03, 2014 at 04:00:56PM +0530, ratheesh kannoth wrote:
> > Thu, Apr 3, 2014 at 3:22 PM, Robie Basak <robie.basak at ubuntu.com> wrote:
> > Hi Ratheesh,
> >
> > On Thu, Apr 03, 2014 at 02:30:13PM +0530, ratheesh kannoth wrote:
> >> I could see in  /boot/config-3.11.0-12-generic  file  that
> >> CONFIG_STRICT_DEVMEM=y.
> >>
> >> 1) Is there any way to get around ?
> >>
> >
> > I'm not sure. If you don't get an answer here, try the Ubuntu kernel
> > team mailing list or IRC channel [1].

I don't know of any way to get round that restriction without
recompiling, no.  This is enabled on advice of the security folk.

> >> 2) if only kernel recompilation is the option, is it same as desktop
> >> ubuntu kernel compilation  ?  this wiki
> >> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel  talks about some.
> >
> > The server kernel is now -generic and the same as the desktop kernel.
> > Just make sure you build the -generic kernel using the binary-generic
> > target as specified in those instructions.
> >
> 
> I think there should be some difference in the way kernel is
> configured. I can load ubuntu server on a cisco UCS
> box but i could not load ubuntu desktop.

The kernel is the very same binaries between the two.  The way the CDs
are mastered may differ though.

-apw




More information about the kernel-team mailing list