Find the answer to your Linux question:
Results 1 to 8 of 8
Hi am new to linux.I am trying to load a kernel module but I get a No suck Device error and when I dmesg, I findh the following error.What should ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    5

    Error Attaching Device Data :(


    Hi am new to linux.I am trying to load a kernel module but I get a No suck Device error and when I dmesg, I findh the following error.What should I do?
    Thank You

    ACPI: Using IOAPIC for interrupt routing
    Error attaching device data
    Error attaching device data
    Error attaching device data
    Error attaching device data
    Error attaching device data

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    What is the kernel module you are trying to load? Show exact command you used.

    What is your LInux distro/kernel version?

    What is the relevant hardware (if any)?

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    5
    The kernel module I am trying to load is a custom module... namely video_server.ko. The kernel being used is 2.6.24-24-rt. I do the following

    sudo ifdown eth0 2>/dev/null || true
    sudo ifdown tt100 2>/dev/null || true
    sudo rmmod r8169 2>/dev/null || true
    sudo rmmod video_server 2>/dev/null || true
    sudo insmod /home/demo/video_server.ko
    sudo modprobe r8169
    sudo ifup bg0
    sudo ifup tt100
    sudo ifup eth1
    i get the error after the font in red

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Is that kernel module supposed to work with a specific piece of hardware?

    Did you encounter any errors/warnings when you compiled the module?

  6. #5
    Just Joined!
    Join Date
    Sep 2011
    Posts
    5
    Hi..
    Yeah it is supposed to work with a specific piece of hardware (realtek NIC). I did not encounter any errors or warning while I compile the module.

  7. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Is there documentation that comes with the code that would suggest compatible NICs? Perhaps only certain RealTek cards are supported? Is there a debug switch you can give to the module when you load it?

  8. #7
    Just Joined!
    Join Date
    Sep 2011
    Posts
    5
    I am basically working in a research project and a company has given us a system , which I want to mimic into my own system. They use 8.04 ubunutu and 2.6.24-24-rt kernel. I have the same in my system and the same goes with the NIC card. I cannot give a detailed explanation because, there are lots of codes given by the company each linked for which even we do not have a full understanding. So I am not able to understand if NIC and kernels are same..why can I not load it. i want to know the reason for the error so that I can retrace things and go back and change something in the code if I need to.

  9. #8
    Just Joined!
    Join Date
    Nov 2006
    Location
    NY
    Posts
    1
    You might want to visit kmuto.jp/debian/hcl/ and paste the output from lspci -n into the big box. You will get more details about your hardware and what the expected kernel module is. Sanity check ....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •