随笔分类 -  linux 常见问题

Linux 脚本等碰到的问题
摘要:1. vim kernel/include/generated/compile.h #define UTS_VERSION "#70 SMP Wed Sep 1 16:31:40 CST 2021" 2. [ 0.000000] Booting Linux on physical CPU 0x000 阅读全文
posted @ 2021-09-01 16:45 johnny_shi 阅读(161) 评论(0) 推荐(0)
摘要:insmod: failed to load *.KO Operation not permitted It shows you don't have the permit to do it just do like this : su then you can do what you want 阅读全文
posted @ 2021-06-17 09:17 johnny_shi 阅读(786) 评论(0) 推荐(0)
摘要:I am using a SD to make a linux system based on f1c100s . but i found it failed that it couldn't run . so i wanted to do it again and there were two p 阅读全文
posted @ 2020-01-10 11:15 johnny_shi 阅读(180) 评论(0) 推荐(0)
摘要:在开机的时候有注意到空间不足。第二天重启的时候进入不了系统。 但是 ctrl + alt _F6 可以进入shell . 于是估计是空间不足导致进入不了系统。 找到哪里文件夹空间异常的大就可以解决问题。 du -h --max-depth=1 work/testing 类似如左边的方式找到文件夹。 阅读全文
posted @ 2016-10-11 13:36 johnny_shi 阅读(6084) 评论(0) 推荐(1)
摘要:发现是在开机初始化的时候就启动的连接,蓝牙很多应用还没连接成功。 所以就默认蓝牙启动的时候是关闭连接的。 然后手动连接就可以了。 在 /etc/rc.local 在exit 0前面添加 rfkill block bluetooth 默认关闭蓝牙 [pulseaudio] module-bluetoo 阅读全文
posted @ 2016-07-11 10:11 johnny_shi 阅读(511) 评论(0) 推荐(0)
摘要:一个同事设置之后不能上网。 根据经验DNS有问题。 所以就设置8.8.8.8 之后就好了 DONE 阅读全文
posted @ 2016-07-04 14:24 johnny_shi 阅读(2406) 评论(0) 推荐(0)
摘要:一 为什么需要使用虚拟内存 大家都知道,进程需要使用的代码和数据都放在内存中,比放在外存中要快很多。问题是内存空间太小了,不能满足进程的需求,而且现在都是多进程,情况更加糟糕。所以提出了虚拟内存,使得每个进程用于3G的独立用户内存空间和共享的1G内核内存空间。(每个进程都有自己的页表,才使得3G用户 阅读全文
posted @ 2016-06-22 14:03 johnny_shi 阅读(384) 评论(0) 推荐(0)
摘要:Shell script fails: Syntax error: “(” unexpectedgoogle 一下。http://unix.stackexchange.com/questions/45781/shell-script-fails-syntax-error-unexpectedThe ... 阅读全文
posted @ 2015-07-22 17:36 johnny_shi 阅读(253) 评论(0) 推荐(0)