Jump to content
3411 posts in this topic

Recommended Posts

I'll reboot and test. Please wait for the results
679 KP screenshot. I hadn't managed to get dmesg messages.One time I had something like Sousuke had in his dmesg, but that process didn't stopped, and I tried to kextunload it :)Another one didn't included dumps, but lots of strings "nic held" or smth like that.Here is the screenshot of its endpost-180911-1207766037_thumb.jpgI've discovered one more interesting thing. Seems like of card was enabled from somewhere else it begins scan and KPs over some time.If it's disabled, it gives the result as in my previous screens. So I think KP isn't in scan procedure
Compiling...

 

Undefined symbol:_rate_control_simple_init

 

try to add rc80211_simple.c to the project:

- right click on "added code"

->Add -> Existing file

it's in main iwi3945 folder

 

anyone can build ?

 

ok...

 

iwi3945 rel 681

canged xcode proj

Added file, new error:

_IEEE80211_DEV_TO_SUB_IF

undefined symbol

 

 

Fixed that in working copy.

added #define IEEE80211_DEV_TO_SUB_IF(dev) netdev_priv(dev)

to defines.h

 

If you add me to project, I can commit.

 

 

UPDATE: about 15 mins of loaded kext, no KP

added #define IEEE80211_DEV_TO_SUB_IF(dev) netdev_priv(dev)

to defines.h

 

pm with your gmail account so i can add you to the iwidarwin project

 

iwi3945 rel 682

looks like the rate new file isn't call after all... - i'll leave it for now

changed debug level to check kp. it nows show all lines after using kextload

ieeeopen is causing the kp - need to check all calls inside this. this can't be hacked the driver works based on this code. can you try to fix this?

pm with your gmail account so i can add you to the iwidarwin project

 

iwi3945 rel 682

looks like the rate new file isn't call after all... - i'll leave it for now

changed debug level to check kp. it nows show all lines after using kextload

ieeeopen is causing the kp - need to check all calls inside this. this can't be hacked the driver works based on this code. can you try to fix this?

 

I'll try. I'm not sure I understand all calls structure though.

682 installs perfectly but in network selector i get Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100Illegal instructionlogout[Process completed]hope it helpsBTW: It did not show anything new in the network preferences as well

iwi3945 rel 683

less debug msg will help catch the ieeopen bug

use kextload to load the driver and get log lines

 

Developing

if you like to help developing grab the svn code and try to fix it

post result here

LOGS AND NETWORK IMAGE.

NET.tiff

NETSEL.tiff

dmesg.txt

ioreg.txt

system.txt

 

 

kext worked in terminal while osx was running.

after installing the kext and rebooting.

osx got kp.

second boot work for about 6-7 min and got hang.

boot with -x. got kp after few min.

iwi3945 rel 684

the debug msg are wrong

i've commited the change to svn - again

i need to see first debug msg of system.txt

 

leave dhcp in sys prefs alone

the driver only needs to be detected in sys prefs - do this after using kextload

don't need other changes

and...

disable other network interfaces before testing

 

 

driver status

 

the driver is scanning

but

not in the right place , i.e, it is not called by the right functions

this is why it is unable to join networks and start receiving/sending data packets

iwi3945 rel 685

added code for tx data and other functions missed

need help debuging - this release is all it takes to start making iwi3945 work :D

if you have the card and run a few tests you'll find what's wrong - easy to fix

***-*********-macintosh:~ *******$ sudo kextload -t /System/Library/Extensions/iwi3945.kext

kextload: extension /System/Library/Extensions/iwi3945.kext appears to be loadable

kld(): Undefined symbols:

__Z10mbuf_copymP6__mbufmmjPS0_

__Z10mbuf_flagsP6__mbuf

__Z11mbuf_setlenP6__mbufm

__Z12ctl_registerP12kern_ctl_regPPv

__Z12mbuf_prependPP6__mbufmj

__Z12mbuf_setdataP6__mbufPvm

__Z15mbuf_pkthdr_lenP6__mbuf

__Z17mbuf_leadingspaceP6__mbuf

__Z18mbuf_pkthdr_setlenP6__mbufm

__Z18mbuf_trailingspaceP6__mbuf

__Z21mbuf_data_to_physicalPv

__Z8mbuf_adjP6__mbufi

__Z8mbuf_lenP6__mbuf

__Z9mbuf_dataP6__mbuf

__Z9mbuf_typeP6__mbuf

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

link/load failed for extension /System/Library/Extensions/iwi3945.kext

(run kextload with -t for diagnostic output)

 

Dont know what to do?

iwi3945 - for developers only

 

at this time the driver needs to be debugged in order to find out why it fails to load

from logs you can see that it recovers from this bug but this is preventing the driver to work as expected

i can't continue to work on the driver until someone with the card help me on this

some tips:

 

- change the debug to have more/less debug output

static int iwl3945_param_debug = 0;//0xffffffff & ~(IWL_DL_IO | IWL_DL_ISR | IWL_DL_POWER | IWL_DL_TEMP | IWL_DL_INFO);

 

- check ieee80211_open()

Quick System Brakedown:

System : Gateway MX6920

OSX : 10.5.1 - iATKOS flavor.

 

I installed the dmg looked in my sys pref and didn't see any new nics

so I went to the network selector and ran, I got this:

 

login: Fri Apr 11 12:28:01 on ttys000

/Applications/networkSelector ; exit;

damians-mx6920:~ Damian$ /Applications/networkSelector ; exit;

Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100

Illegal instruction

logout

 

[Process completed]

 

do i need to run sudo on network selector?

 

I ran logs collector (I had to run that as sudo) here are my logs

dmesg.txt

ioreg.txt

system.txt

iwi3945 rel 686

i think i figured what's wrong

hope this works

if you get errors in log (like Sousuke) reboot and use kextload again to test

i don't know why the driver sometimes works and sometimes don't - reboot seems to fix it

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