Harvey-OS/harvey

Requirements

vestein463 opened this issue · 1 comments

Expected behavior

Harvey-Os should build and run on reasonably recent Linux-amd.

Actual behavior

It does not. On my Imac (ok, 2009) , running Bullseye, it builds, but fails to run run with some obscure messages about nonavaible invtesc feature in qemu. On AMD-Kabini, running Buster, it does not build with complains about crypto/ed25519 not available. I instlalled golang-ed25519-dev with no efffect on this system.

Please do specify the requirements regarding the system requirements more completely.

Steps to reproduce

QEMU output

qemu-system-x86_64 -s -cpu max,vmware-cpuid-freq=on,+invtsc -smp 4 -m 2048 -enable-kvm -usb -serial stdio --machine pc,accel=kvm -net nic,model=rtl8139 -net user,id=user.0,hostfwd=tcp::5555-:1522,hostfwd=tcp::9999-:9,hostfwd=tcp::17010-:17010,hostfwd=tcp::1666-:1666,hostfwd=tcp::5356-:5356,hostfwd=tcp::17013-:17013 -object filter-dump,id=f1,netdev=user.0,file=/tmp/vm0.pcap -append "service=cpu nobootprompt=tcp maxcores=1024 fs=10.0.2.2 auth=10.0.2.2 nvram=/boot/nvram nvrlen=512 nvroff=0 acpiirq=1" -kernel /home/wb/harvey-main/sys/src/9/amd64/harvey.32bit
util/GO9PCPU: Zeile 6: /home/wb/harvey-main/linux_amd64/bin/centre: Datei oder Verzeichnis nicht gefunden
Unable to init server: Could not connect: Connection refused
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]
gtk initialization failed

``` Ok. gtk initialization had to fail, because this output is form ssh session. But using sss -Y, difference is marginal. After some time looking at "booting ..." the panic came::

...
CPUID family 6 model 7 proctype 0 stepping a model_ext 1 family_ext 0 hypervisor: 1
mach 0xffff800002653000 (0xffff800002653000) apicid 3 machno 3 2000MHz
cpu0: registers for kernel
ax 0xffffffffffffb3e8 r8 0x0000000000000003
bx 0x0000000000009500 r9 0x00000000000007d0
cx 0x0000000005f5e100 r10 0x0000000000000000
dx 0xffffffffffffffff r11 0x0000000000000000
di 0x0000000000000000 r12 0x0000000000000000
si 0x0000000000000000 r13 0x0000000000000000
bp 0xffff800000108f40 r14 0x0000000000000000
sp 0xffff800000108f10 r15 0x0000000000000000
ds 0x0000 es 0x0000 fs 0x0000 gs 0x0000
cs 0x8 ss 0x0 error 0xffff80000022bef0 flags 0x10087
pc 0xffff80000022d23f type 0x0
FS 0x0 GS 0xffff8000001d2000
m 0xffff8000001d2000 up 0x0000000000000000
cr0 0x0000000080010011 cr2 0x0000000000000000 cr3 0x0000000000110000
panic: cpu0: #DE
cpu0 stack: k:ffff80000029bf23 k:ffff80000025027b k:ffff80000024fe30 k:ffff80000022bebf
die:wait forever

I close this issue, because it irs esstially the same as #1108.

I was able to boot Harvey by copying the binaries from the newer Bullseye system to Buster.