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
GtG
QUOTE(SupraIS300 @ Mar 30 2008, 06:58 AM) *
....
2. Every time I boot and set Power to ON the nsGUI hangs. I can't kill the process at all. If I log out and log back in again and set Power ON then it often works.
....


+1 (2200bg)
lastsoft
yep same here.
psedog
QUOTE(zacwhite15 @ Apr 6 2008, 02:25 AM) *
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

I get this same exact error.

I've been watching this thread for about a month. I realize that the 3945 is not going to be up and running for a while. I have tried a few of the .dmg's with no success, so I ebay'd a 2915 for less than $20 wink.gif
Sousuke
I got the same screen like Roal2488...
jalavoui
iwi3945
can someone post the kp picture
last one doesn't show where it crashes
Roal2488
QUOTE(jalavoui @ Apr 7 2008, 10:52 AM) *
iwi3945
can someone post the kp picture
last one doesn't show where it crashes

Jalavoui:
I got a KP(grey screen of death) when i mounted the kext with the kexhelper application, but i coulndt get any logs. of course i get the same KP whle trying to boot normally. will try with -v to see what happens.
then i booted with -s and loaded the driver manually with the kextload command and got the screen i posted. How do i make it crash booting with -s? the thing is that the screen freezes there and still after 15min it was still like that.
glorybox
QUOTE(jalavoui @ Apr 7 2008, 01:52 PM) *
iwi3945
can someone post the kp picture
last one doesn't show where it crashes


669 KP
Click to view attachmentClick to view attachment
glorybox
I've posted some markers and recompiled it. It crashes right here:

void ieee80211_sta_work(struct work_struct *work)
{
IM_HERE_NOW();
struct ieee80211_sub_if_data *sdata = (struct ieee80211_sub_if_data*)work->data;//check this
// container_of(work, struct ieee80211_sub_if_data, u.sta.work);
struct net_device *dev = sdata->dev;
---->>>>> HERE struct ieee80211_local *local = (struct ieee80211_local*)wdev_priv(dev->ieee80211_ptr);
struct ieee80211_if_sta *ifsta;
struct sk_buff *skb;

Hope this helps smile.gif
revolt_team
i added the IOLog("1\n");
to the static int ieee80211_open(struct net_device *dev) function and re-compile it whit xcode under leo 10.5.1

then i bot whit -s
the i load the kext whit kextload


but ...
but ...
sad.gif
but the driver frezees and i dont give me the kernel panic
there some pics ...

blink.gif

of a couple of try's
jalavoui
QUOTE(glorybox @ Apr 7 2008, 08:14 PM) *
I've posted some markers and recompiled it. It crashes right here:void ieee80211_sta_work(struct work_struct *work){IM_HERE_NOW(); struct ieee80211_sub_if_data *sdata = (struct ieee80211_sub_if_data*)work->data;//check this // container_of(work, struct ieee80211_sub_if_data, u.sta.work); struct net_device *dev = sdata->dev;---->>>>> HERE struct ieee80211_local *local = (struct ieee80211_local*)wdev_priv(dev->ieee80211_ptr); struct ieee80211_if_sta *ifsta; struct sk_buff *skb;Hope this helps smile.gif


very nice kp catch smile.gif
i'll try to fix it

iwi3945 rel 670
if you have xcode maybe you can fix this - try some IOLog() if get a kp
glorybox
QUOTE(jalavoui @ Apr 7 2008, 07:53 PM) *
very nice kp catch smile.gif
i'll try to fix it

iwi3945 rel 670
if you have xcode maybe you can fix this - try some IOLog() if get a kp


Well, I used printf(), since IOLog doesn't produce any messages to console
jalavoui
iwi3945 rel 671

fixed code for thread alloc
this version should be more stable
ujen
thanks, it installs and boots fine but when i try to load it it says:
ujen-s-mac-pro:~ Ujen$ sudo kextload /system/library/extensions/iwi3945.kext
Password:
kld(): Undefined symbols:
__Z10mbuf_copymP6__mbufmmjPS0_
__Z10mbuf_flagsP6__mbuf
__Z11mbuf_setlenP6__mbufm
__Z12ctl_registerP12kern_ctl_regPPv
__Z12mbuf_prependPP6__mbufmj
__Z12mbuf_setdataP6__mbufPvm
__Z15mbuf_pkthdr_lenP6__mbuf
__Z17mbuf_leadingspaceP6__mbuf
__Z18mbuf_pkthdr_setlenP6__mbufm
__Z18mbuf_trailingspaceP6__mbuf
__Z21mbuf_data_to_physicalPv
__Z8mbuf_adjP6__mbufi
__Z8mbuf_lenP6__mbuf
__Z9mbuf_dataP6__mbuf
__Z9mbuf_typeP6__mbuf
kextload: kld_load_from_memory() failed for module /system/library/extensions/iwi3945.kext/Contents/MacOS/iwi3945
kextload: a link/load error occured for kernel extension /system/library/extensions/iwi3945.kext
link/load failed for extension /system/library/extensions/iwi3945.kext
(run kextload with -t for diagnostic output)
ujen-s-mac-pro:~ Ujen$

also i cant seem to find nsgui.app anywhere, any idea? thanks biggrin.gif

Lokii
Is there any update on the 4965AGN driver for Leopard?

If there is anything I can do to help, just let me know! Once i get the driver for my WiFi card, i can finally switch to using OSX as my primary OS! biggrin.gif
imwithalwood
I'm sorry I cannot find the new release! I wanna help! Also if the kext makes a Kp what do I do? Boot with -x?
Roal2488
I'm getting the same screen as before i think

dparada78
just came across this thread....just want to say thanks....my wireless works on my gateway 3550gz. i downloaded PROSet/Wireless 2200b/g and 2915a/b/g OS X 10.5 SVN latest and it works...heres my logs...im running kalyway 10.5.1....its not recognized as an airport in system profiler, and i had to add an ethernet port manually in network prefs...the airport utility says nothing....but i dont care cause it works! Thanks! just my 2 cents...
Chris_H
jalavoui, using iwi3945 rel 671 I get KP immediately (Kalyway 10.5.2).

I added the following markers in the code:

CODE
static int ieee80211_open(struct net_device *dev)
{
    printf("CAH: 1\n");
    IM_HERE_NOW();    
    printf("CAH: 2\n");
    
    struct ieee80211_sub_if_data *sdata, *nsdata;
    printf("CAH: 3\n");
    struct ieee80211_local *local = (ieee80211_local*)wdev_priv(dev->ieee80211_ptr);
    printf("CAH: 4\n");
    struct ieee80211_if_init_conf conf;
    printf("CAH: 5\n");
    int res;
    printf("CAH: 6\n");

    sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev);
    printf("CAH: 7\n");
    //read_lock(&local->sub_if_lock);
    list_for_each_entry(nsdata, &local->sub_if_list, list) {
        printf("CAH: 7a\n");
        struct net_device *ndev = nsdata->dev;

        printf("CAH: 7b\n");
        if (ndev != dev && ndev != local->mdev /*&& netif_running(ndev)*/ &&
            compare_ether_addr(dev->dev_addr, ndev->dev_addr) == 0 &&
            !identical_mac_addr_allowed(sdata->type, nsdata->type)) {
            //read_unlock(&local->sub_if_lock);
            printf("CAH: 7c\n");
            return -1;//-ENOTUNIQ;
        }
        printf("CAH: 7d\n");
    }
    //read_unlock(&local->sub_if_lock);

    printf("CAH: 8\n");


The last marker I see on the console (the line before the KP) is 'CAH: 7' so I think the line 'list_for_each_entry(nsdata, &local->sub_if_list, list)' is giving me the KP.

P.S I don't have a digital camera here to take a photo of the KP screen.
dizzylol4
QUOTE(imwithalwood @ Apr 8 2008, 01:29 AM) *
I'm sorry I cannot find the new release! I wanna help! Also if the kext makes a Kp what do I do? Boot with -x?



am really glad we are getting some where i hope it will be done by the end of this month
love ya all and please donate to the site so that it will help in the dev of other works also
jalavoui
iwi3945 rel 672
fix for ieee80211_open
Chris_H
jalavoui, iwi3945 rel 672 now KP's further in:
CODE
static int ieee80211_open(struct net_device *dev)
{
    printf("CAH: 1\n");
    IM_HERE_NOW();
    printf("CAH: 2\n");    

    struct ieee80211_sub_if_data *sdata, *nsdata;
    printf("CAH: 3\n");
    struct ieee80211_local *local = (ieee80211_local*)wdev_priv(dev->ieee80211_ptr);
    printf("CAH: 4\n");
    struct ieee80211_if_init_conf conf;
    printf("CAH: 5\n");
    int res;
    printf("CAH: 6\n");

    sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev);
    printf("CAH: 7\n");
    //read_lock(&local->sub_if_lock);
    //??? nsdata should be sdata
    /*list_for_each_entry(nsdata, &local->sub_if_list, list) {
        struct net_device *ndev = nsdata->dev;

        if (ndev != dev && ndev != local->mdev && netif_running(ndev) &&
            compare_ether_addr(dev->dev_addr, ndev->dev_addr) == 0 &&
            !identical_mac_addr_allowed(sdata->type, nsdata->type)) {
            //read_unlock(&local->sub_if_lock);
            return -1;//-ENOTUNIQ;
        }
    }*/
    //read_unlock(&local->sub_if_lock);

    if (sdata->type == IEEE80211_IF_TYPE_WDS &&
        is_zero_ether_addr(sdata->u.wds.remote_addr))
        return -ENOLINK;
    printf("CAH: 8\n");    

    if (sdata->type == IEEE80211_IF_TYPE_MNTR && local->open_count &&
        !(local->hw.flags & IEEE80211_HW_MONITOR_DURING_OPER)) {
        /* run the interface in a "soft monitor" mode */
        printf("CAH: 9\n");
        local->monitors++;
        printf("CAH: 10\n");
        local->open_count++;
        printf("CAH: 11\n");
        //local->hw.conf.flags |= IEEE80211_CONF_RADIOTAP;
        return 0;
    }
    printf("CAH: 12\n");
    //ieee80211_start_soft_monitor(local);

    conf.if_id = dev->ifindex;
    printf("CAH: 13\n");
    conf.type = sdata->type;
    printf("CAH: 14\n");
    conf.mac_addr = dev->dev_addr;
    printf("CAH: 15\n");
    res = local->ops->add_interface(local_to_hw(local), &conf);
    printf("CAH: 16\n");
    if (res) {
        if (sdata->type == IEEE80211_IF_TYPE_MNTR)
            ieee80211_start_hard_monitor(local);
            printf("CAH: 17\n");
        return res;
    }
    
    printf("CAH: 18\n");


Last marker before KP in my console is now 'CAH: 15'. Looks like line 'res = local->ops->add_interface(local_to_hw(local), &conf);' now generates KP.
glorybox
QUOTE(jalavoui @ Apr 8 2008, 12:42 PM) *
iwi3945 rel 672
fix for ieee80211_open


Look for the "HERE" smile.gif
if (sdata->type != IEEE80211_IF_TYPE_STA &&
sdata->type != IEEE80211_IF_TYPE_IBSS) {
printk(KERN_DEBUG "%s: ieee80211_sta_work: non-STA interface "
"(type=%d)\n", dev->name, sdata->type);
return;
}
ifsta = &sdata->u.sta;

HERE->>>> while ((skb = skb_dequeue(&ifsta->skb_queue)))
ieee80211_sta_rx_queued_mgmt(dev, skb);
I haven't seen IAMHERE() for the ieee80211_sta_rx_queued_mgmt() call so I suppose
there's something in loop assignment smile.gif
Wayfarer247
QUOTE
Is there any update on the 4965AGN driver for Leopard?

If there is anything I can do to help, just let me know! Once i get the driver for my WiFi card, i can finally switch to using OSX as my primary OS!


Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.
hypnotic
QUOTE(Wayfarer247 @ Apr 8 2008, 01:44 PM) *
Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.


i think he meant : if it's that easy to modify it for 4965 , why not someone put the driver up there , so we 4965 users could join the beta testers club , and send some log files to help this community altogether.

or just please let us know what files have to be changed ? what 'lines' or 'codes' have to be added or replaced into driver source files. i think we can make these changes if someone could explain us one by one for 4965. i think the rest is compiling the driver and installing.

the point is instead of waiting here till it would be done for 3945, we would like send more logs as much as we could to help TWN , jalavoui and the other skilled developers here to make the driver ready for us soon.
dizzylol4
QUOTE(Wayfarer247 @ Apr 8 2008, 07:44 PM) *
Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.



hmm ma b-day is on this sunday wish this was a b-day present for me by sunday
wish you guys all the best
zacwhite15
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly....
Chris_H
QUOTE(zacwhite15 @ Apr 8 2008, 09:17 PM) *
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly....

Yes. Open a terminal (shell) and run:
CODE
svn checkout http://iwidarwin.googlecode.com/svn/trunk/iwi3945_new-osx10.5 iwi3945

(will create an iwi3945 directory under current directory)
zacwhite15
thanks man ill do that soon as i log into osx
zacwhite15
ok guys im really confused. i have downloaded the svn and all, installed xcode. installed the dmg... but i still keep getting a kext load error with the kext. what am i doing wrong? can anyone tell me??

if someone can help me my msn messenger is zacwhite15@msn.com. it would be greatly apreciated.....
jalavoui
iwi3945 rel 674

i've managed to change the code to build and test in my os version (10.4)
several bugs where fixed
let me know if you get bugs compiling in 10.5
if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp
LordNite
I would like test iwi3945 rel 674 in my laptop..
where i can download it ?
download r unavailable at http://code.google.com/p/iwidarwin/

imwithalwood
I'm able to install the kext but net selector does not work. It has also screwed up my ethernet (the only internet connection that was workign) so that now itonly works every other web page i click. For instance I have to press Submit reply twice to send this.Oh by the way I'm using 10.5.2 Kalyway
steelhead
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get:
Last login: Tue Apr 8 13:34:07 on ttys000
/Applications/networkSelector ; exit;
*****-macintosh:~ *********$ /Applications/networkSelector ; exit;
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

[Process completed]

Can anyone tell me what to do? wacko.gif
zacwhite15
QUOTE(steelhead @ Apr 9 2008, 03:53 AM) *
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get:
Last login: Tue Apr 8 13:34:07 on ttys000
/Applications/networkSelector ; exit;
*****-macintosh:~ *********$ /Applications/networkSelector ; exit;
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

[Process completed]

Can anyone tell me what to do? wacko.gif



dude i know wat you mean... i keep getting the same thing myself.
glorybox
QUOTE(zacwhite15 @ Apr 9 2008, 06:34 AM) *
dude i know wat you mean... i keep getting the same thing myself.



Guys, all of you, that get ioctl() from networkSelector and unresolved symbols while kextload'ing driwer used PowerBook (or what?) .dmg. It's now suitable for PC's. Please use, SVN and xcodebuild kext by yourself, or use one in the .zip archives that's attached, but think that's not neccesary, since by that moment all KPs are logged and screenshotted smile.gif
Chris_H
QUOTE(jalavoui @ Apr 8 2008, 11:49 PM) *
iwi3945 rel 674

i've managed to change the code to build and test in my os version (10.4)
several bugs where fixed
let me know if you get bugs compiling in 10.5
if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp

The previous iwi3945 releases have built with XCode 3.0 and generated kext that loaded ok for me in 10.5 (then KP as expected). But this new one (rel 674) reports the build is successful in XCode but the kext fails to load:

chriss-mac-pro:~ chris$ sudo kextload -t /System/Library/Extensions/iwi3945.kext
kextload: extension /System/Library/Extensions/iwi3945.kext appears to be loadable
kld(): Undefined symbols:
_mutex_init
_mutex_lock
_mutex_unlock
kextload: kld_load_from_memory() failed for module /System/Library/Extensions/iwi3945.kext/Contents/MacOS/iwi3945
kextload: a link/load error occured for kernel extension /System/Library/Extensions/iwi3945.kext
link/load failed for extension /System/Library/Extensions/iwi3945.kext
(run kextload with -t for diagnostic output)
chriss-mac-pro:~ chris$

jalavoui
iwi3945 rel 675
revert the mutex declaration

glorybox
QUOTE(jalavoui @ Apr 9 2008, 11:07 AM) *
iwi3945 rel 675
revert the mutex declaration


it loads! smile.gif maybe we can continue more online in irc?
Somehow I did get two different loads, one leads to KP over some time and another loads successfully and stays quite. networkSelector is still unusable, and did get a KP on kextunload
Chris_H
iwi3945 rel 675 builds and loads ok for me too. It added a new network connection in preferences but after each boot and login to the desktop it either gives me the grey screen of death or locks the desktop both occurring 20-40 seconds after logging in to desktop.

Attached are the logs I managed to collect before one of the crashes occurred.
jalavoui
iwi3945 rel 677
scan fixes
the driver seems to have qeue_xx bugs
don't autoload the driver
use kextload - i need to see all log lines to understand it
better test with boot -s and post the kp picture
i do know sometimes the driver is stable - it's up to you to test and check the logs

smile.gif i think i find the bug for the unstable load - i'll put the code in svn
wait...
ok done
iwi3945 rel 678
ready for testing

TNW,
can you help testing/writting code?
glorybox
QUOTE(jalavoui @ Apr 9 2008, 12:39 PM) *
iwi3945 rel 677
scan fixes
the driver seems to have qeue_xx bugs
don't autoload the driver
use kextload - i need to see all log lines to understand it
better test with boot -s and post the kp picture
i do know sometimes the driver is stable - it's up to you to test and check the logs

smile.gif i think i find the bug for the unstable load - i'll put the code in svn
wait...
ok done
iwi3945 rel 678
ready for testing

TNW,
can you help testing/writting code?


Who is TNW?

678 loads, KP over time
Click to view attachmentClick to view attachment
Chris_H
Attached is the KP from 677

(i will now try 678 and report back soon)
Sousuke
Wow I was too busy the past few days, and now we've got an relatively stable kext. 10 minutes passed by before the KP happened.
Keep up the good work, jalavoui! wink.gif

iwi3945, r678:
Ok now here are my logs, and one screenshot of an kp.
Chris_H
KP from r678
tiger2wander
I was test rev 678 in normal mode using kextload command. It look like get working but i have not wireless hotspot nearly. After about 10 or 15 minutes kp occured.
Below is my system.log file.
Vi0
After the latest major steps forward into creating decent drivers for the much wanted intel wifi adapters we got built in, bought and otherwise own.
There has been made a dedicated irc channel to speed things up, get better feeback and overall control over this magnificent progress

I figured it would be a better chance to get the logs, Kp-screenshots and improve communication between the creators and supporters.
The irc channel is called #intelwifi
and is found inside:

irc.moofspeak.net

if you need a mIRC client get it here: Colloquy for Mac or mIRC for Windows
iceman24
great work everyone! you can also use the a java IRC here: http://www.jwirc.com/chat.html
jalavoui
iwl3945 rel 679
looks like the driver is scanning
to see what's wrong i've enabled full debug output
by some reason i can't see in logs the driver is restarting and causing a kp

please use kextload to test this (after boot mac os x)
them goto console and use reload to get ALL system.log lines from driver start
copy and past to a text file
zip it and upload here
otherwise i don't understand what the driver is doing
check Sousuke last log
if you don't get similiar log reboot, use kextload and try again
yeye
hello,
I can't test since I have a 4965agn but i would like to say one thing: THANKS FOR ALL JALAVOUI
Thanks to the tester too!

I hope to see the driver working in a few days!

Eric
glorybox
QUOTE(jalavoui @ Apr 9 2008, 04:53 PM) *
iwl3945 rel 679
looks like the driver is scanning
to see what's wrong i've enabled full debug output
by some reason i can't see in logs the driver is restarting and causing a kp

please use kextload to test this (after boot mac os x)
them goto console and use reload to get ALL system.log lines from driver start
copy and past to a text file
zip it and upload here
otherwise i don't understand what the driver is doing
check Sousuke last log
if you don't get similiar log reboot, use kextload and try again


I'll reboot and test. Please wait for the results
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.