Adrian revised this gist . Go to revision
1 file changed, 184 insertions
gistfile1.txt(file created)
@@ -0,0 +1,184 @@ | |||
1 | + | warning: [email protected]: $ cd "/home/jens/hermit-rs/kernel" && env -u CARGO -u CARGO_CFG_FEATURE -u CARGO_CFG_FMT_DEBUG -u CARGO_CFG_OVERFLOW_CHECKS -u CARGO_CFG_PANIC -u CARGO_CFG_RELOCATION_MODEL -u CARGO_CFG_TARGET_ABI -u CARGO_CFG_TARGET_ARCH -u CARGO_CFG_TARGET_ENDIAN -u CARGO_CFG_TARGET_ENV -u CARGO_CFG_TARGET_FEATURE -u CARGO_CFG_TARGET_HAS_ATOMIC -u CARGO_CFG_TARGET_HAS_ATOMIC_EQUAL_ALIGNMENT -u CARGO_CFG_TARGET_HAS_ATOMIC_LOAD_STORE -u CARGO_CFG_TARGET_OS -u CARGO_CFG_TARGET_POINTER_WIDTH -u CARGO_CFG_TARGET_THREAD_LOCAL -u CARGO_CFG_TARGET_VENDOR -u CARGO_CFG_UB_CHECKS -u CARGO_ENCODED_RUSTFLAGS -u CARGO_FEATURE_ACPI -u CARGO_FEATURE_DHCPV4 -u CARGO_FEATURE_FS -u CARGO_FEATURE_FSGSBASE -u CARGO_FEATURE_INSTRUMENT -u CARGO_FEATURE_PCI -u CARGO_FEATURE_PCI_IDS -u CARGO_FEATURE_SMP -u CARGO_FEATURE_TCP -u CARGO_HOME -u CARGO_MAKEFLAGS -u CARGO_MANIFEST_DIR -u CARGO_MANIFEST_LINKS -u CARGO_MANIFEST_PATH -u CARGO_PKG_AUTHORS -u CARGO_PKG_DESCRIPTION -u CARGO_PKG_HOMEPAGE -u CARGO_PKG_LICENSE -u CARGO_PKG_LICENSE_FILE -u CARGO_PKG_NAME -u CARGO_PKG_README -u CARGO_PKG_REPOSITORY -u CARGO_PKG_RUST_VERSION -u CARGO_PKG_VERSION -u CARGO_PKG_VERSION_MAJOR -u CARGO_PKG_VERSION_MINOR -u CARGO_PKG_VERSION_PATCH -u CARGO_PKG_VERSION_PRE -u LD_LIBRARY_PATH -u RUSTC -u RUSTDOC -u RUSTUP_HOME -u RUSTUP_TOOLCHAIN -u RUST_RECURSION_COUNT "/home/jens/.cargo/bin/cargo" "run" "--package=xtask" "--target-dir" "/home/jens/hermit-rs/target/x86_64-unknown-hermit/release/build/hermit-6ede7ca3cac79bde/out/target" "--" "build" "--arch" "x86_64" "--profile" "release" "--target-dir" "/home/jens/hermit-rs/target/x86_64-unknown-hermit/release/build/hermit-6ede7ca3cac79bde/out/target" "--instrument-mcount" "--no-default-features" "--features" "acpi dhcpv4 fs fsgsbase pci pci-ids smp tcp" | |
2 | + | Compiling rust-tcp-io-perf v0.0.0 (/home/jens/hermit-rs/benches/netbench) | |
3 | + | Finished `release` profile [optimized + debuginfo] target(s) in 1m 12s | |
4 | + | Launching server-bw image on QEMU | |
5 | + | [2025-04-01T01:35:10Z INFO virtiofsd] Waiting for vhost-user socket connection... | |
6 | + | [2025-04-01T01:35:11Z INFO virtiofsd] Client connected, servicing requests | |
7 | + | [LOADER][INFO] Loader: [0x100000 - 0x122059] | |
8 | + | [LOADER][INFO] Found Multiboot information at 0x9500 | |
9 | + | [LOADER][WARN] Mapping 1 4KiB pages from 0x9000..0xa000 to 0x9000..0xa000 | |
10 | + | [LOADER][INFO] Found an ELF module at [0x124000 - 0x3bfd670] | |
11 | + | [LOADER][INFO] Module length: 0x3ad9670 | |
12 | + | [LOADER][WARN] Mapping 4KiB pages starting from 0x124000 to frames 0x124000..0x200000 | |
13 | + | [LOADER][WARN] Mapping 2MiB pages starting from 0x200000 to frames 0x200000..0x3c00000 | |
14 | + | [LOADER][INFO] Parsing kernel from ELF at 0x124000..0x3bfd670 (len = 0x3ad9670 B / 61707888 B) | |
15 | + | [LOADER][INFO] Found Hermit version 0.11.0 | |
16 | + | [LOADER][WARN] Mapping 3 2MiB pages from 0x3c00000..0x4200000 to 0x3c00000..0x4200000 | |
17 | + | [LOADER][INFO] Loading kernel to 0x3c00000..0x411d4a8 (len = 0x51d4a8 B / 5362856 B) | |
18 | + | [LOADER][INFO] TLS is at 0x3fddbe8..0x3fe3a58 (len = 0x5e70 B / 24176 B) | |
19 | + | [LOADER][WARN] Mapping 8 4KiB pages from 0xa000..0x12000 to 0xa000..0x12000 | |
20 | + | [LOADER][INFO] boot_info = BootInfo { | |
21 | + | hardware_info: HardwareInfo { | |
22 | + | phys_addr_range: 0x0..0x0, | |
23 | + | serial_port_base: Some( | |
24 | + | 0x3f8, | |
25 | + | ), | |
26 | + | device_tree: Some( | |
27 | + | 0x12159a, | |
28 | + | ), | |
29 | + | }, | |
30 | + | load_info: LoadInfo { | |
31 | + | kernel_image_addr_range: 0x3c00000..0x411d4a8, | |
32 | + | tls_info: Some( | |
33 | + | TlsInfo { | |
34 | + | start: 0x3fddbe8, | |
35 | + | filesz: 0x40, | |
36 | + | memsz: 0x5e70, | |
37 | + | align: 0x8, | |
38 | + | }, | |
39 | + | ), | |
40 | + | }, | |
41 | + | platform_info: Multiboot { | |
42 | + | command_line: Some( | |
43 | + | "./../../../loader/target/release/hermit-loader-x86_64 -- --address 0.0.0.0 --bytes 0 --rounds 1", | |
44 | + | ), | |
45 | + | multiboot_info_addr: 0x9500, | |
46 | + | }, | |
47 | + | } | |
48 | + | [LOADER][INFO] Entering kernel at 0x3eb3d44, stack at 0xa000, raw_boot_info at 0x120008 | |
49 | + | [0][INFO] Welcome to Hermit 0.11.0 | |
50 | + | [0][INFO] Kernel starts at 0x3c00000 | |
51 | + | [0][INFO] FDT: | |
52 | + | / { | |
53 | + | compatible = "hermit,multiboot" | |
54 | + | #address-cells = <0x2> | |
55 | + | #size-cells = <0x2> | |
56 | + | ||
57 | + | memory@0 { | |
58 | + | device_type = "memory" | |
59 | + | reg = <0x0 0x9fc00> | |
60 | + | }; | |
61 | + | ||
62 | + | memory@100000 { | |
63 | + | device_type = "memory" | |
64 | + | reg = <0x100000 0x3fee0000> | |
65 | + | }; | |
66 | + | ||
67 | + | chosen { | |
68 | + | bootargs = [46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 108, 111, 97, 100, 101, 114, 47, 116, 97, 114, 103, 101, 116, 47, 114, 101, 108, 101, 97, 115, 101, 47, 104, 101, 114, 109, 105, 116, 45, 108, 111, 97, 100, 101, 114, 45, 120, 56, 54, 95, 54, 52, 32, 45, 45, 32, 45, 45, 97, 100, 100, 114, 101, 115, 115, 32, 48, 46, 48, 46, 48, 46, 48, 32, 45, 45, 98, 121, 116, 101, 115, 32, 48, 32, 45, 45, 114, 111, 117, 110, 100, 115, 32, 49, 0] | |
69 | + | }; | |
70 | + | }; | |
71 | + | ||
72 | + | [0][INFO] BSS starts at 0x411c3b8 | |
73 | + | [0][INFO] tls_info = Some( | |
74 | + | TlsInfo { | |
75 | + | start: 0x3fddbe8, | |
76 | + | filesz: 0x40, | |
77 | + | memsz: 0x5e70, | |
78 | + | align: 0x8, | |
79 | + | }, | |
80 | + | ) | |
81 | + | [0][INFO] Total memory size: 957 MiB | |
82 | + | [0][INFO] Kernel region: 0x3c00000..0x4200000 | |
83 | + | [0][INFO] Minimum memory size: 71 | |
84 | + | [0][INFO] Heap: size 794 MB, start address 0x400000000000 | |
85 | + | [0][INFO] Heap is located at 0x400000000000..0x400031a00000 (0 Bytes unmapped) | |
86 | + | [0][INFO] Physical memory free list: | |
87 | + | 0x4402000.. 0x4600000 (len = 0x1fe000, pages = 510) | |
88 | + | 0x35e00000.. 0x3ffe0000 (len = 0xa1e0000, pages = 41440) | |
89 | + | [0][INFO] Virtual memory free list: | |
90 | + | 0x400031a00000.. 0x800000000000 (len = 0x3fffce600000, pages = 17179665920) | |
91 | + | [0][INFO] bootargs = ./../../../loader/target/release/hermit-loader-x86_64 -- --address 0.0.0.0 --bytes 0 --rounds 1 | |
92 | + | [0][INFO] | |
93 | + | [0][INFO] ========================== CPU INFORMATION =========================== | |
94 | + | [0][INFO] Model: AMD Ryzen 7 6800U with Radeon Graphics | |
95 | + | [0][INFO] Frequency: 2694 MHz (from Tsc Info from Hypervisor) | |
96 | + | [0][INFO] SpeedStep Technology: Not Available | |
97 | + | [0][INFO] Features: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AESNI RDRAND FMA MOVBE MCE FXSR XSAVE RDTSCP CLFLUSH TSC-DEADLINE X2APIC HYPERVISOR AVX2 BMI1 BMI2 PKU FSGSBASE RDSEED | |
98 | + | [0][INFO] Physical Address Width: 48 bits | |
99 | + | [0][INFO] Linear Address Width: 48 bits | |
100 | + | [0][INFO] Supports 1GiB Pages: Yes | |
101 | + | [0][INFO] ====================================================================== | |
102 | + | [0][INFO] | |
103 | + | [0][INFO] Hermit booted on 2025-04-01 1:35:10.878512 +00:00:00 | |
104 | + | [0][INFO] Found an ACPI revision 0 table at 0xF52D0 with OEM ID "BOCHS " | |
105 | + | [0][INFO] IOAPIC v17 has 24 entries | |
106 | + | [0][INFO] | |
107 | + | [0][INFO] ===================== MULTIPROCESSOR INFORMATION ===================== | |
108 | + | [0][INFO] APIC in use: x2APIC | |
109 | + | [0][INFO] Initialized CPUs: 1 | |
110 | + | [0][INFO] ====================================================================== | |
111 | + | [0][INFO] | |
112 | + | [0][INFO] Compiled with PCI support | |
113 | + | [0][INFO] Compiled with ACPI support | |
114 | + | [0][INFO] Compiled with FSGSBASE support | |
115 | + | [0][INFO] Compiled with SMP support | |
116 | + | [0][INFO] | |
117 | + | [0][INFO] ======================== PCI BUS INFORMATION ========================= | |
118 | + | [0][INFO] 00:00 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] | |
119 | + | [0][INFO] 00:01 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000] | |
120 | + | [0][INFO] 00:02 VGA compatible controller [0300]: Unknown Vendor Unknown Device [1234:1111], BAR0 Memory32 { address: 0xFD000000, size: 0x1000000, prefetchable: true }, BAR2 Memory32 { address: 0xFEBD0000, size: 0x1000, prefetchable: false } | |
121 | + | [0][INFO] 00:03 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1AF4:1041], IRQ 11, BAR1 Memory32 { address: 0xFEBD1000, size: 0x1000, prefetchable: false }, BAR4 Memory64 { address: 0xFE000000, size: 0x4000, prefetchable: true } | |
122 | + | [0][INFO] 00:04 Mass storage controller [0180]: Red Hat, Inc. Virtio file system [1AF4:105A], IRQ 11, BAR1 Memory32 { address: 0xFEBD2000, size: 0x1000, prefetchable: false }, BAR4 Memory64 { address: 0xFE004000, size: 0x4000, prefetchable: true } | |
123 | + | [0][INFO] ====================================================================== | |
124 | + | [0][INFO] | |
125 | + | [0][INFO] Hermit is running on common system! | |
126 | + | [0][INFO] Found virtio device with device id 0x1041 | |
127 | + | [0][INFO] Feature set wanted by network driver are in conformance with specification. | |
128 | + | [0][INFO] Feature set wanted by network driver are in conformance with specification. | |
129 | + | [0][INFO] Driver found a subset of features for virtio device 1041. Features are: F(MAC | MRG_RXBUF | STATUS | MQ | INDIRECT_DESC | VERSION_1 | RING_PACKED) | |
130 | + | [0][INFO] Features have been negotiated between virtio network device 1041 and driver. | |
131 | + | [0][INFO] Created PackedVq: idx=0, size=256 | |
132 | + | [0][INFO] Created PackedVq: idx=1, size=256 | |
133 | + | [0][INFO] Network driver successfully initialized virtqueues. | |
134 | + | [0][INFO] Device specific initialization for Virtio network device 1041 finished | |
135 | + | [0][INFO] Network device with id 1041, has been initialized by driver! | |
136 | + | [0][INFO] Virtio-net link is up after initialization. | |
137 | + | [0][INFO] Virtio network driver initialized. | |
138 | + | [0][INFO] Virtio interrupt handler at line 11 | |
139 | + | [0][INFO] Found virtio device with device id 0x105a | |
140 | + | [0][INFO] Features have been negotiated between virtio filesystem device 105a and driver. | |
141 | + | [0][INFO] Created SplitVq: idx=0, size=1024 | |
142 | + | [0][INFO] Created SplitVq: idx=1, size=1024 | |
143 | + | [0][INFO] Filesystem device with id 105a, has been initialized by driver! | |
144 | + | [0][INFO] Virtio filesystem driver initialized. | |
145 | + | [0][INFO] Try to initialize network! | |
146 | + | [0][INFO] MAC address 52-54-00-12-34-56 | |
147 | + | [0][INFO] ChecksumCapabilities { ipv4: Both, udp: Both, tcp: Both, icmpv4: Both, icmpv6: Both } | |
148 | + | [0][INFO] MTU: 1514 bytes | |
149 | + | [0][INFO] DHCP lost config! | |
150 | + | [0][INFO] DHCP config acquired! | |
151 | + | [0][INFO] IP address: 192.168.76.9/24 | |
152 | + | [0][INFO] Default gateway: 192.168.76.2 | |
153 | + | [0][INFO] DNS server 0: 192.168.76.3 | |
154 | + | Warning: Cannot announce submounts, client does not support it | |
155 | + | [0][INFO] Mounting virtio-fs at /tracedir | |
156 | + | [0][INFO] Try to initialize uhyve filesystem | |
157 | + | [0][INFO] Jumping into application | |
158 | + | [2025-04-01T01:35:11Z INFO rust_tcp_io_perf::connection] Server running, listening for connection on 0.0.0.0:7878 | |
159 | + | [2025-04-01T02:10:27Z INFO rust_tcp_io_perf::connection] Connection established with 192.168.76.2:59254! | |
160 | + | [2025-04-01T02:10:27Z INFO server_bw] Sent in total 0 KBytes | |
161 | + | [2025-04-01T02:10:27Z INFO server_bw] Available approximated bandwidth: 0 Mbit/s | |
162 | + | Saving traces to disk...! | |
163 | + | 0x400000028b80, Events { ptr: 0x400000028b80, len: 1000000, cap: 1000000 } | |
164 | + | Parsing TID 1...! | |
165 | + | Writing to disk: 2 events, 32 bytes (/tracedir/1.dat) | |
166 | + | Parsed all events! | |
167 | + | Creating fake uftrace data dir at /tracedir.. | |
168 | + | Creating ./info | |
169 | + | feats = TASK_SESSION | SYM_REL_ADDR | |
170 | + | info = CMDLINE | TASKINFO | |
171 | + | cmdline = 'fakeuftrace' | |
172 | + | tid = [1] | |
173 | + | Creating ./task.txt | |
174 | + | pid = 42 | |
175 | + | sid = 00 | |
176 | + | exe = tcp-bw-server | |
177 | + | ||
178 | + | You should generate symbols with `nm -n $BINARY > /tracedir/tcp-bw-server.sym` | |
179 | + | Number of interrupts | |
180 | + | [0][FPU]: 1 | |
181 | + | [0][virtio]: 3 | |
182 | + | [0][Timer]: 1 | |
183 | + | exit status 0 | |
184 | + | [2025-04-01T02:10:26Z INFO virtiofsd] Client disconnected, shutting down |
Newer
Older