Jump to content
3992 posts in this topic

Recommended Posts

iwi2100

 

http://iwidarwin.googlecode.com/svn/trunk/...100/iwi2100.dmg

bugs found in all drivers

 

if you're getting kernel panics at boot

 

maybe it is because of the wrong settings in the info.plist fille

 

i found out that some hardware conflicts with the card

 

to fix this and avoid kernel panic edit info.plist and add only your card/vendor id

 

type ioreg -w0 in terminal to check for vendor/id

 

at this time all drivers should load and give no kernel panic

 

I used iwi2100 from link above and used IO8...kext and Apple8... framework from here:

 

http://download.yousendit.com/C73C5187474C07BA

Contains both Apple80211.framework and IO80211Family.kext from 10.4.7

 

Kext loaded and iwi2100 driver found at boot - but kernel panic stops my T40.

But first step done!

 

Boot messages:

Mar 4 10:55:55 localhost kernel[0]: iwi2100: disable 0 mode 0

Mar 4 10:55:55 localhost kernel[0]: iwi2100: darwin_iwi2100 iomemory length: 0x1000 @ 0xc0210000

Mar 4 10:55:55 localhost kernel[0]: iwi2100: darwin_iwi2100 virt: 0x1fe27000 physical: 0xc0210000

Mar 4 10:55:55 localhost kernel[0]: iwi2100: darwin_iwi2100 IRQ: 11, Vendor ID: 8086, Product ID: 1043

Mar 4 10:55:55 localhost kernel[0]: iwi2100: setPowerState to 200

 

You mentioned that Info.plist has to be edited based on my vendor/product id and kept only one there.

Which version is mine? 0x25278086?

 

Panic pic attached:

post-83066-1173033725_thumb.jpg

Hi,

 

I'm testing the latest dmg from this post: http://forum.insanelymac.com/index.php?sho...976&st=980#

 

The kext loads fine and even the airport icon appears. The mac address is correctly read out.

 

I'm also a bit confused about these log entries:

 

Mar 4 18:33:41 localhost kernel[0]: iwi3945: Memory Allocation failed - RLCiwi3945: Memory Allocation failed - RLCiwi3945: Memory Allocation failed - RLCiwi3945: Memory Allocation failed - RLCiwi3945: failed to allocate pci memory

Mar 4 18:33:42 localhost kernel[0]: iwi3945: HW & HW RF KILL supported in EEPROM.

Mar 4 18:33:43 localhost kernel[0]: iwi3945: 3945ABG card ucode DOWNLOAD FAILED

Mar 4 18:33:43 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started

Mar 4 18:33:43 localhost kernel[0]: iwi3945: 3945ABG card ucode download is good

Mar 4 18:33:43 localhost kernel[0]: display: Not usable

Mar 4 18:33:44 localhost kernel[0]: iwi3945: 3945ABG card ucode DOWNLOAD FAILED

Mar 4 18:33:44 localhost kernel[0]: iwi3945: 3945ABG card ucode download is good

Mar 4 18:33:44 localhost kernel[0]: iwi3945: bootstrap data image size is 0

Mar 4 18:33:44 localhost kernel[0]: iwi3945: bootstrap image in DATA memory is good

Mar 4 18:33:44 localhost kernel[0]: iwi3945: bootstrap instruction image size is 0

Mar 4 18:33:44 localhost kernel[0]: iwi3945: bootstrap image in INSTRUCTION memory is good

Mar 4 18:33:44 localhost kernel[0]: iwi3945: 3945ABG HW Version 0.0.241

 

Here are my log files.

 

Cheers,

 

Sascha

 

And thanks for the work already done!! :)

dmesg.txt

system.txt

ioreg.txt

Toshiba M400 here, 10.4.8 withe the kernel that is trying to add speedstep support

the last iwi3945 from google code (so I think with firmware in)

at boot it stops after the following...

 

Mar  4 20:56:49 localhost kernel[0]: iwi3945: disable 0 led 1 mode 0
Mar  4 20:56:49 localhost kernel[0]: iwi3945: darwin_iwi3945 iomemory length: 0x1000 @ 0xff9ff000
Mar  4 20:56:49 localhost kernel[0]: iwi3945: darwin_iwi3945 virt: 0x3cb80000 physical: 0xff9ff000
Mar  4 20:56:49 localhost kernel[0]: iwi3945: darwin_iwi3945 IRQ: 18, Vendor ID: 8086, Product ID: 4222
Mar  4 20:56:49 localhost kernel[0]: iwi3945: pci_id 0x42228086
Mar  4 20:56:49 localhost kernel[0]: iwi3945: : Detected Intel PRO/Wireless 3945ABG Network Connection
Mar  4 20:56:49 localhost kernel[0]: iwi3945: f/w package hdr ucode version = 0x8d687600
Mar  4 20:56:49 localhost kernel[0]: iwi3945: f/w package hdr runtime inst size = 4294924421
Mar  4 20:56:49 localhost kernel[0]: iwi3945: f/w package hdr runtime data size = 2825408767
Mar  4 20:56:49 localhost kernel[0]: iwi3945: f/w package hdr boot inst size = 1778384896
Mar  4 20:56:49 localhost kernel[0]: iwi3945: f/w package hdr boot data size = 3896535552
Mar  4 20:56:49 localhost kernel[0]: iwi3945: uCode file size 131085 too small
VGA: family specific matching fails
Mar  4 20:56:49 localhost kernel[0]: display: family specific matching fails
Mar  4 20:56:49 localhost kernel[0]: iwi3945: uCode instr len -42875 too large to fit in card
Mar  4 20:56:49 localhost kernel[0]: iwi3945: uCode data len -1469558529 too large to fit in card
Mar  4 20:56:49 localhost kernel[0]: iwi3945: uCode boot instr len 1778384896 too large to fit in card
Mar  4 20:56:49 localhost kernel[0]: iwi3945: uCode boot data len -398431744 too large to fit in card
Mar  4 20:56:49 localhost kernel[0]: iwi3945: Memory Allocation failed - RLCiwi3945: Memory Allocation failed - RLCALCinject: Starting.
Mar  4 20:56:49 localhost kernel[0]: ALCinject: Setting built-in=<data not shown>
Mar  4 20:56:49 localhost kernel[0]: ALCinject: Setting layout-id=<data not shown>
Mar  4 20:56:49 localhost kernel[0]: ALCinject: Setting PinConfigurations=<data not shown>
Mar  4 20:56:49 localhost kernel[0]: VGA: family specific matching fails
Mar  4 20:56:49 localhost kernel[0]: display: family specific matching fails
Mar  4 20:56:49 localhost kernel[0]: VGA: match category IOFramebuffer exists
Mar  4 20:56:49 localhost kernel[0]: iwi3945: Memory Allocation failed - RLCiwi3945: Memory Allocation failed - RLCiwi3945: failed to allocate pci memory
Mar  4 20:56:49 localhost kernel[0]: iwi3945: Waiting for ipw3945d to request INIT.
Mar  4 20:56:49 localhost kernel[0]: iwi3945: Intialize power
Mar  4 20:56:49 localhost kernel[0]: iwi3945: adjust power command flags
Mar  4 20:56:49 localhost kernel[0]: iwi3945: initialize rate scale window to 62
Mar  4 20:56:49 localhost kernel[0]: iwi3945: HW Revision ID = 0x2
Mar  4 20:56:49 localhost kernel[0]: iwi3945: ALM-MM type
Mar  4 20:56:49 localhost kernel[0]: iwi3945: SKU OP mode is basic
Mar  4 20:56:49 localhost kernel[0]: iwi3945: 3945ABG revision is 0xF1
Mar  4 20:56:49 localhost kernel[0]: iwi3945: Card M type B version is 0x2
Mar  4 20:56:49 localhost kernel[0]: iwi3945: HW & HW RF KILL supported in EEPROM.
Mar  4 20:56:49 localhost kernel[0]: iwi3945: getHardwareAddress <cancelled but it should be correct>
Mar  4 20:56:49 localhost kernel[0]: iwi3945: setPowerState to 2
Mar  4 20:56:49 localhost kernel[0]: iwi3945: configureInterface

ok so i IO80211.kext 10.4.7 is absolutely required, 10.4.8 kernel panic. Wanted to try and see if it would work under 10.4.8, but now its official, it wont. I will try later on tonight or tomorrow with 10.4.7

 

Thanks for the testing guys.

 

carpao, your log looks good, well maybe not ~good~, but a lot better :)

ok so i IO80211.kext 10.4.7 is absolutely required, 10.4.8 kernel panic. Wanted to try and see if it would work under 10.4.8, but now its official, it wont. I will try later on tonight or tomorrow with 10.4.7

 

Thanks for the testing guys.

 

carpao, your log looks good, well maybe not ~good~, but a lot better :D

 

I am sorry that I am not agree with you. May be you got panic in your system but it doesn't mean that it is official.

ok so i IO80211.kext 10.4.7 is absolutely required, 10.4.8 kernel panic. Wanted to try and see if it would work under 10.4.8, but now its official, it wont. I will try later on tonight or tomorrow with 10.4.7

 

Thanks for the testing guys.

 

carpao, your log looks good, well maybe not ~good~, but a lot better :P

 

BTW i'm using IO80211 from 10.4.7

>i've added changes to svn for iwi3945

>

>- add patatester mac address fix

>- changed ipw_read_ucode()

>

>trunk/...945/iwi3945.dmg[/url]

>about svn

 

OK, now in my system the mac address is right, but my original problem is the same: the card ethernet is riallocate in en1 the 3945 card is configurate as en0 but is not an airport port but like an another ethernet cable card ...

 

bye

marco

post-87580-1173090530_thumb.png

post-87580-1173090538_thumb.png

post-87580-1173090544_thumb.png

dmesg.txt

Hi,

 

thanks patatester but I'm already using the latest dmg release from jalavoui :-/

I think you're right that there's no firmware but where to get the latest release with it?

 

Can someone please point me to the latest release? I'm using JaS 10.4.6

 

Thanks in advance!! :unsure:

 

Cya

 

Sascha

ok so i IO80211.kext 10.4.7 is absolutely required, 10.4.8 kernel panic. Wanted to try and see if it would work under 10.4.8, but now its official, it wont. I will try later on tonight or tomorrow with 10.4.7

 

Thanks for the testing guys.

 

carpao, your log looks good, well maybe not ~good~, but a lot better :rolleyes:

We need to get it to work on 10.4.8, even if we do have to use alot of kexts/framework for .7

I'm using the 3945 kext on 10.4.8 with 8.8.1 kernel.

I'm only having the problem, i can't turn on my airport, I have a switch on my laptop, to turn the card on or off, could this give me the problem?

And if so, can it be fixed?

carpo, can you tell me where you found the io80211.kext in your 10.4.7 ? i have seached all over the apple web site and am not successfull.

 

many thanks.

 

 

I got only the kext from the link a previous message...

http://download.yousendit.com/C73C5187474C07BA

Contains both Apple80211.framework and IO80211Family.kext from 10.4.7

 

I think that there is no io80211.kext it is only an abbreviated form of citing io80211family.kext...

 

however I have no IO80211.kext on my computer :-D

Edited by carpao
I got only the kext from the link a previous message...

I think that there is no io80211.kext it is only an abbreviated form of citing io80211family.kext...

 

however I have no IO80211.kext on my computer :-D

 

 

carpo, many thanks for the feedback. i got the same link from someone else in this forum and it contains the io80211family.kext and apple80211.framework files. thanks for the clairifiaction about the io80211.kext abbreviation; it is confusing.

 

best regards

Mar 4 10:55:55 localhost kernel[0]: iwi2100: darwin_iwi2100 IRQ: 11, Vendor ID: 8086, Product ID: 1043

 

for the log you device is 0x10438086 - wich card is this?

 

 

iwi3945

 

the bug is at

 

int darwin_iwi3945::ipw_read_ucode(struct ipw_priv *priv)

{

struct ipw_ucode *ucode;

int rc = 0;

struct firmware *ucode_raw;

const char *name = "iwlwifi-3945.ucode"; /* firmware file name */

u8 *src;

size_t len;

 

/* data from ucode file: header followed by uCode images */

(void*)ucode_raw->data=(void*)ipw;

(void*)ucode = (void*)ucode_raw->data;

 

 

i've made this change to svn - not shure if will work

can somenoe check this function?

i believe the firmware file is ok - don't need to change for now

 

the build .dmg http://iwidarwin.googlecode.com/svn/trunk/...945/iwi3945.dmg

quote:deamobile

I'm using the 3945 kext on 10.4.8 with 8.8.1 kernel.

I'm only having the problem, i can't turn on my airport, I have a switch on my laptop, to turn the card on or off, could this give me the problem?

And if so, can it be fixed?

 

--------------------------

same here :)

Thanks for your efforts.

 

I am using a Panasonic T5 (Japeness Version, In US, it is Panasonic ToughBook)

The wireless card is also 3945ABG

 

with the lastest dmg file, it showed the icon right above.

but no connection :P

 

If anyone can indicate the thred link that how I can get SVN

I would please to offer them.

 

Thanks, again.

Here are the log's for the latest iwi3945 from SVN.

 

There is still some kind of Mac address problem:

Mar 5 20:48:58 localhost configd[62]: Error: WirelessGetInfo2() = 88001003

Mar 5 20:48:58 localhost configd[62]: Error: getGlobalMACAddress failed.

Mar 5 20:48:58 localhost configd[62]: Error: WirelessConfigure() = 88001003

Mar 5 20:48:58 localhost configd[62]: Error: initCardWithStoredPrefs failed.

 

And now there is no: Detected Intel PRO/Wireless 3945%s Network Connection in my logs.

 

i've put the wrong name in the firmware file - it should be iwlwifi.fw.h because that's where i get the firmware

 

sorry for the mess - but the code is taken from several souces

The variable still says: "iwlwifi-3945.ucode";

and the file in firmware/ is still ipw3945.ucode.h ?

 

- always try to use code from base.c - it's the latest - but

because of some functions use different headers - use ipw3945.c functions if base.c functions fails

this is important because the whole iwi project uses common functions not present in base.c

 

- basically try a copy/paste from linux functions into iwi3945.c / iwi3945.h and do small fixes will allow xcode to build without errors

Where can I find this base.c file?

system.txt

ioreg.txt

dmesg.txt

Edited by FlipHDK

FlipHDK, grab xcode if you dont already have it. Its very easy to use and you could help out a lot more that way. e.g. just trying to recompile with the proper firmware filename variable.

 

Im at work right now. I should have time to test the new changes from jalavoui later on tonight, fingers crossed.

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