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

unable to handle kernel NULL pointer in tgt_request_handle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • 3
    • 15901

    Description

      When I try to setup obdecho, I got this crash:

      LustreError: 2847:0:(ldlm_lib.c:437:client_obd_setup()) can't add initial connection
      LustreError: 2847:0:(obd_config.c:561:class_setup()) setup echotmp failed (-2)
      LustreError: 2847:0:(ldlm_lib.c:437:client_obd_setup()) can't add initial connection
      LustreError: 2847:0:(obd_config.c:561:class_setup()) setup echotmp failed (-2)
      LustreError: 2850:0:(sec_config.c:88:sptlrpc_target_sec_part()) unknown target ffff8801db92d038(obdecho)
      BUG: unable to handle kernel NULL pointer dereference at 000000000000001c
      IP: [<ffffffffa07cc5a5>] tgt_request_handle+0x125/0xb10 [ptlrpc]
      PGD 0 
      Oops: 0000 [#1] SMP 
      last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/local_cpus
      CPU 3 
      Modules linked in: osc ost obdecho fid fld ksocklnd ptlrpc obdclass lnet sha512_generic sha256_generic crc32c_intel libcfs ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle iptable_filter ip_tables bridge stp llc autofs4 sunrpc prl_fs_freeze(P) prl_fs(P) prl_eth(P) ipv6 vhost_net macvtap macvlan tun uinput microcode sg uvcvideo videodev v4l2_compat_ioctl32 i2c_core snd_intel8x0 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc lpc_ich mfd_core virtio_balloon shpchp e1000 prl_tg(P) ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif pata_acpi ata_generic ata_piix ahci virtio_pci virtio_ring virtio dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
      
      Pid: 2850, comm: ll_ost00_002 Tainted: P           ---------------    2.6.32.431.lustre #1 Parallels Software International Inc. Parallels Virtual Platform/Parallels Virtual Platform
      RIP: 0010:[<ffffffffa07cc5a5>]  [<ffffffffa07cc5a5>] tgt_request_handle+0x125/0xb10 [ptlrpc]
      RSP: 0018:ffff8801f0741d50  EFLAGS: 00010246
      RAX: ffff8801db940000 RBX: ffff8801f0712050 RCX: 0000000000000001
      RDX: ffff8801db940140 RSI: 0000000000000000 RDI: ffff8801db940140
      RBP: ffff8801f0741da0 R08: 0000000000000000 R09: 0000000000000004
      R10: 0000000000000000 R11: ffff8801d6daf61f R12: ffff8801e3409ec0
      R13: 0000000000000008 R14: ffff8801f07123c8 R15: 0000000000000000
      FS:  0000000000000000(0000) GS:ffff88002e660000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
      CR2: 000000000000001c CR3: 00000001d585f000 CR4: 00000000001406e0
      DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      Process ll_ost00_002 (pid: 2850, threadinfo ffff8801f0740000, task ffff8801d7b78040)
      Stack:
       ffff8801db940400 ffff8801f0741e01 ffff8801db940400 ffffc90004928000
      <d> ffffc90004928000 ffff8801db8ee7c0 ffff8801db940400 ffff8801f0712050
      <d> 0000000000000001 ffff8801d77f1800 ffff8801f0741ee0 ffffffffa077c484
      Call Trace:
       [<ffffffffa077c484>] ptlrpc_main+0xe64/0x1990 [ptlrpc]
       [<ffffffff810096f0>] ? __switch_to+0xd0/0x320
       [<ffffffff815259a0>] ? thread_return+0x4e/0x76e
       [<ffffffffa077b620>] ? ptlrpc_main+0x0/0x1990 [ptlrpc]
       [<ffffffff8109aef6>] kthread+0x96/0xa0
       [<ffffffff8100c20a>] child_rip+0xa/0x20
       [<ffffffff8109ae60>] ? kthread+0x0/0xa0
       [<ffffffff8100c200>] ? child_rip+0x0/0x20
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              liang Liang Zhen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: