I am a new Manjaro user, I used arch a few years ago on a headless raspberry pi and was very happy with it, but the stability of auto updates were a concern for using as a primary distro. Now I’ve looked up and Manjaro seems to be safe for day-to-day productivity/development, thus I decided to give it a try.
I am having issues with a dock I have at work, where upon connecting my computer to it, it freezes after about a minute. I managed to find that it is being caused by a Kernel null pointer dereference, according to the title. I took a photo with my phone to provide info about the issue. Please let me know if there is any log I can collect to further improve the characterization of the issue.
Yes, tried with 5.7 after creating my profile and updating. It seems that there is a patch available at: lkml dot org/lkml/2020/7/26/24/ but it has not been merged in master yet.
I would appreciate if anyone could guide me on how to build the kernel in Manjaro, it seems that things are a little different as pkgbuild is used. I must confess I am not familiar with it. Any link to a guide or walk-through would be greatly appreciated.
You clone the git repo with the kernel (in this case git clone https://gitlab.manjaro.org/packages/core/linux57.git) to your PC.
Then you make a new file with the contents of the patch in that folder, e.g. “lenovo-fix-dock.patch”. Copy paste the code from your link into it, beginning with “diff --git…”.
Then you edit PKGBUILD and add the filename (‘lenovo-fix-dock.patch’) to the source=( tag at the end of the list.
Then you add a line at the end of the sha256sums=( tag with the sha256sum of your patch file (or if you are lazy like me just put ‘SKIP’ instead (since you know the code you put into the patch, right )))
Finally you increase pkgrel= in that file with 1 (if it is 2, make it 3)
Save that file and enter makepkg into the terminal.
That should compile the package. this will take a while (and hopefully not crash )
Afterwards you can doubleclick on the generated .xz file to install it with pamac.
Or just wait until some stupid other guy compiles it for you
currently compiling it. i can give you a DL link once finished.