[android-kernel] Re: I want to generate a KernelPanic(reset)

2013-12-06 Thread fighting
echo c>/proc/sysrq-trigger 在 2013年7月8日星期一UTC+8下午10时10分20秒,lts写道: > > Hi,All > > Please tell me someone. > > I want to generate a Kernel panic (Reboot) intentionally in the automatic > test. > Software uses 「user」 instead of 「eng」. > API to call is a good even LinuxAPI even AndroidAPI. > Example >

[android-kernel] Re: I want to generate a KernelPanic(reset)

2013-12-04 Thread yingchun li
You can use the magic SysRq if your kernel support it. On Monday, July 8, 2013 10:10:20 PM UTC+8, lts wrote: > > Hi,All > > Please tell me someone. > > I want to generate a Kernel panic (Reboot) intentionally in the automatic > test. > Software uses 「user」 instead of 「eng」. > API to call is a goo