<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: insmod vs modprobe -- plz help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037183#M48401</link>
    <description>my advice to you is to (always) use modprobe. in 99% of the cases it does exactly what you expect it should do.</description>
    <pubDate>Fri, 30 Mar 2007 08:49:56 GMT</pubDate>
    <dc:creator>dirk dierickx</dc:creator>
    <dc:date>2007-03-30T08:49:56Z</dc:date>
    <item>
      <title>insmod vs modprobe -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037179#M48397</link>
      <description>OS: SUSE&lt;BR /&gt;Although OS is not the Redhat, but.. i think this issue a General linux issue ;)&lt;BR /&gt;&lt;BR /&gt;plz correct me if am wrong, and also suggest&lt;BR /&gt;&lt;BR /&gt;I think modprobe, and insmod are use to load/install *.ko(modules).. right .. if then why I am getting error when&lt;BR /&gt;# insmod /lib/modules/2.6.16.21-0.8-smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko&lt;BR /&gt;1,&lt;BR /&gt;insmod: error inserting '/lib/modules/2.6.16.21-0.8-smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko': -1 Unknown symbol in module&lt;BR /&gt;2,&lt;BR /&gt;# modprobe /lib/modules/2.6.16.21-0.8-smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko&lt;BR /&gt;FATAL: Module /lib/modules/2.6.16.21_0.8_smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko not found.&lt;BR /&gt;&lt;BR /&gt;3,&lt;BR /&gt;# insmod ip_nat_ftp&lt;BR /&gt;insmod: can't read 'ip_nat_ftp': No such file or directory&lt;BR /&gt;# insmod ip_nat_ftp.ko&lt;BR /&gt;insmod: can't read 'ip_nat_ftp.ko': No such file or directory&lt;BR /&gt;&lt;BR /&gt;But success when&lt;BR /&gt;4&lt;BR /&gt;# modprobe ip_nat_ftp&lt;BR /&gt;&lt;BR /&gt;Plz help/explain&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 29 Mar 2007 02:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037179#M48397</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-03-29T02:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: insmod vs modprobe -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037180#M48398</link>
      <description>First of all thise are 2 diiferent utilities - here's a quote from insmod's man:&lt;BR /&gt;"insmod  is a trivial program to insert a module into the kernel: if the filename is a hyphen, the module is taken from standard input. Most users will want to use modprobe(8) instead, which is cleverer."&lt;BR /&gt;&lt;BR /&gt;Second: Are you sure that your current kernel is 2.6.16.21_0.8_smp?&lt;BR /&gt;I suggest you to replace the line:&lt;BR /&gt;insmod /lib/modules/2.6.16.21-0.8-smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko&lt;BR /&gt;with &lt;BR /&gt;insmod /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ip_nat_ftp.ko&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Thu, 29 Mar 2007 04:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037180#M48398</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-03-29T04:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: insmod vs modprobe -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037181#M48399</link>
      <description>insmod and modprobe work differently.&lt;BR /&gt;- insmod takes a file name argument (either full path or relative path). That is why #3 fails.&lt;BR /&gt;- insmod does not deal with dependencies. This may be why #1 fails (not sure).&lt;BR /&gt;- modprobe takes a module name (usually this is the name of the file without the .ko extension), hence the error for #2 above.&lt;BR /&gt;- modprobe _does_ handle dependencies and module-specific options (see /etc/modprobe.conf).&lt;BR /&gt;&lt;BR /&gt;So modprobe is really the command you want to use.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Mar 2007 07:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037181#M48399</guid>
      <dc:creator>Jerome Forissier</dc:creator>
      <dc:date>2007-03-29T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: insmod vs modprobe -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037182#M48400</link>
      <description>Thank dear  Alexander Chuzhoy, and Jerome Forissier for help.&lt;BR /&gt;&lt;BR /&gt;for Alexander:&lt;BR /&gt;&amp;gt;Second: Are you sure that your current kernel is 2.6.16.21_0.8_smp?&lt;BR /&gt;no... and neither i said/wrote &lt;BR /&gt;&lt;BR /&gt;&amp;gt;I suggest you to replace the line: .....&lt;BR /&gt;# insmod /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ip_nat_ftp.ko&lt;BR /&gt;insmod: error inserting '/lib/modules/2.6.16.21-0.8-smp/kernel/net/ipv4/netfilter/ip_nat_ftp.ko': -1 Unknown symbol in module&lt;BR /&gt;&lt;BR /&gt;Well issue resolved ;)&lt;BR /&gt;thanks for help &lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Fri, 30 Mar 2007 00:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037182#M48400</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-03-30T00:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: insmod vs modprobe -- plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037183#M48401</link>
      <description>my advice to you is to (always) use modprobe. in 99% of the cases it does exactly what you expect it should do.</description>
      <pubDate>Fri, 30 Mar 2007 08:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insmod-vs-modprobe-plz-help/m-p/5037183#M48401</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2007-03-30T08:49:56Z</dc:date>
    </item>
  </channel>
</rss>

