Jump to content
3411 posts in this topic

Recommended Posts

kernel panic from rev 663

 

if you get this them the driver is start working :rolleyes:

looks like the panic occurs when the driver finish scanning and try to associates to the network

 

 

iwi3945 rel 664

ok - try this one

it's better to test this by booting with -s

need more logs for iwi3945

 

i think i get waht's wrong in the driver:

 

the iwl3945_mac_xxx functions aren't called

the driver need some of this functions to be correctly configured

i don't know if i can fix this without the card...

 

my guess is pci_register_driver() is wrong

it should have some of the code from ieee80211_open()

 

ok -i'll try this and upload to the svn tree

 

done

 

iwi3945 rel 665

i've added ieee80211_open()

this will make other functions to start working

i think i'll need TNW to make this work

tried 664, but since I don't have xcode, I did with .dmg, but Installation doesn't go as with kext.. these are two output i had problems with. can you tell me what I've done wrong?thanks.tried 664, but since I don't have xcode, I did with .dmg, but Installation doesn't go as with kext.. these are two output i had problems with. can you tell me what I've done wrong?thanks.

out_kextload_iwi.txt

output_networkSelector.txt

i get the same screen as sosuke and Im getting the KP at start too, couldtn get any logs either

i booted in safe boot and saved the system log, i dont know if it's of any use but here it is

 

PD: TNW Please help, i think u guys are so close to make this work

system.txt

Hi ,

I'm so sorry but at this moment , I can't help you.

First because I'm in Hollyday and I haven't my computer , I've an other old computer.

 

And I'm working on an other driver for this old computer XD (SiS900 the driver is quite to be finished in only one day , ethernet driver I love you! :q)

 

I hope that Jalavoui finish it soon.

 

So Good luck all.

 

PS: I'am connected trough a crappy cable modem with usb Grrr

ok well unlike everyone else here i have no problem with my system KP'ing on me. my issue is that the .kext doesnt load something about a mem error when executing it. and when i go into my sys preferances it still doesnt detect the card. so am i doing something wrong? oh and also this is the error i get when i run the network selector:

 

 

saac-whites-mac-pro:~ IsaacWhite$ /Applications/networkSelector ; exit;

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

Illegal instruction

logout

 

[Process completed]

 

and this is the error i get during the boot up process:

kld_load_from_memory() failed for module /System/Library/Extensions/iwi3945.kext/Contents/MacOS/iwi3945

 

Apr 3 23:17:59 localhost kextd[41]: a link/load error occured for kernel extension /System/Library/Extensions/iwi3945.kext

 

i know that the kext is there because i double check it. if i knew how to do a sys log i would do that to help. but if anyone can help me get my setup to the point where it atleast recognizes and sees the card it would be greatly appreciated.

 

HackerZac

*hacking is the way to go*

 

HP Pavilion

DV9207us

Core Duo 1.73Ghz

3gb DDR2 533

WD1200BEVS-Running Vista Enterprise

WD1600BEVS-Running Kalyway OsX 10.5.2

Intel 3945abg

GeForce Go 7600 256mb

iwi3945 rel 666

need help to debug this

boot with -s to test

 

 

one question:

I use to save the new driver dir into a usb-pendrive, to port them on Hackintosh.

if I boot as single user, how can I mount the pen? and in which dir should I find that?

 

thanks..

iwi3945 rel 669

 

add station code to allow driver start scanning, associating to networks

don't know when this is work...

 

well at least the logs are right :)

 

since you have xcode and the card maybe you can check where the driver panics

check ieeee80211_open() and add some debug msgs to cache the kp

if you can do this i can make the driver work much faster

 

you can capture the panic by adding IOLog("x\n"); messages to code

here's an example:

 

static int ieee80211_open(struct net_device *dev)

{

IM_HERE_NOW();

 

struct ieee80211_sub_if_data *sdata, *nsdata;

struct ieee80211_local *local = (ieee80211_local*)wdev_priv(dev->ieee80211_ptr);

struct ieee80211_if_init_conf conf;

int res;

 

sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev);

IOLog("1\n");

//read_lock(&local->sub_if_lock);

list_for_each_entry(nsdata, &local->sub_if_list, list) {

struct net_device *ndev = nsdata->dev;

 

if (ndev != dev && ndev != local->mdev /*&& netif_running(ndev)*/ &&

compare_ether_addr(dev->dev_addr, ndev->dev_addr) == 0 &&

!identical_mac_addr_allowed(sdata->type, nsdata->type)) {

//read_unlock(&local->sub_if_lock);

return -1;//-ENOTUNIQ;

}

}

//read_unlock(&local->sub_if_lock);

IOLog("2\n");

if (sdata->type == IEEE80211_IF_TYPE_WDS &&

is_zero_ether_addr(sdata->u.wds.remote_addr))

return -ENOLINK;

IOLog("3\n");

if (sdata->type == IEEE80211_IF_TYPE_MNTR && local->open_count &&

!(local->hw.flags & IEEE80211_HW_MONITOR_DURING_OPER)) {

/* run the interface in a "soft monitor" mode */

local->monitors++;

local->open_count++;

//local->hw.conf.flags |= IEEE80211_CONF_RADIOTAP;

return 0;

}

//ieee80211_start_soft_monitor(local);

IOLog("4\n");

conf.if_id = dev->ifindex;

conf.type = sdata->type;

conf.mac_addr = dev->dev_addr;

res = local->ops->add_interface(local_to_hw(local), &conf);

IOLog("4\n");

if (res) {

if (sdata->type == IEEE80211_IF_TYPE_MNTR)

ieee80211_start_hard_monitor(local);

return res;

}

IOLog("5\n");

if (local->open_count == 0) {

res = 0;

IOLog("6\n");

tasklet_enable(&local->tx_pending_tasklet);

tasklet_enable(&local->tasklet);

IOLog("7\n");

if (local->ops->open)

res = local->ops->open(local_to_hw(local));

IOLog("8\n");

if (res == 0) {

res = 0;//dev_open(local->mdev);

if (res) {

if (local->ops->stop)

local->ops->stop(local_to_hw(local));

} else {

res = ieee80211_hw_config(local);

IOLog("9\n");

if (res && local->ops->stop)

local->ops->stop(local_to_hw(local));

//else if (!res && local->apdev)

// dev_open(local->apdev);

}

}

IOLog("10\n");

if (res) {

if (local->ops->remove_interface)

local->ops->remove_interface(local_to_hw(local),

&conf);

return res;

}

}

local->open_count++;

IOLog("11\n");

if (sdata->type == IEEE80211_IF_TYPE_MNTR) {

local->monitors++;

//local->hw.conf.flags |= IEEE80211_CONF_RADIOTAP;

} else

ieee80211_if_config(dev);

 

/*if (sdata->type == IEEE80211_IF_TYPE_STA &&

!local->user_space_mlme)

netif_carrier_off(dev);

else

netif_carrier_on(dev);*/

IOLog("12\n");

netif_start_queue(dev);

IOLog("13\n");

return 0;

}

 

if you do this when you get a kernel panic i can finish the driver much faster

oh my god thats like the closest i have seen it get. looks to me like it is also detecting the network channels as it loads. sweet were getting closer!!.

now i do have a question for you... how the hell did you get it to do that cause i have followed the instructions to the Tee and i still cant get it to even load the kext. so can someone help me??

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