ne.c NE2000/1000 modules kernel 2.6 with debian SID problem
Firstly, pardon me about my english. Hope you guys can understand what I mean.
I just upgraded my debian woody into sid this morning and having problem with one of my network card. My machine has 3 network card installed, 2 PCI and 1 ISA. 1. PCI Realtek 8139b (works properly) 2. PCI 3Com Cyclone (works properly) 3. ISA Netgear EA201using ne.ko modules (problems with 2.6.8-1 but works properly with Debian woody stock kernel). Using debian woody stock kernel all my network cards worked properly and can be use for routing purposes. Recently I upgraded to unstable distribution (SID) and trying to use MODCONF to load the module for my ISA Netgear network card. This is what I got for loading this modules using modprobe. The paramenter passed in are io=0x300 irq=3 (This is the same parameter I passed in with Debian woody stock kernel) ---------------------------------------------------------------------------------------------------------------------------- Installing module ne. If the device isn't there, or isn't configured correctly, this could cause your system to pause for up to a minute. FATAL: Error inserting ne (/lib/modules/2.6.8-1/kernel/drivers/net/ne.ko): No such device or address Installation failed. Please press ENTER when you are ready to continue. ---------------------------------------------------------------------------------------------------------------------------- BUT The modules is successfuly loaded if I use MODPROBE >>modprobe ne io=0x300 irq=3 I know the module is successfuly loaded because I can browse the internet using my netgear network card Any idea about this problem? Is it a bug in kernel 2.6 for ne.ko driver? I think I realized that this module depend on 8390.ko. This is my computer spec: Compaq 5050 Celeron 300 ATI 3D Rage LT Pro Intel 82443LX Debian Sid using vanilla kernel 2.6.8-1 from www.kerne.org Thanks in advance |
What does lsmod show for it? It looks like the module name has changed to something different the only thing I see close to it on my old kernel on my firewall is ne2000 and that is not present in 2.6.8.1.
Code:
Last login: Sat Aug 21 20:44:12 2004 from happytux Code:
[12:00 PM Sun Aug 22: stephen @ ~] Code:
## Needed for kernel 2.6 |
This is my lsmod result, as you can see ne.ko was loaded properly using MODPROBE
Code:
>>lsmod Code:
grep -i ne config-2.2.20-idepci Code:
grep -i ne config-2.6.8-1 Code:
modprobe io=0x300 irq=3 |
following my reply, the reason you don't see NE2000 module in your kernel 2.6 is because
Code:
CONFIG_NET_ISA is not set Your suggestion about /sys in kernel 2.6, I do have this directory as a replacement /proc in kernel 2.4. I am still don't have any idea, how could this happen? Actually this problem is not critical, but I have to load the module manually in order to get my LAN connected to the internet. It's quite annoying. |
Quote:
Code:
alias eth? ne2000 |
I did try to edit them manually but NE module failed to be loaded during boot time.
Code:
cat /etc/modules Code:
cat /etc/modules.conf Code:
cat /etc/modutils/ne |
You have not put the alias eth? ne in the file just before the option line any time I have done this it is needed to be able to pass the parameter to the module. You may want to look at installing the discover and discover-data packages although I am unsure whether they detect ISA or not. Also you put the file in the modutils directory that does not get used when a 2.6 kernel boots the files in the modprobe.d I mentioned is where it looks for the configurations.
|
I tried by putting eth2 (eth0 is my Realtek NIC eth1 is my 3com NIC) before options ne io=0x300 irq=3
This is one of the section in /etc/modules.conf Code:
### update-modules: start processing /etc/modutils/ne I guess Debian has a different way how to handle automatic loading module with other distribution. Debian has 2 files in /etc related with automatic loading during boot time, they are 1. /etc/modules -> this is for determine which modules need to be loaded during the boot time (see my previous post) 2. /etc/modules.conf -> this is where all the aliases and options for each modules BTW what distribution are u currently have? |
Debian Sarge/SID/Experimental with a bit of apt pinning going on. Debian differs in that you cannot edit the /etc/modules.conf directly that is what the /etc/modutils for a 2.4 and /etc/modprobe.d for a 2.6 directories are for. In the case of a 2.4 the files get read when the update-modules is done and the the information is put into the modules.conf this step is supposed to be unnecessary for a 2.6 kernel it is to read the files directly in the modprobe.d directory. This one has about got me stumped the only other idea I can think of is to put.
Code:
alias eth2 ne Code:
modprobe ne io=0x300 irq=3 |
I haven't tried your idea, but it might work I think. I got the solution by compiling the module in the kernel. This way my Netgear NIC is detected automatically. Thanks for your comment and reply.
|
All times are GMT -5. The time now is 12:41 PM. |