[LU-5174] An easy way to switch from panic to BUG Created: 11/Jun/14  Updated: 17/Dec/15  Resolved: 17/Dec/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sebastien Buisson (Inactive) Assignee: Emoly Liu
Resolution: Incomplete Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Sebastien Buisson (Inactive) [ 11/Jun/14 ]

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

Can you please review it?

Thanks,
Sebastien.

Comment by Emoly Liu [ 14/Dec/15 ]

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

Comment by Emoly Liu [ 17/Dec/15 ]

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.

Comment by Gregoire Pichon [ 17/Dec/15 ]

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.

Generated at Sat Feb 10 01:49:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.