Skip to contentSkip to conversation

BUG: using smp_processor_id() in preemptible [00000000] code]

DISCUSSION Alan Stern 4 participants 5 messages Jun 9, 2016 – Jun 14, 2016 1 message not in the archive Memory management

lore
Share & tools
lore

Alan Stern

author
#1 lore raw
In reply to a message not in the archive
Quoted 30 lines · M G Berberich

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
Quoted 2 lines

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw
Quoted 32 lines · Alan Stern
Quoted 30 lines · M G Berberich

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
Quoted 5 lines
Quoted 2 lines

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#3 lore raw

Hello,

Am Donnerstag, den 09. Juni schrieb Nadav Amit:

Quoted 9 lines
Quoted 7 lines · Alan Stern
Quoted 5 lines · M G Berberich

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).

[…]

Quoted 4 lines
Quoted 2 lines

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

Signature · 7 lines
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | [email protected]
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

Hi,

Quoted 8 lines · M G Berberich

Hello,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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).

Quoted 8 lines

[…]

Quoted 4 lines
Quoted 2 lines

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#5 lore raw

Hello,

Am Montag, den 13. Juni schrieb Adam Morrison:

Quoted 16 lines
Quoted 13 lines · M G Berberich

Hello,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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).

[…]

Quoted 3 lines
Quoted 2 lines

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

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

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.

Quoted 1 line

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

MfG
bmg

Signature · 9 lines
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | [email protected]
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 

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