tech-kern archive

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

Profiling broken on x86?



Hello

This is NetBSD 9.2_STABLE on amd64. If the kernel is built with
profiling (either config -p, or makeoptions PROF="-pg" and options
GPROF), it crashes at boot with this panic:

panic: patchfunc: sizes do not match (from=0xffffffff80f0d720)
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x165
snprintf() at netbsd:snprintf
x86_patch() at netbsd:x86_patch+0x2f5
cpu_boot_secondary_processors() at netbsd:cpu_boot_secondary_processors+0x1d

The trace suggests a problem tied with multiprocessor. Booting with boot -1
gives the same result, and I failed to build with no options MULTIPROCESSOR

Is there something obvious I missed? 

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index