From owner-freebsd-ppc@freebsd.org Tue Dec 31 20:34:15 2019 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E670A1DD001 for ; Tue, 31 Dec 2019 20:34:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47nQxx6CYQz4g5D for ; Tue, 31 Dec 2019 20:34:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ufXB0.8VM1k5XmUdq3NXP5N6zLCAQjggAWncGYIH3QUSUaoHcYLEJPmdv1uOMkq zJv5drTO90dnULHf3bdRZctJIdKmdLlrFBqbJp.rwrdlqtJmqr8dbtiDTEvcUnFs6ErItsr4B_d3 q0rPzSn7jnKNCflmk3h.C39BeguLHmI_SXppZiISUq9m8.G6V9XNUMireklK6M2zIYXlVkQGxjJe gFXvKyicyxA_0Ut1Mua40A_jlmJ81GncbXhF2UImPa1BEFidWXUOOVaXeqom48TtSmfpiPsuhFE2 qKrGYH1VNj.hIB9WSI6jaIsZSS1HjzWu7pGK99F7sE_KRBRKY0grIJNCd.HhRwrELlEOU.g50DTR .U8tqQyAJjZVKxHo91pSoRpjO3EDBre3cuQa8UuhyaCwPEMBxMUKEXp.Izy43qwXMncHSBzdVuDu zLV_zx4ZyouZjoWeDDt1s7XhSx3NdSChtPNosLD34rVCKk72ZYABMVHuamXOayC.2XR55vdkhmE3 kt24O8hHLmX.d0n3r0eYiHdhVWlDvXBlLx2UvC9tJraX9rAlt7upQqhg9aeeZP_oqWOszhuhbYm4 D2qVa4.nIDV86Z3B484.0yJaV163DGQ8pWZn8ohbS3Fj_JgkmtrF11gAxVgxiPPa2r4kuBSwu4B8 7uCh41_d1MtJ2RtLYmg3rtxv35fzeN7o20XCUhI9Qb5XrhosXjv0EhgX6Gy_.f5NoN2Yo4Xgl4wV UekzwDG_TYl4tjTgFSVZw6HH8Vo_gB5Sf_QDouxC9MNe6narJgBm4DNLJPhZiW8GqRwVEdhc36QQ 9LOZ2gWnGhwDAWOhJ_5eE4uMHyn0oNUaeo0FcF6oXQ7H5aajbcsVTTQgx3zRm8dQE55q3EllKlpG IDF.lhHm0HRGH7rZxQeh1xvF5Sg5hfWalWnfQDRM3Glb__uP1eiO2Tt_nf0Xc9vZyZcxr1yuUVg2 LuBVtPQ9d1f3iiAB7izwIKKK3G14OuSzCIzKnOpof2g3FtVnGLenlhqWFYw1qIolHH5slOG4i3X9 Dh2ovmIDzYvccLDckHkd6wgp8pWy.YUrWiEOBcDHiZDFf0wjuoXO1Dt2LwKokC5hqLGcUUAEUfRn K1EeIcHWGsEIerwLgR21Ek6_1IHZRoG_TxawnvHlNQlqHrduz2VaDfayz_z9zIuR3XkN6QjiN1iS JKtFFOgWThxieyp6_QPza_Mgf9AKKlDhv.CfaaLjLRRsIOpGrFXR91JA15CqAHffPprbsSn5XoYY TOBhsrrgig4UsA_2ZlcWHfbx1qxw00v9LMQWQdJxvtRf2MXyJ9lz3VYFo4E6sxMOVj41nKI3y_ca njJGXj49f9tWjdyaTvDkmL7.sk.vDYRX6Ti7dTsK7h6Yv1FRJWD385I1zrybb21DpatV3T3D0xd8 hBHSwBelN60agnSkJD0A- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 31 Dec 2019 20:34:10 +0000 Received: by smtp416.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 732c9be7cfcac5e65a864974e6c6339f; Tue, 31 Dec 2019 20:34:09 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: head -r356187 from TARGET_ARCH=powerpc vs. booting 32-bit on PowerMac G5's (64-bit hardware): fails in my context Message-Id: Date: Tue, 31 Dec 2019 12:34:08 -0800 To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47nQxx6CYQz4g5D X-Spamd-Bar: / X-Spamd-Result: default: False [-0.93 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.55)[-0.547,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.53), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.71), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.12)[0.118,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[83.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[83.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Dec 2019 20:34:16 -0000 Historically 32-bit powerpc systems were my "universal builds" in that they booted all the PowerMac variants that I had access to (that could boot FreeBSD at all). But it has been a long time since I've dealt with 32-bit updates so the following report need not be new behavior. Also, I have patches for FreeBSD tied to handling various PowerMac related oddities, so this report is not about a pure official-FreeBSD build. (Those have known problems of their own.) I've access to 2 types of PowerMac G5's: One with 2 sockets, 1 core/socket, 8 GiBytes RAM Two with 2 sockets, 2 cores/socket, 16 GiB/12 GiB Neither type makes it to a boot prompt. The detailed behavior varies some between the two types. By the way, the G4 PowerMac example, used as a contrasting 32-bit hardware context, has 2 sockets, 1 core each, 2 GiBytes RAM. This context works. For G5's with 2 sockets, 2 cores each: Reaches "Root mount waiting for: CAM". Prior to this things seem fine. But it is stuck there, repeating the notice and periodically reporting IO errors that have run out of re-tries for the SATA SSD (for the same SSD it just used to get this far: no other media present). It is the same SSD I boot in the G4 example just fine. (I've historically moved media around between compatible machines instead of having separate media set up for each.) For G5 with 2 sockets, 1 core each: Reaches "Root mount waiting for: CAM". Prior to this things seem fine. As expected the messages do repeat a few times. It does manage to output its equivalent of what on the G4 looks like: ada0 at ata2 bus 0 scbus2 target 0 lun 0 ada0: ATA8-ACS SATA 2.x device ada0: Serial Number ada0: 100.000MB/s transfers (UDMA5, PIO 512bytes) ada0: 114473MB (234441648 512 byte sectors) cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present (I decided to not take a picture for the G5 and retype it all from the image.) So it indicates doing some I/O with the SSD that the other G5 type failed to do. But it then complains about not being able to handle /dev/ and ends up at the db> prompt. It is, again, the same SSD I boot in the G4 example just fine. (I've historically moved media around between compatible machines instead of having separate media set up for each.) Note: I've not yet dealt with switching powerpc64 to an ELFv2-vintage FreeBSD. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)