[Question] a question about the device driver

Source: Internet
Author: User
[Doubt] for a question about the device driver-Linux general technology-Linux technology and application information, see the following for details. [I = s] This post was last edited by xihu_wy

I recently started to access linux Device Drivers and encountered the following problems in my first hello world example:

Insmod: error inserting './hello. ko':-1 Invalid module format

Find/var/log/messages and find it Nov 16 14:24:35 qian kernel: hello: version magic '2. 6.34.7-61. fc13.i686 SMP mod_unload 686 'should be '2. 6.33.3-85. fc13.i686 SMP mod_unload 686'

However, after I uninstalled 2.6.34.7-61. fc13.i686 and installed the downloaded 'kernel-2.6.33.3-85. fc13.src. rpm, there were no files in the usr/src/kernels directory.
I don't know why... Please kindly advise
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.