public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <lkml@rtr.ca>
To: Greg KH <gregkh@suse.de>
Cc: jkosina@suse.cz, Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-usb@vger.kernel.org, Pavel Machek <pavel@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: 2.6.25-rc7:  Ugh.
Date: Thu, 27 Mar 2008 22:13:34 -0400	[thread overview]
Message-ID: <47EC544E.7090806@rtr.ca> (raw)
In-Reply-To: <47EC53B8.2050601@rtr.ca>

Mark Lord wrote:
> Greg KH wrote:
>> On Thu, Mar 27, 2008 at 11:29:27AM -0400, Mark Lord wrote:
>>> It is with great reluctance when I attempt moving my main "desktop"
>>> over to a new kernel version -- because the USB subsystem seems to
>>> break every single time.
>>
>> That's not good, why not tell the linux-usb developers this?  (added to
>> the cc:)
>>
>>> So today I tried 2.6.25-rc7 on it for the first time.
>>> Not good.
>>>
>>> It boots, but just a simple suspend/resume (RAM) was enough to kill it.
>>> It comes back on resume, with an X desktop again,
>>> but with no USB functionality -- no mouse.
>>>
>>> The keyboard still works, so I dropped to a console and tried:
>>>
>>>   rmmod usbhid
>>>   insmod usbhid
>>>
>>> And the console hung at 100% CPU on the insmod.
> ..
> 
> Okay, correction there:  it just hangs the console, but not 100% CPU.
> Other tasks still continue running.
> 
> Same thing happens when I rmmod usbhid, and then rmmod ehci_hcd.
> The rmmod ehci_hcd hangs.
> 
> But since the rest of the system is still alive, including the non-USB 
> touchpad(!),
> here is the alt-sysrq-t from syslog:
> 
> rmmod         D f74c2ddc     0  4538   4492
>       f6d3b200 00000086 f74c2c90 f74c2ddc c281e840 00000001 c01131be 
> 00000000       00000001 c0324a00 c0324a00 00000000 00000001 7fffffff 
> 7fffffff f653cea8       00000002 c02906f8 00000000 00000012 c038f6aa 
> 00000086 c011aa05 00000000 Call Trace:
> [__wake_up_common+46/88] __wake_up_common+0x2e/0x58
> [schedule_timeout+19/134] schedule_timeout+0x13/0x86
> [wake_up_klogd+43/45] wake_up_klogd+0x2b/0x2d
> [wait_for_common+205/308] wait_for_common+0xcd/0x134
> [default_wake_function+0/8] default_wake_function+0x0/0x8
> [__cancel_work_timer+237/312] __cancel_work_timer+0xed/0x138
> [wq_barrier_func+0/8] wq_barrier_func+0x0/0x8
> [<f889f684>] usb_remove_hcd+0x63/0xd7 [usbcore]
> [<f88a858e>] usb_hcd_pci_remove+0x15/0x68 [usbcore]
> [pci_device_remove+22/53] pci_device_remove+0x16/0x35
> [__device_release_driver+88/118] __device_release_driver+0x58/0x76
> [driver_detach+122/182] driver_detach+0x7a/0xb6
> [bus_remove_driver+96/126] bus_remove_driver+0x60/0x7e
> [pci_unregister_driver+30/95] pci_unregister_driver+0x1e/0x5f
> [sys_delete_module+388/445] sys_delete_module+0x184/0x1bd
> [remove_vma+49/54] remove_vma+0x31/0x36
> [do_page_fault+506/1232] do_page_fault+0x1fa/0x4d0
> [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
> =======================
> 
> If nothing else, this should point to where USB is getting deadlocked.
..

Oh, I also had a hung "lsusb" in another window at the same time:

lsusb         D f74c187c     0  4491   4397
       f6d3bc80 00000082 f74c1730 f74c187c c2816840 00000000 c26cb440 f666bab8 
       00000003 c014b132 00000000 00000000 00000000 f75c1114 00000246 f75c111c 
       f74c1730 c0291678 00000001 f74c1730 c01156bc f75c1120 f77e5f78 f75c1000 
Call Trace:
 [handle_mm_fault+1205/1222] handle_mm_fault+0x4b5/0x4c6
 [__down+194/212] __down+0xc2/0xd4
 [default_wake_function+0/8] default_wake_function+0x0/0x8
 [__down_failed+7/12] __down_failed+0x7/0xc
 [<f88a70a0>] usbdev_ioctl+0x42/0x1132 [usbcore]
 [dput+22/197] dput+0x16/0xc5
 [__link_path_walk+2664/2969] __link_path_walk+0xa68/0xb99
 [mntput_no_expire+17/92] mntput_no_expire+0x11/0x5c
 [path_walk+144/152] path_walk+0x90/0x98
 [klist_del+24/59] klist_del+0x18/0x3b
 [klist_iter_exit+15/24] klist_iter_exit+0xf/0x18
 [bus_find_device+87/97] bus_find_device+0x57/0x61
 [kobject_get+15/19] kobject_get+0xf/0x13
 [get_device+14/20] get_device+0xe/0x14
 [<f889c29e>] usb_get_dev+0xf/0x13 [usbcore]
 [<f88a6d9c>] usbdev_open+0x13c/0x144 [usbcore]
 [chrdev_open+312/373] chrdev_open+0x138/0x175
 [open_namei+582/1357] open_namei+0x246/0x54d
 [chrdev_open+0/373] chrdev_open+0x0/0x175
 [__dentry_open+263/404] __dentry_open+0x107/0x194
 [nameidata_to_filp+28/44] nameidata_to_filp+0x1c/0x2c
 [do_filp_open+43/49] do_filp_open+0x2b/0x31
 [vfs_ioctl+71/93] vfs_ioctl+0x47/0x5d
 [do_vfs_ioctl+555/574] do_vfs_ioctl+0x22b/0x23e
 [sys_ioctl+44/69] sys_ioctl+0x2c/0x45
 [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
 [schedule+53/1498] schedule+0x35/0x5da
 =======================

  reply	other threads:[~2008-03-28  2:13 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 15:29 2.6.25-rc7: Ugh Mark Lord
2008-03-27 16:07 ` Greg KH
2008-03-28  0:32   ` Jiri Kosina
2008-03-28  1:57     ` Mark Lord
2008-03-28  3:12       ` David Miller
2008-03-28  4:42         ` Bob Tracy
2008-03-28  4:56           ` David Miller
2008-03-28  5:17             ` Mark Lord
2008-03-28  6:01               ` david
2008-03-28 16:34             ` Bob Tracy
2008-04-05 18:23             ` Bill Davidsen
2008-03-28  5:36         ` Mike Galbraith
2008-03-28  5:46         ` Mark Lord
2008-03-28  5:52           ` Mark Lord
2008-03-28  6:05             ` Mark Lord
2008-03-28  6:58               ` David Brownell
2008-03-28  9:16                 ` Ingo Molnar
2008-03-28  9:49                   ` David Brownell
2008-03-28 10:20                     ` Ingo Molnar
2008-03-28 11:01                       ` Pavel Machek
2008-03-28 15:03                       ` Jan Engelhardt
2008-03-28 20:14                         ` David Brownell
2008-03-28 12:51                     ` Kconfig RTC selection (was: 2.6.25-rc7: Ugh.) Tilman Schmidt
2008-03-28 13:49                       ` Kconfig RTC selection Mark Lord
2008-03-28 19:22                       ` Kconfig RTC selection (was: 2.6.25-rc7: Ugh.) David Brownell
2008-03-29 12:55                         ` Kconfig RTC selection Tilman Schmidt
2008-03-28 13:47                     ` 2.6.25-rc7: Ugh Mark Lord
2008-03-28 20:04                       ` Kconfig RTC selection (was: 2.6.25-rc7: Ugh.) David Brownell
2008-03-28 21:06                         ` Adrian Bunk
2008-03-28 21:23                           ` David Brownell
2008-03-28 21:33                             ` Adrian Bunk
2008-03-28 21:45                               ` David Brownell
2008-03-28 21:59                                 ` Adrian Bunk
2008-03-28 22:18                                   ` David Brownell
2008-03-28 22:36                                     ` Adrian Bunk
2008-03-29 11:40                                     ` [rtc-linux] " Alessandro Zummo
2008-03-28 14:56                     ` 2.6.25-rc7: Ugh Jan Engelhardt
2008-03-28 17:47                       ` Adrian Bunk
2008-03-29  3:58               ` Mark Lord
2008-03-28  1:51   ` Mark Lord
2008-03-28  2:11   ` Mark Lord
2008-03-28  2:13     ` Mark Lord [this message]
2008-03-28 14:34     ` Alan Stern
2008-03-28 14:57       ` Mark Lord
2008-03-27 22:00 ` Rafael J. Wysocki
2008-03-28  5:22   ` Mark Lord
2008-03-28  2:14 ` Mark Lord
2008-03-28  9:24   ` Pavel Machek
2008-03-30 21:04     ` Mark Lord
2008-03-30 21:09       ` Mark Lord
2008-03-31 11:55       ` Oliver Neukum
2008-03-31 14:39         ` Mark Lord
2008-03-31 15:04           ` Oliver Neukum
2008-03-31 15:04             ` Mark Lord
2008-03-31 15:14               ` Mark Lord
2008-03-31 16:37               ` Oliver Neukum
2008-03-31 17:03                 ` Mark Lord
2008-03-31 17:06                   ` Mark Lord
2008-03-31 17:15                   ` Mark Lord
2008-03-31 17:21                     ` Mark Lord
2008-03-31 17:30                       ` Mark Lord
2008-03-31 18:05                         ` Oliver Neukum
2008-03-31 19:21                           ` Mark Lord
2008-04-02  8:04                             ` Oliver Neukum
2008-04-02 14:38                               ` Mark Lord
2008-04-02 14:38                                 ` Mark Lord
2008-04-02 15:05                                   ` 2.6.25-rc7/rc8 USB dead on resume Mark Lord
2008-04-02 15:21                                     ` Oliver Neukum
2008-04-02 15:08                                   ` 2.6.25-rc7: Ugh Alan Stern
2008-04-02 15:44                                     ` 2.6.25-rc7: Ugh. ---> PATCH Mark Lord
2008-04-02 15:47                                       ` Mark Lord
2008-04-02 15:49                                         ` Mark Lord
2008-04-02 20:09                                       ` Alan Stern
2008-04-02 16:04                                     ` 2.6.25-rc7: Ugh David Brownell
2008-04-02 16:09                                       ` Mark Lord
2008-04-02 20:22                                         ` David Brownell
2008-04-02 16:20                                       ` [PATCH] usb ehci_iaa_watchdog fix Mark Lord
2008-04-02 16:48                                         ` Alan Stern
2008-04-02 17:34                                           ` Mark Lord
2008-04-02 18:08                                             ` Mark Lord
2008-04-02 19:20                                               ` Alan Stern
2008-04-02 20:42                                                 ` David Brownell
2008-04-02 21:08                                                   ` Alan Stern
2008-04-07 23:37                                                     ` David Brownell
2008-04-08  2:13                                                       ` Alan Stern
2008-04-02 20:31                                           ` David Brownell
2008-04-02 20:55                                             ` Alan Stern
2008-04-02 23:07                                               ` David Brownell
2008-04-02 16:56                                         ` David Brownell
2008-04-01  9:59                           ` 2.6.25-rc7: Ugh Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47EC544E.7090806@rtr.ca \
    --to=lkml@rtr.ca \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@suse.de \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pavel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox