Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, i am using fedora 8.0.....in my fedora i compiled ethernet driver atl2 and tried to install using modprobe...but it doesn't works...but wheni use insmod its working...i dont know why....can ...
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308

    modprobe problem

    Hello,
    i am using fedora 8.0.....in my fedora i compiled ethernet driver atl2 and tried to install using modprobe...but it doesn't works...but wheni use insmod its working...i dont know why....can anyone tell me why it happens...what to do for that?
    Thanks in advance...

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You need to post the exact commands for us to even begin to diagnose the problem. Usually with modprobe, the error results because you tried to use the entire name including the .ko extension.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    see the output of both "modprobe and insmod"

    [root@localhost 2.6.26]# modprobe atl2
    FATAL: Module atl2 not found.
    [root@localhost 2.6.26]# insmod atl2.ko
    [root@localhost 2.6.26]#
    Thanks in advance...

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Have you tried using the /path/to/atl2
    modprobe /path/to/atl2
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    see the output of that command

    [root@localhost 2.6.26]# modprobe /path/to/atl2
    FATAL: Module /path/to/atl2 not found.
    [root@localhost 2.6.26]#
    Thanks in advance...

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    I'm sorry, I meant for you to substitute the actual path to the module on your system. I used the above example because I do not know where you have the file stored.
    so susbstitute /path/to/atl2 with the actual path on your system.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  7. #7
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    sorry....i dont know how to set that path...can you tell me how to set the path....sorry...please help me
    Thanks in advance...

  8. #8
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    I suppose you could do it this way. Issue these commands as root.
    Code:
    updatedb
    Code:
    locate atl2 |more
    This should tell you the path of the file. Is this a module that you built? Which Ethernet card do you have? Please post the output of this command too
    Code:
    lspci |grep net
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  9. #9
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    This is the output of locate atl2 | more

    Code:
    [root@localhost ~]# locate atl2 | more
    /home/sharief/Desktop/l2-linux-v1.0.40.4/atl2.7
    /home/sharief/Desktop/l2-linux-v1.0.40.4/atl2.spec
    /lib/modules/2.6.23.1-42.fc8/kernel/drivers/net/atl2.ko
    /root/.nautilus/metafiles/file:%2F%2F%2Froot%2FDesktop%2Fsoftwares%2Fatl2-2.0.4.
    xml
    /root/Desktop/softwares/ethernet/atl2-2.0.4
    /root/Desktop/softwares/ethernet/atl2-204tar
    /root/Desktop/softwares/ethernet/atl2-204tar.bz2
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2.ko.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2.mod.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2_ethtool.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2_hw.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2_main.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.atl2_param.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.tmp_versions
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base
    /root/Desktop/softwares/ethernet/atl2-2.0.4/.tmp_versions/atl2.mod
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2.ko.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2.mod.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2_ethtool.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2_hw.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2_main.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.atl2_param.o.cmd
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.tmp_versions
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/Makefile
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/Module.symvers
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2.ko
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2.mod.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2.mod.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_ethtool.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_ethtool.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_hw.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_hw.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_hw.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_main.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_main.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_osdep.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_param.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/atl2_param.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/modules.order
    /root/Desktop/softwares/ethernet/atl2-2.0.4/2.6.26/.tmp_versions/atl2.mod
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/Makefile
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/Module.symvers
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2.ko
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2.mod.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2.mod.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_ethtool.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_ethtool.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_hw.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_hw.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_hw.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_main.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_main.o
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_osdep.h
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_param.c
    /root/Desktop/softwares/ethernet/atl2-2.0.4/fedora base/atl2_param.o
    /sys/bus/pci/drivers/atl2
    /sys/bus/pci/drivers/atl2/0000:01:00.0
    /sys/bus/pci/drivers/atl2/bind
    /sys/bus/pci/drivers/atl2/module
    /sys/bus/pci/drivers/atl2/new_id
    /sys/bus/pci/drivers/atl2/uevent
    /sys/bus/pci/drivers/atl2/unbind
    /sys/module/atl2
    /sys/module/atl2/drivers
    /sys/module/atl2/holders
    /sys/module/atl2/initstate
    /sys/module/atl2/notes
    /sys/module/atl2/parameters
    /sys/module/atl2/refcnt
    /sys/module/atl2/sections
    /sys/module/atl2/srcversion
    /sys/module/atl2/version
    /sys/module/atl2/drivers/pci:atl2
    /sys/module/atl2/notes/.note.gnu.build-id
    /sys/module/atl2/parameters/copybreak
    /sys/module/atl2/sections/.altinstr_replacement
    /sys/module/atl2/sections/.altinstructions
    /sys/module/atl2/sections/.bss
    /sys/module/atl2/sections/.data
    /sys/module/atl2/sections/.data.read_mostly
    /sys/module/atl2/sections/.devexit.text
    /sys/module/atl2/sections/.devinit.data
    /sys/module/atl2/sections/.devinit.text
    /sys/module/atl2/sections/.exit.text
    /sys/module/atl2/sections/.gnu.linkonce.this_module
    /sys/module/atl2/sections/.init.text
    /sys/module/atl2/sections/.note.gnu.build-id
    /sys/module/atl2/sections/.rodata
    /sys/module/atl2/sections/.rodata.str1.1
    /sys/module/atl2/sections/.smp_locks
    /sys/module/atl2/sections/.strtab
    /sys/module/atl2/sections/.symtab
    /sys/module/atl2/sections/.text
    /sys/module/atl2/sections/__bug_table
    /sys/module/atl2/sections/__param
    [root@localhost ~]#
    This is output of lspci |grep net

    Code:
    [root@localhost ~]# lspci |grep net
    01:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
    [root@localhost ~]#
    Thanks in advance...

Posting Permissions

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