All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
       [not found] <20160609172444.GB6277@invalid>
@ 2016-06-09 18:14 ` Alan Stern
  2016-06-09 19:10   ` Nadav Amit
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Stern @ 2016-06-09 18:14 UTC (permalink / raw)
  To: M G Berberich; +Cc: USB list, linux-mm

On Thu, 9 Jun 2016, M G Berberich wrote:

> Hello,
> 
> With 4.7-rc2, after detecting a USB Mass Storage device
> 
>   [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
> 
> a constant flow of kernel-BUGS is reported (several per second).
> 
> [   11.599215] BUG: using smp_processor_id() in preemptible [00000000] code:
> systemd-udevd/389
> [   11.599218] caller is debug_smp_processor_id+0x17/0x20
> [   11.599220] CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.7.0-rc2 #6
> [   11.599220] Hardware name: Gigabyte Technology Co., Ltd. H87-HD3/H87-HD3,
> BIOS F10 08/18/2015
> [   11.599223]  0000000000000000 ffff88080466b6c8 ffffffff813fc42d
> 0000000000000004
> [   11.599224]  ffffffff81cc1da3 ffff88080466b6f8 ffffffff8141a0f6
> 0000000000000000
> [   11.599226]  ffff880809fe8d98 0000000000000001 00000000000fffff
> ffff88080466b708
> [   11.599226] Call Trace:
> [   11.599229]  [<ffffffff813fc42d>] dump_stack+0x4f/0x72
> [   11.599231]  [<ffffffff8141a0f6>] check_preemption_disabled+0xd6/0xe0
> [   11.599233]  [<ffffffff8141a117>] debug_smp_processor_id+0x17/0x20
> [   11.599235]  [<ffffffff814f0336>] alloc_iova_fast+0xb6/0x210
> [   11.599238]  [<ffffffff819ed64f>] ? __wait_on_bit+0x6f/0x90
> [   11.599240]  [<ffffffff814f388d>] intel_alloc_iova+0x9d/0xd0
> [   11.599241]  [<ffffffff814f7c33>] __intel_map_single+0x93/0x190
> [   11.599242]  [<ffffffff814f7d64>] intel_map_page+0x34/0x40
> 
> Please see https://bugzilla.kernel.org/show_bug.cgi?id=119801 for a
> more complete kernel-log

This looks like a bug in the memory management subsystem.  It should be 
reported on the linux-mm mailing list (CC'ed).

Alan Stern

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
  2016-06-09 18:14 ` BUG: using smp_processor_id() in preemptible [00000000] code] Alan Stern
@ 2016-06-09 19:10   ` Nadav Amit
  2016-06-13 13:06       ` M G Berberich
  0 siblings, 1 reply; 7+ messages in thread
From: Nadav Amit @ 2016-06-09 19:10 UTC (permalink / raw)
  To: iommu, Adam Morrison, M G Berberich; +Cc: USB list, linux-mm, Alan Stern

Alan Stern <stern@rowland.harvard.edu> wrote:

> On Thu, 9 Jun 2016, M G Berberich wrote:
> 
>> Hello,
>> 
>> With 4.7-rc2, after detecting a USB Mass Storage device
>> 
>>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
>> 
>> a constant flow of kernel-BUGS is reported (several per second).
>> 
>> [   11.599215] BUG: using smp_processor_id() in preemptible [00000000] code:
>> systemd-udevd/389
>> [   11.599218] caller is debug_smp_processor_id+0x17/0x20
>> [   11.599220] CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.7.0-rc2 #6
>> [   11.599220] Hardware name: Gigabyte Technology Co., Ltd. H87-HD3/H87-HD3,
>> BIOS F10 08/18/2015
>> [   11.599223]  0000000000000000 ffff88080466b6c8 ffffffff813fc42d
>> 0000000000000004
>> [   11.599224]  ffffffff81cc1da3 ffff88080466b6f8 ffffffff8141a0f6
>> 0000000000000000
>> [   11.599226]  ffff880809fe8d98 0000000000000001 00000000000fffff
>> ffff88080466b708
>> [   11.599226] Call Trace:
>> [   11.599229]  [<ffffffff813fc42d>] dump_stack+0x4f/0x72
>> [   11.599231]  [<ffffffff8141a0f6>] check_preemption_disabled+0xd6/0xe0
>> [   11.599233]  [<ffffffff8141a117>] debug_smp_processor_id+0x17/0x20
>> [   11.599235]  [<ffffffff814f0336>] alloc_iova_fast+0xb6/0x210
>> [   11.599238]  [<ffffffff819ed64f>] ? __wait_on_bit+0x6f/0x90
>> [   11.599240]  [<ffffffff814f388d>] intel_alloc_iova+0x9d/0xd0
>> [   11.599241]  [<ffffffff814f7c33>] __intel_map_single+0x93/0x190
>> [   11.599242]  [<ffffffff814f7d64>] intel_map_page+0x34/0x40
>> 
>> Please see https://bugzilla.kernel.org/show_bug.cgi?id=119801 for a
>> more complete kernel-log
> 
> This looks like a bug in the memory management subsystem.  It should be 
> reported on the linux-mm mailing list (CC'ed).

This bug is IOMMU related (mailing list CC’ed) and IIUC already fixed.

Regards,
Nadav


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
@ 2016-06-13 13:06       ` M G Berberich
  0 siblings, 0 replies; 7+ messages in thread
From: M G Berberich @ 2016-06-13 13:06 UTC (permalink / raw)
  To: Nadav Amit; +Cc: iommu, Adam Morrison, USB list, linux-mm, Alan Stern

Hello,

Am Donnerstag, den 09. Juni schrieb Nadav Amit:
> Alan Stern <stern@rowland.harvard.edu> wrote:
> 
> > On Thu, 9 Jun 2016, M G Berberich wrote:
> > 
> >> With 4.7-rc2, after detecting a USB Mass Storage device
> >> 
> >>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
> >> 
> >> a constant flow of kernel-BUGS is reported (several per second).

[a?|]

> > This looks like a bug in the memory management subsystem.  It should be 
> > reported on the linux-mm mailing list (CC'ed).
> 
> This bug is IOMMU related (mailing list CCa??ed) and IIUC already fixed.

Not fixed in 4.7-rc3

	MfG
	bmg

-- 
a??Des is vA?llig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!a??          | mail@m-berberich.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
@ 2016-06-13 13:06       ` M G Berberich
  0 siblings, 0 replies; 7+ messages in thread
From: M G Berberich @ 2016-06-13 13:06 UTC (permalink / raw)
  To: Nadav Amit
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, Adam Morrison,
	USB list, linux-mm-Bw31MaZKKs3YtjvyW6yDsg, Alan Stern

Hello,

Am Donnerstag, den 09. Juni schrieb Nadav Amit:
> Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org> wrote:
> 
> > On Thu, 9 Jun 2016, M G Berberich wrote:
> > 
> >> With 4.7-rc2, after detecting a USB Mass Storage device
> >> 
> >>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
> >> 
> >> a constant flow of kernel-BUGS is reported (several per second).

[…]

> > This looks like a bug in the memory management subsystem.  It should be 
> > reported on the linux-mm mailing list (CC'ed).
> 
> This bug is IOMMU related (mailing list CC’ed) and IIUC already fixed.

Not fixed in 4.7-rc3

	MfG
	bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | mail@m-berberich.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
  2016-06-13 13:06       ` M G Berberich
  (?)
@ 2016-06-13 13:11       ` Adam Morrison
  2016-06-14  9:08           ` M G Berberich
  -1 siblings, 1 reply; 7+ messages in thread
From: Adam Morrison @ 2016-06-13 13:11 UTC (permalink / raw)
  To: M G Berberich; +Cc: Nadav Amit, iommu, USB list, linux-mm, Alan Stern

Hi,

On Mon, Jun 13, 2016 at 4:06 PM, M G Berberich
<berberic@fmi.uni-passau.de> wrote:

> Hello,
>
>> >> With 4.7-rc2, after detecting a USB Mass Storage device
>> >>
>> >>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
>> >>
>> >> a constant flow of kernel-BUGS is reported (several per second).
>
> […]
>
>> > This looks like a bug in the memory management subsystem.  It should be
>> > reported on the linux-mm mailing list (CC'ed).
>>
>> This bug is IOMMU related (mailing list CC’ed) and IIUC already fixed.
>
> Not fixed in 4.7-rc3

These patches should fix the issue:

    https://lkml.org/lkml/2016/6/1/310
    https://lkml.org/lkml/2016/6/1/311

I'm not sure why they weren't applied... will ping the maintainers.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
  2016-06-13 13:11       ` Adam Morrison
@ 2016-06-14  9:08           ` M G Berberich
  0 siblings, 0 replies; 7+ messages in thread
From: M G Berberich @ 2016-06-14  9:08 UTC (permalink / raw)
  To: Adam Morrison; +Cc: Nadav Amit, iommu, USB list, linux-mm, Alan Stern

Hello,

Am Montag, den 13. Juni schrieb Adam Morrison:
> On Mon, Jun 13, 2016 at 4:06 PM, M G Berberich
> <berberic@fmi.uni-passau.de> wrote:
> 
> > Hello,
> >
> >> >> With 4.7-rc2, after detecting a USB Mass Storage device
> >> >>
> >> >>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
> >> >>
> >> >> a constant flow of kernel-BUGS is reported (several per second).
> >
> > [a?|]
> >
> >> > This looks like a bug in the memory management subsystem.  It should be
> >> > reported on the linux-mm mailing list (CC'ed).
> >>
> >> This bug is IOMMU related (mailing list CCa??ed) and IIUC already fixed.
> >
> > Not fixed in 4.7-rc3
> 
> These patches should fix the issue:
> 
>     https://lkml.org/lkml/2016/6/1/310
>     https://lkml.org/lkml/2016/6/1/311

FYIO: They do, indeed.

> I'm not sure why they weren't applied... will ping the maintainers.

	MfG
	bmg

-- 
a??Des is vA?llig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!a??          | mail@m-berberich.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: BUG: using smp_processor_id() in preemptible [00000000] code]
@ 2016-06-14  9:08           ` M G Berberich
  0 siblings, 0 replies; 7+ messages in thread
From: M G Berberich @ 2016-06-14  9:08 UTC (permalink / raw)
  To: Adam Morrison; +Cc: Nadav Amit, iommu, USB list, linux-mm, Alan Stern

Hello,

Am Montag, den 13. Juni schrieb Adam Morrison:
> On Mon, Jun 13, 2016 at 4:06 PM, M G Berberich
> <berberic@fmi.uni-passau.de> wrote:
> 
> > Hello,
> >
> >> >> With 4.7-rc2, after detecting a USB Mass Storage device
> >> >>
> >> >>  [   11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected
> >> >>
> >> >> a constant flow of kernel-BUGS is reported (several per second).
> >
> > […]
> >
> >> > This looks like a bug in the memory management subsystem.  It should be
> >> > reported on the linux-mm mailing list (CC'ed).
> >>
> >> This bug is IOMMU related (mailing list CC’ed) and IIUC already fixed.
> >
> > Not fixed in 4.7-rc3
> 
> These patches should fix the issue:
> 
>     https://lkml.org/lkml/2016/6/1/310
>     https://lkml.org/lkml/2016/6/1/311

FYIO: They do, indeed.

> I'm not sure why they weren't applied... will ping the maintainers.

	MfG
	bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | mail@m-berberich.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-14  9:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20160609172444.GB6277@invalid>
2016-06-09 18:14 ` BUG: using smp_processor_id() in preemptible [00000000] code] Alan Stern
2016-06-09 19:10   ` Nadav Amit
2016-06-13 13:06     ` M G Berberich
2016-06-13 13:06       ` M G Berberich
2016-06-13 13:11       ` Adam Morrison
2016-06-14  9:08         ` M G Berberich
2016-06-14  9:08           ` M G Berberich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.