Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

171 Pages V  « < 55 56 57 58 59 > »   
Closed Topic Start new topic
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development*
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
the timer code is very wrong - gives kp on driver start
i'll try a fix

i need a linux log of iwl3945 - i don't see none usefull. note ipw3945 is a old driver i need iwl3945

iwi3945 rel 764
timer functions -> don't know if work is os x 10.5
i think this is the reason for the driver don't work
test with -x
i'm expecting some KP


iwl3945 linux log
what i need is a log like this:
http://www.intellinuxwireless.org/bugzilla...ent.cgi?id=1166
this log is older tham our mac os x version but i can see that the driver starts a scan by calling
ieee80211_sta_work
and this will depend on the timer functions...
there might be some bugs related with tx functions

iwi3945 driver status
very very unknown

iwi3945 rel 765
fix a bug in test_and_clear_bit
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 90
  • Joined: 12-April 08
  • Member No.: 213,966
how can I get you a linux log?
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 8
  • Joined: 17-April 08
  • Member No.: 216,541
Please keep in mind that the linux driver doesn't always enable the card. Sometimes the kernel spits a "NIC is in deep sleep" error and you have to reboot (a few times) to make it work!

Logs after modprobe iwl3945 debug=0xfffffff
and connecting to my AP with WAP encryption

To get more detailed logs it seems we need to compile a kernel with debugging enabled...

CODE
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0b:00.0 to 64
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy2: Selected rate control algorithm 'iwl-3945-rs'
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:12:17:6f:db:b2
wlan0: RX authentication from 00:12:17:6f:db:b2 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:12:17:6f:db:b2
wlan0: RX AssocResp from 00:12:17:6f:db:b2 (capab=0x411 status=0 aid=3)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: no IPv6 routers present
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2)
wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2)
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
do you get a kp with this release?
where?
i'd like to post a new one
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 146
  • Joined: 28-April 07
  • Member No.: 104,181
765 for testing:

Attached File  iwi3945r765.kext.zip ( 238.15K ) Number of downloads: 52


Jalavoui: kextload fails:

kextload: extension iwi3945.kext appears to be loadable
kld(): Undefined symbols:
_IOPCCardAddTimer
_IOPCCardDeleteTimer
kextload: kld_load_from_memory() failed for module /iwi3945.kext/Contents/MacOS/iwi3945
kextload: a link/load error occured for kernel extension iwi3945.kext
link/load failed for extension iwi3945.kext
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 90
  • Joined: 12-April 08
  • Member No.: 213,966
I tried out your kext mlazy with the same error:

kextload: extension iwi3945.kext appears to be loadable
kld(): Undefined symbols:
_IOPCCardAddTimer
_IOPCCardDeleteTimer
kextload: kld_load_from_memory() failed for module /Users/drandre/Desktop/iwi3945.kext/Contents/MacOS/iwi3945
kextload: a link/load error occured for kernel extension iwi3945.kext
link/load failed for extension iwi3945.kext
(run kextload with -t for diagnostic output)

Im going to run the diagnostic now bbsoon
EDIT: diagnostic shows nothing
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 146
  • Joined: 28-April 07
  • Member No.: 104,181
Jalavoui,

I booted from my Ubuntu live cd and grabbed the whole syslog. the only entries for my card were:

Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Intel® PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp
Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Intel® PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp
Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Copyright© 2003-2006 Intel Corporation
Apr 19 20:45:50 ubuntu kernel: [17179655.772000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Apr 19 20:45:50 ubuntu kernel: [17179655.772000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Apr 19 20:45:50 ubuntu kernel: [17179657.996000] ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels)


Should I do something in Ubuntu to make the driver load more/differently?

Attached File  syslog.zip ( 9.48K ) Number of downloads: 6
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
QUOTE (mlazy @ Apr 19 2008, 09:03 PM) *
Apr 19 20:45:50 ubuntu kernel: [17179657.996000] ipw3945


this is a very old driver - try iwl3945 1.2.23 wich is the same as the version we're working.
if you take a look to the linux log i post you'll understand what iwi3945.kext is expected to do

iwi3945 rel 769
i'm trying to make timers work
i need someone to look at this code, run a few tests and change it to make it work
the driver will not work without this

look at:
setup_timer(&ifsta->timer, ieee80211_sta_timer,(unsigned long) sdata);
i think this is were all the driver magic happens

the problem:
all xxx_timer functions aren't tested and need to be fixed

there are several ways to write these code - hope someone can help
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 56
  • Joined: 17-March 08
  • Member No.: 200,832
wow... all of a suddent the board stopped moving... is it down or somethin' ?
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 289
  • Joined: 20-April 06
  • From: Romania
  • Member No.: 35,438
Revision 769
iwi3945:

Version: 1.0.0d1
Last Modified: 4/20/08 9:57 AM
Get Info String: Copyright Joel Thomas 2005
Location: /System/Library/Extensions/iwi3945.kext
kext Version: 1.0.0d1
Load Address: 0x354cd000
Valid: Yes
Authentic: Yes
Dependencies: Satisfied
Integrity: Unknown

And some logs in different stages of boot and networkSelector used: [attachment=26072:769.zip]
By the way ... no more system freezes, no more kernel panic
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 26
  • Joined: 10-December 07
  • From: The Netherlands
  • Member No.: 161,498
No more KP's or freezes, it just scans... (No KP on boot, manual kextload etc.).

In system.log it's just scanning. Nothing else.
I'll post my system.log now.

Nicely done!

EDIT: It's scanning for almost 1 hour... So I think it works now!!! The next step: select a network

My on/off switch also works.When I switch it of, it stops scanning, when I switch it back on, It starts scanning again! (only the light doesn't work, but that was a common problem with most of the cards I ment.)
Attached File(s)
Attached File  systemlogrev769.txt ( 598.57K ) Number of downloads: 33
 
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 160
  • Joined: 2-September 07
  • Member No.: 131,655
I'm sooo exited ! biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
QUOTE (rubinho93 @ Apr 20 2008, 09:42 AM) *
In system.log it's just scanning. Nothing else.
I'll post my system.log now.


goto console and use reload to get log lines from driver first load stage - this logs don't help


iwi3945 rel 770
the timers aren't working - this is no easy code
to see if the driver scan see the linux log i've posted - no false alarms please
i'm expecting kp
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 26
  • Joined: 10-December 07
  • From: The Netherlands
  • Member No.: 161,498
QUOTE (jalavoui @ Apr 20 2008, 11:21 AM) *
goto console and use reload to get log lines from driver first load stage - this logs don't help


Ok, I'll try that. (my system is just crashed, it automaticly installed the graphics update for some reason. I'm restoring my laptop from a time machine backup now.)
BTW, I mentioned, when I shut down my computer it continues scanning for 2 minutes or so. After it did that, it shuts down.
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 289
  • Joined: 20-April 06
  • From: Romania
  • Member No.: 35,438
Logs 770 [attachment=26078:770.zip]
jalavoui at first load ... kp after 10 minutes
second boot with -s
check_firstup
connect
request scan - diabled!
check_firstup
check_firstup
disconnect
Now i am after a normal boot ... no KP ... see the logs and tell me if are useful
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
iwi3945 rel 771
this version as less debug output
test with -x if get a KP
networkselector is disabled
if you get errors in system.log try a few reboots
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 9
  • Joined: 7-April 08
  • Member No.: 211,402
Testing 771

KP with normal boot

Boot -x then kextload, logs attached.

Attached File  system.txt ( 40.79K ) Number of downloads: 17
Attached File  ioreg.txt ( 29.93K ) Number of downloads: 4
Attached File  dmesg.txt ( 4K ) Number of downloads: 2


Let me know if you want a screenshot of the kp or if you need different logs.
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
this code is so wrong...
i'll try to fix it
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 2
  • Joined: 20-April 08
  • Member No.: 218,225
Sorry,
but how can I get the latest rev of iwi3945.kext and what are the steps to install them?
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 17
  • Joined: 18-April 07
  • Member No.: 101,792
http://forum.insanelymac.com/index.php?showtopic=71779
PM Profile Card
Go to the top of the page
+ Quote Post
171 Pages V  « < 55 56 57 58 59 > » 
Closed Topic Start new topic

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 03:37 AM