Project

General

Profile

Bug #19810

grub-install segfault on update to FreeNAS-9.10.2 (a476f16)

Added by nils b almost 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
Sean Fagan
Category:
OS
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

[not sure if the version I set below is correct...]
I got the following segfaults in the console during updating:

Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] + /bin/kenv
Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] + fgrep -q 'grub.platform="efi"'
Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] + gpart show da1
Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] + grep -q bios-boot
Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] + /usr/local/sbin/grub-install '--modules=zfs part_gpt' /dev/da1
Dec 24 22:37:40 freenas updated.py: [freenasOS.Installer:105] Installing for i386-pc platform.
Dec 24 22:37:42 freenas updated.py: [freenasOS.Installer:105] Segmentation fault
Dec 24 22:37:42 freenas updated.py: [freenasOS.Installer:105] + gpart show da0
Dec 24 22:37:42 freenas updated.py: [freenasOS.Installer:105] + grep -q bios-boot
Dec 24 22:37:42 freenas updated.py: [freenasOS.Installer:105] + /usr/local/sbin/grub-install '--modules=zfs part_gpt' /dev/da0
Dec 24 22:37:42 freenas updated.py: [freenasOS.Installer:105] Installing for i386-pc platform.
Dec 24 22:37:42 freenas kernel: pid 71975 (grub-install), uid 0: exited on signal 11
Dec 24 22:37:43 freenas updated.py: [freenasOS.Installer:105] Segmentation fault
Dec 24 22:37:43 freenas updated.py: [freenasOS.Installer:331] Sub procss exited with status 0x8b
Dec 24 22:37:43 freenas kernel: pid 71980 (grub-install), uid 0: exited on signal 11

Everything after that was normal, and the system came up fine again on reboot. Logfile from the console is attached. Please let me know what other info to report (and how to get it).
Thanks
Nils

History

#1 Updated by nils b almost 4 years ago

  • Seen in changed from 9.10.2-U3 to 9.10.2

#2 Updated by nils b almost 4 years ago

Additional info: during the update it hung at 20% in the GUI until it rebooted. That's also mentioned by several people in this thread:
https://forums.freenas.org/index.php?threads/update-stuck-update-freenas-9-10-1-u4-has-already-been-applied-please-reboot-the-system-to-avail.48772/page-2

#3 Updated by Sean Fagan almost 4 years ago

  • Status changed from Unscreened to Resolved

This is a known issue, and prompted a change in how the update code works. It's harmless in our experience, fortunately.

#4 Updated by Dru Lavigne almost 3 years ago

  • Assignee set to Sean Fagan
  • Target version set to Master - FreeNAS Nightlies

#5 Updated by Dru Lavigne over 2 years ago

  • File deleted (freenas-grub-segv.txt)

Also available in: Atom PDF