From owner-freebsd-sparc64@freebsd.org Sat Feb 18 04:24:38 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 5E4A0CE429B for ; Sat, 18 Feb 2017 04:24:38 +0000 (UTC) (envelope-from gordonzaft@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 28988ECA for ; Sat, 18 Feb 2017 04:24:38 +0000 (UTC) (envelope-from gordonzaft@gmail.com) Received: by mail-io0-x232.google.com with SMTP id j18so5017890ioe.2 for ; Fri, 17 Feb 2017 20:24:38 -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=Hr+hpLWt+DOLp23ekayglRpW/CZE0VUzPLp2miOmOeg=; b=rOghgqoKCaTwzLz6y5ViZYOZsCKyPiTZq6kdAS1+iQqGO76AHCyNcMDWeifnHWWDjZ 9zGwHwUnWv9o+zMvUCr3ALVZq9m2YIMskFQ/+z5aL5GLWgUytyCga3ABgKaJn/91Ds45 5YfaDyfGxU5TFvnWmQKgAax6MspBk56hLyIlj3NuuEK3GCIe4O8lOWNgRcnhT/UfsFKc /rYuA3S3xWk0YGPg6baS12w3lq0TmFZAnlDfOvZm7FyIwyL8OZK9o3CYZSsgvD0a9kF8 YJI0jlcQinrzbq+1vYDJS3GOuqQoi8qiYw44ZOryQig81Sejg1WY9Oly+mbGPdjRcBvT TwQw== 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=Hr+hpLWt+DOLp23ekayglRpW/CZE0VUzPLp2miOmOeg=; b=WGP/AdvQGIit7EPXAjh51LCNPawXtsE/vrTXZzHVr9OMIIR+hrm0JIp0Ws9ch5A03W zciYG4XGvlUIYaJeAlH2vrXpaDhipsmNuZmt7YQnwXk89Rc6TOgF14iQ0twwj3aQZ7Di nISdn8h8efGPmNWUW1n4FPfKoYpdfr/qpVvThDxMY0vH+thbXxU9OvJHIG5ceswvuwA+ XyGK7XkdfsUYzJpO+OcIwWKc4TKEnRASkFwTc/TAjiWFh2rPQMZE4suhBlq2LKCbes9Y /X40Lr7LKGLl4K1woZ9y2LmpCr5JT+TMQGL3ia752le75AI//+Vz6xtVCQJNEmEgda22 FalA== X-Gm-Message-State: AMke39mEqIA/2ClvpAbZt5vFG11inxhOam6W1uJ/AaBrvbJnLOcWN1LbCRbiOx4cjT0U9hiaHtqWivyQutWoig== X-Received: by 10.107.59.205 with SMTP id i196mr9517625ioa.114.1487391877256; Fri, 17 Feb 2017 20:24:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.15.93 with HTTP; Fri, 17 Feb 2017 20:24:36 -0800 (PST) In-Reply-To: References: From: Gordon Zaft Date: Fri, 17 Feb 2017 21:24:36 -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-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:24:38 -0000 Sorry, I left out a step. It may be necessary to do a gpart destroy da1 before the create. Fixed below. --------------- 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 destroy da1 (just in case) /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! -- Gordon Zaft Province 35 Governor Phi Mu Alpha Sinfonia Fraternity gordonzaft@gmail.com