This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Error removing module: Device or resource busy
On Fri, Jan 20, 2012 at 11:27:07PM -0800, Josh Stone wrote:
> On 01/20/2012 06:30 PM, Chris Dunlop wrote:
>> On Sat, Jan 21, 2012 at 12:35:35PM +1100, Chris Dunlop wrote:
>>> I'm building from vanilla linux-3.1.10 (9bb1282), .config below.
>>
>> Oh, this is probably worth mentioning: whilst the problem is
>> occuring on debian wheezy/sid, both the kernel and systemtap are
>> being built on a different machine running Ubuntu 10.04.
>
> Those gcc are quite different -- looks like 4.4.3 vs 4.6.1/2?
Yes, they're the gcc versions I'm using on the different machines.
> Perhaps try the "stap -p4" step from the same Ubuntu machine,
> with "-r DIR" to the kernel build directory since it's sort of
> cross compiling. Then ship that over and use staprun as
> before.
Aha! That's done the trick.
Thanks,
Chris.