Welcome to the Linux Foundation Forum!

Writing Your First Kernel Patch - pr_info() Does Not Show my Message

pitaking
pitaking Posts: 3
edited August 2024 in LFD103 Class Forum

Hey,

I'm on Debian 12 with Kernel 6.10.6.
The Kernel is fully functional, but I do not see the "I changed uvcvideo driver in the Linux Kernel" expected message in dmesg.

Anyone to encounter /solve this?

Andrew

Answers

  • The solution was to update grub and boot the "dirty" kernel version:

  • sumedh105
    sumedh105 Posts: 9

    I don't see the dirty kernel version in my case.

  • sumedh105
    sumedh105 Posts: 9

    I don't see the message "I changed the Linux Kernel driver". Can anyone help me with this?

  • sumedh105
    sumedh105 Posts: 9

    I also tried changing the btusb and btintel. I still don't see the messages in the dmesg.

  • ShuahKhanLF
    ShuahKhanLF Posts: 161

    Did you check if your changed kernel is running? uname -a should tell you. If your kernel is indeed booted and running, do you see uvcvideo in lsmod?

Categories

Upcoming Training