Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 15:15:04 +0200 (CEST)
From:      sthaug@nethelp.no
To:        cgull@glup.org
Cc:        freebsd-scsi@freebsd.org, jhb@freebsd.org, jkim@freebsd.org
Subject:   Re: GEOM probes fail on aac with EARLY_AP_STARTUP
Message-ID:  <20170908.151504.74703639.sthaug@nethelp.no>
In-Reply-To: <f2dceefe-8c2c-1bad-95ab-9dd138c8fcbe@glup.org>
References:  <f2dceefe-8c2c-1bad-95ab-9dd138c8fcbe@glup.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've got a devel machine here which was failing to boot on our vendor=
ed
> FreeBSD 11.1, because GEOM was unable to find the partitions on the b=
oot
> drive and so the root mount failed.=A0 This started happening on many=
 but
> not all boots after I upgraded the machine from 9.3.
> =

> The machine is an Intel S25520UR motherboard with 2x Xeon E5620 CPUs
> (Hyperthreading enabled, so hw.ncpu=3D16) and an Adaptec 5805, and 2 =
RAID
> volumes configured on 6 SATA drives.
> =

> When booting, it sees the aac0 controller and aacd0
> volume but GEOM does not find any of the partitions on that volume, a=
nd the
> initial mount of root on /dev/aacd0p2 fails.  aacd0 is available and
> readable, but the expected aacd0p{1,2,3} devices do not exist.
> (However, aacd1 and its partitions/devices are configured normally.)
> =

> I think it's a race condition between the aac driver and GEOM probing=
,
> probably newly triggered/exposed by EARLY_AP_STARTUP.=A0 I've reprodu=
ced
> the problem on upstream FreeBSD 11.1 and -current.=A0 Disabling
> EARLY_AP_STARTUP, or setting kern.smp.disabled=3D1, causes the kernel=
 to
> start correctly. 'boot -v' also causes the kernel to start correctly.=


Is there any reason to believe this is limited to aac? I'm asking
because your description is quite similar to boot problema I'm seeing
with 11.1-STABLE on a server with mps (Avago) SCSI/SATA controller
and SATA disks. I'm getting the dreaded "mounting from ... failed
with error 19". 11.1-RELEASE seems to work okay but 11.1-STABLE does
not.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170908.151504.74703639.sthaug>