URN Logo
UNIX Resources » Linux » China Linux Forum » Linux内核技术 » 第294页 » 关于printk.,内核问题
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
关于printk.,内核问题
关于printk.,内核问题 - asmcos [2001-05-27 10:52 | 243 byte(s)]
 
Re: 关于printk.,内核问题 - Alan_Yao [2001-05-27 14:21 | 421 byte(s)]
 
Subject: 关于printk.,内核问题
Author: asmcos    Posted: 2001-05-27 10:52    Length: 243 byte(s)
[Original] [Print] [Top]
你好,以前有人提过此问题。printk,打印的消息在运行程序时看不出来。用dmesg能看见。为什么?应该是kernel编译的问题。?

-----〉〉〉我不说,我怎么能做?
操作系统开发的朋友 邮件asmcos@yeah.net
学计算机,不用计算机
[Original] [Print] [Top]
Subject: Re: 关于printk.,内核问题
Author: Alan_Yao    Posted: 2001-05-27 14:21    Length: 421 byte(s)
[Original] [Print] [Top]
提高printk(KERNEL_LEVEL"……")的显示级别KERNEL_LEVEL,或者改变默认显示级别。

如printk(KERN_WARNING"warning:the PID is %s",&pid);

具体定义在/linux/include/linux/kernel.h中33行左右







*Alan Yao(Oicq:13418781)
*我用一座城,把世俗围在外面;
*可世俗却用她,把我圈在里面。
[Original] [Print] [Top]
« Previous thread
内核识别硬件?
Linux内核技术
294
Next thread »
how to start?
     

Copyright © 2018 UNIX Resources Network, All Rights Reserved.    About URN | Privacy & Legal | Help | Contact us