Error removing module: Device or resource busy

Josh Stone jistone@redhat.com
Sat Jan 21 07:27:00 GMT 2012


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?  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.

The compiler used to create stap itself shouldn't matter much, but I
could see some ABI difference causing issues between the kernel's gcc
and that used by stap to produce its modules.  If this is the case, we
should think about ways to detect and preemptively stomp such mixing.

Josh



More information about the Systemtap mailing list