x86 硬件上的 Mac OS X 2008–2024 技术文献库
InfiniteMac OSx86 › OSx86 10.X 核心架构与安装配置 › 适用于 Mac OS X 10.6(32/64 位)的 BCM5754/M、BCM5755/M、…
273,637 reads · 2011-02-12 – 2012-08-23
技术专卷 10.X 核心架构

适用于 Mac OS X 10.6(32/64 位)的 BCM5754/M、BCM5755/M、BCM5787/M、BCM5906/M 网卡驱动

专为 Mac OS X 10.6.x 打造的 Broadcom BCM5754/M、BCM5755/M、BCM5787/M 及 BCM5906/M(32/64 位)开源网卡驱动。告别旧版十六进制硬改驱动的局限,直接基于 Broadcom 官方开发指南与 Linux/FreeBSD 驱动架构重新编写。

主笔作者
@adlan 发表于 2011-02-12
所属专区
OSx86 10.X 核心架构与安装配置
典藏规模与记录
273,637 次历史阅读 · 112 则精选技术笔记(萃取自 125 则原始回帖) · 2011-02-12 – 2012-08-23
参与贡献成员 (61)
@adlan (36)@fyooo (7)@Astarael (6)@rals2007 (4)@ludacrisvp (3)@VIVXIX (3)@cephalopod (3)@quinielascom (2)@Dabluest (2)@abiogenesis (2)@tmacyunn (2)@ronin510 (2)@FredWst (2)@majamudo (2)@waldrondigital (2)@righteye (2)+45 more
相关硬件参考
macOS Wi-Fi & BT Adapters ↗ SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗
简体中文精译技术专卷 · 完整保留原始命令、Kext 名称、ACPI 节点与引导参数查看英文原版 (Original English) →

适用于 10.6.X 的 Broadcom BCM5754/M、BCM5755/M、BCM5787/M、BCM5906/M 网卡驱动(32/64 位)

为了解决自己手上这张网卡(BCM5787M)的驱动问题,我决定亲自动手编写一个全新的驱动程序。虽然网上已经有通过十六进制编辑(Hex-edited)修改出来的可用驱动,但我认为这并非长久之计,而且也拿不到源代码。当然,如果当初有开源版本的话,这个项目大概也就不会诞生了。

本驱动程序是根据 Broadcom 开源开发者资源中提供的《BCM5722 编程指南》(Programmer's Guide)编写实现的,同时也参考了 Linux(tg3)与 FreeBSD(if_bge)驱动程序的部分底层细节。由于该技术手册涵盖了多款芯片型号,因此我决定把手册中记载的几款相近型号也一并加入支持。

预计支持以下型号:

  1. BCM5722
  2. BCM5754
  3. BCM5754M
  4. BCM5755
  5. BCM5755M
  6. BCM5787
  7. BCM5787M #
  8. BCM5906 #
  9. BCM5906M #

# - 已实测通过

当前版本尚未实现的功能:

  • 网络唤醒(Wake-on-LAN)

安装方法

安装至 /System/Library/Extensions。

你可以手动将内核扩展(Kext)复制到 S/L/E 并修复磁盘权限,或者直接使用 KextWizard(k exts.com/view/1068-latest_kext_wizard_from_janek202.html)(kexts.com 镜像下载点)。

问题反馈

如发现任何 Bug 或异常,请前往以下地址反馈:https://github.com/adlan/BCM5722D/issues ↗

参与贡献

源代码已托管于:https://github.com/adlan/BCM5722D ↗

致谢

  • 感谢 Broadcom 公开发布编程指南
  • 感谢 Linux(tg3)与 FreeBSD(if_bge)驱动程序的作者们
  • 感谢 InsanelyMac 论坛的早期 Beta 测试成员(acero、Hacktrix2006、quadomatic、queshaolangman、Zprood)

免责声明
本驱动程序并非由 Broadcom 官方支持或背书。万一僵尸冲进你家里,或者发生任何意外,本人概不负责。请自行承担使用风险。

更新记录
修复了设备 ID(Device ID)带有英文字母的网卡(5722、5754、5755、5787)无法被正常识别的问题。特别感谢 FredWst(osx 86.co/member.php?u=90020393)找出这个症结。

祝使用愉快!

社区实测与技术补充笔记

自 125 则原始讨论回帖中萃取 112 则高价值技术回应

技术笔记 #1 @chinasky 2011-02-15

Lenovo N500 笔记本电脑,配备 BCM5906M。运行正常,目前完全没有发生五国死机 / 内核崩溃(KP)。

作者修订 #1 @adlan 2011-02-16 ↳ Re: @chinasky
@chinaskyLenovo N500 笔记本电脑,配备 BCM5906M。运行正常,目前完全没有发生五国死机 / 内核崩溃(KP)。

很高兴听到这个好消息!

技术笔记 #2 @pat98usb 2011-02-16

请问你可以让它也支持 Broadcom BCM57780(pci14e4,1692)吗?

技术笔记 #3 @quinielascom 2011-02-16

多谢,在 BCM5787M 上实测工作良好。

请问有没有办法设置让你的驱动程序不要在系统日志(System Log)中输出这么多信息?

在我的系统日志里有以下内容:

BCM5722D (Build date/time: Feb 11 2011 16:21:32)
BCM5722D (setupDriver:920): MSI index on 1
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
BCM5722D (setPowerState:84): Changing power state from 1 to 0
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2638 iterations
BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
BCM5722D (configureLinkAdvertisement:364): advertiseFe: 5E1
BCM5722D (configureLinkAdvertisement:365): advertiseGe: 300
BCM5722D (startAutoNegotiation:522): Adv reg: 5E1
作者修订 #2 @adlan 2011-02-17 ↳ Re: @pat98usb
@pat98usb请问你可以让它也支持 Broadcom BCM57780(pci14e4,1692)吗?

抱歉,恐怕我目前没办法做到。我会公开源代码,有兴趣的朋友如果条件允许,可以自己动手试试看。

作者修订 #3 @adlan 2011-02-17 ↳ Re: @quinielascom
@quinielascom多谢,在 BCM5787M 上实测工作良好。请问有没有办法设置让你的驱动程序不要在系统日志(System Log)中输出这么多信息?在我的系统日志里有以下内容:BCM5722D (Build date/time: Feb 11 2011 16:21:32) BCM5722D (setupDriver:920): MSI index on 1 BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations my_name_adlan_BCM5722D: Model: BCM5787M…

目前没办法直接设置,不过我稍后会上传一个精简日志(Non-chatty)的版本。
多谢帮忙测试!

技术笔记 #4 @Dabluest 2011-03-04

你让我的 5906M 网卡成功工作了(甚至在 Lion 下也行)!我激动得说不出话来,从没想过会有这一天!你太牛了!万分感谢。

技术笔记 #5 @webwolf 2011-03-05

Dell XPS M1330

我有一台 Dell XPS M1330,硬件信息显示配备的是 5906M 网卡,但我尝试安装你的驱动程序却没有成功:我在“系统偏好设置 / 网络”里面看不到任何新的网络接口。
在 /var/log 里面,我只在 system.log 找到唯一一处相关记录:
com.apple.kextd[10]: BCM5722D.kext has no Info.plist file.
com.apple.kextcache[591]: BCM5722D.kext has no Info.plist file.

请问有什么头绪吗?
Marco

作者修订 #4 @adlan 2011-03-06 ↳ Re: @webwolf
@webwolf我有一台 Dell XPS M1330,硬件信息显示配备的是 5906M 网卡,但我尝试安装你的驱动程序却没有成功:我在“系统偏好设置 / 网络”里面看不到任何新的网络接口。在 /var/log 里面,我只在 system.log 找到唯一一处相关记录:com.apple.kextd[10]: BCM5722D.kext has no Info.plist file. com.apple.kextcache[591]:…

从日志来看,内核扩展(Kext)加载失败是因为找不到 Info.plist 文件。你能确认一下已安装的内核扩展里面是否真的缺少了 Info.plist?如果是的话,请试试移除并重新安装该内核扩展,同时也检查一下你下载回来的压缩包是否完整。

在终端(Terminal)执行:
ls /System/Library/Extensions/BCM5722D.kext/Contents

作者修订 #5 @adlan 2011-03-06 ↳ Re: @adminio
@adminio多谢!我的 Acer 5315 配备 BCM5906M,成功驱动!

太好了!

@Dabluest你让我的 5906M 网卡成功工作了(甚至在 Lion 下也行)!我激动得说不出话来,从没想过会有这一天!你太牛了!万分感谢。

喔喔,在 Lion 上也能用?太棒了!喂,你是从哪里弄到 Lion 的?:-$

技术笔记 #6 @Dabluest 2011-03-07 ↳ Re: @adlan
@adlan太好了!喔喔,在 Lion 上也能用?太棒了!喂,你是从哪里弄到 Lion 的?:-$

某个绿色小恶魔(Demonoid)那里弄来的。

技术笔记 #7 @abiogenesis 2011-03-13

天啊,我发现这个帖子之后整个人都崩溃了。
因为我原本也在为 BCM5906M 编写自己的驱动程序!
我从一月开始研读 5722-PG101-R.pdf 和 if_bge.c,今天才刚搞定不含 Checksum Offloading、Multicast 与电源状态切换的 RX/TX 收发功能。

现在我完全不知道该怎么办,究竟该直接删掉我还在建设中的 http://code.google.com/p/osx-bcm5906m/ ↗ 项目,还是把驱动程序写完并上传过去?但现在看来已经没有任何意义了
:

作者修订 #6 @adlan 2011-03-14 ↳ Re: @abiogenesis
@abiogenesis天啊,我发现这个帖子之后整个人都崩溃了。因为我原本也在为 BCM5906M 编写自己的驱动程序!我从一月开始研读 5722-PG101-R.pdf 和 if_bge.c,今天才刚搞定不含 Checksum Offloading、Multicast 与电源状态切换的 RX/TX 收发功能。现在我完全不知道该怎么办,究竟该直接删掉我的……

哎呀,真不好意思,
我最初是为了自己的网卡(5787M)开发这个驱动程序的,因为手册里也记载了 BCM5906,所以我才顺便把这个型号的支持也加了进去。

既然你已经开了头,千万不要停下来!把它完成吧,就当作是一次练手,这能为你积累宝贵的开发经验,未来对你自己和整个社区都会很有帮助。虽然表面看起来好像白费工夫,但决定权在你手上。如果换作是我,我一定会坚持写完它。

技术笔记 #8 @rals2007 2011-03-14

adlan

太棒了!

日志最好只保留这两行:

my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55

这样干净多了。

作者修订 #7 @adlan 2011-03-16 ↳ Re: @rals2007
@rals2007adlan,太棒了!日志最好只保留这两行:my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55 这样干净多了。

我已经上传精简日志版(Non-chatty version)了。

技术笔记 #9 @abiogenesis 2011-03-17

多亏了你的源代码,我修好了自己代码里的几个 Bug,同时我发现你的 setMulticastList 函数里好像也有一个 Bug。

for (i = 0; i < count; i++) { crc = computeCRC32((const UInt8 *) addrs, 6); ... }

根据 5722-PG101-R.pdf,应该要为数组中的每一个地址计算 CRC,所以这里应该是 "addrs + i" 或 "&addrs"。

作者修订 #8 @adlan 2011-03-17 ↳ Re: @abiogenesis
@abiogenesis多亏了你的源代码,我修好了自己代码里的几个 Bug,同时我发现你的 setMulticastList 函数里好像也有一个 Bug。根据 5722-PG101-R.pdf,应该要为数组中的每一个地址计算 CRC,所以这里应该是 "addrs + i" 或 "&addrs"。

我的疏忽,我怎么会漏掉这个细节!
非常感谢你指出这个问题。

技术笔记 #10 @Medienmensch 2011-03-18

请问有可能为 BCM4357 rev1 开发驱动程序吗

我有一台配备这张无线网卡的 Lenovo G560。

如果有的话就太棒了!

如果没办法的话,你会推荐我买哪一款无线网卡在 OS X 下使用?

技术笔记 #11 @volgin7 2011-03-20

在 Lenovo S12 上成功驱动

太赞了!在 Lenovo S12 的有线网卡(LAN)BCM5906M 上完美工作!
多谢!

作者修订 #9 @adlan 2011-03-20 ↳ Re: @Medienmensch
@Medienmensch请问有可能为 BCM4357 rev1 开发驱动程序吗?我有一台配备这张无线网卡的 Lenovo G560。如果有的话就太棒了!如果没办法的话,你会推荐我买哪一款无线网卡在 OS X 下使用?

就目前而言,我只能说这是不可能的。官方没有公开任何 API 文档,而且我也不知道该型号是否有任何公开的数据手册(Datasheet)、编程手册或开源驱动程序可供参考。

我建议购买外置 USB 无线网卡,我自己个人是用 D-Link DWA-110。你可以在 OSx86 Project Wiki 的硬件兼容性列表(HCL)↗ 找到更多受支持的型号。

技术笔记 #12 @parlae 2011-03-20 ↳ Re: @pat98usb

多谢、多谢、再多谢!真不敢相信终于有人把这个驱动做出来了!
请继续保持!
在我的 Lenovo S10e 4086RLG 上运行得非常棒:

@pat98usb请问你可以让它也支持 Broadcom BCM57780(pci14e4,1692)吗?

我记得那个应该是 AirPort 无线网卡驱动,因为在那个设备 ID 下面写着 airport.kext 之类的字样。在安装这个内核扩展之前,有线以太网卡是完全不会显示出来的;安装之后,你就会看到两张网卡:airport pci14e4 与有线以太网卡。

技术笔记 #13 @quinielascom 2011-03-20 ↳ Re: @adlan
@adlan我已经上传精简日志版(Non-chatty version)了。

还有一件事,拜托,你可以也为 Leopard 10.5.x 编译一个版本吗?

技术笔记 #14 @tmacyunn 2011-03-25

嗨 adlan,我在 10.6.7 下遇到一个问题:当我让笔记本电脑进入睡眠状态一小时或更长时间后,驱动程序就会失效,网络连接中断。必须使用 kextload 命令先卸载再重新加载,网络才会恢复正常。
请问这是系统本身的问题吗?也许我们应该在 10.6.7 环境下重新编译它?我已经试过修复磁盘权限并重建内核缓存。

补充:
我试着在 32 位 10.6.7 下使用 Xcode 3.2.5 编译源代码,结果出现了一些类似这样的警告信息:

BCM5722D-18e3e93/BCM5722D.cpp:536: warning: implicit conversion shortens 64-bit value into a 32-bit value
作者修订 #10 @adlan 2011-03-25 ↳ Re: @tmacyunn
@tmacyunn嗨 adlan,我在 10.6.7 下遇到一个问题:当我让笔记本电脑进入睡眠状态一小时或更长时间后,驱动程序就会失效,网络连接中断。必须使用 kextload 命令先卸载再重新加载,网络才会恢复正常。请问这是系统本身的问题吗?也许我们应该在 10.6.7 环境下重新编译它?我已经试过修复磁盘权限并重建内核缓存……

我会进一步调查这个问题。你能提供系统从睡眠唤醒后的日志信息吗?

至于编译时的警告信息(Warning),你直接忽略即可,因为底层需要将一个 64 位数值拆分为两个 32 位数值,才能写入硬件寄存器。

技术笔记 #15 @tmacyunn 2011-03-25

日志如下:

 Friday, March 25, 2011 4:49:52 PM Asia/Shanghai 
Mar 25 16:49:57 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: Wake reason = 
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: System Wake
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disTconnectedhe USB d:ev porticSC(e 0x301US8B Op03ti)
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: cal Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 25 16:50:18 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195

而且我注意到从睡眠唤醒时,“系统偏好设置”里面虽然显示网络已连接,但实际上是断网的。

以下则是你之前发布的旧版内核扩展所输出的日志:

Mar 19 22:51:18 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: Wake reason = 
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: System Wake
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disconnected: portSC(0x301803)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: The USB device USB Optical Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setPowerState:84): Changing power state from 0 to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 0 iterations
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:364): advertiseFe: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:365): advertiseGe: 0
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (startAutoNegotiation:522): Adv reg: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupPHY:100): Auxillary status: F53F
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupFlowControl:621): flowControl: 0
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: my_name_adlan_BCM5722D: Link up: 100 MBps, full duplex. Flow control: disabled
技术笔记 #16 @Astarael 2011-04-06

我刚测试了你的内核扩展——它让我的 BCM5787M 成功工作了!而且在“系统概述”(System Profiler)里面可以看到正确的网卡信息(之前用 10.6.3 修改版 BCM5701 插件时,尽管打了 DSDT 补丁,它依然只显示 pci14e4,1693 而非真实名称)。

不过现在有个问题:加载这个内核扩展之后,我的系统变得非常卡慢。我好不容易才在终端里面勉强敲完 sudo kextunload BCM5722D.kext。之前加载十六进制修改版插件时从来没有出现过这种情况。
大约 5 分钟后,我再次执行 kextload 命令,系统又变慢了——但这次的负面影响轻微得多,大概只有第一次的十分之一左右。
这会不会跟代码优化(Code Optimizations)有关?我真的不太清楚。

我衷心祝愿这个项目顺利成功——毕竟谁知道 10.6.3 的旧版内核扩展还能撑多久?搞不好到了 Lion 甚至下一次系统更新就彻底失效了。

祝好,
Astarael

P.S. 抱歉我的英语不太好,还在学习中。

作者修订 #11 @adlan 2011-04-07 ↳ Re: @Astarael
@Astarael我刚测试了你的内核扩展——它让我的 BCM5787M 成功工作了!而且在“系统概述”(System Profiler)里面可以看到正确的网卡信息(之前用 10.6.3 修改版 BCM5701 插件时,尽管打了 DSDT 补丁,它依然只显示 pci14e4,1693 而非真实名称)。不过现在有个问题:加载这个内核扩展之后,我的系统变得非常卡慢。我……

嗨,
你可以试试这个内核扩展吗?

cl .ly/3e3l2N2t1n242a3O0T0I

然后把日志发给我?请截取以 BCM5722D 开头的那几行。

P.S. 没关系,我的英语也是半桶水。

技术笔记 #17 @Domenic211 2011-04-15

我有一台配备 Broadcom BCM5787M 的 Acer Aspire 2920。
我试着把本帖附件中的“BCM5722D.kext”放进 system\library\extesion,但重启后我的有线网络依然无法工作……。

电脑配置:Acer Aspire 2920(Intel Core 2 Duo,芯片组:Intel 965)
操作系统:Mac OS X 10.6.6i By Hazard

P.S.:我也试过安装 Mac OS X 10.6.2,但装上这个内核扩展后结果还是一样,有线网络无法工作……在系统管理器的以太网卡一栏中什么都没显示。

P.P.S.:把内核扩展放进 Library 目录后,系统弹出了以下提示:
无法使用系统扩展
系统扩展“/System/Library …”安装不当,因此无法使用。
请尝试重新安装……

请问我到底哪里做错了?
多谢各位
来自意大利的问候

作者修订 #12 @adlan 2011-04-16 ↳ Re: @Domenic211
@Domenic211我有一台配备 Broadcom BCM5787M 的 Acer Aspire 2920。我试着把本帖附件中的“BCM5722D.kext”放进 System\Library\Extensions,但重启后我的有线网络依然无法工作……。电脑配置:Acer Aspire 2920(Intel Core 2 Duo,芯片组:Intel 965),系统:Mac OS X 10.6.6i By Hazard。P.S.:我也试过安装 Mac OS X 10.6.2,但……

嗨,

通常会弹出那个错误提示,是因为内核扩展的文件权限不正确。要修复这个问题,你需要修改该内核扩展的权限:

你可以运行“磁盘工具”(Disk Utility)并点击“修复磁盘权限”,

或者在终端(Terminal)中执行:

cd /System/Library/Extensions
sudo chmod -R 755 BCM5722D.kext
sudo chown -R 0:0 BCM5722D.kext

更简单的做法是使用 Kext Helper(k exts.com/downloads.php?do=file&id=250)来安装(截至我回复时,其官方主站暂时无法访问,上述链接指向 kexts.com 的下载页面)。

技术笔记 #18 @Astarael 2011-04-18 ↳ Re: @adlan
@adlan你可以试试这个内核扩展吗?cl .ly/3e3l2N2t1n242a3O0T0I 然后把日志发给我?请截取以 BCM5722D 开头的那几行。P.S. 没关系,我的英语也是半桶水。

嗨,不好意思拖了这么久才回复,我最近实在太忙了。
总之,我把你给我的内核扩展放进 /S/L/E,执行了 chmod 与 chown,然后用 kextload 加载。以下是我在“控制台”(Console)中看到的信息:

11-04-18 18:13:12	sudo[255]	astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13	kernel	BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1

我不确定这是不是你要看的内容 :-|

P.S. 我不建议在 Snow Leopard 下使用 KextHelper——它工作得不太稳定。你可以改为测试 KextWizard(我就不发链接了,因为不确定版规是否允许)。

技术笔记 #19 @scritchy 2011-04-18

我有一台 HP xw6600 工作站,主板板载 14e4:167b Broadcom 5755 网卡。这个内核扩展看起来完全没有发挥任何作用,在 /var/log 下的所有日志中都找不到任何相关记录。

我已经试过分别用 Kext Helper b7 与 Kext Wizard 删除并重新安装,也重建了内核扩展缓存。我试过直接用本帖附件的 zip 包,也试过自己从源代码重新编译,结果毫无区别。我已经用 DPCIManager 确认过设备 ID 无误。

实在不知道还能试什么方法了?

如果改用网上流传的那个硬改版 5701 内核扩展,它算是“能用”——可以获取到 IP 并连上网,但那个硬改版 5701 有严重的上传问题,导致上传速度慢得离谱甚至经常超时(Timeout),所以我才会找来这里。

技术笔记 #20 @Astarael 2011-04-19

开机进入系统后,试着在终端输入 kextstat | grep BCM,看看有没有任何输出结果。如果没有——那就代表该内核扩展根本没有被加载……
你有试过用 kextload 命令强制加载它吗?

作者修订 #13 @adlan 2011-04-19 ↳ Re: @Astarael

抱歉回复晚了,有时候我没留意到这个帖子有新回复。

@Astarael嗨,不好意思拖了这么久才回复,我最近实在太忙了。总之,我把你给我的内核扩展放进 /S/L/E,执行了 chmod 与 chown,然后用 kextload 加载。以下是我在“控制台”(Console)中看到的信息:11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload…

请问系统变卡慢的问题还存在吗?
日志里面只有这几行关于该内核扩展的信息吗?而且加载之后你的系统就开始变慢了吗?

P.S. 对啊,Kext Helper 在退出时总是会卡死,必须强制退出,不过因为它还是能完成安装工作,我就懒得再找其他工具了。无论如何多谢你的建议,我会试试你提到的那款软件并更新一楼主帖。

作者修订 #14 @adlan 2011-04-19 ↳ Re: @scritchy
@scritchy我有一台 HP xw6600 工作站,主板板载 14e4:167b Broadcom 5755 网卡。这个内核扩展看起来完全没有发挥任何作用,在 /var/log 下的所有日志中都找不到任何相关记录。我已经试过分别用 Kext Helper b7 与 Kext Wizard 删除并重新安装,也重建了内核扩展缓存。我试过直接用本帖附件的 zip 包……

试试照 Astarael 所说的方法,手动加载该内核扩展,看看有没有任何加载失败的错误日志。只要内核扩展有被加载,至少一定会输出一行编译日期与时间(Build date/time)的信息。

其实之前也有人反馈过一模一样的情况。我目前仍在调查导致这个问题的原因,但很可能会碰壁。

顺带一问,你安装的是零售原版(Vanilla)还是整合版(Distro)系统?

技术笔记 #21 @Astarael 2011-04-19

我本来不想高兴得太早,但现在看起来真的完全正常了……不知何故,
这个内核扩展已经加载运行了大约 24 小时,系统变慢的情况再也没有发生过,至少到目前为止是这样。
在“控制台”搜索 BCM 后,我现在看到更多结果了。以下是我加载内核扩展以来的全部记录:

11-04-18 18:13:12	sudo[255]	astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13	kernel	BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-18 22:04:02	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 22:04:02	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 06:01:56	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 06:01:57	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 06:01:57	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 06:01:57	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 06:01:57	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 06:01:57	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 06:01:57	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:39:59	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:39:59	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:39:59	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:39:59	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:39:59	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:39:59	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:52:49	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:52:49	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:53:03	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:53:03	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:53:03	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:53:03	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:53:03	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:53:03	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1

P.S. 我平时很少用有线网络连接,但我之前测试过这个驱动程序,连接完全正常。现在我在 ifconfig 的输出结果与“系统概述”里面都能看到网络控制器,所以我想应该也没问题。总之,等我复活节放假回家后会再做一些实测。

作者修订 #15 @adlan 2011-04-19 ↳ Re: @Astarael
@Astarael我本来不想高兴得太早,但现在看起来真的完全正常了……不知何故,这个内核扩展已经加载运行了大约 24 小时,系统变慢的情况再也没有发生过,至少到目前为止是这样。在“控制台”搜索 BCM 后,我现在看到更多结果了。以下是我加载内核扩展以来的全部记录:11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ;…

这正是我想听到的好消息!

..
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
..
11-04-19 14:52:49	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1

不过看着这段日志信息,我还挺好奇底层到底发生了什么事……出现了好几次突然的电源状态切换,却没有看到任何链路状态(Link State)的通告信息。

无论如何,多谢你帮忙测试!

技术笔记 #22 @Astarael 2011-04-19

我想这些电源状态变化是因为我中间用了几次睡眠功能。所以不用担心,而且你的内核扩展完全不会破坏睡眠功能。

技术笔记 #23 @ronin510 2011-04-19

我一直在我的 Lenovo S10(配备 BCM5906)上使用你的内核扩展,到目前为止运行得非常棒!

在你的“尚未实现功能”列表中列有:
BCM5906/M - Isochronous Send Ring(等时发送环形缓冲区)

我想请问这对我们 BCM5906 用户来说实际上意味着什么?我们会因此失去任何常用功能吗?

另外,我通过有线网络传输数据时的速度约为 6MB/sec,请问其他人的速度表现如何?

作者修订 #16 @adlan 2011-04-20 ↳ Re: @Astarael
@Astarael我想这些电源状态变化是因为我中间用了几次睡眠功能。所以不用担心,而且你的内核扩展完全不会破坏睡眠功能。

让我感到好奇的是电源关闭与开启之间的时间间隔竟然这么短。
不过既然你使用上没有遇到任何问题,那我就不去深究这份好奇了。

作者修订 #17 @adlan 2011-04-20 ↳ Re: @ronin510
@ronin510我一直在我的 Lenovo S10(配备 BCM5906)上使用你的内核扩展,到目前为止运行得非常棒!在你的“尚未实现功能”列表中列有:BCM5906/M - Isochronous Send Ring(等时发送环形缓冲区)。我想请问这对我们 BCM5906 用户来说实际上意味着什么?我们会因此失去任何常用功能吗?另外,我通过有线网络传输数据时的速度约为 6MB/sec……

嘿,很高兴听到它运行良好!

等时发送环形缓冲区(Isochronous Send Ring)只是发送端的一项性能增强特性,对数据流传输(Streaming)很有帮助。不过我在研读 tg3(Linux)与 if_bge(*BSD)的源代码时,印象中并没有看到过这项功能的实现(也许是我看漏了,但我相当确定他们也没实现)。

我不太清楚其他人的传输速度是多少,因为没人发过测试数据,我也没有特别过问。不过我自己的确用过 netperf(net perf.org/netperf/)和 iperf(iperf.sourc eforge.net/)之类的工具做过基准测试。总体而言,我可以说它的性能表现与现有驱动程序旗鼓相当,差距微乎其微。如果你想看详细测试数据,我可以稍后发出来,不过我得先在硬盘深处翻找一下。

技术笔记 #24 @michalskie 2011-04-25

我有一台 Lenovo G530,

安装这个内核扩展后发生了五国死机 / 内核崩溃(Kernel Panic)。

作者修订 #18 @adlan 2011-04-26 ↳ Re: @michalskie
@michalskie我有一台 Lenovo G530,安装这个内核扩展后发生了五国死机 / 内核崩溃(Kernel Panic)。

嗨,抱歉回复晚了。

请提供以下信息:
- 你的网卡型号
- 操作系统的安装方式(零售原版 Vanilla 还是 Hazard、iATKOS 等整合版 Distro)

技术笔记 #25 @derekj0571 2011-04-30

支持 BCM57788

你的内核扩展运行得完美无瑕(到目前为止)!
我只是把 BCM57788 的硬件 ID(1691)加进去,就立刻顺畅工作了。
目前的吞吐量表现也很不错。

如果我是你的话,直接把这个 ID 加进你的发布版里面,就能一并支持这张卡了。

对了,我的系统是以零售版 DVD 安装的 OS X Server 10.6 加上 10.6.7 组合更新包(Combo Update)。

作者修订 #19 @adlan 2011-05-03 ↳ Re: @derekj0571
@derekj0571你的内核扩展运行得完美无瑕(到目前为止)!我只是把 BCM57788 的硬件 ID(1691)加进去,就立刻顺畅工作了,目前的吞吐量表现也很不错。如果我是你的话,直接把这个 ID 加进你的发布版里面,就能一并支持这张卡了。对了,我的系统是以零售版 DVD 安装的 OS X Server 10.6 加上 10.6.7 组合更新包(Combo Update)。

嗨,抱歉这么晚才回复,前阵子去度假了。

太棒了!我原本没料到这张卡也能直接用。既然工作得这么完美,我会把它加进支持型号列表中。

多谢帮忙测试!

技术笔记 #26 @ludacrisvp 2011-05-03

在 Dell PowerEdge T110(全新的 Intel Xeon 服务器)上无法工作。
这个内核扩展在 14e4:165A 上似乎可以手动加载,但不会自动加载,而且也“看不见”该硬件设备。lspci 可以识别出这张卡是 BCM5722。
由于内核扩展无法挂载到网卡上,因此完全没有网络功能。

作者修订 #20 @adlan 2011-05-04 ↳ Re: @ludacrisvp
@ludacrisvp在 Dell PowerEdge T110(全新的 Intel Xeon 服务器)上无法工作。这个内核扩展在 14e4:165A 上似乎可以手动加载,但不会自动加载,而且也“看不见”该硬件设备。lspci 可以识别出这张卡是 BCM5722。由于内核扩展无法挂载到网卡上,因此完全没有网络功能。

我假设你已经试过把 14E4,165A 加进 Info.plist 的 IONameMatch 数组中了。

尽管这个项目名称叫 BCM5722D,但我在开发时其实没有把 BCM5722 列入支持列表,也没有专门针对它做处理。我会去查阅一下编程手册,看看代码是否需要做任何修改才能支持这个型号,并尽快(大概这个周末)把测试版内核扩展发给你试试。

技术笔记 #27 @anibalin 2011-05-07

Dell Precision T7400

嗨老兄,我在这台机器上试了你的内核扩展,但它甚至完全没有被加载(放在 S/L/E 下)。
我也试过把内核扩展放进 IONetworkingFamily.kext/Contents/PlugIns 里面,但同样没用(IONetworkingFamily 本身有加载)。
系统为 10.6.7 x64。

lspci -nn 显示为:14e4:167a rev 02

恳请帮忙指点。

技术笔记 #28 @ludacrisvp 2011-05-15

我其实差一点就让它成功工作了。我必须手动设置 MAC 地址,才能让公司的企业网络通过 DHCP 分配 IP 给我。结果才刚开始加载网页就发生五国死机(KP)!报错信息提示与 IONetworking.kext 有关。如果我不去打开网页,大约可以维持 5 分钟的正常运行时间,然后同样以相同的错误发生 KP。即使我不手动指定 MAC 地址,依然会发生一模一样的 KP。这是上星期的事了,我最后被搞得不耐烦,干脆直接去买了一个 MacBook Air 专用的 Apple USB 转以太网转换器。不过等我星期一回公司后,可能会再拿板载网卡多测试几个不同的内核扩展。

技术笔记 #29 @ronin510 2011-05-15

如果论坛其他地方已经提过这件事请见谅,因为我只关注这个帖子。

自从我上次访问以来,这里好像有一些回帖和更新内容消失了。网站是不是从备份回滚过?一楼的帖子和内核扩展附件又变回旧版了。也许这就是为什么你以为自己已经上传了新版本,但网站却回滚到了先前的状态。

作者修订 #21 @adlan 2011-05-17 ↳ Re: @ronin510
@ronin510如果论坛其他地方已经提过这件事请见谅,因为我只关注这个帖子。自从我上次访问以来,这里好像有一些回帖和更新内容消失了。网站是不是从备份回滚过?一楼的帖子和内核扩展附件又变回旧版了。也许这就是为什么你以为自己已经上传了新版本,但网站却回滚到了先前的状态……

对啊,我也刚注意到这件事。有些回帖不见了,而且尽管我最近才更新过一楼主帖,内容却变回了旧版。

作者修订 #22 @adlan 2011-05-17 ↳ Re: @ludacrisvp
@ludacrisvp我其实差一点就让它成功工作了。我必须手动设置 MAC 地址,才能让公司的企业网络通过 DHCP 分配 IP 给我。结果才刚开始加载网页就发生五国死机(KP)!报错信息提示与 IONetworking.kext 有关。如果我不去打开网页,大约可以维持 5 分钟的正常运行时间,然后同样以相同的错误发生 KP。如果我不……

老实说我对你遇到的问题毫无头绪,真的很抱歉。你有试过我最新发给你的那个内核扩展吗?

另外,我刚留意到你签名档里的硬件配置,你是把它安装在 Leopard(10.5)上吗?如果不重新编译并修改 Info.plist,我不确定它能否在 Leopard 上正常工作。

技术笔记 #30 @fyooo 2011-05-17

我在我的 system.log 甚至整个 /var/log 目录下,都看不到任何关于 BCM 的记录:

bash-3.2# pwd /var/log bash-3.2# grep BCM * bash-3.2# ls /System/Library/Extensions/BCM5722D.kext/Contents/ Info.plist MacOS Resources bash-3.2#
展开其余 60 则社区技术笔记完整历史讨论记录
技术笔记 #31 @rals2007 2011-05-17

adlan

Source is synced with your latest binary release ?

作者修订 #23 @adlan 2011-05-17 ↳ Re: @rals2007
@rals2007adlan,请问公开的源代码已经跟你的最新二进制发布版同步了吗?

是的,我刚刚已经用基于最新 Commit 编译出来的版本更新了一楼的内核扩展附件。

作者修订 #24 @adlan 2011-05-17 ↳ Re: @fyooo
@fyooo我在我的 system.log 甚至整个 /var/log 目录下,都看不到任何关于 BCM 的记录。

如果内核扩展有成功加载,它至少会输出一行编译日期与时间。所以这代表该内核扩展根本没有被加载。其实我之前没机会看到你发出来的错误提示截图,你可以再发一次吗?

技术笔记 #32 @fyooo 2011-05-18 ↳ Re: @adlan
@adlanIf the kext is loaded, it should at least shows a build date/time. So that means the kext isn't loaded. Actually I didn't have the chance to see the image of error message you posted before, can you post it again?

I just tried to load this kext manually in terminal:

bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#
作者修订 #25 @adlan 2011-05-18 ↳ Re: @fyooo
@fyooo我刚才试着在终端手动加载这个内核扩展:bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#

你必须先修改内核扩展的所有者与权限,否则 kextd 会拒绝加载它:

sudo chown -R root:wheel BCM5722D.kext
sudo chmod -R 755 BCM5722D.kext
技术笔记 #33 @fyooo 2011-05-18 ↳ Re: @adlan
@adlanyou need to change the kext ownership/permissions , else kextd will not load the kext. sudo chown -R root:wheel BCM5722D.kext sudo chmod -R 755 BCM5722D.kext

Thanks, adlan
Maybe I should show my NIC information first:

14e4; Broadcom Corporation; 167a; NetXtreme BCM5754 Gigabit Ethernet PCI Express; Network controller; Ethernet controller

So now I change the permission of the kext file:

oos-iMac:Downloads oo$ ls BCM5722D.kext/
Contents
oos-iMac:Downloads oo$ sudo chown -R root:wheel BCM5722D.kext
oos-iMac:Downloads oo$ sudo chmod -R 755 BCM5722D.kext
oos-iMac:Downloads oo$ sudo kextload BCM5722D.kext

It seems nothing happen.
THe log is:

oos-iMac:Downloads oo$ grep BCM /var/log/*
/var/log/system.log:May 18 15:35:29 oos-iMac sudo[155]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/sbin/chown -R root:wheel BCM5722D.kext
/var/log/system.log:May 18 15:35:40 oos-iMac sudo[156]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/bin/chmod -R 755 BCM5722D.kext
/var/log/system.log:May 18 15:35:49 oos-iMac sudo[157]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/sbin/kextload BCM5722D.kext
oos-iMac:Downloads oo$ 

Thank you all the same:)

技术笔记 #34 @rals2007 2011-05-19

fyooo

You fix it where you installed the kexts.

chmod -R 755 /System/Library/Extensions/BCM5722D.kext
chown -R root:wheel /System/Library/Extensions/BCM5722D.kext
touch /System/Library/Extensions
技术笔记 #35 @fyooo 2011-05-19 ↳ Re: @rals2007
@rals2007fyooo You fix it where you installed the kexts. chmod -R 755 /System/Library/Extensions/BCM5722D.kext chown -R root:wheel /System/Library/Extensions/BCM5722D.kext touch /System/Library/Extensions

I'd tried to use KextHelper to install this kext, but it can not work.
I can't see any information about BCM in system.log

作者修订 #26 @adlan 2011-05-19 ↳ Re: @fyooo
@fyooo我试过用 KextHelper 来安装这个内核扩展,但依然无法工作。我在 system.log 里面看不到任何关于 BCM 的信息。

试试用 kextutil 开启高详细度(Verbosity)模式来加载它,并把输出结果发到这里:

sudo kextutil -v 4 BCM5722D.kext
技术笔记 #36 @fyooo 2011-05-19 ↳ Re: @adlan
@adlantry loading it using kextutil with high verbosity level and put its output here sudo kextutil -v 4 BCM5722D.kext

Thanks, that's what it shows:

oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f8076f000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f8076f000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).

After that, I checked the system.log file:

oos-iMac:Downloads oo$ grep BCM /var/log/system.log 
May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext
oos-iMac:Downloads oo$ 

It seems to be success, but I still can't connect to internet.

作者修订 #27 @adlan 2011-05-19 ↳ Re: @fyooo
@fyooo多谢,它显示的结果如下:... 之后我检查了 system.log 文件:oos-iMac:Downloads oo$ grep BCM /var/log/system.log May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext oos-iMac:Downloads oo$ 看起来似乎成功了,但我依然无法……

你找错文件了,内核扩展的日志记录会写在 kernel.log 里面。
另外,你可以发一下加载内核扩展之后执行 ifconfig 的输出结果吗?

技术笔记 #37 @fyooo 2011-05-20 ↳ Re: @adlan
@adlanyou searched in the wrong file, the log entry will be in kernel.log can you also post here the output of ifconfig after the kext is loaded?

adlan, thanks:)

Once again

oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f807a5000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f807a5000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).

And nothing found in kernel.log:

oos-iMac:Downloads oo$ grep BCM /var/log/kernel.log 
oos-iMac:Downloads oo$ sudo ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
oos-iMac:Downloads oo$ 
技术笔记 #38 @VIVXIX 2011-05-21

I use bcm5706,and thanks for your driver,but IPv6 proxy.

I always need to use IPv6 proxy for connecting to internet.
However,I find the driver may has some problem of IPv6 proxy,
which is that the connection of IPv6 proxy becomes disconnected sooner or later.
I can figure out it is not cause by the proxy.
But I found a temper solution that ifconfig the en0 down and up.

技术笔记 #39 @FredWst 2011-05-21 ↳ Re: @fyooo
@fyoooadlan, thanks:) Once again oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext Password: Kext library architecture set to x86_64. Kext library recording diagnostics for: validation authentication dependencies warnings. BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries). Loading BCM5722D.kext.…

Hi i was having the same trouble with BCM 5754 on dell optiplex 745. 10.6.7 retail install

lspci -nn result:
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02)

I fixe this changing in info.plist of kext this line:
pci14e4,167A -> pci14e4,167a

Deep sleep working

it made some weeks i search, now both i386 and x86_64 working fine.

Fred

作者修订 #28 @adlan 2011-05-22 ↳ Re: @FredWst
@FredWst嗨,我在 Dell OptiPlex 745(10.6.7 零售原版安装)上的 BCM5754 也遇到了同样的问题。lspci -nn 输出结果为:03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02) 我通过修改内核扩展 Info.plist 中的这一行解决了问题:pci14e4,167A -> pci14e4,167a,现在连深度睡眠(Deep Sleep)也正常工作……

嘿,太感谢你了!

我之前真的完全搞不懂是什么原因导致那个问题,现在终于被你揪出罪魁祸首了。
这完全是我的疏忽,我彻底漏掉了大小写的区别;老实说,第一眼看到时我根本没想到这会造成问题……

以下是我个人的观察,如有错误请指正:

……结果还真的是这个原因!我翻查了 XNU 内核源代码,手动追踪了内核扩展加载过程的函数调用。在设备匹配(Matching)过程中,IONameMatch 数组中的数值是通过 strncmp 函数进行比对的。由于这个字符串比对函数会区分大小写(Case-sensitive),因此比对 14e4,167a 与 14e4,167A 会返回失败结果,导致设备匹配失败。

如果手动强制加载,该内核扩展虽然会加载进内存,但因为设备匹配失败而不会触发初始化流程,所以它就只是呆在那里什么都不做。

再次万分感谢 FredWst!

技术笔记 #40 @FredWst 2011-05-22

I've installed Lion on my optiplex 745.

BCM5722 is also working for my BCM 5754.

Fred

Ps: ATI 4350 is also working without green apple and qe/ci enable.

作者修订 #29 @adlan 2011-05-22 ↳ Re: @VIVXIX
@VIVXIX我平时上网都必须使用 IPv6 代理服务器(Proxy)。不过我发现这个驱动程序在处理 IPv6 代理时似乎有点问题:IPv6 代理连接过一段时间后迟早会断线。我可以确定这不是代理服务器本身的问题,而且我找到了一个临时的解决方法,就是对 en0 执行 ifconfig down 再 up。

它在 5706 上也能工作吗?太棒了!不过出现小问题也是预料之中的。

等我有空时会去研究一下。另外,我也希望如果条件允许的话,其他开发者能一起参与贡献,加入对更多型号的支持。不过鉴于目前项目的文档还很匮乏,我也不敢抱太大期望。

无论如何,多谢你帮忙测试!

技术笔记 #41 @VIVXIX 2011-05-22 ↳ Re: @adlan
@adlanit works on 5706 too? great! problem is expected, though. I'll look at it when I have time. However, I do hope others to contribute to add support for other model if possible. But, since project documentation is currently sparse, I'm not expecting any anyway, thank you for testing!

I am sorry, I make a mistake.It 's bcm5906.,not BCM5706.
:'(:'(:'(:'(:'(

技术笔记 #42 @fyooo 2011-05-23 ↳ Re: @adlan
@adlanI really have no idea what's causing that problem and now you found the culprit. my bad, I totally missed that and to be honest, at first look I wouldn't have thought that would cause a problem.. my observation, I may be wrong. .. and indeed it is. I've gone through the xnu source code and manually tracing function calls for the kext…

adlan&FredWst
It works!

技术笔记 #43 @VIVXIX 2011-05-24 ↳ Re: @fyooo

The new version works well for BCM5906M in sl 10.6.7

@fyoooadlan&FredWst It works!

Thanks .I think the IPv6 proxy problem posted before just disappear.
The ifconfig en0 down and ifconfig en0 up commons dos't need anymore.

作者修订 #30 @adlan 2011-05-24 ↳ Re: @FredWst
@FredWst已经在我的 OptiPlex 745 上安装了 Lion,BCM5722D 驱动程序在我的 BCM5754 上依然工作正常。Fred。P.S.:ATI 4350 显卡也能正常工作,没有出现绿苹果画面,而且成功开启了 QE/CI。

太棒了!

@VIVXIX不好意思,我搞错型号了,我的卡是 BCM5906,不是 BCM5706。:'(:'(:'(:'(:'(

^_^,没关系啦老兄。

@fyoooadlan & FredWst,成功工作了!
@VIVXIX多谢!我之前反馈的那个 IPv6 代理断线问题现在好像直接消失了,再也不需要执行 ifconfig en0 down 和 ifconfig en0 up 命令了。

很高兴听到这个好消息!

技术笔记 #44 @cephalopod 2011-05-27

Broadcom NetXtreme 5761

Hi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed!

I just have to sort out the blank MAC address and give it some proper testing.

技术笔记 #45 @cephalopod 2011-06-02 ↳ Re: @cephalopod
@cephalopodHi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed! I just have to sort out the blank MAC address and give it…

Oddly, on reboot with a link the MAC address is identified but the speed isn't negotiated properly... on first attempt to do anything with the interface/driver it drops the connection permanently, preventing reconfiguration; only resuming use after another reboot. Any ideas Adlan please?

作者修订 #31 @adlan 2011-06-02 ↳ Re: @cephalopod
@cephalopod嗨 Adlan……多谢你开发这个项目。我之前为了让手头上这张卡(设备 ID 1681)正常工作,一直在苦苦用十六进制编辑器硬改原版 5701 内核扩展。我抱着姑且一试的心态试了你的内核扩展,只在 Info.plist 加了一行配置,系统就立刻识别出来了——真的令我大开眼界!现在我只需要解决空白 MAC 地址的问题并给它……
@cephalopod奇怪的是,插着网线重启后,MAC 地址虽然能正常识别出来,但连接速率却无法正常自动协商(Auto-negotiate)……只要第一次尝试对该网络接口或驱动程序进行任何操作,连接就会永久中断,且无法重新配置;必须再次重启才能恢复使用。Adlan 请问你有任何头绪吗?

抱歉这么晚才回复,这几天实在太忙了。

我刚去查阅了 Linux 与 *BSD 的驱动程序源代码,发现针对这个型号似乎有一些修复补丁、额外的初始化步骤以及不同的寄存器数值。也许问题就出在这里,我会试着把这些改动整合进去,并在这周末把测试版内核扩展发给你试试。

多谢帮忙测试!

技术笔记 #46 @ifumi 2011-06-04

work flawlesly with 5754 on Dell optiplex 745

thank's adlan, you rock..

thank god to show me the page 7 & 8 now time to work with GMA3000, hope work soon.

many thank's adlan.

技术笔记 #47 @tc2468 2011-06-09 ↳ Re: @scritchy
@scritchyI have device 14e4:167b Broadcomm 5755 onboard nic on an hp xw6600 machine. The kext appears to fail to do anything at all. There is no mention of it in any of the logs in var/log i've tried deleting and reinstalling the kext with both kext helper b7 and kext wizard, and rebuilding kext cache. I've tried using the zip file attachee to…

Try this one, it works for my HP xw4400 works with the onboard broadcom 167b. I've tried it with 10.6.2 - 10.6.7

技术笔记 #48 @fiatitude 2011-06-17

Dell Optiplex 330

Thanks for your driver. Able to install and detect BCM5787 but DHCP wasn't able to grab a valid IP keep geting 169.x.x.x. Even static IP i was not able to connect to Internet.

Any idea what went wrong?

技术笔记 #49 @cephalopod 2011-06-22 ↳ Re: @adlan
@adlansorry for the lateness, been quite busy for the last few days. anyway I checked the linux and *bsd driver, it seems that, there are some fixes/additional initialization steps/different register value for that model. maybe it has something to do with that, I'll try to include those changes and send you the kext to test this weekend.…

Thanks adlan... appreciate life is hectic - keen to test when you're ready.

技术笔记 #50 @zoso 2011-06-27

Thanks for all the hard work on this one ceph.

Successful install with a BCM5755M on a Dell Precision M4300.

技术笔记 #51 @Astarael 2011-07-15

I've got one more thing to test for those, who have problem with loading the kext. I've been recently helping with os x installation on lenovo y530 (or sth like that) and installing the kext was not enough to make BCM5906M ethernet card work. Adding Device (LAN) in DSDT solved the problem (there was no ethernet device at all) and ethernet works fine.

技术笔记 #52 @ce_infmac 2011-07-25

BCM57781 - 14e4:16b1

tried it on Lion with a BCM57781 (14e4:16b1).
Changed the info.plist - driver loads - ifconfig shows en0, link speed is fine, but no packets are sent or received.
Any idea?

Thanks,
Christian

技术笔记 #53 @UserOSX 2011-07-28

Onboard Broadcom® 5754 Gigabit Ethernet LAN solution 10/100/1000 Ethernet (Dell Optiplex 745 desktop PC) works fine (as of now) on H@ckint0sh OS X Lion 10.7 with your BCM5722D.kext.zip

ethernet:

Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x14e4
Device ID: 0x167a
Subsystem Vendor ID: 0x1028
Subsystem ID: 0x01da
Revision ID: 0x0002
Link Width: x1
BSD name: en1
Kext name: BCM5722D.kext
Location: /System/Library/Extensions/BCM5722D.kext
Version: 1

Indeed the problem with your earlier revision lied in the upper case alphabetical characters in device ID string. They needed to be lower case.

Thanks a million times for your time and effort.

技术笔记 #54 @ludacrisvp 2011-07-28

Hey, we used Xcode to compile the kext again using your latest sources. The best we can get now is 100BaseTX Full-Duplex. Using the kext from May it loaded up as half duplex 100BaseTX. It does seem to drop out the connection after a few hours and requires the kext to be unloaded and reloaded. This is on a Dell poweredge T110.

Any ideas on getting 1000BaseT Full duplex working?
I tried forcing the setting but it will either show cable unplugged or it does a self assigned IP and manually setting it does nothing. Now on a side note it doesn't need the MAC address manually set anymore, it is able to pick it up from the hardware.

Another side note... Do you know of any working pci-e GigE LAN cards that will work in osx? As work will buy the card that will work for the machine.

技术笔记 #55 @majamudo 2011-08-09

BCM57781 - 14e4,16b1

after having no solution for my onboard nic i decided to give it a try and changed/added my device id to info.plist, like some other here as well .

The result is as follow:

en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 00:25:22:bc:b8:9b 
	media: <unknown type>

Do you think there is any chance to get this working somehow?

Any help is much appreciated. Many thanks
M

技术笔记 #56 @majamudo 2011-08-09

BCM57781 - 14e4,16b1

after some more testing I now get following:

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 00:25:22:bc:b8:9b 
	inet6 fe80::225:22ff:febc:b89b%en1 prefixlen 64 scopeid 0x5 
	inet 169.254.217.110 netmask 0xffff0000 broadcast 169.254.255.255
	media: autoselect (1000baseT <half-duplex>)
	status: active

of course...it still doesn't work. but why is it different now?

M

技术笔记 #57 @PinInCalgary 2011-08-16

Works for Dell Gx745 with BCOM 5754

Thank you! Works on my Dell Gx745 SFF with a BCOM 5754

Vendor Id: 0x14e4
Device Id: 0x167a
Subsystem Vendor Id: 0x1028
Revision Id: 0x0002
Link Width: x1

技术笔记 #58 @aaronson 2011-08-17

DELL Optiplex GX620 - BCM5751, Device ID 0x1677

I inserted the 1677 to the kext plist. The driver loads, assigns the correct MAC address, but does not transmit and recieve.

Is there anything else I should do?

技术笔记 #59 @antikus 2011-08-21

Adlan,

Would it be possible to add support for BCM5723? I added the device id (165b) to plist. The kext gets loaded, but when I try to use it I get

serviceRxInterrupt:1036): replaceOrCopyPacket returns 0
and a bunch of messages like
outputPacket:568: 1514 -> 2 segments, 1 free, consumer index: 59

技术笔记 #60 @m4f1050 2011-08-25

OS X 10.6.8 and Broadcom 5754 (14e4-167a) working 100%

Congratulations! Great job!

Works perfect!

Off topic: I am using a DELL 390 (with this nic and a Quadro NVS 285 do you happen to have any info/link for Quadro NVS 285? It's all I need for a smoothly running hackintosh with DELL 390 and OS X 10.6.8 (upgraded from iATKOS S3 v2 using 10.6.8 Combo Update 1.1)

技术笔记 #61 @reysillo 2011-09-12

Latest KEXT

I am very interested in getting the latest kext of BCM5722D, but I have no idea, how compile or make your GIT repository code, you can give me a hand?

thanks for that wonderful work

技术笔记 #62 @niclo43 2011-09-23

my lan detected,, but no internet connection or cannot ping to another pc on net,,

i am add in Info.plist

--------
<string>pci14e4.16b5</string>
---------

it's detect my lan,, but cannot get connection,,

技术笔记 #63 @danybr 2011-10-09

I've tried this on my Acer Aspire 2920.

It works!

After 2 weeks I was looking for suitable driver, now works!

Thank you. I love you!

技术笔记 #64 @onelife 2011-10-24

Sleep not working?

Only unload&load kext after sleep to get it work again?

技术笔记 #65 @ocw-inf 2011-11-23

Broadcom Netlink (TM) Gigabit Ethernet / Lion 10.7.2

Driver works on
- Packard Bell LJ65
- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M

Lion 10.7.2
- Iatkos L2

技术笔记 #66 @waldrondigital 2011-11-29

Thanks

Dell Precision 390 owner! Happy as can be. Your kext is the only one that works 100%! Thank you x 1000000

技术笔记 #67 @nveronesi 2012-01-13

I confirm my Ethernet Broadcom 5784M on on my Acer Aspire 5738G Dual core is working as well!

- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M

Lion 10.7.2
- Iatkos L2

I'm happy! Great job, man! Thanks! ) )

技术笔记 #68 @waldrondigital 2012-01-16

Gigabit Speeds

Is there any progress on getting this Kext to operate at gigabit speeds... the best I can get is 100baseTX.

It was my cable... the driver works fine at gigabit.

技术笔记 #69 @privateprotected 2012-01-22

ing great.

Before I say something to you,
did someone say that you are damn good developer who
developer these drivers.. If no one haven't done that then I would
love to say that you ARE ----IING good… Please excuse my language.

This damn thing took me 4 days to find these drivers and after doing
what you have said in this thread, it worked like a CHARM…

I do appreciate from the bottom of my heart that you developed and shared
this with other users. I mean it.

Though I am also a software developer and mostly develop applications
in Microsoft technologies i.e. .Net etc and was keen to start
some software development for iPhone, I just couldn't get the drivers of this damn
LAN.

You are a saviour, once again thank you very much for developing and
sharing this with us… THanks.

技术笔记 #70 @cparm 2012-01-26 ↳ Re: @adlan

Thx adlan,

works great on my lenovo S20 at works

@adlanDisclaimer This driver is neither supported nor endorsed by Broadcom. Zombies may invade your house and I take no responsibility for whatever happens. Use at your own risk

lol, don't worry i've got some plants for these Zombies

技术笔记 #71 @h224nh 2012-02-25

Thanks adlan for the great driver.
I get stuck with Broadcom BCM5786 [14e4:169a]
I am not sure what should be edited in your source code, could you please show me how to do it ?
Thank.

Updated:
Luckily, I added [14e4:169a] definition to plist, recompile and install IONetworkingFamily.kext of my friend, and now everything works like charm.

技术笔记 #72 @silicman 2012-03-11

Just want to say thank, adlan, love you!

Your driver work for my Ethernet card, the Broadcom 5752, which on the old guy DELL 490 with some minor fix.

I did 2 minor fix on your kext to support Broadcom 5752:

1. infor.plist. I replace <string>pci14e4,167A</string> with <string>pci14e4,1600</string>
2. BCM5722D. I hex this file, looking for "7A 16" then replace all with "00 16". (flip word anyway).

Finally, I put them inside IONetworking kext which replace the original one. Reinstall this kext. Re-build cache. Re boot. Viola!

No kernal panic, MAC address just there, DHCP ok, even though I haven't plug in network yet.

Which OS I run huh? iAtKos L2 (Lion 10.7.2).

Thank you so much, adlan.

技术笔记 #73 @mikegoh 2012-03-29

Work like charm for acer aspire 2920. The next i have been looking for..

技术笔记 #74 @chefk0k 2012-04-07

Thanks a lot for you work on making this driver.

I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M)
Is there any way to modify this kext for it to work on the non-M version?
I'm on OSX 10.6.8. (AMD)

技术笔记 #75 @Unrealized 2012-04-13 ↳ Re: @chefk0k
@chefk0kThanks a lot for you work on making this driver. I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M) Is there any way to modify this kext for it to work on the non-M version? I'm on OSX 10.6.8. (AMD)

Modifying the .plist is your best bet

技术笔记 #76 @squinn66 2012-05-15

Hardware:
Dell PowerEdge T110
2.39 Quad Core Intel Xeon
4GB 1333 DDR3
Nvidia GeForce 7300GT
OS: OS X Lion 10.7

I have a Broadcom Nextreme Gigabit network controller and i tried putting in the BCM5722D.kext using Kextdrop but the internet will not work. I look under the Network setting and none appear. Any suggestions. Thanks for your help. Any more information needed let me know.

技术笔记 #77 @lilbiscuit 2012-06-04

Works for Dell Precision T5400 w/Broadcom 5754

Used kextWizard 3.7.10 and installed and rebooted in 1 min.

At first glance, worked perfectly. DHCP, mac address, until…

UPDATE: Networking stops working after awaking from sleep, as others have said. I didn't see that resolved in the thread...did I miss something?

OSX Lion 10.7.4
Dell Precision T5400
(2) Intel X5450 XEON Quad Core CPUs
4 GM RAM
Broadcom 5754
M-Audio Revolution 7.1 (work in progress)
nvidia Quadro FX 4600 (work in progress)

技术笔记 #78 @symbiote187 2012-07-15

Thank you very much for your hard work in developing this driver!

I have a small problem though, I have a BCM5755 and everything works but the driver crashes after copying lots of data over the LAN (roughly 100GB or 60k packets). Unloading the driver and reloading does not fix it and I have to reboot to get networking back.

Any ideas why this is happening and anything I can try to get it fixed?

Lion 10.7.4
HP xw6600
BCM5755 onboard

技术笔记 #79 @righteye 2012-08-05

Downloaded the source code and made some slight changes + added the BCM5784M 0x1698 device, compiled for ML ...
Still have 6 Semantic Issues and 5 Logic errors in the code but the compilation went fine. It works but after some intense usage, as symbiote187 pointed out, it stops working and the only solution is to reboot.
I am not a coder so ... but i really appreciate your involvement on this and i Thank You!

技术笔记 #80 @ghostanime2001 2012-08-21

I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.

技术笔记 #81 @righteye 2012-08-23 ↳ Re: @ghostanime2001
@ghostanime2001I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.

Try this one osx 86.net/downloads.php?do=file&id=3074 if you are using ML

文献来源与贡献者溯源名录(共 61 位具名成员 · 原始讨论串 #6946)
成员用户名本卷贡献角色发帖数活跃时间窗
@adlan主笔作者362011-02-12 → 2011-06-02
@fyooo核心贡献者72011-05-17 → 2011-05-23
@Astarael核心贡献者62011-04-06 → 2011-07-15
@rals2007核心贡献者42011-03-14 → 2011-05-19
@ludacrisvp核心贡献者32011-05-03 → 2011-07-28
@VIVXIX核心贡献者32011-05-21 → 2011-05-24
@cephalopod核心贡献者32011-05-27 → 2011-06-22
@quinielascom协作成员22011-02-16 → 2011-03-20
@Dabluest协作成员22011-03-04 → 2011-03-07
@abiogenesis协作成员22011-03-13 → 2011-03-17
@tmacyunn协作成员22011-03-25
@ronin510协作成员22011-04-19 → 2011-05-15
@FredWst协作成员22011-05-21 → 2011-05-22
@majamudo协作成员22011-08-09
@waldrondigital协作成员22011-11-29 → 2012-01-16
@righteye协作成员22012-08-05 → 2012-08-23
@chinasky协作成员12011-02-15
@pat98usb协作成员12011-02-16
@limiter121协作成员12011-02-27
@adminio协作成员12011-03-01
@webwolf协作成员12011-03-05
@Medienmensch协作成员12011-03-18
@volgin7协作成员12011-03-20
@parlae协作成员12011-03-20
@Domenic211协作成员12011-04-15
@scritchy协作成员12011-04-18
@michalskie协作成员12011-04-25
@derekj0571协作成员12011-04-30
@anibalin协作成员12011-05-07
@toja协作成员12011-05-20
@ifumi协作成员12011-06-04
@tc2468协作成员12011-06-09
@fiatitude协作成员12011-06-17
@jpt1105协作成员12011-06-17
@zoso协作成员12011-06-27
@ce_infmac协作成员12011-07-25
@UserOSX协作成员12011-07-28
@analot协作成员12011-07-28
@PinInCalgary协作成员12011-08-16
@aaronson协作成员12011-08-17
@antikus协作成员12011-08-21
@m4f1050协作成员12011-08-25
@reysillo协作成员12011-09-12
@niclo43协作成员12011-09-23
@danybr协作成员12011-10-09
@jahsmurf协作成员12011-10-17
@onelife协作成员12011-10-24
@ocw-inf协作成员12011-11-23
@nveronesi协作成员12012-01-13
@privateprotected协作成员12012-01-22
@cparm协作成员12012-01-26
@h224nh协作成员12012-02-25
@silicman协作成员12012-03-11
@mikegoh协作成员12012-03-29
@chefk0k协作成员12012-04-07
@Unrealized协作成员12012-04-13
@squinn66协作成员12012-05-15
@lilcheshirecat协作成员12012-05-21
@lilbiscuit协作成员12012-06-04
@symbiote187协作成员12012-07-15
@ghostanime2001协作成员12012-08-21

选择语言 · Choose your language