From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261980AbUCSUbK (ORCPT ); Fri, 19 Mar 2004 15:31:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261984AbUCSUbK (ORCPT ); Fri, 19 Mar 2004 15:31:10 -0500 Received: from 153.Red-213-4-13.pooles.rima-tde.net ([213.4.13.153]:36357 "EHLO kerberos.felipe-alfaro.com") by vger.kernel.org with ESMTP id S261980AbUCSUbE (ORCPT ); Fri, 19 Mar 2004 15:31:04 -0500 Subject: Re: 2.6.4 UHCI HCD BUG From: Felipe Alfaro Solana To: Lukas Hejtmanek Cc: Kernel Mailinglist In-Reply-To: <20040319184640.GA1938@mail.muni.cz> References: <20040319184640.GA1938@mail.muni.cz> Content-Type: text/plain Message-Id: <1079728197.2735.5.camel@teapot.felipe-alfaro.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-1) Date: Fri, 19 Mar 2004 21:29:58 +0100 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2004-03-19 at 19:46, Lukas Hejtmanek wrote: > Hello, > > with 2.6.4 if I do rmmod uhci_hcd and then modprobe uhci_hcd while running > X server with USB mouse connected to UHCI USB I got: > uhci_hcd 0000:00:1d.2: USB bus 3 deregistered > slab error in kmem_cache_destroy(): cache `uhci_urb_priv': Can't free all object > s > Call Trace: > [] kmem_cache_destroy+0x85/0xf3 > [] uhci_hcd_cleanup+0x1c/0x61 [uhci_hcd] > [] sys_delete_module+0x12d/0x154 > [] do_IRQ+0x10d/0x140 > [] sysenter_past_esp+0x52/0x71 > > drivers/usb/host/uhci-hcd.c: not all urb_priv's were freed! > USB Universal Host Controller Interface driver v2.2 > kmem_cache_create: duplicate cache uhci_urb_priv > ------------[ cut here ]------------ > kernel BUG at mm/slab.c:1314! > invalid operand: 0000 [#1] > PREEMPT > CPU: 0 > EIP: 0060:[] Not tainted > EFLAGS: 00210202 > EIP is at kmem_cache_create+0x3e9/0x48f > eax: 00000031 ebx: ceda82c8 ecx: c03df728 edx: cd0ea000 > esi: d0e9f2da edi: d0e9f2da ebp: ceda81e8 esp: cd0ebf4c > ds: 007b es: 007b ss: 0068 > Process modprobe (pid: 11450, threadinfo=cd0ea000 task=c32cee40) > Stack: c0304c80 d0e9f2cc 00000000 cd0ebf68 ceda8224 c0000000 fffffffc 00000010 > 00000000 fffffff4 c0342cb8 cd0ea000 d08a60ce d0e9f2cc 0000002c 00000080 > 00000000 00000000 00000000 c0342cd0 d0ea1100 c01321fb c03df5e4 00000001 > Call Trace: > [] uhci_hcd_init+0xce/0x130 [uhci_hcd] > [] sys_init_module+0x12e/0x24b > [] sysenter_past_esp+0x52/0x71 > > Code: 0f 0b 22 05 c2 44 30 c0 8b 0b e9 76 ff ff ff 8b 47 34 c7 04 Stupid question... Have you tried with the latest -mm patch against kernel 2.6.5-rc1 from Andrew Morton? It does include the latest bits from the USB BK repository, AFAIK. For me, the -mm tree solved some USB bugs I have been experiencing when resuming from APM suspension with the USB UHCI host.