Skip to content

Instantly share code, notes, and snippets.

@hikalium
Created April 10, 2022 12:40
Show Gist options
  • Save hikalium/c1824cda8b87a5d084a31e088ef7f01b to your computer and use it in GitHub Desktop.
Save hikalium/c1824cda8b87a5d084a31e088ef7f01b to your computer and use it in GitHub Desktop.
SeaBIOS (version rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org)
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+7FF8EE80+7FEEEE80 CA00
Booting from Hard Disk...
Redox Loader - Stage One
00000001#007F 0000:7E00
00000080#007F 0FE0:7E00
000000FF#007F 1FC0:7E00
0000017E#007D 2FA0:7E00
Redox Loader - Stage Tw
o
kernel::log:INFO -- Logger initialized.
kernel::arch::x86_64::start:INFO -- Redox OS starting...
kernel::arch::x86_64::start:INFO -- Kernel: 1025000:1B5A200
kernel::arch::x86_64::start:INFO -- Stack: 1003000:1023000
kernel::arch::x86_64::start:INFO -- Env: 1B6C000:1B6C0BA
kernel::arch::x86_64::start:INFO -- RSDPs: 0:0
kernel::arch::x86_64::start:INFO -- Areas: 37018:3A018
kernel::arch::x86_64::rmm:WARN -- 0:9F000 overlaps with real mode 0:100000
kernel::arch::x86_64::rmm:INFO -- 0:9F000 moved to 100000:0
kernel::arch::x86_64::rmm:WARN -- 100000:7FEDE000 overlaps with kernel 1025000:B35200
kernel::arch::x86_64::rmm:WARN -- 100000:7FEDE000 overlaps with stack 1003000:20000
kernel::arch::x86_64::rmm:WARN -- 100000:7FEDE000 overlaps with env 1B6C000:BA
kernel::arch::x86_64::rmm:INFO -- 100000:7FEDE000 moved to 1B6D000:7E471000
kernel::arch::x86_64::rmm:INFO -- Memory: 2021 MB
kernel::arch::x86_64::rmm:INFO -- Permanently used: 4112 KB
kernel::acpi:INFO -- RSDP: RSDP { signature: [82, 83, 68, 32, 80, 84, 82, 32], checksum: 37, oemid: [66, 79, 67, 72, 83, 32], revision: 0, rsdt_address: 2147361167, length: 0, xsdt_address: 0, extended_checksum: 95, reserved: [83, 77, 95] }
RSDT:
APIC: FEE00000: 1
X2APIC 0
LocalApic(MadtLocalApic { processor: 0, id: 0, flags: 1 })
This is my local APIC
LocalApic(MadtLocalApic { processor: 1, id: 1, flags: 1 })
AP 1: IPI... SIPI... Wait... Trampoline... Ready
LocalApic(MadtLocalApic { processor: 2, id: 2, flags: 1 })
AP 2: IPI... SIPI... Wait... Trampoline... Ready
LocalApic(MadtLocalApic { processor: 3, id: 3, flags: 1 })
AP 3: IPI... SIPI... Wait... Trampoline... Ready
IoApic(MadtIoApic { id: 0, reserved: 0, address: 4273995776, gsi_base: 0 })
IntSrcOverride(MadtIntSrcOverride { bus_source: 0, irq_source: 0, gsi_base: 2, flags: 0 })
IntSrcOverride(MadtIntSrcOverride { bus_source: 0, irq_source: 5, gsi_base: 5, flags: 13 })
IntSrcOverride(MadtIntSrcOverride { bus_source: 0, irq_source: 9, gsi_base: 9, flags: 13 })
IntSrcOverride(MadtIntSrcOverride { bus_source: 0, irq_source: 10, gsi_base: 10, flags: 13 })
IntSrcOverride(MadtIntSrcOverride { bus_source: 0, irq_source: 11, gsi_base: 11, flags: 13 })
Unknown(4)
HPET: 0
kernel::arch::x86_64::device::hpet:INFO -- HPET config old: 0x0
kernel::arch::x86_64::device::hpet:INFO -- HPET config new: 0x0
kernel::arch::x86_64::device::hpet:INFO -- HPET caps: 0x9896808086a201
kernel::arch::x86_64::device::hpet:INFO -- HPET caps clock period: 10000000
kernel::arch::x86_64::device::hpet:INFO -- HPET caps ID: 0x8086
kernel::arch::x86_64::device::hpet:INFO -- HPET caps LEG_RT_CAP: true
kernel::arch::x86_64::device::hpet:INFO -- HPET caps COUNT_SIZE_CAP: true
kernel::arch::x86_64::device::hpet:INFO -- HPET caps timers: 2
kernel::arch::x86_64::device::hpet:INFO -- HPET caps revision: 1
kernel::arch::x86_64::device::hpet:INFO -- HPET T0 caps: 0xff010400000030
kernel::arch::x86_64::device::hpet:INFO -- HPET T0 caps interrupt routing: 0xff0104
kernel::arch::x86_64::device::hpet:INFO -- HPET T0 caps flags: 0x30
kernel::arch::x86_64::device::hpet:INFO -- HPET config old: 0x0
kernel::arch::x86_64::device::hpet:INFO -- HPET config new: 0x3
kernel::arch::x86_64::device:INFO -- HPET used as system timer
kernel:INFO -- AP 3: Ok(ContextId(1))
kernel:INFO -- AP 1: Ok(ContextId(4))
kernel:INFO -- BSP: Ok(ContextId(2)) 4
kernel:INFO -- AP 2: Ok(ContextId(3))
kernel:INFO -- Env: Ok("REDOXFS_BLOCK=0000000000000100\nREDOXFS_UUID=5938ce12-2da0-42fd-b669-ec2bff586120\nFRAMEBUFFER_ADDR=00000000fd000000\nFRAMEBUFFER_WIDTH=0000000000000400\nFRAMEBUFFER_HEIGHT=0000000000000300\n")
vesad: 1024x768 at 0xFD000000
logd: opening "debug:"
logd: opening "display:1"
logd: ready for logging on log:
p2sd: using keymap 'us'
acpid: enabled logger
pcid: enabled logger
2022-04-10T12-37-53..650++00:00 [@pcid:577 INFO] PCI BS/DV/FN VEND:DEVI CL.SC.IN.RV
2022-04-10T12-37-53..654++00:00 [@pcid::pci:52 INFO] PCI: couldn't find or access PCIe extended configuration, and thus falling back to PCI 3.0 io ports
2022-04-10T12-37-53..661++00:00 [@pcid:258 INFO] PCI 00/00/00 8086:29C0 06.00.00.00 Bridge
2022-04-10T12-37-53..666++00:00 [@pcid:258 INFO] PCI 00/01/00 1234:1111 03.00.00.02 Display 0=FD000000 2=FEBF8000
2022-04-10T12-37-53..670++00:00 [@pcid:258 INFO] PCI 00/02/00 8086:293E 04.03.00.03 Multimedia 0=FEBF0000
2022-04-10T12-37-53..677++00:00 [@pcid:258 INFO] PCI 00/03/00 8086:100E 02.00.00.03 Network 0=FEBC0000 1=C000
2022-04-10T12-37-53..684++00:00 [@pcid:258 INFO] PCI 00/04/00 1033:0194 0C.03.30.03 SerialBus XHCI 0=FEBF4000
2022-04-10T12-37-53..740++00:00 [@pcid:258 INFO] PCI 00/1F/00 8086:2918 06.01.00.02 Bridge
2022-04-10T12-37-53..747++00:00 [@pcid:258 INFO] PCI 00/1F/02 8086:2922 01.06.01.02 Storage SATA AHCI 4=C080 5=FEBF9000
2022-04-10T12-37-53..751++00:00 [@pcid:380 INFO] PCI DEVICE CAPABILITIES for ahcid: [(128, Msi(_64BitAddress { message_control: 8431621, message_address_lo: 0, message_address_hi: 0, message_data: 0 })), (168, FunctionSpecific(18, [18, 0, 16, 0, 72, 0, 0, 0]))]
2022-04-10T12-37-53..767++00:00 [@pcid:442 INFO] PCID SPAWN "ahcid" "pci-00.1F.02" "FEBF9000" "00001000" "10"
2022-04-10T12-37-53..794++00:00 [@ahcid: enabled logger
pcid:2022-04-10T12-37-53..794++00:00258 [ @INFOahcid] :PCI 00/1F/03 8086:2930 0C.05.00.02 SerialBus 4=070088
INFO] + AHCI pci-00.1F.02_ahci on: FEBF9000 size: 4096 IRQ: 10
2022-04-10T12-37-53..803++00:00 [@ahcid::ahci::hba:375 INFO] - AHCI CAP C0141F05 GHC 80000002 IS 0 PI 3F VS 10000 CAP2 0 BOHC 0
2022-04-10T12-37-53..812++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-0: SATA
2022-04-10T12-37-53..834++00:00 [@ahcid::ahci::hba:131 INFO] - AHCI init 6
2022-04-10T12-37-53..841++00:00 [@ahcid::ahci::hba:212 INFO] + Serial: QM00001 Firmware: 2.5+ Model: QEMU HARDDISK 48-bit LBA Size: 259 MB
2022-04-10T12-37-53..850++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-1: SATA
2022-04-10T12-37-53..870++00:00 [@ahcid::ahci::hba:131 INFO] - AHCI init 6
2022-04-10T12-37-53..877++00:00 [@ahcid::ahci::hba:212 INFO] + Serial: QM00003 Firmware: 2.5+ Model: QEMU HARDDISK 48-bit LBA Size: 1024 MB
2022-04-10T12-37-53..886++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-2: SATAPI
2022-04-10T12-37-53..904++00:00 [@ahcid::ahci::hba:131 INFO] - AHCI init 6
2022-04-10T12-37-53..911++00:00 [@ahcid::ahci::hba:212 INFO] + Serial: QM00005 Firmware: 2.5+ Model: QEMU DVD-ROM 28-bit LBA Size: 0 MB
2022-04-10T12-37-53..920++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-3: None
2022-04-10T12-37-53..927++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-4: None
2022-04-10T12-37-53..931++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-5: None
2022-04-10T12-37-53..940++00:00 [@ahcid::ahci::hba:335 ERROR] ERROR IS 40000001 IE 0 CMD 6 TFD 2041
SSTS 113 SCTL 700 SERR 0 SACT 0
CI 0 SNTF 0 FBS 0
redoxfs: found scheme disk/pci-00.1F.02_ahci
redoxfs: found path disk/pci-00.1F.02_ahci:/0
redoxfs: opening disk/pci-00.1F.02_ahci:/0
redoxfs: opened filesystem on disk/pci-00.1F.02_ahci:/0 with uuid 5938ce12-2da0-42fd-b669-ec2bff586120
redoxfs: filesystem on disk/pci-00.1F.02_ahci:/0 matches uuid 5938ce12-2da0-42fd-b669-ec2bff586120
redoxfs: mounted filesystem on disk/pci-00.1F.02_ahci:/0 to file:
pcid: enabled logger
2022-04-10T12-37-54..554++00:00 [@pcid:577 INFO] PCI BS/DV/FN VEND:DEVI CL.SC.IN.RV
2022-04-10T12-37-54..559++00:00 [@pcid::pci:52 INFO] PCI: couldn't find or access PCIe extended configuration, and thus falling back to PCI 3.0 io ports
2022-04-10T12-37-54..566++00:00 [@pcid:258 INFO] PCI 00/00/00 8086:29C0 06.00.00.00 Bridge
2022-04-10T12-37-54..570++00:00 [@pcid:258 INFO] PCI 00/01/00 1234:1111 03.00.00.02 Display 0=FD000000 2=FEBF8000
2022-04-10T12-37-54..579++00:00 [@pcid:380 INFO] PCI DEVICE CAPABILITIES for bgad: []
2022-04-10T12-37-54..586++00:00 [@pcid:442 INFO] PCID SPAWN "bgad" "pci-00.01.00" "FD000000"
+ BGA pci-00.01.00_bga on: FD000000
- BGA 1024x768
2022-04-10T12-37-54..644++00:00 [@pcid:258 INFO] PCI 00/02/00 8086:293E 04.03.00.03 Multimedia 0=FEBF0000
2022-04-10T12-37-54..651++00:00 [@pcid:258 INFO] PCI 00/03/00 8086:100E 02.00.00.03 Network 0=FEBC0000 1=C000
2022-04-10T12-37-54..660++00:00 [@pcid:380 INFO] PCI DEVICE CAPABILITIES for e1000d: []
2022-04-10T12-37-54..665++00:00 [@pcid:442 INFO] PCID SPAWN "e1000d" "pci-00.03.00" "FEBC0000" "00020000" "11"
+ E1000 pci-00.03.00_e1000 on: FEBC0000 size: 131072 IRQ: 11
- MAC: 52:54:00:12:34:56
- Link is up with speed 1000 Mb/s
2022-04-10T12-37-54..739++00:00 [@pcid:258 INFO] PCI 00/04/00 1033:0194 0C.03.30.03 SerialBus XHCI 0=FEBF4000
2022-04-10T12-37-54..802++00:00 [@pcid:258 INFO] PCI 00/1F/00 8086:2918 06.01.00.02 Bridge
2022-04-10T12-37-54..806++00:00 [@pcid:258 INFO] PCI 00/1F/02 8086:2922 01.06.01.02 Storage SATA AHCI 4=C080 5=FEBF9000
2022-04-10T12-37-54..813++00:00 [@pcid:258 INFO] PCI 00/1F/03 8086:2930 0C.05.00.02 SerialBus 4=0700
Running with true and false
DHCP: MAC: 52-54-00-12-34-56 Current IP: 10.0.2.15/24
DHCP: Sent Discover
audiod: No such device (os error 19)
DHCP: Offer IP: [10, 0, 2, 15], Server IP: [10, 0, 2, 2]
DHCP: Message Type: [2]
DHCP: Server ID: [10, 0, 2, 2]
DHCP: Subnet Mask: [255, 255, 255, 0]
DHCP: Router: [10, 0, 2, 2]
DHCP: Domain Name Server: [10, 0, 2, 3]
DHCP: Lease Time: [0, 1, 81, 128]
DHCP: New IP: 10.0.2.15/24
127.0.0.1/8
DHCP: New Router: default via 10.0.2.2
DHCP: New DNS: 10.0.2.3
DHCP: Sent Request
DHCP: Ack IP: [10, 0, 2, 15], Server IP: [10, 0, 2, 2]
orbital: found display 1024x768
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login: todo: clone grant using fmap: Grant { region: 0x38000026000..0x38000326000 (0x300000 long), flags: PageFlags { data: 9223372036854775815 }, mapped: true, owned: false, desc_opt: Some(FileDescriptor { description: RwLock { data: FileDescription { namespace: }
Grant::unmap: close desc FileDescriptor { description: RwLock { data: FileDescription { namespace: SchemeNamespace(1), scheme: SchemeId(20), number: 3, flags: 458752 }}, cloexec: true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment