[Bug 224841] Power64 regression: Machine does not boot anymore

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 2 20:16:54 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224841

Breno Leitao <breno.leitao at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Unable to Reproduce         |---
             Status|Closed                      |Open

--- Comment #4 from Breno Leitao <breno.leitao at 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.


More information about the freebsd-ppc mailing list