Bug 154773

Summary: wlan0: Error -5 writing packet to BAP with NETGEAR MA311
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Michael Seiwert <mseiwert>
Component: NetworkAssignee: Jiri Benc <jbenc>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: mseiwert
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: boot.msg
hwinfo --wlan
300 lines of /var/log/messages
Patch

Description Michael Seiwert 2006-03-02 17:50:18 UTC
Hi,

I'm getting this errors after being online for several days (>2days). This does not happen with windows xp, so the hardware seems to be ok. The system gets unusable slow after klogd reports the first line of errormessage . The machine has to be cold started, rcnetwork restart doesn't seem to help. For me this sounds like a memory leak ? Any ideas ? I'm using orinoco_pci kernel module. WLAN NIC is a Netgear MA311, kernel-default-2.6.13-15.8.


 Mar  2 17:10:38 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  2 17:10:38 berkeley kernel: hermes @ f9932000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  2 17:10:38 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  2 17:10:38 berkeley kernel: hermes @ f9932000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  2 17:10:38 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  2 17:10:38 berkeley kernel: hermes @ f9932000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  2 17:10:38 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  2 17:10:38 berkeley kernel: hermes @ f9932000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  2 17:10:38 berkeley kernel: wlan0: Error -5 writing packet to BAP
Comment 1 Michael Gross 2006-03-03 14:32:08 UTC
Please attach: `hwinfo --wlan', /var/log/boot.msg and 300 lines of your syslog.
Comment 2 Michael Seiwert 2006-03-03 14:47:25 UTC
Created attachment 71158 [details]
boot.msg
Comment 3 Michael Seiwert 2006-03-03 14:47:58 UTC
Created attachment 71159 [details]
hwinfo --wlan
Comment 4 Michael Seiwert 2006-03-03 14:48:33 UTC
Created attachment 71160 [details]
300 lines of /var/log/messages
Comment 5 Michael Seiwert 2006-03-03 14:50:21 UTC
Attached the requested infos, hope they are correct.
Have a nice weekend!

Michael
Comment 6 Michael Gross 2006-03-06 09:23:56 UTC
Vladimir: Can you help here? If not, assign it back to us.
Comment 7 Vladimir Nadvornik 2006-03-06 11:26:06 UTC
Sorry, no idea.
Comment 8 Michael Gross 2006-03-06 13:20:18 UTC
Kernel-Maintainers: Any idea? Who could take care about this?
Comment 9 Olaf Kirch 2006-03-06 13:36:31 UTC
Wifi goes to Joachim Gleißner and Jiri Benc
Comment 10 Jiri Benc 2006-03-06 16:24:37 UTC
Does "iwpriv wlan0 force_reset" command help?
Comment 11 Michael Seiwert 2006-03-06 17:45:55 UTC
I havn't tried this one out yet. I'll try it out next time the error occurs. 
Comment 12 Michael Seiwert 2006-03-09 05:53:57 UTC
Errors came back after 3 days this time. I executed "iwpriv wlan0 force_reset" command and it seemed to work. Please see attached log.

 

 
Comment 13 Michael Seiwert 2006-03-09 05:54:43 UTC
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:16 berkeley kernel: hermes @ f992a000: BAP0 offset error: reg=0x4044 id=0x128 offset=0x44
Mar  9 06:45:16 berkeley kernel: wlan0: Error -5 writing packet to BAP
Mar  9 06:45:18 berkeley kernel: wlan0: Force scheduling reset!
Mar  9 06:45:18 berkeley kernel: wlan0: New link status: Connected (0001)
Comment 14 Jiri Benc 2006-03-09 17:33:09 UTC
Created attachment 72058 [details]
Patch

Attached patch should fix the problem. Will be submitted upstream.
Comment 15 Jiri Benc 2006-04-26 15:06:55 UTC
The patch is now in netdev tree and will be included in 2.6.18.
Comment 16 Michael Seiwert 2006-04-26 15:17:03 UTC
Thank you very much for fixing!