Hi I am Rupesh from India and I have brought new pc with ryzen 5500GT cpu and Asus prime b450 motherboard and installed freebsd 14.1 release os. I want to compile freebsd kernel for my particular cpu.
I have followed all the steps suggested in configuring freebsd kernel and succeeded in compiling and installation but I can't boot new kernel.
The steps I followed are as follows
# cd /usr/src/sys/amd64/conf
# mkdir /root/kernels
# cp GENERIC /root/kernels/MYKERNEL
# ln -s /root/kernels/MYKERNEL
After that I have tried to change cpu entry in MYKERNEL to znver3 but I got error as znver3 not found and so I have restored this entry to original as HAMMER.
I have copied the make.conf from /usr/share/examples to /etc and changed cputype entry to znver3.
I have built and installed successfully through the following commands
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL
After that I have rebooted and after logging to my system I have issued the following command
# uname -a
But I am not able to see the word MYKERNEL from the above command.
After that I have navigated to /boot directory and I am able to see entries as
kernel
kernel-old etc.,
Now my question is how to know whether the recently compiled kernel is booted.
How to know whether my kernel was built which is optimised for my particular cpu ie., znver3.
If you think I have done something wrong please suggest what I have done wrong and suggest how to compile and load the kernel which is optimised for my ryzen zen3 processor.
Regards,
Rupesh.
I have followed all the steps suggested in configuring freebsd kernel and succeeded in compiling and installation but I can't boot new kernel.
The steps I followed are as follows
# cd /usr/src/sys/amd64/conf
# mkdir /root/kernels
# cp GENERIC /root/kernels/MYKERNEL
# ln -s /root/kernels/MYKERNEL
After that I have tried to change cpu entry in MYKERNEL to znver3 but I got error as znver3 not found and so I have restored this entry to original as HAMMER.
I have copied the make.conf from /usr/share/examples to /etc and changed cputype entry to znver3.
I have built and installed successfully through the following commands
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL
After that I have rebooted and after logging to my system I have issued the following command
# uname -a
But I am not able to see the word MYKERNEL from the above command.
After that I have navigated to /boot directory and I am able to see entries as
kernel
kernel-old etc.,
Now my question is how to know whether the recently compiled kernel is booted.
How to know whether my kernel was built which is optimised for my particular cpu ie., znver3.
If you think I have done something wrong please suggest what I have done wrong and suggest how to compile and load the kernel which is optimised for my ryzen zen3 processor.
Regards,
Rupesh.