Re: 2.5.31: modules don't work at all

Flanigan, Ryan
2002-08-12T03:11:06Z

>>>>> "Adam" == Adam J Richter <adam@yggdrasil.com> writes:

Adam> Ryan, thanks for suggesting that, as it would have taken
Adam> me a long time to narrow it down that far!

np.

Adam> It would help avoid duplication of effort if you could
Adam> indicate how along you are with this problem. If you or

just a "test" build w/ PREEMPT enabled is when i noticed it. it
was the only thing i changed in the .config. so ...
i just wanted to isolate it a bit more before posting.

Adam> someone else has nailed the problem and is preparing a
Adam> patch, then there is no point in anyone else trying to
Adam> duplicate that debugging effort. On the other hand, if you

i have only put in a few hours on the problem thus far, and plan
to continue tonight by looking to the "hold atomic kmaps across
generic_file_read" and "Forward port of get_user_pages() change
from 2.4" patch by Andrew Morton <akpm@zip.com.au>. thats my best
guess thus far. others might think differently (and they're probably
right).

Adam> just noticed CONFIG_PREEMPT was the difference between your
Adam> configuration and that of someone else who was running
Adam> 2.5.31 successfully and are not actively debugging the
Adam> problem, then I'll try to poke at it some more.

please do. im still _slow_ when dealing with these things.

Adam> I already know that the error that trips insmod occurs at
Adam> in modules.c, line 831, when qm_symbols gets an error from
Adam> copy_to_user():

agreed and thanks for the info!