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/
|