From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 19:37:34 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61D995C1 for ; Thu, 16 Oct 2014 19:37:34 +0000 (UTC) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C359313 for ; Thu, 16 Oct 2014 19:37:34 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id u20so3235294oif.2 for ; Thu, 16 Oct 2014 12:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qnCIviO2T5gVgvHKukuE3+KPnEYGXwRZtLg51odv86M=; b=OJPLtiau26FMdjg2SFoSZzwlkTqJHkuaZqjPJlt52oMhd9IR1Y8GGuAe2ckhqqvA/s kROwf2l2wC3rtJRMvtv2SgOvYTeTSrTnaFA8Ahp7CaAfooIcwfiocko8nwWjrWb4wYCT Uoe+C/O8+uXL9ZczMvrhnpj05mHrLJ6Mm/6R9sFgS25e3rVhhcihIqBV/+swnFUxXHw/ OkUfBnrplxoL5smL0ccjwRhopMf1UQMeELAhkbBQ2jFZDQqLVhBSgyfF4g6e6ycw+x8u YoA8oy5OM3OW05Sd85NpMfsbipKg00SxHVvS1Su3yathS+yDHxPjHdjX7wzni3V7bUVZ KVrg== MIME-Version: 1.0 X-Received: by 10.182.125.165 with SMTP id mr5mr2702937obb.71.1413488253501; Thu, 16 Oct 2014 12:37:33 -0700 (PDT) Received: by 10.202.178.8 with HTTP; Thu, 16 Oct 2014 12:37:33 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Oct 2014 12:37:33 -0700 Message-ID: Subject: Re: nvd disk on nvme controller not detected at boot-time From: Jim Harris To: Maikel Verheijen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 19:37:34 -0000 On Tue, Oct 14, 2014 at 1:47 AM, Maikel Verheijen < Maikel.Verheijen@redwood.com> wrote: > Hi list! > > We recently purchased a HP DL380e G8 server to serve as our backup server > with an Intel P3600 that uses the nvme interface. We added load_nvme=3D"Y= ES" > and load_nvd=3D"YES" to our loader.conf, and they both get loaded, howeve= r > the ssd disk device is not detected at boot. When we unload and reload th= e > nvd module the disk does get detected. Is there a way to see if the > load-order is correct? We added verbose_loading=3D"YES" to the loader.con= f, > but dmesg doesn't show me the actual loading. > > One thing I did see related to the nvme in the dmesg (full dmesg attached= ) > output is this: > > Hi Maikel, Which version of FreeBSD are you using? I believe both of these issues have been fixed on HEAD and merged to stable/9 and stable/10. 9.3 and 10.1-RC would have these fixes. 9.2 and 10.0 would not. > nvme0: mem 0xfbdf0000-0xfbdf3fff irq 16 at device > 0.0 on pci3 > =E2=80=A6 > nvme0: SET FEATURES (09) sqid:0 cid:9 nsid:0 cdw10:00000080 cdw11:0000000= 0 > nvme0: INTERNAL DEVICE ERROR (00/06) sqid:0 cid:9 cdw0: > This was fixed in r263277. Incidentally, the error message here is harmless and not associated with the primary issue you have described above= . > > After unloading and reloading the nvd module the disk does get detected: > > nvd0: NVMe namespace > nvd0: 381554MB (781422768 512 byte sectors) > The load on boot issue was fixed in r263310. Best regards, -Jim > > Is there anyone that might give me some pointers on how to get the nvd0 > device loaded consistently at boot time? > Thanks in advance, > Kind regards, > Maikel Verheijen > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >