Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16783

DEBUG_LOCKS_WARN_ON(!lockdep_enabled()) for quota

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.16.0
    • 9223372036854775807

    Description

      Looks like lockdep is unhappy about quota subsystem something in newer kernels like rhel8+

      [  281.213546] Lustre: lustre-MDT0000: mounting server target with '-t lustre' deprecated, use '-t lustre_tgt'
      [  281.228132] ------------[ cut here ]------------
      [  281.229239] DEBUG_LOCKS_WARN_ON(!lockdep_enabled())
      [  281.229273] WARNING: CPU: 1 PID: 5502 at kernel/locking/lockdep.c:4698 lockdep_init_map_type+0x29d/0x410
      [  281.232630] Modules linked in: zfs(O) zunicode(O) zzstd(O) zlua(O) zcommon(O) znvpair(O) zavl(O) icp(O) spl(O) lustre(O) ofd(O) osp(O) lod(O) ost(O) mdt(O) mdd(O) mgs(O) osd_ldiskfs(O) ldiskfs(O) lquota(O) lfsck(O) obdecho(O) mgc(O) mdc(O) lov(O) osc(O) lmv(O) fid(O) fld(O) ptlrpc_gss(O) ptlrpc(O) obdclass(O) ksocklnd(O) lnet(O) crc32_generic libcfs(O) dm_flakey rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver i2c_piix4 pcspkr squashfs ata_generic ata_piix libata serio_raw dm_mirror dm_region_hash dm_log dm_mod sha512_ssse3 sha512_generic
      [  281.243034] CPU: 1 PID: 5502 Comm: mount.lustre Kdump: loaded Tainted: G           O     --------- -  - 4.18.0rh8.5-debug #2
      [  281.245499] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
      [  281.246764] RIP: 0010:lockdep_init_map_type+0x29d/0x410
      [  281.247828] Code: c0 0f 85 db fe ff ff 48 c7 c6 69 3e b4 82 48 c7 c7 cd 3f b2 82 48 83 05 40 de 35 03 01 e8 91 36 f4 ff 48 83 05 3b de 35 03 01 <0f> 0b 48 83 05 39 de 35 03 01 48 83 05 39 de 35 03 01 e9 a1 fe ff
      [  281.251930] RSP: 0018:ffffc90002383770 EFLAGS: 00010202
      [  281.253159] RAX: 0000000000000000 RBX: ffff888006cf0530 RCX: 0000000000000000
      [  281.254812] RDX: 0000000000000007 RSI: 0000000000000002 RDI: 0000000000000206
      [  281.256460] RBP: ffffffffa137da40 R08: 0000000000000000 R09: 0000000000000000
      [  281.258283] R10: 000000000039f610 R11: 000000000000157e R12: 0000000000000002
      [  281.259831] R13: 0000000000000000 R14: 0000000000000001 R15: ffff888006cf0530
      [  281.261380] FS:  00007ff158e7a8c0(0000) GS:ffff888121600000(0000) knlGS:0000000000000000
      [  281.263110] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [  281.264556] CR2: 00007ffd264c6a1f CR3: 0000000119d40000 CR4: 00000000000006e0
      [  281.266277] Call Trace:
      [  281.267036]  ldiskfs_enable_quotas+0x170/0x320 [ldiskfs]
      [  281.268328]  ldiskfs_fill_super+0x33f3/0x4120 [ldiskfs]
      [  281.269384]  ? ldiskfs_calculate_overhead+0x640/0x640 [ldiskfs]
      [  281.270602]  ? mount_bdev+0x228/0x270
      [  281.271545]  mount_bdev+0x228/0x270
      [  281.272298]  ldiskfs_mount+0x19/0x30 [ldiskfs]
      [  281.273683]  legacy_get_tree+0x38/0x90
      [  281.274609]  vfs_get_tree+0x30/0x140
      [  281.275423]  fc_mount+0x16/0x60
      [  281.276508]  vfs_kern_mount+0x91/0x100
      [  281.277836]  osd_mount+0x6a2/0x1110 [osd_ldiskfs]
      [  281.278950]  osd_device_init0+0x2ae/0xbd0 [osd_ldiskfs]
      [  281.280370]  osd_device_alloc+0x224/0x280 [osd_ldiskfs]
      [  281.281604]  obd_setup+0x19c/0x440 [obdclass]
      [  281.282504]  class_setup+0x6ee/0x9e0 [obdclass]
      [  281.283585]  class_process_config+0x1830/0x2c20 [obdclass]
      [  281.284887]  ? do_lcfg+0x24d/0x740 [obdclass]
      [  281.285946]  do_lcfg+0x377/0x740 [obdclass]
      [  281.286932]  lustre_start_simple+0x8f/0x220 [obdclass]
      [  281.288348]  osd_start+0x551/0xa70 [ptlrpc]
      [  281.289306]  ? simple_strtoul+0xd/0x20
      [  281.290040]  ? target_name2index+0xae/0x100 [obdclass]
      [  281.291310]  ? server_name2index+0x79/0xe0 [obdclass]
      [  281.292543]  ? lsi_prepare+0x254/0x570 [ptlrpc]
      [  281.293738]  server_fill_super+0x16e/0x11b0 [ptlrpc]
      [  281.294979]  lustre_fill_super+0x4a5/0x5e0 [lustre]
      [  281.296171]  ? lustre_mount+0x30/0x30 [lustre]
      [  281.297324]  mount_nodev+0x58/0x100
      [  281.298301]  lustre_mount+0x1c/0x30 [lustre]
      [  281.299435]  legacy_get_tree+0x38/0x90
      [  281.300370]  vfs_get_tree+0x30/0x140
      [  281.301189]  do_mount+0xcad/0x10b0
      [  281.302070]  ksys_mount+0x11d/0x150
      [  281.302852]  __x64_sys_mount+0x29/0x40
      [  281.303881]  do_syscall_64+0xd4/0x5a0
      [  281.304906]  entry_SYSCALL_64_after_hwframe+0x6a/0xdf 

      Attachments

        Issue Links

          Activity

            People

              green Oleg Drokin
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: