From owner-freebsd-sparc64@freebsd.org Sat Feb 18 04:20:54 2017 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05975CE40B8 for ; Sat, 18 Feb 2017 04:20:54 +0000 (UTC) (envelope-from gordonzaft@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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 C42B3CDD for ; Sat, 18 Feb 2017 04:20:53 +0000 (UTC) (envelope-from gordonzaft@gmail.com) Received: by mail-it0-x234.google.com with SMTP id h10so37608315ith.1 for ; Fri, 17 Feb 2017 20:20:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6FjWdXOh5aLOKbIHIdxu1Gf496aFyxNims+acqt1gp0=; b=l5q0q2xBq2BINTqYFFZFhuFJj5FTjNnnC53hpJk5a9p6Lm8t3FJMZp4TheYmYQFsQr xaRAW3NT/d724EszEnwObXDkqBjdW2sv6ZxJjkqWZr/g/rMVD3JbKkJQM4CHp/VANuWF 9qyXgiVJDMzHk6zIf5wisoDYYwiF7CHQU3DRR+JciUPmkgsTfPWCZCHkEErSkvcFrIf2 qSi0XZsTkKQ9fA3tSPZSZnka4yLvkcXK4/xYv2mwBeQovlDUoZSryGxgyReWdiW0ieWM qyD5QjJTbdl17Gj1kn6lgLves7LHpJDgMSFKWeU6ZVzFZZmxTasK9uwvP/9xyKHnWiiM VGqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=6FjWdXOh5aLOKbIHIdxu1Gf496aFyxNims+acqt1gp0=; b=fMP1YUVqbciFgtzHpgOYewdS0KWJi53aMg+0FnSt6YzEsl32bkKZTqlLip9isOtrr7 lNePqoXn4XO5PTKIVgjrGW5jFI89wKZ5F7XdNHR/xvvOr5MIAYLH3vT5fFlqVD9OE0SQ TDq0DAcW1nyl0Ey2lbpPXeU6AKflK4Wn2ZBtJAjqNAia6oZzMYf5EqXxvx9U6+vI27d8 G5GozAF0ls2w6WuJChiEOJ2dHifvU1CvGw+GrcZyXLUQ9whPZxD+w930gTZ5cDubGQkZ eWur0cTqpiQJSB4mBBhX4RDSqhDyTW5WjgVNHXTRbFi0QVky8dOaugPsmjrLDwDv6ijO 0ATQ== X-Gm-Message-State: AMke39mwEt4hngotJaqpAKWaGAukriuYjqdEparQ+NAVPJpgtUycBJ8VRYOLW/e/tUUoc61OB2wsqHheCAJEDw== X-Received: by 10.36.206.2 with SMTP id v2mr8286439itg.74.1487391652775; Fri, 17 Feb 2017 20:20:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.15.93 with HTTP; Fri, 17 Feb 2017 20:20:52 -0800 (PST) In-Reply-To: References: From: Gordon Zaft Date: Fri, 17 Feb 2017 21:20:52 -0700 Message-ID: Subject: Re: Adding disk on Sun Fire V245 w/FreeBSD 11 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2017 04:20:54 -0000 I finally figured this out and figured I should document for posterity... I realized I had not tried to do a probe-scsi from the OBP prompt, so I did that. I got an endless cascade of Base SAS World Wide ID is 0! This must be fixed immediately using set-sas-wwid So digging into this document https://docs.oracle.com/cd/E19088-01/v215.srvr/819-3040-18/Disk-vols.html I realized the onboard RAID was messing me up. Following the directions, and the ok> prompt: setenv auto-boot? false setenv fcode-debug? true reset-all Then a ok>show-disks Select the SCSI disk controller (for me it was b) ) ok>select ^Y (inserts the line from show-disks; trim off the /disk) doing ok>show-volumes showed that the disks that I wasn't seeing were listed as disabled (or inactive) volumes. To fix this I deleted each volume ok>0 delete-volume ok>1 delete-volume ok>show-volumes now shows no volumes. Doing a ok>setenv fcode-debug? false ok>reset-all when the system came back a probe-scsi showed the disks now, and when I boot they are in dmesg. I still had to put a VTOC on them since, in my case they were IBM disks, or wiped Sun disks: /sbin/gpart create -s VTOC8 da1 Then /sbin/gpart add -t freebsd-ufs da1 to create one big partition. Then a newfs as usual and you're good to go! G On Fri, Nov 18, 2016 at 9:35 PM, Gordon Zaft wrote: > > I have a Sun Fire V245 running 11.0. It had one 146GB hard disk in it. I > went to add a second similar disk but the OS doesn't seem to see it. I can > tell the hardware sees it as if I pull it out while the machine's on I get > an alert from the ALOM. But I don't see a "da1" device in dmesg. > > What am I doing wrong? > > Thanks in advance! > > -- > Gordon Zaft > Province 35 Governor > Phi Mu Alpha Sinfonia Fraternity > gordonzaft@gmail.com > -- Gordon Zaft Province 35 Governor Phi Mu Alpha Sinfonia Fraternity gordonzaft@gmail.com