[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1227163698.17336.12.camel@johannes.berg>
Date: Thu, 20 Nov 2008 07:48:18 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Christian Schulte <cs@...ulte.it>, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: WARNING: at net/mac80211/rx.c:388
__ieee80211_rx_handle_packet+0x1fe/0x627 [mac80211]()
On Wed, 2008-11-19 at 16:53 -0800, Andrew Morton wrote:
> (cc linux-wireless)
>
> On Tue, 18 Nov 2008 16:05:57 +0100
> Christian Schulte <cs@...ulte.it> wrote:
>
> > this is with the 2.6.27.6 iwl3945 module. Is it some misconfiguration on
> > my side ?
Yes.
config MAC80211_DEBUG_PACKET_ALIGNMENT
bool "Enable packet alignment debugging"
depends on MAC80211_DEBUG_MENU
---help---
This option is recommended for driver authors and strongly
discouraged for everybody else, it will trigger a warning
when a driver hands mac80211 a buffer that is aligned in
a way that will cause problems with the IP stack on some
architectures.
Say N unless you're writing a mac80211 based driver.
> > Nov 15 21:45:35 r60 kernel: WARNING: at net/mac80211/rx.c:388 __ieee80211_rx_handle_packet+0x1fe/0x627 [mac80211]()
> > Nov 15 21:45:35 r60 kernel: Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack ip_tables x_tables binfmt_misc fglrx(P) rfcomm l2cap uinput ipv6 ppdev parport_pc lp parport dm_snapshot dm_mirror dm_log dm_mod sbp2 loop pcmcia hci_usb joydev arc4 ecb crypto_blkcipher battery bluetooth ac bay video output psmouse yenta_socket rsrc_nonstatic serio_raw iwl3945 pcmcia_core mac80211 cfg80211 button snd_hda_intel snd_pcm snd_seq snd_timer snd_seq_device rng_core i2c_i801 snd iTCO_wdt pcspkr intel_agp soundcore snd_page_alloc agpgart evdev xfs sd_mod crc_t10dif ide_cd_mod cdrom ata_generic ata_piix ahci libata usbhid piix hid ohci1394 ide_core scsi_mod ff_memless ieee1394 dock tg3 libphy thermal fan ohci_hcd uhci_hcd ehci_hcd usbcore radeonfb fb_ddc i2c_algo_bit i2c_core acpi_cpufreq freq_table processor thermal_sys thinkpad_acpi rfkill led_class nvram
> > Nov 15 21:45:35 r60 kernel: Pid: 11033, comm: clamd Tainted: P 2.6.27.6-workstation #1
> > Nov 15 21:45:35 r60 kernel: [<c0123d26>] warn_on_slowpath+0x40/0x63
> > Nov 15 21:45:35 r60 kernel: [<f9684817>] ieee80211_wep_decrypt_data+0x72/0x81 [mac80211]
> > Nov 15 21:45:35 r60 kernel: [<c02caa65>] __lock_text_start+0x2d/0x33
> > Nov 15 21:45:35 r60 kernel: [<c026166b>] skb_queue_tail+0x11/0x2d
> > Nov 15 21:45:35 r60 kernel: [<f968ee00>] ieee80211_rx_irqsafe+0x2c/0x4f [mac80211]
> > Nov 15 21:45:35 r60 kernel: [<f975dc90>] iwl3945_pass_packet_to_mac80211+0x260/0x272 [iwl3945]
> > Nov 15 21:45:35 r60 kernel: [<f968f410>] ieee80211_rx_h_data+0x26/0x62 [mac80211]
> > Nov 15 21:45:35 r60 kernel: [<f9690a0c>] __ieee80211_rx_handle_packet+0x1fe/0x627 [mac80211]
> > Nov 15 21:45:35 r60 kernel: [<f9691529>] __ieee80211_rx+0x48e/0x4f9 [mac80211]
> > Nov 15 21:45:35 r60 kernel: [<f9750ca2>] iwl3945_rx_queue_restock+0x9a/0x117 [iwl3945]
Intel doesn't care to make their drivers work on platforms that don't
like unaligned loads, so in the foreseeable future this warning will
show once if you enable that option above that specifically tells you to
turn it off.....
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists