ts-7000
[Top] [All Lists]

[ts-7000] FIXED: Cannot mmap kmalloc'd memory in kernel module with user

To:
Subject: [ts-7000] FIXED: Cannot mmap kmalloc'd memory in kernel module with userland =/
From: "explosivedonut" <>
Date: Mon, 01 Mar 2010 16:45:15 -0000
Figured out the problem. My code worked just fine - turns out the original 
'make oldconfig' does not seem to function properly for me (under the TS-Linux 
ts9 distribution). 

Instead of using ts7200_defconfig, 'make oldconfig' couldn't find the .config 
file and reverted to some wacky architecture. I'm not sure why - the .config 
file was in the kernel source root. This misconfiguration caused my macros to 
run the wrong code and virt_to_page() was not working correctly.

To get around the problem, I simply did a 'make ts7200_defconfig' and loaded 
the resulting .config file using 'make menuconfig'. After that I rebuild the 
whole kernel and now my kernel module is working great!

Thanks and sorry for disturbing anyone.

Cheers,
Mike




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU