Jump to content
3992 posts in this topic

Recommended Posts

need some serious help please... I downloaded the dmg file, mounted it, and clicked on the pkg file, from that moment I got a message saying I have to shut down my computer (long press on power), now every time I boot before it finishes booting I get the same message "You must shut down your computer" (Hard shutdown).

What happened ? how do I get out of it and uninstall whatever messed up ?

Anyone pleeease

need some serious help please... I downloaded the dmg file, mounted it, and clicked on the pkg file, from that moment I got a message saying I have to shut down my computer (long press on power), now every time I boot before it finishes booting I get the same message "You must shut down your computer" (Hard shutdown).

What happened ? how do I get out of it and uninstall whatever messed up ?

Anyone pleeease

 

Just boot with the card switched off using the switch on the front, that stops it as the driver doesnt run if the card is off, when you boot just delete the kext file from the extensions folder and reboot.

iwi3945

i've been looking at the linux driver logs

finally figure out how the cmd timeout works - they're very short

check if you get cmd timeouts - i think i need to try several values until this is free of bugs

i'll need to upload several versions of iwi3945 to find out this - anyone online for testing?

after this is done the driver will start doing usefull things :)

 

the card must be powered on to test this and

you need to disconnect other networks connections that might be active

 

if anyone as xcode and like to help this can be done much faster

the changes in the source code are quite easy

 

i don't expect the driver to panic so you can try in normal mode. boot with -s if you get a panic

 

this releases can be tested fast - just check in log if there are cmd timeouts or firmware errors and post system.log

iwi3945.dmg

iwi4965

 

Sorry to bug those who are working...

 

I trawled through at least 50 pages looking for the answer to this...

 

But a couple of months ago I could have sworn I saw that somebody with a HP DV2535 had a Hackintosh with wifi working... I know that that HP has a Intel 4965 wifi card...

 

Could somebody confirm or deny this please as I was going to purchase this card...

 

Thanks in advance

you're right - it doesn't load at all

can you try to load manually

boot

open terminal and type

kextload /system/library/extensions/iwi3945.kext

 

 

ok will try now

Bug in code, module is not loading. log:

 

emils-ks-computer:/System/Library/Extensions root# kextload -t iwi3945.kext/

kextload: extension iwi3945.kext/ appears to be valid

kld(): Undefined symbols:

__Z12iwl_send_cmdP8iwl_privP12iwl_host_cmd

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 iwi3945.kext/

load failed for extension iwi3945.kext/

(run kextload with -t for diagnostic output)

emils-ks-computer:/System/Library/Extensions root#

this is what i'm trying to do:

 

in function iwl_send_cmd() - need to find a iodelay value that don't cause firmware errors -> should be short as seen in linux logs

the driver can send several commands in just one second

 

rc = 0;/*wait_event_interruptible_timeout(priv->wait_command_queue,

!(priv->status &

STATUS_HCMD_ACTIVE),

HOST_COMPLETE_TIMEOUT);*/

while (priv->status & STATUS_HCMD_ACTIVE)

{

rc++;

IODelay(HOST_COMPLETE_TIMEOUT);

if (rc==HZ) break;

}

 

 

in function iwl_rx_handle() - don't need this hack this is to be sure that all received commands are reclaimed

 

/* No handling needed */

if (pkt->hdr.cmd!=0) reclaim=1;//hack

IWL_DEBUG_HC("UNHANDLED - #0x%02x %s\n",

pkt->hdr.cmd,

get_cmd_string(pkt->hdr.cmd));

iwi3945.dmg

...

 

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0400, 16 bytes at 0[0]:4

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl_rx_handle UNHANDLED - #0x9b REPLY_BT_CONFIG

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl_commit_rxon Sending RXON

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl_enqueue_hcmd Sending command REPLY_RXON (#10), seq: 0x0401, 48 bytes at 1[1]:4

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: : Error sending REPLY_RXON: time out after 50000ms.

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: : Error setting new configuration (-60).

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: iwl_alive_start ALIVE processing complete.

Oct 30 23:38:57 emils-ks-computer kernel[0]: iwi3945: : Microcode HW error detected. Restarting.

 

in this log i can see that REPLY_BT_CONFIG command pass ok

but REPLY_RXON: fails

after this the driver gets firmware errors and all commands start to fail

i'll make several versions with other timeout values and upload

in one week ill be able to put logs, after midterms, i still get that cannot control 2 thing so i have to re-install, no time now, but in 1 week itll b show time! good job everyone, i find this project has got a swift kick in the butt over the last 2 weeks, way more testers.

Well im happy to run tests as a lot of ppl are, we all want a working wireless driver for osx and maybe with more ppl testing the goal may come sooner rather than later :)

jalavoui , thanx for ur fantastic work. I was wondering if u could port ur ability to an AGP driver? and even better if u had any knowledge in iphone code. I know it's a little bit out of topic, but man u r really good in code. Cheers.

iwi3945

3 versions to test

i've changed in code:

 

while (priv->status & STATUS_HCMD_ACTIVE)

to

while (clone->priv->status & STATUS_HCMD_ACTIVE)

 

maybe this is a simple bug of trying to get a value of a static member

 

cyclonefr,

post a link to it so i can check

iwi3945_1.dmg

iwi3945_2.dmg

iwi3945_3.dmg

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