Jump to content
3411 posts in this topic

Recommended Posts

830=immediate KP. I don't get logs:

 

Apr 25 11:36:53 Sony sudo[540]: super : TTY=ttys000 ; PWD=/Users/super/Desktop/iwi3945/830/build/Debug ; USER=root ; COMMAND=/sbin/kextload -t iwi3945.kext

 

On screen it shows iwi3945 Enable() as the last line, just after the kextload.

 

to others: when it panics like this toy need to open a terminal window before the kextload, and then tail -f your system.log to see what's happening. The panic happens before the log can be written sometimes.

 

My workflow:

 

1. boot with -x

2. open a terminal window (#1). cd to the kext.

3. open another terminal window. (#2) type "cd /var/log" hit enter, then type "tail -f system.log"

4. click on terminal #1. type "sudo kextload -t iwi3945.kext"

5. watch terminal #2 for ouptput.

6. if you can, take a pic, or write down what terminal #2 says behind the kp icon.

both cards as problems finish the ucode starttup sequence

search for this line in xcode:

ret = UCODE_READY_TIMEOUT*100;

and try other delay values - default value is ret = UCODE_READY_TIMEOUT;

this is very easy to test - report if you make it run without errors

use kextload to see inital drive log lines - this will show the errors

 

there are other ways to hack this: try

IOSleep(x); //replace x for 500, 1000 (=1second) 2000, etc

ret = UCODE_READY_TIMEOUT;

 

this is the main reason for the drivers fail to work - if it fails here everithing else don't work

 

iwi3945 rel 832

iwi4965 rel 833

test this releases first before hacking the code

happy hacking :)

 

if you search for this:

static int iwl3945_param_debug = 0xffffffff

this var controls the debug messages you get -> change it and you'll get less/more debug output

this can help filter messages to see if the hack works

oke i got kp after manual kextload rel 833, using a tail, il up a pic in 15 minutes, have to eat first...

 

oke cans up the pic: this is the last line before kp

 

iwl4965: U iwl4965_rx_scan_start_notif Scan start: 120 [802.11a] (TSF: 0X00000000:0015D8C4) - (beacon timer 54527804)

 

before thate ar blocks of the same log lines with ending with the above line, looks like a loop

Hey all,

 

Well I got my HackinTablet back to a working state. Most of the fixes I have done (audio, tablet stuff, etc.) have been well documented. Can anyone of the more senior posters show me their testing work flow, including how to get the test versions, so I can help give feedback and get a better idea of whats going on? If not I can go digging again and see if anything comes up this time around.

 

My card is the iwi3945

both cards as problems finish the ucode starttup sequence

search for this line in xcode:

ret = UCODE_READY_TIMEOUT*100;

and try other delay values - default value is ret = UCODE_READY_TIMEOUT;

this is very easy to test - report if you make it run without errors

use kextload to see inital drive log lines - this will show the errors

 

there are other ways to hack this: try

IOSleep(x); //replace x for 500, 1000 (=1second) 2000, etc

ret = UCODE_READY_TIMEOUT;

 

this is the main reason for the drivers fail to work - if it fails here everithing else don't work

 

iwi3945 rel 832

iwi4965 rel 833

test this releases first before hacking the code

happy hacking :blink:

 

if you search for this:

static int iwl3945_param_debug = 0xffffffff

this var controls the debug messages you get -> change it and you'll get less/more debug output

this can help filter messages to see if the hack works

 

 

i cant find that line jalavo ... where is it ? which file or in what function i need to try these values ... i'll test

oke i got kp after manual kextload rel 833, using a tail, il up a pic in 15 minutes, have to eat first...

 

oke cans up the pic: this is the last line before kp

 

iwl4965: U iwl4965_rx_scan_start_notif Scan start: 120 [802.11a] (TSF: 0X00000000:0015D8C4) - (beacon timer 54527804)

 

before thate ar blocks of the same log lines with ending with the above line, looks like a loop

 

 

oke it doesnt matter what value i use, i keep having a kp, so i cant help.

search for this

local->ops->hw_scan(local_to_hw(local),(u8*)"<hidden>", sizeof("<hidden>"));

and put

//local->ops->hw_scan(local_to_hw(local),(u8*)"<hidden>", sizeof("<hidden>"));

this is the kp

there's no point in startting a scan if the driver is unstable

 

Ruud,

you probably have found a good value already :D

 

Cxddev,

can you help? both drivers as this bug

search for this

local->ops->hw_scan(local_to_hw(local),(u8*)"<hidden>", sizeof("<hidden>"));

and put

//local->ops->hw_scan(local_to_hw(local),(u8*)"<hidden>", sizeof("<hidden>"));

this is the kp

there's no point in startting a scan if the driver is unstable

 

Ruud,

you probably have found a good value already :(

 

Cxddev,

can you help? both drivers as this bug

 

 

ok thanks, no kps now, but i don't get errors in the log, ill look into the scan function. To bad i always hated pointers etc.

I'm sure you're probably still in the process of uploading this but I noticed that the svn latest available for download from iwidarin is iwi3945r748. Is there a better place to get the latest or are you simply using a different revision terminology for the installs?

Anyway, your efforts will be rewarded by me for sure and I'm sure many others!

:(

 

i have a nice hack to test

i'll upload to svn

wait...

 

iwi3945 rel 834

iwi4965 rel 835

 

maybe a very nice hack :)

Ruud,

this log misses first load lines

but

i found a easy to fix bug

 

i'll upload a new version to svn

 

ok - lol version

 

iwi3945 rel 836

iwi4965 rel 837

 

try to get initial driver log lines (use kextload). i think sometimes the driver wants to work so fast that it loses the first lines - maybe in console -> system.log?

 

when i post a release here it's available in the svn tree - read some posts back to learn howto get it

Ruud,

this log misses first load lines

but

i found a easy to fix bug

 

i'll upload a new version to svn

 

 

well in one console im doing tail -f systemlog and in an other console kextload iwi4965.kext so what should i do to get those lines? i thought they should be in there when doing it this way.

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