initial proc running... arg:0x000000000000000a, vruntime=0[ INFO ]
uart init
Video driver initialized.
textui_install_handlertextui_enable_handler
text ui initialized
[ INFO ] Kernel Starting...
[ DEBUG ] (main.c:80) _stack_start=0xffff800000278000
[ INFO ] Initializing memory management unit...
[ INFO ] Total amounts of RAM : 4580352 bytes
[ INFO ] Total amounts of 2M pages : 254.
[ INFO ] Memory management unit initialize complete!
[ INFO ] Initializing SLAB...
[ INFO ] SLAB initialized successfully!
[ INFO ] Re-Initializing page table...
[ INFO ] Page table Initialized. Affects:254
[ INFO ] mmio_init success
[ INFO ] Re-mapping VBE frame buffer...
[ INFO ] VBE frame buffer successfully Re-mapped!
[ INFO ] Initializing ACPI...
[ DEBUG ] (acpi.c:196) rsdpv1->RsdtAddress=0x000000001ffe196e
[ DEBUG ] (acpi.c:207) RSDT mapped!
RSDT Length=52bytes.
RSDT Entry num=4
[ INFO ] ACPI module initialized!
[ DEBUG ] (src/sched/rt.rs:28) rt scheduler init
[ DEBUG ] (apic/apic.c:374) 8259A Masked.
[ DEBUG ] (apic/apic.c:290) This computer support APIC&xAPIC
[ DEBUG ] (apic/apic.c:304) This computer support x2APIC
[ INFO ] xAPIC & x2APIC enabled!
[ INFO ] APIC Software Enabled.
[ DEBUG ] (apic/apic.c:240) local APIC Version:0x00000014,Max LVT Entry:0x00000006,SVR(Suppress EOI Broadcast):0x00
[ DEBUG ] (apic/apic.c:246) Integrated APIC.
[ DEBUG ] (apic/apic.c:266) All LVT Masked
[ DEBUG ] (apic/apic.c:104) IO APIC Version=17, Max Redirection Entries=24
[ WARN ] Cannot get RCBA address. RCBA_phys=0xffffffff
[ INFO ] Initializing softirq...
[ INFO ] Initializing syscall...
[ DEBUG ] (src/time/timer.rs:177) timer initiated successfully
[ DEBUG ] (smp.c:57) total_processor_num=2
[ DEBUG ] (smp.c:68) [core 0] acpi processor UID=0, APIC ID=0, flags=0x00000001
[ DEBUG ] (smp.c:68) [core 1] acpi processor UID=1, APIC ID=1, flags=0x00000001
[ SUCCESS ] AP core 1 successfully started!
[ INFO ] [ INFO ] Initializing AP-core's local apic...Cleaning page table remapping...
[ DEBUG ] (smp.c:139) [ INFO ] init proc's preempt_count=0xAPIC & x2APIC enabled!
[ INFO ] [ INFO ] APIC Software Enabled.Successfully cleaned page table remapping!
[ DEBUG ] (apic/apic.c:240) [ INFO ] ProcFS mounted.
local APIC Version:0x00000014,Max LVT Entry:0x00000006,SVR(Suppress EOI Broadcast):0x00 [ INFO ] DevFS mounted.
[ INFO ] Successfully initialized VFS!
[ DEBUG ] (apic/apic.c:246) [ INFO ] Integrated APIC.CPU manufacturer: GenuineIntel
[ DEBUG ] (apic/apic.c:266) [ INFO ] All LVT MaskedCPU Brand Name: Intel Xeon E3-12xx v2 (Ivy Bridge)
[ INFO ] Family ID=0x6 Extended Family ID=0x0 Processor Type=0x0
[ INFO ] Model ID=0xa Extended Model ID=0x3 Stepping ID=0x9
[ INFO ] Cpu_max_phys_addrline_size = 40
[ INFO ] Cpu_max_linear_addrline_size = 48
[ INFO ] Max basic mop=0x014
[ INFO ] Max extended mop=0x8000000a
[ INFO ] ps/2 keyboard registered.
[ INFO ] Initializing PCI bus...
[ INFO ] Checking all devices in PCI bus...
[ INFO ] Total pci device and function num = 5
[ INFO ] [ pci device 0 ] class code = 6 subclass=0 status=0x00000000
[ INFO ] [ pci device 1 ] class code = 12 subclass=3 status=0x00000010 cap_pointer=0x00000090 bar5=0x00000000, vendor=0x001b36, device id=0x00000d
[ INFO ] [ pci device 2 ] class code = 1 subclass=6 status=0x00000010 cap_pointer=0x00000080 bar5=0xfeb95000, vendor=0x008086, device id=0x002922
[ INFO ] [ pci device 3 ] class code = 2 subclass=0 status=0x00000010 cap_pointer=0x00000084 bar5=0x00000000, vendor=0x001af4, device id=0x001000
[ INFO ] [ pci device 4 ] class code = 3 subclass=0 status=0x00000000
[ INFO ] PCI bus initialized.
[ INFO ] Initializing HPET...
[ DEBUG ] (HPET/HPET.c:272) hpet_table->address=0x00000000fed00000
[ DEBUG ] (HPET/HPET.c:274) HPET_REG_BASE=0xffffa000fed00000
[ DEBUG ] (HPET/HPET.c:283) HPET_COUNTER_CLK_PERIOD=0x0000000000989680
[ INFO ] Total HPET timers: 2
[ INFO ] HPET driver Initialized.
[ INFO ] Measuring local APIC timer's frequency...
[ INFO ] Local APIC timer's freq: 324283 ticks/ms.
[ INFO ] TSC frequency: 2806MHz
[ INFO ] Initializing process...
[ DEBUG ] (process.c:708) Initial process to init files
[ DEBUG ] (process.c:710) Initial process init files ok
[ INFO ] Initializing kthread mechanism...
[ INFO ] HPET0 enabled.
[ INFO ] Initializing apic timer for cpu 0
[ INFO ] Initializing apic timer for cpu 1[ INFO ]
initial proc running... arg:0x000000000000000a, vruntime=0[ INFO ]
##kitnhirt edaoudb ldea ebmuofnf esrt#a#r
t#e#dt!o
c
hange double buffer##
[ DEBUG ] (video.c:148) register softirq video done
#[# iEnRiRtOiRa l]i dzoe_dp daoubgele_ fbuafufelr#t#(1
4),Error code :0x0000000000000000,RSP:0xffff80000182ff80, RBP=0xffff80000182ffb0, RIP:0xffff800000133afd CPU:1, pid=3
[ INFO ]
Initializing AHCI...[
ERROR[ DEBUG ] (pci.c:492) ] [2] class_code=1, sub_class=6, progIF=1, bar5=0xfeb95000regs->rax = 0x0000000000000000
[ INFO ] Page Not-Present, ABAR mapped!Read Cause Fault,
Fault in supervisor(0,1,2) [ DEBUG ] (src/driver/disk/ahci/mod.rs:106) <ahci_rust_init> Find a SATA type Disk.
[ DEBUG ] (src/driver/disk/ahci/mod.rs:136) start register ahci device
CR2:0x0000000000000000
[ DEBUG ] (src/driver/disk/ahci/mod.rs:100) <ahci_rust_init> Find a None type Disk.
======== Kernel traceback =======
[ DEBUG ] (src/driver/disk/ahci/mod.rs:100) <ahci_rust_init> Find a None type Disk.
function:video_refresh_daemon() (+) 0105 address:0xffff800000133afd
[ DEBUG ] (src/driver/disk/ahci/mod.rs:100) <ahci_rust_init> Find a None type Disk.
rbp:0xffff80000182ffb0,*rbp:0xffff80000182fff0
[ DEBUG ] (src/driver/disk/ahci/mod.rs:100) <ahci_rust_init> Find a None type Disk.
[ DEBUG ] (src/driver/disk/ahci/mod.rs:100) <ahci_rust_init> Find a None type Disk.
function:kthread() (+) 0153 address:0xffff800000147884
[ INFO ] Try to mount FAT32 as root fs...
rbp:0xffff80000182fff0,*rbp:0x0000000000000000
[ INFO ] VFS: Migrating filesystems...
function:kernel_thread_func() (+) 0045 address:0xffff80000014a0d9
[ INFO ] VFS: Migrate filesystems done!
======== Kernel traceback end =======
[ INFO ] Successfully migrate rootfs to FAT32!
[ [ DEBUG ] (pci.c:492) [3] class_code=2, sub_class=0, progIF=0, bar5=0x00000000
[ DEBUG ] (src/driver/pci/pci.rs:438) pci_device_bar:
Bar0:I/O space at 0x0000c020, size 32
Bar1:Unused bar
Bar2:Unused bar
Bar3:Unused bar
Bar4:Memory space at 0xfe000000, size 16384, type Width64, prefetchable true,mapped at 0xffffa1ffffbfc000
Bar5:Unused bar
[ DEBUG ] (src/driver/virtio/virtio.rs:22) Detected virtio PCI device with device type Network, features 0x0000000130bf8024
[ DEBUG ] (src/driver/virtio/virtio.rs:85) Virtio-net driver init successfully.
[ DEBUG ] (src/driver/virtio/virtio.rs:129) virtio_net MAC=[82, 84, 0, 18, 52, 86]
[ DEBUG ] (src/driver/virtio/virtio.rs:130) virtio-net test finished
[ INFO ] LZ4 lib Version=1.9.3
__rust_demo_func()
[ DEBUG ] (process.c:593) in initial_kernel_thread: flags=4
____ ___ ____
| _ \ _ __ __ _ __ _ ___ _ __ / _ \ / ___|
| | | || '__| / _` | / _` | / _ \ | 'ERR_O R\ ]| d o|_ pa| ge|_\_f_aul_t( 14\) , Er
r|o r |c_o|d e| |: 0|x 0 0 0|0 0(0_0|0 0|0|0 0(0_0|00 ,|R|S P(:_0x)ff f|f8|0 0|00 18|2 f|f|80 ,| _R|BP =| 0_x_f_f)f f|8
0|0_0_0_1_8/2 ff|b_0|, R I P\:_0_x,f_ff|f 8\000_0_0,1 3|3 af\d_ C_P_U/:1 , |p_i|d =|3_
|
[\ _E_R_R/O R| _]_ _r_e/g s
- > r a x = 0 x 0 00 00 00 0 0 0 0 00 0 00
|P_a_g_e/ N o t-P r e
s
e
n[tD,r aRgeoandO SC]a u/s e# Fault, Fault in supervisor(0,1,2)
CR2:0x0000000000000000
======== Kernel traceback =======
function:video_refresh_daemon() (+) 0105 address:0xffff800000133afd
rbp:0xffff80000182ffb0,*rbp:0xffff80000182fff0
function:kthread() (+) 0153 address:0xffff800000147884
rbp:0xffff80000182fff0,*rbp:0x0000000000000000
function:kernel_thread_func() (+) 0045 address:0xffff80000014a0d9
======== Kernel traceback end =======
[ ERROR ] do_page_fault(14),Error code :0x0000000000000000,RSP:0xffff80000182ff80, RBP=0xffff80000182ffb0, RIP:0xffff800000133afd CPU:1, pid=3
[ ERROR ] regs->rax = 0x0000000000000000
Page Not-Present, Read Cause Fault, Fault in supervisor(0,1,2)
CR2:0x0000000000000000
======== Kernel traceback =======
function:video_refresh_daemon() (+) 0105 address:0xffff800000133afd
rbp:0xffff80000182ffb0,*rbp:0xffff80000182fff0
function:kthread() (+) 0153 address:0xffff800000147884
rbp:0xffff80000182fff0,*rbp:0x0000000000000000
function:kernel_thread_func() (+) 0045 address:0xffff80000014a0d9
======== Kernel traceback end =======
[ ERROR ] do_page_fault(14),Error code :0x0000000000000000,RSP:0xffff80000182ff80, RBP=0xffff80000182ffb0, RIP:0xffff800000133afd CPU:1, pid=3
[ ERROR ] regs->rax = 0x0000000000000000
Page Not-Present, Read Cause Fault, Fault in supervisor(0,1,2)
CR2:0x0000000000000000
======== Kernel traceback =======
function:video_refresh_daemon() (+) 0105 address:0xffff800000133afd
rbp:0xffff80000182ffb0,*rbp:0xffff80000182fff0
function:kthread() (+) 0153 address:0xffff800000147884
rbp:0xffff80000182fff0,*rbp:0x0000000000000000