Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755075AbZF1Up4 (ORCPT ); Sun, 28 Jun 2009 16:45:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751729AbZF1Upt (ORCPT ); Sun, 28 Jun 2009 16:45:49 -0400 Received: from mail-bw0-f213.google.com ([209.85.218.213]:52669 "EHLO mail-bw0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761AbZF1Ups convert rfc822-to-8bit (ORCPT ); Sun, 28 Jun 2009 16:45:48 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=oDirm0JFQGke8+mE3HkVHEV7UnmOBCw+w5jE4FQWSxTd9XEesKzYgHORNomUr+TKzq 8GuldqIiMbpXl1yZnrJys4D4CiF4PR7zbLQGTvd4zMeE25lqE7EHXaz9P8XO/bdh5QbY nYaydUVz3DYrCNLkVe+H2YGRGHDKf8oQd9ViQ= MIME-Version: 1.0 In-Reply-To: <9c30dffe0906281249md437f08he4d4b065d345803e@mail.gmail.com> References: <9c30dffe0906281249md437f08he4d4b065d345803e@mail.gmail.com> Date: Sun, 28 Jun 2009 22:38:33 +0200 Message-ID: <9c30dffe0906281338n19c6f472sdaf8ece9c1d5d9a5@mail.gmail.com> Subject: Re: [2.6.31-rc1] oops in __ieee80211_stop_queue From: Bjarke Istrup Pedersen To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4143 Lines: 93 2009/6/28 Bjarke Istrup Pedersen : > Oops happens when pcmcia p54 card is inserted. > Works with 2.6.30, broken in 2.6.31-rc1. > > Output of relevant dmesg part: > > pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1 > pci 0000:04:00.0: reg 10 32bit mmio: [0x000000-0x001fff] > pci 0000:04:00.0: supports D1 D2 > pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold > pci 0000:04:00.0: PME# disabled > yenta_cardbus 0000:02:04.1: EnE: chaning testregister 0xC9, 04 -> 04 > p54pci 0000:04:00.0: enabling device (0000 -> 0002) > p54pci 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 > p54pci 0000:04:00.0: setting latency timer to 64 > p54pci 0000:04:00.0: firmware: using built-in firmware isl3886pci > phy2: p54 detected a LM86 firmware > p54: rx_mtu reduced from 3240 to 2376 > phy2: FW rev 2.13.12.0 - Softmac protocol 5.9 > phy2: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES > BUG: unable to handle kernel NULL pointer dereference at 00000280 > IP: [] __ieee80211_stop_queue+0x2b/0x43 > *pde = 00000000 > Oops: 0000 [#1] SMP > last sysfs file: > /sys/devices/pci0000:00/0000:00:14.4/0000:02:04.1/0000:04:00.0/class > > Pid: 535, comm: pccardd Not tainted (2.6.31-rc1 #2) TravelMate 540 > EIP: 0060:[] EFLAGS: 00010046 CPU: 0 > EIP is at __ieee80211_stop_queue+0x2b/0x43 > EAX: dedd41a0 EBX: 00000000 ECX: 00000000 EDX: 00000000 > ESI: 00000000 EDI: dedd4204 EBP: 00000000 ESP: df8abdcc > ?DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 > Process pccardd (pid: 535, ti=df8aa000 task=df9c7000 task.ti=df8aa000) > Stack: > ?dedd41a0 00000000 c1288ea0 00000286 dedd4920 ded2a300 00003ff0 00000470 > <0> c11a83b1 00020200 00020200 dedd41a0 dedd4940 00000286 00004460 dedd4934 > <0> dedd4934 c11f6f64 dfa5a020 ded2a300 dedd4920 00000408 000003fc c11a84ae > Call Trace: > ?[] ? ieee80211_stop_queues_by_reason+0x27/0x3f > ?[] ? p54_assign_address+0x16b/0x1cd > ?[] ? __alloc_skb+0x48/0x105 > ?[] ? p54_alloc_skb+0x9b/0xb3 > ?[] ? p54_read_eeprom+0x3b/0x1b6 > ?[] ? p54p_open+0x2e1/0x3c0 > ?[] ? p54p_probe+0x2eb/0x362 > ?[] ? local_pci_probe+0xb/0xc > ?[] ? pci_device_probe+0x41/0x63 > ?[] ? driver_probe_device+0x76/0xe6 > ?[] ? bus_for_each_drv+0x37/0x5f > ?[] ? device_attach+0x44/0x54 > ?[] ? __device_attach+0x0/0x28 > ?[] ? bus_attach_device+0x1b/0x46 > ?[] ? device_add+0x2ee/0x428 > ?[] ? pci_write+0x1c/0x21 > ?[] ? pci_bus_add_device+0xc/0x2c > ?[] ? pci_bus_add_devices+0x1e/0xd2 > ?[] ? cb_alloc+0x97/0xa9 > ?[] ? socket_insert+0x8a/0xb0 > ?[] ? pccardd+0x158/0x1d6 > ?[] ? pccardd+0x0/0x1d6 > ?[] ? kthread+0x66/0x6b > ?[] ? kthread+0x0/0x6b > ?[] ? kernel_thread_helper+0x7/0x10 > Code: 56 53 0f b7 58 48 39 da 7c 11 ba 38 01 00 00 b8 69 72 37 c1 5b > 5e e9 97 9d d9 ff 83 7c 90 54 00 75 17 8b 70 68 0f b7 da c1 e3 08 <03> > 9e 80 02 00 00 8d 73 08 3e 80 4b 08 01 8d 44 90 54 0f ab 08 > EIP: [] __ieee80211_stop_queue+0x2b/0x43 SS:ESP 0068:df8abdcc > CR2: 0000000000000280 > ---[ end trace 1227e32b55188f72 ]--- > GDB points to this code: 0xc128b619 is in __ieee80211_stop_queue (/usr/src/linux-2.6.31-rc1/arch/x86/include/asm/bitops.h:64). 59 static __always_inline void 60 set_bit(unsigned int nr, volatile unsigned long *addr) 61 { 62 if (IS_IMMEDIATE(nr)) { 63 asm volatile(LOCK_PREFIX "orb %1,%0" 64 : CONST_MASK_ADDR(nr, addr) 65 : "iq" ((u8)CONST_MASK(nr)) 66 : "memory"); 67 } else { 68 asm volatile(LOCK_PREFIX "bts %1,%0" Don't know if that is of any help. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/