when you write large files  to extern stroage, the kernel may have as follow context: [ 4560.236385] INFO: task sync:1036 blocked for more than 120 seconds.[ 4560.236389] Not tainted 4.4.0-21-generic #37-Ubuntu[ 4560.236390] "echo 0 > /proc/sys/ke…
Working with editors/IDEs supporting “safe write” Note that many editors support “safe write” feature and have it enabled by default, which makes dev server unable to watch files correctly. “Safe write” means changes are not written directly to origi…
内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是:warning treated as error 意思是将警告当成错误,这是编译选项的问题,将警告级别设置得高导致的错误. 解决的办法是:将警告级别设置为低.这个我想大家都知道,但要如何设置呢?我找了一段时间,也没有很好的解决办法,网上也有很多人遇到这个问题,但真正解决的却没有,我是没有找到,或者就是有人解…
一.前言 我们在项目开发过程中,很多时候会出现由于某种原因经常会导致手机系统死机重启的情况(重启分Android重启跟kernel重启,而我们这里只讨论kernel重启也就是 kernel panic 的情况),死机重启基本算是影响最严重的系统问题了,有稳定复现的,也有概率出现的,解题难度也千差万别,出现问题后,通常我们会拿到类似这样的kernel log信息(下面log仅以调用BUG()为例,其它异常所致的死机log信息会有一些不同之处): [ 2.052157] <2>-(2)[1:swa…
问题: 系统正常编译linux系统kernel,安装svn后,kernel编译出错. 错误: CHK     include/linux/version.h  CHK     include/generated/utsrelease.hmake[1]: `include/generated/mach-types.h' is up to date.  CALL    scripts/checksyscalls.sh  CHK     include/generated/compile.hgcc:…
日志中会有一些信息: dmesg | grep -i tainted 具体代码可以通过proc看到: cat /proc/sys/kernel/tainted 数字的意义: tainted: Non-zero if the kernel has been tainted. Numeric values, whichcan be ORed together: 1 - A module with a non-GPL license has been loaded, this includes mod…
http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory/ After examining the virtual address layout of a process, we turn to the kernel and its mechanisms for managing user memory. Here is gonzo again: Linux processes are implemented…
-- :: [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 -- :: [Warning] InnoDB: New log files created, LSN= -- :: [Note] InnoDB: Doublewrite buffer not found: creating new -- :: [Note] InnoDB: Doublewrite buffer created -- :: [Note] I…
File I/O Introduction     We'll start our discussion of the UNIX System by describing the functions availablefor file I/O-open a file, read a file, write a file, and so on. Most file I/O on a UNIX system can be performed using only five functions: open, re…
线上centos6出现软死锁 kernel:BUG: soft lockup 今天线上一台centos6机器用xshell一直连接不上,然后在xshell上显示 Message from syslogd@GZxxx at Mar 29 14:13:14 ...kernel:BUG: soft lockup - CPU#1 stuck for 68s! [events/1:36] 过了10分钟,终于可以连上了,看一下开机日志 dmesg |grep stuckBUG: soft lockup -…