Just a couple of other suggestions.

You can generate a patch file from the upstream kernel repo. eg

cd linux-jammy
curl 
https://github.com/torvalds/linux/commit/8d3a6c37d50d5a0504c126c932cc749e6dd9c78f.patch
 -o ./atlantic.patch
git diff
git apply ./atlantic.patch
git diff

I was wrong about printf. You need to use printk

printk(KERN_INFO "HERE!\n");

I expect printk just will work although you might need to "#include
<linux/kernel.h>"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958770/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to