Re: [OT] Compiling a module for the Fedora kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 22.12.2014 um 19:05 schrieb Rick Stevens:
On 12/22/2014 09:58 AM, Klaus-Peter Schrage wrote:
Am 22.12.2014 um 17:52 schrieb Klaus-Peter Schrage:
Am 22.12.2014 um 00:11 schrieb poma:
On 21.12.2014 19:45, Klaus-Peter Schrage wrote:
Am 21.12.2014 um 18:34 schrieb Heinz Diehl:
On 21.12.2014, Klaus-Peter Schrage wrote:

Oh, yeah. Forgot. I suspect you'll need to rebuild the initramfs after
patching your driver. The "depmod" verifies that all the module
dependencies were met so if you were to "modprobe" nouveau it'd work,
but I believe nouveau goes into the initramfs so the boot was still
using the original one from the kernel update. So:

1. Patch
2. Build
3. Move to appropriate spot
4. Depmod
5. Rebuild initramfs...make sure the new module is included
6. Reboot

Rick, I think that's it: lsinitrd lists the nouveau driver and points to the newly built binary in /lib/modules/.../updates/.

In older versions of the initramfs image in my /boot directory, the original driver is listed.

So, in your step 5, a simple "dracut" should do the trick (with the "--force"-option when the initramfs version corresponds to the running kernel). I found that dracut finds and includes the binary in /lib/modules/ .../updates/.

Thank you for pointing me into this direction!


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux