Activity log for bug #1822871

Date Who What changed Old value New value Message
2019-04-02 19:24:35 dann frazier bug added bug
2019-04-02 19:27:36 dann frazier bug added subscriber Ard Biesheuvel
2019-04-02 19:30:07 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2019-04-02 19:30:43 dann frazier summary enabling ftrace on Hi1620 causes an Oops enabling ftrace on Hi1620 CS causes an Oops
2019-04-02 19:31:27 dann frazier description [Impact] Attempting to enable the function tracer causes an Oops. This impacts the current disco kernel, as well as latest upstream (@5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539). [Test Case] $ echo function | sudo tee /sys/kernel/debug/tracing/current_tracer [ 3125.651453] kernel BUG at arch/arm64/kernel/insn.c:1325! [ 3125.656766] Internal error: Oops - BUG: 0 [#1] SMP [ 3125.661551] Modules linked in: nls_iso8859_1 ipmi_ssif joydev input_leds tpm_tis_spi hns_roce_hw_v2 hns_roce ib_uverbs spi_dw_mmio ipmi_si spi_dw ipmi_devintf ipmi_msghandler cppc_cpufreq sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear ses enclosure marvell aes_ce_blk aes_ce_cipher hibmc_drm hid_generic ttm crct10dif_ce drm_kms_helper ghash_ce sha2_ce syscopyarea sha256_arm64 sysfillrect ixgbe igb sha1_ce hns3 sysimgblt usbhid fb_sys_fops hisi_sas_v3_hw hclge i2c_algo_bit xfrm_algo hisi_sas_main mdio hid drm hnae3 libsas ahci scsi_transport_sas hinic gpio_dwapb aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 [ 3125.736544] CPU: 124 PID: 3306 Comm: tee Not tainted 5.0.0-rc4+ #12 [ 3125.742802] Hardware name: Huawei TaiShan 2280 V2/BC82AMDA, BIOS TA BIOS 2280-A CS V2.16.01 03/16/2019 [ 3125.752099] pstate: 00400009 (nzcv daif +PAN -UAO) [ 3125.756893] pc : aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.762111] lr : plt_entries_equal.part.3+0x40/0x80 [ 3125.766979] sp : ffff00002837b9f0 [ 3125.770286] x29: ffff00002837b9f0 x28: ffffbef4fd20d880 [ 3125.775591] x27: 0000000000000000 x26: 0000000000000000 [ 3125.780896] x25: 0000ffffdea2a7e8 x24: ffff3dceb8413000 [ 3125.786200] x23: 0000000000000002 x22: ffff3dce9d2289a4 [ 3125.791504] x21: ffff00002837ba8c x20: ffff00002837b000 [ 3125.796808] x19: ffff3dce9d228000 x18: 0000000000000000 [ 3125.802112] x17: 0000000000000000 x16: ffff3dceb7742780 [ 3125.807416] x15: ffff3dceb7ce7c38 x14: 0000000000000001 [ 3125.812720] x13: ffffbef50bb9e188 x12: 0000000000000000 [ 3125.818023] x11: ffff7efba3e79608 x10: 0000000000000a70 [ 3125.823327] x9 : ffff3dceb6deeacc x8 : 0000000000000000 [ 3125.828631] x7 : 0000000000000005 x6 : ffff3dceb8413f10 [ 3125.833935] x5 : 00000000002b3000 x4 : ffff3dceb6f4f4b8 [ 3125.839239] x3 : 0000000000000000 x2 : 0000000090000000 [ 3125.844543] x1 : 0000000000000000 x0 : 0000000000000000 [ 3125.849850] Process tee (pid: 3306, stack limit = 0x00000000262bb476) [ 3125.856281] Call trace: [ 3125.858723] aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.863593] plt_entries_equal.part.3+0x40/0x80 [ 3125.868115] plt_entries_equal+0x5c/0x70 [ 3125.872031] ftrace_make_call+0xf0/0x150 [ 3125.875950] __ftrace_replace_code+0xe8/0xf8 [ 3125.880212] ftrace_replace_code+0x64/0xc0 [ 3125.884301] ftrace_modify_all_code+0xb0/0x148 [ 3125.888738] arch_ftrace_update_code+0x10/0x18 [ 3125.893174] ftrace_run_update_code+0x20/0x70 [ 3125.897524] ftrace_startup_enable+0x4c/0x58 [ 3125.901788] ftrace_startup+0xa4/0x140 [ 3125.905531] register_ftrace_function+0x64/0x80 [ 3125.910059] function_trace_init+0x50/0x98 [ 3125.914149] tracing_set_tracer+0xf4/0x1c0 [ 3125.918238] tracing_set_trace_write+0x10c/0x168 [ 3125.922852] __vfs_write+0x60/0x1a8 [ 3125.926333] vfs_write+0xac/0x1b8 [ 3125.929641] ksys_write+0x6c/0xd8 [ 3125.932949] __arm64_sys_write+0x24/0x30 [ 3125.936866] el0_svc_common+0x78/0x120 [ 3125.940608] el0_svc_handler+0x38/0x78 [ 3125.944349] el0_svc+0x8/0xc [ 3125.947224] Code: 97fffb33 53144c00 a8c17bfd d65f03c0 (d4210000) [ 3125.953312] ---[ end trace 0872d3e5933385e2 ]--- [Fix] TBD [Regression Risk] TBD [Impact] Attempting to enable the function tracer causes an Oops. This impacts the current disco kernel, as well as latest upstream (@5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539). This is 100% reproducible on D06 CS systems, but not reproducible on D06 ES systems (the previous silicon rev). [Test Case] $ echo function | sudo tee /sys/kernel/debug/tracing/current_tracer [ 3125.651453] kernel BUG at arch/arm64/kernel/insn.c:1325! [ 3125.656766] Internal error: Oops - BUG: 0 [#1] SMP [ 3125.661551] Modules linked in: nls_iso8859_1 ipmi_ssif joydev input_leds tpm_tis_spi hns_roce_hw_v2 hns_roce ib_uverbs spi_dw_mmio ipmi_si spi_dw ipmi_devintf ipmi_msghandler cppc_cpufreq sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear ses enclosure marvell aes_ce_blk aes_ce_cipher hibmc_drm hid_generic ttm crct10dif_ce drm_kms_helper ghash_ce sha2_ce syscopyarea sha256_arm64 sysfillrect ixgbe igb sha1_ce hns3 sysimgblt usbhid fb_sys_fops hisi_sas_v3_hw hclge i2c_algo_bit xfrm_algo hisi_sas_main mdio hid drm hnae3 libsas ahci scsi_transport_sas hinic gpio_dwapb aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 [ 3125.736544] CPU: 124 PID: 3306 Comm: tee Not tainted 5.0.0-rc4+ #12 [ 3125.742802] Hardware name: Huawei TaiShan 2280 V2/BC82AMDA, BIOS TA BIOS 2280-A CS V2.16.01 03/16/2019 [ 3125.752099] pstate: 00400009 (nzcv daif +PAN -UAO) [ 3125.756893] pc : aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.762111] lr : plt_entries_equal.part.3+0x40/0x80 [ 3125.766979] sp : ffff00002837b9f0 [ 3125.770286] x29: ffff00002837b9f0 x28: ffffbef4fd20d880 [ 3125.775591] x27: 0000000000000000 x26: 0000000000000000 [ 3125.780896] x25: 0000ffffdea2a7e8 x24: ffff3dceb8413000 [ 3125.786200] x23: 0000000000000002 x22: ffff3dce9d2289a4 [ 3125.791504] x21: ffff00002837ba8c x20: ffff00002837b000 [ 3125.796808] x19: ffff3dce9d228000 x18: 0000000000000000 [ 3125.802112] x17: 0000000000000000 x16: ffff3dceb7742780 [ 3125.807416] x15: ffff3dceb7ce7c38 x14: 0000000000000001 [ 3125.812720] x13: ffffbef50bb9e188 x12: 0000000000000000 [ 3125.818023] x11: ffff7efba3e79608 x10: 0000000000000a70 [ 3125.823327] x9 : ffff3dceb6deeacc x8 : 0000000000000000 [ 3125.828631] x7 : 0000000000000005 x6 : ffff3dceb8413f10 [ 3125.833935] x5 : 00000000002b3000 x4 : ffff3dceb6f4f4b8 [ 3125.839239] x3 : 0000000000000000 x2 : 0000000090000000 [ 3125.844543] x1 : 0000000000000000 x0 : 0000000000000000 [ 3125.849850] Process tee (pid: 3306, stack limit = 0x00000000262bb476) [ 3125.856281] Call trace: [ 3125.858723] aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.863593] plt_entries_equal.part.3+0x40/0x80 [ 3125.868115] plt_entries_equal+0x5c/0x70 [ 3125.872031] ftrace_make_call+0xf0/0x150 [ 3125.875950] __ftrace_replace_code+0xe8/0xf8 [ 3125.880212] ftrace_replace_code+0x64/0xc0 [ 3125.884301] ftrace_modify_all_code+0xb0/0x148 [ 3125.888738] arch_ftrace_update_code+0x10/0x18 [ 3125.893174] ftrace_run_update_code+0x20/0x70 [ 3125.897524] ftrace_startup_enable+0x4c/0x58 [ 3125.901788] ftrace_startup+0xa4/0x140 [ 3125.905531] register_ftrace_function+0x64/0x80 [ 3125.910059] function_trace_init+0x50/0x98 [ 3125.914149] tracing_set_tracer+0xf4/0x1c0 [ 3125.918238] tracing_set_trace_write+0x10c/0x168 [ 3125.922852] __vfs_write+0x60/0x1a8 [ 3125.926333] vfs_write+0xac/0x1b8 [ 3125.929641] ksys_write+0x6c/0xd8 [ 3125.932949] __arm64_sys_write+0x24/0x30 [ 3125.936866] el0_svc_common+0x78/0x120 [ 3125.940608] el0_svc_handler+0x38/0x78 [ 3125.944349] el0_svc+0x8/0xc [ 3125.947224] Code: 97fffb33 53144c00 a8c17bfd d65f03c0 (d4210000) [ 3125.953312] ---[ end trace 0872d3e5933385e2 ]--- [Fix] TBD [Regression Risk] TBD
2019-04-02 19:42:01 dann frazier linux (Ubuntu): status Incomplete Confirmed
2019-04-10 17:38:24 dann frazier linux (Ubuntu): assignee dann frazier (dannf)
2019-04-10 18:21:20 dann frazier attachment added .config https://bugs.launchpad.net/bugs/1822871/+attachment/5254769/+files/.config
2019-04-26 18:51:40 dann frazier description [Impact] Attempting to enable the function tracer causes an Oops. This impacts the current disco kernel, as well as latest upstream (@5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539). This is 100% reproducible on D06 CS systems, but not reproducible on D06 ES systems (the previous silicon rev). [Test Case] $ echo function | sudo tee /sys/kernel/debug/tracing/current_tracer [ 3125.651453] kernel BUG at arch/arm64/kernel/insn.c:1325! [ 3125.656766] Internal error: Oops - BUG: 0 [#1] SMP [ 3125.661551] Modules linked in: nls_iso8859_1 ipmi_ssif joydev input_leds tpm_tis_spi hns_roce_hw_v2 hns_roce ib_uverbs spi_dw_mmio ipmi_si spi_dw ipmi_devintf ipmi_msghandler cppc_cpufreq sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear ses enclosure marvell aes_ce_blk aes_ce_cipher hibmc_drm hid_generic ttm crct10dif_ce drm_kms_helper ghash_ce sha2_ce syscopyarea sha256_arm64 sysfillrect ixgbe igb sha1_ce hns3 sysimgblt usbhid fb_sys_fops hisi_sas_v3_hw hclge i2c_algo_bit xfrm_algo hisi_sas_main mdio hid drm hnae3 libsas ahci scsi_transport_sas hinic gpio_dwapb aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 [ 3125.736544] CPU: 124 PID: 3306 Comm: tee Not tainted 5.0.0-rc4+ #12 [ 3125.742802] Hardware name: Huawei TaiShan 2280 V2/BC82AMDA, BIOS TA BIOS 2280-A CS V2.16.01 03/16/2019 [ 3125.752099] pstate: 00400009 (nzcv daif +PAN -UAO) [ 3125.756893] pc : aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.762111] lr : plt_entries_equal.part.3+0x40/0x80 [ 3125.766979] sp : ffff00002837b9f0 [ 3125.770286] x29: ffff00002837b9f0 x28: ffffbef4fd20d880 [ 3125.775591] x27: 0000000000000000 x26: 0000000000000000 [ 3125.780896] x25: 0000ffffdea2a7e8 x24: ffff3dceb8413000 [ 3125.786200] x23: 0000000000000002 x22: ffff3dce9d2289a4 [ 3125.791504] x21: ffff00002837ba8c x20: ffff00002837b000 [ 3125.796808] x19: ffff3dce9d228000 x18: 0000000000000000 [ 3125.802112] x17: 0000000000000000 x16: ffff3dceb7742780 [ 3125.807416] x15: ffff3dceb7ce7c38 x14: 0000000000000001 [ 3125.812720] x13: ffffbef50bb9e188 x12: 0000000000000000 [ 3125.818023] x11: ffff7efba3e79608 x10: 0000000000000a70 [ 3125.823327] x9 : ffff3dceb6deeacc x8 : 0000000000000000 [ 3125.828631] x7 : 0000000000000005 x6 : ffff3dceb8413f10 [ 3125.833935] x5 : 00000000002b3000 x4 : ffff3dceb6f4f4b8 [ 3125.839239] x3 : 0000000000000000 x2 : 0000000090000000 [ 3125.844543] x1 : 0000000000000000 x0 : 0000000000000000 [ 3125.849850] Process tee (pid: 3306, stack limit = 0x00000000262bb476) [ 3125.856281] Call trace: [ 3125.858723] aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.863593] plt_entries_equal.part.3+0x40/0x80 [ 3125.868115] plt_entries_equal+0x5c/0x70 [ 3125.872031] ftrace_make_call+0xf0/0x150 [ 3125.875950] __ftrace_replace_code+0xe8/0xf8 [ 3125.880212] ftrace_replace_code+0x64/0xc0 [ 3125.884301] ftrace_modify_all_code+0xb0/0x148 [ 3125.888738] arch_ftrace_update_code+0x10/0x18 [ 3125.893174] ftrace_run_update_code+0x20/0x70 [ 3125.897524] ftrace_startup_enable+0x4c/0x58 [ 3125.901788] ftrace_startup+0xa4/0x140 [ 3125.905531] register_ftrace_function+0x64/0x80 [ 3125.910059] function_trace_init+0x50/0x98 [ 3125.914149] tracing_set_tracer+0xf4/0x1c0 [ 3125.918238] tracing_set_trace_write+0x10c/0x168 [ 3125.922852] __vfs_write+0x60/0x1a8 [ 3125.926333] vfs_write+0xac/0x1b8 [ 3125.929641] ksys_write+0x6c/0xd8 [ 3125.932949] __arm64_sys_write+0x24/0x30 [ 3125.936866] el0_svc_common+0x78/0x120 [ 3125.940608] el0_svc_handler+0x38/0x78 [ 3125.944349] el0_svc+0x8/0xc [ 3125.947224] Code: 97fffb33 53144c00 a8c17bfd d65f03c0 (d4210000) [ 3125.953312] ---[ end trace 0872d3e5933385e2 ]--- [Fix] TBD [Regression Risk] TBD [Impact] Attempting to enable the function tracer causes an Oops. This impacts the current disco kernel, as well as latest upstream (@5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539). This is 100% reproducible on D06 CS systems, but not reproducible on D06 ES systems (the previous silicon rev). [Test Case] $ echo function | sudo tee /sys/kernel/debug/tracing/current_tracer [ 3125.651453] kernel BUG at arch/arm64/kernel/insn.c:1325! [ 3125.656766] Internal error: Oops - BUG: 0 [#1] SMP [ 3125.661551] Modules linked in: nls_iso8859_1 ipmi_ssif joydev input_leds tpm_tis_spi hns_roce_hw_v2 hns_roce ib_uverbs spi_dw_mmio ipmi_si spi_dw ipmi_devintf ipmi_msghandler cppc_cpufreq sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear ses enclosure marvell aes_ce_blk aes_ce_cipher hibmc_drm hid_generic ttm crct10dif_ce drm_kms_helper ghash_ce sha2_ce syscopyarea sha256_arm64 sysfillrect ixgbe igb sha1_ce hns3 sysimgblt usbhid fb_sys_fops hisi_sas_v3_hw hclge i2c_algo_bit xfrm_algo hisi_sas_main mdio hid drm hnae3 libsas ahci scsi_transport_sas hinic gpio_dwapb aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 [ 3125.736544] CPU: 124 PID: 3306 Comm: tee Not tainted 5.0.0-rc4+ #12 [ 3125.742802] Hardware name: Huawei TaiShan 2280 V2/BC82AMDA, BIOS TA BIOS 2280-A CS V2.16.01 03/16/2019 [ 3125.752099] pstate: 00400009 (nzcv daif +PAN -UAO) [ 3125.756893] pc : aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.762111] lr : plt_entries_equal.part.3+0x40/0x80 [ 3125.766979] sp : ffff00002837b9f0 [ 3125.770286] x29: ffff00002837b9f0 x28: ffffbef4fd20d880 [ 3125.775591] x27: 0000000000000000 x26: 0000000000000000 [ 3125.780896] x25: 0000ffffdea2a7e8 x24: ffff3dceb8413000 [ 3125.786200] x23: 0000000000000002 x22: ffff3dce9d2289a4 [ 3125.791504] x21: ffff00002837ba8c x20: ffff00002837b000 [ 3125.796808] x19: ffff3dce9d228000 x18: 0000000000000000 [ 3125.802112] x17: 0000000000000000 x16: ffff3dceb7742780 [ 3125.807416] x15: ffff3dceb7ce7c38 x14: 0000000000000001 [ 3125.812720] x13: ffffbef50bb9e188 x12: 0000000000000000 [ 3125.818023] x11: ffff7efba3e79608 x10: 0000000000000a70 [ 3125.823327] x9 : ffff3dceb6deeacc x8 : 0000000000000000 [ 3125.828631] x7 : 0000000000000005 x6 : ffff3dceb8413f10 [ 3125.833935] x5 : 00000000002b3000 x4 : ffff3dceb6f4f4b8 [ 3125.839239] x3 : 0000000000000000 x2 : 0000000090000000 [ 3125.844543] x1 : 0000000000000000 x0 : 0000000000000000 [ 3125.849850] Process tee (pid: 3306, stack limit = 0x00000000262bb476) [ 3125.856281] Call trace: [ 3125.858723] aarch64_insn_adrp_get_offset+0x34/0x38 [ 3125.863593] plt_entries_equal.part.3+0x40/0x80 [ 3125.868115] plt_entries_equal+0x5c/0x70 [ 3125.872031] ftrace_make_call+0xf0/0x150 [ 3125.875950] __ftrace_replace_code+0xe8/0xf8 [ 3125.880212] ftrace_replace_code+0x64/0xc0 [ 3125.884301] ftrace_modify_all_code+0xb0/0x148 [ 3125.888738] arch_ftrace_update_code+0x10/0x18 [ 3125.893174] ftrace_run_update_code+0x20/0x70 [ 3125.897524] ftrace_startup_enable+0x4c/0x58 [ 3125.901788] ftrace_startup+0xa4/0x140 [ 3125.905531] register_ftrace_function+0x64/0x80 [ 3125.910059] function_trace_init+0x50/0x98 [ 3125.914149] tracing_set_tracer+0xf4/0x1c0 [ 3125.918238] tracing_set_trace_write+0x10c/0x168 [ 3125.922852] __vfs_write+0x60/0x1a8 [ 3125.926333] vfs_write+0xac/0x1b8 [ 3125.929641] ksys_write+0x6c/0xd8 [ 3125.932949] __arm64_sys_write+0x24/0x30 [ 3125.936866] el0_svc_common+0x78/0x120 [ 3125.940608] el0_svc_handler+0x38/0x78 [ 3125.944349] el0_svc+0x8/0xc [ 3125.947224] Code: 97fffb33 53144c00 a8c17bfd d65f03c0 (d4210000) [ 3125.953312] ---[ end trace 0872d3e5933385e2 ]--- [Fix] 4e69ecf4da1ee arm64/module: ftrace: deal with place relative nature of PLTs 5a3ae7b314a22 arm64/ftrace: fix inadvertent BUG() in trampoline check [Regression Risk] TBD
2019-04-26 18:53:34 dann frazier linux (Ubuntu): status Confirmed In Progress
2019-05-01 00:53:54 dann frazier nominated for series Ubuntu Disco
2019-05-01 00:53:54 dann frazier bug task added linux (Ubuntu Disco)
2019-05-01 00:54:00 dann frazier linux (Ubuntu Disco): status New In Progress
2019-05-01 00:54:02 dann frazier linux (Ubuntu Disco): assignee dann frazier (dannf)
2019-05-09 05:06:37 Khaled El Mously linux (Ubuntu Disco): status In Progress Fix Committed
2019-05-17 09:31:46 Ubuntu Kernel Bot tags verification-needed-disco
2019-05-17 18:17:37 dann frazier tags verification-needed-disco verification-done-disco
2019-06-04 09:17:48 Launchpad Janitor linux (Ubuntu Disco): status Fix Committed Fix Released
2019-06-09 16:55:00 Launchpad Janitor linux (Ubuntu): status In Progress Fix Released