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

An easy way to switch from panic to BUG

Details

    • Bug
    • Resolution: Incomplete
    • Minor
    • None
    • Lustre 2.6.0
    • 3
    • 14364

    Description

      Hi,

      panic on LBUG ends in a way where some registers are not properly backed up. So we loose the opportunity to retrieve the content of the registers by the time of the failure.
      Having BUG instead of panic sends an invalid instruction raising an interrupt and then dump all registers, giving a real advantage of not losing this critical information.

      This is why we propose to add a new 'use_bug_instead_of_panic' entry under /proc/sys/lnet, that is complementary with panic_on_lbug. To use it, panic_on_lbug must be set, and in that case we replace panic with BUG.

      I will attach a patch to address this code change.

      Sebastien.

      Attachments

        Activity

          [LU-5174] An easy way to switch from panic to BUG

          Hi,
          I have asked Bull support team to know if some work is still needed on that topic.
          I will let you know if I need the ticket to be reopen.

          thanks,
          Grégoire.

          pichong Gregoire Pichon added a comment - Hi, I have asked Bull support team to know if some work is still needed on that topic. I will let you know if I need the ticket to be reopen. thanks, Grégoire.
          emoly.liu Emoly Liu added a comment -

          We are marking this as resolved/incomplete – if you need more work o n this please let us know and we can re-open the ticket.

          emoly.liu Emoly Liu added a comment - We are marking this as resolved/incomplete – if you need more work o n this please let us know and we can re-open the ticket.
          emoly.liu Emoly Liu added a comment -

          The reporter is inactive and the patch has not been updated for a half year. Can I close this ticket? Any update from Bull?

          emoly.liu Emoly Liu added a comment - The reporter is inactive and the patch has not been updated for a half year. Can I close this ticket? Any update from Bull?

          Patch is at:
          http://review.whamcloud.com/10680

          Can you please review it?

          Thanks,
          Sebastien.

          sebastien.buisson Sebastien Buisson (Inactive) added a comment - Patch is at: http://review.whamcloud.com/10680 Can you please review it? Thanks, Sebastien.

          People

            emoly.liu Emoly Liu
            sebastien.buisson Sebastien Buisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: