From owner-freebsd-ppc@freebsd.org Fri Apr 20 17:23:08 2018 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 56B45F85B2F for ; Fri, 20 Apr 2018 17:23:08 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 BA2CF6A1F7 for ; Fri, 20 Apr 2018 17:23:07 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x22d.google.com with SMTP id d20-v6so6201531lfe.3 for ; Fri, 20 Apr 2018 10:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QW8TbcD0udqpcKQ1pPR3fFMk4PPkYgXHBx077kTkUgU=; b=uNLYoOy1US+WzGlXGodVsPnzaY0tN7+oEkNE+kPVmvFzJP8DaK5QKw7AuTCLbADp7s nY4VtJOMZx314vYJbmeMCEywsXGBuEc2kQICLYSNAudzDPUfh5CiKmZ2HET+qWkhR1pm Lio5DOaZtYx0dO/fBaFNfwaNdvl1/yz9ndikOTCrhrPVXS2oLD2tkIdAU92YMrp/PcDJ dvr1ZmYXp9VX0EdMzm8NFbnoz/aTl9p3y+HXyy+FkjXhD+IwgmG06VdblSHo40g9CT/s aqEm/qk+ul7Oknng+ySmxpUFIiOXSl6HopWBfWHaVnicanUsxAhUUvKqelBsAwLzXfh+ SIdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QW8TbcD0udqpcKQ1pPR3fFMk4PPkYgXHBx077kTkUgU=; b=Uk7tgkIwlLtxZQJ/xASwPLP09PhrCjGEXQ12FPQBhUMhUoeiOOg2mlqFwK1hdE3hk4 RZGop/A+hCuIvj1fsa0YhLhDfBodwapzIQSAG+ogyGmnA3I7+s6ndUpSCTtMfj5OFNAL WzFQ8Vp4fLvoJFJntBaNWBLB1QfjBZ1qKCo02Mw9nHvpvqNThBi/O9UQXaKqvQKJ9CbM XEMz1Zlxfwi2AWCLliDFb1hmsL3RgHUiXeLbtqP967/soQOdLMT+hxRWYYtwfKFxyzxE uJDhwZxwj5KLVPOsvetDw2avHgUjWUIBqTJsWoD+QNOnAWE46cK0rDdgU+3nmT+VsGrB QfWA== X-Gm-Message-State: ALQs6tDhVgSv+az+MdZ1LpxjtgMCVrd17yE3ivm8hQv0mu2p7Ph5H/5Q NK225kZ5ueYKGRUSQmj3/UMAFw== X-Google-Smtp-Source: AIpwx4+SkbMdIupRfewPXG7jjiFV703XypfLY9mGizKI0iR0/qhhGtLy/l0y9naAhG6wqE1b2cdD1Q== X-Received: by 10.46.77.214 with SMTP id c83mr7412007ljd.126.1524244986165; Fri, 20 Apr 2018 10:23:06 -0700 (PDT) Received: from [192.168.1.193] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.gmail.com with ESMTPSA id z18-v6sm1431688lfj.8.2018.04.20.10.23.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 10:23:05 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: 11.1 release CD image panics very early during boot on ppc. From: Jukka Ukkonen X-Mailer: iPad Mail (15E216) In-Reply-To: Date: Fri, 20 Apr 2018 20:23:03 +0300 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 17:23:08 -0000 So, I tried setting debug.debugger_on_panic=3D1 and =E2=80=9Dboot -v=E2=80=9D= . The first time I tried the ofw did not see the full-HD display which was connected to another system via a KVM switch at that time. I only got the KVM switched to the correct system only when I had got the booting stopped at the ofw prompt. So, the early boot assumed a very traditional 80 columns by 25 to 30 lines display with a large font. Surprisingly the 11.1 CD booted just fine. Obviously I wanted to double check and rebooted the system. This time the display was connected via the KVM switch to the system right from the start. The ofw obviously figured out the true full-HD resolution and used a tiny font. When the kernel=20 got control of the system it selected a bit larger font, showed some of the autoconfig messages, and went down hard no matter whether I set the debug.debugger_on_panic=3D1 or not. This raises the obvious assumption that there must be something going awry with how vt and ofw communicate and how they try to control the display. Supposedly this could lead to mismanagement of a large chunk of memory such that even the debugger is left totally powerless when the crash happens. Because vt is new to 11.1 and the properly booting 10.4 uses sc, memory corruption seems like a plausible explanation to the mysterious crash. I hope this helps. --jau > On 17 Apr 2018, at 18.11, Justin Hibbits wrote: >=20 > Hi, >=20 >> On Sun, Apr 15, 2018 at 2:10 AM, Jukka Ukkonen wrote: >>=20 >> I had a bit of an accident with my old PowerMac G4 which had been >> running FreeBSD-10.4. To fix the mess I had to boot the system from >> a CD image. So, I decided to try 11.1 while at it. To my astonishment >> and disappointment the 11.1 images (both CD and DVD) paniced >> very early on during the boot. The messages flashed past the screen >> so quickly that I cannot be really sure about anything, but it kind of >> seemed like the issue might be yet another installment of the SPRG >> related problems (in ofw_machdep.c) which have been troubling >> ppc64 systems before. >> The 10.4 CD image boots just fine on ppc. >>=20 >> --jau >=20 > Can you try booting with 'boot -v' and also setting at the loader > debug.debugger_on_panic=3D1? I think it's set to 0 on release ISOs, so > this should let you get a screen capture. >=20 > - Justin