免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: wangye2000
打印 上一主题 下一主题

[网络管理] Linux 无故网络中断!!!郁闷 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2007-01-08 14:56 |只看该作者
[root@localhost ~]# ls /lib/modules/2.6.9-42.EL/kernel/drivers/net/
3c59x.ko     b44.ko    eepro100.ko   mii.ko         pcnet32.ko      r8169.ko   smc9194.ko     tokenring
8139cp.ko    bnx2.ko   epic100.ko    natsemi.ko     ppp_async.ko    s2io.ko    starfire.ko    tulip
8139too.ko   bonding   ethertap.ko   ne2k-pci.ko    ppp_deflate.ko  sis900.ko  sungem.ko      tun.ko
82596.ko     dl2k.ko   fealnx.ko     netconsole.ko  ppp_generic.ko  sk98lin    sungem_phy.ko  typhoon.ko
8390.ko      dummy.ko  forcedeth.ko  netdump.ko     pppoe.ko        skge.ko    sunhme.ko      via-rhine.ko
acenic.ko    e1000     hp100.ko      ns83820.ko     pppox.ko        sky2.ko    tg3.ko         via-velocity.ko
amd8111e.ko  e100.ko   ixgb          pcmcia         ppp_synctty.ko  slhc.ko    tlan.ko        wireless


这里面包含sk98lin啊 ,但是用lsmod 察看时,加载的是sky2 :
[root@localhost sk98lin]# lsmod
Module                  Size  Used by
md5                     8001  1
ipv6                  241761  12
parport_pc             27777  1
lp                     15405  0
parport                37641  2 parport_pc,lp
autofs4                22725  0
sunrpc                143397  1
button                 10449  0
battery                12869  0
ac                      8773  0
uhci_hcd               32601  0
ehci_hcd               32069  0
snd_azx                21585  0
snd_hda_codec         121281  1 snd_azx
snd_pcm_oss            52345  0
snd_mixer_oss          21825  1 snd_pcm_oss
snd_pcm                91973  3 snd_azx,snd_hda_codec,snd_pcm_oss
snd_timer              27973  1 snd_pcm
snd                    56997  6 snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              12961  1 snd
snd_page_alloc         13641  2 snd_azx,snd_pcm
sky2                   39493  0
dm_snapshot            21093  0
dm_zero                 6337  0
dm_mirror              31645  0
ext3                  118729  2
jbd                    59609  1 ext3
dm_mod                 60357  8 dm_snapshot,dm_zero,dm_mirror
ata_piix               15557  4
libata                 67613  1 ata_piix
sd_mod                 20545  7
scsi_mod              117709  2 libata,sd_mod

怎么样改为sk98lin呢?

论坛徽章:
0
22 [报告]
发表于 2007-01-08 14:57 |只看该作者
这里的sk98lin版本不对,你要另外下载

论坛徽章:
0
23 [报告]
发表于 2007-01-08 15:21 |只看该作者

回复 22楼 ttvast 的帖子

sk98lin.tar.bz2
  
这个行吗?

论坛徽章:
0
24 [报告]
发表于 2007-01-08 15:35 |只看该作者
好像可以,看看版本,应该是8.x就对了

论坛徽章:
0
25 [报告]
发表于 2007-01-08 15:49 |只看该作者

回复 22楼 ttvast 的帖子

[root@localhost DriverInstall]# pwd
/root/LinuxDrivers/LinuxDrivers/Marvell_LAN/DriverInstall
[root@localhost DriverInstall]# dir
install.log  install.sh  README  sk98lin.4  sk98lin.tar.bz2
[root@localhost DriverInstall]# ./install.sh
Installation script for sk98lin driver.
Version 8.16.2.3 (Mar-30-2005)
(C)Copyright 2003-2004 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the  DriverInstall directory.
====================================================


1) installation
2) generate patch
3) exit
Choose your favorite installation method: 1 输入1后回车
提示:
Please read this carfully!

This script will automatically compile and load the sk98lin
driver on your host system. Before performing both compilation
and loading, it is necessary to shutdown any device using the
sk98lin kernel module and to unload the old sk98lin kernel
module. This script will do this automatically per default.
If you want to shutdown and unload the old sk98lin kernel module
manually, run the script in the EXPERT mode.

Please plug a card into your machine. Without a card we aren't
able to check the full driver functionality.

Do you want proceed? (y/N) 我在这输入y ,不知道提示让我插什么card,后又提示:
Create tmp dir (/tmp/Sk98IdNgprbmcXlOReKoHDOMN)                                                    [   OK   ]
Check user id (0)                                                                                  [   OK   ]
Check kernel version (2.6.9-42.ELsmp)                                                              [   OK   ]
Check kernel symbol file (/proc/kallsyms)                                                          [   OK   ]
Check kernel type (SMP)                                                                            [   OK   ]
Check number of CPUs (2)                                                                           [   OK   ]
Check architecture (found)                                                                         [   OK   ]
Set architecture (i386)                                                                            [   OK   ]
Check compiler (/usr/bin/gcc)                                                                      [   OK   ]
Check mcmodel flags (none)                                                                         [   OK   ]
Check module support (/sbin/insmod)                                                                [   OK   ]
Check make (/usr/bin/make)                                                                         [   OK   ]
Check archive file (sk98lin)                                                                       [   OK   ]
Check kernel gcc version (3.4.6) (Kernel:3.4.6 == gcc:3.4.6)                                       [   OK   ]
Check sk98lin driver availability (not loaded)                                                     [   OK   ]
Check kernel header files (not found)                                                              [ failed ]
Kernel header not found. Please install the linux header files
development package or crate a symbolic link from the
/usr/src/KERNEL_VERSION directory to linux
     Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux

Installation of sk98lin driver module failed.
Delete temp directories (done)           安装失败,请问怎么装

论坛徽章:
0
26 [报告]
发表于 2007-01-08 16:04 |只看该作者

你可能中了arp病毒

到网上找anti arp sniffer装到你电脑上,测一下是否局域网内有电脑中了arp病毒了

论坛徽章:
0
27 [报告]
发表于 2007-01-08 16:07 |只看该作者
# system-config-packages
选中kernel development

论坛徽章:
0
28 [报告]
发表于 2007-01-08 16:13 |只看该作者
原帖由 peixubin 于 2007-1-8 16:07 发表
# system-config-packages
选中kernel development

没有system-config-packages 命令
又提示其他的错误了:
[root@localhost DriverInstall]# ./install.sh

Installation script for sk98lin driver.
Version 8.16.2.3 (Mar-30-2005)
(C)Copyright 2003-2004 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the  DriverInstall directory.
====================================================


1) installation
2) generate patch
3) exit
Choose your favorite installation method: 1
Please read this carfully!

This script will automatically compile and load the sk98lin
driver on your host system. Before performing both compilation
and loading, it is necessary to shutdown any device using the
sk98lin kernel module and to unload the old sk98lin kernel
module. This script will do this automatically per default.
If you want to shutdown and unload the old sk98lin kernel module
manually, run the script in the EXPERT mode.

Please plug a card into your machine. Without a card we aren't
able to check the full driver functionality.

Do you want proceed? (y/N) y
Create tmp dir (/tmp/Sk98IkIgaTaQrGfkMJOqrcECl)                      [   OK   ]
Check user id (0)                                                    [   OK   ]
Check kernel version (2.6.9-42.ELsmp)                                [   OK   ]
Check kernel symbol file (/proc/kallsyms)                            [   OK   ]
Check kernel type (SMP)                                              [   OK   ]
Check number of CPUs (2)                                             [   OK   ]
Check architecture (found)                                           [   OK   ]
Set architecture (i386)                                              [   OK   ]
Check compiler (/usr/bin/gcc)                                        [   OK   ]
Check mcmodel flags (none)                                           [   OK   ]
Check module support (/sbin/insmod)                                  [   OK   ]
Check make (/usr/bin/make)                                           [   OK   ]
Check archive file (sk98lin)                                         [   OK   ]
Check kernel gcc version (3.4.6) (Kernel:3.4.6 == gcc:3.4.6)         [   OK   ]
Check sk98lin driver availability (not loaded)                       [   OK   ]
Check kernel header files (not found)                                [ failed ]
Kernel header not found. Please install the linux header files
development package or crate a symbolic link from the
/usr/src/KERNEL_VERSION directory to linux
     Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux

Installation of sk98lin driver module failed.
Delete temp directories (done)                                       [   OK   ]

论坛徽章:
0
29 [报告]
发表于 2007-01-08 16:18 |只看该作者
[root@localhost src]# pwd
/usr/src
[root@localhost src]# ls kernels/
2.6.9-42.EL-hugemem-i686  2.6.9-42.EL-i686  2.6.9-42.EL-smp-i686
[root@localhost src]#
[root@localhost src]# ll
total 16
drwxr-xr-x  5 root root 4096 Jan  6 17:54 kernels
drwxr-xr-x  7 root root 4096 Jan  6 17:55 redhat
[root@localhost src]#


我如何建那个错误中提示的连接阿?

论坛徽章:
0
30 [报告]
发表于 2007-01-08 16:22 |只看该作者
ln -s /usr/src/kernels/2.6.9-42.EL-i686 /usr/src/linux
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP