My Haiku RISC-V port progress

After implemening fork() and fixing problems with page table (stupid mistake in RISCV64VMTranslationMap::Protect(), it only added new protection flags but never removed, causing broken copy on write) Terminal is now working. But I currently use Lua as shell instead of Bash because it is easier to compile.

screenshot56

19 Likes

After implementing fork() regular Haiku startup sequence with 2 launch_daemon is working. But one of launch_daemon crashes because it can’t run /bin/sh (it don’t exist yet). It can be a bug in launch_daemon so it don’t properly handle errors when launching processes.

Now desktop launch hacks can be removed. Before that Tracker and Deskbar were launched directly from kernel like launch_daemon. Also waiting for app_server was implemented.

vm_soft_fault: va 0x0 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0, ip 0x0, write 0, user 1, thread 0x134
STrap(exception execPageFault)
  sstatus: (ie: {u}, pie: {s}, spp: u, fs: 3, sum: 1)
  sepc: <commpage> 0x0
  sie: {sTimer, sExtern}
  sip: {}
  sscratch: 0x97, 0x81292a00
  tp: 0x81292680(main worker)
Stack:
FP: 0x8077fb60
FP: 0x8077fc50, PC: <kernel_riscv64> vm_page_fault + 319
FP: 0x8077fd30, PC: <kernel_riscv64> STrap + 247
FP: 0x8077fe30, PC: <kernel_riscv64> SVecU + 109
FP: 0xffffffe0744a2ea0, PC: 0xffffffffffffffff
FP: 0xffffffe0744a2ee0, PC: <libbe.so> _ZN11BSupportKit8BPrivate8JobQueue9JobFailedEPNS_4BJobE + 59
FP: 0xffffffe0744a2f30, PC: <libbe.so> _ZN11BSupportKit4BJob20NotifyStateListenersEv + 153
FP: 0xffffffe0744a2f50, PC: <libbe.so> _ZN11BSupportKit4BJob3RunEv + 79
FP: 0xffffffe0744a2f70, PC: <_APP_> _ZN3Job3RunEv + 17
FP: 0xffffffe0744a2fc0, PC: <_APP_> _ZN6Worker7ProcessEv + 79
FP: 0xffffffe0744a2fe0, PC: <_APP_> _ZN6Worker8_ProcessEPv + 19
FP: 0xffffffe0744a3000, PC: <libroot.so> _thread_do_exit_work + 107
FP: 0x8077fe60, PC: <kernel_riscv64> arch_thread_enter_userspace + 189
FP: 0x8077ff90, PC: <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 67
FP: 0x8077ffb0, PC: <kernel_riscv64> _ZL19common_thread_entryPv + 77
FP: 0x0, PC: <kernel_riscv64> arch_thread_entry + 3
8 Likes

I published revision 2. Now it mostly usable, most things are working.

Note that TinyEMU is changed, new patch version is needed if running on non 32 bit x86.


14 Likes

Can confirm that the patch works; filed a PR with it for TinyEMU along with a screenshot of your rev2 working in a x86-64 Haiku install:

2 Likes
  1. AMD Radeon graphics:
    Note: Provide, utilize, and support the Mesa Radeon 3D driver graphic stack DRM/DRI implementation.

As for the 3D gaming comments as the only factor for video hardware acceleration let’s consider that more business-minded people are looking at data modeling, medical, academia, font rendering, engineering projects (using CAD/CAM), multimedia, simulations, etc. - not focused with the ‘gaming’ mindset as a primary reason of use or purpose. :wink:

5 Likes

This is definitely a major niche Haiku can fill. I like x86_64 and RISC-V for Haiku’s user base, especially since RISC-V is the future!

1 Like

100% Accurate. The reason I started to focus on EFI for ARM/RISC-V was that EFI gives us a cross-platform set of BIOS services which enables us to focus on getting Haiku running on an architecture vs focusing on Haiku running on a board. Previously we built 5-6 different Haiku ARM images for 5-6 different boards. Each came with all the needed “mini-drivers” (PL011 serial, VideoCore brand frame buffer, etc) embedded in our u-boot loader. That meant we needed to support “all the things” duplicated within the bootloader. Now all we have to do is call EFI’s printf, etc until our kernel is loaded. Then our standard add-on kernel drivers take over.

The funny thing is, even u-boot is moving away from their own bootloader process. u-boot offers EFI bios services now across all architectures (instead of boot haiku_loader.ub, you do bootefi haiku_loader.efi)

EFI is really Microsofty, but it also is a standard that expanded to cover all the architectures which is something that was badly needed.

No more “per-board” Haiku images. Everything now can be “generic”. (there are exceptions, for example ARM 32-bit images need customized with a custom u-boot loader per SoC and (sometimes) board-specific binary blobs… that’s what the rune tool is for)

4 Likes

Why not just select single virtual machine configuration and make Haiku working on it? Why jump between 5-6 different platforms when even userland is not working? It makes sense to just select “virt” machine like here.

I agree that EFI is a great thing that allows unified boot process, but it is mostly useful on real hardware, not emulated. It is not required for early OS porting process. Starting EFI firmware is slow (EDK2 takes several seconds and a lot of debug output), haiku_loader.riscv finish in a less than second. Speed is important for trial and error.

It took few days for me to make haiku_loader working on bare virtual hardware, adding new boards is not that difficult.

Linux on virtual machines also rarely use EFI, it can boot form Qemu directly without boot loader by using -kernel and -initrd arguments.

5 Likes

Of course long term EFI is needed but as X512 says, short term it seems like a lot more progress can be made by focusing on virt hardware and a simple bootloader. Obviously this thread shows it is viable for RISC-V, and I think it is viable for ARM too.

I don’t think currents efforts on a Haiku ARM port with EFI are wasted, but if that is removed as a bottleneck I think a lot could be done. Again, we don’t need to guess, we can see what happened here with RISC-V. Focusing on virt hardware means some device specific quirks are taken out of the picture and the fundamentals of the port can be handled.

Also it can provide some division of work: some people can focus on booting and EFI on real hardware while others work on the kernel and userland using virt.

Anyhow, I don’t think this thread should be seen as a “you have been doing it wrong” criticism, but more like “OK, nice, this different approach works, maybe we should give that a try for ARM too, and we can work out EFI later or in parallel.”

Personally I’m learning what I can about baremetal ARM development so maybe I can help out on this, but I want to learn the basics and maybe even have a little mini-OS like X512 did, before I jump into trying to make a more complex OS like Haiku work.

12 Likes

I never disagreed with that… I’ve only been full of praise :wink:

2 Likes

As you say yourself, there is no bottleneck. Work can be divided. If someone wants to work on ARM in a virtualized environment, they can. If someone wants to make our EFI loader working on ARM, they also can. Both things need to be done eventually, and both are helpful.

The main bottleneck here is clearly that we have not enough developers, as usual :slight_smile:

4 Likes

Yeah, I even feel guilty even mentioning looking into this “shiny” new thing (shiny and new for me at least) when I already have many other things I have said I would work on which I am not. Though I am much more serious about getting a proper Haiku dev environment set up than I have been in the past. Sometimes the “shiny” helps in that.

amazing, RiscV had huge potential, Haiku being a complete system, massive

Sounds good. Than better the Haiku dev environlment, than better the dev experience to get more of them interested. I am not a programmer or dev but I see the importance of a great developer experience.

My dev environment is Pe editor (with some patches) and Terminal. It is handy that you can click compiler errors in Terminal and it will be selected in Pe. Also Pe allows simple code navigation and blocks with //#pragma mark <block name>. Other tools are Tracker with multi-window mode and menu navigation, TextSearch, my disassembly and module analysis framework on Blackbox (works only on 32 bit so I use 32 bit Haiku).

6 Likes

SystemManager from HaikuUtils. Slooow.

screenshot58

20 Likes

Userland signal handlers:

stack: (nil) - (nil)
stack.ss_flags: 2

stack: 0xffffffed6eae51b0 - 0xffffffed6eaf51b0
stack.ss_flags: 0

oldAction.sa_handler: (nil)
oldAction.sa_mask: 0
oldAction.sa_flags: 0
oldAction.sa_userdata: (nil)

oldAction.sa_handler: 0xffffffed6eae33ae
oldAction.sa_mask: 0
oldAction.sa_flags: 60
oldAction.sa_userdata: (nil)
+Try
Do(0)
Do(1)
Do(2)
Do(3)
Do(4)
Do(5)
Do(6)
Do(7)
Do(8)
Do(9)
Do(10)
Do(11)
Do(12)
Do(13)
Do(14)
Do(15)
Do(16)
Do(17)
Do(18)
Do(19)
Do(20)
Do(21)
Do(22)
Do(23)
Do(24)
Do(25)
Do(26)
Do(27)
Do(28)
Do(29)
Do(30)
Do(31)
Do(32)
Do(33)
Do(34)
Do(35)
Do(36)
Do(37)
Do(38)
Do(39)
Do(40)
Do(41)
Do(42)
Do(43)
Do(44)
Do(45)
Do(46)
Do(47)
Do(48)
Do(49)
Do(50)
Do(51)
Do(52)
Do(53)
Do(54)
Do(55)
Do(56)
Do(57)
Do(58)
Do(59)
Do(60)
Do(61)
Do(62)
vm_soft_fault: va 0xffffffffa7b2d000 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0xffffffffa7b2d2b8, ip 0xffffffed6eae3554, write 1, user 1, thread 0x11a
STrap(exception storePageFault)
  sstatus: (ie: {u, s}, pie: {s}, spp: u, sum: 1)
  sie: {sTimer, sExtern}
  sip: {}
  stval: 0xffffffffa7b2d2b8 0xffffffffa7b2d2b8
  tp: 0x81298f00(StackOverflow)
Stack:
FP: 0x80c37600
FP: 0x80c376f0, PC: 0x80379a5a <kernel_riscv64> vm_page_fault + 296
FP: 0x80c377d0, PC: 0x8038bd5c <kernel_riscv64> STrap + 234
FP: 0x80c378d0, PC: 0x8038a44e <kernel_riscv64> SVecU + 110
FP: 0xffffffffa7b6d2e0, PC: 0xffffffed6eae3554 </boot/home/StackOverflow> 0x1554
FP: 0xffffffffa7bad310, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7bed340, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c2d370, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c6d3a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7cad3d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ced400, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d2d430, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d6d460, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7dad490, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ded4c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e2d4f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e6d520, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ead550, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7eed580, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f2d5b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f6d5e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fad610, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fed640, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa802d670, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa806d6a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ad6d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ed700, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa812d730, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa816d760, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ad790, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ed7c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa822d7f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa826d820, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ad850, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ed880, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa832d8b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa836d8e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ad910, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ed940, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa842d970, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa846d9a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84ad9d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84eda00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa852da30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa856da60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85ada90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85edac0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa862daf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa866db20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86adb50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86edb80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa872dbb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa876dbe0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87adc10, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87edc40, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa882dc70, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa886dca0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88adcd0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88edd00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa892dd30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa896dd60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89add90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89eddc0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a2ddf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a6de20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aade50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aede80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2deb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2dfa0, PC: 0xffffffed6eae334c </boot/home/StackOverflow> 0x134c
FP: 0xffffffffa8b2dfd0, PC: 0xffffffed6eae314e </boot/home/StackOverflow> 0x114e
FP: 0xffffffffa8b2e000, PC: 0xffffffdcc6bcbd38 </boot/system/runtime_loader> 0x11d38
FP: 0x80c37900, PC: 0x8038c26e <kernel_riscv64> arch_thread_enter_userspace + 134
FP: 0x80c37a30, PC: 0x802efc1e <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 68
FP: 0x80c37a90, PC: 0x802f14c4 <kernel_riscv64> thread_enter_userspace_new_team + 54
FP: 0x80c37f80, PC: 0x802eac20 <kernel_riscv64> _ZL33team_create_thread_start_internalPv + 564
FP: 0x80c37f90, PC: 0x802ec29a <kernel_riscv64> _ZL24team_create_thread_startPv + 12
FP: 0x80c37fb0, PC: 0x802f40a2 <kernel_riscv64> _ZL19common_thread_entryPv + 50
FP: 0x0, PC: 0x8038a1c6 <kernel_riscv64> arch_enter_userspace + 0
arch_setup_signal_frame()
thread->signal_stack_enabled: 1
signal stack: 0xffffffed6eae51b0 - 0xffffffed6eaf51b0
user stack: 0xffffffed6eaf4f00
commpageAdr: 0xfffffff7a369d000
STrap(exception storePageFault)
  sstatus: (ie: {u, s}, pie: {s}, spp: u, sum: 1)
  sie: {sTimer, sExtern}
  sip: {}
  stval: 0xffffffed6eaf5000 </boot/home/StackOverflow> 0x13000
  tp: 0x81298f00(StackOverflow)
Stack:
FP: 0x80c37270
FP: 0x80c372c0, PC: 0x8038c44c <kernel_riscv64> arch_setup_signal_frame + 386
FP: 0x80c376c0, PC: 0x802e2f80 <kernel_riscv64> handle_signals + 788
FP: 0x80c376f0, PC: 0x802f1578 <kernel_riscv64> thread_at_kernel_exit + 22
FP: 0x80c377d0, PC: 0x8038bdae <kernel_riscv64> STrap + 316
FP: 0x80c378d0, PC: 0x8038a44e <kernel_riscv64> SVecU + 110
FP: 0xffffffffa7b6d2e0, PC: 0xfffffff7a369d210 <commpage> commpage_signal_handler + 0
FP: 0xffffffffa7bad310, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7bed340, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c2d370, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c6d3a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7cad3d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ced400, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d2d430, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d6d460, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7dad490, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ded4c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e2d4f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e6d520, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ead550, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7eed580, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f2d5b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f6d5e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fad610, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fed640, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa802d670, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa806d6a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ad6d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ed700, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa812d730, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa816d760, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ad790, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ed7c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa822d7f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa826d820, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ad850, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ed880, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa832d8b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa836d8e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ad910, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ed940, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa842d970, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa846d9a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84ad9d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84eda00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa852da30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa856da60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85ada90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85edac0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa862daf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa866db20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86adb50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86edb80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa872dbb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa876dbe0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87adc10, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87edc40, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa882dc70, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa886dca0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88adcd0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88edd00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa892dd30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa896dd60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89add90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89eddc0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a2ddf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a6de20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aade50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aede80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2deb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2dfa0, PC: 0xffffffed6eae334c </boot/home/StackOverflow> 0x134c
FP: 0xffffffffa8b2dfd0, PC: 0xffffffed6eae314e </boot/home/StackOverflow> 0x114e
FP: 0xffffffffa8b2e000, PC: 0xffffffdcc6bcbd38 </boot/system/runtime_loader> 0x11d38
FP: 0x80c37900, PC: 0x8038c26e <kernel_riscv64> arch_thread_enter_userspace + 134
FP: 0x80c37a30, PC: 0x802efc1e <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 68
FP: 0x80c37a90, PC: 0x802f14c4 <kernel_riscv64> thread_enter_userspace_new_team + 54
FP: 0x80c37f80, PC: 0x802eac20 <kernel_riscv64> _ZL33team_create_thread_start_internalPv + 564
FP: 0x80c37f90, PC: 0x802ec29a <kernel_riscv64> _ZL24team_create_thread_startPv + 12
FP: 0x80c37fb0, PC: 0x802f40a2 <kernel_riscv64> _ZL19common_thread_entryPv + 50
FP: 0x0, PC: 0x8038a1c6 <kernel_riscv64> arch_enter_userspace + 0
signal
signo: 11
code: 30
errno: 80001301 (Bad address)
pid: 282
uid: 0
addr: 0xffffffffa7b2d2b8
status: 0
band: 0
[WAIT]-Try
+Try
Do(0)
Do(1)
Do(2)
Do(3)
Do(4)
Do(5)
Do(6)
Do(7)
Do(8)
Do(9)
Do(10)
Do(11)
Do(12)
Do(13)
Do(14)
Do(15)
Do(16)
Do(17)
Do(18)
Do(19)
Do(20)
Do(21)
Do(22)
Do(23)
Do(24)
Do(25)
Do(26)
Do(27)
Do(28)
Do(29)
Do(30)
Do(31)
Do(32)
Do(33)
Do(34)
Do(35)
Do(36)
Do(37)
Do(38)
Do(39)
Do(40)
Do(41)
Do(42)
Do(43)
Do(44)
Do(45)
Do(46)
Do(47)
Do(48)
Do(49)
Do(50)
Do(51)
Do(52)
Do(53)
Do(54)
Do(55)
Do(56)
Do(57)
Do(58)
Do(59)
Do(60)
Do(61)
Do(62)
vm_soft_fault: va 0xffffffffa7b2d000 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0xffffffffa7b2d2b8, ip 0xffffffed6eae3554, write 1, user 1, thread 0x11a
STrap(exception storePageFault)
  sstatus: (ie: {u, s}, pie: {s}, spp: u, sum: 1)
  sie: {sTimer, sExtern}
  sip: {}
  stval: 0xffffffffa7b2d2b8 0xffffffffa7b2d2b8
  tp: 0x81298f00(StackOverflow)
Stack:
FP: 0x80c37600
FP: 0x80c376f0, PC: 0x80379a5a <kernel_riscv64> vm_page_fault + 296
FP: 0x80c377d0, PC: 0x8038bd5c <kernel_riscv64> STrap + 234
FP: 0x80c378d0, PC: 0x8038a44e <kernel_riscv64> SVecU + 110
FP: 0xffffffffa7b6d2e0, PC: 0xffffffed6eae3554 </boot/home/StackOverflow> 0x1554
FP: 0xffffffffa7bad310, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7bed340, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c2d370, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c6d3a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7cad3d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ced400, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d2d430, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d6d460, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7dad490, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ded4c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e2d4f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e6d520, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ead550, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7eed580, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f2d5b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f6d5e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fad610, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fed640, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa802d670, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa806d6a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ad6d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ed700, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa812d730, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa816d760, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ad790, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ed7c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa822d7f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa826d820, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ad850, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ed880, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa832d8b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa836d8e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ad910, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ed940, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa842d970, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa846d9a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84ad9d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84eda00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa852da30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa856da60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85ada90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85edac0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa862daf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa866db20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86adb50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86edb80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa872dbb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa876dbe0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87adc10, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87edc40, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa882dc70, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa886dca0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88adcd0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88edd00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa892dd30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa896dd60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89add90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89eddc0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a2ddf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a6de20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aade50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aede80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2deb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2dfa0, PC: 0xffffffed6eae334c </boot/home/StackOverflow> 0x134c
FP: 0xffffffffa8b2dfd0, PC: 0xffffffed6eae314e </boot/home/StackOverflow> 0x114e
FP: 0xffffffffa8b2e000, PC: 0xffffffdcc6bcbd38 </boot/system/runtime_loader> 0x11d38
FP: 0x80c37900, PC: 0x8038c26e <kernel_riscv64> arch_thread_enter_userspace + 134
FP: 0x80c37a30, PC: 0x802efc1e <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 68
FP: 0x80c37a90, PC: 0x802f14c4 <kernel_riscv64> thread_enter_userspace_new_team + 54
FP: 0x80c37f80, PC: 0x802eac20 <kernel_riscv64> _ZL33team_create_thread_start_internalPv + 564
FP: 0x80c37f90, PC: 0x802ec29a <kernel_riscv64> _ZL24team_create_thread_startPv + 12
FP: 0x80c37fb0, PC: 0x802f40a2 <kernel_riscv64> _ZL19common_thread_entryPv + 50
FP: 0x0, PC: 0x8038a1c6 <kernel_riscv64> arch_enter_userspace + 0
arch_setup_signal_frame()
thread->signal_stack_enabled: 1
signal stack: 0xffffffed6eae51b0 - 0xffffffed6eaf51b0
user stack: 0xffffffed6eaf4f00
commpageAdr: 0xfffffff7a369d000
STrap(interrupt sTimer)
  sstatus: (ie: {u, s}, pie: {s}, spp: u, sum: 1)
  sie: {sTimer, sExtern}
  sip: {}
  stval: 0x0 <commpage> 0x0
  tp: 0x81298f00(StackOverflow)
Stack:
FP: 0x80c37270
FP: 0x80c372c0, PC: 0x8038c44c <kernel_riscv64> arch_setup_signal_frame + 386
FP: 0x80c376c0, PC: 0x802e2f80 <kernel_riscv64> handle_signals + 788
FP: 0x80c376f0, PC: 0x802f1578 <kernel_riscv64> thread_at_kernel_exit + 22
FP: 0x80c377d0, PC: 0x8038bdae <kernel_riscv64> STrap + 316
FP: 0x80c378d0, PC: 0x8038a44e <kernel_riscv64> SVecU + 110
FP: 0xffffffffa7b6d2e0, PC: 0xfffffff7a369d210 <commpage> commpage_signal_handler + 0
FP: 0xffffffffa7bad310, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7bed340, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c2d370, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7c6d3a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7cad3d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ced400, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d2d430, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7d6d460, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7dad490, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ded4c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e2d4f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7e6d520, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7ead550, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7eed580, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f2d5b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7f6d5e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fad610, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa7fed640, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa802d670, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa806d6a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ad6d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa80ed700, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa812d730, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa816d760, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ad790, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa81ed7c0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa822d7f0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa826d820, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ad850, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa82ed880, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa832d8b0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa836d8e0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ad910, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa83ed940, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa842d970, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa846d9a0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84ad9d0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa84eda00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa852da30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa856da60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85ada90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa85edac0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa862daf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa866db20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86adb50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa86edb80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa872dbb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa876dbe0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87adc10, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa87edc40, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa882dc70, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa886dca0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88adcd0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa88edd00, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa892dd30, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa896dd60, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89add90, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa89eddc0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a2ddf0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8a6de20, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aade50, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8aede80, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2deb0, PC: 0xffffffed6eae3588 </boot/home/StackOverflow> 0x1588
FP: 0xffffffffa8b2dfa0, PC: 0xffffffed6eae334c </boot/home/StackOverflow> 0x134c
FP: 0xffffffffa8b2dfd0, PC: 0xffffffed6eae314e </boot/home/StackOverflow> 0x114e
FP: 0xffffffffa8b2e000, PC: 0xffffffdcc6bcbd38 </boot/system/runtime_loader> 0x11d38
FP: 0x80c37900, PC: 0x8038c26e <kernel_riscv64> arch_thread_enter_userspace + 134
FP: 0x80c37a30, PC: 0x802efc1e <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 68
FP: 0x80c37a90, PC: 0x802f14c4 <kernel_riscv64> thread_enter_userspace_new_team + 54
FP: 0x80c37f80, PC: 0x802eac20 <kernel_riscv64> _ZL33team_create_thread_start_internalPv + 564
FP: 0x80c37f90, PC: 0x802ec29a <kernel_riscv64> _ZL24team_create_thread_startPv + 12
FP: 0x80c37fb0, PC: 0x802f40a2 <kernel_riscv64> _ZL19common_thread_entryPv + 50
FP: 0x0, PC: 0x8038a1c6 <kernel_riscv64> arch_enter_userspace + 0
signal
signo: 11
code: 30
errno: 80001301 (Bad address)
pid: 282
uid: 0
addr: 0xffffffffa7b2d2b8
status: 0
band: 0
[WAIT]-Try
5 Likes

@X512 This is a risc-v board based on Allwinner D1 chip based on C906 core designed by t-head which is a soc desigin company from china.

https://d1.docs.allwinnertech.com/d1_dev/

This is the link. Now it has been supported by the linux kernel customized by allwinner. But you have to register the account to allwinner to get the source code.

The basic features as below:

  • SOC:Allwinner D1 C906 RISC-V 1GHz
  • DRAM:DDR3 1GB2*512MB outside),792MHz
  • Storage: Built-on 256MB spi-nand, USB and sd-card
  • Ethernet: RTL8211f
  • Wireless: 2.4GWifi & Bluetooth
  • Display: HDMI-A
3 Likes

Is it already available to buy and shipment? Specs are more than enough to run Haiku.

2 Likes

Yes, It’s avaliable on chinese taobao online shop, but I am not sure if it supports shipment. about 599 CNY(1GB version, 88$) and 999CNY (2GB Version, 166$).

https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w5003-23666775105.1.19873064xyxplE&ft=t&id=645082459931&scene=taobao_shop

1 Like