From owner-freebsd-questions@freebsd.org Tue Mar 13 06:45:19 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17D70BF4352 for ; Tue, 13 Mar 2018 06:45:19 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 605226C01B for ; Tue, 13 Mar 2018 06:45:18 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: by mail-lf0-x22b.google.com with SMTP id v9-v6so26989933lfa.11 for ; Mon, 12 Mar 2018 23:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uPtwVSGDJlbqM2fO/scs6rfaD/sECYaXk7W+l8olse0=; b=1oMpzSHE3cx96+sZROASjBz8xToeqYyVCrt2hU+0M3DTtnjd5jz0EpXLQE1Kklz3AX EMEd+i8NBDFlsgNhqx1rEE7XxcKItRDbhPFvycDw2V40+GWqRAtzDHvsg5PaFrhacjcY El0uj2hquBiQr8RF9pIem/y3T5VC5+wUE7LzAwGPtaQjHzi+q3EKMOOpgNxysIGKrPVS BKLHjM9BebJhJfrP/zDIkIsp7mxriE+E14Gshnjp41HvzEfG/0CmA6mzGcRO6dEdUU+B G5pO1rdLtDcJ83stGoppO9aG0GdhU0cuSCgP7c4/v1FmkiPomALrNb7FAVVGZyG5X334 +tPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uPtwVSGDJlbqM2fO/scs6rfaD/sECYaXk7W+l8olse0=; b=IJ+gkq3s81x/s2ywYYsFA+tHOWnEX5xwjji8U9IV4COopGuXXD1ZTMB1+c0iRsY4tS D96ORwS6fahhNC0uMJ1yRssObqy4IsouV4iJI/e+lz9j/ZkaRGjN7SHPPLsH5EZbUyRo YCk0ofTvxg6cOXbhJjJScqQtMlLMH9dywApXEQATJXAZ2ZYkajDZeetYsdBo1Z1NAmIV DQQpDnK8OcH7Tb1K5HN5HQUAUa7ziHz6muG3joH5RFk4hxZuI8NM+8UjtZoKpcDgUwHb okCfbapvnkcp4K4CEcUbd/pI7dqHXXF0Z7LplVyqXZvEKaW46XiCglfh1HvUAme/iSv6 JA+Q== X-Gm-Message-State: AElRT7GCthAjY5I6GFl1Eo7w3TuW6TcH6P2VnD7MpYhirnDPQx4cQFIa ZzHSz/CPFqpQUPR10DAxjPAZJ2cnjTdZzvXP51Q1mg== X-Google-Smtp-Source: AG47ELuul+jwt/q9cA6TJZPKBb+CurDMyiPWx+XXz4dCGIgoufNXuQ/aEXzHMdr8MgVaUHlp+fiVS+oP515MSpWALSI= X-Received: by 2002:a19:c987:: with SMTP id z129-v6mr2540279lff.74.1520923516542; Mon, 12 Mar 2018 23:45:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steven Hartland Date: Tue, 13 Mar 2018 06:45:05 +0000 Message-ID: Subject: Re: FreeBSD 11.x fails to boot w/ SAS3 4Kn HDD and LSISAS3008 on SuperMicro X10DRH-iT To: Rick Miller Cc: FreeBSD Questions , freebsd-geom@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2018 06:45:19 -0000 Have you tried setting dumpdev to AUTO in rc.conf to see if you can obtain a panic dump? You could also try disabling reboot on it panic using the sysctl On Mon, 12 Mar 2018 at 22:18, Rick Miller wrote: > Hi all, > > Thanks in advance to anyone that might be able to help. I subscribed to > freebsd-geom@ so that the list did not need to "reply-all". Having trouble > getting FreeBSD 11-STABLE @ r329011 to boot from SAS3 4Kn HDDs via LSISAS > 3008 HBA on a SuperMicro X10DRH-iT motherboard after an apparent > installation. All internal media (including all other disks attached to the > HBA) were removed to eliminate other storage being the reason the system > won't boot. This occurs specifically in CSM mode, but the preference is to > boot via UEFI mode instead. > > Anyway...booting the machine via the memstick image demonstrates the LSISAS > 3008 controller attaching via mpr(4) (whose manpage describes the > controller being supported[1]): > > mpr0@pci0:3:0:0: class=0x010700 card=0x080815d9 chip=0x00971000 rev=0x02 > hdr=0x00 > vendor = 'LSI Logic / Symbios Logic' > device = 'SAS3008 PCI-Express Fusion-MPT SAS-3' > class = mass storage > subclass = SAS > > The only inserted disk attaches as da0 as illustrated by dmesg: > > ses0: pass0,da0: Elemne t descriptor: 'Slot00' > da0 at mpr0 bus 0 scbus0 target 8 lun 0 > ses0: pass0,da0: SAS Device Slot Element: 1 Phys at Slot 0 > ses0: phy 0: SAS device type 1 id 0 > ses0: phy 0: protocols: initiator( None ) Target( SSP ) > ses0: phy 0: parent 500304801e870bff addr 5000c500a012814d > da0: Fixed Direct Access SPC-4 SCSI device > da0: Serial Number $serial_number > da0: 1200.000MB/s transfers > da0: Command queueing enabled > da0: 1907729MB (488378648 4096 byte sectors) > > The original goal was to boot via zfs root, but when that failed, > subsequent installations used the "Auto (UFS) option" to partition the > disk. For example, the first installation gpart'd the disk as: > > # gpart show da0 > => 6 488378635 da0 GPT (1.8T) > 6 128 1 freebsd-boot (512K) > 134 487325568 2 freebsd-ufs (1.8T) > 487325702 1048576 3 freebsd-swap (4.0G) > 488374278 4363 - free - (17M) > > The result was a reboot loop. When the system reached the point of reading > the disk, it just rebooted and continued doing so. There was no loader or > beastie menu. Thus, thinking that it could be the partition layout > requirements of the 4Kn disks, it was gpart'd like the below[2][3]. This > was done by exiting to the shell during the partition phase of bsdinstall > and manually gpart'ing the disk according to the below, mounting da0p2 at > /mnt and placing an fstab at /tmp/bsdinstall_etc/fstab that included mount > entries for /dev/da0p2 at / and /dev/da0p3 as swap. > > # gpart show da0 > => 6 488378635 da0 GPT (1.8T) > 6 34 - free - (136K) > 40 512 1 freebsd-boot (2.0M) > 552 419430400 2 freebsd-ufs (1.6T) > 419430952 1048576 3 freebsd-swap (4.0G) > 420479528 67899113 - free - (259G) > > When configured as such, the system rebooted at the completion of the > install and appeared to roll through the boot order, which specifies the > HDD first, then CD/DVD, then network. It did attempt to boot via network, > but is irrelevant here. > > All the hardware is alleged to be supported by FreeBSD as best I can tell > and OS installation apparently works. I'm at a loss as to why the OS won't > boot. Does someone have feedback or input that may expose why it doesn't > boot? > > FWIW, a RHEL7 install was also attempted, which also does not boot. > > [1] > > https://www.freebsd.org/cgi/man.cgi?query=mpr&apropos=0&sektion=4&manpath=FreeBSD+11.1-RELEASE&arch=default&format=html > [2] https://lists.freebsd.org/pipermail/freebsd-hardware/ > 2013-September/007380.html > [3] http://www.wonkity.com/~wblock/docs/html/disksetup.html > > -- > Take care > Rick Miller > _______________________________________________ > freebsd-geom@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" >