Received: by 10.223.164.202 with SMTP id h10csp138146wrb; Tue, 7 Nov 2017 04:13:04 -0800 (PST) X-Google-Smtp-Source: ABhQp+RL/9V9HgNMvwbZwWmCDYSU324D7XPFi651+4zOJUUU/C9VccSHnZGC2XNwUPgMVg5sDCAs X-Received: by 10.99.4.209 with SMTP id 200mr18993730pge.123.1510056784021; Tue, 07 Nov 2017 04:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510056783; cv=none; d=google.com; s=arc-20160816; b=TmAD+VfTuid2vgjd7g+GE6hO+M7aliylllARMRzH9H/C5SiqPGY6vWGpuK2As29PIV T7FmshOK8MC5+B7Dc2b/XwSXzRLhz6YfmIX+XhO8BPTEz3S62/mU8Bz6eRdKEUJiLNZk c+bMVPWD78AblX/S82h4BvygH/XdN1wGDw++K1vKD6eWSSw5X73wweLNzRm5lu+YbEHT TKOA9Ag7vjLREi1j0AVtzHGlgI2qzKwrl6J+ws2Yo9kPxDOQ3y++vNBxKlY0AVjfayXq amf9RtuD6T1PFd63kmwfKgSX6uOyvbeuCADfN88NTKj0nl+FhPdcgErWM0BSEFn08fj7 BSXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=yhCPJ/33XsDKedqLE9fm+DwL/18lYv6wSXwyc5s0QCs=; b=pTqAGu9JGIJRASMNofFHMV3fE9U0NENvqn2PI9s80dD7Ntlk84bzCiarz4cqxMtCI2 E7fYeBdTl+m6aSHT3N0AFt5yK/oDwGnzOGhSghN5Yn33tjdv8k7wREcC5rWMSrYHjUHy bRMn0vllE0ee5QMfpNMxtkmvJy+b3KzQmzJbi8iy7aYc+LkRgoImzPSrtac/CqwDUjry nDUTDsiq+tsCOcjwM7bS8+AIPJogaRjgNAe2pPfcKi76c9PGuNf/8vemxIVxQF3ztYGq uUV0DQPnyHApmsIlSbV9O/amgloKPQExu8wIpNlDzxon6qOQ7axGekRn989nbk67n37e eMIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z33si1039658plb.673.2017.11.07.04.12.51; Tue, 07 Nov 2017 04:13:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964890AbdKGKN0 (ORCPT + 91 others); Tue, 7 Nov 2017 05:13:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42746 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964791AbdKGKNY (ORCPT ); Tue, 7 Nov 2017 05:13:24 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E4FF36A7D7; Tue, 7 Nov 2017 10:13:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E4FF36A7D7 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=sgruszka@redhat.com Received: from localhost (unknown [10.40.205.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id 74989600D2; Tue, 7 Nov 2017 10:13:23 +0000 (UTC) Date: Tue, 7 Nov 2017 11:13:22 +0100 From: Stanislaw Gruszka To: Richard Genoud Cc: Helmut Schaa , "linux-kernel@vger.kernel.org" , linux-wireless@vger.kernel.org Subject: Re: Soft lockup in rt2x00usb_work_rxdone() Message-ID: <20171107101320.GA12140@redhat.com> References: <1509983829.10974.2.camel@gmail.com> <20171107085327.GA11380@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 07 Nov 2017 10:13:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 07, 2017 at 11:06:39AM +0100, Richard Genoud wrote: > > 3 short articles how to configure and use ftrace are here: > > https://lwn.net/Articles/365835/ > > https://lwn.net/Articles/366796/ > > https://lwn.net/Articles/370423/ > > > I tried with ftrace, but I don't think there's a way to dump the trace > when there's a soft lock-up > (I can't do anything after the unbind, even the heartbeat led stopped blinking). > I saw the /proc/sys/kernel/ftrace_dump_on_oops file, but there's no > /proc/sys/kernel/ftrace_dump_on_soft_lock-up file :) You should configure function trace with rt2x* functions. After that start tracing, unbind the device, then stop tracing and provide trace output. Thanks Stanislaw From 1583406270234660771@xxx Tue Nov 07 11:24:52 +0000 2017 X-GM-THRID: 1583337302329883239 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread