[Bug 1430] New: SysFS oops when rmmod'ing uhci-hcd after resuming from suspend

From: Martin J. Bligh (mbligh_at_aracnet.com)
Date: 10/27/03

  • Next message: Martin J. Bligh: "[Bug 1431] New: Crash accessing /proc/ide/*/identify on promise 20265 (fasttrak bios not loaded)"
    Date:	Mon, 27 Oct 2003 07:50:39 -0800
    To: linux-kernel <linux-kernel@vger.kernel.org>
    
    

    http://bugme.osdl.org/show_bug.cgi?id=1430

               Summary: SysFS oops when rmmod'ing uhci-hcd after resuming from
                        suspend
        Kernel Version: 2.6.0-test9
                Status: NEW
              Severity: normal
                 Owner: mochel@osdl.org
             Submitter: felipe_alfaro@linuxmail.org

    Distribution:
    -------------
    Fedora Core Test 3.
    Nothing special with it, since the problems is reproducible by booting with
    "init=/bin/bash" kernel command line parameter.
     
    Hardware Environment:
    ---------------------
    Packard Bell Chrom@ laptop:
    Pentium III 700 Mhz
    Intel 440BX chipset
    Texas Instruments PCI4450 CardBus bridge
    ATI RAGE Mobility M1 AGP video card with 8MB of DRAM
    3Com 3CCFE575CT 10/100 CardBus NIC
    Microsoft Intellimouse Explorer USB mouse
     
    Please, see attached "lspci" file for more details.
     
    Software Environment:
    ---------------------
    Nothing special
     
    Problem Description:
    --------------------
    After resuming my laptop from APM suspend, running "rmmod uhci-hcd" causes the
    following oops:
     
    Unable to handle kernel NULL pointer dereference at virtual address 00000000
     printing eip:
    c017fba6
    *pde = 00000000
    Oops: 0000 [#1]
    CPU: 0
    EIP: 0060:[<c017fba6>] Not tainted
    EFLAGS: 00010292
    EIP is at sysfs_get_dentry+0x16/0x70
    eax: 00000000 ebx: cf885acc ecx: ffffffff edx: 00000000
    esi: cf8f8280 edi: 00000000 ebp: cf885c24 esp: cf54be38
    ds: 007b es: 007b ss: 0068
    Process rmmod (pid: 454, threadinfo=cf54a000 task=cf54d900)
    Stack: c015df9d cf54be54 00000000 00000000 c017fbf5 cf810580 cf885acc cf885c00
           c017fc2a cf8f8280 00000000 cf885acc d0879ec0 c01c33f8 cf8f8280 00000000
           cf885acc cf885ccc c01c3575 cf885acc cf885b28 cf885acc cf885ccc c01c244d
    Call Trace:
     [<c015df9d>] lookup_hash+0x1d/0x30
     [<c017fbf5>] sysfs_get_dentry+0x65/0x70
     [<c017fc2a>] sysfs_hash_and_remove+0x2a/0x7d
     [<c01c33f8>] device_release_driver+0x28/0x70
     [<c01c3575>] bus_remove_device+0x55/0xa0
     [<c01c244d>] device_del+0x5d/0xa0
     [<c01c24a3>] device_unregister+0x13/0x30
     [<d0863d28>] usb_disconnect+0xd8/0xf0 [usbcore]
     [<d086c119>] usb_hcd_pci_remove+0x89/0x180 [usbcore]
     [<c01a2acb>] pci_device_remove+0x3b/0x40
     [<c01c3436>] device_release_driver+0x66/0x70
     [<c01c346b>] driver_detach+0x2b/0x40
     [<c01c36ad>] bus_remove_driver+0x3d/0x80
     [<c01c3ab3>] driver_unregister+0x13/0x28
     [<c01a2ca6>] pci_unregister_driver+0x16/0x30
     [<d085506f>] uhci_hcd_cleanup+0xf/0x5e [uhci_hcd]
     [<c0130299>] sys_delete_module+0x139/0x1b0
     [<c0144000>] do_munmap+0x80/0x190
     [<c0109339>] sysenter_past_esp+0x52/0x71
     
    Code: f2 ae f7 d1 49 89 4c 24 0c 31 db 89 d7 49 83 f9 ff 74 24 8d
     
    Steps to reproduce:
    -------------------
    This problem can be always reproduced by performing the following steps:
     
    0. Make sure the Intellimouse USB mouse is plugged.
    1. Boot into 2.6.0-test9 with "init=/bin/bash"
    2. Run "apm -s"
    3. Let the system suspend, then resume it from suspension.
    4. On the command line, run "rmmod uhci-hcd"
    5. The previously described oops will be triggered.
     
    Additional information:
    -----------------------
    Please, see the attached "config" file for information on the configuration
    used to build the kernel.

    -
    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/


  • Next message: Martin J. Bligh: "[Bug 1431] New: Crash accessing /proc/ide/*/identify on promise 20265 (fasttrak bios not loaded)"

    Relevant Pages

    • Re: [linux-cifs-client] BUG: Possible cifs+IPv6-Regression 2.6.27.4 -> 2.6.27.9
      ... The exact mount ... vanilla 2.6.28 kernel and Debian packaged Samba 3.2.5-3. ... intrepid-updates) the above noted mount command works fine, ... I've still not been able to reproduce this here though I don't have any ...
      (Linux-Kernel)
    • Re: [Announce]: Target_Core_Mod/ConfigFS and LIO-Target v3.0 work
      ... posted exact instructions on how to reproduce the bugs. ... kernel integration and subsystem maintainership: ... to be above 1Gbit because the results were identical for STGT and SCST ...
      (Linux-Kernel)
    • Re: [2.6.26-rc4] mount.nfsv4/memory poisoning issues...
      ... corruption issues during NFS mount. ... what point in the kernel revision history this problem was introduced. ... the bug relates to the inability to allocate a socket error path. ... patch and was able to reproduce it on the second mount attempt. ...
      (Linux-Kernel)
    • Re: BUG in tmpfs
      ... If somebody is interested I can try very hardly to reproduce it but I would not expect success. ... As to the tainted kernel. ... Something like making whole system compiles and upgrades in a loop till error happens will proably be enough to catch most such errors after some time and doing it continously could prevent any regressions in newer kernels. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH][TAKE 3] THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit
      ... A string that is too long ... -will be automatically truncated by the kernel, a boot loader may allow ... +The kernel command line is a null-terminated string. ...
      (Linux-Kernel)