Qomo Linux

  • 状态 已分派
  • 完成百分比
    70%
  • 任务类型 缺陷报告
  • 模块 apps
  • 指派到
    W-J
  • 操作系统 i686
  • 严重性
  • 优先级 普通
  • 报告版本 0.7
  • 延期到版本 未决定
  • 延期到日期 未决定
  • 投票
  • 不公开的
属于项目: Qomo Linux
任务打开人: - 2010年08月07日
最后修改人: W-J - 2010年08月09日

FS#144 - QOMO 0.8 LiveCD 模式网卡不可用,无线网卡正常

Bug简介

此问题出现于QOMO 0.8版本,使用LiveCD 模式体验时能识别Broadcom 的无线网卡并能正常使用 无法识别以太网卡

附加信息

以太网卡具体型号:博通BCM5787M Netlink Giganit Ethernet

无线网卡具体型号:博通BCM4312

请描述一下Bug重现的步骤:

第一步,如简介处描述,在真实物理机器上使用LiveCD模式体验时,出现上述问题。
第二步,在虚拟机中测试LiveCD模式时,虚拟机网卡型号为PCNet-Fast III(AM79C973),工作在桥接模式,桥接的是以太网卡;此种情况下能正常使用网络。
第三步,换用LinuxDeep的盘测试时,能识别网卡并正常使用;再次使用Qomo的盘测试Live模式时,还是出现以太网卡无法识别,无线网卡正常测故障。

Project Manager
W-J commented on 2010年08月09日 06:18:28, Mon

你编译安装这个src.rpm试试。

fkdd commented on 2010年09月05日 12:17:00, Sun

请问楼上,如何安装tg3-3.110g-1.src.rpm这个文件呢?
我试过rpm -ivh tg3-3.110g-1.src.rpm
安装后还是不能上网……

刚在网上查了下src.rpm文件的安装方法,
按照网上说明rpm -ivh tg3-3.110g-1.src.rpm
但是在qomo里没有找到/usr/src/redhat/RPMS/i386这个文件夹
……

尝试rpmbuild –rebuild tg3-3.110g-1.src.rpm
报一堆错,比如:grep: /include/linux/kernel.h:没有那个文件或目录
……

Project Manager
W-J commented on 2010年09月06日 03:33:41, Mon

kernel.h是在kernel-headers这个包中的
你如果可以连网的话,直接:
yum install kernel-headers 安装

在你rpm -ivh tg3-3.110g-1.src.rpm后,
可以运行:
rpmbuild -ba –clean ~/rpmbuild/SPECS/XXX
其中XXX是一个以".spec"结尾的文件。

编译完成后,会在~/rpmbuild/RPMS 的子目录下生成你想要的二进制的rpm包,
然后就用rpm -ivh安装刚刚编译出来的二进制rpm包了。

fkdd commented on 2010年09月06日 12:00:47, Mon

以下是按照W-J(badboywj)提供的方法安装出现的问题,还请W-J(badboywj)再指点指点,谢谢
======================
1.
root@localhost ~/Desktop/Server/Linux/Driver pts2 $ yum install kernel-headers
已加载插件:refresh-packagekit
设置安装进程
包 kernel-headers-2.6.34-1_13.i386 已安装并且是最新版本
无须任何处理
-------------
2.
root@localhost ~/Desktop/Server/Linux/Driver pts2 $ rpm -ivh tg3-3.105h-1.src.rpm 1:tg3 ########################################### [100%]
-------------
3.
root@localhost ~/Desktop/Server/Linux/Driver pts2 $ rpmbuild -ba –clean ~/rpmbuild/SPECS/tg3.spec
error: failed to stat /root/Desktop/Server/Linux/Driver/–clean: 没有那个文件或目录
-------------
4.尝试去掉-clean参数
root@localhost ~/Desktop/Server/Linux/Driver pts2 $ rpmbuild -ba ~/rpmbuild/SPECS/tg3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MNdDra
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf tg3-3.105h
+ /bin/tar -xvvf -
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/tg3-3.105h.tar.bz2
drwxr-xr-x mcarlson/nseg 0 2010-02-05 10:16 tg3-3.105h/
-rw-r–r– mcarlson/nseg 431172 2010-02-05 08:35 tg3-3.105h/tg3.c
-rw-r–r– mcarlson/nseg 112956 2010-02-05 10:16 tg3-3.105h/tg3.h
-rw-r–r– mcarlson/nseg 28075 2010-02-05 08:41 tg3-3.105h/tg3_compat.h
-rwxr–r– mcarlson/nseg 6062 2010-02-05 08:42 tg3-3.105h/makeflags.sh
-rw-r–r– mcarlson/nseg 3439 2010-01-20 03:10 tg3-3.105h/Makefile
-rw-r–r– mcarlson/nseg 15153 2009-01-10 03:41 tg3-3.105h/LICENSE
-rw-r–r– mcarlson/nseg 10490 2010-02-05 08:42 tg3-3.105h/README.TXT
-rw-r–r– mcarlson/nseg 3445 2010-02-05 08:37 tg3-3.105h/tg3.4
-rw-r–r– mcarlson/nseg 2050 2009-12-05 09:02 tg3-3.105h/tg3_compat2.h
-rw-r–r– mcarlson/nseg 309343 2009-12-05 09:17 tg3-3.105h/ChangeLog
-rw-r–r– mcarlson/nseg 43881 2009-02-28 09:05 tg3-3.105h/tg3_firmware.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.105h
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g3sSHb
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd tg3-3.105h
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.34-1BOOT
+ make KVER=2.6.34-1BOOT
sh makeflags.sh /lib/modules/2.6.34-1BOOT/source > tg3_flags.h
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/kernel.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/types.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/types.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/types.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/slab.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/delay.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/delay.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/skbuff.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/pci.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/if_ether.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/ethtool.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/ethtool.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/ethtool.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/skbuff.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/skbuff.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/ip.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/net/ip.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/tcp.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/tcp.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/netdevice.h: No such file or directory
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.34-1BOOT/source/include/linux/netdevice.h' for reading (No such file or directory)
makeflags.sh: line 165: [: too many arguments
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/netdevice.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/etherdevice.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/netdevice.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/netdevice.h: No such file or directory
grep: /lib/modules/2.6.34-1BOOT/source/include/linux/if_vlan.h: No such file or directory
make -C /lib/modules/2.6.34-1BOOT/build SUBDIRS=/root/rpmbuild/BUILD/tg3-3.105h modules
make: * /lib/modules/2.6.34-1BOOT/build: No such file or directory. Stop.
make:
* [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.g3sSHb (%build)

Project Manager
W-J commented on 2010年09月07日 03:31:27, Tue

请问安装了kernel-BOOT-devel或者kernel-devel(开了PAE的kernel)了吗?
如果没有,请装上再编译试试

fkdd commented on 2010年09月07日 11:55:49, Tue

按W-J(badboywj)提供的方法顺利安装上了驱动,但是,网络管理器上面还是有个红叉,和没安装驱动之前一样,只有无线和vpn,没有有线网络,郁闷了……

forrest commented on 2010年09月07日 16:20:07, Tue

尝试执行以下命令:
modprobe -r tg3
modprobe broadcom
modprobe tg3
/etc/init.d/NetworkManager restart

如果仍不能解决, 请稍等我们对内核tg3模块的patch工作.

fkdd commented on 2010年09月08日 01:36:50, Wed

谢谢,已经搞定,但是每次重启都需要做以上操作才能上网,希望在qomo1.0或者是下次更新时有所改善

载入...

Available keyboard shortcuts

Task List

Task Details

Add/Edit Task

TODO:complete the list
for accesskey usage different shortcuts on Windows, Mac, Linux .., currently shown for Firefox