From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadav Amit Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Date: Thu, 9 Jun 2016 12:10:47 -0700 Message-ID: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org To: iommu@lists.linux-foundation.org, Adam Morrison , M G Berberich Cc: USB list , linux-mm@kvack.org, Alan Stern List-Id: iommu@lists.linux-foundation.org Alan Stern wrote: > On Thu, 9 Jun 2016, M G Berberich wrote: >=20 >> Hello, >>=20 >> With 4.7-rc2, after detecting a USB Mass Storage device >>=20 >> [ 11.589843] usb-storage 4-2:1.0: USB Mass Storage device detected >>=20 >> a constant flow of kernel-BUGS is reported (several per second). >>=20 >> [ 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] [] dump_stack+0x4f/0x72 >> [ 11.599231] [] = check_preemption_disabled+0xd6/0xe0 >> [ 11.599233] [] debug_smp_processor_id+0x17/0x20 >> [ 11.599235] [] alloc_iova_fast+0xb6/0x210 >> [ 11.599238] [] ? __wait_on_bit+0x6f/0x90 >> [ 11.599240] [] intel_alloc_iova+0x9d/0xd0 >> [ 11.599241] [] __intel_map_single+0x93/0x190 >> [ 11.599242] [] intel_map_page+0x34/0x40 >>=20 >> Please see https://bugzilla.kernel.org/show_bug.cgi?id=3D119801 for a >> more complete kernel-log >=20 > This looks like a bug in the memory management subsystem. It should = be=20 > reported on the linux-mm mailing list (CC'ed). This bug is IOMMU related (mailing list CC=E2=80=99ed) 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: M G Berberich Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Date: Mon, 13 Jun 2016 15:06:51 +0200 Message-ID: <20160613130651.GA8662@invalid> References: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <50F437E3-85F7-4034-BAAE-B2558173A2EA-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Nadav Amit Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Adam Morrison , USB list , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Alan Stern List-Id: iommu@lists.linux-foundation.org Hello, Am Donnerstag, den 09. Juni schrieb Nadav Amit: > Alan Stern wrote: >=20 > > On Thu, 9 Jun 2016, M G Berberich wrote: > >=20 > >> With 4.7-rc2, after detecting a USB Mass Storage device > >>=20 > >> [ 11.589843] usb-storage 4-2:1.0: USB Mass Storage device detec= ted > >>=20 > >> a constant flow of kernel-BUGS is reported (several per second). [=E2=80=A6] > > This looks like a bug in the memory management subsystem. It shoul= d be=20 > > reported on the linux-mm mailing list (CC'ed). >=20 > This bug is IOMMU related (mailing list CC=E2=80=99ed) and IIUC alrea= dy fixed. Not fixed in 4.7-rc3 MfG bmg --=20 =E2=80=9EDes is v=C3=B6llig wurscht, was heut beschlos- | M G Berberich sen wird: I bin sowieso dagegn!=E2=80=9C | mail@m-berberich.d= e (SPD-Stadtrat Kurt Schindler; Regensburg) |=20 -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Morrison Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Date: Mon, 13 Jun 2016 16:11:39 +0300 Message-ID: References: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> <20160613130651.GA8662@invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20160613130651.GA8662@invalid> Sender: owner-linux-mm@kvack.org To: M G Berberich Cc: Nadav Amit , iommu@lists.linux-foundation.org, USB list , linux-mm@kvack.org, Alan Stern List-Id: iommu@lists.linux-foundation.org Hi, On Mon, Jun 13, 2016 at 4:06 PM, 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). > > [=E2=80=A6] > >> > This looks like a bug in the memory management subsystem. It should b= e >> > reported on the linux-mm mailing list (CC'ed). >> >> This bug is IOMMU related (mailing list CC=E2=80=99ed) 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: M G Berberich Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Date: Tue, 14 Jun 2016 11:08:09 +0200 Message-ID: <20160614090809.GA6723@invalid> References: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> <20160613130651.GA8662@invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Adam Morrison Cc: Nadav Amit , iommu@lists.linux-foundation.org, USB list , linux-mm@kvack.org, Alan Stern List-Id: iommu@lists.linux-foundation.org Hello, Am Montag, den 13. Juni schrieb Adam Morrison: > On Mon, Jun 13, 2016 at 4:06 PM, M G Berberich > wrote: >=20 > > Hello, > > > >> >> With 4.7-rc2, after detecting a USB Mass Storage device > >> >> > >> >> [ 11.589843] usb-storage 4-2:1.0: USB Mass Storage device dete= cted > >> >> > >> >> a constant flow of kernel-BUGS is reported (several per second). > > > > [=E2=80=A6] > > > >> > This looks like a bug in the memory management subsystem. It shou= ld be > >> > reported on the linux-mm mailing list (CC'ed). > >> > >> This bug is IOMMU related (mailing list CC=E2=80=99ed) and IIUC alre= ady fixed. > > > > Not fixed in 4.7-rc3 >=20 > These patches should fix the issue: >=20 > 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 --=20 =E2=80=9EDes is v=C3=B6llig wurscht, was heut beschlos- | M G Berberich sen wird: I bin sowieso dagegn!=E2=80=9C | mail@m-berberich.de (SPD-Stadtrat Kurt Schindler; Regensburg) |=20 -- 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f69.google.com (mail-it0-f69.google.com [209.85.214.69]) by kanga.kvack.org (Postfix) with ESMTP id 8421A828EA for ; Thu, 9 Jun 2016 14:14:08 -0400 (EDT) Received: by mail-it0-f69.google.com with SMTP id z189so80194177itg.2 for ; Thu, 09 Jun 2016 11:14:08 -0700 (PDT) Received: from iolanthe.rowland.org (iolanthe.rowland.org. [192.131.102.54]) by mx.google.com with SMTP id b74si5020553ioj.3.2016.06.09.11.14.07 for ; Thu, 09 Jun 2016 11:14:07 -0700 (PDT) Date: Thu, 9 Jun 2016 14:14:06 -0400 (EDT) From: Alan Stern Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] In-Reply-To: <20160609172444.GB6277@invalid> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: M G Berberich Cc: USB list , linux-mm@kvack.org 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] [] dump_stack+0x4f/0x72 > [ 11.599231] [] check_preemption_disabled+0xd6/0xe0 > [ 11.599233] [] debug_smp_processor_id+0x17/0x20 > [ 11.599235] [] alloc_iova_fast+0xb6/0x210 > [ 11.599238] [] ? __wait_on_bit+0x6f/0x90 > [ 11.599240] [] intel_alloc_iova+0x9d/0xd0 > [ 11.599241] [] __intel_map_single+0x93/0x190 > [ 11.599242] [] 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f71.google.com (mail-wm0-f71.google.com [74.125.82.71]) by kanga.kvack.org (Postfix) with ESMTP id 556026B0005 for ; Mon, 13 Jun 2016 09:07:00 -0400 (EDT) Received: by mail-wm0-f71.google.com with SMTP id r5so28994621wmr.0 for ; Mon, 13 Jun 2016 06:07:00 -0700 (PDT) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de. [80.67.31.97]) by mx.google.com with ESMTPS id t185si6356540wmd.88.2016.06.13.06.06.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jun 2016 06:06:59 -0700 (PDT) Date: Mon, 13 Jun 2016 15:06:51 +0200 From: M G Berberich Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Message-ID: <20160613130651.GA8662@invalid> References: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Nadav Amit Cc: iommu@lists.linux-foundation.org, Adam Morrison , USB list , linux-mm@kvack.org, Alan Stern Hello, Am Donnerstag, den 09. Juni schrieb Nadav Amit: > Alan Stern 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by kanga.kvack.org (Postfix) with ESMTP id 16B8B6B0293 for ; Tue, 14 Jun 2016 05:08:17 -0400 (EDT) Received: by mail-lb0-f199.google.com with SMTP id jf8so59808961lbc.3 for ; Tue, 14 Jun 2016 02:08:17 -0700 (PDT) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de. [80.67.29.7]) by mx.google.com with ESMTPS id gu6si9253292wjb.54.2016.06.14.02.08.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jun 2016 02:08:15 -0700 (PDT) Date: Tue, 14 Jun 2016 11:08:09 +0200 From: M G Berberich Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code] Message-ID: <20160614090809.GA6723@invalid> References: <50F437E3-85F7-4034-BAAE-B2558173A2EA@gmail.com> <20160613130651.GA8662@invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Adam Morrison Cc: Nadav Amit , iommu@lists.linux-foundation.org, USB list , linux-mm@kvack.org, Alan Stern Hello, Am Montag, den 13. Juni schrieb Adam Morrison: > On Mon, Jun 13, 2016 at 4:06 PM, 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). > > > > [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: email@kvack.org