From owner-freebsd-ppc@freebsd.org Tue Jan 2 20:16:54 2018 Return-Path: Delivered-To: freebsd-ppc@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 C3205EB717F for ; Tue, 2 Jan 2018 20:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE46570FBE for ; Tue, 2 Jan 2018 20:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w02KGsI6058410 for ; Tue, 2 Jan 2018 20:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w02KGsfG058409 for freebsd-ppc@FreeBSD.org; Tue, 2 Jan 2018 20:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 224841] Power64 regression: Machine does not boot anymore Date: Tue, 02 Jan 2018 20:16:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: breno.leitao@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 02 Jan 2018 20:16:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224841 Breno Leitao changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|Unable to Reproduce |--- Status|Closed |Open --- Comment #4 from Breno Leitao --- I finally got my mess fixed and I am able to reproduce it with your fix. I created the following patch to dump what is happening: @@ -340,12 +344,14 @@ chrp_cpuref_for_server(struct cpuref *cpuref, int cpu= _n, int server) @@ -340,12 +344,14 @@ chrp_cpuref_for_server(struct cpuref *cpuref, int cpu= _n, int server) i =3D 0; for (cpu =3D OF_child(dev); cpu !=3D 0; cpu =3D OF_peer(cpu)) { + printf("CPU=3D%d and i =3D %d --- ", cpu, i); res =3D OF_getprop(cpu, "device_type", buf, sizeof(buf)); if (res <=3D 0 || strcmp(buf, "cpu") !=3D 0) continue; res =3D OF_getproplen(cpu, "ibm,ppc-interrupt-server#s"); if (res > 0) { + printf("res =3D %d\n", res); cell_t interrupt_servers[res/sizeof(cell_t)]; OF_getencprop(cpu, "ibm,ppc-interrupt-server#s", interrupt_servers, res); And this line is being printed all the time, so, it seems it is at a loop. it is not in this loop effectively because i returns to 0. Anyway, let me attach the full log here. --=20 You are receiving this mail because: You are the assignee for the bug.=