JammerML
Apr 16 2008, 08:00 PM
QUOTE(jalavoui @ Apr 16 2008, 07:55 PM)

<br />althought there are other ways to check a kernel panic<br />you can help by taking a screen picture of it<br />todo so:<br />press F8 before boot<br />type -s<br />...<br /><br />the driver can work in mac os x 10.4 with small changes<br />if you have xcode i can help<br />i'm using mac os x 10.4 to write the code <img src="style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br />
<br /><br /><br />
I will attempt to find xcode then.
jalavoui
Apr 16 2008, 08:04 PM
i've counted 55 people here
at least 1 of you can build iwi3945.dmg and post it here
hope so
deam...
iwidarwin will be out for maintance by google
i've put the link to the dmg but it's old and for ppc machines
mlazy
Apr 16 2008, 08:08 PM
ok, back from my meeting. (sorry the full time job gets in the way)
went to single user mode, loaded the kext, got this:
Click to view attachmentNow, I'm going to try and figure out why I can't build the dmg in xcode...... hold tight ppl!
Ruud
Apr 16 2008, 08:08 PM
oke, i will try to create the dmg atm
sorry if this is a noob question, but should the dmg be build when i build the whole project in xcode? This isn't happening here so should i do somthing else to build a dmg?
undefined
Apr 16 2008, 08:10 PM
instructions for testing:
http://forum.insanelymac.com/index.php?showtopic=71779waiting for dmg, ill try to help
JammerML
Apr 16 2008, 08:10 PM
QUOTE(JammerML @ Apr 16 2008, 08:00 PM)

<br /><br /><br /><br /><br /><br />I will attempt to find xcode then.<br />
<br /><br /><br />
I am downloading Xcode 2.5 now.
jayman30
Apr 16 2008, 08:14 PM
QUOTE(jalavoui @ Apr 16 2008, 07:41 PM)

this is not a show
why is everybody online without posting logs?
Here's the logs from my Gateway Centrino Duo Laptop--the 737 Kext is showing up as an unplugged ethernet port in the network prefs--no KP in 20 minutes and counting...
Click to view attachmentClick to view attachment
JammerML
Apr 16 2008, 08:14 PM
Jalavoui, what do I need to change to modify this for testing on 10.4.6?
jalavoui
Apr 16 2008, 08:16 PM
this was a kp by manual loading
if iwi3945.kext is in system/library/extensions
after boot with -s it should auto load
in mac os x 10.4 you need to type sh /etc/rc for os x to boot and load extensions
is there a way to do this in mac os x 10.5?
if you load iwi3945.kext before mac os boot it will not work
can you try boot with -v -> maybe you can get a kp picture
does the driver allways panic after each reboot?
jayman30,
to test the driver unplug from other networks first
iwi3945 howto build for mac os x 10.4
- open iwi3945.xcodeproj with finder
- in compatibility.cpp you have the info.plist data for os x 10.4. copy and replace it in info.plist
- in defines.h uncomment the mutx_xxx definitions (last file lines) remove /* and */
- in compatibility.h - comment mutx_xx functions (use /* and */)
- double click in xcode on the blue iwi3945 icon - change in separator build - cross develop..." to current os"
- open networkselector.xcodeproj with finder and repeat last step
- go back to iwi3945 in xcode and press build
- if you like to build the .dmg, first delete it with finder. press build - repeat until you get the .dmg - sometimes the script fails
- after each build the script puts iwi3945.kext in system/library/extensions
- reboot to test the driver
if you get errors in build them you're doing something wrong
JammerML
Apr 16 2008, 08:16 PM
QUOTE(jayman30 @ Apr 16 2008, 08:14 PM)

Here's the logs from my Gateway Centrino Duo Laptop--the driver is showing up as an unplugged ethernet port in the network prefs--no KP in 20 minutes and counting...
getting closer!
mtheory
Apr 16 2008, 08:30 PM
I'm still waiting for someone to upload the .dmg
In the meantime, I'll reinstall Kalyway 10.5.2 on the laptop to have a clean slate to test on.
Wayfarer247
Apr 16 2008, 08:31 PM
Jalavoui, and everyone else, I am super excited about the progress being made, and would love to help, but I only have a 4965. And, I don't have the developing skills required to start editing 3945. If someone else does, then I will be glad to test that. In fact, I would be eccentric too. So, once Jalavoui gets the 3945 stable, and updates 4965, I will be ALL FREAKING OVER IT.

Cheers until then, and keep up the good work! I'm serious, the progress is amazing, and I can't wait to start testing. Once the 4965 is in testing condition, let me know!!!
SuperInsanity
Apr 16 2008, 08:34 PM
Tried mlazy's kext just in case mine was messed.
It loads fine, I can use networkSelector to toggle it on and off, but as soon as I choose option 2 (scan) the system freezes.
I deleted the existing Ethernet in Network Prefs, but after I loaded the kext I had to manually add the iface. It added as en0.
Screens & Logs attached...
JammerML
Apr 16 2008, 08:35 PM
QUOTE(jalavoui @ Apr 16 2008, 08:16 PM)

howto build for mac os x 10.4<br />- open iwi3945.xcodeproj with finder<br /> - in compatibility.cpp you have the info.plist data for os x 10.4. copy and replace it in info.plist<br />- in defines.h uncomment the mutx_xxx definitions (last file lines) remove /* and */<br />- in compatibility.h - comment mutx_xx functions (use /* and */)<br />- double click in xcode on the blue iwi3945 icon - change in separator build - cross develop..." to current os"<br />- open networkselector.xcodeproj with finder and repeat last step<br />- go back to iwi3945 in xcode and press build<br />- if you like to build the .dmg, first delete it with finder. press build - repeat until you get the .dmg - sometimes the script fails<br />- after each build the script puts iwi3945.kext in system/library/extensions<br />- reboot to test the driver<br />if you get errors in build them you're doing something wrong<br />
Do I need to have SVN to get the code? Is there another way to access the project?
mlazy
Apr 16 2008, 08:44 PM
Jalavoui,
I followed the steps in your description, did the build, and all I ever get is files in build folder of the project itself. I've never gotten a dmg to appear. This has to be an xcode 3.1 vs. older versions difference. What the hell am I doing wrong? When I build a project in debug and/or release mode, I get a build folder that looks like this:
Click to view attachmentI've been reading and googling it, but most references mention a pkg target rather than a kext. Damn, I'm so out of my element. Just a good tester unfortunately.
ulyanov77
Apr 16 2008, 08:51 PM
Well, I made an attempt --but after the uninstall it seems that my computer is responding rather slowly. Oh well, maybe it will resolve itself?
jalavoui
Apr 16 2008, 09:24 PM
QUOTE(mlazy @ Apr 16 2008, 09:44 PM)

I've been reading and googling it, but most references mention a pkg target rather than a kext. Damn, I'm so out of my element. Just a good tester unfortunately.
if you don't get errors in build the the .dmg is created in iwi3945_new-osx10.5 folder
have you deleted the old one before press build?
it's as simple as this
you can manually type the script commands in a console to see if they work
just cd to the main iwi3945 folder -> iwi3945_new-osx10.5
SuperInsanity
Apr 16 2008, 09:25 PM
Update.
Uninstalled driver, rebuilt, installed, enabled, rebooted.
System freezes within seconds.
Log from boot attached.
Thanks for all the hard work so far, there is some clear progress. Hopefully we'll get it soon!!
righteye
Apr 16 2008, 09:25 PM
Logs Revision 737 iwi3945
this is when boot with -s option
Click to view attachmentafter -s go exit to logon GUI
Click to view attachmentKP after a few minutes
mlazy
Apr 16 2008, 09:26 PM
QUOTE(jalavoui @ Apr 16 2008, 05:24 PM)

if you don't get errors in build the the .dmg is created in iwi3945 folder
have you deleted the old one before press build?
it's as simple as this
you can manually type the script commands in a console to see if they work
just cd to the main iwi3945 folder
Thanks, I found a tutorial that may get me through it. stay tuned.
SuperInsanity
Apr 16 2008, 09:29 PM
QUOTE(jalavoui @ Apr 16 2008, 05:24 PM)

if you don't get errors in build the the .dmg is created in iwi3945 folder
have you deleted the old one before press build?
it's as simple as this
you can manually type the script commands in a console to see if they work
just cd to the main iwi3945 folder
Too bad, I get errors everytime, so no .dmg to share.
jalavoui
Apr 16 2008, 09:31 PM
righteye,
can you post the system.log? use reload in console to get all driver log lines
what errors do you get when pressing build in xcode?
to get source code you only need the svn for mac os x -> google for it
this is the place where xcode place the .dmg
to build a new one just delete this one
that's all
righteye
Apr 16 2008, 09:38 PM
QUOTE(jalavoui @ Apr 16 2008, 09:31 PM)

righteye,
can you post the system.log? use reload in console to get all driver log lines
what errors do you get when pressing build in xcode?
I thought might be helpful but do not know why didn't upload in the first place ... Sorry
Click to view attachmentClick to view attachmentthis are the errors when first bild the driver
Click to view attachment
jalavoui
Apr 16 2008, 09:47 PM
QUOTE(righteye @ Apr 16 2008, 10:38 PM)

I thought might be helpful but do not know why didn't upload in the first place ... Sorry
you can see in system.log that the driver on first log lines fails to start
this mean it's not working
maybe a few reboots and you can get a "good startup ? - see mlazy kp picture
the driver need to load ok - this is the way to make the scan work
i'll upload to svn a version without the scan call
to call scan use networkselector
wait...
ok done iwi3945 rel 738
before call scan in networkselector check system.log first driver lines for errors
i don't think you can call scan if the driver as errors on startup
jayman30
Apr 16 2008, 09:51 PM
QUOTE(jayman30 @ Apr 16 2008, 08:14 PM)

Here's the logs from my Gateway Centrino Duo Laptop--the 737 Kext is showing up as an unplugged ethernet port in the network prefs--no KP in 20 minutes and counting...
Click to view attachmentClick to view attachmentKP After 30-35 minutes, BSOD on restart. System.log on BSOD Restart attached.
Click to view attachment
nazrm
Apr 16 2008, 09:57 PM
first time I try, 736
hope I did it right o.O
jalavoui
Apr 16 2008, 09:57 PM
QUOTE(jayman30 @ Apr 16 2008, 10:51 PM)

KP After 30-35 minutes, BSOD on restart. System.log on BSOD Restart attached.
Click to view attachmentif you get this sort of log them en1 is not configured in system preferences
jayman30
Apr 16 2008, 10:00 PM
QUOTE(jalavoui @ Apr 16 2008, 09:57 PM)

if you get this sort of log them en1 is not configured in system preferences
Sorry, I'm a noob at this, please instruct me on how do I configure en1 in system preferences and I'll try again.
jalavoui
Apr 16 2008, 10:08 PM
QUOTE(nazrm @ Apr 16 2008, 10:57 PM)

first time I try, 736
sames as abovealso looks like you got errors in your mac os x disktry boot -sfsck -fy / to fix the errors - if this fails you need to reinstall mac oskernel panics can break mac os x hfs file system and make mac os fail to work - including iwi3945.kext
QUOTE(nazrm @ Apr 16 2008, 10:57 PM)

first time I try, 736
sames as abovealso looks like you got errors in your mac os x disktry boot -sfsck -fy / to fix the errors - if this fails you need to reinstall mac oskernel panics can break mac os x hfs file system and make mac os fail to work - including iwi3945.kext
QUOTE(jayman30 @ Apr 16 2008, 11:00 PM)

Sorry, I'm a noob at this, please instruct me on how do I configure en1 in system preferences and I'll try again.
delete iwi3945.kextrebootdelete en1 from sys prefs -> networksrebootload iwi3945.kextgoto sys pref -> networksclick apply
nazrm
Apr 16 2008, 10:14 PM
loaded with kextload, 738 and applied in network tab (this is the correct way?

) I want to help!
jalavoui
Apr 16 2008, 10:17 PM
QUOTE(nazrm @ Apr 16 2008, 11:14 PM)

loaded with kextload, 738 and applied in network tab (this is the correct way?

) I want to help!
aleluia
a good log

reboot and check if can make it load without errors on first log lines
if you can do it them call networkselector and try to scan
open console -> system.log first before press scan (only once)
looks like networselector panics when closed -> leave it opened
is anyone trying this in mac os x 10.4?
might work much better there
i feel very tempted to change code
better wait for more logs
please post the .dmg or iwi3945.kext and networkselector for others to test
one important question:
in os x 10.5 when you boot with -s does iwi3945 auto loads?
this is the expected behaviour in os x 10.4
i'll come tomorrow
thanks everyone for helping
SuperInsanity
Apr 16 2008, 10:26 PM
QUOTE(jalavoui @ Apr 16 2008, 05:31 PM)

what errors do you get when pressing build in xcode?
Here's the Xcode build errrors. Plus the logs from my system, I was able to grab them just before the freeze-up.
Still no .dmg being built.
righteye
Apr 16 2008, 10:26 PM
QUOTE(jalavoui @ Apr 16 2008, 10:17 PM)

aleluia
a good log

reboot and check if can make it load without errors on first log lines
if you can do it them call networkselector and try to scan
is anyone trying this in mac os x 10.4?
might work much better there
i feel very tempted to change code
better wait for more logs
please post the .dmg or iwi3945.kext and networkselector for others to test
ok ... more logs after a few reboots ... the main problem is that the system freezes qhuick and is hard to gt those log files
Click to view attachmentClick to view attachment
FurmanSK
Apr 16 2008, 10:36 PM
Hey Jalavoui, I'm getting these errors in xcode when i compile or build the kext file. Running xcode 3 on 10.5.2 for 2200 driver.
Didn't get a chance to see if it worked at school but if i can build it i'll test tomorrow. All day i'll be there. So when i build it should create a .dmg file for install correct? And i can use it to install the driver right?
Thanks
k weird now i'm just getting these errors. Don't remember the other errors i had. Thanks
nazrm
Apr 16 2008, 10:56 PM
QUOTE(jalavoui @ Apr 16 2008, 10:17 PM)

one important question:
in os x 10.5 when you boot with -s does iwi3945 auto loads?
Doesnt look like it, no output on screen atleast
booted with the kext enabled now, logs and kext attatched (738). (got kp a few times on login screen)
tried scan with network selector too..
got tons of startup spam, debug stuff !
i hope this helps
righteye
Apr 16 2008, 10:58 PM
Wayfarer247
Apr 16 2008, 11:39 PM
Hey Guys, I have been doing some research into the 3945 Wireless card, thinking of trying to get Jalavoui a Laptop with one in it

. Is there any difference between the 3945 minicard and what we are working on right now? I don't think there would be much of a difference, but I wanted to make sure. I am seeing how cheap a laptop I can get/make and still have the card in it.
Or perhaps a Desktop? Some cheap Desktop with a slot for a Network card? Ideas?
mlazy
Apr 17 2008, 12:41 AM
Hey all,
I finally got Jalavoui's build 738 into a .pkg file. Please test the version below for him and post the logs. Once I figure out the .dmg trick, I'll post that too.
This installer places 2 files:
iwi3945.kext in /System/Library/Exetnsions
and
networkselector in /Applications
As always, we are not responsible for anything that happens to your machine etc...... test at your own risk. (I feel better now)
to remove this stuff:
boot in single user mode with -s
when it's ready, type "/sbin/mount -uw /" (press enter)
then type "cd /System/Library/Extensions" (press enter)
then type "rm -R iwi3945.kext"
then type "reboot" (press enter)
good luck!
Update: .dmg file available at:
http://code.google.com/p/iwidarwin/downloads/list
mtheory
Apr 17 2008, 01:05 AM
Thanks! I installed i, and reboot went fine.
However, still, nothing new shows up in network config.
When I open networkSelector, it gives me a "Could not get ID for kernel control.2 logout" message.
ulyanov77
Apr 17 2008, 01:14 AM
Here are my logs from using the .pkg installer. I had to boot -s and desktop would freeze soon after I took the logs.
Ethan021
Apr 17 2008, 01:29 AM
Hello, i installed the latest svn from iwidarwin and what program do i use to launch network selector on iatkos 10.5.2 install? like what app i tried terminal and it says illegal operation?
jayman30
Apr 17 2008, 01:39 AM
QUOTE(jalavoui @ Apr 16 2008, 10:17 PM)

aleluia
a good log

reboot and check if can make it load without errors on first log lines
if you can do it them call networkselector and try to scan
open console -> system.log first before press scan (only once)
looks like networselector panics when closed -> leave it opened
one important question:
in os x 10.5 when you boot with -s does iwi3945 auto loads?
this is the expected behaviour in os x 10.4
i'll come tomorrow
thanks everyone for helping
Here's my System.log Installed new build 738 DMG file, hard locked when running Network Selector Scan. Rebooted then hard lock as soon as desktop appeared. As far as I can tell, iwi3945 does not auto load with -s boot.
Click to view attachment
KemenAran
Apr 17 2008, 07:24 AM
Hi,
Sorry to spam the thread with maybe unusefull informations, but... The latest Lunix kernel release (2.6.24) features
a port of the linux iwi3945 driver from the old Linux wifi stack to the new mac80211-based one.
I think I remember the OS X driver model was closer from a mac80211 model than anything else, so it may help to look at the Linux code again... Plus some code may have been cleaned. Anyone ?
Source:
Kernel-newbie changelog
salimbo
Apr 17 2008, 10:03 AM
Hi all, and thanks for the hard work done for helping the community.
I just join the osx86 community, just install the Kalyway 10.5.2, everything works great, except network and WiFi card. In fact, i have, like all the others, the Intel 3945 ABG ...
So i want to help debugging it by posting logs.
I just install the iwi3945v738.dmg, my laptop has rebooted normally.
I then go to Application to run the newtorkSelector app, but i got this error: "Could not get ID for kernel control. 2"
Any solution Jalavoui ? How can i do for logging the results in my Laptop ?
Thanks for all !
jalavoui
Apr 17 2008, 11:34 AM
this was inspired by the good code from iwi2200 - i also change it for iwi2200 in svn
iwi3945 rel 741
iwi2200 loading way
ready for testing
i'll come back later to read logs and answer yor questions
salimbo
Apr 17 2008, 12:00 PM
Hi Jalavoui,
I update my lapotop to the rel 741, and I obtain the following error when I run the networkSelector:
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout
If you need logs, please tell me how i can obtain them on the lapotop.
Salim
rubinho93
Apr 17 2008, 12:08 PM
rev 741:
Driver shows KP after load. Here's the kp picture in single user mode. It shows many lines like these before the kp:
check_firstup
check_firstup
Then it gives the KP...
When I load it in Mac OS X 10.5.2 itself, I was quick enough to open networkselector, but when I tried to make a scan, the BSOD appeared. (I could turn the card on and off).
I'll see if I can grab the system.log
jalavoui
Apr 17 2008, 12:09 PM
i'll fix all iwidarwin xcode proj - looks like having permissions bugs
and update to the svn tree
ok done for all - get it from iwidarwin svn tree
remember:
to build the .dmg in xcode, before you press build
use finder to delete the old .dmg file in the main folder
that panic can be because of bad en1 configuration
remove iwi3945.kext
reboot
goto sys prefs -> network
delete en1 interface
reboot
install iwi3945.kext
load it with kextload
goto sys prefs->net
press apply to add the new inteface
try a few reboot to check for kp
this code works in mac os x 10.4
can someone try in on os x 10.4? read some post back to learn howto setup xcode
salimbo
Apr 17 2008, 12:11 PM
Ok ! I'll waiting for your changes ...
rubinho93
Apr 17 2008, 12:31 PM
I'm not quick enough to catch the system.log... I'll wait for it too
QUOTE(jalavoui @ Apr 17 2008, 12:09 PM)

i'll fix all iwidarwin xcode proj - looks like having permissions bugsand update to the svn treeok done for all - get it from iwidarwin svn treeremember:to build the .dmg in xcode, before you press builduse finder to delete the old .dmg file in the main folderthat panic can be because of bad en1 configurationremove iwi3945.kextrebootgoto sys prefs -> networkdelete en1 interfacerebootinstall iwi3945.kextload it with kextloadgoto sys prefs->netpress apply to add the new intefacetry a few reboot to check for kp
I tried it, but when I do that, for some reason, the WiFi card is left en2... I don't know why, and then I tried it one more time by deleting every ethernet card in my configuration, but it's still en2.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.