Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fwd: Gumstix Verdex not booting with NetBSD 7.0 and newer



Hi Nick,


indeed the r0/r1 swap seem to be the problem of -current release. Should I file a PR for this?


Should be fixed now

Thanks, solved the issue for me. I further investigated the 7.0ish-kernel panic: panic: kernel diagnostic assertion "ram_size <= KERNEL_VM_BASE - KERNEL_BASE" failed: file "/usr/src/sys/arch/evbarm/gumstix/gumstix_machdep.c", line 487

My first assumtion the ram size calculation was off, isn't correct. The values are:
ram_size: 134217728 KERNEL_VM: 0xc1000000 KERNEL_BASE: 0xc0000000

Thus I think the KASSERT seems odd (or I mistaken the values). If the RAM size is bigger or equal the estimated kernel space (~16MB) the kernel panics. Sadly after changing the line to:
KASSERT(ram_size > KERNEL_VM_BASE - KERNEL_BASE);
the boot hangs later. I currently investigating where in the subsystems. Somewhere after "cache(l1pt)" but before "special".

But it would be kind if somebody could have a look at this KASSERT. I'm not sure why other GUMSTIX-board can boot with this line in place.

Thanks & Best Regards
Stephan


Home | Main Index | Thread Index | Old Index