From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Mon Nov 02 2009 - 12:11:20 PST
Alan Woodland wrote: > 2009/11/2 Alan Woodland <alan.woodland_at_gmail_dot_com>: > >> The attached patch fixes the cause of the missing modules when >> building on 2.6.31. It doesn't however appear to be the only problem >> when building for 2.6.31, it's now hitting a #error which I haven't >> looked at yet. >> >> For those that are interested 2.6.31 no longer sets $(TOPDIR) in >> kbuild invocations, so trying to work out if we're using kbuild based >> on that fails. I switched to $(obj), I couldn't think of anything >> better to use, but I'm sure there is a more appropriate variable to >> use instead. >> >> When I've had more of a look I might post another patch here to fix >> the remaining problems. >> > > Two problems seem to exist with 2.6.31: > - find_task_by_pid_type_ns no longer exists, or isn't visible at all. > - find_task_by_pid_ns test passes, with a warning, but dmesg reports > find_task_by_pid_ns not found at modprobe time. I think this might be > a mistake in the kernel headers, but it's still in System.map, so we > can work around this maybe. > > This is the commit log: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=17f98dcf6010a1cfd25d179fd0ce77d3dc2685c3 > > I'm slightly out of my depth here now, I tried to hack a work around, > but didn't succeed yet. > > Alan > Sorry I've been mostly silent recently. It is great to know that their are folks like Alan to help others when I cannot. I am very busy now with preparations for the annual Supercomputing conference to be held in two week. Once that is past I'll need to catch up on a backlog of other work. So, I doubt that I'll have much time until early December to look at the 2.6.31 problems. I will try to find time sooner, but wanted to make sure nobody had unrealistic expectations. -Paul -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory