# redox-release **Repository Path**: chenlongos/redox-release ## Basic Information - **Project Name**: redox-release - **Description**: 本项目为用于辰龙操作系统社区进行 redox 项目学习和快速验证 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-20 - **Last Updated**: 2023-10-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # redox-release #### 介绍 本项目为用于辰龙操作系统社区进行 redox 项目学习和快速验证 #### 软件架构 参考 #### 使用说明 ``` $ git clone https://gitee.com/chenlongos/redox-release Cloning into 'redox-release'... remote: Enumerating objects: 4, done. remote: Counting objects: 100% (4/4), done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (4/4), done. 下载 redox harddrive.img 镜像 $ cd redox-release/ $ make download wget https://chenlongos.cn/redox/release/harddrive.img Downloading https://chenlongos.cn/redox/release/harddrive.img... wget https://chenlongos.cn/redox/release/harddrive.img --2023-09-20 23:49:24-- https://chenlongos.cn/redox/release/harddrive.img Resolving chenlongos.cn (chenlongos.cn)... 43.132.166.231 Connecting to chenlongos.cn (chenlongos.cn)|43.132.166.231|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 536870912 (512M) [application/octet-stream] Saving to: ‘harddrive.img’ harddrive.img 100%[===================================================================================>] 512.00M 3.76MB/s in 2m 26s 2023-09-20 23:51:51 (3.50 MB/s) - ‘harddrive.img’ saved [536870912/536870912] ``` #### 运行命令 1. 不带图形界面启动 ``` $ make ``` > SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset,guest_errors -smp 4 -m 1G -chardev stdio,id=debug,signal=off,mux=on,"" -serial chardev:debug -mon chardev=debug -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -device nec-usb-xhci,id=xhci -drive file=./harddrive.img,format=raw -nographic 2. 带图形界面启动 ``` $ make gui ``` > SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset,guest_errors -smp 4 -m 1G -chardev stdio,id=debug,signal=off,mux=on,"" -serial chardev:debug -mon chardev=debug -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -device nec-usb-xhci,id=xhci -drive file=./harddrive.img,format=raw #### 烧写到启动u盘 在 macOS 上可以使用命令行工具 diskutil 来完成制作 U 盘启动盘的任务。以下是在 macOS 上使用 diskutil 的步骤: 使用以下命令查看您系统上已连接的磁盘及其对应的标识符: ``` $ diskutil list ... /dev/disk3 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *8.1 GB disk3 1: DOS_FAT_32 NO NAME 8.1 GB disk3s1 ``` 卸载 USB 驱动器。以磁盘标识符 /dev/disk3 为例,运行以下命令卸载驱动器(请将其替换为您的驱动器标识符): ``` $ diskutil unmountDisk /dev/disk3 Unmount of all volumes on disk3 was successful ``` 使用以下命令将 ISO 文件写入 USB 驱动器(请确保将 redox-livedisk.iso 替换为实际的 ISO 文件路径): **需要 sudo 执行dd命令** ``` $ sudo dd if=./livedisk.iso of=/dev/disk3 bs=1m ``` 默认情况下,dd 命令不会显示进度。但是您可以借助其他工具来获取进度信息。在 macOS 上,可以使用 pv 命令(需要先安装)来显示 dd 命令的进度。以下是使用 pv 命令和 dd 命令结合来显示进度的步骤: ``` $ brew install pv $ sudo dd if=./livedisk.iso bs=1m | pv -s $(du -sm ./livedisk.iso | awk '{print $1}')m | sudo dd of=/dev/disk3 bs=1m ``` 写入完成后,使用以下命令弹出 USB 驱动器: ```shell diskutil eject /dev/disk3 ``` #### 正确运行输出 ``` # SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset,guest_errors -smp 4 -m 1G -chardev stdio,id=debug,signal=off,mux=on,"" -serial chardev:debug -mon chardev CPU Reset (CPU 0) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=00000000 EFL=00000000 [-------] CPL=0 II=0 A20=0 SMM=0 HLT=0 ES =0000 00000000 00000000 00000000 CS =0000 00000000 00000000 00000000 SS =0000 00000000 00000000 00000000 DS =0000 00000000 00000000 00000000 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0000 00000000 00000000 00000000 TR =0000 00000000 00000000 00000000 GDT= 00000000 00000000 IDT= 00000000 00000000 CR0=00000000 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=0000000000000000 DR7=0000000000000000 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=0000 FSW=0000 [ST=0] FTW=ff MXCSR=00000000 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 1) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=00000000 EFL=00000000 [-------] CPL=0 II=0 A20=0 SMM=0 HLT=0 ES =0000 00000000 00000000 00000000 CS =0000 00000000 00000000 00000000 SS =0000 00000000 00000000 00000000 DS =0000 00000000 00000000 00000000 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0000 00000000 00000000 00000000 TR =0000 00000000 00000000 00000000 GDT= 00000000 00000000 IDT= 00000000 00000000 CR0=00000000 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=0000000000000000 DR7=0000000000000000 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=0000 FSW=0000 [ST=0] FTW=ff MXCSR=00000000 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 2) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=00000000 EFL=00000000 [-------] CPL=0 II=0 A20=0 SMM=0 HLT=0 ES =0000 00000000 00000000 00000000 CS =0000 00000000 00000000 00000000 SS =0000 00000000 00000000 00000000 DS =0000 00000000 00000000 00000000 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0000 00000000 00000000 00000000 TR =0000 00000000 00000000 00000000 GDT= 00000000 00000000 IDT= 00000000 00000000 CR0=00000000 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=0000000000000000 DR7=0000000000000000 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=0000 FSW=0000 [ST=0] FTW=ff MXCSR=00000000 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 3) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=00000000 EFL=00000000 [-------] CPL=0 II=0 A20=0 SMM=0 HLT=0 ES =0000 00000000 00000000 00000000 CS =0000 00000000 00000000 00000000 SS =0000 00000000 00000000 00000000 DS =0000 00000000 00000000 00000000 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0000 00000000 00000000 00000000 TR =0000 00000000 00000000 00000000 GDT= 00000000 00000000 IDT= 00000000 00000000 CR0=00000000 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=0000000000000000 DR7=0000000000000000 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=0000 FSW=0000 [ST=0] FTW=ff MXCSR=00000000 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `dac' ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize ADC alsa: Failed to open `default': alsa: Reason: No such file or directory ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize ADC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `adc' CPU Reset (CPU 0) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00060fb1 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 1) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00060fb1 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=1 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 2) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00060fb1 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=1 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 3) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00060fb1 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=1 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 CPU Reset (CPU 2) EAX=00000000 EBX=00000000 ECX=00000000 EDX=00060fb1 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=EFLAGS EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 ... Starting graphical debug Framebuffer 1024x768 stride 1024 at FD000000 mapped to FFFF8000FD000000 kernel::log:INFO -- Logger initialized. kernel::arch::x86_64::start:INFO -- Redox OS starting... kernel::arch::x86_64::start:INFO -- Kernel: 125000:213550 kernel::arch::x86_64::start:INFO -- Stack: 103000:123000 kernel::arch::x86_64::start:INFO -- Env: 21D2000:21D213E kernel::arch::x86_64::start:INFO -- RSDPs: 0:0 kernel::arch::x86_64::start:INFO -- Areas: 3D039:43039 kernel::arch::x86_64::start:INFO -- Bootstrap: 11ED000:21C6000 kernel::arch::x86_64::start:INFO -- Bootstrap entry point: 1390 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:3FEDE000 overlaps with kernel 125000:EE550 kernel::arch::x86_64::rmm:WARN -- 100000:3FEDE000 overlaps with stack 103000:20000 kernel::arch::x86_64::rmm:WARN -- 100000:3FEDE000 overlaps with env 21D2000:13E kernel::arch::x86_64::rmm:WARN -- 100000:3FEDE000 overlaps with initfs 11ED000:FD9000 kernel::arch::x86_64::rmm:INFO -- 100000:3FEDE000 moved to 21D3000:3DE0B000 kernel::arch::x86_64::rmm:INFO -- Memory: 991 MB kernel::arch::x86_64::rmm:INFO -- Permanently used: 2060 KB kernel::arch::x86_64::device::local_apic:INFO -- Detected xAPIC at 0xfee00000 kernel::acpi:INFO -- RSDP: RSDP { signature: [82, 83, 68, 32, 80, 84, 82, 32], _checksum: 255, _oemid: [66, 79, 67, 72, 83, 32], revision: 0, rsdt_address: 1073619955, _length: 0, xsdt_address: 0, _ex RSDT: APIC: FEE00000: 1 XAPIC 0: FFFF8000FEE00000 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...CPU Reset (CPU 1) EAX=000f49ee EBX=00000000 ECX=000002ff EDX=00000001 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006c5c EIP=000fd0ac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6180 00000037 IDT= 000f61be 00000000 CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000004 CCO=EFLAGS EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 Trampoline... Ready LocalApic(MadtLocalApic { processor: 2, id: 2, flags: 1 }) AP 2: IPI... SIPI...CPU Reset (CPU 2) EAX=000f49ee EBX=00000000 ECX=000002ff EDX=00000002 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006c5c EIP=000fd0ac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6180 00000037 IDT= 000f61be 00000000 CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000002 CCO=EFLAGS EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 Wait... Trampoline... Ready LocalApic(MadtLocalApic { processor: 3, id: 3, flags: 1 }) AP 3: IPI... SIPI...CPU Reset (CPU 3) EAX=000f49ee EBX=00000000 ECX=000002ff EDX=00000003 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006c5c EIP=000fd0ac EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6180 00000037 IDT= 000f61be 00000000 CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000004 CCD=00000003 CCO=EFLAGS EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=0000000000000000 0000000000000000 XMM01=0000000000000000 0000000000000000 XMM02=0000000000000000 0000000000000000 XMM03=0000000000000000 0000000000000000 XMM04=0000000000000000 0000000000000000 XMM05=0000000000000000 0000000000000000 XMM06=0000000000000000 0000000000000000 XMM07=0000000000000000 0000000000000000 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 HPET Before Init HPET @ 0xfed00000 caps: 0x9896808086a201 clock period: 10000000 ID: 0x8086 LEG_RT_CAP: true COUNT_SIZE_CAP: true timers: 2 revision: 1 config: 0x0 interrupt status: 0x0 counter: 0x0 T0 caps: 0xff010400000030 interrupt routing: 0xff0104 flags: 0x30 T0 comparator: 0xffffffffffffffff HPET After Init HPET @ 0xfed00000 caps: 0x9896808086a201 clock period: 10000000 ID: 0x8086 LEG_RT_CAP: true COUNT_SIZE_CAP: true timers: 2 revision: 1 config: 0x3 interrupt status: 0x0 counter: 0x33b9ba8 T0 caps: 0xff01040000003c interrupt routing: 0xff0104 flags: 0x3c T0 comparator: 0x449ba60 kernel::arch::x86_64::device:INFO -- HPET used as system timer Finished graphical debug kernel:INFO -- AP #1: Ok(ContextId(2)) kernel:INFO -- AP #2: Ok(ContextId(3)) kernel:INFO -- AP #3: Ok(ContextId(4)) kernel:INFO -- BSP: Ok(ContextId(1)) 4 kernel:INFO -- Env: Ok("REDOXFS_BLOCK=0000000000000200\nREDOXFS_UUID=4e4c63f0-40f2-4652-b4e8-97f0418c52d8\nFRAMEBUFFER_ADDR=00000000fd000000\nFRAMEBUFFER_VIRT=ffff8000fd000000\nFRAMEBUFFER_WIDTH=00000 randd: Seeding failed, no entropy source. Random numbers on this platform are NOT SECURE inputd: failed to create log: No such device (os error 19) inputd: failed to create ANSI log: No such device (os error 19) 2023-09-19T14-15-32..556++00:00 [@inputd:473 INFO] inputd: enabled logger vesad: 1024x768 stride 1024 at 0xFD000000 2023-09-19T14-15-32..720++00:00 [@inputd:147 INFO] inputd: handle/display/vesa channel has been opened logd: opening "debug:" logd: opening "display/vesa:1" logd: ready for logging on log: ps2d: using keymap 'us' 2023-09-19T14-15-33..060++00:00 [@inputd:147 INFO] inputd: producer channel has been opened ps2d: config set POST_PASSED | FIRST_DISABLED | SECOND_DISABLED ps2d: write config ps2d: keyboard command Reset ps2d: keyboard defaults ps2d: keyboard command SetDefaultsDisable ps2d: keyboard command ScancodeSet 0x2 ps2d: mouse reset ps2d: mouse command Reset ps2d: mouse command SetDefaults ps2d: mouse command SetSampleRate 0xc8 ps2d: mouse command SetSampleRate 0x64 ps2d: mouse command SetSampleRate 0x50 ps2d: mouse command GetDeviceId ps2d: mouse command SetResolution 0x3 ps2d: mouse command SetScaling1To1 ps2d: mouse command SetSampleRate 0xc8 ps2d: mouse command StatusRequest acpid: enabled logger ps2d: mouse status 0x0 resolution 0x3 sample rate 0xc8 ps2d: config set FIRST_INTERRUPT | SECOND_INTERRUPT | POST_PASSED | FIRST_TRANSLATE ps2d: write config pcid: enabled logger 2023-09-19T14-15-33..569++00:00 [@pcid:612 INFO] PCI BS/DV/FN VEND:DEVI CL.SC.IN.RV 2023-09-19T14-15-33..693++00:00 [@pcid::pci:53 INFO] PCI: couldn't find or access PCIe extended configuration, and thus falling back to PCI 3.0 io ports 2023-09-19T14-15-33..780++00:00 [@pcid:281 INFO] PCI 00/00/00 8086:29C0 06.00.00.00 Bridge 2023-09-19T14-15-33..898++00:00 [@pcid:281 INFO] PCI 00/01/00 1234:1111 03.00.00.02 Display 0=FD000000 2=FEBB8000 2023-09-19T14-15-34..026++00:00 [@pcid:281 INFO] PCI 00/02/00 8086:293E 04.03.00.03 Multimedia 0=FEBB0000 2023-09-19T14-15-34..167++00:00 [@pcid:281 INFO] PCI 00/03/00 8086:100E 02.00.00.03 Network 0=FEB80000 1=C000 2023-09-19T14-15-34..287++00:00 [@pcid:281 INFO] PCI 00/04/00 1033:0194 0C.03.30.03 SerialBus XHCI 0=00000000FEBB4000 2023-09-19T14-15-36..516++00:00 [@pcid:281 INFO] PCI 00/1F/00 8086:2918 06.01.00.02 Bridge 2023-09-19T14-15-36..629++00:00 [@pcid:281 INFO] PCI 00/1F/02 8086:2922 01.06.01.02 Storage SATA AHCI 4=C080 5=FEBB9000 2023-09-19T14-15-37..014++00:00 [@pcid:466 INFO] PCID SPAWN "ahcid" "pci-00.1F.02" "FEBB9000" "00001000" "10" ahcid: enabled logger 2023-09-19T14-15-37..564++00:00 [@ahcid:90 INFO] + AHCI pci-00.1F.02_ahci on: FEBB9000 size: 4096 IRQ: 10 2023-09-19T14-15-37..776++00:00 [@pcid:281 INFO] PCI 00/1F/03 8086:2930 0C.05.00.02 SerialBus 4=0700 2023-09-19T14-15-37..770++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-0: SATA failed to initialize livedisk scheme: either livedisk phys (0) or size (0) was zero Error: failed to start daemon: I/O error 2023-09-19T14-15-38..212++00:00 [@ahcid::ahci::hba:216 INFO] + Serial: QM00001 Firmware: 2.5+ Model: QEMU HARDDISK 48-bit LBA Size: 512 MB redoxfs: found scheme disk/pci-00.1F.02_ahci 2023-09-19T14-15-38..400++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-1: None 2023-09-19T14-15-38..552++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-2: SATAPI 2023-09-19T14-15-38..836++00:00 [@ahcid::ahci::hba:216 INFO] + Serial: QM00005 Firmware: 2.5+ Model: QEMU DVD-ROM 28-bit LBA Size: 0 MB 2023-09-19T14-15-39..045++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-3: None 2023-09-19T14-15-39..222++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-4: None 2023-09-19T14-15-39..382++00:00 [@ahcid::ahci:31 INFO] pci-00.1F.02_ahci-5: None 2023-09-19T14-15-39..765++00:00 [@ahcid::ahci::hba:351 ERROR] IS 40000001 IE 17 CMD 6 TFD 2041 2023-09-19T14-15-39..879++00:00 [@ahcid::ahci::hba:352 ERROR] SSTS 113 SCTL 700 SERR 0 SACT 0 2023-09-19T14-15-40..066++00:00 [@ahcid::ahci::hba:353 ERROR] CI 0 SNTF 0 FBS 0 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 4e4c63f0-40f2-4652-b4e8-97f0418c52d8 redoxfs: filesystem on disk/pci-00.1F.02_ahci:/0 matches uuid 4e4c63f0-40f2-4652-b4e8-97f0418c52d8 redoxfs: mounted filesystem on disk/pci-00.1F.02_ahci:/0 to file: pcid: enabled logger 2023-09-19T14-15-45..341++00:00 [@pcid:612 INFO] PCI BS/DV/FN VEND:DEVI CL.SC.IN.RV 2023-09-19T14-15-45..482++00:00 [@pcid::pci:53 INFO] PCI: couldn't find or access PCIe extended configuration, and thus falling back to PCI 3.0 io ports 2023-09-19T14-15-45..594++00:00 [@pcid:281 INFO] PCI 00/00/00 8086:29C0 06.00.00.00 Bridge 2023-09-19T14-15-45..727++00:00 [@pcid:281 INFO] PCI 00/01/00 1234:1111 03.00.00.02 Display 0=FD000000 2=FEBB8000 2023-09-19T14-15-45..961++00:00 [@pcid:466 INFO] PCID SPAWN "bgad" "pci-00.01.00" "FD000000" + BGA pci-00.01.00_bga on: FD000000 - BGA 1024x768 2023-09-19T14-15-47..075++00:00 [@inputd:147 INFO] inputd: producer channel has been opened Resizing framebuffer 0 to 1024, 768 stride 1024 Display is already 1024, 768 Display is already 1024, 768 Display is already 1024, 768 2023-09-19T14-15-47..132++00:00 [@pcid:281 INFO] PCI 00/02/00 8086:293E 04.03.00.03 Multimedia 0=FEBB0000 2023-09-19T14-15-47..400++00:00 [@pcid:466 INFO] PCID SPAWN "ihdad" ihdad: enabled logger 2023-09-19T14-15-48..833++00:00 [@ihdad:177 INFO] + IHDA pci-00.02.00_ihda on: 0xFEBB0000 size: 16384 regs addr 57040 ihdad/src/hda/cmdbuff.rs:88 ihdad/src/hda/cmdbuff.rs:90 2023-09-19T14-15-49..024++00:00 [@ihdad::hda::device:700 INFO] Intel HD Audio Version 1.0 ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `dac' 2023-09-19T14-15-49..162++00:00 [@ihdad::hda::device:212 INFO] IHDA: Initialization finished. 2023-09-19T14-15-49..245++00:00 [@pcid:281 INFO] PCI 00/03/00 8086:100E 02.00.00.03 Network 0=FEB80000 1=C000 2023-09-19T14-15-49..405++00:00 [@pcid:466 INFO] PCID SPAWN "e1000d" "pci-00.03.00" "FEB80000" "00020000" "11" + E1000 pci-00.03.00_e1000 on: FEB80000 size: 131072 IRQ: 11 - MAC: 52:54:00:12:34:56 - Link is up with speed 1000 Mb/s 2023-09-19T14-15-50..572++00:00 [@pcid:281 INFO] PCI 00/04/00 1033:0194 0C.03.30.03 SerialBus XHCI 0=00000000FEBB4000 2023-09-19T14-15-50..960++00:00 [@pcid:466 INFO] PCID SPAWN "xhcid" xhcid: enabled logger + XHCI pci-00.04.00_xhci on: 00000000FEBB4000 IRQ: 10 2023-09-19T14-15-53..360++00:00 [@xhcid::xhci:290 INFO] xHC max slots: 64, max ports: 8 2023-09-19T14-15-55..073++00:00 [@xhcid::xhci:425 INFO] XHCI initialized. 2023-09-19T14-15-55..226++00:00 [@pcid:281 INFO] PCI 00/1F/00 8086:2918 06.01.00.02 Bridge 2023-09-19T14-15-55..384++00:00 [@pcid:281 INFO] PCI 00/1F/02 8086:2922 01.06.01.02 Storage SATA AHCI 4=C080 5=FEBB9000 2023-09-19T14-15-55..583++00:00 [@pcid:281 INFO] PCI 00/1F/03 8086:2930 0C.05.00.02 SerialBus 4=0700 2023-09-19T14-15-56..289++00:00 [@xhcid::xhci:528 INFO] XHCI Port 0: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-56..576++00:00 [@xhcid::xhci:528 INFO] XHCI Port 1: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-56..780++00:00 [@xhcid::xhci:528 INFO] XHCI Port 2: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-56..942++00:00 [@xhcid::xhci:528 INFO] XHCI Port 3: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-57..134++00:00 [@xhcid::xhci:528 INFO] XHCI Port 4: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-57..372++00:00 [@xhcid::xhci:528 INFO] XHCI Port 5: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-58..054++00:00 [@xhcid::xhci:528 INFO] XHCI Port 6: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC 2023-09-19T14-15-58..254++00:00 [@xhcid::xhci:528 INFO] XHCI Port 7: 202A0, State 5, Speed 0, Flags PORT_PP | PORT_CSC Running with true and false DHCP: MAC: 52-54-00-12-34-56 Current IP: Not configured DHCP: Sent Discover 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 DHCP: New Router: default via 10.0.2.2 dev eth0 src 10.0.2.15 127.0.0.0/8 dev loopback src 127.0.0.1 10.0.2.0/24 dev eth0 src 10.0.2.15 DHCP: New DNS: 10.0.2.3 DHCP: Sent Request DHCP: Ack IP: [10, 0, 2, 15], Server IP: [10, 0, 2, 2] 2023-09-19T14-16-04..210++00:00 [@inputd:473 INFO] inputd: enabled logger inputd: found display scheme :/display/vesa 2023-09-19T14-16-04..318++00:00 [@inputd:147 INFO] inputd: handle/display/vesa channel has been opened 2023-09-19T14-16-04..488++00:00 [@inputd:147 INFO] inputd: consumer/3 channel has been opened 2023-09-19T14-16-04..509++00:00 [orbital@orbital:77 DEBUG] found display 1024x768 2023-09-19T14-16-04..648++00:00 [orbital@orbital::config:85 DEBUG] reading config from path: '/ui/orbital.toml' 2023-09-19T14-16-05..745++00:00 [@inputd:147 INFO] inputd: consumer/2 channel has been opened ########## Redox OS ########## # Login with the following: # # `user` # # `root`:`password` # ############################## redox login: 进入 shell ,可以 ping 通 8.8.8.8 redox login: root password: Welcome to Redox OS! root:~# ls pwd root:~# pwd file:/root root:~# cd / root:/# ls bin dev filesystem.toml include libexec root ssl ui boot etc home lib pkg share tmp usr root:/# cd usr/bin root:/usr/bin# ls ac97d dnsd ipcd pwd tac alxd du irc readlink tail audiod e1000d ixgbed realpath tar base32 echo join redox_installer tee base64 env keymap redox_installer_gui test basename escalated kill redox_installer_tui time basenc ex less redoxfs touch bash expand link redoxfs-ar tr bashbug expr ln redoxfs-mkfs true bgad factor login relpath truncate calc false ls rem tsort cat find man reset uname chmod fmt mdless resist unexpand chown fold mkdir resize uniq cksum free mktemp rm unzip clear getty mtxt rmdir uptime cmp git mv rtl8139d usbctl comm git-cvsserver nc rtl8168d usbhidd contain git-receive-pack netsurf-fb rview usbscsid coreutils git-shell nl rvim useradd cp git-upload-archive ntp sb16d userdel csplit git-upload-pack numfmt screenfetch usermod cur gitk od sdiff vboxd curl grep orbital seq view curl-config groupadd passwd sh vim cut groupdel paste shred vimdiff date groupmod pcid shuf vimtutor dd gunzip pcspkrd shutdown virtio-netd df gzip ping sleep watch dhcpd hashsum pkg smith wc diff head pr smolnetd which diff3 id printenv sort whoami dircolors ihdad printf split whois dirname info ps su xhcid dmesg inputd ptx sudo xxd dns ion ptyd sum root:/usr/bin# uname -a Redox 0.4.1 x86_64 root:/usr/bin# ping 8.8.8.8 From 8.8.8.8 icmp_seq=0 time=12.827ms From 8.8.8.8 icmp_seq=1 time=7.12ms From 8.8.8.8 icmp_seq=2 time=4.092ms From 8.8.8.8 icmp_seq=3 time=5.961ms --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 recieved, 0% packet loss ``` #### redox 源码文件和目录结构 整个编译目录含中间文件和最终的二进制文件,约 18G ``` # du -sh * 18G redox # cd redox/ # du -sh * 24K bootstrap.sh 513M build 4.0K build.sh 148K config 8.0K CONTRIBUTING.md 9.8G cookbook 2.0M docker 8.0K HARDWARE.md 462M installer 4.0K LICENSE 4.0K Makefile 56K mk 12K podman 16K podman_bootstrap.sh 2.0G prefix 8.0K README.md 193M redoxfs 290M relibc 2.1G rust 4.0K rust-toolchain.toml 24K scripts # tree -L 2 . ├── bootstrap.sh ├── build │ ├── fstools.tag │ └── x86_64 ├── build.sh ├── config │ ├── aarch64 │ ├── i686 │ └── x86_64 ├── CONTRIBUTING.md ├── cookbook │ ├── bin │ ├── build │ ├── Cargo.lock │ ├── Cargo.toml │ ├── clean.sh │ ├── config.sh │ ├── cook.sh │ ├── docgen │ ├── fetch.sh │ ├── LICENSE │ ├── pkgar │ ├── pkgutils │ ├── README.md │ ├── recipes │ ├── repo │ ├── repo.sh │ ├── setup.sh │ ├── src │ ├── status_origin.sh │ ├── status.sh │ ├── status_upstream.sh │ ├── target │ └── unfetch.sh ├── docker │ ├── demo.gif │ ├── Dockerfile │ ├── docker.sh │ ├── entrypoint.sh │ └── README.md ├── HARDWARE.md ├── installer │ ├── Cargo.lock │ ├── Cargo.toml │ ├── config │ ├── LICENSE │ ├── README.md │ ├── src │ ├── target │ ├── test.sh │ └── test.toml ├── LICENSE ├── Makefile ├── mk │ ├── ci.mk │ ├── config.mk │ ├── depends.mk │ ├── disk.mk │ ├── fstools.mk │ ├── podman.mk │ ├── prefix.mk │ ├── qemu.mk │ ├── repo.mk │ └── virtualbox.mk ├── podman │ ├── redox-base-containerfile │ └── rustinstall.sh ├── podman_bootstrap.sh ├── prefix │ └── x86_64-unknown-redox ├── README.md ├── redoxfs │ ├── Cargo.lock │ ├── Cargo.toml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── src │ ├── target │ └── test.sh ├── relibc │ ├── bindgen_transform.sh │ ├── build.rs │ ├── Cargo.lock │ ├── Cargo.toml │ ├── ci.sh │ ├── CONTRIBUTING.md │ ├── core_io │ ├── fmt.sh │ ├── include │ ├── LICENSE │ ├── Makefile │ ├── openlibm │ ├── posix-regex │ ├── ralloc │ ├── README.md │ ├── redoxer.sh │ ├── renamesyms.sh │ ├── rustfmt.toml │ ├── rust-toolchain.toml │ ├── src │ ├── target │ ├── tests │ └── Xargo.toml ├── rust │ ├── Cargo.lock │ ├── Cargo.toml │ ├── CODE_OF_CONDUCT.md │ ├── compiler │ ├── config.example.toml │ ├── configure │ ├── CONTRIBUTING.md │ ├── COPYRIGHT │ ├── library │ ├── LICENSE-APACHE │ ├── LICENSE-MIT │ ├── LICENSES │ ├── README.md │ ├── RELEASES.md │ ├── rustfmt.toml │ ├── src │ ├── tests │ ├── triagebot.toml │ ├── x │ ├── x.ps1 │ └── x.py ├── rust-toolchain.toml └── scripts ├── changelog.sh ├── dual-boot.sh ├── find-recipe.sh ├── rebuild-recipe.sh └── ventoy.sh 44 directories, 89 files ``` ## redox 源码编译全过程 ### 关键命令 > git clone https://gitlab.redox-os.org/redox-os/redox git submodule update --init --recursive apt install pkg-config apt install libfuse3-dev libfuse-dev apt install po4a apt install doxygen cargo install --force --version 0.1.1 cargo-config make all ### 下载 redox 源码库 > git clone https://gitlab.redox-os.org/redox-os/redox ``` # git clone https://gitlab.redox-os.org/redox-os/redox Cloning into 'redox'... warning: redirecting to https://gitlab.redox-os.org/redox-os/redox.git/ remote: Enumerating objects: 13269, done. remote: Counting objects: 100% (392/392), done. remote: Compressing objects: 100% (216/216), done. Receiving objects: 100% (13269/13269), 7.41 MiB | 18.00 KiB/s, done. Resolving deltas: 100% (7836/7836), done. ``` ### 更新Git库中的子模块 > git submodule update --init --recursive ``` # git submodule update --init --recursive Cloning into '/root/Github/redox/cookbook'... Cloning into '/root/Github/redox/installer'... Cloning into '/root/Github/redox/redoxfs'... Cloning into '/root/Github/redox/relibc'... Cloning into '/root/Github/redox/rust'... Submodule path 'cookbook': checked out '81b1eaa006858b3a6d954dab7e9000badcdb86c4' Submodule 'docgen' (https://gitlab.redox-os.org/redox-os/docgen.git) registered for path 'cookbook/docgen' Submodule 'pkgar' (https://gitlab.redox-os.org/redox-os/pkgar.git) registered for path 'cookbook/pkgar' Submodule 'pkgutils' (https://gitlab.redox-os.org/redox-os/pkgutils.git) registered for path 'cookbook/pkgutils' Cloning into '/root/Github/redox/cookbook/docgen'... Cloning into '/root/Github/redox/cookbook/pkgar'... Cloning into '/root/Github/redox/cookbook/pkgutils'... Submodule path 'cookbook/docgen': checked out 'c9525c4761d814b86af061e4e96cd394da7deaa2' Submodule path 'cookbook/pkgar': checked out '7a316443046eef7cce87f62ccc5ea26e6fb33de2' Submodule path 'cookbook/pkgutils': checked out '410b9b0761d9c933490e9ee2c0668eea9d9af181' Submodule path 'installer': checked out 'd61b30de3f988630ed47acf8dd438ffe5c810bd5' Submodule path 'redoxfs': checked out '985d6e815c9516db2c5200c250cc251076fe60c6' Submodule path 'relibc': checked out 'c55649452a6ed784ad50a7637c57c47d99a077dd' Submodule 'core_io' (https://gitlab.redox-os.org/redox-os/core_io.git) registered for path 'relibc/core_io' Submodule 'openlibm' (https://gitlab.redox-os.org/redox-os/openlibm.git) registered for path 'relibc/openlibm' Submodule 'posix-regex' (https://gitlab.redox-os.org/redox-os/posix-regex.git) registered for path 'relibc/posix-regex' Submodule 'ralloc' (https://gitlab.redox-os.org/redox-os/ralloc.git) registered for path 'relibc/ralloc' Cloning into '/root/Github/redox/relibc/core_io'... Cloning into '/root/Github/redox/relibc/openlibm'... Cloning into '/root/Github/redox/relibc/posix-regex'... Cloning into '/root/Github/redox/relibc/ralloc'... Submodule path 'relibc/core_io': checked out 'bcb799d1d1f610cbcc3c5db0188eef63677ad97e' Submodule path 'relibc/openlibm': checked out 'e2da0dafd3f326c9beb5d85734f832b98830ef9e' Submodule path 'relibc/posix-regex': checked out '0d996efe5cfe7ce181af35d8817ac4deae644d4a' Submodule path 'relibc/ralloc': checked out 'f9b8c35fe8a58c0216b06d24832408fe2d9c0206' Submodule path 'rust': checked out 'e9ed31b0540da8c7eae71de353a741294139ae8b' Submodule 'library/backtrace' (https://github.com/rust-lang/backtrace-rs.git) registered for path 'rust/library/backtrace' Submodule 'library/stdarch' (https://github.com/rust-lang/stdarch.git) registered for path 'rust/library/stdarch' Submodule 'src/doc/book' (https://github.com/rust-lang/book.git) registered for path 'rust/src/doc/book' Submodule 'src/doc/edition-guide' (https://github.com/rust-lang/edition-guide.git) registered for path 'rust/src/doc/edition-guide' Submodule 'src/doc/embedded-book' (https://github.com/rust-embedded/book.git) registered for path 'rust/src/doc/embedded-book' Submodule 'src/doc/nomicon' (https://github.com/rust-lang/nomicon.git) registered for path 'rust/src/doc/nomicon' Submodule 'src/doc/reference' (https://github.com/rust-lang/reference.git) registered for path 'rust/src/doc/reference' Submodule 'src/doc/rust-by-example' (https://github.com/rust-lang/rust-by-example.git) registered for path 'rust/src/doc/rust-by-example' Submodule 'src/doc/rustc-dev-guide' (https://github.com/rust-lang/rustc-dev-guide.git) registered for path 'rust/src/doc/rustc-dev-guide' Submodule 'src/llvm-project' (https://gitlab.redox-os.org/redox-os/llvm-project.git) registered for path 'rust/src/llvm-project' Submodule 'src/tools/cargo' (https://github.com/rust-lang/cargo.git) registered for path 'rust/src/tools/cargo' Cloning into '/root/Github/redox/rust/library/backtrace'... Cloning into '/root/Github/redox/rust/library/stdarch'... Cloning into '/root/Github/redox/rust/src/doc/book'... Cloning into '/root/Github/redox/rust/src/doc/edition-guide'... Cloning into '/root/Github/redox/rust/src/doc/embedded-book'... Cloning into '/root/Github/redox/rust/src/doc/nomicon'... Cloning into '/root/Github/redox/rust/src/doc/reference'... Cloning into '/root/Github/redox/rust/src/doc/rust-by-example'... Cloning into '/root/Github/redox/rust/src/doc/rustc-dev-guide'... Cloning into '/root/Github/redox/rust/src/llvm-project'... Cloning into '/root/Github/redox/rust/src/tools/cargo'... ... Cloning into '/root/Github/redox/rust/src/tools/cargo'... remote: Enumerating objects: 4498, done. remote: Counting objects: 100% (4498/4498), done. remote: Compressing objects: 100% (1337/1337), done. remote: Total 4397 (delta 2911), reused 4300 (delta 2872), pack-reused 0 Receiving objects: 100% (4397/4397), 1.13 MiB | 1.42 MiB/s, done. Resolving deltas: 100% (2911/2911), completed with 64 local objects. From https://github.com/rust-lang/backtrace-rs * branch 99faef833f890fe89f1a959d89b951954118828b -> FETCH_HEAD Submodule path 'rust/library/backtrace': checked out '99faef833f890fe89f1a959d89b951954118828b' remote: Enumerating objects: 15841, done. remote: Counting objects: 100% (15840/15840), done. remote: Compressing objects: 100% (3751/3751), done. remote: Total 15589 (delta 11599), reused 15232 (delta 11283), pack-reused 0 Receiving objects: 100% (15589/15589), 10.61 MiB | 5.43 MiB/s, done. Resolving deltas: 100% (11599/11599), completed with 174 local objects. From https://github.com/rust-lang/stdarch * branch d77878b7299dd7e286799a6e8447048b65d2a861 -> FETCH_HEAD Submodule path 'rust/library/stdarch': checked out 'd77878b7299dd7e286799a6e8447048b65d2a861' Submodule path 'rust/src/doc/book': checked out '72187f5cd0beaaa9c6f584156bcd88f921871e83' remote: Enumerating objects: 2651, done. remote: Counting objects: 100% (2651/2651), done. remote: Compressing objects: 100% (894/894), done. remote: Total 2621 (delta 1711), reused 2548 (delta 1679), pack-reused 0 Receiving objects: 100% (2621/2621), 472.45 KiB | 609.00 KiB/s, done. Resolving deltas: 100% (1711/1711), completed with 22 local objects. From https://github.com/rust-lang/edition-guide * branch 2751bdcef125468ea2ee006c11992cd1405aebe5 -> FETCH_HEAD Submodule path 'rust/src/doc/edition-guide': checked out '2751bdcef125468ea2ee006c11992cd1405aebe5' remote: Enumerating objects: 2358, done. remote: Counting objects: 100% (2358/2358), done. remote: Compressing objects: 100% (769/769), done. remote: Total 2296 (delta 1489), reused 2218 (delta 1424), pack-reused 0 Receiving objects: 100% (2296/2296), 611.70 KiB | 597.00 KiB/s, done. Resolving deltas: 100% (1489/1489), completed with 46 local objects. From https://github.com/rust-embedded/book * branch 99ad2847b865e96d8ae7b333d3ee96963557e621 -> FETCH_HEAD Submodule path 'rust/src/doc/embedded-book': checked out '99ad2847b865e96d8ae7b333d3ee96963557e621' remote: Enumerating objects: 2695, done. remote: Counting objects: 100% (2695/2695), done. remote: Compressing objects: 100% (868/868), done. remote: Total 2630 (delta 1865), reused 2486 (delta 1741), pack-reused 0 Receiving objects: 100% (2630/2630), 1.13 MiB | 1.07 MiB/s, done. Resolving deltas: 100% (1865/1865), completed with 54 local objects. From https://github.com/rust-lang/nomicon * branch 388750b081c0893c275044d37203f97709e058ba -> FETCH_HEAD Submodule path 'rust/src/doc/nomicon': checked out '388750b081c0893c275044d37203f97709e058ba' remote: Enumerating objects: 11166, done. remote: Counting objects: 100% (11166/11166), done. remote: Compressing objects: 100% (3143/3143), done. remote: Total 11037 (delta 8112), reused 10680 (delta 7863), pack-reused 0 Receiving objects: 100% (11037/11037), 3.68 MiB | 3.70 MiB/s, done. Resolving deltas: 100% (8112/8112), completed with 113 local objects. From https://github.com/rust-lang/reference * branch d43038932adeb16ada80e206d4c073d851298101 -> FETCH_HEAD Submodule path 'rust/src/doc/reference': checked out 'd43038932adeb16ada80e206d4c073d851298101' remote: Enumerating objects: 14215, done. remote: Counting objects: 100% (14215/14215), done. remote: Compressing objects: 100% (6123/6123), done. remote: Total 13974 (delta 7948), reused 13647 (delta 7636), pack-reused 0 Receiving objects: 100% (13974/13974), 3.18 MiB | 3.02 MiB/s, done. Resolving deltas: 100% (7948/7948), completed with 198 local objects. From https://github.com/rust-lang/rust-by-example * branch 07e0df2f006e59d171c6bf3cafa9d61dbeb520d8 -> FETCH_HEAD Submodule path 'rust/src/doc/rust-by-example': checked out '07e0df2f006e59d171c6bf3cafa9d61dbeb520d8' remote: Enumerating objects: 11114, done. remote: Counting objects: 100% (11114/11114), done. remote: Compressing objects: 100% (2881/2881), done. remote: Total 10921 (delta 8263), reused 10556 (delta 7937), pack-reused 0 Receiving objects: 100% (10921/10921), 2.55 MiB | 2.97 MiB/s, done. Resolving deltas: 100% (8263/8263), completed with 170 local objects. From https://github.com/rust-lang/rustc-dev-guide * branch b123ab4754127d822ffb38349ce0fbf561f1b2fd -> FETCH_HEAD Submodule path 'rust/src/doc/rustc-dev-guide': checked out 'b123ab4754127d822ffb38349ce0fbf561f1b2fd' remote: Enumerating objects: 5425938, done. remote: Counting objects: 100% (5425901/5425901), done. remote: Compressing objects: 100% (902607/902607), done. remote: Total 5376664 (delta 4473663), reused 5295177 (delta 4395834), pack-reused 0 Receiving objects: 100% (5376664/5376664), 1.41 GiB | 11.17 MiB/s, done. Resolving deltas: 6% (298413/4473663) Resolving deltas: 59% (2649448/4473663) Resolving deltas: 100% (4473663/4473663), completed with 43303 local objects. From https://gitlab.redox-os.org/redox-os/llvm-project * branch d3f2c2220e189945746ea4765355511cc0ad07dd -> FETCH_HEAD Submodule path 'rust/src/llvm-project': checked out 'd3f2c2220e189945746ea4765355511cc0ad07dd' remote: Enumerating objects: 115505, done. remote: Counting objects: 100% (115499/115499), done. remote: Compressing objects: 100% (29990/29990), done. remote: Total 114347 (delta 82962), reused 113384 (delta 82083), pack-reused 0 Receiving objects: 100% (114347/114347), 34.63 MiB | 10.63 MiB/s, done. Resolving deltas: 100% (82962/82962), completed with 757 local objects. From https://github.com/rust-lang/cargo * branch d14c85f4e6e7671673b1a1bc87231ff7164761e1 -> FETCH_HEAD Submodule path 'rust/src/tools/cargo': checked out 'd14c85f4e6e7671673b1a1bc87231ff7164761e1' Submodule path 'rust/src/doc/embedded-book': checked out '99ad2847b865e96d8ae7b333d3ee96963557e621' Submodule path 'rust/src/doc/nomicon': checked out '388750b081c0893c275044d37203f97709e058ba' Submodule path 'rust/src/tools/cargo': checked out 'd14c85f4e6e7671673b1a1bc87231ff7164761e1' ``` ### 编译 make all > make all ``` # make all env -u RUSTUP_TOOLCHAIN cargo build --manifest-path cookbook/Cargo.toml --release Downloaded addr2line v0.21.0 (registry `tuna`) Downloaded crc-catalog v2.2.0 (registry `tuna`) Downloaded safemem v0.3.3 (registry `tuna`) Downloaded rustc-demangle v0.1.23 (registry `tuna`) Downloaded serde_spanned v0.6.3 (registry `tuna`) Downloaded strsim v0.8.0 (registry `tuna`) Downloaded tinyvec_macros v0.1.1 (registry `tuna`) Downloaded take_mut v0.2.2 (registry `tuna`) Downloaded unicode-xid v0.2.4 (registry `tuna`) Downloaded arrayvec v0.7.4 (registry `tuna`) Downloaded adler32 v1.2.0 (registry `tuna`) Downloaded bytecount v0.6.3 (registry `tuna`) Downloaded toml_datetime v0.6.3 (registry `tuna`) Downloaded language-tags v0.2.2 (registry `tuna`) Downloaded vec_map v0.8.2 (registry `tuna`) Downloaded constant_time_eq v0.3.0 (registry `tuna`) Downloaded crypto-mac v0.8.0 (registry `tuna`) Downloaded generic-array v0.14.7 (registry `tuna`) Downloaded cfg-if v0.1.10 (registry `tuna`) Downloaded scopeguard v1.2.0 (registry `tuna`) Downloaded opaque-debug v0.2.3 (registry `tuna`) Downloaded arrayvec v0.5.2 (registry `tuna`) Downloaded fixedbitset v0.1.9 (registry `tuna`) Downloaded dirs-sys v0.3.7 (registry `tuna`) Downloaded sct v0.4.0 (registry `tuna`) Downloaded errno v0.3.3 (registry `tuna`) Downloaded crypto-common v0.1.6 (registry `tuna`) Downloaded percent-encoding v1.0.1 (registry `tuna`) Downloaded termion v1.5.6 (registry `tuna`) Downloaded cpufeatures v0.2.9 (registry `tuna`) Downloaded thiserror-impl v1.0.48 (registry `tuna`) Downloaded thiserror v1.0.48 (registry `tuna`) Downloaded digest v0.8.1 (registry `tuna`) Downloaded digest v0.10.7 (registry `tuna`) Downloaded iana-time-zone v0.1.57 (registry `tuna`) Downloaded keccak v0.1.4 (registry `tuna`) Downloaded walkdir v2.4.0 (registry `tuna`) Downloaded users v0.11.0 (registry `tuna`) Downloaded page_size v0.4.2 (registry `tuna`) Downloaded textwrap v0.11.0 (registry `tuna`) Downloaded subtle v2.5.0 (registry `tuna`) Downloaded ansi_term v0.12.1 (registry `tuna`) Downloaded termcolor v1.2.0 (registry `tuna`) Downloaded time v0.1.45 (registry `tuna`) Downloaded unicode-ident v1.0.11 (registry `tuna`) Downloaded crc32fast v1.3.2 (registry `tuna`) Downloaded pkgar v0.1.11 (registry `tuna`) Downloaded tempfile v3.8.0 (registry `tuna`) Downloaded byte-tools v0.3.1 (registry `tuna`) Downloaded fscommon v0.1.1 (registry `tuna`) Downloaded matches v0.1.10 (registry `tuna`) Downloaded failure_derive v0.1.8 (registry `tuna`) Downloaded serde_derive v1.0.188 (registry `tuna`) Downloaded unicode-bidi v0.3.13 (registry `tuna`) Downloaded bitflags v2.4.0 (registry `tuna`) Downloaded num_cpus v1.16.0 (registry `tuna`) Downloaded pkgar-core v0.1.11 (registry `tuna`) Downloaded bidir-map v0.6.0 (registry `tuna`) Downloaded toml v0.5.11 (registry `tuna`) Downloaded seahash v4.1.0 (registry `tuna`) Downloaded toml v0.7.6 (registry `tuna`) Downloaded crossbeam-utils v0.8.16 (registry `tuna`) Downloaded typeable v0.1.2 (registry `tuna`) Downloaded untrusted v0.6.2 (registry `tuna`) Downloaded traitobject v0.1.0 (registry `tuna`) Downloaded version-compare v0.0.10 (registry `tuna`) Downloaded tar v0.4.40 (registry `tuna`) Downloaded version_check v0.1.5 (registry `tuna`) Downloaded unicase v1.4.2 (registry `tuna`) Downloaded constant_time_eq v0.1.5 (registry `tuna`) Downloaded adler v1.0.2 (registry `tuna`) Downloaded either v1.9.0 (registry `tuna`) Downloaded httparse v1.8.0 (registry `tuna`) Downloaded uuid v1.4.1 (registry `tuna`) Downloaded ppv-lite86 v0.2.17 (registry `tuna`) Downloaded plain v0.2.3 (registry `tuna`) Downloaded rand_core v0.6.4 (registry `tuna`) Downloaded dirs v4.0.0 (registry `tuna`) Downloaded crossbeam-deque v0.8.3 (registry `tuna`) Downloaded same-file v1.0.6 (registry `tuna`) Downloaded fastrand v2.0.0 (registry `tuna`) Downloaded block-buffer v0.7.3 (registry `tuna`) Downloaded unicode-normalization v0.1.22 (registry `tuna`) Downloaded env_logger v0.9.3 (registry `tuna`) Downloaded getrandom v0.2.10 (registry `tuna`) Downloaded aho-corasick v1.0.5 (registry `tuna`) Downloaded hyper v0.10.16 (registry `tuna`) Downloaded quote v1.0.33 (registry `tuna`) Downloaded syn v2.0.31 (registry `tuna`) Downloaded failure v0.1.8 (registry `tuna`) Downloaded num-traits v0.2.16 (registry `tuna`) Downloaded blake2 v0.10.6 (registry `tuna`) Downloaded mime v0.2.6 (registry `tuna`) Downloaded range-tree v0.1.0 (registry `tuna`) Downloaded partition-identity v0.3.0 (registry `tuna`) Downloaded miniz_oxide v0.7.1 (registry `tuna`) Downloaded arg_parser v0.1.0 (registry `tuna`) Downloaded block-padding v0.1.5 (registry `tuna`) Downloaded pbr v1.1.1 (registry `tuna`) Downloaded memsec v0.6.3 (registry `tuna`) Downloaded seckey v0.11.2 (registry `tuna`) Downloaded pkgar-keys v0.1.11 (registry `tuna`) Downloaded generic-array v0.12.4 (registry `tuna`) Downloaded proc-mounts v0.3.0 (registry `tuna`) Downloaded ed25519 v1.5.3 (registry `tuna`) Downloaded redox_simple_endian v0.3.0 (registry `tuna`) Downloaded sodiumoxide v0.2.7 (registry `tuna`) Downloaded hashbrown v0.14.0 (registry `tuna`) Downloaded redoxfs v0.5.8 (registry `tuna`) Downloaded redox_installer v0.2.13 (registry `tuna`) Downloaded regex v1.9.5 (registry `tuna`) Downloaded regex-syntax v0.7.5 (registry `tuna`) Downloaded rustix v0.38.11 (registry `tuna`) Downloaded object v0.32.1 (registry `tuna`) Downloaded zerocopy-derive v0.6.4 (registry `tuna`) Downloaded regex-automata v0.3.8 (registry `tuna`) Downloaded webpki-roots v0.15.0 (registry `tuna`) Downloaded linux-raw-sys v0.4.5 (registry `tuna`) Downloaded ring v0.13.5 (registry `tuna`) Downloaded libc v0.2.147 (registry `tuna`) Downloaded fuser v0.12.0 (registry `tuna`) Downloaded redox_syscall v0.4.0 (registry `tuna`) Downloaded hyper-rustls v0.6.2 (registry `tuna`) Downloaded ordermap v0.2.13 (registry `tuna`) Downloaded redoxer v0.2.34 (registry `tuna`) Downloaded redox_liner v0.5.1 (registry `tuna`) Downloaded winnow v0.5.15 (registry `tuna`) Downloaded rust-argon2 v0.8.3 (registry `tuna`) Downloaded dirs v3.0.2 (registry `tuna`) Downloaded rayon v1.7.0 (registry `tuna`) Downloaded rustls v0.13.1 (registry `tuna`) Downloaded blake3 v0.3.8 (registry `tuna`) Downloaded sha3 v0.8.2 (registry `tuna`) Downloaded blake3 v1.4.1 (registry `tuna`) Downloaded idna v0.1.5 (registry `tuna`) Downloaded user-error v1.2.8 (registry `tuna`) Downloaded crossbeam-epoch v0.9.15 (registry `tuna`) Downloaded libsodium-sys v0.2.7 (registry `tuna`) Downloaded log v0.4.20 (registry `tuna`) Downloaded proc-macro2 v1.0.66 (registry `tuna`) Downloaded base64 v0.13.1 (registry `tuna`) Downloaded error-chain v0.12.4 (registry `tuna`) Downloaded smallvec v1.11.0 (registry `tuna`) Downloaded arrayref v0.3.7 (registry `tuna`) Downloaded petgraph v0.4.13 (registry `tuna`) Downloaded itertools v0.8.2 (registry `tuna`) Downloaded syn v1.0.109 (registry `tuna`) Downloaded gimli v0.28.0 (registry `tuna`) Downloaded chrono v0.4.30 (registry `tuna`) Downloaded unicode-width v0.1.10 (registry `tuna`) Downloaded clap v2.34.0 (registry `tuna`) Downloaded fatfs v0.3.6 (registry `tuna`) Downloaded base64 v0.9.3 (registry `tuna`) Downloaded block-buffer v0.10.4 (registry `tuna`) Downloaded pkg-config v0.3.27 (registry `tuna`) Downloaded zerocopy v0.6.4 (registry `tuna`) Downloaded toml v0.4.10 (registry `tuna`) Downloaded memoffset v0.9.0 (registry `tuna`) Downloaded sha2 v0.10.7 (registry `tuna`) Downloaded base64ct v1.6.0 (registry `tuna`) Downloaded blake2b_simd v0.5.11 (registry `tuna`) Downloaded typenum v1.16.0 (registry `tuna`) Downloaded ordermap v0.3.5 (registry `tuna`) Downloaded memchr v2.6.3 (registry `tuna`) Downloaded toml_edit v0.19.14 (registry `tuna`) Downloaded gpt v3.1.0 (registry `tuna`) Downloaded libflate v0.1.27 (registry `tuna`) Downloaded rle-decode-fast v1.0.3 (registry `tuna`) Downloaded crc v3.0.1 (registry `tuna`) Downloaded filetime v0.2.22 (registry `tuna`) Downloaded xattr v1.0.1 (registry `tuna`) Downloaded webpki v0.18.1 (registry `tuna`) Downloaded crossbeam-channel v0.5.8 (registry `tuna`) Downloaded argon2 v0.3.4 (registry `tuna`) Downloaded serde v1.0.188 (registry `tuna`) Downloaded url v1.7.2 (registry `tuna`) Downloaded cc v1.0.83 (registry `tuna`) Downloaded backtrace v0.3.69 (registry `tuna`) Downloaded rayon-core v1.11.0 (registry `tuna`) Downloaded log v0.3.9 (registry `tuna`) Downloaded signature v1.6.4 (registry `tuna`) Downloaded equivalent v1.0.1 (registry `tuna`) Downloaded numtoa v0.1.0 (registry `tuna`) Downloaded indexmap v2.0.0 (registry `tuna`) Downloaded redox_pkgutils v0.1.6 (registry `tuna`) Downloaded 185 crates (24.3 MB) in 4.73s (largest was `ring` at 5.4 MB) Compiling libc v0.2.147 Compiling cfg-if v1.0.0 Compiling cc v1.0.83 Compiling proc-macro2 v1.0.66 Compiling unicode-ident v1.0.11 Compiling quote v1.0.33 Compiling typenum v1.16.0 Compiling version_check v0.9.4 Compiling syn v2.0.31 Compiling generic-array v0.14.7 Compiling autocfg v1.1.0 Compiling log v0.4.20 Compiling crossbeam-utils v0.8.16 Compiling serde v1.0.188 Compiling memchr v2.6.3 Compiling serde_derive v1.0.188 Compiling pkg-config v0.3.27 Compiling byteorder v1.4.3 Compiling getrandom v0.2.10 Compiling subtle v2.5.0 Compiling memoffset v0.9.0 Compiling lazy_static v1.4.0 Compiling crossbeam-epoch v0.9.15 Compiling ring v0.13.5 Compiling num_cpus v1.16.0 Compiling bitflags v1.3.2 Compiling same-file v1.0.6 Compiling walkdir v2.4.0 Compiling crossbeam-channel v0.5.8 Compiling backtrace v0.3.69 Compiling tinyvec_macros v0.1.1 Compiling scopeguard v1.2.0 Compiling adler v1.0.2 Compiling untrusted v0.6.2 Compiling either v1.9.0 Compiling gimli v0.28.0 Compiling addr2line v0.21.0 Compiling miniz_oxide v0.7.1 Compiling tinyvec v1.6.0 Compiling libsodium-sys v0.2.7 Compiling object v0.32.1 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling atty v0.2.14 Compiling rayon-core v1.11.0 Compiling unicode-width v0.1.10 Compiling version_check v0.1.5 Compiling arrayref v0.3.7 Compiling rustc-demangle v0.1.23 Compiling syn v1.0.109 Compiling numtoa v0.1.0 Compiling termion v1.5.6 Compiling unicase v1.4.2 Compiling digest v0.10.7 Building [======> ] 78/263: libsodium-sys(build) Compiling unicode-normalization v0.1.22 Compiling crossbeam-deque v0.8.3 Compiling unicode-bidi v0.3.13 Compiling httparse v1.8.0 Compiling signature v1.6.4 Compiling safemem v0.3.3 Compiling matches v0.1.10 Compiling getrandom v0.1.16 Compiling constant_time_eq v0.1.5 Compiling arrayvec v0.5.2 Compiling idna v0.1.5 Compiling base64 v0.9.3 Compiling ed25519 v1.5.3 Compiling textwrap v0.11.0 Compiling webpki v0.18.1 Compiling aho-corasick v1.0.5 Compiling log v0.3.9 Compiling num-traits v0.2.16 Compiling generic-array v0.12.4 Compiling error-chain v0.12.4 Compiling blake3 v0.3.8 Compiling dirs-sys v0.3.7 Compiling time v0.1.45 Compiling regex-syntax v0.7.5 Compiling failure_derive v0.1.8 Compiling percent-encoding v1.0.1 Compiling strsim v0.8.0 Compiling crc32fast v1.3.2 Compiling byte-tools v0.3.1 Compiling vec_map v0.8.2 Compiling unicode-xid v0.2.4 Compiling ansi_term v0.12.1 Compiling clap v2.34.0 Compiling synstructure v0.12.6 Compiling block-padding v0.1.5 Compiling url v1.7.2 Compiling regex-automata v0.3.8 Compiling mime v0.2.6 Compiling sodiumoxide v0.2.7 Compiling rayon v1.7.0 Compiling sct v0.4.0 Compiling crypto-mac v0.8.0 Compiling memsec v0.6.3 Compiling fuser v0.12.0 Compiling digest v0.9.0 Compiling zerocopy-derive v0.6.4 Compiling traitobject v0.1.0 Compiling bitflags v2.4.0 Compiling thiserror v1.0.48 Compiling cpufeatures v0.2.9 Compiling cfg-if v0.1.10 Compiling typeable v0.1.2 Compiling language-tags v0.2.2 Compiling hyper v0.10.16 Compiling zerocopy v0.6.4 error: failed to run custom build command for `fuser v0.12.0` ``` > 此时需要安装 fuse 库 ``` # apt install libfuse3-dev libfuse-dev # make all env -u RUSTUP_TOOLCHAIN cargo build --manifest-path cookbook/Cargo.toml --release Finished release [optimized] target(s) in 0.23s warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` env -u RUSTUP_TOOLCHAIN cargo build --manifest-path installer/Cargo.toml --release Finished release [optimized] target(s) in 0.17s warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` env -u RUSTUP_TOOLCHAIN cargo build --manifest-path redoxfs/Cargo.toml --release --bin redoxfs Compiling uuid v1.4.1 Compiling failure v0.1.8 Compiling time v0.1.45 Compiling redox_simple_endian v0.3.0 Compiling range-tree v0.1.0 Compiling seahash v4.1.0 Compiling redoxfs v0.5.8 (/root/Github/redox/redoxfs) Finished release [optimized] target(s) in 9.91s env -u RUSTUP_TOOLCHAIN cargo build --manifest-path redoxfs/Cargo.toml --release --bin redoxfs-mkfs Compiling redoxfs v0.5.8 (/root/Github/redox/redoxfs) Finished release [optimized] target(s) in 2.60s mkdir -p build touch build/fstools.tag mkdir -p "prefix/x86_64-unknown-redox" #TODO: figure out why rust-install.tar.gz is missing /lib/rustlib/x86_64-unknown-linux-gnu/lib wget -O prefix/x86_64-unknown-redox/rust-install.tar.gz.partial "https://static.redox-os.org/toolchain/x86_64-unknown-redox/relibc-install.tar.gz" --2023-09-16 07:29:10-- https://static.redox-os.org/toolchain/x86_64-unknown-redox/relibc-install.tar.gz Resolving static.redox-os.org (static.redox-os.org)... 23.21.162.66 Connecting to static.redox-os.org (static.redox-os.org)|23.21.162.66|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 302993641 (289M) [application/x-gzip] Saving to: ‘prefix/x86_64-unknown-redox/rust-install.tar.gz.partial’ prefix/x86_64-unknown-redox/rust-install.t 100%[=====================================================================================>] 288.96M 12.0MB/s in 27s 2023-09-16 07:29:38 (10.9 MB/s) - ‘prefix/x86_64-unknown-redox/rust-install.tar.gz.partial’ saved [302993641/302993641] mv prefix/x86_64-unknown-redox/rust-install.tar.gz.partial prefix/x86_64-unknown-redox/rust-install.tar.gz rm -rf "prefix/x86_64-unknown-redox/rust-install.partial" "prefix/x86_64-unknown-redox/rust-install" mkdir -p "prefix/x86_64-unknown-redox/rust-install.partial" tar --extract --file "prefix/x86_64-unknown-redox/rust-install.tar.gz" --directory "prefix/x86_64-unknown-redox/rust-install.partial" --strip-components=1 touch "prefix/x86_64-unknown-redox/rust-install.partial" mv "prefix/x86_64-unknown-redox/rust-install.partial" "prefix/x86_64-unknown-redox/rust-install" rm -rf "prefix/x86_64-unknown-redox/relibc-install.partial" "prefix/x86_64-unknown-redox/relibc-install" cp -r "prefix/x86_64-unknown-redox/rust-install" "prefix/x86_64-unknown-redox/relibc-install.partial" rm -rf "prefix/x86_64-unknown-redox/relibc-install.partial/x86_64-unknown-redox/include/"* cp -r "prefix/x86_64-unknown-redox/rust-install/x86_64-unknown-redox/include/c++" "prefix/x86_64-unknown-redox/relibc-install.partial/x86_64-unknown-redox/include/c++" cp -r "prefix/x86_64-unknown-redox/rust-install/lib/rustlib/x86_64-unknown-linux-gnu/lib/" "prefix/x86_64-unknown-redox/relibc-install.partial/lib/rustlib/x86_64-unknown-linux-gnu/" rm -rf prefix/x86_64-unknown-redox/relibc-install.partial/lib/rustlib/src mkdir prefix/x86_64-unknown-redox/relibc-install.partial/lib/rustlib/src ln -s /root/Github/redox/rust prefix/x86_64-unknown-redox/relibc-install.partial/lib/rustlib/src cd "/root/Github/redox/relibc" && \ export PATH="/root/Github/redox/prefix/x86_64-unknown-redox/relibc-install.partial/bin:$PATH" && \ export CARGO="env -u CARGO cargo" && \ make clean && \ make -j `nproc` all && \ make -j `nproc` install DESTDIR="/root/Github/redox/prefix/x86_64-unknown-redox/relibc-install.partial/x86_64-unknown-redox" make[1]: Entering directory '/root/Github/redox/relibc' env -u CARGO cargo clean ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)