Re: [9fans] 9legacy under OpenBSD's vmm

2022-01-16 Thread David du Colombier
>> cpu0:  5200MHz GenuineIntel Core i7 (cpuid: AX 0x206A1 DX 0x79BA97F)
>> ELCR: 02E8
>> 497M memory: 497M kernel data, 0M user, 18M swap
>> panic: no disks (in #S)
>> panic: no disks (in #S)
>> dumpstack
>
> Why does it say "0M user"? Doesn't sound very promising.

This message is displayed by the boot loader (pcboot).
There is no user space at that point.

-- 
David du Colombier

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te13afbfe31e87665-M5757135b8010535605d0c636
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9legacy under OpenBSD's vmm

2022-01-16 Thread Lucio De Re
On 1/16/22, Lyndon Nerenberg (VE7TFX/VE6BBM)  wrote:
> It gets a bit further -- now it actually panics :-P
>
> [ ... ]
>
> cpu0:  5200MHz GenuineIntel Core i7 (cpuid: AX 0x206A1 DX 0x79BA97F)
> ELCR: 02E8
> 497M memory: 497M kernel data, 0M user, 18M swap
> panic: no disks (in #S)
> panic: no disks (in #S)
> dumpstack

Why does it say "0M user"? Doesn't sound very promising.

Lucio.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te13afbfe31e87665-M60bea51a3e90c6263cccd8b1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9legacy under OpenBSD's vmm

2022-01-16 Thread David du Colombier
I think the issue is elsewhere, since I've tried on QEMU with
both Virtio 1.0 and Virtio legacy and it worked as expected
(386 and amd64 kernels).

-- 
David du Colombier

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te13afbfe31e87665-M0181d94be3c522e41e96f3cf
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Cross compiling golang from amd64 to arm64

2022-01-16 Thread Sigrid Solveig Haflínudóttir
On Sun, Jan 16, 2022 at 2:26 PM  wrote:
>
> I am trying to cross compile golang to arm64 on a amd64 machine running 
> 9front. I am using the amd64 1.16.3 bootstrap package from 9legacy.org.
>
> toolchain1, 2, and 3 builds cleanly, as could be expected. However, it all 
> falls apart in the end, stating that the combination plan9/arm64 is not 
> supported.
>
> This is what it looks like (I am following the steps from 
> https://9lab.org/plan9/go/).
>
> cpu% GOARCH=arm64 make.rc
> Building Go cmd/dist using /tmp/go-plan9-amd64-bootstrap
> Building Go toolchain1 using /tmp/go-plan9-amd64-bootstrap.
> Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
> Building Go toolchain2 using go_bootstrap and Go toolchain1.
> Building Go toolchain3 using go_bootstrap and Go toolchain2.
> Building packages and commands for host, plan9/amd64.
> Building packages and commands for target, plan9/arm64.
> cmd/go: unsupported GOOS/GOARCH pair plan9/arm64
> go tool dist: FAILED: 
> /sys/lib/go/arm64-1.17.6/pkg/tool/plan9_amd64/go_bootstrap install 
> -gcflags=all= -ldflags=all= std cmd: exit status: 'go_bootstrap 24113: 2'
>
> I will try to dig into the failure a bit more on my own, but any additional 
> input, suggestions, or knowledge would be greatly appreciated.

Go does not have support for Plan 9 on aarch64. Someone has to add
that support for this to work. That means writing code.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9245e4a0ee87f10b-Mc477b9f9b27700a817a11082
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] Cross compiling golang from amd64 to arm64

2022-01-16 Thread mjl
I am trying to cross compile golang to arm64 on a amd64 machine running 9front. 
I am using the amd64 1.16.3 bootstrap package from 9legacy.org.

toolchain1, 2, and 3 builds cleanly, as could be expected. However, it all 
falls apart in the end, stating that the combination plan9/arm64 is not 
supported.

This is what it looks like (I am following the steps from 
https://9lab.org/plan9/go/).

cpu% GOARCH=arm64 make.rc
Building Go cmd/dist using /tmp/go-plan9-amd64-bootstrap
Building Go toolchain1 using /tmp/go-plan9-amd64-bootstrap.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for host, plan9/amd64.
Building packages and commands for target, plan9/arm64.
cmd/go: unsupported GOOS/GOARCH pair plan9/arm64
go tool dist: FAILED: 
/sys/lib/go/arm64-1.17.6/pkg/tool/plan9_amd64/go_bootstrap install 
-gcflags=all= -ldflags=all= std cmd: exit status: 'go_bootstrap 24113: 2'

I will try to dig into the failure a bit more on my own, but any additional 
input, suggestions, or knowledge would be greatly appreciated.


Cheers,

/mjl
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9245e4a0ee87f10b-M03b63d41e5eefa192b97b1d4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription