LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   [odd]Cannot find Marvell sk98 card on FC4 (https://www.linuxquestions.org/questions/fedora-35/%5Bodd%5Dcannot-find-marvell-sk98-card-on-fc4-390794/)

dexterwy 12-09-2005 02:40 AM

[odd]Cannot find Marvell sk98 card on FC4
 
There is modules of sk98xx series in the kernel, but there is no result when I type 'modprobe sk98lin'

In the network-config window, no network devieces were listed

When I type 'lspci', I found that there was an Ethernet Controller of Marvell detected

When I tried to reinstall the driver, it went wrong while compling, the content of log file is:
''+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-x86_64'
CC [M] /tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.o
/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c: In function sk98lin_init_devices?
/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c:398: error:struct net_devices?has no member named sast_statss?/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c:539: error: struct net_devices?has no member named sast_statss?/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c: In function seceiveIrqs?
/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c:3017: warning: implicit declaration of function sci_dma_sync_singles?/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c: In function skGeIoctls?
/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.c:3833: error: struct pci_devs?has no member named slot_names?make[1]: *** [/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all/skge.o] Error 1
make: *** [_module_/tmp/Sk98IVBiBnaXcSJcPfijoVgLS/all] Error 2
make: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-x86_64'
+++ Compiler error
"

Could any one help me?

Thanks!

Pentium D 820 CPU, 1GB Memory, ASUS P5LD2 motherboard and the ethernet card is inserted on the mother board

bulliver 12-16-2005 03:15 PM

SK-98xx is deprecated in the kernel.
Have you tried skge module?

WhatsHisName 12-18-2005 11:59 PM

Are you sure about the depreciated part?

On two of my systems (running 2.6.14-1.1653_FC4smp and 2.6.9-22.0.1.ELsmp kernels) and both using SysKonnect SK-9521 v2 NICs, both /etc/modprobe.conf contains the line:

alias eth0 sk98lin

It would seem that sk98lin is still in use.

bulliver 12-19-2005 01:28 AM

Quote:

It would seem that sk98lin is still in use.
Yup, it is. Deprecated means it's there for now, but it may not always be (DEV_FS anyone?).

From make menuconfig:
Code:

< > Marvell Yukon Chipset / SysKonnect SK-98xx Support (DEPRECATED)
This driver has been marked deprecated for Gentoo users, as it seems
problematic and the new skge driver (CONFIG_SKGE) works much better.
If you do not rely on features of this driver, please use SKGE instead.

Now don't get me wrong, I don't have this particular NIC, and I'm not sure what the differences are exactly, I am just offering advice to the OP that maybe his distro has the skge module built instead...

WhatsHisName 12-19-2005 12:05 PM

Very interesting.

Since there were initial problems getting the SK-9521 v2 to work under the CentOS4 kernel, I’ve been looking for postings like yours about the sk98lin. The skge module isn’t already available in the CentOS installation, but it is available for the FC4 kernel, so I tried some tests in FC4 with it.

After inserting the skge module and removing the sk98lin module with modprobe, lsmod shows only skge to be present, as expected, but after rebooting, kudzu had apparently reinserted the sk98lin module. Unless the eth0 alias was manually changed in modprobe.conf from sk98lin to skge, lsmod only showed sk98lin to be present after reboot.

After disabling kudzu, I repeated replacing sk98lin with skge using modprobe and manually in modprobe.conf, but the system locked up during reboot while trying to start HAL. I think HAL’s trying to tell me something about using the skge module with my NIC: No, No, No!

Although you can still purchase the SK-9521 v2 (for less than US$20 new), it is technologically fairly old. The skge module may be for newer NICs. Interestingly, the skge module is much smaller than sk98lin (lsmod size: 40017 vs. 171041, respectively).

sam weldon 12-19-2005 02:19 PM

try this link for a new kernel it might help re-install your netcard.

bulliver 12-19-2005 02:31 PM

Quote:

Interestingly, the skge module is much smaller than sk98lin (lsmod size: 40017 vs. 171041, respectively).
Wow. 171041 is fricken huge for a NIC module. In fact, it's bigger than usbcore?!?!?
For comparison:
8139too -> 14208 (10/100)
e1000 -> 68660 (10/100/1000)

Another point, I am wondering why in the config it says:
"This driver has been marked deprecated for Gentoo users"

What would make the driver different between different distros? Strange...

Murmlrmpf 01-29-2006 04:46 AM

sk98lin is bigger than skge because it contains several features that are os controlled under linux -> skge doesn't implement those unused features and thus isn't that big.

-> it is not reasonable to write the code in each nic driver when you could also implement one for all


All times are GMT -5. The time now is 08:16 AM.