Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on May 2008
#1
Hey,

Been playing around with recompiling my n810 kernel with the preempt option. Annoyingly the wireless module doesnt load. I remember seeing a 2007OS with preempt option enabled. Anyone have any experiences or suggestions about this problem??

Craig
 
Johnx's Avatar
Posts: 643 | Thanked: 628 times | Joined on Mar 2007 @ Seattle (or thereabouts)
#2
I assume you recompiled just the kernel and not the modules? I would assume that cx3110x needs to be recompiled with preempt support...
 
igor's Avatar
Posts: 198 | Thanked: 273 times | Joined on Jan 2006 @ Helsinki, Finland
#3
I'm surprised that it even works so far.
When I tried 1 year ago, it would just lock immediately and reboot.
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#4
What does dmesg say after you attempted to load the module?

Please let me know your experience with the preempt kernel
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 10 | Thanked: 0 times | Joined on May 2008
#5
Sorry for the delay, work stuff got in the way. The issue appears to be a mismatch with the following modules:

[ 3.992187] umac: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 4.031250] cx3110x: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 10.390625] fuse: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 19.648437] g_file_storage: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 30.835937] JFFS2 warning: (725) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -89

Anyone have some ideas on how to resolve this?

Craig
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#6
Originally Posted by Craig@dcs View Post
Sorry for the delay, work stuff got in the way. The issue appears to be a mismatch with the following modules:

[ 3.992187] umac: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 4.031250] cx3110x: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 10.390625] fuse: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 19.648437] g_file_storage: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '
[ 30.835937] JFFS2 warning: (725) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -89

Anyone have some ideas on how to resolve this?

Craig
Originally Posted by Johnx View Post
I assume you recompiled just the kernel and not the modules? I would assume that cx3110x needs to be recompiled with preempt support...
(That, and all other modules, I think.)
 
Posts: 10 | Thanked: 0 times | Joined on May 2008
#7
Well, it currently works, just without wireless support. All the other modules load fine.
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#8
Hmm my suggestion is to just rename the kernel version to not being -preempt because then the versions match. At least, that is my theory. Yes, its incorrect and ugly, but it should work.

(Or recompile the modules if possible, but I think you used the config from /proc hence is not different except preempt... am I correct?)
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#9
IIUC, the kernel version is completely unrelated to the version magic, which is a system to ensure modules are compatible or don't load; it works by having each module have version/config info of all interfaces that it depends on. So you're not seeing any other issues with other modules that don't have code depending on the preempt option, but those four modules (and maybe others you haven't tried loading yet) do, and won't load. I think recompiling those four modules would be sufficient, but I'd rebuild them all if I was doing it, to save trouble later with any modules you haven't tested yet.

BTW, does plugging it into USB and using it as a card reader still work? I think that'll be gone too.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#10
Originally Posted by Benson View Post
BTW, does plugging it into USB and using it as a card reader still work? I think that'll be gone too.
For me it does but I did a little more than just editing the .config.

What I have done so far:
1. Enabled preempt using make menuconfig.
2. Flashed it.
3. Replaced as much modules as I can in the initfs with the new ones compiled with PREEMPT.
4. Switched on tablet. Tablet rebooted. Enabled no-lifeguard-reset with flasher. Now tablet stays on. Now I'm Pimpin.

Problem:
I'm trying to recompile the cx3110x **** with the Makefile tweaked to point to my PREEMPT kernel sources instead. Instead, a lot of symbols can't be found.

Here's my syslog for that:
Aug 15 12:49:06 Nokia-N800-23-14 kernel: Linux version 2.6.21-omap1 (faheem@faheem-desktop) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #1 PREEMPT Fri Aug 15 11:05:30 BST 2008
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.671875] cx3110x: Unknown symbol prism_softmac_service
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.671875] cx3110x: Unknown symbol prism_softmac_frame_rx
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol prism_softmac_frame_tx
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol prism_softmac_describe
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol frame_to_skb
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol frame_skb_alloc
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol prism_softmac_destroy
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.679687] cx3110x: Unknown symbol prism_softmac_parse_bra
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.687500] cx3110x: Unknown symbol prism_softmac_conf
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.687500] cx3110x: Unknown symbol prism_interconnect_message_query
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.695312] cx3110x: Unknown symbol skb_to_frame
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.695312] cx3110x: Unknown symbol sm_net_device
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.695312] cx3110x: Unknown symbol prism_softmac_create
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.695312] cx3110x: Unknown symbol prism_softmac_trap
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.695312] cx3110x: Unknown symbol prism_driver_frame_free
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.703125] cx3110x: Unknown symbol prism_driver_free
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.703125] cx3110x: Unknown symbol prism_interconnect_message_handle
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.703125] cx3110x: Unknown symbol prism_softmac_frame_tx_done
Aug 15 12:49:07 Nokia-N800-23-14 kernel: [ 4.703125] cx3110x: Unknown symbol frame_skb_free

If by somechance, I manage to fix those errors, think this will make a difference?:
"Aug 15 12:52:50 Nokia-N800-23-14 kernel: [ 4.625000] umac: version magic '2.6.21-omap1 mod_unload ARMv6 ' should be '2.6.21-omap1 preempt mod_unload ARMv6 '"
 
Reply

Tags
preempt rt


 
Forum Jump


All times are GMT. The time now is 18:14.