From: Sabrina Dubroca <sd@queasysnail.net>
To: Dave Jones <davej@codemonkey.org.uk>
Cc: netdev@vger.kernel.org
Subject: Re: 3.19-rc7 netconsole locking bug.
Date: Thu, 5 Feb 2015 00:41:32 +0100 [thread overview]
Message-ID: <20150204234132.GA13621@kria> (raw)
In-Reply-To: <20150204195901.GA1682@codemonkey.org.uk>
2015-02-04, 14:59:01 -0500, Dave Jones wrote:
> On Wed, Feb 04, 2015 at 02:39:02PM -0500, Dave Jones wrote:
> > I set up netconsole this morning, and noticed when I rebooted the machine
> > that this happens when it initializes..
> > ...
> >
> > Despite the positive sounding last two lines, nothing actually gets logged
> > over the netconsole.
>
> After changing the boot process to modprobe netconsole later, I still
> see the same spew, but the console now works.
> However, shortly afterwards, there's another locking warning..
>
> BUG: sleeping function called from invalid context at kernel/irq/manage.c:104
> in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/1
> 4 locks held by swapper/1/0:
> #0: (rcu_read_lock){......}, at: [<ffffffffa07c7e98>] __netif_receive_skb_core+0x78/0xc00
> #1: (rcu_read_lock_bh){......}, at: [<ffffffffa084676f>] ip_finish_output2+0x9f/0xaa0
> #2: (rcu_read_lock_bh){......}, at: [<ffffffffa07cd9a3>] __dev_queue_xmit+0x63/0xbe0
> #3: (_xmit_ETHER#2){+.-...}, at: [<ffffffffa0801b3f>] sch_direct_xmit+0x11f/0x330
> irq event stamp: 136019
> hardirqs last enabled at (136018): [<ffffffffa09b26da>] _raw_spin_unlock_irqrestore+0x5a/0xb0
> hardirqs last disabled at (136019): [<ffffffffa09b4cca>] irq_work_interrupt+0x6a/0x80
> softirqs last enabled at (135536): [<ffffffffa0093fd5>] _local_bh_enable+0x25/0x80
> softirqs last disabled at (135537): [<ffffffffa00952ed>] irq_exit+0x27d/0x2e0
> CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.19.0-rc7+ #13
> ffffffffa0d3d363 2097f77ab05a8c13 ffff88007ec03160 ffffffffa09a5efa
> 0000000000000000 0000000000000000 ffff88007ec03190 ffffffffa00ca277
> ffff88007ec03190 ffffffffa0d3d363 0000000000000068 0000000000000000
> Call Trace:
> <IRQ> [<ffffffffa09a5efa>] dump_stack+0x84/0xb9
> [<ffffffffa00ca277>] ___might_sleep+0x2d7/0x390
> [<ffffffffa00ca3b0>] __might_sleep+0x80/0x100
> [<ffffffffa01123f7>] synchronize_irq+0x67/0x120
> [<ffffffffa01125a9>] ? __disable_irq_nosync+0x69/0xc0
> [<ffffffffa0112634>] disable_irq+0x34/0x50
> [<ffffffffa06c93f5>] e1000_netpoll+0x55/0x1d0
> [<ffffffffa07fc3f9>] netpoll_poll_dev+0x99/0x300
> [<ffffffffa07fc83f>] netpoll_send_skb_on_dev+0x1df/0x470
> [<ffffffffa07fcddc>] netpoll_send_udp+0x30c/0x5a0
This looks like the issue I started working on:
https://lkml.org/lkml/2014/10/29/523
https://marc.info/?l=linux-netdev&m=141813589016500&w=2
I will continue. Sorry I let this slide.
--
Sabrina
prev parent reply other threads:[~2015-02-04 23:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-04 19:39 3.19-rc7 netconsole locking bug Dave Jones
2015-02-04 19:59 ` Dave Jones
2015-02-04 23:41 ` Sabrina Dubroca [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150204234132.GA13621@kria \
--to=sd@queasysnail.net \
--cc=davej@codemonkey.org.uk \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).