From nobody Sat Dec 11 22:52:56 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5803F18D7734 for ; Sat, 11 Dec 2021 22:53:08 +0000 (UTC) (envelope-from al@datazap.net) Received: from mail-ot1-x363.google.com (mail-ot1-x363.google.com [IPv6:2607:f8b0:4864:20::363]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JBNN34nf3z3LgN for ; Sat, 11 Dec 2021 22:53:07 +0000 (UTC) (envelope-from al@datazap.net) Received: by mail-ot1-x363.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso13508336otf.0 for ; Sat, 11 Dec 2021 14:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datazap-net.20210112.gappssmtp.com; s=20210112; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-transfer-encoding:content-language; bh=qDuagBbrTuMis399ATTeSn5XiTSvP7zSGGdrpPOKYp8=; b=GSzhh/us/NQS+OsB21f02xpbZEC74nNMXq4mHveR/MR0SEADVBHW5IURLw9OSzCu92 tGPGfzwXjea4Yt1iQezdvg/mPUTvhJV0AKk1xv4KfNyHa+klwRzJQY2Z8v0/rtSuAZc1 o1ysTV5IG8pxvIUuGADm2jgDoq64Ks3vqUQK/7t7PbK2q+iymrh9vKj7mcTqQtHl3Qc8 OGDP9UMCqr6B53aCt+nDwddg0qc3L6ou4tEu24iFkE93AVu7MyPQSy5BJMyzoaFsBmga TQ2zCGHVRvJsDiGnC404rXJc1WHeAnaCdnuMENdcxz0hh7ArZJ4JVRL2k8kuwN4GWj7Y rPPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=qDuagBbrTuMis399ATTeSn5XiTSvP7zSGGdrpPOKYp8=; b=d1b2y4v9vb3r3VzfdRYyesysMqkWy09/83c6vLAyZA18Ro7Q+lHPrdaZ/GK4O4clLj A0JMNG9EtOT03STKmhIoWRFVlllKh9pemiCbpR3R4OcJxMYwsxhX/WVtoOzrKjjhGixE ZLjMzJPmJicPXlqnLt2/IkTErP8FV9QKQy638n6B3EM44lgSX0u/8xabQR9c+nSRzfX/ BA8rl1XXSpmKrjEc3nh2vPj/EFdzgYmTuTJPdW7zr6qjJQ/nufpj5/cvITLAw89K/kWr Bj2j/aRI9suqRhnTxJ8lsQK4BHeKCu6IRIC4vXchWD+qjbOkWQ/7ulnCLomVPDfN95Hg 5oig== X-Gm-Message-State: AOAM533eu8oCxKKBp1hA27uXJ4wm+ZHsmPEMQFJ6DYm24o2p99XNbwGG xE75UOIUPpCqcS45FYOeP3xv7m9gXc6EF0lFp44WfbCyAiDVXQ== X-Google-Smtp-Source: ABdhPJx4xmpKTDiLGaAzBqJV5/y7DWdtrVaCFY51Id48pXsc8ZjRWWazYiDg+EnRJ5ScQR/BiTTxNxpUbRUg X-Received: by 2002:a05:6830:1216:: with SMTP id r22mr18453887otp.10.1639263181220; Sat, 11 Dec 2021 14:53:01 -0800 (PST) Received: from agnus.datazap.net (agnus.datazap.net. [209.160.40.35]) by smtp-relay.gmail.com with ESMTP id s9sm1988599oom.4.2021.12.11.14.53.00; Sat, 11 Dec 2021 14:53:01 -0800 (PST) X-Relaying-Domain: datazap.net Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id 80D03B794B; Sat, 11 Dec 2021 17:52:56 -0500 (EST) To: "freebsd-ppc@freebsd.org" , Justin Hibbits , Justin Hibbits , Mark Millard From: Al Subject: Disk setup X5000 Message-ID: <12b74e7c-ff7b-449a-d189-4d1795e446cb@datazap.net> Disposition-Notification-To: Al Date: Sat, 11 Dec 2021 17:52:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4JBNN34nf3z3LgN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=datazap-net.20210112.gappssmtp.com header.s=20210112 header.b="GSzhh/us"; dmarc=none; spf=none (mx1.freebsd.org: domain of al@datazap.net has no SPF policy when checking 2607:f8b0:4864:20::363) smtp.mailfrom=al@datazap.net X-Spamd-Result: default: False [-1.26 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[datazap-net.20210112.gappssmtp.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.965]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[datazap.net]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[datazap-net.20210112.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::363:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[freebsd.org,FreeBSD.org,gmail.com,yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, I have worked for the last few months on this issue without any real solution. I think I may have eliminated some things, but that is it. At first I thought maybe it was that the bootloader could see the partition, but the kernel could not see it, but after much testing I don't think that is the case. Then I thought because we have switched to mbr, that maybe I needed to setup the drives on an i386 system. I don't really own much in the way of i386, but I was able to use the school's laptop to setup a drive, but even the bootloader could not load the kernel from that partition. It really looks like adding bootargs: vfs.root.moutnfrom=ufs:/dev/ada0s2a to uboot does nothing, but doesn't hurt anything either. I think the problem is still with the disk setup. What it really looks like is that it finds the disk, but then later on it tries to remount it and then things go wrong. Before the kernel would look at: the ada disk first, but now it looks at mmcsd0: 4GB first. I guess that I thought a disklabel would fix this. I have looked at many howto's on using gpart to setup disks. Nothing has helped me. 1. What should be in fstab? 2. Is there a gpart howto somewhere that explains what needs to be done to partition the drives on an X5000? 3. Should the disklabel be added with newfs and is there anything else that I need to know? 4. Does the slice of the root partition need to be marked active? 5. Should I be creating a UFS1 or UFS2 partition? 6. Should -T option be set with newfs? 7. Could there be something missing in the kernel? I really need to verify at this point that my setup is correct. I guess it could be something set in uboot, but I don't see how. If I can't figure this out, then maybe someone on this list could help me. I would be willing to pay $100 an hour, or what you make at your day job per hour, or what ever seems reasonable to you to get this issue resolved. I think this could be done remotely by ssh into another computer and then using the serial console, or I can send you a disk, or maybe I could buy time on a working FreeBSD X5000, or I am sure there are other options. I just don't want it to be 2025 and I am still stuck on this issue. Kind Regards, Al