Project

General

Profile

Bug #45611

Avatar?id=19868&size=50x50

Remove assumptions in MI code that the BSP is CPU 0

Added by Nick Principe about 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Alexander Motin
Category:
OS
Target version:
Seen in:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

On 11.2 nightlies, enabling debug kernel causes a panic on boot. Since changing the setting and rebooting twice, it has happened both times.

The panic is netisr_init is not on CPU 0.

This version in particular is TrueNAS-11.2-MASTER-201809070753 on an M40.

Associated revisions

Revision 638e2743 (diff)
Added by nwhitehorn about 2 years ago

Remove assumptions in MI code that the BSP is CPU 0. (cherry picked from commit 9852e91f162bd4a1df1857423e23b55b5c96f45e) Ticket: #45611

History

#1 Updated by Alexander Motin about 2 years ago

  • Project changed from TrueNAS to FreeNAS
  • Category changed from OS to OS
  • Status changed from Unscreened to Ready for Testing
  • Target version changed from Backlog to 11.2-RC1
  • Seen in changed from TrueNAS 11.2 to 11.2-BETA3
  • Severity changed from New to Low
  • Migration Needed deleted (No)
  • Hide from ChangeLog deleted (No)
  • Support Department Priority deleted (0)

I don't see any reason why that assertion is needed there nowadays, especially since both FreeNAS and TrueNAS 11.x already utilize EARLY_AP_STARTUP option, making BSP much less specific CPU during startup as it is in FreeBSD 12, where this assertion was removed two years ago. I've cherry-picked that revision form FreeBSD head and just in case written to it original author: https://github.com/freenas/os/commit/638e2743a47f7bea88f056ce90482f31c7d9edb6

Nick, please try next nightly build to make sure it behaves better on boot, and may be debug your NFS panic.

#2 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Enabling debug kernel on 11.2 causes panic on boot to Remove assumptions in MI code that the BSP is CPU 0
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#3 Updated by Dru Lavigne about 2 years ago

  • File deleted (11.2-enable-debug-boot-panic)

#5 Updated by Bonnie Follweiler almost 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF