Help - Search - Members - Calendar
Full Version: Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61
f41qu3
QUOTE(pere @ May 2 2008, 07:27 PM) *
Iwi 3945 rel 930

I have manage to start the card without the rx on timeout changing iosleep here:

if ( pmPCICapPtr )
{
fPCIDevice->saveDeviceState();
fPCIDevice->configWrite16( kPCIPMCSR, 0x8000 );
IOSleep(100); // wait for internal reset completion
fPCIDevice->restoreDeviceState();

Before was 10.
But now i dont see on my log what i saw in the last 3 versions.... sad.gif

Nordix, try it and post log. So we can compare if the hack is correct. smile.gif



load with kext without problems, scan work fine and system boot ok.

wifi port is detected as wired port. as a air port fail too.
nordix
f41qu3, post your log here, please
jalavoui
hacked wifipower as pere's

iwi3945 rel 938

nordix after you test this
try to change
IOSleep(4000);//hack
to
//IOSleep(4000);//hack


always post system.log
if you get timeout errors try to reboot or use the wireless switch to power off/on


i have some hacks to try for iwi4965 but need to see logs for last release
f41qu3
sure... (anexed)

from system profiler/extensions:

iwi3945:

Version: 1.0.0d1
Last Modified: 5/2/08 7:22 PM
Get Info String: Copyright Joel Thomas 2005
Location: /System/Library/Extensions/iwi3945.kext
kext Version: 1.0.0d1
Load Address: 0x2125e000
Valid: Yes
Authentic: Yes
Dependencies: Satisfied
Integrity: Unknown
greyMD
someone post all needed kexts for i3945...

try to test when be at the notebook

thanks
jalavoui
you're very slow today

iwi3945 rel 939
iwi4965 rel 940
myself108
here is log for 4965 r940
gave two kernel panic before attaining this log

edit: 4965r940 kext attached
rulli
4965 rel 940 (there are 3 reboots in it) sorry
Always freezes/KP
Click to view attachment
nordix
iwi3945 rel 938

With iosleep(4000) -> norm

w/o iosleep -> first time norm, switching on/off gives nothing, then reboot with WiFi switched off -> KP (twice)

Then switch on, reboot -> freeze, then ok
austinsnyc
here you go as fast as I could logs from the latest release!

Also here is the Kext use Kexthelper to load it and POST YOUR LOGS!!!! LETS ALL WORK TOGETHER!!
nordix
iwi3945 rel 939

5 reboots. 2 KP's, but only when I use normal reboot, without -v
minibrout2
Hello,

Sorry for my bad english !

I want to test this driver but i have some problem with compilation.

I have a one critical error.



thanks
myself108
QUOTE(minibrout2 @ May 3 2008, 11:44 AM) *
Hello,

Sorry for my bad english !

I want to test this driver but i have some problem with compilation.

I have a one critical error.



thanks


when you get this error it just doesn't run the install script, but it still builds the kext, you can just load it manually using kextload or install it using kexthelper
minibrout2
thanks you !
jalavoui
some hacks

iwi3945 rel 941 - need fixes for timeouts
iwi4965 rel 942
myself108
4965 log for rel942
nordix
iwi3945 rel 941 -> KP's, norm reboot only in safe mode

jalavoui, what exactly should be done to fix timeouts?
jalavoui
new auth test

iwi3945
don't know howto fix timeouts
i'll keep this project updated with the changes i'm doing in 4965
but there's no point in posting logs unless someone fix this bug

iwi4965 rel 944

944 is mising code
fixed
iwi4965 rel 945
need logs for this
bond6
I'm wondering what's this doing in compatibility.cpp:472

int request_firmware(const struct firmware ** firmware_p, const char * name, struct device * device){
struct firmware *firmware;
*firmware_p = firmware =(struct firmware*) IOMalloc(sizeof(struct firmware));

firmware->data = (u8*)ipw3945_ucode_raw;
firmware->size = sizeof(ipw3945_ucode_raw); //149652;//crappy

//load the file "name" in
return 0;
}

Edit: Nevermind
adamisnt
iwi4965 rel 944

It scans, then I can't tell what. No association info that I could find.
nordix
iwi3945 rel 943 -> 2 reboots, lots of errors
myself108
log for 4965 rel945
gives no kp
get iwl4965_mac_config_interface enter: interface id 306163744
adamisnt
iwi4965 rel 945

Lots of these:
May 3 13:01:37 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.

Get this near the beginning:

May 3 13:00:09 adam-notebook kernel[0]: error iwl4965: Error sending REPLY_RXON: Already sending a host command
May 3 13:00:09 adam-notebook kernel[0]: error iwl4965: Error setting new configuration (-16).


Like myself108, don't see any station being added.


jalavoui
pci stuff

iwi4965 rel 947
adamisnt
iwi4965 rel 947

Got less errors, but no stations added or association.


jalavoui
this should start the assoc

iwi4965 rel 948
adamisnt
iwi4965 rel 948

Still getting the BAD CRC or FIFO errors. Do I need to worry about those?

I see a reference to ADD_STA PASSED, but nothing else showing what or which station id was added.
Didn't see any association.

I will try to reboot, and if I get different result, I will post them.


myself108
log for 4965 rel 948

seems to be adding to stations list
x4hu
Installed Leo on my lappie, could one of you keep posting last .kext for 4965 pls ? (not enough free place to install xcode sad.gif)
jalavoui
post the full system.log
the driver is doing lots of things
if you send me short files i can't understand

here's the bug
iwl4965: U iwl4965_mac_config_interface leave
May 3 15:16:51 erics-mac-pro kernel[0]: scan_complete stabssid=00:1c:f0:40:1c:22
May 3 15:16:51 erics-mac-pro kernel[0]: ieee80211_sta_req_scan
quite easy to hack smile.gif

not shure how it will work...

iwi4965 rel 950
adamisnt
QUOTE(myself108 @ May 3 2008, 09:21 PM) *
log for 4965 rel 948

seems to be adding to stations list


Your log looks a better than mine... wonder why
x4hu
thank you myself108 tongue.gif
adamisnt
QUOTE(jalavoui @ May 3 2008, 09:27 PM) *
post the full system.log
the driver is doing lots of things
if you send me short files i can't understand


iwi4965 rel 948

Full system log


myself108
sorry about the short logs... at the end of the log the driver stops showing anymore lineshere is a full log with reboot
x4hu
My logs for iwi4965 948
myself108
log for 4965 r950
and kext

x4hu
Mines for iwi4965 rev 950
(ty for postings kexts sleep.gif )
Doctadre
Hello all, I used to test the kext when mlazy had posted the kexts. Now Im trying to figger out for the life of me, how to compile my own kexts. Ive downloaded xcode, and now with devoids and pere's guide, Im at loss to find out which files I need to compile the kexts, how to download the entire file trunk. Guess Im just a dumb noob. Im no stranger to code (c++/java under my belt) Anyone down for helpin me out?
pere
Have come back right now, readed all the last posts, im going to try this for the 3945 timeouts:
tip to try:
ret = HOST_COMPLETE_TIMEOUT/10;
while(test_bit(STATUS_HCMD_ACTIVE, &priv->status)) {
IOSleep(10);

Will post a log in 10 minutes.
Hope there is luck. smile.gif
x4hu
QUOTE(Doctadre @ May 3 2008, 06:09 PM) *
Hello all, I used to test the kext when mlazy had posted the kexts. Now Im trying to figger out for the life of me, how to compile my own kexts. Ive downloaded xcode, and now with devoids and pere's guide, Im at loss to find out which files I need to compile the kexts, how to download the entire file trunk. Guess Im just a dumb noob. Im no stranger to code (c++/java under my belt) Anyone down for helpin me out?


If you're under W!ndows, here's some way to download the full thing and keep it up to date (After you'll have to build it under OSX with xcode) :
Take TortoiseSVN... u can get it here then install it.
Now just make a new folder on desktop i.e. and make a right click on it to select "SVN Checkout" then add your iwi* card adress and click OK.
You can find the adress of your 3945 / 4965 on the devoid tuto.
To check new version: just right click on your folder and do "SVN Update" that will download and replace modified files...
dab77
iwi3945 , r. 948

KPs as soon as i load it.
compiled with xcode (my first time, so possibly my foult?)
jalavoui
i think this hack need some hacks

iwi4965 rel 952
myself108
QUOTE(Doctadre @ May 3 2008, 04:09 PM) *
Hello all, I used to test the kext when mlazy had posted the kexts. Now Im trying to figger out for the life of me, how to compile my own kexts. Ive downloaded xcode, and now with devoids and pere's guide, Im at loss to find out which files I need to compile the kexts, how to download the entire file trunk. Guess Im just a dumb noob. Im no stranger to code (c++/java under my belt) Anyone down for helpin me out?


open the xcode project file *.xcodeproj then press the build button on the toolbar... it will place the built kext in /your working directory/build/debug/
Lofn
iwi4965 rel 952

kext attached
logs in a couple minutes

edit:
system becomes unresponsive immediately after loading
first three reboots unsuccessful (hangs at login), no kp message
fourth reboot ok, no kp, log coming soon

compressed log file attached
myself108
here is a log for 4965 r952

tried three times got kp every time... third reboot was -x boot

edit: the last line that shows in console before kernel panic is
iwl4965: U iwl4965_mac_tx leave
x4hu
same as myself108 KP on boot.

edit:
Hmm i have quite the same logs with you myself108 until that iwl4965: U iwl4965_mac_tx leave line..
I have some more lines after just before KP oO
pere
iwi 3945 ucode bug and timeouts.
Couldnt make it work with the suggested hack.
Searched on internet and this bug has been a pain in the a** for a lot of linux users using hardy release.
I have find someone has release a fix for the ucode errors on 3945, but i dont know how to reach this info:

The upstream bug report mentions the following commits as possibly fixing this bug report:

commit 5c0eef960bdb87a53ba390aab7b069b2bc8d7f6d
tree 7c219792536fc1bfcbdf35ae2741a0621f3ccdea
parent 7878a5a4fcc5002e805c054730c4c5639c9d071d
author Mohamed Abbas Thu, 29 Nov 2007 11:10:14 +0800
committer David S. Miller Mon, 28 Jan 2008 15:05:36 -0800

iwlwifi: fix ucode assertion for RX queue overrun

commit d68ab68066805fdfee1f5f29ec2ec0179fd92fe1
tree 6f457e23a5b44d759050e0039a68c9f8ce66ff18
parent c342a1b91f6ccd317c68defd3b4c7bb75397d967
author Mohamed Abbas Thu, 07 Feb 2008 13:16:33 -0800
committer John W. Linville Fri, 15 Feb 2008 13:44:18
-0500

iwlwifi: earlier rx allocation


The link from the main thread is here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/185470.

Also get this info:

They're currently working on packaging an updated driver which has a real fix for this problem and it will be available through the linux-backports-modules package. The Network Manager fix is strictly a workaround for the driver because the driver doesn't support SCAN_CAPA. The newer driver does however and also includes a fix for the LED light.

What can we do for help, Javalui?.
myself108
finally got no kp with r952
-x boot and removed and recreated the ethernet interface in system preferences
here is a log
Doctadre
Thanks myself108 and x4hu. My issue now is every time I try to build the kext I get 27 warnings and then an error that the build has failed. Any ideas? Im off to comb this thread for anyone else having that problem
myself108
QUOTE(Doctadre @ May 3 2008, 05:17 PM) *
Thanks myself108 and x4hu. My issue now is every time I try to build the kext I get 27 warnings and then an error that the build has failed. Any ideas? Im off to comb this thread for anyone else having that problem

check to see what the error is... someone else had an one error earlier today it was because the script run to load the kext failed because it needed a password, but the build still worked... check to see if the kext is in the /svn source directory/build/debug if it is then load it manually... dont worry about the warnings, it will still build with warnings, the current 4965 builds with more than 400
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.