LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-18-2004, 02:14 PM   #1
jimmytango829
LQ Newbie
 
Registered: Nov 2002
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
Question Help!!! depmod doesnt detect Marvell Network Interface


i just installed from Stage 1 for gentoo 1.4, and here are my system specs:
Athlon XP 2500+
512 Ram
Asus A7N8X-E Deluxe
this includes 2 network interfaces:
nVidia 10/100 network interface
Marvell 10/100/1000 network interface

I cant seem to get the Marvell network card to be initalized at boot. I compiled the proper kernel module and I can get the card working manually at the command line using dhcp and ifconfig. It seems that the kernel is not loading the module or hotplug is not properly loading it at boot. I found somewhere that depmod -a is supposed to insert the proper lines binding the specific PCI devices to kernel modules, but when I run depmod, it doesnt insert the lines corresponding to the specific PCI devices I have. Running depmod also removes any lines I add to modules.pcimap that would configure the pci device to use the proper module (sk98lin.o). If someone had some insight as to how to get hotplug to identify with the correct driver or get depmod to place the correct lines in modules.pcimap I would REALLY appreciate it...I just cant figure it out.

Thanks

Last edited by jimmytango829; 02-18-2004 at 04:12 PM.
 
Old 09-30-2004, 01:08 AM   #2
michich
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
sk98lin hotplug

I've just run into the same problem. I've found out that the sk98lin driver doesn't register itself with the hotplug system. I've solved this by editing linux/drivers/net/sk98lin/skge.c . In the file find the definition of skge_pci_tbl[] and add this after it:

/* register the device with the Hotplug facilities of the kernel */
MODULE_DEVICE_TABLE(pci, skge_pci_tbl);

After recompilation, hotplug now loads the module automatically for me.
 
  


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
how-to register ndiswrapper with modules.pcimap esl537 Linux - Wireless Networking 1 09-06-2005 07:09 AM
missing depmod and modules.conf aslong Linux - Networking 1 08-22-2005 07:49 AM
Please help with depmod and modules.conf! Carlosbrandado Debian 2 03-05-2005 08:55 PM
Depmod -a generating bad modules.dep? Carlosbrandado Linux - Newbie 1 03-04-2005 01:04 PM
Installing Modules - Depmod problem cardboard Linux - Newbie 7 06-10-2001 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:48 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
Open Source Consulting | Domain Registration