Closed renzhengeek closed 10 years ago
Is it a watchpoints client?
I use bound_check client.
从三星移动设备发送
-------- 原始邮件 -------- 发件人: Peter Goodman notifications@github.com 日期: 2014-06-05 19:35 (GMT+08:00) 收件人: Granary/granary granary@noreply.github.com 抄送: Ren Zhen renzhengeek@gmail.com 主题: Re: [granary] [TEST] while test granary with ext3.ko, OS crashed. (#30)
Is it a watchpoints client?
— Reply to this email directly or view it on GitHub.
Did you make the necessary changes to wake.c, or has the implementation of bit waitqueues changed? They are sensitive to watched addresses. A quick check would be to try to run with the null or watchpoint_null client.
I did not make changes and do not know how to change. OK,I will have try.
从三星移动设备发送
-------- 原始邮件 -------- 发件人: Peter Goodman notifications@github.com 日期: 2014-06-06 1:14 (GMT+08:00) 收件人: Granary/granary granary@noreply.github.com 抄送: Ren Zhen renzhengeek@gmail.com 主题: Re: [granary] [TEST] while test granary with ext3.ko, OS crashed. (#30)
Did you make the necessary changes to wake.c, or has the implementation of bit waitqueues changed? They are sensitive to watched addresses. A quick check would be to try to run with the null or watchpoint_null client.
— Reply to this email directly or view it on GitHub.
Take a look at the change history to the Granary/linux repo and you will see some changes to wake.c
.
clone https://github.com/Granary/linux, then build kernel from it, finally everythings works fun.
Thanks :)
Hi, I want to see how granary works with real kernel module.
So, I did the following:
sudo insmod granary.ko
sudo touch /dev/granary
sudo modprobe ext3.ko
, instead ofinsmod
, becausesudo insmod ext3.ko
says:4.
dmesg
, everything seems ok 5.But whensudo mount /dev/sda6 /mnt
(want to invoke ext3), the kernel crashed with a black screen full with debug message. here is the error report picture:6.I also did a comparing test, skip step 1-2, then the rest step works alright.