Return-Path: MIME-Version: 1.0 In-Reply-To: <20110412182618.GB2836@joana> References: <20110412182618.GB2836@joana> Date: Mon, 18 Apr 2011 12:54:47 +0200 Message-ID: Subject: Re: Endless print of uhci_result_common: failed with status 440000 From: Zdenek Kabelac To: Alan Stern , Zdenek Kabelac , USB list , Linux Kernel Mailing List , linux-bluetooth@vger.kernel.org, padovan@profusion.mobi Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-usb-owner@vger.kernel.org List-ID: 2011/4/12 Gustavo F. Padovan : > * Alan Stern [2011-04-12 12:10:56 -0400]: > >> On Tue, 12 Apr 2011, Zdenek Kabelac wrote: >> >> > 2011/4/11 Alan Stern : >> > > On Mon, 11 Apr 2011, Zdenek Kabelac wrote: >> > > >> > >> > I've created: >> > >> > >> > >> > https://bugzilla.kernel.org/show_bug.cgi?id=33062 >> > >> > >> > >> > and I'm cc-ing linux-bluetooth. >> > >> > >> > >> >> > >> In fact this Ooops might be related to: >> > >> >> > >> http://marc.info/?l=linux-kernel&m=130207593728273&w=2 >> > > >> > > It might be. ?Did you try reverting the patch mentioned in that email? >> > > >> > >> > Yep - it looks like the patch >> > http://marc.info/?l=linux-bluetooth&m=130230770920378&w=2 >> > solved my problem with weird deadlocks. > > I pushed a patch that fixes this in a better way, it's on the bluetooth-2.6 > tree (should arrive to linus tree in some days). hmm Ok - I assume you mean this patch: http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-2.6.git;a=commitdiff;h=b7d850641d2bc45b2320bfcb096f11406890ff3a It seems to be detaching timer slightly differently as the one from Keith probably. Here is the trace I've got with older Keith's patch (which I've believed was fine already) iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9 systemd[1]: Service bluetooth.target is not needed anymore. Stopping. ------------[ cut here ]------------ WARNING: at lib/list_debug.c:30 __list_add+0x8f/0xa0() Hardware name: 6464CTO list_add corruption. prev->next should be next (ffff88013b139390), but was 2020203a6c61746f. (prev=ffff880137b63350). Modules linked in: sunrpc ipt_REJECT xt_physdev xt_state iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables btusb bluetooth snd_hda_codec_analog arc4 ecb crypto_blkcipher cryptomgr aead crypto_algapi snd_hda_intel iwl3945 snd_hda_codec snd_seq iwl_legacy snd_seq_device mac80211 snd_pcm thinkpad_acpi cfg80211 snd_timer e1000e psmouse snd serio_raw wmi soundcore i2c_i801 snd_page_alloc nvram iTCO_wdt iTCO_vendor_support evdev i915 dm_mirror dm_region_hash dm_log dm_mod drm_kms_helper drm i2c_algo_bit i2c_core autofs4 usbhid hid pcmcia sdhci_pci sdhci ehci_hcd uhci_hcd mmc_core sr_mod cdrom yenta_socket usbcore video backlight Pid: 44, comm: kworker/1:2 Not tainted 2.6.39-rc3-00236-g115ab9e #7 Call Trace: [] warn_slowpath_common+0x7f/0xc0 [] warn_slowpath_fmt+0x46/0x50 [] __list_add+0x8f/0xa0 [] internal_add_timer+0xb3/0x140 [] mod_timer+0x152/0x450 [] ? refresh_cpu_vm_stats+0x106/0x170 [] add_timer+0x18/0x20 [] queue_delayed_work_on+0xbf/0x140 [] queue_delayed_work+0x21/0x40 [] schedule_delayed_work+0x1b/0x20 [] vmstat_update+0x51/0x60 [] process_one_work+0x1c8/0x6f0 [] ? process_one_work+0x167/0x6f0 [] ? retint_restore_args+0xe/0xe [] ? refresh_cpu_vm_stats+0x170/0x170 [] worker_thread+0x159/0x340 [] ? rescuer_thread+0x240/0x240 [] kthread+0x9b/0xa0 [] kernel_thread_helper+0x4/0x10 [] ? finish_task_switch+0x74/0x110 [] ? _raw_spin_unlock_irq+0x3b/0x60 [] ? retint_restore_args+0xe/0xe [] ? __init_kthread_worker+0x70/0x70 [] ? gs_change+0xb/0xb ---[ end trace 9184dc8969677db3 ]--- I'll see whether new version will not show this warning. Zdenek