Hi All,
I noticed in /usr/src/sys/nfs/bootp_subr.c there are a large number of
I have never really looked at the kernel code much before, and a thought occured to help me work out what is going wrong with my other current issue.
Silly question, maybe a 101 question, and I'll get asked to leave the room, but where exactly do the printf statements get printed to? In a normal c-style binary, they get printed to the active console, but I am not seeing any of these 'printf' statements appearing on the console when booted; there are a lot...
Does 'printf' only print when running a kernel with with kernel config twiddle changed and the kernel recompiled, and if so which twiddle needs to be set?
And if you say that I need to attach a debugger to see the 'printf' outputs, how do I do that during boot: as the kernel is launching, rather than normal multiuser phase (e.g. before
Again, Thank you for your patience in advance.
James.
I noticed in /usr/src/sys/nfs/bootp_subr.c there are a large number of
printf
statements. For example
Code:
printf("Interface list:\n");
Silly question, maybe a 101 question, and I'll get asked to leave the room, but where exactly do the printf statements get printed to? In a normal c-style binary, they get printed to the active console, but I am not seeing any of these 'printf' statements appearing on the console when booted; there are a lot...
Does 'printf' only print when running a kernel with with kernel config twiddle changed and the kernel recompiled, and if so which twiddle needs to be set?
And if you say that I need to attach a debugger to see the 'printf' outputs, how do I do that during boot: as the kernel is launching, rather than normal multiuser phase (e.g. before
init
is even run) please?Again, Thank you for your patience in advance.
James.