linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shaddy Baddah <shaddy_baddah@hotmail.com>
To: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: Michael Buesch <mb@bu3sch.de>, linux-wireless@vger.kernel.org
Subject: Re: zd1211rw (2.6.26 sparc64): unaligned access (zd_mac_rx)
Date: Sun, 26 Oct 2008 02:13:06 +1100	[thread overview]
Message-ID: <49033782.5040701@hotmail.com> (raw)
In-Reply-To: <20081025112813.GC12252@Chamillionaire.breakpoint.cc>

Hi Sebastian,

Sebastian Andrzej Siewior wrote:
> * Michael Buesch | 2008-10-25 13:25:07 [+0200]:
> 
>> On Saturday 25 October 2008 13:21:47 Sebastian Andrzej Siewior wrote:
>>> -	fc = *(__le16 *)buffer;
>>> +	fc = get_unaligned_le32(buffer);
>> I'd say this semantically changes the code.
> argh,
> sorry,
> 
> Subject: [PATCH] wireless/zd1211rw: use  get_unaligned_le16 helper (v2)
> 
> Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

After applying this patch, things seem better. I can associate to an 
open access point, get an IP address and even ping.

However on association, I am still seeing:


[  179.249516] zd1211rw 4-3:1.0: zd_usb_rfwrite() value 0x01e6666 bits 24
[  179.254524] wlan0: Initial auth_alg=0
[  179.254549] wlan0: authenticate with AP XX:XX:XX:XX:XX:XX
[  179.256215] Kernel unaligned access at TPC[10129b94] 
zd_mac_rx+0x174/0x320 [zd1211rw]
[  179.349135] Kernel unaligned access at TPC[10129b9c] 
zd_mac_rx+0x17c/0x320 [zd1211rw]
[  179.442852] Kernel unaligned access at TPC[10129ba0] 
zd_mac_rx+0x180/0x320 [zd1211rw]
[  179.536579] Kernel unaligned access at TPC[10129ba4] 
zd_mac_rx+0x184/0x320 [zd1211rw]
[  179.630306] Kernel unaligned access at TPC[10129ba8] 
zd_mac_rx+0x188/0x320 [zd1211rw]
[  179.727277] wlan0: RX authentication from XX:XX:XX:XX:XX:XX (alg=0 
transaction=2 status=0)
[  179.727302] wlan0: authenticated
[  179.727318] wlan0: associate with AP XX:XX:XX:XX:XX:XX
[  179.727440] wlan0: associate with AP XX:XX:XX:XX:XX:XX
[  179.736350] wlan0: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x421 
status=0 aid=12)
[  179.736380] wlan0: associated
[  179.736421] wlan0: CTS protection enabled (BSSID=XX:XX:XX:XX:XX:XX)
[  179.736440] wlan0: switched to short barker preamble 
(BSSID=XX:XX:XX:XX:XX:XX)
[  179.736521] zd1211rw 4-3:1.0: zd_op_bss_info_changed() changes: 7
[  179.736666] wlan0: association frame received from XX:XX:XX:XX:XX:XX, 
but not in associate state - ignored
[  179.737404] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  179.807280] zd1211rw 4-3:1.0: zd_chip_set_rts_cts_rate_locked() 
preamble=1

and when I start pinging the AP, this starts chiming in:

[  240.139093] Kernel unaligned access at TPC[100f7f44] 
sta_info_get+0x24/0x68 [mac80211]
[  240.233255] Kernel unaligned access at TPC[100f7f48] 
sta_info_get+0x28/0x68 [mac80211]
[  240.328015] Kernel unaligned access at TPC[100f7f50] 
sta_info_get+0x30/0x68 [mac80211]
[  240.422771] Kernel unaligned access at TPC[100f7f44] 
sta_info_get+0x24/0x68 [mac80211]
[  240.517554] Kernel unaligned access at TPC[100f7f48] 
sta_info_get+0x28/0x68 [mac80211]

I also cannot get a full scan with:

iwlist wlan0 scanning

I get about 4 APs (I know there's more) then a bus error. This may be 
related to a similar problem that I was assisted with in my first round 
of posts last year, with regards to the wireless-tools. Perhaps the 
patches still haven't made it downstream?

Thanking you for help,
Shaddy


  parent reply	other threads:[~2008-10-25 15:13 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-25  8:54 zd1211rw (2.6.26 sparc64): unaligned access (zd_mac_rx) Shaddy Baddah
2008-10-25  9:17 ` Johannes Berg
2008-10-25 11:25   ` Sebastian Andrzej Siewior
2008-10-25 12:05     ` Johannes Berg
2008-10-26 22:00       ` Sebastian Andrzej Siewior
2008-10-27  7:00         ` Johannes Berg
2008-10-25 11:21 ` Sebastian Andrzej Siewior
2008-10-25 11:25   ` Michael Buesch
2008-10-25 11:28     ` Sebastian Andrzej Siewior
2008-10-25 11:31       ` Michael Buesch
2008-10-25 11:38         ` Sebastian Andrzej Siewior
2008-10-25 15:13       ` Shaddy Baddah [this message]
     [not found]         ` <491589ED.4090904@hotmail.com>
2008-11-08 12:45           ` Shaddy Baddah
2008-11-08 13:11           ` Johannes Berg
     [not found]             ` <491653A6.20705@hotmail.com>
2008-11-09  3:06               ` Shaddy Baddah
     [not found]                 ` <49165436.4040306@hotmail.com>
2008-11-09  3:08                   ` Shaddy Baddah
2008-11-09 12:00                 ` Michael Buesch
2008-11-09  8:56               ` Johannes Berg
2008-11-09  9:03                 ` Johannes Berg
2008-11-09 12:02                   ` Michael Buesch
2008-11-09 18:31                     ` Johannes Berg
     [not found]                 ` <4916F1C0.1040703@hotmail.com>
2008-11-09 14:20                   ` Shaddy Baddah
     [not found]                   ` <49184F82.9070102@hotmail.com>
2008-11-10 15:13                     ` Shaddy Baddah
     [not found]                       ` <492F82EA.4030902@hotmail.com>
2008-11-28  5:34                         ` Shaddy Baddah
2008-11-28  7:10                           ` David Miller
2008-11-28 22:44                           ` Michael Buesch
     [not found]                             ` <49310454.60906@hotmail.com>
2008-11-29  8:59                               ` Shaddy Baddah
2008-11-29  9:50                               ` Johannes Berg
     [not found]                                 ` <49313C0E.9030309@hotmail.com>
2008-11-29 12:56                                   ` Shaddy Baddah
     [not found]       ` <492F856D.9020200@hotmail.com>
2008-11-28  5:45         ` Shaddy Baddah
2008-11-28  6:47         ` Harvey Harrison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49033782.5040701@hotmail.com \
    --to=shaddy_baddah@hotmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mb@bu3sch.de \
    --cc=sebastian@breakpoint.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).