This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/15663] New: Failing to remove the stap kernel modules on kernel 3.9.4


http://sourceware.org/bugzilla/show_bug.cgi?id=15663

            Bug ID: 15663
           Summary: Failing to remove the stap kernel modules on kernel
                    3.9.4
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com

On Linux kernel 3.9.4 x86_64, we're always seeing that stap fails to remove the
kernel module upon exit:

  # stap -e 'probe begin { print("Hello\n") exit() }'
  Hello
  Error removing module 'stap_72392efe884b8779ed83364cfbcd97e0_965': Device or
resource busy.
  WARNING: /usr/local/systemtap/bin/staprun exited with status: 1
  Pass 5: run failed.  [man error::pass5]

And we can see the kernel modules are still there:

  # lsmod | grep stap
  stap_db98a89434ce6c6d11c1e43dd3b758df_11003   242671  0 [permanent]
  stap_41ed56b577691483d1b190b51ee07fe1_12277   241903  0 [permanent]

The systemtap version that we're using:

  # stap --version
  Systemtap translator/driver (version 2.2/0.155, non-git sources)
  Copyright (C) 2005-2013 Red Hat, Inc. and others
  This is free software; see the source for copying conditions.
  enabled features: BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS

And CONFIG_MODULE_UNLOAD is enabled in our kernel:

  # grep CONFIG_MODULE_UNLOAD /boot/config-`uname -r`
  CONFIG_MODULE_UNLOAD=y

Any help will be highly appreciated.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]