Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-02 Thread Gabriel C
On 02.03.2017 01:04, Gabriel C wrote: Does the patch below fix it? I'll test you patch in a bit and let you know. It seem to work. But to be really sure I let the box running with this setup over night. Also with 4.10.1 + your patch all seems fine.. The box is up 13 hours now and

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-02 Thread Gabriel C
On 02.03.2017 01:04, Gabriel C wrote: Does the patch below fix it? I'll test you patch in a bit and let you know. It seem to work. But to be really sure I let the box running with this setup over night. Also with 4.10.1 + your patch all seems fine.. The box is up 13 hours now and

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
Does the patch below fix it? I'll test you patch in a bit and let you know. It seem to work. But to be really sure I let the box running with this setup over night. 8<-- --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
Does the patch below fix it? I'll test you patch in a bit and let you know. It seem to work. But to be really sure I let the box running with this setup over night. 8<-- --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
On 01.03.2017 23:38, Thomas Gleixner wrote: On Wed, 1 Mar 2017, Gabriel C wrote: On 01.03.2017 18:13, Thomas Gleixner wrote: On Sat, 18 Feb 2017, Gabriel C wrote: That got changed in commit 3111912971251 which got into Linus tree during the 4.10 merge window. So it is in 4.10-rc8.

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
On 01.03.2017 23:38, Thomas Gleixner wrote: On Wed, 1 Mar 2017, Gabriel C wrote: On 01.03.2017 18:13, Thomas Gleixner wrote: On Sat, 18 Feb 2017, Gabriel C wrote: That got changed in commit 3111912971251 which got into Linus tree during the 4.10 merge window. So it is in 4.10-rc8.

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Thomas Gleixner
On Wed, 1 Mar 2017, Gabriel C wrote: > On 01.03.2017 18:13, Thomas Gleixner wrote: > > On Sat, 18 Feb 2017, Gabriel C wrote: > > > That got changed in commit 3111912971251 which got into Linus tree during > > > the 4.10 merge window. So it is in 4.10-rc8. > > > > > > Confused. > > > > I'm still

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Thomas Gleixner
On Wed, 1 Mar 2017, Gabriel C wrote: > On 01.03.2017 18:13, Thomas Gleixner wrote: > > On Sat, 18 Feb 2017, Gabriel C wrote: > > > That got changed in commit 3111912971251 which got into Linus tree during > > > the 4.10 merge window. So it is in 4.10-rc8. > > > > > > Confused. > > > > I'm still

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
On 01.03.2017 18:13, Thomas Gleixner wrote: On Sat, 18 Feb 2017, Gabriel C wrote: That got changed in commit 3111912971251 which got into Linus tree during the 4.10 merge window. So it is in 4.10-rc8. Confused. I'm still confused. Gabriel, can you please try to reproduce with 4.10 final?

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Gabriel C
On 01.03.2017 18:13, Thomas Gleixner wrote: On Sat, 18 Feb 2017, Gabriel C wrote: That got changed in commit 3111912971251 which got into Linus tree during the 4.10 merge window. So it is in 4.10-rc8. Confused. I'm still confused. Gabriel, can you please try to reproduce with 4.10 final?

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Thomas Gleixner
On Sat, 18 Feb 2017, Gabriel C wrote: > That got changed in commit 3111912971251 which got into Linus tree during > the 4.10 merge window. So it is in 4.10-rc8. > > Confused. I'm still confused. Gabriel, can you please try to reproduce with 4.10 final? Thanks, tglx

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Thomas Gleixner
On Sat, 18 Feb 2017, Gabriel C wrote: > That got changed in commit 3111912971251 which got into Linus tree during > the 4.10 merge window. So it is in 4.10-rc8. > > Confused. I'm still confused. Gabriel, can you please try to reproduce with 4.10 final? Thanks, tglx

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:44, Cong Wang wrote: On Fri, Feb 17, 2017 at 3:38 PM, Gabriel C wrote: My card seems to use the e1000e driver which is buit-in.. Anyway here an objdump -x : http://ftp.frugalware.org/pub/other/people/crazy/kernel/t/objdump-x_e1000.ko.txt Found

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:44, Cong Wang wrote: On Fri, Feb 17, 2017 at 3:38 PM, Gabriel C wrote: My card seems to use the e1000e driver which is buit-in.. Anyway here an objdump -x : http://ftp.frugalware.org/pub/other/people/crazy/kernel/t/objdump-x_e1000.ko.txt Found disable_hardirq() but not

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:25, Cong Wang wrote: On Fri, Feb 17, 2017 at 3:16 PM, Gabriel C wrote: On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:25, Cong Wang wrote: On Fri, Feb 17, 2017 at 3:16 PM, Gabriel C wrote: On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 3:38 PM, Gabriel C wrote: > > My card seems to use the e1000e driver which is buit-in.. > > Anyway here an objdump -x : > > http://ftp.frugalware.org/pub/other/people/crazy/kernel/t/objdump-x_e1000.ko.txt > Found disable_hardirq() but not

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 3:38 PM, Gabriel C wrote: > > My card seems to use the e1000e driver which is buit-in.. > > Anyway here an objdump -x : > > http://ftp.frugalware.org/pub/other/people/crazy/kernel/t/objdump-x_e1000.ko.txt > Found disable_hardirq() but not disable_irq(). Are you sure the

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 3:16 PM, Gabriel C wrote: > > > On 17.02.2017 23:38, Cong Wang wrote: >> >> On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: >>> >>> Hi all, >>> >>> while poking at a different issue I found the following on my logs : >>> >>>

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 3:16 PM, Gabriel C wrote: > > > On 17.02.2017 23:38, Cong Wang wrote: >> >> On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: >>> >>> Hi all, >>> >>> while poking at a different issue I found the following on my logs : >>> >>> [85362.132770] BUG: sleeping function called

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:16, Gabriel C wrote: On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 18.02.2017 00:16, Gabriel C wrote: On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
On 17.02.2017 23:38, Cong Wang wrote: On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110 [85362.132771] in_atomic(): 1,

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: > Hi all, > > while poking at a different issue I found the following on my logs : > > [85362.132770] BUG: sleeping function called from invalid context at > kernel/irq/manage.c:110 > [85362.132771] in_atomic(): 1,

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Cong Wang
On Fri, Feb 17, 2017 at 1:20 PM, Gabriel C wrote: > Hi all, > > while poking at a different issue I found the following on my logs : > > [85362.132770] BUG: sleeping function called from invalid context at > kernel/irq/manage.c:110 > [85362.132771] in_atomic(): 1, irqs_disabled(): 1, pid: 1153,

e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110 [85362.132771] in_atomic(): 1, irqs_disabled(): 1, pid: 1153, name: systemd-journal [85362.132772] no locks held by

e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110 [85362.132771] in_atomic(): 1, irqs_disabled(): 1, pid: 1153, name: systemd-journal [85362.132772] no locks held by

Re: [Intel-wired-lan] [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Francois Romieu
Eric Dumazet : [...] > I would prefer having a definitive advice from Thomas Gleixner and/or > others if disable_irq() is forbidden from IRQ path. > > As I said, about all netpoll() methods in net drivers use disable_irq() > so a lot of patches would be needed. s/about

Re: [Intel-wired-lan] [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Francois Romieu
Eric Dumazet : [...] > I would prefer having a definitive advice from Thomas Gleixner and/or > others if disable_irq() is forbidden from IRQ path. > > As I said, about all netpoll() methods in net drivers use disable_irq() > so a lot of patches would be needed. s/about all/many/ There has been

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Fengguang Wu
Hi Sabrina, The idea when this first came up was to skip the sleeping part of disable_irq(): http://marc.info/?l=linux-netdev=142314159626052 This fell off my todolist and I didn't send the conversion patches, which would basically look like this: Yes it works in the several machines that

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Fengguang Wu
Hi Sabrina, The idea when this first came up was to skip the sleeping part of disable_irq(): http://marc.info/?l=linux-netdev=142314159626052 This fell off my todolist and I didn't send the conversion patches, which would basically look like this: Yes it works in the several machines that

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Thomas Gleixner
On Thu, 28 Jul 2016, Sabrina Dubroca wrote: > 2016-07-28, 07:43:55 +0200, Eric Dumazet wrote: > > I would prefer having a definitive advice from Thomas Gleixner and/or > > others if disable_irq() is forbidden from IRQ path. Yes it is. Before we added threaded interrupt handlers it was not an

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Thomas Gleixner
On Thu, 28 Jul 2016, Sabrina Dubroca wrote: > 2016-07-28, 07:43:55 +0200, Eric Dumazet wrote: > > I would prefer having a definitive advice from Thomas Gleixner and/or > > others if disable_irq() is forbidden from IRQ path. Yes it is. Before we added threaded interrupt handlers it was not an

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Sabrina Dubroca
2016-07-28, 07:43:55 +0200, Eric Dumazet wrote: > On Wed, 2016-07-27 at 14:38 -0700, Jeff Kirsher wrote: > > On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > > > Could you try this ? > > > > > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Sabrina Dubroca
2016-07-28, 07:43:55 +0200, Eric Dumazet wrote: > On Wed, 2016-07-27 at 14:38 -0700, Jeff Kirsher wrote: > > On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > > > Could you try this ? > > > > > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Valdis . Kletnieks
On Thu, 28 Jul 2016 09:45:12 +0200, Thomas Gleixner said: > On Tue, 26 Jul 2016, nick wrote: > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > b/drivers/net/ethernet/intel/e1000/e1000_main.c > > index f42129d..e1830af 100644 > > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Valdis . Kletnieks
On Thu, 28 Jul 2016 09:45:12 +0200, Thomas Gleixner said: > On Tue, 26 Jul 2016, nick wrote: > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > b/drivers/net/ethernet/intel/e1000/e1000_main.c > > index f42129d..e1830af 100644 > > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Thomas Gleixner
On Tue, 26 Jul 2016, nick wrote: > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > b/drivers/net/ethernet/intel/e1000/e1000_main.c > index f42129d..e1830af 100644 > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c > +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c > @@ -3797,7

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-28 Thread Thomas Gleixner
On Tue, 26 Jul 2016, nick wrote: > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > b/drivers/net/ethernet/intel/e1000/e1000_main.c > index f42129d..e1830af 100644 > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c > +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c > @@ -3797,7

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Eric Dumazet
On Wed, 2016-07-27 at 14:38 -0700, Jeff Kirsher wrote: > On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > > Could you try this ? > > > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > b/drivers/net/ethernet/intel/e1000/e1000_main.c > > index > >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Eric Dumazet
On Wed, 2016-07-27 at 14:38 -0700, Jeff Kirsher wrote: > On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > > Could you try this ? > > > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > > b/drivers/net/ethernet/intel/e1000/e1000_main.c > > index > >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Jeff Kirsher
On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > Could you try this ? > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > b/drivers/net/ethernet/intel/e1000/e1000_main.c > index > f42129d09e2c23ba9fdb5cde890d50ecb7166a42..a53c41c4c4f7d1fe52f95a2cab8784a > 938b3820b 100644 >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Jeff Kirsher
On Tue, 2016-07-26 at 11:14 +0200, Eric Dumazet wrote: > Could you try this ? > > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > b/drivers/net/ethernet/intel/e1000/e1000_main.c > index > f42129d09e2c23ba9fdb5cde890d50ecb7166a42..a53c41c4c4f7d1fe52f95a2cab8784a > 938b3820b 100644 >

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Eric Dumazet
On Wed, 2016-07-27 at 23:01 +0800, Fengguang Wu wrote: > On Tue, Jul 26, 2016 at 06:28:33PM +0200, Eric Dumazet wrote: > >On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: > >> Hi Eric, > >> > >> It works! > >> > >> On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: > >> >On Tue,

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Eric Dumazet
On Wed, 2016-07-27 at 23:01 +0800, Fengguang Wu wrote: > On Tue, Jul 26, 2016 at 06:28:33PM +0200, Eric Dumazet wrote: > >On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: > >> Hi Eric, > >> > >> It works! > >> > >> On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: > >> >On Tue,

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Fengguang Wu
On Tue, Jul 26, 2016 at 06:28:33PM +0200, Eric Dumazet wrote: On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: Hi Eric, It works! On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: >On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: >> Greetings, >> >> This BUG message

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-27 Thread Fengguang Wu
On Tue, Jul 26, 2016 at 06:28:33PM +0200, Eric Dumazet wrote: On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: Hi Eric, It works! On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: >On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: >> Greetings, >> >> This BUG message

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Eric Dumazet
On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: > Hi Eric, > > It works! > > On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: > >On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: > >> Greetings, > >> > >> This BUG message can be found in recent kernels as well as v4.4

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Eric Dumazet
On Tue, 2016-07-26 at 23:32 +0800, Fengguang Wu wrote: > Hi Eric, > > It works! > > On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: > >On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: > >> Greetings, > >> > >> This BUG message can be found in recent kernels as well as v4.4

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Fengguang Wu
Hi Eric, It works! On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: Greetings, This BUG message can be found in recent kernels as well as v4.4 and linux-stable. It happens when running modprobe netconsole

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Fengguang Wu
Hi Eric, It works! On Tue, Jul 26, 2016 at 11:14:52AM +0200, Eric Dumazet wrote: On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: Greetings, This BUG message can be found in recent kernels as well as v4.4 and linux-stable. It happens when running modprobe netconsole

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Thomas Gleixner
On Tue, 26 Jul 2016, Fengguang Wu wrote: > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c > +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c > @@ -3797,7 +3797,7 @@ static irqreturn_t e1000_intr(int irq, void *data) > hw->get_link_status = 1; > /* guard against

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Thomas Gleixner
On Tue, 26 Jul 2016, Fengguang Wu wrote: > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c > +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c > @@ -3797,7 +3797,7 @@ static irqreturn_t e1000_intr(int irq, void *data) > hw->get_link_status = 1; > /* guard against

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Eric Dumazet
On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: > Greetings, > > This BUG message can be found in recent kernels as well as v4.4 and > linux-stable. It happens when running > > modprobe netconsole netconsole=@/,$port@$server/ > > [ 39.937534] 22 Jul 13:30:40 ntpdate[440]: step

Re: [e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-26 Thread Eric Dumazet
On Tue, 2016-07-26 at 11:50 +0800, Fengguang Wu wrote: > Greetings, > > This BUG message can be found in recent kernels as well as v4.4 and > linux-stable. It happens when running > > modprobe netconsole netconsole=@/,$port@$server/ > > [ 39.937534] 22 Jul 13:30:40 ntpdate[440]: step

[e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-25 Thread Fengguang Wu
Greetings, This BUG message can be found in recent kernels as well as v4.4 and linux-stable. It happens when running modprobe netconsole netconsole=@/,$port@$server/ [ 39.937534] 22 Jul 13:30:40 ntpdate[440]: step time server 192.168.1.1 offset -673.833841 sec [ 39.943285]

[e1000_netpoll] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-07-25 Thread Fengguang Wu
Greetings, This BUG message can be found in recent kernels as well as v4.4 and linux-stable. It happens when running modprobe netconsole netconsole=@/,$port@$server/ [ 39.937534] 22 Jul 13:30:40 ntpdate[440]: step time server 192.168.1.1 offset -673.833841 sec [ 39.943285]