Return-Path: Received: from mail-pa0-f42.google.com ([209.85.220.42]:33840 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756181AbcECWfE (ORCPT ); Tue, 3 May 2016 18:35:04 -0400 Message-ID: <1462314901.5535.316.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: Cannot use NFS with linux-next 20160429 From: Eric Dumazet To: Francois Romieu Cc: Fabio Estevam , Eric Dumazet , Chuck Lever , Trond Myklebust , "netdev@vger.kernel.org" , Linux NFS Mailing List Date: Tue, 03 May 2016 15:35:01 -0700 In-Reply-To: <20160503223149.GA19739@electric-eye.fr.zoreil.com> References: <20160503223149.GA19739@electric-eye.fr.zoreil.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Wed, 2016-05-04 at 00:31 +0200, Francois Romieu wrote: > Fabio Estevam : > [...] > > Today's next shows some different info: > > > > [ 7.606456] #0: wm8962-audio > > [ 7.672659] VFS: Mounted root (nfs filesystem) readonly on device 0:14. > > [ 7.680860] devtmpfs: mounted > > [ 7.685664] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000) > > [ 7.871481] > > [ 7.873004] ================================= > > [ 7.877381] [ INFO: inconsistent lock state ] > > [ 7.881760] 4.6.0-rc6-next-20160503-00002-g51d9962 #351 Not tainted > > [ 7.888043] --------------------------------- > > [ 7.892419] inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. > > [ 7.898449] kworker/0:1H/179 [HC0[0]:SC0[0]:HE1:SE1] takes: > > [ 7.904040] (&syncp->seq#5){+.?...}, at: [] tcp_ack+0x134/0x129c > > [ 7.911166] {IN-SOFTIRQ-W} state was registered at: > > [ 7.916061] [] lock_acquire+0x78/0x98 > > [ 7.920816] [] tcp_snd_una_update+0x64/0xa8 > > [ 7.926092] [] tcp_ack+0x134/0x129c > > [ 7.930668] [] tcp_rcv_state_process+0x814/0xfc8 > > [ 7.936375] [] tcp_v4_do_rcv+0x64/0x1c8 > > [ 7.941305] [] tcp_v4_rcv+0xf00/0xfbc > > [ 7.946057] [] ip_local_deliver_finish+0xd4/0x550 > > [ 7.951859] [] ip_local_deliver+0xcc/0xdc > > [ 7.956957] [] ip_rcv_finish+0xc4/0x744 > > [ 7.961881] [] ip_rcv+0x4c8/0x7a8 > > [ 7.966284] [] __netif_receive_skb_core+0x514/0x8ec > > [ 7.972251] [] __netif_receive_skb+0x2c/0x8c > > [ 7.977614] [] netif_receive_skb_internal+0x7c/0x1f0 > > [ 7.983666] [] napi_gro_receive+0x88/0xdc > > [ 7.988764] [] fec_enet_rx_napi+0x390/0x9c8 > > [ 7.994036] [] net_rx_action+0x148/0x344 > > [ 7.999046] [] __do_softirq+0x130/0x2bc > [...] > > [ 8.165859] stack backtrace: > > [ 8.170247] CPU: 0 PID: 179 Comm: kworker/0:1H Not tainted > > 4.6.0-rc6-next-20160503-00002-g51d9962 #351 > > [ 8.179572] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) > > [ 8.186137] Workqueue: rpciod rpc_async_schedule > > [ 8.190791] Backtrace: > > [ 8.193307] [] (dump_backtrace) from [] > (show_stack+0x18/0x1c) > > [ 8.200894] r6:60000193 r5:ffffffff r4:00000000 r3:eebdc800 > > [ 8.206692] [] (show_stack) from [] (dump_stack+0xb0/0xe8) > > [ 8.213961] [] (dump_stack) from [] (print_usage_bug+0x268/0x2dc) > > [ 8.221809] r8:00000004 r7:eebdcd00 r6:eebdc800 r5:c0ae4bbc r4:c0ec6054 r3:eebdc800 > > [ 8.229712] [] (print_usage_bug) from [] (mark_lock+0x29c/0x6b0) > > [ 8.237472] r10:c016a1c8 r8:00000004 r7:eebdc800 r6:00001054 r5:eebdcd00 r4:00000006 > > [ 8.245456] [] (mark_lock) from [] (__lock_acquire+0x550/0x17c8) > > [ 8.253216] r10:c0d21d9c r9:000002be r8:c0e97784 r7:eebdc800 r6:c153a09c r5:eebdcd00 > > [ 8.261188] r4:00000003 r3:00000001 > > [ 8.264837] [] (__lock_acquire) from [] (lock_acquire+0x78/0x98) > > [ 8.272598] r10:00000001 r9:c0752328 r8:2d738f6b r7:00000001 r6:c0752328 r5:60000113 > > [ 8.280568] r4:00000000 > > [ 8.283155] [] (lock_acquire) from [] (tcp_snd_una_update+0x64/0xa8) > > [ 8.291261] r7:00000000 r6:ee6b9500 r5:ee6b9500 r4:ee6b99cc > > [ 8.297050] [] (tcp_snd_una_update) from [] (tcp_ack+0x134/0x129c) > > [ 8.304984] r10:ee6b9570 r9:ee42f9c0 r8:2d738f6b r7:c0d02100 r6:00000002 r5:ee6b9500 > > [ 8.312956] r4:00000002 > > [ 8.315542] [] (tcp_ack) from [] (tcp_rcv_established+0x140/0x774) > > [ 8.323477] r10:ee6b9570 r9:ee42f9c0 r8:c0d6bfb3 r7:c155a080 r6:ee6e9a62 r5:ee42f9c0 > > [ 8.331448] r4:ee6b9500 > > [ 8.334039] [] (tcp_rcv_established) from [] (tcp_v4_do_rcv+0x160/0x1c8) > > [ 8.342494] r8:c0d6bfb3 r7:c155a080 r6:eea79600 r5:ee6b9500 r4:ee42f9c0 > > [ 8.349348] [] (tcp_v4_do_rcv) from [] (__release_sock+0x94/0x124) > > [ 8.357281] r6:00000000 r5:ee6b9500 r4:00000000 r3:c075e79c > > [ 8.363065] [] (__release_sock) from [] (release_sock+0x34/0xa4) > > The latter now runs with bh enabled. Ask Eric for a proper > replacement of u64_stats_update_ in tcp_snd_una_update. > > (it's 00:30 here) > Thanks Francois, I can fix this ;)