aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / evidence / imac_kernel0_2026-10-16 / README.md
| 1 | # iMac hardware run, 2026-10-16: AIENOS-IMAC-KERNEL-0 |
| 2 | |
| 3 | The first run of the AIENOS C kernel on an x86_64 machine: `IMACKERN.EFI` |
| 4 | (PR #405, `native/kernel/x86`) started from a SanDisk USB stick on the owner's |
| 5 | 2017 iMac (iMac18,3, see `evidence/imac_boot0_2026-10-16`) through the |
| 6 | Option-key boot picker. The iMac has no serial port and the kernel writes no file, |
| 7 | so the only record is the screen. The owner sent a photo of it; the lines below |
| 8 | are transcribed from that photo. The photo itself is not stored here. |
| 9 | |
| 10 | | Item | Value | |
| 11 | | --- | --- | |
| 12 | | Image | `EFI/BOOT/BOOTX64.EFI` = `IMACKERN.EFI`, sha256 `8618285bb00d3a1a657b4ebf5b747c6a178bd7fa9580344ce692bfaa77481d9d`, built from d8257aa | |
| 13 | | Source of the lines | owner's photo of the iMac screen (4K panel, font scale 4) | |
| 14 | | Serial numbers | none: the kernel never reads SMBIOS | |
| 15 | |
| 16 | ## What the screen showed (transcribed) |
| 17 | |
| 18 | ``` |
| 19 | firmware_vendor: Apple |
| 20 | firmware_revision: 0x10000 |
| 21 | gop: ok 3840x2160 pitch=3840 format=1 base=0xc0300000 size=0x1fa4000 |
| 22 | acpi_rsdp: 0x8affe014 |
| 23 | image: 0x84f56000-0x84f9f000 |
| 24 | exit_boot_services: ok attempts=1 |
| 25 | cpu: GenuineIntel Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz |
| 26 | descriptors: ok |
| 27 | handoff: CHANDOF3 ok |
| 28 | screen: map=wc scale=4 grid=120x54 |
| 29 | paging: root=0x1000 firmware_cr3=0x84000000 switched=yes top_gib=18 pages_2m_wb=8143 pages_2m_wc=17 pages_2m_uc=1055 pt_frames=21 fb=wc pat1=wc |
| 30 | memory: frame_ranges=14 free_bytes=16858255360 heap=0x100000+1048576 heap_test=ok |
| 31 | stack: 0x84f75000-0x84f85000 guard=0x84f74000 |
| 32 | guard_page: ok fault=contained (#PF cr2=0x84f74000 error=0x0) |
| 33 | timebase: hpet period_fs=41666667 tsc_hz=3408331676 |
| 34 | apic: mode=xapic id=0 version=0x1060015 timer_hz=1500200 |
| 35 | madt: cpus=4 ioapics=1 ioapic_lines_masked=24 |
| 36 | timer_irq: 20 ticks in 200 ms |
| 37 | timer_stats: min/avg/max 10000 us stray_irqs=0 |
| 38 | kernel: alive |
| 39 | AIENOS-IMAC-KERNEL-0 DONE |
| 40 | power: holding the screen 60 s, then ACPI S5 |
| 41 | ``` |
| 42 | |
| 43 | Lines are condensed where the photo wrapped them; values are as shown. |
| 44 | |
| 45 | ## What this proves and what it does not |
| 46 | |
| 47 | Proven on this machine: the kernel left the firmware on the first try, switched |
| 48 | to its own page tables (16 GB of RAM write-back, the screen write-combining), |
| 49 | caught a deliberate fault on its stack guard page, timed the CPU clock against |
| 50 | the HPET (3.408 GHz, matching the i5-7500), saw the four cores in the ACPI MADT, |
| 51 | masked every interrupt line it does not drive, and took 20 local APIC timer |
| 52 | interrupts at exactly 10 ms each with no stray interrupts. |
| 53 | |
| 54 | Power-off: the owner reported afterwards that the iMac switched itself off after |
| 55 | the 60 s hold, so the ACPI S5 write (PM1a control 0x1804, SLP_TYP 7 from the |
| 56 | DSDT `\_S5` package) works on this machine. Not attempted: other CPU cores, NVMe, |
| 57 | SATA, network, the AMD GPU. |