Jump to content

Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn


  • This topic is locked This topic is locked
3410 replies to this topic

#3281
jalavoui

jalavoui

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,145 posts
...
this thread is for development only
if you like to complain about driver development open a new thread
i need a moderator do erase all this posts back to the one i post the latest source code for development

iwi3945/4965 status
need help on fixing the association code

#3282
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India
I'm not looking for any contributors. iwidarwin source is open and is at a MUCH advanced stage. If people want to help, they should start with jalavoui's code. The guy ran a one-man-show for 3 effing years and no one really contributed anything significant. It's not respectful to recommend HIM to work with someone when it should be the other way round. Talk is cheap; show us the code.

#3283
IntelMacGuy

IntelMacGuy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts

I'm not looking for any contributors. iwidarwin source is open and is at a MUCH advanced stage. If people want to help, they should start with jalavoui's code. The guy ran a one-man-show for 3 effing years and no one really contributed anything significant. It's not respectful to recommend HIM to work with someone when it should be the other way round. Talk is cheap; show us the code.


This post was genius right here. Mercurysquad is 100% right with this.

#3284
squeezebag

squeezebag

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Got the dreaded: "Could not get Id for kernel control" I've done the following:

-Checked and the iwi2200.kext is installed
-Rebooted
-Am not in safe mode
-Have removed and reinstalled iwi2200 three times
-Have reinstalled 10.5.2 twice
-Have been working on this for a week (Grrrrr)
-Have noted random (and perhaps unrelated) messages in the boot log (attached) like:
1. -pci card interrupt, pci status change
2. -dumpPanic[29] error getting reference to device tree (or something like this)
3. -com.apple driver has dependencies on both com.apple.kernel and com.apple.kpi components, use only one style

Any thoughts?

x40 Thinkpad
10.5.2
Intel Pro Wireless Card

(UPDATE 3-26) After more diddling with the iwi2200 kext, I'm beginning the think the fault is with the IOPCCardbridge. The log tels me that it has failed to start. Should I be in a different topic?

Hello? Anyone? Is this thing on?

-andy
Attached File  ioreg.txt   29.48KB   16 downloads
Attached File  dmesg.txt   4KB   7 downloads
Attached File  system.txt   337.33KB   8 downloads

#3285
asstastic

asstastic

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 326 posts
  • Gender:Male
  • Location:Austin, TX

Got the dreaded: "Could not get Id for kernel control" I've done the following:

-Checked and the iwi2200.kext is installed
-Rebooted
-Am not in safe mode
-Have removed and reinstalled iwi2200 three times
-Have reinstalled 10.5.2 twice
-Have been working on this for a week (Grrrrr)
-Have noted random (and perhaps unrelated) messages in the boot log (attached) like:
1. -pci card interrupt, pci status change
2. -dumpPanic[29] error getting reference to device tree (or something like this)
3. -com.apple driver has dependencies on both com.apple.kernel and com.apple.kpi components, use only one style

Any thoughts?

x40 Thinkpad
10.5.2
Intel Pro Wireless Card

(UPDATE 3-26) After more diddling with the iwi2200 kext, I'm beginning the think the fault is with the IOPCCardbridge. The log tels me that it has failed to start. Should I be in a different topic?

Hello? Anyone? Is this thing on?

-andy
Attached File  ioreg.txt   29.48KB   16 downloads
Attached File  dmesg.txt   4KB   7 downloads
Attached File  system.txt   337.33KB   8 downloads


Have you tried installing the IOPCCard drivers from this post? http://forum.insanel...o...036&st=500#

#3286
squeezebag

squeezebag

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Have you tried installing the IOPCCard drivers from this post? http://forum.insanel...o...036&st=500#



I did install these drivers - PCCard.10.5.2.Beta2.pkg.zip ( 222.24K ) Number of downloads: 6404. I just went through the install and took the defaults. No help.

#3287
lebidou

lebidou

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
  • Gender:Male
  • Location:Fr

I did install these drivers - PCCard.10.5.2.Beta2.pkg.zip ( 222.24K ) Number of downloads: 6404. I just went through the install and took the defaults. No help.


It didn't solve my problem either. Stuck with ff:ff:ff… MAC Address…

#3288
jalavoui

jalavoui

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,145 posts
iwi3945 release 1213

ethernet version - no airport driver here
the driver tries to associate to the first open network available...
if association fails or if you get a kernel panic shutdown and reboot
download from svn tree
http://code.google.com/p/iwidarwin/
don't use networkselector
post system.log

what's missing:
send authentication - this will allow the driver to call associate and post-associate
feel free to hack the code and make it work

#3289
psotek

psotek

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
crash after associated with first open network, but gd job

regards

martin

#3290
madchipmunks

madchipmunks

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Rhode Island
here is my system log
4965agn on 10.5.5
Although the results don't mention anything I am assuming this because the firmware for 4965agn is not included.

Attached Files



#3291
DPyro

DPyro

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts

iwi3945 release 1213

ethernet version - no airport driver here
the driver tries to associate to the first open network available...
if association fails or if you get a kernel panic shutdown and reboot
download from svn tree
http://code.google.com/p/iwidarwin/
don't use networkselector
post system.log

what's missing:
send authentication - this will allow the driver to call associate and post-associate
feel free to hack the code and make it work

Apr  1 13:31:18 macbook kernel[0]: error iwl3945: Unable to initialize PCI moduleApr  1 13:31:18 macbook kernel[0]: iwi3945: StartingApr  1 13:31:18 macbook kernel[0]: IOPCCard info:   iwl3945: Intel PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23dApr  1 13:31:18 macbook kernel[0]: IOPCCard info:   iwl3945: Copyright 2003-2007 Intel CorporationApr  1 13:31:18 macbook kernel[0]: IOPCCard info:   iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
No connection, no kernel panic ;)

#3292
drumthrasher109

drumthrasher109

    InsanelyMac Legend

  • Guests
  • PipPipPipPipPipPipPip
  • 528 posts
Someone needs to lock this thread.

People, stop trying to get it working. Instead, just wait for these guys (http://projectcampho...rcurysquad.com/) to get it working.

#3293
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
I've been looking forward both projects for some months and i've been wondering if there's any way to pass directly the pci device interaction to a virtual machine and let it recognize the device using the built-in drivers (ie. Linux) and then get it back to mac via a virtual ethernet device.

What i mean is that running a virtual operating system (with parallels, for example) you can pass directly to the emulated system the physical pci address and let that system interact with it, only having to use a virtual driver to get the network back to the mac so that you can connect to internet via the virtual machine.

I believe that'd be simplier than getting around all encryption systems of the card (up to wpa2 on 3945, which i'm using) and using an small amount of resources (you can boot gentoo with minimal ram and cpu usage), plus drivers for these platforms are open-source so that you can get it easily.

In fact you'd be able to do so if you get the way to pass directly the pci adress to the vm, any ideas?

Edit: Well going on that idea i've found that this is possible on fedora virtual machines: http://fedoraproject...vice_Assignment

I'm going to try to get those libraries working on mac via fink, and maybe if i get the vm working i'd be able to assign the physicall bus of the card to the vm.

#3294
MacProUser83

MacProUser83

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 142 posts
  • Gender:Male
  • Location:::1

I've been looking forward both projects for some months and i've been wondering if there's any way to pass directly the pci device interaction to a virtual machine and let it recognize the device using the built-in drivers (ie. Linux) and then get it back to mac via a virtual ethernet device.

What i mean is that running a virtual operating system (with parallels, for example) you can pass directly to the emulated system the physical pci address and let that system interact with it, only having to use a virtual driver to get the network back to the mac so that you can connect to internet via the virtual machine.

I believe that'd be simplier than getting around all encryption systems of the card (up to wpa2 on 3945, which i'm using) and using an small amount of resources (you can boot gentoo with minimal ram and cpu usage), plus drivers for these platforms are open-source so that you can get it easily.

In fact you'd be able to do so if you get the way to pass directly the pci adress to the vm, any ideas?

Edit: Well going on that idea i've found that this is possible on fedora virtual machines: http://fedoraproject...vice_Assignment

I'm going to try to get those libraries working on mac via fink, and maybe if i get the vm working i'd be able to assign the physicall bus of the card to the vm.


hardware not detected on host OS wont ever work on Virtualized OS. kthx

#3295
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts

hardware not detected on host OS wont ever work on Virtualized OS. kthx


No, you're wrong! You're linking the virtual machine to the physical pci bus so that the host machine knows nothing about it.

That way you can get almost all drivers to work on mac so we should give it a try.

#3296
gymnastdaniel5

gymnastdaniel5

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
Yes, it might work, but if your running a VM anyway, you might as well just run a Windows VM or Linux VM and use it as your web browser whenever you need it :D.
Though I've never used VM's so I might be an idiot here :P.
-Daniel

#3297
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
Well i've got to give you some bad news, here's how's all:

The only emulators that can pass directly physicall pci interfaces to the guest machines are Qemu and Kvm (and Xen*) both of them using Libvirt which does all the job.

VMware guys are so lazy they don't want to make it ever possible (you can look on google there's a post saying it from VMware).

Now: Kvm guys are most likely to not to help us, and they say that porting their software from linux to mac is likely to get more time than developing the driver (i asked them on the irc and that was what they said) and told me to look after Xen.

Xen is currently not supporting Mac Os X as a host machine (there was a project named xenU which was given away some years ago), so it isn't an option.

*Xen uses linux kernel and it WON'T WORK unless a full port based on the XNU (Mac) Kernel is done.

Qemu can also use that lib, can be installed on mac via Macports and has a nice gui called Q which actually runs Virtual Machines.

Now the trick is getting the libvirt compiled on Mac OS X and making Qemu load it.

As u might notice the hard thing is to get the libvirt compiled, there are lots of dependencies missing and it's most likely to send us to hell before getting it to work.

I'm not specialized in porting apps to mac and it's not likely i will get anywhere (at least now by now, i've work to do) so may anyone get interested on this?

Well at least i got the info :P,

See ya!

PD: For those interested, look at http://qemu-forum.ip....php?f=6&t=4961

#3298
Gipnotizer

Gipnotizer

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Hello.
I instal iwi3945.kext. I see the wireless network, but i can't connect.
See my system log fnd help me pleas.
My system log iwi3945
[spoiler]
1)
Apr 8 13:01:58 localhost kernel[0]: iwi3945: Starting
Apr 8 13:01:58 localhost kernel[0]: Someone called createOutputQueue()
Apr 8 13:01:58 localhost kernel[0]: settCurController [OK]
Apr 8 13:01:58 localhost kernel[0]: IOPCCard info: iwl3945: Intel PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23d
Apr 8 13:01:58 localhost kernel[0]: IOPCCard info: iwl3945: Copyright 2003-2007 Intel Corporation
Apr 8 13:01:58 localhost kernel[0]: ieee80211_alloc_hw [OK]
Apr 8 13:01:58 localhost kernel[0]: PCI device enabled [OK]
Apr 8 13:01:58 localhost kernel[0]: IOPCCard info: iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Apr 8 13:01:58 localhost kernel[0]: init_waitqueue_head stubbed out!
Apr 8 13:01:58 localhost kernel[0]: IOPCCard debug: wmaster1: Selected rate control algorithm 'iwl-3945-rs'
Apr 8 13:01:58 localhost kernel[0]: PCI device enabled [OK]
Apr 8 13:01:58 localhost kernel[0]: NVDANV50HAL loaded and registered.
Apr 8 13:01:58 localhost kernel[0]: __ IN iwl3945_alive_start __
Apr 8 13:01:58 localhost kernel[0]: NVID: family specific matching fails
Apr 8 13:01:58 localhost kernel[0]: IOPCCard info: iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
Apr 8 13:01:58 localhost kernel[0]: error iwl3945: Microcode SW error detected. Restarting 0x82000008.
Apr 8 13:01:58 localhost kernel[0]: error iwl3945: Error Reply type 0x00000000 cmd UNKNOWN (0x00) seq 0x0000 ser 0x00000000
Apr 8 13:01:58 localhost kernel[0]: error iwl3945: No space for Tx
Apr 8 13:01:58 localhost kernel[0]: error iwl3945: Error sending REPLY_BT_CONFIG: iwl3945_enqueue_hcmd failed: -28
Apr 8 13:01:58 localhost kernel[0]: __ OUT iwl3945_alive_start __
Apr 8 13:01:58 localhost kernel[0]: IOPCCard debug: HW CONFIG: channel=1 freq=2412 phymode=3
Apr 8 13:01:59 localhost kernel[0]: no netif_running
Apr 8 13:01:59 localhost kernel[0]: Someone called createOutputQueue()
Apr 8 13:01:59 localhost kernel[0]: power state (1)
Apr 8 13:01:59 localhost kernel[0]: darwin_iwi3945::configureInterface()
Apr 8 13:01:59 localhost kernel[0]: error iwl3945: Can't stop Rx DMA.
Apr 8 13:01:59 localhost kernel[0]: __ IN iwl3945_alive_start __
Apr 8 13:01:59 localhost diskarbitrationd[31]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 8 13:01:59 localhost kernel[0]: Sending RXON
Apr 8 13:01:59 localhost kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:01:59 localhost DirectoryService[32]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 8 13:01:59 localhost kernel[0]: * channel = 1
Apr 8 13:01:59 localhost mds[21]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 8 13:01:59 localhost kernel[0]: * bssid = 00:00:00:00:00:00
Apr 8 13:01:59 localhost configd[34]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 8 13:01:59 localhost kernel[0]: __ OUT iwl3945_alive_start __

2)
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: darwin_iwi3945::enable()
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: ifconfig going up
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: en1: dropped data frame to not associated station
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: TXRX_DROP fail
Apr 8 13:05:27 kirill-s-marinins-macpro31 kernel[0]: bss_add= 02:13:d4:ff:c1:eb ('')
Apr 8 13:05:27 kirill-s-marinins-macpro31 kernel[0]: q6
Apr 8 13:05:29: --- last message repeated 7 times ---
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: HW CONFIG: channel=1 freq=2412 phymode=3
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * bssid = 00:00:00:00:00:00
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * bssid = 00:00:00:00:00:00
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: searching for networks...
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: 1) 02:13:d4:ff:c1:eb ('Wireless') cap 411 hw 3 ch 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: trying to associate
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: HW CONFIG: channel=1 freq=2412 phymode=3
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * bssid = 02:13:d4:ff:c1:eb
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * bssid = 02:13:d4:ff:c1:eb


Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: darwin_iwi3945::enable()
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: ifconfig going up
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: en1: dropped data frame to not associated station
Apr 8 13:05:25 kirill-s-marinins-macpro31 kernel[0]: TXRX_DROP fail
Apr 8 13:05:27 kirill-s-marinins-macpro31 kernel[0]: bss_add= 02:13:d4:ff:c1:eb ('')
Apr 8 13:05:27 kirill-s-marinins-macpro31 kernel[0]: q6
Apr 8 13:05:29: --- last message repeated 7 times ---
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: HW CONFIG: channel=1 freq=2412 phymode=3
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * bssid = 00:00:00:00:00:00
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:29 kirill-s-marinins-macpro31 kernel[0]: * bssid = 00:00:00:00:00:00
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: searching for networks...
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: 1) 02:13:d4:ff:c1:eb ('Wireless') cap 411 hw 3 ch 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: trying to associate
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: IOPCCard debug: HW CONFIG: channel=1 freq=2412 phymode=3
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * bssid = 02:13:d4:ff:c1:eb
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: Sending RXON
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * channel = 1
Apr 8 13:05:31 kirill-s-marinins-macpro31 kernel[0]: * bssid = 02:13:d4:ff:c1:eb

3)
Apr 8 14:01:11 bb-92-43-6-146 kernel[0]: IOPCCard debug: en1: associcated
Apr 8 14:01:11 bb-92-43-6-146 kernel[0]: IOPCCard debug: en1: No STA entry for own AP 00:00:00:00:00:00
Apr 8 14:01:12 bb-92-43-6-146 kernel[0]: IOPCCard debug: en1: dropped data frame to not associated station
Apr 8 14:01:12 bb-92-43-6-146 kernel[0]: TXRX_DROP fail


#3299
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts

Hello.
I instal iwi3945.kext. I see the wireless network, but i can't connect.
See my system log fnd help me pleas.
My system log iwi3945


U're lucky you don't get a panic when you install it. You can forget about connecting to a network, it only connects to unprotected networks (without https login!) and almost nobody will have their network configured that way.

Get a wireless usb or change ur intel.

#3300
jalavoui

jalavoui

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,145 posts
iwi3945 rel 1214
add tx authentication packed (code from aircrack-ng)

to test:

the driver tries to authenticate to the 1st open network available
if this fails you'll get a kernel panic - shutdown and try again
i can't test this code because i need to ask for a friend laptop...

thanks for helping





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy