mmap paging problems

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

 



Hi,

I have a kernel module running within Linaro 4.4.9 with PREEMPT RT 17.
Within that module I attempt to transfer data from the kernel module
to user space.  The user space application does not run real-time,
just in plain Linux user space.  With each attempted run I get a
kernel dump that begins with the following:

Unable to handle kernel paging request at virtual address <some address>

I'm using mmap in a fairly straightforward way.  Basically, upon an
IOC command from the user space application to the kernel module, the
kernel module attempts to copy data into the memory mapped area.  I've
checked, double checked, and triple checked that I'm not writing to a
bad address or an address outside of the mmap'ed area.

Are there some special (special in the sense of in addition to or
instead of the way done for a non-PREEMPT-RT kernel) things one must
do to safely write mmap'ed data within a PREEMPT RT kernel?

Has anyone else encountered this problem?

Thanks for any help.

-Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux