From owner-freebsd-ppc@freebsd.org Sat Apr 13 03:59:52 2019 Return-Path: Delivered-To: freebsd-ppc@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 EEDB3156B353 for ; Sat, 13 Apr 2019 03:59:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 E77F36B63E for ; Sat, 13 Apr 2019 03:59:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: _I_dPUAVM1n_fzPbYTTzNvIHRwL.2FgHSfl.QJ0pa_KeiAXwvjHj8z9Qxaayzn8 OCnEq4_lNhvRmzuJgvyu9Iu9S.sbgzQSjakzgz3t4cJhw0J.nr1RUQBrNbeqCtwaBhAzqAseGTHQ nLWz8SFEl4ILji2HP6Cva5UQ.loviO15uyczSqjRG5UeHXeJnrucGMXjsie8gtzQPkfz5551W4l3 V_RIwohoYanSXgKFoOI_lFEIyw6OnqIqlVRxJoRSRvH8y0yOmq26Yq4chGv.LuBQgKWrVmIANYC6 p7lpW6BiBldb9Z0HqFu4RM7Wvdudxw7uNSGwN2UFwYO04dSCNTB1ZDCysSmud._rv3gyWEbVxhE_ bsdxjc5P7HsE3QrvuRIVy4w5xfau9cplm1JwGAJITpmrvRYvZerKdU2lNh0420nNvA6MoByvIxo_ 6T2OWM1th1BK42iShQPpEDdfHFQ3EgoKfRKk6Pe2nLSUbGTqaOUfnfOeZ0DSne0vcvfQMZu.sfp2 lVIPdf.D94oi086NJyhmbO7Ksp7bkYaw.cpVfRv1qQ9hGoU8ejfeRw31r9KP5.n50XsoIYItZWCb BBlOAhKP4ZKRorYFjzaFG40UCPkOmpWyGqiiagG3wCo593YYZtAVUf_n33sLwpEXzgh6M1h3o5OZ r3r6oPpEcaV9yTPE3nzIj5C6AQZu2yqwrygtiYJA3Qn7M18JLNUyRoFRUjX2M.66MOwS8afu8KeS xNcfAbRXvgZR1b3189xFJxrM5oa28B5PmwXnbq2p2cfl3yDbofwwVB0qFgB7l7lE94FK9Z_nnLxS uQ869U2QmTz896EgliVa3rK7f2fg9eMjvgPFLNDw2SFVooFN4GqOAdycTgEPrnLef3K41O85IduF gJq72KREyzMqqD.S8MmNtwLi4Qjc0qsOUQ8PIUOu8U_x_Cto3LJUcpfR_VnR.87428z6bn5N3j8O Ba_KBR.4W_rqVc2waWi83LlEfWlajWae88ees96BI5STy9HM8EWg2_3rywX_fI38MseHklOsobzf _Mbb2s9TJIm_sIZexTfmgV6N4jl9R5RairAkRureMvhOouvVQF4Ou.Dp3OUUGoOxg1iFZOdBvBO0 - Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sat, 13 Apr 2019 03:59:49 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp421.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 07cbed3c57e0bcca593db5de76087440; Sat, 13 Apr 2019 03:49:38 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: usefdt boot mode on 2-socket/1-core-each G5 PowerMac7,2: visible progress (using vt, not sc), new visible stopping point Message-Id: <1D304FA7-6319-4BBD-BA76-E616C9107F73@yahoo.com> Date: Fri, 12 Apr 2019 20:49:37 -0700 To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: E77F36B63E X-Spamd-Bar: - X-Spamd-Result: default: False [-1.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.698,0]; NEURAL_HAM_LONG(-0.98)[-0.977,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.42)[ip: (0.49), ipnet: 98.137.64.0/21(0.94), asn: 36647(0.75), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.69.137.98.list.dnswl.org : 127.0.5.0] 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: Sat, 13 Apr 2019 03:59:52 -0000 [I experiment with more modern tools and such for targeting powerpc64. Also with non-default modern modes of operation, such as usefdt mode. I had to patch the openfirmware->fdt translation to allow a 2-socket/1-core-each G4 PowerMac3,6 to boot normally, with the ethernet present (and operable).] Turns out that I had been using: kern.vty=3Dsc and for some reason this stops visible output just after "Kernel entry at . . .". (I've no clue if there is hidden activity vs. it just stopped there.) But with: kern.vty=3Dvt the PowerMac7,2 visibly gets farther, though it fails to finish booting in usefdt mode. The new visible stopping point is (typed from a picture of boot -v output for usefdt mode): atapci1: at device 12.1 on pci8 pcib1: failed to reserve resource for pcib8 pcib8: failed to allocate initial I/O port window (0-0xffffffff,0x10) atapci1: 0x10 bytes of rid 0x28 res 4 failed (0, 0xffffffffffffffff). atapci1: unable to map interrupt device_attach: atapci1 attach returned 6 ofwbus0: mem 0xf9000000-0xf9ffffff irq 43 type vsp compat u3-vsp = (no driver attached) cryptosoft0: on nexus0 crypto: assign cryptosoft0 driver id 0, flags 0x6000000 (I'll not repeat the long list of crypto registers/alg/flags/maxoplen = lines.) Later material below suggests that the above is not the cause of stopping: a non-usefdt boot finishes but also has such text. Of course some material scrolled off screen. So from attempting booting again, but without -v , there is before the above: atapci0: mem 0x80600000-0x80601fff = irq 33554432 at device 12.0 on pci8 pcib1: failed to reserve resource for pcib8 atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 ata4: at channel 2 on atapci0 ata5: at channel 3 on atapci0 A non-usefdt mode (so normal openfirmware mode) boot works and shows similar output: atapci0: mem 0x80600000-0x80601fff = irq 33554432 at device 12.0 on pci8 pcib1: failed to reserve resource for pcib8 atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 ata4: at channel 2 on atapci0 ata5: at channel 3 on atapci0 atapci1: at device 12.1 on pci8 pcib1: failed to reserve resource for pcib8 atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci1: unable to map interrupt device_attach: atapci1 attach returned 6 cryptosoft0: on nexus0 This suggests that such text is normal and the hangup is for some other reason. It just suggests a time frame. After that for non-usefdt mode is: Timecounter "timebase" frequency 33333333 Hz quality 0 Event timer "decrementer" frequency 33333333 Hz quality 1000 Timecounters tick every 1.000 msec and so on. Such does not show up for usefdt mode. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)