Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752433Ab3FXP6z (ORCPT ); Mon, 24 Jun 2013 11:58:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57087 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869Ab3FXP6x (ORCPT ); Mon, 24 Jun 2013 11:58:53 -0400 Date: Mon, 24 Jun 2013 11:57:58 -0400 From: Dave Jones To: Oleg Nesterov Cc: "Paul E. McKenney" , Linux Kernel , Linus Torvalds , "Eric W. Biederman" , Andrey Vagin Subject: Re: frequent softlockups with 3.10rc6. Message-ID: <20130624155758.GA5993@redhat.com> Mail-Followup-To: Dave Jones , Oleg Nesterov , "Paul E. McKenney" , Linux Kernel , Linus Torvalds , "Eric W. Biederman" , Andrey Vagin References: <20130620001212.GB12151@redhat.com> <20130620161652.GA4462@linux.vnet.ibm.com> <20130621151119.GA1596@redhat.com> <20130621195949.GA15519@redhat.com> <20130622013731.GA22918@redhat.com> <20130622173129.GA29375@redhat.com> <20130622215905.GA28238@redhat.com> <20130623143634.GA2000@redhat.com> <20130623150603.GA32313@redhat.com> <20130623160452.GA11740@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130623160452.GA11740@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3519 Lines: 75 On Sun, Jun 23, 2013 at 06:04:52PM +0200, Oleg Nesterov wrote: > > [11054.897670] BUG: soft lockup - CPU#2 stuck for 22s! [trinity-child2:14482] > > [11054.898503] Modules linked in: bridge stp snd_seq_dummy tun fuse hidp bnep rfcomm can_raw ipt_ULOG can_bcm nfnetlink af_rxrpc llc2 rose caif_socket caif can netrom appletalk af_802154 scsi_transport_iscsi nfc pppoe pppox ppp_generic slhc ipx p8023 psnap p8022 llc ax25 irda crc_ccitt af_key bluetooth rfkill x25 rds atm phonet coretemp hwmon kvm_intel kvm snd_hda_codec_realtek crc32c_intel ghash_clmulni_intel snd_hda_codec_hdmi microcode snd_hda_intel snd_hda_codec pcspkr snd_hwdep snd_seq snd_seq_device snd_pcm e1000e snd_page_alloc ptp snd_timer pps_core snd soundcore xfs libcrc32c > > [11054.905490] irq event stamp: 3857095 > > [11054.905926] hardirqs last enabled at (3857094): [] restore_args+0x0/0x30 > > [11054.906945] hardirqs last disabled at (3857095): [] apic_timer_interrupt+0x6a/0x80 > > [11054.908054] softirqs last enabled at (3856322): [] __do_softirq+0x194/0x440 > > [11054.909102] softirqs last disabled at (3856325): [] irq_exit+0xcd/0xe0 > > [11054.910088] CPU: 2 PID: 14482 Comm: trinity-child2 Not tainted 3.10.0-rc7+ #31 > > [11054.912900] task: ffff8801ae44ca40 ti: ffff88021fe60000 task.ti: ffff88021fe60000 > > [11054.913800] RIP: 0010:[] [] __do_softirq+0xb1/0x440 > > OK, __do_softirq() again. But this doesn't necessarily mean it > is the offender. > > Just in case, did you change /proc/sys/kernel/watchdog_thresh ? > This times the numbers look different. > > Could you please do the following: > > 1. # cd /sys/kernel/debug/tracing > # echo 0 >> options/function-trace > # echo preemptirqsoff >> current_tracer > > 2. reproduce the lockup again > > 3. show the result of > # cat trace Not sure this is helpful, but.. # tracer: preemptirqsoff # # preemptirqsoff latency trace v1.1.5 on 3.10.0-rc7+ # -------------------------------------------------------------------- # latency: 165015310 us, #4/4, CPU#1 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) # ----------------- # | task: trinity-child1-3173 (uid:1000 nice:19 policy:0 rt_prio:0) # ----------------- # => started at: vprintk_emit # => ended at: vprintk_emit # # # _------=> CPU# # / _-----=> irqs-off # | / _----=> need-resched # || / _---=> hardirq/softirq # ||| / _--=> preempt-depth # |||| / delay # cmd pid ||||| time | caller # \ / ||||| \ | / trinity--3173 1dNh1 0us!: console_unlock <-vprintk_emit trinity--3173 1dNh1 165015310us : console_unlock <-vprintk_emit trinity--3173 1dNh1 165015311us+: stop_critical_timings <-vprintk_emit trinity--3173 1dNh1 165015315us : => console_unlock => vprintk_emit => printk => watchdog_timer_fn => __run_hrtimer => hrtimer_interrupt => smp_apic_timer_interrupt => apic_timer_interrupt => _raw_spin_lock => sync_inodes_sb => sync_inodes_one_sb => iterate_supers => sys_sync => tracesys -- 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/