[Kernel-packages] [Bug 1752574] Re: Thunderbolt NULL pointer dereference in linux 4.15
Yes, this appears to be either a Firmware or Hardware issue. I have managed to get everything working via a process of removing other PCIe devices until it worked in Windows and running a firmware update at that point before putting all the other devices back. It's working correctly now. ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1752574 Title: Thunderbolt NULL pointer dereference in linux 4.15 Status in linux package in Ubuntu: Invalid Bug description: [0.994565] thunderbolt :09:00.0: enabling device ( -> 0002) [0.994957] thunderbolt :09:00.0: NHI initialized, starting thunderbolt [0.994961] thunderbolt :09:00.0: allocating TX ring 0 of size 10 [0.994983] thunderbolt :09:00.0: allocating RX ring 0 of size 10 [0.994999] thunderbolt :09:00.0: control channel created [0.994999] thunderbolt :09:00.0: control channel starting... [0.995000] thunderbolt :09:00.0: starting TX ring 0 [0.995018] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [0.995018] thunderbolt :09:00.0: starting RX ring 0 [0.995033] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [0.995046] thunderbolt :09:00.0: starting ICM firmware [0.995060] BUG: unable to handle kernel NULL pointer dereference at 0980 [0.995065] IP: pci_write_config_dword+0x5/0x30 [0.995066] PGD 0 P4D 0 [0.995068] Oops: [#1] SMP PTI [0.995069] Modules linked in: thunderbolt(+) ahci(+) ipmi_devintf libahci ipmi_msghandler video fjes(-) [0.995074] CPU: 6 PID: 214 Comm: systemd-udevd Not tainted 4.15.0-10-generic #11-Ubuntu [0.995075] Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD5 TH/Z170X-UD5 TH-CF, BIOS F22d 12/01/2017 [0.995077] RIP: 0010:pci_write_config_dword+0x5/0x30 [0.995078] RSP: 0018:9e58839779e0 EFLAGS: 00010296 [0.995079] RAX: 4126 RBX: RCX: 0050 [0.995080] RDX: 0200 RSI: 0034 RDI: [0.995081] RBP: 9e5883977a18 R08: 0200 R09: 0330 [0.995082] R10: 2000 R11: R12: [0.995083] R13: 0050 R14: 92354e146f28 R15: [0.995084] FS: 7f86f2204440() GS:92357ed8() knlGS: [0.995085] CS: 0010 DS: ES: CR0: 80050033 [0.995086] CR2: 0980 CR3: 00080d1ce004 CR4: 003606e0 [0.995087] DR0: DR1: DR2: [0.995088] DR3: DR6: fffe0ff0 DR7: 0400 [0.995089] Call Trace: [0.995094] ? pcie2cio_write+0x40/0x80 [thunderbolt] [0.995098] icm_driver_ready+0x178/0x270 [thunderbolt] [0.995101] ? tb_ctl_start+0x50/0x90 [thunderbolt] [0.995105] tb_domain_add+0x79/0x100 [thunderbolt] [0.995108] nhi_probe+0x186/0x300 [thunderbolt] [0.995110] local_pci_probe+0x47/0xa0 [0.995111] pci_device_probe+0x145/0x1b0 [0.995114] driver_probe_device+0x31e/0x490 [0.995116] __driver_attach+0xa7/0xf0 [0.995118] ? driver_probe_device+0x490/0x490 [0.995119] bus_for_each_dev+0x70/0xc0 [0.995121] driver_attach+0x1e/0x20 [0.995123] bus_add_driver+0x1c7/0x270 [0.995124] ? 0xc03a9000 [0.995125] driver_register+0x60/0xe0 [0.995126] ? 0xc03a9000 [0.995128] __pci_register_driver+0x5a/0x60 [0.995131] nhi_init+0x2d/0x1000 [thunderbolt] [0.995133] do_one_initcall+0x52/0x1a0 [0.995135] ? _cond_resched+0x19/0x40 [0.995138] ? kmem_cache_alloc_trace+0xa6/0x1b0 [0.995140] ? do_init_module+0x27/0x209 [0.995141] do_init_module+0x5f/0x209 [0.995143] load_module+0x191e/0x1f10 [0.995146] ? ima_post_read_file+0x96/0xa0 [0.995148] SYSC_finit_module+0xfc/0x120 [0.995149] ? SYSC_finit_module+0xfc/0x120 [0.995151] SyS_finit_module+0xe/0x10 [0.995152] do_syscall_64+0x76/0x130 [0.995154] entry_SYSCALL_64_after_hwframe+0x21/0x86 [0.995155] RIP: 0033:0x7f86f1af3a49 [0.995156] RSP: 002b:7ffdedfa4478 EFLAGS: 0246 ORIG_RAX: 0139 [0.995157] RAX: ffda RBX: 559d3ffde790 RCX: 7f86f1af3a49 [0.995158] RDX: RSI: 7f86f17df0e5 RDI: 0005 [0.995159] RBP: 7f86f17df0e5 R08: R09: 7ffdedfa4590 [0.995160] R10: 0005 R11: 0246 R12: [0.995161] R13: 559d3ffedbf0 R14: 0002 R15:
[Kernel-packages] [Bug 1752574] Re: Thunderbolt NULL pointer dereference in linux 4.15
** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1752574 Title: Thunderbolt NULL pointer dereference in linux 4.15 Status in linux package in Ubuntu: Incomplete Bug description: [0.994565] thunderbolt :09:00.0: enabling device ( -> 0002) [0.994957] thunderbolt :09:00.0: NHI initialized, starting thunderbolt [0.994961] thunderbolt :09:00.0: allocating TX ring 0 of size 10 [0.994983] thunderbolt :09:00.0: allocating RX ring 0 of size 10 [0.994999] thunderbolt :09:00.0: control channel created [0.994999] thunderbolt :09:00.0: control channel starting... [0.995000] thunderbolt :09:00.0: starting TX ring 0 [0.995018] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [0.995018] thunderbolt :09:00.0: starting RX ring 0 [0.995033] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [0.995046] thunderbolt :09:00.0: starting ICM firmware [0.995060] BUG: unable to handle kernel NULL pointer dereference at 0980 [0.995065] IP: pci_write_config_dword+0x5/0x30 [0.995066] PGD 0 P4D 0 [0.995068] Oops: [#1] SMP PTI [0.995069] Modules linked in: thunderbolt(+) ahci(+) ipmi_devintf libahci ipmi_msghandler video fjes(-) [0.995074] CPU: 6 PID: 214 Comm: systemd-udevd Not tainted 4.15.0-10-generic #11-Ubuntu [0.995075] Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD5 TH/Z170X-UD5 TH-CF, BIOS F22d 12/01/2017 [0.995077] RIP: 0010:pci_write_config_dword+0x5/0x30 [0.995078] RSP: 0018:9e58839779e0 EFLAGS: 00010296 [0.995079] RAX: 4126 RBX: RCX: 0050 [0.995080] RDX: 0200 RSI: 0034 RDI: [0.995081] RBP: 9e5883977a18 R08: 0200 R09: 0330 [0.995082] R10: 2000 R11: R12: [0.995083] R13: 0050 R14: 92354e146f28 R15: [0.995084] FS: 7f86f2204440() GS:92357ed8() knlGS: [0.995085] CS: 0010 DS: ES: CR0: 80050033 [0.995086] CR2: 0980 CR3: 00080d1ce004 CR4: 003606e0 [0.995087] DR0: DR1: DR2: [0.995088] DR3: DR6: fffe0ff0 DR7: 0400 [0.995089] Call Trace: [0.995094] ? pcie2cio_write+0x40/0x80 [thunderbolt] [0.995098] icm_driver_ready+0x178/0x270 [thunderbolt] [0.995101] ? tb_ctl_start+0x50/0x90 [thunderbolt] [0.995105] tb_domain_add+0x79/0x100 [thunderbolt] [0.995108] nhi_probe+0x186/0x300 [thunderbolt] [0.995110] local_pci_probe+0x47/0xa0 [0.995111] pci_device_probe+0x145/0x1b0 [0.995114] driver_probe_device+0x31e/0x490 [0.995116] __driver_attach+0xa7/0xf0 [0.995118] ? driver_probe_device+0x490/0x490 [0.995119] bus_for_each_dev+0x70/0xc0 [0.995121] driver_attach+0x1e/0x20 [0.995123] bus_add_driver+0x1c7/0x270 [0.995124] ? 0xc03a9000 [0.995125] driver_register+0x60/0xe0 [0.995126] ? 0xc03a9000 [0.995128] __pci_register_driver+0x5a/0x60 [0.995131] nhi_init+0x2d/0x1000 [thunderbolt] [0.995133] do_one_initcall+0x52/0x1a0 [0.995135] ? _cond_resched+0x19/0x40 [0.995138] ? kmem_cache_alloc_trace+0xa6/0x1b0 [0.995140] ? do_init_module+0x27/0x209 [0.995141] do_init_module+0x5f/0x209 [0.995143] load_module+0x191e/0x1f10 [0.995146] ? ima_post_read_file+0x96/0xa0 [0.995148] SYSC_finit_module+0xfc/0x120 [0.995149] ? SYSC_finit_module+0xfc/0x120 [0.995151] SyS_finit_module+0xe/0x10 [0.995152] do_syscall_64+0x76/0x130 [0.995154] entry_SYSCALL_64_after_hwframe+0x21/0x86 [0.995155] RIP: 0033:0x7f86f1af3a49 [0.995156] RSP: 002b:7ffdedfa4478 EFLAGS: 0246 ORIG_RAX: 0139 [0.995157] RAX: ffda RBX: 559d3ffde790 RCX: 7f86f1af3a49 [0.995158] RDX: RSI: 7f86f17df0e5 RDI: 0005 [0.995159] RBP: 7f86f17df0e5 R08: R09: 7ffdedfa4590 [0.995160] R10: 0005 R11: 0246 R12: [0.995161] R13: 559d3ffedbf0 R14: 0002 R15: 559d3ffde790 [0.995162] Code: 87 c0 00 00 00 b9 04 00 00 00 48 89 e5 48 8b 40 20 e8 d0 45 72 00 5d c3 b8 87 00 00 00 c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <48> 8b 8f 80 09 00 00 83 e1 01 75 0b 55 48 89 e5 e8 a6
[Kernel-packages] [Bug 1752574] Re: Thunderbolt NULL pointer dereference in linux 4.15
Please update BIOS and TBT firmware. It's more likely to be a firmware issue. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1752574 Title: Thunderbolt NULL pointer dereference in linux 4.15 Status in linux package in Ubuntu: Confirmed Bug description: [0.994565] thunderbolt :09:00.0: enabling device ( -> 0002) [0.994957] thunderbolt :09:00.0: NHI initialized, starting thunderbolt [0.994961] thunderbolt :09:00.0: allocating TX ring 0 of size 10 [0.994983] thunderbolt :09:00.0: allocating RX ring 0 of size 10 [0.994999] thunderbolt :09:00.0: control channel created [0.994999] thunderbolt :09:00.0: control channel starting... [0.995000] thunderbolt :09:00.0: starting TX ring 0 [0.995018] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [0.995018] thunderbolt :09:00.0: starting RX ring 0 [0.995033] thunderbolt :09:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [0.995046] thunderbolt :09:00.0: starting ICM firmware [0.995060] BUG: unable to handle kernel NULL pointer dereference at 0980 [0.995065] IP: pci_write_config_dword+0x5/0x30 [0.995066] PGD 0 P4D 0 [0.995068] Oops: [#1] SMP PTI [0.995069] Modules linked in: thunderbolt(+) ahci(+) ipmi_devintf libahci ipmi_msghandler video fjes(-) [0.995074] CPU: 6 PID: 214 Comm: systemd-udevd Not tainted 4.15.0-10-generic #11-Ubuntu [0.995075] Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD5 TH/Z170X-UD5 TH-CF, BIOS F22d 12/01/2017 [0.995077] RIP: 0010:pci_write_config_dword+0x5/0x30 [0.995078] RSP: 0018:9e58839779e0 EFLAGS: 00010296 [0.995079] RAX: 4126 RBX: RCX: 0050 [0.995080] RDX: 0200 RSI: 0034 RDI: [0.995081] RBP: 9e5883977a18 R08: 0200 R09: 0330 [0.995082] R10: 2000 R11: R12: [0.995083] R13: 0050 R14: 92354e146f28 R15: [0.995084] FS: 7f86f2204440() GS:92357ed8() knlGS: [0.995085] CS: 0010 DS: ES: CR0: 80050033 [0.995086] CR2: 0980 CR3: 00080d1ce004 CR4: 003606e0 [0.995087] DR0: DR1: DR2: [0.995088] DR3: DR6: fffe0ff0 DR7: 0400 [0.995089] Call Trace: [0.995094] ? pcie2cio_write+0x40/0x80 [thunderbolt] [0.995098] icm_driver_ready+0x178/0x270 [thunderbolt] [0.995101] ? tb_ctl_start+0x50/0x90 [thunderbolt] [0.995105] tb_domain_add+0x79/0x100 [thunderbolt] [0.995108] nhi_probe+0x186/0x300 [thunderbolt] [0.995110] local_pci_probe+0x47/0xa0 [0.995111] pci_device_probe+0x145/0x1b0 [0.995114] driver_probe_device+0x31e/0x490 [0.995116] __driver_attach+0xa7/0xf0 [0.995118] ? driver_probe_device+0x490/0x490 [0.995119] bus_for_each_dev+0x70/0xc0 [0.995121] driver_attach+0x1e/0x20 [0.995123] bus_add_driver+0x1c7/0x270 [0.995124] ? 0xc03a9000 [0.995125] driver_register+0x60/0xe0 [0.995126] ? 0xc03a9000 [0.995128] __pci_register_driver+0x5a/0x60 [0.995131] nhi_init+0x2d/0x1000 [thunderbolt] [0.995133] do_one_initcall+0x52/0x1a0 [0.995135] ? _cond_resched+0x19/0x40 [0.995138] ? kmem_cache_alloc_trace+0xa6/0x1b0 [0.995140] ? do_init_module+0x27/0x209 [0.995141] do_init_module+0x5f/0x209 [0.995143] load_module+0x191e/0x1f10 [0.995146] ? ima_post_read_file+0x96/0xa0 [0.995148] SYSC_finit_module+0xfc/0x120 [0.995149] ? SYSC_finit_module+0xfc/0x120 [0.995151] SyS_finit_module+0xe/0x10 [0.995152] do_syscall_64+0x76/0x130 [0.995154] entry_SYSCALL_64_after_hwframe+0x21/0x86 [0.995155] RIP: 0033:0x7f86f1af3a49 [0.995156] RSP: 002b:7ffdedfa4478 EFLAGS: 0246 ORIG_RAX: 0139 [0.995157] RAX: ffda RBX: 559d3ffde790 RCX: 7f86f1af3a49 [0.995158] RDX: RSI: 7f86f17df0e5 RDI: 0005 [0.995159] RBP: 7f86f17df0e5 R08: R09: 7ffdedfa4590 [0.995160] R10: 0005 R11: 0246 R12: [0.995161] R13: 559d3ffedbf0 R14: 0002 R15: 559d3ffde790 [0.995162] Code: 87 c0 00 00 00 b9 04 00 00 00 48 89 e5 48 8b 40 20 e8 d0 45 72 00 5d c3 b8 87 00 00 00 c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <48> 8b 8f 80 09 00 00 83 e1 01 75 0b 55 48 89 e5 e8 a6 ff ff ff [0.995182] RIP: