Skip to content

Introduce build target initramfs.gz#83

Merged
haesbaert merged 1 commit into
mainfrom
initramfs
Oct 15, 2024
Merged

Introduce build target initramfs.gz#83
haesbaert merged 1 commit into
mainfrom
initramfs

Conversation

@haesbaert
Copy link
Copy Markdown
Collaborator

make initramfs.gz builds an initramfs.gz that contains all quark utilities statically compiled, as well as a super simple init that sets the environment so that quark can run.

The purpose is to be able to test different kernels and run quark-mon or quark-btf as you run normally. This is the main infrastructure for the future quark-test which will be a single binary that tests "everything", it forks, execs, and whatnot.

How to test it:
$ make initramfs.gz
$ qemu-system-x86_64 -initrd initramfs.gz -kernel linux-image-x86_64-5.10.92-2
-nographic --append "console=ttyS0 quark-mon -kvvv"

You can pass parameters normally to the binary, see append above.

`make initramfs.gz` builds an `initramfs.gz` that contains all quark utilities
statically compiled, as well as a super simple init that sets the environment so
that quark can run.

The purpose is to be able to test different kernels and run `quark-mon` or
`quark-btf` as you run normally. This is the main infrastructure for the future
`quark-test` which will be a single binary that tests "everything", it forks,
execs, and whatnot.

How to test it:
$ make initramfs.gz
$ qemu-system-x86_64 -initrd initramfs.gz -kernel linux-image-x86_64-5.10.92-2 \
	-nographic --append "console=ttyS0 quark-mon -kvvv"

You can pass parameters normally to the binary, see `append` above.
@haesbaert haesbaert requested a review from a team as a code owner October 15, 2024 11:52
@haesbaert
Copy link
Copy Markdown
Collaborator Author

$ make initramfs.gz && qemu-system-x86_64 -initrd initramfs.gz -kernel linux-image-x86_64-5.10.92-2  -nographic --append "console=ttyS0 quark-mon"

SeaBIOS (version 1.16.3-1.fc39)


iPXE (https://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+06FCBE60+06F0BE60 CA00



Booting from ROM...
Probing EDD (edd=off to disable)... o
[    0.000000] Linux version 5.10.0-11-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 )
[    0.000000] Command line: console=ttyS0 quark-mon
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000007fdffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000007fe0000-0x0000000007ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-1.fc39 04/01/2014
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2803.192 MHz processor
[    0.005967] AGP: No AGP bridge found
[    0.006141] last_pfn = 0x7fe0 max_arch_pfn = 0x400000000
[    0.008863] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.019058] found SMP MP-table at [mem 0x000f5420-0x000f542f]
[    0.023297] RAMDISK: [mem 0x07cbf000-0x07fdffff]
[    0.023598] ACPI: Early table checksum verification disabled
[    0.023882] ACPI: RSDP 0x00000000000F5250 000014 (v00 BOCHS )
[    0.024074] ACPI: RSDT 0x0000000007FE1C40 000034 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.024512] ACPI: FACP 0x0000000007FE1AF4 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.024898] ACPI: DSDT 0x0000000007FE0040 001AB4 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.024970] ACPI: FACS 0x0000000007FE0000 000040
[    0.025011] ACPI: APIC 0x0000000007FE1B68 000078 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.025032] ACPI: HPET 0x0000000007FE1BE0 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.025050] ACPI: WAET 0x0000000007FE1C18 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.025108] ACPI: Reserving FACP table memory at [mem 0x7fe1af4-0x7fe1b67]
[    0.025128] ACPI: Reserving DSDT table memory at [mem 0x7fe0040-0x7fe1af3]
[    0.025135] ACPI: Reserving FACS table memory at [mem 0x7fe0000-0x7fe003f]
[    0.025140] ACPI: Reserving APIC table memory at [mem 0x7fe1b68-0x7fe1bdf]
[    0.025145] ACPI: Reserving HPET table memory at [mem 0x7fe1be0-0x7fe1c17]
[    0.025150] ACPI: Reserving WAET table memory at [mem 0x7fe1c18-0x7fe1c3f]
[    0.026711] No NUMA configuration found
[    0.026731] Faking a node at [mem 0x0000000000000000-0x0000000007fdffff]
[    0.027338] NODE_DATA(0) allocated [mem 0x07c95000-0x07cbefff]
[    0.030183] Zone ranges:
[    0.030227]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.030260]   DMA32    [mem 0x0000000001000000-0x0000000007fdffff]
[    0.030270]   Normal   empty
[    0.030283]   Device   empty
[    0.030292] Movable zone start for each node
[    0.030317] Early memory node ranges
[    0.030339]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.030424]   node   0: [mem 0x0000000000100000-0x0000000007fdffff]
[    0.030591] Initmem setup node 0 [mem 0x0000000000001000-0x0000000007fdffff]
[    0.031729] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.031960] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.033103] On node 0, zone DMA32: 32 pages in unavailable ranges
[    0.033342] ACPI: PM-Timer IO Port: 0x608
[    0.033669] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.033957] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[    0.034042] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.034224] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.034248] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.034314] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.034321] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.034462] Using ACPI (MADT) for SMP configuration information
[    0.034501] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.034771] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.035454] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.035491] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.035512] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.035518] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.035595] [mem 0x08000000-0xfffbffff] available for PCI devices
[    0.035617] Booting paravirtualized kernel on bare hardware
[    0.035885] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 764551960021s
[    0.041147] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.122381] percpu: Embedded 58 pages/cpu s200536 r8192 d28840 u2097152
[    0.124323] Built 1 zonelists, mobility grouping on.  Total pages: 32105
[    0.124341] Policy zone: DMA32
[    0.124496] Kernel command line: console=ttyS0 quark-mon
[    0.125443] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.125575] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.127647] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.127925] AGP: Checking aperture...
[    0.128690] AGP: No AGP bridge found
[    0.133235] Memory: 89428K/130552K available (12295K kernel code, 2545K rwdata, 7568K rodata, 2412K init, 36)
[    0.133776] random: get_random_u64 called from __kmem_cache_create+0x2a/0x4d0 with crng_init=0
[    0.137563] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.138484] ftrace: allocating 36444 entries in 143 pages
[    0.175658] ftrace: allocated 143 pages with 5 groups
[    0.183315] rcu: Hierarchical RCU implementation.
[    0.183349] rcu:     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[    0.183416]  Rude variant of Tasks RCU enabled.
[    0.183422]  Tracing variant of Tasks RCU enabled.
[    0.183478] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.183503] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.197512] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[    0.207843] Console: colour VGA+ 80x25
[    0.216299] printk: console [ttyS0] enabled
[    0.217163] ACPI: Core revision 20200925
[    0.221031] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.222672] APIC: Switch to symmetric I/O mode setup
[    0.226419] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.246405] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2868080fb95, max_idle_ns: 4407952s
[    0.247050] Calibrating delay loop (skipped), value calculated using timer frequency.. 5606.38 BogoMIPS (lpj)
[    0.247341] pid_max: default: 32768 minimum: 301
[    0.248022] LSM: Security Framework initializing
[    0.248770] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.252699] AppArmor: AppArmor initialized
[    0.252852] TOMOYO Linux initialized
[    0.253826] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.253977] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.269499] process: using AMD E400 aware idle routine
[    0.269873] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[    0.269986] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[    0.270287] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.270536] Spectre V2 : Mitigation: Full AMD retpoline
[    0.270643] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.366981] Freeing SMP alternatives memory: 32K
[    0.497295] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0xf, model: 0x6b, stepping: 0x1)
[    0.499086] Performance Events: PMU not available due to virtualization, using software events only.
[    0.500250] rcu: Hierarchical SRCU implementation.
[    0.503534] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.505091] smp: Bringing up secondary CPUs ...
[    0.505189] smp: Brought up 1 node, 1 CPU
[    0.505248] smpboot: Max logical packages: 1
[    0.505322] smpboot: Total of 1 processors activated (5606.38 BogoMIPS)
[    0.516741] devtmpfs: initialized
[    0.518722] x86/mm: Memory block size: 128MB
[    0.521720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.521910] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.524060] pinctrl core: initialized pinctrl subsystem
[    0.532415] NET: Registered protocol family 16
[    0.534217] audit: initializing netlink subsys (disabled)
[    0.536853] thermal_sys: Registered thermal governor 'fair_share'
[    0.536873] thermal_sys: Registered thermal governor 'bang_bang'
[    0.536945] thermal_sys: Registered thermal governor 'step_wise'
[    0.536998] thermal_sys: Registered thermal governor 'user_space'
[    0.537053] thermal_sys: Registered thermal governor 'power_allocator'
[    0.537237] cpuidle: using governor ladder
[    0.537409] cpuidle: using governor menu
[    0.537942] ACPI: bus type PCI registered
[    0.538050] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.539070] audit: type=2000 audit(1728993289.304:1): state=initialized audit_enabled=0 res=1
[    0.540183] PCI: Using configuration type 1 for base access
[    0.545709] Kprobes globally optimized
[    0.547309] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.767766] ACPI: Added _OSI(Module Device)
[    0.767860] ACPI: Added _OSI(Processor Device)
[    0.767914] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.767966] ACPI: Added _OSI(Processor Aggregator Device)
[    0.768058] ACPI: Added _OSI(Linux-Dell-Video)
[    0.768098] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.768159] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.777653] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.786453] ACPI: Interpreter enabled
[    0.787065] ACPI: (supports S0 S3 S4 S5)
[    0.787137] ACPI: Using IOAPIC for interrupt routing
[    0.787468] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.788398] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.805895] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.806268] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    0.806790] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space.
[    0.809770] acpiphp: Slot [3] registered
[    0.809872] acpiphp: Slot [4] registered
[    0.809961] acpiphp: Slot [5] registered
[    0.810029] acpiphp: Slot [6] registered
[    0.810096] acpiphp: Slot [7] registered
[    0.810180] acpiphp: Slot [8] registered
[    0.810275] acpiphp: Slot [9] registered
[    0.810366] acpiphp: Slot [10] registered
[    0.810438] acpiphp: Slot [11] registered
[    0.810509] acpiphp: Slot [12] registered
[    0.810600] acpiphp: Slot [13] registered
[    0.810688] acpiphp: Slot [14] registered
[    0.810769] acpiphp: Slot [15] registered
[    0.810906] acpiphp: Slot [16] registered
[    0.811001] acpiphp: Slot [17] registered
[    0.811089] acpiphp: Slot [18] registered
[    0.811175] acpiphp: Slot [19] registered
[    0.811262] acpiphp: Slot [20] registered
[    0.811344] acpiphp: Slot [21] registered
[    0.811445] acpiphp: Slot [22] registered
[    0.811535] acpiphp: Slot [23] registered
[    0.811619] acpiphp: Slot [24] registered
[    0.811703] acpiphp: Slot [25] registered
[    0.811781] acpiphp: Slot [26] registered
[    0.811863] acpiphp: Slot [27] registered
[    0.811950] acpiphp: Slot [28] registered
[    0.812039] acpiphp: Slot [29] registered
[    0.812123] acpiphp: Slot [30] registered
[    0.812206] acpiphp: Slot [31] registered
[    0.812423] PCI host bridge to bus 0000:00
[    0.812655] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.812771] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.812888] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.812988] pci_bus 0000:00: root bus resource [mem 0x08000000-0xfebfffff window]
[    0.813087] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[    0.813296] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.814076] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.816805] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.817349] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    0.818668] pci 0000:00:01.1: reg 0x20: [io  0xc040-0xc04f]
[    0.819169] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.819305] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.819411] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.819512] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.820105] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.820443] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.820590] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.821123] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    0.821649] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    0.822495] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[    0.824055] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    0.824691] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    0.825103] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[    0.825487] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    0.827245] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    0.830948] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.831518] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.831840] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.832163] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.832364] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.834361] iommu: Default domain type: Translated
[    0.836415] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.836562] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.836697] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.836828] vgaarb: loaded
[    0.837676] EDAC MC: Ver: 3.0.0
[    0.845401] NetLabel: Initializing
[    0.845461] NetLabel:  domain hash size = 128
[    0.845517] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.846097] NetLabel:  unlabeled traffic allowed by default
[    0.846189] PCI: Using ACPI for IRQ routing
[    0.847480] hpet: 3 channels of 0 reserved for per-cpu timers
[    0.847705] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.847812] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.851441] clocksource: Switched to clocksource tsc-early
[    0.889608] VFS: Disk quotas dquot_6.6.0
[    0.889790] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.892469] AppArmor: AppArmor Filesystem Enabled
[    0.892889] pnp: PnP ACPI init
[    0.895581] pnp: PnP ACPI: found 6 devices
[    0.907858] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.908460] NET: Registered protocol family 2
[    0.909389] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.917983] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.918118] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.918303] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.918465] TCP: Hash tables configured (established 1024 bind 1024)
[    0.919088] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.919282] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.920834] NET: Registered protocol family 1
[    0.921069] NET: Registered protocol family 44
[    0.921651] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.921734] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.921811] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.921893] pci_bus 0000:00: resource 7 [mem 0x08000000-0xfebfffff window]
[    0.921971] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[    0.922545] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.922680] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.922789] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.922999] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.923146] PCI: CLS 0 bytes, default 64
[    0.925733] Trying to unpack rootfs image as initramfs...
[    1.028568] Freeing initrd memory: 3204K
[    1.031616] Initialise system trusted keyrings
[    1.032848] Key type blacklist registered
[    1.033322] workingset: timestamp_bits=36 max_order=15 bucket_order=0
[    1.037833] zbud: loaded
[    1.040292] integrity: Platform Keyring initialized
[    1.040379] Key type asymmetric registered
[    1.040459] Asymmetric key parser 'x509' registered
[    1.040616] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.041154] io scheduler mq-deadline registered
[    1.042059] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    1.044193] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.053002] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.056619] Linux agpgart interface v0.103
[    1.057630] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[    1.059798] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.061700] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.061904] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.063016] mousedev: PS/2 mouse device common for all mice
[    1.065264] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    1.066600] rtc_cmos 00:05: RTC can wake from S4
[    1.069421] rtc_cmos 00:05: registered as rtc0
[    1.069805] rtc_cmos 00:05: setting system clock to 2024-10-15T11:54:50 UTC (1728993290)
[    1.070370] rtc_cmos 00:05: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[    1.070783] ledtrig-cpu: registered to indicate activity on CPUs
[    1.071975] NET: Registered protocol family 10
[    1.110771] hpet: Lost 1 RTC interrupts
[    1.123379] Segment Routing with IPv6
[    1.123720] mip6: Mobile IPv6
[    1.123858] NET: Registered protocol family 17
[    1.124196] mpls_gso: MPLS GSO support
[    1.125206] IPI shorthand broadcast: enabled
[    1.125376] sched_clock: Marking stable (1098161590, 24103809)->(1124498194, -2232795)
[    1.126419] registered taskstats version 1
[    1.126603] Loading compiled-in X.509 certificates
[    1.174559] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    1.174876] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531'
[    1.175543] zswap: loaded using pool lzo/zbud
[    1.176702] Key type ._fscrypt registered
[    1.176773] Key type .fscrypt registered
[    1.176827] Key type fscrypt-provisioning registered
[    1.177664] AppArmor: AppArmor sha1 policy hashing enabled
[    1.221444] Freeing unused kernel image (initmem) memory: 2412K
[    1.226714] Write protecting the kernel read-only data: 22528k
[    1.228074] Freeing unused kernel image (text/rodata gap) memory: 2040K
[    1.228599] Freeing unused kernel image (rodata/data gap) memory: 624K
[    1.300611] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.301234] Run /init as init process
[    2.051061] tsc: Refined TSC clocksource calibration: 2803.153 MHz
[    2.051250] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2867e363f90, max_idle_ns: 440795281149 s
[    2.051440] clocksource: Switched to clocksource tsc
->1 (SNAPSHOT)
  COMM  comm=quark-mon
  CMDL  cmdline=[ quark-mon ]
  PROC  ppid=0
  PROC  uid=0 gid=0 suid=0 sgid=0 euid=0 egid=0 pgid=0 sid=0
  PROC  cap_inheritable=0x0 cap_permitted=0x1ffffffffff cap_effective=0x1ffffffffff
  PROC  cap_bset=0x1ffffffffff cap_ambient=0x0
  PROC  time_boot=1728993289000000000 tty_major=0 tty_minor=0
  PROC  entry_leader_type=UNKNOWN entry_leader=0
  CWD   cwd=/
  FILE  filename=/quark-mon
->2 (SNAPSHOT)
  COMM  comm=kthreadd
  PROC  ppid=0
  PROC  uid=0 gid=0 suid=0 sgid=0 euid=0 egid=0 pgid=0 sid=0
  PROC  cap_inheritable=0x0 cap_permitted=0x1ffffffffff cap_effective=0x1ffffffffff
  PROC  cap_bset=0x1ffffffffff cap_ambient=0x0
  PROC  time_boot=1728993289000000000 tty_major=0 tty_minor=0
  PROC  entry_leader_type=UNKNOWN entry_leader=0
  CWD   cwd=/

Copy link
Copy Markdown
Contributor

@stanek-michal stanek-michal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!

@haesbaert haesbaert merged commit b6beeea into main Oct 15, 2024
@haesbaert haesbaert deleted the initramfs branch October 15, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants