[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-18 Thread Dimitri John Ledkov
** Also affects: linux-riscv (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: linux-riscv-5.11 (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: linux-riscv (Ubuntu Focal) Status: New => Won't Fix ** Changed in: linux-riscv-5.11 (Ubuntu F

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-riscv - 5.11.0-1017.18 --- linux-riscv (5.11.0-1017.18) hirsute; urgency=medium * hirsute/linux-riscv: 5.11.0-1017.18 -proposed tracker (LP: #1939589) * RISC-V: Illegal instruction (LP: #1934548) - SAUCE: RISC-V: prevent sbi_send_cpumas

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-riscv-5.11 - 5.11.0-1017.18~20.04.1 --- linux-riscv-5.11 (5.11.0-1017.18~20.04.1) focal; urgency=medium * focal/linux-riscv-5.11: 5.11.0-1017.18~20.04.1 -proposed tracker (LP: #1939588) * Packaging resync (LP: #1786013) - [Packaging

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-13 Thread William Wilson
The 1017 kernel from the kernel team PPA is reliably booting on my hardware. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage notifications about t

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-13 Thread Dimitri John Ledkov
Focal ubuntu@ubuntu:~$ dmesg | grep gcc [0.00] Linux version 5.11.0-1017-generic (buildd@riscv64-qemu-lcy01-062) (gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #18~20.04.1-Ubuntu SMP Thu Aug 12 00:38:00 UTC 2021 (Ubuntu 5.11.0-1017.18~20.04.1-gener

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-13 Thread Dimitri John Ledkov
Hirsute: $ uname -a Linux ubuntu 5.11.0-1017-generic #18-Ubuntu SMP Wed Aug 11 18:02:14 UTC 2021 riscv64 riscv64 riscv64 GNU/Linux $ systemctl is-system-running running $ sudo dmesg | grep gcc [0.00] Linux version 5.11.0-1017-generic (buildd@riscv64-qemu-lcy01-065) (gcc (Ubuntu 10.3.0-1

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-11 Thread Dimitri John Ledkov
** Changed in: linux-riscv (Ubuntu) Status: In Progress => Fix Committed ** Changed in: linux-riscv-5.11 (Ubuntu) Status: In Progress => Fix Committed ** Also affects: linux-riscv (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: linux-riscv-5.11 (Ubuntu

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-11 Thread Dimitri John Ledkov
@cascardo it works https://lists.ubuntu.com/archives/kernel-team/2021-August/123090.html ** Changed in: linux-riscv-5.11 (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux-riscv (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux-riscv-5.11 (Ubuntu) Impor

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-10 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/1934548 Title: RISC-V: Illegal instruction To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-10 Thread Thadeu Lima de Souza Cascardo
Hey, @xnox. Can you try the attached patch and see if that works out? It's possible that other functions need to be marked notrace. Cascardo. ** Patch added: "fix for hirsute:linux-riscv" https://bugs.launchpad.net/ubuntu/+source/linux-riscv-5.11/+bug/1934548/+attachment/5517152/+files/0001-

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-10 Thread Thadeu Lima de Souza Cascardo
The alternative theory here is that this is always breaking at sbi_send_cpumask_ipi, which is being patched at: ffe091e2: f097auipc ra,0xf ffe091e6: dfe080e7jalr-514(ra) # ffe07fe0 I even found ffe091e2 as

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-10 Thread Thadeu Lima de Souza Cascardo
Looking at the crashing address (by doing objdump on the vmlinux from the ddeb), it lands on the middle of an instruction. ffe09204: 99c080e7jalr-1636(ra) # ffe06b9c ffe09208: 0180e797auipc a5,0x180e ffe0920c:

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-10 Thread Dimitri John Ledkov
https://people.canonical.com/~xnox/lp1934548/ findings published at above location. I am giving up at this point and need to handover to someone else. Is there a way to attach gdb over jtag to unmatched board whilst it is attempting to boot? Is there a way to analyze the vmlinuz image to figure

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-09 Thread Dimitri John Ledkov
added more pr_info calls inside ftrace_update_code.. and things boot now for me. = -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage not

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-09 Thread Dimitri John Ledkov
[0.00] XNOX kernel/trace/ftrace.c(6255) ftrace_process_locs: [0.00] XNOX kernel/trace/ftrace.c(6272) ftrace_process_locs: [0.00] Oops - illegal instruction [#1] [0.00] Modules linked in: [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 5.11.0-1015-generic #16~

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-09 Thread William Wilson
I've downloaded the daily build from August 9, and have reproduced this 5 times out of 5 boot attempts. Attached is my serial output: https://paste.ubuntu.com/p/gfpb8tmk9h/ I have the board revision ending in 3A0 -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-09 Thread Paul Larson
That's the image I'm using, and it's reproducible every single time for me -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage notifications about thi

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-09 Thread Dimitri John Ledkov
I am failing to reliably reproduce this issue. At first I have experienced this too. When I tried to bisect it and install multiple kernel abis they are all booting fine. So I was able to fail booting 1014 1015 1016 abis. And then they started to boot fine. I wonder if there is some requirements

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-08-06 Thread Dimitri John Ledkov
** Package changed: ubuntu => linux-riscv-5.11 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage notifications about this bug go to: https:

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-07-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Ille

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-07-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-riscv (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title:

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-07-22 Thread Pierce Andjelkovic
This appears to be resolved in 5.11.0-1015-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage notifications about this bug go to: https://bug

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-07-02 Thread Jessica Clarke
** Package changed: linux (Ubuntu) => linux-riscv (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934548 Title: RISC-V: Illegal instruction To manage notifications about this bug go to: htt

[Bug 1934548] Re: RISC-V: Illegal instruction

2021-07-02 Thread Pierce Andjelkovic
** Project changed: charm-nrpe => linux-kernel-headers ** Also affects: ubuntu Importance: Undecided Status: New ** Tags added: sifive ** Tags added: rv64 rv64gc ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** No longer affects: linux-kernel-headers --