LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 7439|回复: 19

求救:RH9下broadcom网卡问题

[复制链接]
发表于 2003-7-28 09:37:48 | 显示全部楼层 |阅读模式
我的本本是DELL1100,网卡是Broadcom 440x 10/100 Integrated Controller,在Windows2000和WinXP下正常驱动,在redhat下不能工作,谁能告诉我该如何去做?
发表于 2003-7-28 11:20:57 | 显示全部楼层

让人烦的bcm4401驱动程序

我从网上下载了bcm4401的驱动
在执行insmod bcm4400这个命令的时候,报错误
Using /lib/modules/2.4.20-8/kernel/drivers/bcm4400.o
  /lib/modules/2.4.20-8/kernel/drivers/bcm4400.o:
      unresolved symbol kernel_flag_cacheline
  /lib/modules/2.4.20-8/kernel/drivers/bcm4400.o:
      unresolved symbol synchronize_irq
请问改怎么解决阿,我搞了一上午了都不知道该怎么做?各位大侠帮帮忙吧!
发表于 2003-7-28 11:21:23 | 显示全部楼层
打电话到DELL去问问看,另外你装的REDHAT是什么版本的?
发表于 2003-7-28 11:23:48 | 显示全部楼层
看看驱动里的说明文件,或许先要做点预备工作的,比如复制啊什么的,把你下载驱动的网址贴上来。
发表于 2003-7-28 11:25:55 | 显示全部楼层
发表于 2003-7-28 11:46:36 | 显示全部楼层
readme里说先要安装原代码,再加载网卡驱动。估计你第一步没做好。
The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.

1. Install the source RPM package:

   rpm -ivh bcm4400-<version>.src.rpm

2. CD to the RPM path and build the binary driver for your kernel:

   cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}

   rpm -bb SPECS/bcm4400.spec

or

   rpmbuild -bb SPECS/bcm4400.spec (for RPM version 4.x.x)

Note that the RPM path is different for different Linux distributions.

3. Install the newly built package (driver and man page):

   rpm -ivh RPMS/i386/bcm4400-<version>.i386.rpm

The driver will be installed in the following path:

2.2.x kernels:

    /lib/modules/<kernel_version>/net/bcm4400.o

2.4.x kernels:

    /lib/modules/<kernel_version>/kernel/drivers/net/bcm4400.o

4. Load the driver:

   insmod bcm4400

5. To configure network protocol and address, refer to various Linux
documentations.


Building Driver From TAR File
=============================

The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.

1. Create a directory and extract the files:

   tar xvzf bcm4400-<version>.tar.gz

2. Build the driver bcm4400.o as a loadable module for the running kernel:

   cd src
   make

3. Test the driver by loading it:

   insmod bcm4400.o

4. Install the driver and man page:

   make install

See RPM instructions above for the location of the installed driver.

5. To configure network protocol and address, refer to various Linux
documentations.
发表于 2003-7-28 12:07:49 | 显示全部楼层

我是按这上面的步骤一步步来的啊

rpm包和tar包我都试了,都是这种错误
发表于 2003-7-28 18:01:59 | 显示全部楼层
/lib/modules/2.4.20-8/kernel/drivers/bcm4400.o和
/lib/modules/<kernel_version>/kernel/drivers/net/bcm4400.o
的位置不一样啊。

如果把bcm4400.o拷贝到/lib/modules/2.4.20-8/kernel/drivers/目录下呢?
发表于 2003-7-29 16:56:09 | 显示全部楼层

已经拷贝了还是不行啊

我都快崩溃了
发表于 2003-7-31 10:32:30 | 显示全部楼层

回复: 已经拷贝了还是不行啊

最初由 cuky 发表
我都快崩溃了

真高兴看一个和我用同一个牌子的网卡的朋友,我的安装情况是这样的;
你必须以root 用户身份进入os然后自己编辑程序安装,我是这样安装的:
The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.

1. Create a directory and extract the files:

   tar xvzf bcm4400-<version>.tar.gz

2. Build the driver bcm4400.o as a loadable module for the running kernel:

   cd src
   make

3. Test the driver by loading it:

   insmod bcm4400.o

4. Install the driver and man page:

   make install

See RPM instructions above for the location of the installed driver.

5. To configure network protocol and address, refer to various Linux
documentations.

然后你进入网络设定:#redhat-config-network
进入后按新添加,然后选择ehternet,就可以看到bcm4401这个网卡了,接下来的事我想就简单了吧!

我原来安装的时候是普通进户进入然后获得root 权限安装,失败,最后以root身份进入后安装就可以了,你试试!
我是在kde下使用用的,gnome 很少用,应该是可以用了!
另外要注意的是,你也可以用rpm安装,但我没试过,应该也是可以的!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表