git: DragonFly_RELEASE_5_2 kernel - Fix duplicate da0 or da* and locked up boot

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Apr 20 18:55:53 PDT 2018


commit 6c68c6a3b046a60bd4eaba6bc9a8988ad22adafe
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Apr 20 18:18:52 2018 -0700

    kernel - Fix duplicate da0 or da* and locked up boot
    
    * Fix duplicate da* reporting at boot which usually results in
      the boot locking up.
    
    * The diskinfo was being installed while before CAM's softc->state
      normalized, potentially allowing I/O to occur during the probe
      sequence and causing the probe state to be repeated.
    
      Delay calling disk_setdiskinfo() until after softc->state is
      normalized.

Summary of changes:
 sys/bus/cam/scsi/scsi_cd.c |  8 ++++++--
 sys/bus/cam/scsi/scsi_da.c | 12 ++++++++----
 2 files changed, 14 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6c68c6a3b046a60bd4eaba6bc9a8988ad22adafe


-- 
DragonFly BSD source repository


More information about the Commits mailing list