Solved Stalling in boot process after new world install

My machine is running so what I did
live boot with usb stick ( nomadBSD)
Mount and chroot to / of my hdd
make buildkernel kernconf generic
And make install new kernel
*In kernel configuration the comapibily with oldest versions is disabled*
After thid step my mahine is working but, nvidia driver 340/390 has problem to load.
My video card is too old I know and was working before.
Today ! Linker load file says the nvidia.ko is unsupported file type.
 
Why don’t you try at first with the standard kernel shipped with 13.1 or whatever you are running?
Just to rule out all potential sources of error…
 
Why don’t you try at first with the standard kernel shipped with 13.1 or whatever you are running?
Just to rule out all potential sources of error…
I am using 12.3 stable.
Moving to new version needs more time to upgrade all packages and i don't have enough, so i decided to upgrade my machine for next time ...may be.
 
So use GENERIC kernel from 12.3 image and Nvidia driver downloaded via pkg.
Start play after things work
Just imho
 
I tried to install with ports and packages and got same mesaage

linker_load_file: /boot/kernel/linux.ko - unsupported file type

so I checked kldstat and linux_common+linproc+linsysfs are laoded.
I remember how to install nvidia driver was, and modset too.
 
Good... What if you copy linux.ko also from 12.3 stable and see if you can load this? Something seems wrong with the stuff you compiled somehow...
 
Of I see you are actually NOT using standard kernel.
Then I can only repeat, try with standard kernel and see if it works. If you do not want to do this, good luck, I am out ;)
 
I dunno about that.
Chances are this upgrade was not done correctly. Your libraries are wacked.
Fix the upgrade and these problems go away.
Sure you can butcher something together.
But why do you NEED nvidia to bootup? Fix the OS messup then worry about eyecandy.
 
Copying files can work. But you really don't want to go down that rabbit hole.(Versioning issues)
There are several steps to upgrade from source. Perhaps you missed one?
Maybe you have linuxulator from ports installed? That error says something important.
If you were double loading a module the message is different.
That is a linker error and important clue. Something is amiss.

I will bow out for now.
 
After more than 1w and upgrading all ports I faced with new error, I decided to upgrade to 13 branch, so after complete updating src, I got signal 12 error, and I' ve suspected to ld.



make buildkernel KERNCONF=GENERIC
*** Signal 12
 
Solved
Steps :
1 Removing /usr/src
2 Running machine with an old working kernel (12.3 )
3 Updating /usr/src (12.3 )
4 Building new kernel
5 Building new world
6 Building nvidia-driver again.
done, Thank you, all of you.
 
Back
Top