InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #71  
Old 05-20-2011, 01:23 AM
toja toja is offline
Cheetah
 
Join Date: May 2011
Posts: 1
can is version wake on lan?
Reply With Quote
  #72  
Old 05-20-2011, 02:33 AM
fyooo fyooo is offline
Cheetah
 
Join Date: May 2011
Posts: 7
Quote:
Originally Posted by adlan View Post
you 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?

thanks
adlan, thanks

Once again
Code:
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:
Code:
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$
Reply With Quote
  #73  
Old 05-21-2011, 10:10 AM
VIVXIX VIVXIX is offline
Cheetah
 
Join Date: May 2011
Posts: 3
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.
Reply With Quote
  #74  
Old 05-21-2011, 05:09 PM
FredWst FredWst is offline
Cheetah
 
Join Date: May 2011
Posts: 2
Quote:
Originally Posted by fyooo View Post
adlan, thanks

Once again
Code:
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:
Code:
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$
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

Last edited by FredWst; 05-21-2011 at 08:55 PM.
Reply With Quote
  #75  
Old 05-22-2011, 07:24 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by FredWst View Post
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
hey, thanks!

I 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 loading process. In the matching process, the values in IONameMatch array is compared using strncmp() function. This string comparison function is case-sensitive, so comparing 14e4,167a and 14e4,167A will yield false result and thus the matching process will fail.

The kext will load if it's load manually but it will sits there doing nothing since the matching process has failed thus no initialization process is initiated.

thanks a million again FredWst!

Last edited by adlan; 05-22-2011 at 11:20 AM.
Reply With Quote
  #76  
Old 05-22-2011, 07:25 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by toja View Post
can is version wake on lan?
still on TODO list
Reply With Quote
  #77  
Old 05-22-2011, 11:32 AM
FredWst FredWst is offline
Cheetah
 
Join Date: May 2011
Posts: 2
Hello,

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.
Reply With Quote
  #78  
Old 05-22-2011, 11:47 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by VIVXIX View Post
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.
it 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!
Reply With Quote
  #79  
Old 05-22-2011, 01:55 PM
VIVXIX VIVXIX is offline
Cheetah
 
Join Date: May 2011
Posts: 3
Quote:
Originally Posted by adlan View Post
it 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.
Reply With Quote
  #80  
Old 05-23-2011, 04:31 AM
fyooo fyooo is offline
Cheetah
 
Join Date: May 2011
Posts: 7
Quote:
Originally Posted by adlan View Post
hey, thanks!

I 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 loading process. In the matching process, the values in IONameMatch array is compared using strncmp() function. This string comparison function is case-sensitive, so comparing 14e4,167a and 14e4,167A will yield false result and thus the matching process will fail.

The kext will load if it's load manually but it will sits there doing nothing since the matching process has failed thus no initialization process is initiated.

thanks a million again FredWst!
adlan&FredWst
It works!
Thank you so much!



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply