Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933904AbXHFP0r (ORCPT ); Mon, 6 Aug 2007 11:26:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932962AbXHFP0j (ORCPT ); Mon, 6 Aug 2007 11:26:39 -0400 Received: from fk-out-0910.google.com ([209.85.128.185]:13774 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932879AbXHFP0i (ORCPT ); Mon, 6 Aug 2007 11:26:38 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgEVLtYQ9ThQXjUrryhiy8tjgkJP7mnfULJR3Zm8Oy56mOGXBq6Res+nXwp7afs4vWedCrV7HB0SwBvYYLS3KBCmPBEJRm01oHx6NrisodKSfdYV2ZWIKOvhTVtPWyi3Wa2CYLRZxBruuRVyhumK2TdfECB173Dz5bHaDGHq0Bw= Message-ID: <961aa3350708060826n58a9dbd5o67355d5e53542e8a@mail.gmail.com> Date: Tue, 7 Aug 2007 00:26:36 +0900 From: "Akinobu Mita" To: "Alan Stern" Subject: Re: [linux-usb-devel] 2.6.23-rc1-mm2 + cpufreq patch + hot-fixes -- [] usb_stor_scan_thread+0xbd/0x15a [usb_storage] Cc: "Miles Lane" , "Andrew Morton" , LKML , "USB development list" , "Rafael J. Wysocki" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2212 Lines: 56 2007/8/6, Alan Stern : > On Sat, 4 Aug 2007, Miles Lane wrote: > > > Initializing USB Mass Storage driver... > > usb-storage 4-3:1.0: usb_probe_interface > > usb-storage 4-3:1.0: usb_probe_interface - got id > > scsi2 : SCSI emulation for USB Mass Storage devices > > usbcore: registered new interface driver usb-storage > > usb-storage: device found at 2 > > usb-storage: waiting for device to settle before scanning > > schedule_timeout: wrong timeout value f8ea51d2 > > [] show_trace_log_lvl+0x12/0x25 > > [] show_trace+0xd/0x10 > > [] dump_stack+0x16/0x18 > > [] schedule_timeout+0x2c/0x8b > > [] usb_stor_scan_thread+0xbd/0x15a [usb_storage] > > [] kthread+0x3b/0x63 > > [] kernel_thread_helper+0x7/0x10 > > ======================= > > Does this happen repeatably? > > Did you set usb-storage's delay_use parameter to something peculiar? I also have same problem. It is caused by http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm2/broken-out/freezer-introduce-freezer-firendly-waiting-macros.patch The patch below may not be good fix. But it shows what is problem. Index: 2.6-mm/include/linux/freezer.h =================================================================== --- 2.6-mm.orig/include/linux/freezer.h +++ 2.6-mm/include/linux/freezer.h @@ -149,13 +149,13 @@ static inline void set_freezable(void) #define wait_event_freezable_timeout(wq, condition, timeout) \ ({ \ - long __ret = timeout; \ + long ____ret = timeout; \ do { \ - __ret = wait_event_interruptible_timeout(wq, \ + ____ret = wait_event_interruptible_timeout(wq, \ (condition) || freezing(current), \ - __ret); \ + ____ret); \ } while (try_to_freeze()); \ - __ret; \ + ____ret; \ }) #else /* !CONFIG_PM_SLEEP */ static inline int frozen(struct task_struct *p) { return 0; } - 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/