ultraji / linux-0.12 Goto Github PK
View Code? Open in Web Editor NEW《Linux内核完全剖析》linux0.12源码及实验环境
License: GNU General Public License v3.0
《Linux内核完全剖析》linux0.12源码及实验环境
License: GNU General Public License v3.0
[HD ] HD on ata0-0: './hdc.img', 'flat' mode
[IMG ] image locked: './hdc.img'
[HD ] >>PANIC<< ata0-0: could not open hard drive image file './hdc.img'
Event type: PANIC
没有对源代码进行修改,运行oslab下的run.sh -m,产生如下报错,求助
ubuntu@1f7cda8a507c:~/linux-0.12/oslab$ ./run.sh -m
rm -f Image System.map tmp_make core boot/bootsect boot/setup \
boot/bootsect.s boot/setup.s
rm -f init/*.o tools/system tools/build boot/*.o
(cd mm;make clean)
make[1]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/mm'
rm -f core *.o *.a tmp_make
for i in *.c;do rm -f `basename $i .c`.s;done
make[1]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/mm'
(cd fs;make clean)
make[1]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/fs'
rm -f core *.o *.a tmp_make
for i in *.c;do rm -f `basename $i .c`.s;done
make[1]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/fs'
(cd kernel;make clean)
make[1]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/kernel'
rm -f core *.o *.a tmp_make keyboard.s
for i in *.c;do rm -f `basename $i .c`.s;done
(cd chr_drv; make clean)
make[2]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/chr_drv'
rm -f core *.o *.a tmp_make keyboard.s
for i in *.c;do rm -f `basename $i .c`.s;done
make[2]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/chr_drv'
(cd blk_drv; make clean)
make[2]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/blk_drv'
rm -f core *.o *.a tmp_make
for i in *.c;do rm -f `basename $i .c`.s;done
make[2]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/blk_drv'
(cd math; make clean)
make[2]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/math'
rm -f core *.o *.a tmp_make
for i in *.c;do rm -f `basename $i .c`.s;done
make[2]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/kernel/math'
make[1]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/kernel'
(cd lib;make clean)
make[1]: Entering directory '/home/ubuntu/linux-0.12/linux-0.12/lib'
rm -f core *.o *.a tmp_make
for i in *.c;do rm -f `basename $i .c`.s;done
make[1]: Leaving directory '/home/ubuntu/linux-0.12/linux-0.12/lib'
make: *** No rule to make target 'boot/bootsect.S', needed by 'boot/bootsect.s'. Stop.
cp: cannot stat 'Image': No such file or directory
gcc 版本:gcc version 10.2.0 (Debian 10.2.0-5)
错误代码:
tools/build.c: At top level:
/usr/include/linux/fscrypt.h:81: error: storage size of `v1' isn't known
/usr/include/linux/fscrypt.h:82: error: storage size of `v2' isn't known
make: *** [Makefile:79: tools/build] Error 1
linux-0.12/linux-0.12/include/string.h
Line 27 in 5202224
static修饰的函数外部文件不是不能调用么?怎么链接通过的呢?
容器内启动显示内核panic
建议安装
sudo apt-get install ttf-wqy-zenhei
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.