Date: Tue, 02 Jan 2018 20:16:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 224841] Power64 regression: Machine does not boot anymore Message-ID: <bug-224841-21-w6VCiL6RHE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224841-21@https.bugs.freebsd.org/bugzilla/> References: <bug-224841-21@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224841 Breno Leitao <breno.leitao@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|Unable to Reproduce |--- Status|Closed |Open --- Comment #4 from Breno Leitao <breno.leitao@gmail.com> --- 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 = 0; for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { + printf("CPU=%d and i = %d --- ", cpu, i); res = OF_getprop(cpu, "device_type", buf, sizeof(buf)); if (res <= 0 || strcmp(buf, "cpu") != 0) continue; res = OF_getproplen(cpu, "ibm,ppc-interrupt-server#s"); if (res > 0) { + printf("res = %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. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224841-21-w6VCiL6RHE>
