Jurji > On Sun, Feb 18, 2007 at 12:53:59PM -0800, Jurij Smakov wrote: > > tags 411135 patch > > thanks > > > > Hi, > > > > In 2.6.19 all execve() calls in bbc_envctrl.c and envctrl.c have been > > replaced by call_usermodehelper(). Based on that I've made a simple > > backport of that (patch attached). I would appreciate if you could > > build a kernel with this patch applied and confirm that it works. > > Sorry that I cannot build it myself, I currently don't have access to > > a sparc box. > > I do, and bbc.ko now loads and unloads with this patch: > > Feb 19 15:25:33 sparc kernel: i2c-0: Regs at 000007fe7e00002e, 8 devices, own > a0, clock 10. > Feb 19 15:25:33 sparc kernel: i2c-1: Regs at 000007fe7e000030, 8 devices, own > a0, clock 10. > Feb 19 15:25:49 sparc kernel: bbc_envctrl: kenvctrld starting... > > It does take quite some time to load, but I'm sure this patch didn't cause > that.
Finally got the thing compiled, and I can now load/unload the module too -- bug fixed, thanks very much. Unfortunately, when loaded, it spawns a kenvctrld which eats up almost 100% of one the CPUs, so unusable at present. But I've seen a report on the Ubuntu sparc lists with a (1 line) fix for this problem, so I'll have a crack at that now. Thanks Jurji! Jim -- J.J. Green, Dept. Applied Mathematics, Hicks Bld., University of Sheffield, UK. +44 (0114) 222 3742 http://pdfb.wiredworkplace.net/pub/jjg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]