From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Dec 2002 17:16:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Dec 2002 17:16:03 -0500 Received: from harpo.it.uu.se ([130.238.12.34]:29407 "EHLO harpo.it.uu.se") by vger.kernel.org with ESMTP id ; Wed, 18 Dec 2002 17:15:46 -0500 Date: Wed, 18 Dec 2002 23:23:44 +0100 (MET) From: Mikael Pettersson Message-Id: <200212182223.XAA22858@harpo.it.uu.se> To: linux-kernel@vger.kernel.org Subject: 2.5.52: ejecting 3c575 Cardbus nic oopses pci_remove_device Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dell Latitude with a 3c575 Cardbus nic. Kernel 2.5.52. User-space is RedHat 8.0 with hotplug-2002_04_01. Inserting the card fails to enable it due to a bogus resource collision: Dec 18 20:58:22 ??? kernel: cs: cb_alloc(bus 5): vendor 0x10b7, device 0x5057 Dec 18 20:58:22 ??? kernel: PCI: Device 05:00.0 not available because of resource collisions Ejecting the card then immediately oopses pci_remove_device(): Dec 18 20:58:28 ??? kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000004 Dec 18 20:58:28 ??? kernel: c01967df Dec 18 20:58:28 ??? kernel: *pde = 00000000 Dec 18 20:58:28 ??? kernel: Oops: 0002 Dec 18 20:58:28 ??? kernel: CPU: 0 Dec 18 20:58:28 ??? kernel: EIP: 0060:[] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 Dec 18 20:58:28 ??? kernel: EFLAGS: 00010286 Dec 18 20:58:28 ??? kernel: eax: 00000000 ebx: c7edc000 ecx: 05c00558 edx: 00000000 Dec 18 20:58:28 ??? kernel: esi: 00000000 edi: c7edc000 ebp: c7ecf800 esp: c7f93f28 Dec 18 20:58:28 ??? kernel: ds: 0068 es: 0068 ss: 0068 Dec 18 20:58:28 ??? kernel: Stack: c7edc000 c01e4c36 c7edc000 c7ecf800 c7ecf800 c01e6bc0 c7feb820 c01e205a Dec 18 20:58:28 ??? kernel: c7ecf800 c7ecf800 c7ecf800 c7ecf80c c7ecf800 00000080 c01e6bc0 c7feb820 Dec 18 20:58:28 ??? kernel: c01e2385 c7ecf800 00000003 c7ecf800 c01e23c6 c7ecf800 c033059c c0330558 Dec 18 20:58:28 ??? kernel: [] cb_free+0x2a/0x60 Dec 18 20:58:28 ??? kernel: [] yenta_bh+0x0/0x24 Dec 18 20:58:28 ??? kernel: [] shutdown_socket+0x76/0xe0 Dec 18 20:58:28 ??? kernel: [] yenta_bh+0x0/0x24 Dec 18 20:58:28 ??? kernel: [] do_shutdown+0x5d/0x64 Dec 18 20:58:28 ??? kernel: [] parse_events+0x3a/0xd8 Dec 18 20:58:28 ??? kernel: [] yenta_bh+0x1e/0x24 Dec 18 20:58:28 ??? kernel: [] worker_thread+0x18d/0x240 Dec 18 20:58:28 ??? kernel: [] worker_thread+0x0/0x240 Dec 18 20:58:28 ??? kernel: [] yenta_bh+0x0/0x24 Dec 18 20:58:28 ??? kernel: [] default_wake_function+0x0/0x34 Dec 18 20:58:28 ??? kernel: [] default_wake_function+0x0/0x34 Dec 18 20:58:28 ??? kernel: [] kernel_thread_helper+0x5/0xc Dec 18 20:58:28 ??? kernel: Code: 89 50 04 89 02 8b 53 04 8b 03 89 50 04 89 02 53 e8 a4 ff ff >>EIP; c01967df <===== >>ebx; c7edc000 >>ecx; 05c00558 Before first symbol >>edi; c7edc000 >>ebp; c7ecf800 >>esp; c7f93f28 Code; c01967df 00000000 <_EIP>: Code; c01967df <===== 0: 89 50 04 mov %edx,0x4(%eax) <===== Code; c01967e2 3: 89 02 mov %eax,(%edx) Code; c01967e4 5: 8b 53 04 mov 0x4(%ebx),%edx Code; c01967e7 8: 8b 03 mov (%ebx),%eax Code; c01967e9 a: 89 50 04 mov %edx,0x4(%eax) Code; c01967ec d: 89 02 mov %eax,(%edx) Code; c01967ee f: 53 push %ebx Code; c01967ef 10: e8 a4 ff ff 00 call ffffb9 <_EIP+0xffffb9> This all works fine in 2.4 kernels. It used to work in 2.5 kernels, up to early-mid 2.5.4x or so. UP, no preemption, no modules. HOTPLUG, CARDBUS, and VORTEX enabled. /Mikael