DragonOS-Community / DragonOS

使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算轻量化场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for lightweight cloud computing scenarios.
https://dragonos.org
GNU General Public License v2.0
866 stars 138 forks source link

【任务发布】为腾讯云打包磁盘镜像,使得DragonOS能在CVM上运行pid1的内核线程 #701

Open fslongjin opened 5 months ago

fslongjin commented 5 months ago

需求

为腾讯云打包磁盘镜像,使得DragonOS能在CVM上运行pid1的内核线程。

也就是,正常运行到这一行:

https://code.dragonos.org.cn/xref/DragonOS/kernel/src/init/initial_kthread.rs?r=b5b571e02693d91eb6918d3b7561e088c3e7ee81#44

(由于尚不支持virtio disk,因此可以暂时注释掉

   ahci_init().expect("Failed to initialize AHCI");

   mount_root_fs().expect("Failed to mount root fs");
fslongjin commented 5 months ago

由 @1037827920 负责

fslongjin commented 5 months ago

目前在open stack上面能满足该issue的需求,腾讯云的sa5等较新机型上面能满足该issue的需求。

但是如sa2、sa3等机型跑不了,我们仍在研究原因。