Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109296

exclusive sleep mutex CAM device lock

    XMLWordPrintable

    Details

    • Impact:
      Medium

      Description

      FreeNAS 12.2 - release -p2  (below it doesn't recognize 12.2, so I used 12.1)

      MB: Supermicro MNL-H8DM8E-2 

      CPU: 2@Six-Core AMD Opteron(tm) Processor 2425 HE (2110.87-MHz K8-class CPU)

      61 GB Memory

      For other reasons, I did a clean install with all ZFS information on my machine, immediately turning on Witness on first run. On second run I repeatedly get this error:

      Feb 6 09:31:13 truenas uma_zalloc_arg: zone "kenv" with the following non-sleepable locks held:
      Feb 6 09:31:13 truenas exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffff80004f7e4d0) locked @ /truenas-releng/freenas/_BE/os/sys/cam/cam_xpt.c:2340
      Feb 6 09:31:13 truenas stack backtrace:
      Feb 6 09:31:13 truenas #0 0xffffffff80b49d41 at witness_debugger+0x71
      Feb 6 09:31:13 truenas #1 0xffffffff80b4acbd at witness_warn+0x40d
      Feb 6 09:31:13 truenas #2 0xffffffff80e5c7d8 at uma_zalloc_arg+0x38
      Feb 6 09:31:13 truenas #3 0xffffffff80a9191a at getenv_string_buffer+0x3a
      Feb 6 09:31:13 truenas #4 0xffffffff80a92047 at getenv_quad+0x17
      Feb 6 09:31:13 truenas #5 0xffffffff80a92012 at getenv_int+0x12
      Feb 6 09:31:13 truenas #6 0xffffffff803e6a07 at daregister+0x1e7
      Feb 6 09:31:13 truenas #7 0xffffffff8037f1ab at cam_periph_alloc+0x57b
      Feb 6 09:31:13 truenas #8 0xffffffff803e6362 at daasync+0x2c2
      Feb 6 09:31:13 truenas #9 0xffffffff8038985a at xptsetasyncfunc+0x11a
      Feb 6 09:31:13 truenas #10 0xffffffff8038b595 at xptdevicetraverse+0xa5
      Feb 6 09:31:13 truenas #11 0xffffffff8038b37b at xpttargettraverse+0xcb
      Feb 6 09:31:13 truenas #12 0xffffffff8038aec3 at xptbustraverse+0xd3
      Feb 6 09:31:13 truenas #13 0xffffffff803896ce at xpt_register_async+0x1fe
      Feb 6 09:31:13 truenas #14 0xffffffff803e6049 at dainit+0x19
      Feb 6 09:31:13 truenas #15 0xffffffff8037ec03 at periphdriver_init+0x43
      Feb 6 09:31:13 truenas #16 0xffffffff803893f2 at xpt_finishconfig_task+0x12

      This seems to be a FreeBSD issue - please see:

      https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248250

      They seem to have patched - just wanted to make TrueNas aware.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                mav Alexander Motin
                Reporter:
                furrydad Tom Johnson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: