LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-04-2005, 06:24 AM   #1
jayseye
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Loadable "ne" module for kernel 2.6 ?


Is there a precompiled "ne" module, or a replacement, included with kernel 2.6.10 ?

An old NE2000 ISA card (non-PCI) works only when I compile support directly into a custom kernel. I've yet to find a loadable module (ne.ko) corresponding to the ne.o.gz (or ne.o) which came with earlier kernels.

Some other 2.6.x distros seem to include a ne.ko module, including Debian, Mandrake, and perhaps SuSE.

Does anyone know whether this was left out of Slackware 10.1 for a particular reason? Or has the functionality been absorbed into some other module?
 
Old 06-04-2005, 07:21 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Looks like it's in /etc/rc.d/rc.modules to me
Code:
# NE2000/NE1000 support (non PCI):
#/sbin/modprobe ne io=0x300 # NE2000 at 0x300
#/sbin/modprobe ne io=0x280 # NE2000 at 0x280
#/sbin/modprobe ne io=0x320 # NE2000 at 0x320
#/sbin/modprobe ne io=0x340 # NE2000 at 0x340
#/sbin/modprobe ne io=0x360 # NE2000 at 0x360
 
Old 06-04-2005, 08:15 AM   #3
jayseye
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
The actual module (ne.ko) is missing, which is readily confirmed by testing any of those modprobe commands:

Code:
# NE2000/NE1000 support (non PCI):
#/sbin/modprobe ne io=0x300 # NE2000 at 0x300
#/sbin/modprobe ne io=0x280 # NE2000 at 0x280
#/sbin/modprobe ne io=0x320 # NE2000 at 0x320
#/sbin/modprobe ne io=0x340 # NE2000 at 0x340
#/sbin/modprobe ne io=0x360 # NE2000 at 0x360
The error message will show that the module ne is not found.

The results will be the same regardless of whether an NE2000 card is present.

All other nic driver modules are in the directory /lib/modules/2.6.10/kernel/drivers/net/

It appears that ne.ko is simply missing from the 2.6 kernel packages under Slackware 10.1, but perhaps Pat had a good reason. I'd welcome a definitive reply.
 
Old 06-04-2005, 09:47 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I can't find it in the 2.6.10 kernel package, but it's in the source:
Code:
-rw-r--r-- torvalds/torvalds  25836 2004-12-25 05:34:33 linux-2.6.10/drivers/net/ne.c
It's also in the kernel source for 2.6.11.11, the latest stable kernel.
Quote:
NE2000/NE1000 support (NE2000)

If you have a network (Ethernet) card of this type, say Y and read
the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>. Many Ethernet cards
without a specific driver are compatible with NE2000.
Can you compile a kernel yourself?

I don't know why it was left out of the kernel package, but if you
have to have an answer, email Pat V.
 
Old 06-04-2005, 12:02 PM   #5
jayseye
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
The original post clearly reported success at compiling a custom 2.6 kernel under Slackware 10.1.

However, this thread's Subject focuses on a loadable 'ne' module, for specific reasons. This issue likely affects many users, and a number of them may require a module rather than a custom kernel.

On-topic, authoritative replies in this forum could be useful to anyone researching the issue, and would be sincerely appreciated.

Slackware directs support inquiries to LinuxQuestions, so that Pat can concentrate on development. If the module does turn out to simply be missing, we can expect that ne.ko will find its way into slackware-current, and perhaps released as a minor patch / update to 10.1.
 
Old 06-04-2005, 07:45 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: Loadable "ne" module for kernel 2.6 ?

Let me reply to your original post again...
Quote:
Originally posted by jayseye
Is there a precompiled "ne" module, or a replacement, included with kernel 2.6.10 ?
There is no ne module to be found in lib/modules/2.6.10/kernel/drivers/net/ in Slackware's
2.6.10 kernel in /testing/packages/linux-2.6.10/. Please note that this kernel is in testing
but your module is included in /etc/rc.d/rc.modules

Quote:
An old NE2000 ISA card (non-PCI) works only when I compile support directly into a custom kernel. I've yet to find a loadable module (ne.ko) corresponding to the ne.o.gz (or ne.o) which came with earlier kernels.
See above, and read these instructions from /etc/rc.d/rc.modules:
Code:
### Network device support ###
# Most of these drivers will probe automatically for the card if you don't
# specify an I/O address and IRQ.  But, the NE2000 driver needs at least the
# I/O.  For complete information, see the net-modules.txt file that comes
# with the Linux 2.2.x source code.  This file can also be found on the
# Slackware CD-ROM in the /docs/linux-2.2.x/ directory.
#
# First, if setup probing found a network card, there may be an 'rc.netdevice'
# file that we should run to load the network module:
if [ -x /etc/rc.d/rc.netdevice ]; then
  . /etc/rc.d/rc.netdevice
fi
Quote:
Some other 2.6.x distros seem to include a ne.ko module, including Debian, Mandrake, and perhaps SuSE.
Pat doesn't prepare Slackware based upon other distros. That is totally irrelevant.
Perhaps one of them would better suit your needs.

Quote:
Does anyone know whether this was left out of Slackware 10.1 for a particular reason? Or has the functionality been absorbed into some other module?
Pat V. says
Quote:
Essentially, there are so many different options
available in modern Linux kernels that it isn't practical to try to ship
many different kernels to try to cover everyone's needs.
You will not get your authoritative replies in this forum because Pat V. is the only
authority of Slackware, and he doesn't read and reply to LQ threads. What you can expect
is help getting the issue resolved. This forum doesn't exist to second guess Pat's decisions,
or to answer why he did or did not do something in Slackware. Email him for that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 10:15 PM
"Invalid module format" after FULL kernel recompile RedDwarf Linux - General 6 08-07-2004 08:46 PM
kernel 2.6.0 debian "No module symbols loaded - kernel modules not enabled." toovato Linux - General 2 01-07-2004 08:56 PM
error loading a kernel module, "compiled using gcc2" taozilla Linux - Software 0 11-21-2003 04:23 PM
Compiling a kernel module results in "insmod" version mvega Linux - General 2 07-30-2003 10:03 AM


All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration