|
|
发表于 2006-7-11 12:09:24
|
显示全部楼层
这里有说明:
http://www.faqs.org/docs/kernel/x45.html
1.2.1.2. Using X
It is highly recommended that you type in, compile and load all the examples this guide discusses. It's also highly recommended you do this from a console. You should not be working on this stuff in X.
Modules can't print to the screen like printf() can, but they can log information and warnings, which ends up being printed on your screen, but only on a console. If you insmod a module from an xterm, the information and warnings will be logged, but only to your log files. You won't see it unless you look through your log files. To have immediate access to this information, do all your work from console. |
|