[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2022-05-27 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux- oracle-5.15/5.15.0-1006.8~20.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2022-01-17 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.15.0-17.17 --- linux (5.15.0-17.17) jammy; urgency=medium * jammy/linux: 5.15.0-17.17 -proposed tracker (LP: #1957809) -- Andrea Righi Thu, 13 Jan 2022 17:11:21 +0100 ** Changed in: linux (Ubuntu) Status: Incomplete => Fix

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-10-02 Thread Andrey Melnikov
> Thanks Andrey, have you already upstreamed this patch? No. I'm transform it to: - if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) { + if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE) && walk_state->num_operands) { and succesfuly run kernel. if

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-08 Thread Bug Watch Updater
Launchpad has imported 6 comments from the remote bug at https://bugs.acpica.org/show_bug.cgi?id=1545. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-08 Thread Paolo Pisati
An Impish 5.13 test kernel is available here: https://people.canonical.com/~ppisati/lp1942215/ linux-image-unsigned-5.13.0-16-generic_5.13.0-16.16~lp1942215_amd64.deb linux-modules-5.13.0-16-generic_5.13.0-16.16~lp1942215_amd64.deb

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-07 Thread Colin Ian King
It may be be worth re-writing the check as follows to avoid underflow wrap: if (walk_state->num_operands < 1 || walk_state->num_operands >= ARRAY_SIZE(walk_state->operands) + 1) { ACPI_ERROR((AE_INFO, "Illegal number of operands 0x%X for op_type 0x%X", walk_state->num_operands - 1,

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-07 Thread Paolo Pisati
Thanks Andrey, have you already upstreamed this patch? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942215 Title: OOPs on boot: invalid opcode: [#1] SMP NOPTI To manage notifications about

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-07 Thread Paolo Pisati
** Attachment added: "Vought dmesg with operands overflow applied" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942215/+attachment/5523471/+files/dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-06 Thread Andrey Melnikov
Not sufficient. There is another BUG() hidden at line 398: status = acpi_ex_resolve_operands(walk_state->opcode, &(walk_state->operands[walk_state->num_operands - 1]), walk_state); in `walk_state->operands[]` array referencing. After adding same guard for walk_state->operands[] if

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-02 Thread Paolo Pisati
a478d9baea4e UBUNTU: [Config] Enable CONFIG_UBSAN_BOUNDS is the commit that triggers the above "invalid opcode" on boot (and makes it impossible to reboot the box). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942215 Title: OOPs on boot: invalid opcode: [#1] SMP NOPTI To manage notifications about this bug go to:

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Colin Ian King
Potential workaround/fix attached ** Patch added: "kernel patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942215/+attachment/5521900/+files/0001-ACPICA-detect-and-handle-invalid-op_type-before-call.patch -- You received this bug notification because you are a member of Ubuntu

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Colin Ian King
** Bug watch added: bugs.acpica.org/ #1545 https://bugs.acpica.org/show_bug.cgi?id=1545 ** Also affects: linux via https://bugs.acpica.org/show_bug.cgi?id=1545 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Colin Ian King
I suspect the op_type in the dispatcher call status = acpi_gbl_op_type_dispatch[op_type] is out of range. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942215 Title: OOPs on boot: invalid opcode:

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Colin Ian King
Original source ./drivers/acpi/acpica/dswexec.c in acpi_ds_exec_end_op if (ACPI_SUCCESS(status)) { /* * Dispatch the request to the appropriate interpreter handler * routine. There is one routine per opcode

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Paolo Pisati
** Attachment added: "DSDT dump" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942215/+attachment/5521894/+files/dsdt.dat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942215 Title:

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-08-31 Thread Paolo Pisati
Full dmesg with proper indentation is available here: https://paste.ubuntu.com/p/qbhf4fTMdQ/ FWTS --dump tarball is here: https://people.canonical.com/~ppisati/vough-acpi.tgz ** Also affects: linux (Ubuntu Impish) Importance: Undecided Status: New -- You received this bug