----- Original Message ----- From: "Allan Frank" <allan@xxxxxxxxxxxx> To: <video4linux-list@xxxxxxxxxx> Sent: Monday, April 08, 2002 1:01 AM Subject: SV: Re: saa7134 again > >Thank's I guess modutils does not support EXPORT_GPL symbols. > >I had to put lines from 2.4.18 patched with your vmalloc patch into the > >2.4.19-pre4 sources (mm.h, memory.h and ksyms.h). > >Now it works. Cause I am not programmer I can not be sure about all > >consecuences. > >Of course I will try to update modutils althoutgh I tried PLD and SuSE > >7.3 - new distributions. > > Here is my experience: > > Got linux-2.4.18 and patched it with patch-2.4.19-pre6. After that I patched > it with 01-videodev-fix-2.4.19-pre4.diff and 03-v4l2-api-2.4.19-pre4.diff. > It seems that vmalloc_to_page is already in the kernel (although declared > slightly different), so I didn't put that patch in. > > Rebooted into the kernel and ksyms says: > > grep vmalloc_to_page /proc/ksyms > c01213e8 vmalloc_to_page_R__ver_vmalloc_to_page > > That string looks somewhat different from the other function exports, but I > haven't a clue why. Its exported gpl, though. > > When I try to insmod my video-buf.o (from bttv-0.8.38) I get unresolved > symbol vmalloc_to_page. I have tried modutils 2.4.14 (from rpm) and modutils > 2.4.15 (from kernel.org). > > Any clues anyone? I'm not used to posting here, so I might have missed > something - sorry if that's the case. > > Thanks. > > /Allan > Outlook, Internet Explorer and IIS stinks. > The key to knowledge is not to rely on people to teach you it. Thank's a lot. It's a pity I am not a programmer, so I used other trick. After patching 2.4.18 to 2.4.19-pre4 I changed EXPOTR_SYMBOL_GPL (vmalloc_to_page) in ksyms.c into EXPORT_SYMBOL (vmalloc_to_page). Anyway we should propably update modutils. Regards Wieslaw