What’s the difference between amdgpu kernel driver and amdgpu pro userland userland driver?

AFAIK, AMD has a kernel dirver which is amdgpu, however, they also have a propritary dirver called amdgpu pro works on top of amdgpu. So, do I need to install propritary dirver to have more performance? What does pro driver give us? Will it impact gaming performance since OpenGL, Vulkan is only supported by pro driver.

DataBase Kernel Restarting

Estou aprendendo sobre DataBase, porém nãos sei como ao digitar alguns dados e dar o comando para aparecer me aparece a seguinte mensagem.

The kernel appears to have died. It will restart automatically.

Entendi, porem esse Kernel não reinicia, e eu preciso terminar isso logo, existe algo que eu possa fazer para que essa situação acabe?

No momento uso o Anaconda Navigator, Jupyter para aprender sobre DataBase.

Multipath routing with linux kernel 4.19

I have the following two devices tun-1 and tun-2. They have the same ip address 21.2.0.3 and the same gateway 21.2.0.1 (each gateway points to a different device/VM, they just happen to have the same IP). I am trying to set up a ECMP(equal cost multipath) so that the forwarded request can be sent out randomly from any of the tun devices.

The below command works in the kernel 4.4 with ip tool iproute2-ss130716, but it fails with RTNETLINK answers error in the kernel 4.19 with ip tool iproute2-ss170501.

$  ip route add default \     nexthop via 21.2.0.3 dev tun-1 weight 1 \     nexthop via 21.2.0.3 dev tun-2 weight 1 RTNETLINK answers: Invalid argument  
21.2.0.0/24 dev tun-1 proto kernel scope link src 21.2.0.3  21.2.0.0/24 dev tun-2 proto kernel scope link src 21.2.0.3  

I want to use kernel 4.19 so that I can use the L4 hash for the ECMP setup.

I wonder what the problem it is, and how to fix it? Is it just the ip tool version issue or it is kernel issue?

Unable to find unlocked_ioctl file while creating loadable kernel module

I have following implementation to to create a loadable kernel module.

// The prototype functions for the character driver -- must come before the struct definition static int     dev_open(struct inode *, struct file *); static int     dev_close(struct inode *, struct file *); #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))    static int     dev_ioctl(struct inode *, struct file *, unsigned int, unsigned long); #else    static long    dev_ioctl(struct file *, unsigned int, unsigned long); #endif  static ssize_t dev_read(struct file *, char *, size_t, loff_t *); static ssize_t dev_write(struct file *, const char *, size_t, loff_t *);  /** @brief Devices are represented as file structure in the kernel. The file_operations structure from  *  /linux/fs.h lists the callback functions that you wish to associated with your file operations  *  using a C99 syntax structure. char devices usually implement open, read, write and release calls  */ static struct file_operations fops = {    .open    = dev_open,    .release = dev_close,    .read    = dev_read,    .write   = dev_write,    #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))       .ioctl = dev_ioctl    #else       .unlocked_ioctl = dev_ioctl    #endif }; 

In my test file I am doing something like this

#include<stdio.h> #include<stdlib.h>      #include<errno.h>     #include<fcntl.h>     #include<string.h>     #include<unistd.h>     #include<linux/version.h>    printf("Calling ioctl:\n");       #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))       ret = ioctl(fd, "22:22:22:22", 0, 0);    #else       m_ret = unlocked_ioctl(fd, "22:22:22:22", 0, 0);    #endif 

However it fails with error

warning: implicit declaration of function ‘unlocked_ioctl’ 

Set Warranty Bit : Kernel help

I recently tried rooting my samsung galaxy tab E sm-t377p using odin and twrp. i successfully have twrp installed and the latest version of superuser. when i try and boot it gets on a VERY SLOW boot loop on the samsung galaxy tab e screen with the yellow text “Set Warranty Bit : Kernel” which i think is from the samsung security telling me i have voided the warranty. is there a fix for this? i know some people say boot into twrp and clear cache and data, which ive already done. please help 🙂

Can’t figure out how to apply Kernel Oops fix

Sorry for the noob question, I am new to Linux. I have no idea how to apply a fix for a wi-fi issue I am having. I received this: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c6bca6d75bca2cc47b5eafb9f7f16e368ffbeca

I tried to paste the topmost line in Terminal but it says ‘diff: unrecognized option ‘–git”.

How can I apply this fix? My machine runs Ubuntu 16.04.4 LTS

Thank you in advance!

“Could not do normal boot invalid kernel length”

My G935F shows “Could not do normal boot invalid kernel length” when attempting to boot into TWRP or turn on the device normally. The only thing I can access is ODIN. This happened after attempting to update TWRP and LineageOS. From looking online, I believe I can get a kernel and select the AP option in ODIN and flash a kernel as long as it is in .tar format. I was previously using PRIME kernel https://forum.xda-developers.com/s7-…1-4-0-t3678159 so I looked in the latest download from there but there are no .tar files, only a bootimg.tar.xz and a ramdisks.tar.xz. I tried extracting bootimg.tar.xz to a bootimg.tar and flashing that, but ODIN says it failed: Added!! Odin engine v(ID:3.1210).. File analysis.. SetupConnection.. Initialzation.. Get PIT for mapping.. Firmware update start.. NAND Write Start!! SingleDownload. g930eur-aosp-Image-r12p0 Unassigned file Complete(Write) operation failed. All threads completed. (succeed 0 / failed 1)

I also tried flashing the zip from https://autoroot.chainfire.eu/#odin but ODIN gave me: Added!! Enter CS for MD5.. Check MD5.. Do not unplug the cable.. Please wait.. CF-Auto-Root-hero2lte-hero2ltexx-smg935f.tar.md5 is valid. Checking MD5 finished Sucessfully.. Leave CS.. Odin engine v(ID:3.1005).. File analysis.. SetupConnection.. Complete(Write) operation failed. All threads completed. (succeed 0 / failed 1)

I don’t know what I’m doing and I’m afraid to mess up my phone beyond repair with ODIN. Can someone please help me? XDA forums has no answer and I don’t know who else to ask.