由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - 求助本版牛人
相关主题
i386, i686, i586都傻意思阿?好像这里折腾virtualbox的人比较多,问个问题
并口驱动的一个问题 (转载)郁闷的debian
哪位用过tty_flip_buffer_push()? (转载)applications only available under Linux
howto install vboxguestadditions on CentOS.Arch软件包维护人员压力之大,常人无法想像的
有人玩树梅么? Raspery pi有人用xen吗?
乱点未来的虚拟机发展方向免费虚拟机用哪款好??
电脑盲求教linux系统的使用virtualbox跟native比,差多少 (转载)
谁来介绍一下子 virtrualization?Mac Pro 上面可以装Xen做个Virtual Machine出来吗 (转载)
相关话题的讨论汇总
话题: idle话题: printk话题: xen话题: vm话题: message
进入Linux版参与讨论
1 (共1页)
p*********u
发帖数: 103
1
实在没有办法了,本来想在lkml上问的,死活确认不了subscribe,只好来这个版求助了,
小妹先谢过各位.
偶在找linux kernel里那个听说过无数次但就是见不到面的idle loop,
就是那个在没有runnable process情况下运行的idle loop(task),我怎么也找不到
definition在哪里, 看到个觉得是的default_idle,于是加了个printk message 确认下
,可是没有任何信息打印出来.
请见过这个函数的前辈指教下,多谢
p*****s
发帖数: 344
q**d
发帖数: 16
3
hw dependent code
arch/i386/kernel/process.c
p*********u
发帖数: 103
4
谢谢ls的回复,我很困惑的是,第一个连接给的也是cpu_idle, default_idle,
都是定义在/arch/x86/kernel/process_32.c (我的linux 是 2.6.25.20 )
我在这两个function都加了printk to verify if any of them are really invoked,
however, nothing was print out.
p*****s
发帖数: 344
5
if your printk is really in the idle loop, you should see tons of them,
and ur system won't be usable anymore.
what development environment it is, do u have console access?
if u really want to figure out the program flow, start adding printk from
main.c

,

【在 p*********u 的大作中提到】
: 谢谢ls的回复,我很困惑的是,第一个连接给的也是cpu_idle, default_idle,
: 都是定义在/arch/x86/kernel/process_32.c (我的linux 是 2.6.25.20 )
: 我在这两个function都加了printk to verify if any of them are really invoked,
: however, nothing was print out.

p*********u
发帖数: 103
6
yes, when I did this on native host, there are tons of message and the
system is not usable. But when I did this on my VM, I didn't see any message
, is this because I'm using para-virtualized VM on xen??? shouldn't be.

【在 p*****s 的大作中提到】
: if your printk is really in the idle loop, you should see tons of them,
: and ur system won't be usable anymore.
: what development environment it is, do u have console access?
: if u really want to figure out the program flow, start adding printk from
: main.c
:
: ,

p*****s
发帖数: 344
7
never looked inside Xen, looked on wiki, para-vm requires modified host,
so that may not be suitable in your case.

message

【在 p*********u 的大作中提到】
: yes, when I did this on native host, there are tons of message and the
: system is not usable. But when I did this on my VM, I didn't see any message
: , is this because I'm using para-virtualized VM on xen??? shouldn't be.

q**d
发帖数: 16
8
checking XEN config, maybe xen_idle is what you are looking for.
1 (共1页)
进入Linux版参与讨论
相关主题
Mac Pro 上面可以装Xen做个Virtual Machine出来吗 (转载)有人玩树梅么? Raspery pi
Portable Linux is good...乱点未来的虚拟机发展方向
转到debian sid了电脑盲求教linux系统的使用
急求debian-etch-i386安装盘下载连接谁来介绍一下子 virtrualization?
i386, i686, i586都傻意思阿?好像这里折腾virtualbox的人比较多,问个问题
并口驱动的一个问题 (转载)郁闷的debian
哪位用过tty_flip_buffer_push()? (转载)applications only available under Linux
howto install vboxguestadditions on CentOS.Arch软件包维护人员压力之大,常人无法想像的
相关话题的讨论汇总
话题: idle话题: printk话题: xen话题: vm话题: message