[Bug 230168] [powerpc] Kernel panic using "options BOOTP_NFSROOT"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 9 14:05:17 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230168

--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: luporl
Date: Thu Aug  9 14:04:52 UTC 2018
New revision: 337537
URL: https://svnweb.freebsd.org/changeset/base/337537

Log:
  [ppc] Fix kernel panic when using BOOTP_NFSROOT

  On PowerPC (and possibly other architectures), that doesn't use
  EARLY_AP_STARTUP, the config task queue may be used initialized.
  This was observed while trying to mount the root fs from NFS, as
  reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230168.

  This patch has 2 main changes:
  1- Perform a basic initialization of qgroup_config, similar to
  what is done in taskqgroup_adjust, but simpler.
  This makes qgroup_config ready to be used during NFS root mount.

  2- When EARLY_AP_STARTUP is not used, call inm_init() and
  in6m_init() right before SI_SUB_ROOT_CONF, because bootp needs
  to send multicast packages to request an IP.

  PR:           Bug 230168
  Reported by:  sbruno
  Reviewed by:  jhibbits, mmacy, sbruno
  Approved by:  jhibbits
  Differential Revision:        D16633

Changes:
  head/sys/kern/subr_gtaskqueue.c
  head/sys/netinet/in_mcast.c
  head/sys/netinet6/in6_mcast.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ppc mailing list