Jump to content
3411 posts in this topic

Recommended Posts

I tried to install using DMZ and kext. No matter what i try it shows up as ethernet in my preference's. When I use the network program provided it seems the options don't do anything. no errors, no confirmations, nothing. I have attached a screen cap of terminal running the network program along with my preferences and a display of my kext.

post-207764-1208917338_thumb.jpg

Hey, great work on the 3945 driver! Keep the ball rolling, this is going to mean a huge deal to the osx86 project as a whole..

 

Quick side note, I noticed the latest SVN for iwi2200.dmg for 10.5 changed to rev. 803, so uninstalled the previous and gave it a try. Worked great this time, no manual permission changes needed. nsGUI still doesn't load at startup as it previously did, but running it from the Applications folder does the trick (I'm sure there is an easy way to make apps load on boot in OS X). I input my WEP key in hex xx:xx:xx:xx:etc format, and all is working perfectly. I swear this driver is working MUCH faster than before, you guys have done great with this. Keep it up, happy to witness all the talent being put into the project.

Jalavoui:

 

There's a bug in the iwl3945 driver. Sometimes the driver can't wake up the card properly and you have to reboot to make it work. It takes from one to even 10 reboots to make the driver work.

 

The linux version of the driver outputs the following if the card doesn't initialize:

 Apr 21 01:51:43 q kernel: iwl3945: MAC is in deep sleep!
Apr 21 01:51:43 q kernel: iwl3945: Unable to int nic

 

and the following if the card initializes properly:

 iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels

 

Thats why you get different results from different people.

 

I hope that helps!

 

ps: I have downloaded the Kalyway 10.5.2 DVD but it doesn't have xcode in it... Can I download it from somewhere else or do I need to get another DVD image? I'll search the forums about it later [@ work right now... :D]

Wirednet, Go to http://developer.apple.com/tools/download/ and download xcode 3.0 for Leopard and go on... :P

 

Yeah I tried that but it wants username/password and I don't feel like registering at Apple... :P

I guess I'll have to find it elsewhere :P

Wirednet,

 

You can register for free.... and then download xcode...I did it a few days ago

 

You will also need snv to keep track of the source code changes

 

Regards

:D

 

Too late... its a torrent world... heheh

 

Subversion is not a problem, I use it everyday @ work =)

 

Easter is coming, I wanna take advantage of the (limited...) work-free days to check out the code, maybe help a bit, who knows ;)

 

Thanks y'all

Too late... its a torrent world... heheh

 

Subversion is not a problem, I use it everyday @ work =)

 

Easter is coming, I wanna take advantage of the (limited...) work-free days to check out the code, maybe help a bit, who knows :blink:

 

Thanks y'all

 

 

hi, I also downloaded from apple site. was ok. and much faster than torrents, but it's the same. just keep in mind that you need almost 3 GB free space to install. (that's why i'm waitin for new ubuntu rel (tomorrow) to format again and give more room to hackintosh!)

 

easter is coming??? where do you live man? here it has been the 23 of march!!!

 

ciao!

hi, I also downloaded from apple site. was ok. and much faster than torrents, but it's the same. just keep in mind that you need almost 3 GB free space to install. (that's why i'm waitin for new ubuntu rel (tomorrow) to format again and give more room to hackintosh!)

 

easter is coming??? where do you live man? here it has been the 23 of march!!!

 

ciao!

 

Well its almost done now... Space is the real issue since my Mac partition is only 10 gb (actually it was my old linux test partition heheh). Seems I'll have to do some volume resizing...

 

I live in Athens, Greece :blink: (Orthodox) Easter day is on the 27th of April here!

Well its almost done now... Space is the real issue since my Mac partition is only 10 gb (actually it was my old linux test partition heheh). Seems I'll have to do some volume resizing...

 

I live in Athens, Greece :lol: (Orthodox) Easter day is on the 27th of April here!

 

 

wow! so have a nice easter!! (I mean, like in every parts of the world, you're gonna eat a lot of good things, is it?)

 

I have to say this: my pc has a big partition with ubuntu, than windows virtualized just for ACAD and 3DSMAX, than another partition (that is going to grow, thanks to all the people developing hackintosh!) for macOSX. If I only needed bsd...

 

I think is good to have all the chance!!!

 

ehmm.. sorry everybody for the OT!!

hallo all, davide, from Rome... :P

804 for testing:

 

iwi3945r804.kext.zip

 

804 logs:

 

syslog804.txt

 

clean test partition, booted and things get interesting at line 196 in the file.

 

First error: Apr 23 09:36:55 Sony kernel[0]: iwl3945: U iwl3945_mac_open leave - failed

 

Next set of errors starting on line 266:

 

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: Microcode SW error detected. Restarting 0x82000008.

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: Start IWL Error Log Dump:

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: Status: 0x00010132, Config: 00000000 count: 1

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: Desc Time asrtPC blink2 ilink1 nmiPC Line

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: SYSASSERT (#5) 0000009279 0x0089A 0x00FE0 0x00304 0x00000 57

Apr 23 09:36:58 Sony kernel[0]: error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000000 0x000000d5 0117

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000000 0x000000be 0118

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000130 0x00000000 0651

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000151 0xffffff1e 0454

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000152 0x00000000 0472

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000000173 0x000000c5 0104

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000009278 0x00000000 0401

Apr 23 09:36:59 Sony kernel[0]: error iwl3945: 0000009281 0x00000100 0125

Apr 23 09:36:59 Sony kernel[0]: iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG:

Apr 23 09:37:00 Sony kernel[0]: IOPCCard debug: iwl data: 0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Apr 23 09:37:00 Sony kernel[0]: IOPCCard debug: iwl data: 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

 

Oh, and is ths the ucode line you mentioned yesterday?

 

Apr 23 09:37:00 Sony kernel[0]: iwl3945: U iwl3945_rx_reply_alive Alive ucode status 0x00000001 revision 0x1 0x9

Build 804

 

Javalui added alot of new things!! <_<

 

No KP, No freezes (just when try to manually unload with the console).

No errors on manual load or Reboot.

Did 4 tests, manual load, manual add to network interfaces (didnt do auto), reboot with switch OFF, reboot switch ON, ( on the last one the card keeps scanning soooo much before load the system).

1.manual_load_switch_on.txt

2.adding_manually_the_interface.txt

3.Boot_switch_OFF.txt

4.Boot_switch_ON.txt

pere,

nice logs <_<

looks like you know how to make the card work

 

this can be so easy to fix:

pr 23 16:41:35 Pere kernel[0]: iwl3945: U iwl3945_init_channel_map Ch. 4 [2.4GHz] IBSS ACTIVE WIDE (0x2b 15dBm): Ad-Hoc supportediwl3945: U iwl3945_mac_open Wait START_ALIVE Condition: 0ms left\

Apr 23 16:41:35 Pere kernel[0]: iwl3945: U iwl3945_mac_open Wait for START_ALIVE timeout after 2000ms.\

Apr 23 16:41:35 Pere kernel[0]: iwl3945: U iwl3945_mac_open leave - failed\

this means the driver as to wait just a litle bit for the card to finish alive_start

i also need to have another way to start a scan - need a better hack

 

iwi3945

check if you can get this in log: SCAN_COMPLETE_NOTIFICATION

you only get this if you manage to load the driver without errors

the svn is down

copy this files to iwi3945 folder and build

don't worry with the warnings - it's ok

and please try to help with the code

if i add the card i can make this driver work in 1/2 days

if you get a kp - it will be in this call:

iwl_scan(priv);

can you try other ways to make this work?

Archive.zip

Javalui, i have found this:

The first time i use iwi3945.xcodeproj from inside the downloaded folder, it give me some compile errors (attached), the i go to the build folder, erase the kext and build again, then it gives no errors, this is the kext i use...

Im usin xcode from apple, leopard 10.5.2.

 

Here is my kext too.

kext_builder_log.txt

iwi3945.kext.zip

Build 804

 

Javalui added alot of new things!! :D

 

No KP, No freezes (just when try to manually unload with the console).

No errors on manual load or Reboot.

Did 4 tests, manual load, manual add to network interfaces (didnt do auto), reboot with switch OFF, reboot switch ON, ( on the last one the card keeps scanning soooo much before load the system).

 

Can somebody explain (Pere) how to manually:

 

1) load the kext: like this?

 

/sbin/kextload /[PATH]/iwi3945.kext

 

 

2) add the interface.

 

What steps do you go through exactly?

 

 

So more people can produce clean logs...

 

CHeers, Tyn

new build from Jalavoui: (805?) I pulled your files into the project folder to compile as instructed.

 

iwi3945r805.kext.zip

 

New logs: booted with -x, manually started kext. Much different results. Been comparing my logs to that linux log of yours , and this line is totally new, and matches linux:Apr 23 12:14:22 Sony kernel[0]: IOPCCard info: iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels.

 

very cool.

 

my first 2 errors are:

 

Apr 23 12:14:22 Sony kernel[0]: error iwl3945: Error sending POWER_TABLE_CMD: time out after 500ms.Apr 23 12:14:22 Sony kernel[0]: iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0401, 16 bytes at 1[1]:4Apr 23 12:14:22 Sony kernel[0]: iwl3945: U iwl3945_send_cmd_sync Wait REPLY_BT_CONFIG Condition: 0ms leftApr 23 12:14:22 Sony kernel[0]: error iwl3945: Error sending REPLY_BT_CONFIG: time out after 500ms.ANo SCAN_COMPLETE_NOTIFICATION because of errors.

 

I wonder why I can't get a complete load like Pere. Off to more testing.

 

805syslogs.txt

Ok, here is the way i do, if its wrong, please correct me.

Downloaded Xcode from apple (last version)

http://developer.apple.com/tools/download/

Downloaded the repair permissions tools (attached) ,copy it to applications.

Then download the iwi files with the attached .command (everytime there is a new version i erase the whole folder it creates under my user folder before download)

Manually execute iwi3945.xcodeproj

Go to the build folder created by the builder program under iwi3945 in my user folder, go to debug into this folder and take a look to see whether the iwi3945.kext has been created.

Go to system preferences network and check there is an network connection en0 and its not active (

check its id to see its not iwi ones and dettach the cable).

Then restart to make the system loads without any network connection.

 

Now after rebooting:

 

1.Open again the iwi3945 folder under my user>build>debug, keep open.

2.Open too system/library/extensions keep open.

3.Then open the console and select show all messages, click on clean screen and watch there is no new messages and keep it open to see new messages.

4.Drag the kext from the debug folder to the extensions folder (previously erase any other iwi3945.kext may be inside and reboot to be sure the system starts clean).

5.Quickly execute repair and set permissions, once the program finish, the kext is loaded auto and the console begins to give output messages, copy them, save into a file.

6.Clean the console, go to system preferences>network, maybe you have a new adapter, click apply, check the console, get the new log.

7.If the new adapter dont appear, add manually (with the + symbol), maybe is the last network adaptor, you have to check the hardware id, go to applications>utilities and open system profiler>network, the new iwi adaptor must be en1 and there you can see its hardware id, compare with the one you have add to network..

8 if it is not en1, then you have to hardcode it to make osx always set it as en1, go to library>preferences>system configuration>networkinterfaces.plist and change the iwi hardware adress from any enX it is to en1 (and currently en1 to the one iwi was using), restart.

9.After some clean reboots with the kext loaded, go to console,system.log and copy it,post here.

 

Sorry if has been a soooo long explanation, but with the normal log commands i always get blank logs, so i have to do it like this. :D

 

Hope it helps.

Repair___Set_Permissions_1.0.zip

Download_Iwi_svn.command.zip

Built the latest from your attachments.

 

iwi3945r806.kext.zip

 

mine gets stuck in a scan loop of sorts, no matter how I test. (-s, -x, full boot) You can see what's happening within the first 10 lines of the iwl entries. no KP in any boot mode either.

 

 

 

806syslog.txt

mlazy,

there's no usefull data in your logs

can you try after boot to load it with kextload?

i need inital driver starttup log lines

the scan is called after the driver calls enable()

maybe if you delete iwi3945.kext,en1,reboot,kextload,apply en1 will give this logs

 

 

iwi3945 rel 805

manage to upload the files

it's the same code as mlazy build

 

ok, here's a good and simple way to test this:

1) delete any iwi3945 interface from system preferences -> network

2) delete iwi3945.kext and reboot

3) build in xcode and use kextload to load it

open console->system.log. you'll see the msg "check first up bla bla bla)

4) open sys prefs -> networks and press apply

the drive will start working

Guest
This topic is now closed to further replies.
×
×
  • Create New...