[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-07-11 Thread xxGrayxx
Did you mean you have tried Shlomi's solution, but cause failure of N1's A1026 driver ?? On 7月9日, 上午9時40分, intersectRaven wrote: > Seems like it affects more drivers than just PMEM. I've reverted the > deletion and even tried the suggestions above. It will work for PMEM > but the N1's A1026 drive

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-07-08 Thread intersectRaven
Seems like it affects more drivers than just PMEM. I've reverted the deletion and even tried the suggestions above. It will work for PMEM but the N1's A1026 driver throws a tantrum when launching Google Voice Search with the modifications to PMEM and the MISC commit reverted. On Jul 4, 9:33 am, in

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-07-06 Thread intersectRaven
I actually just deleted the pmem check in it's open function since according to a more updated version in the codeaurora repositories, it could be removed. Of course, their pmem could have been updated to resolve this but I looked at it in a hurry. Haven't encountered any problems with it so far so

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-07-03 Thread Shlomi Mor
Hi, I actually extended the if statement as follows: if (file->private_data != NULL && file->private_data != &pmem[id].dev) Also, at the beginning of the has_allocation function I changed the if statement: if (unlikely(!file->private_data || file->private_data == &pmem[id].dev)) At least for th

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-06-30 Thread xxGrayxx
FINALLY A RESPONSE HERE^_^ yep...it's very strange... This should be a serious problem about pmem... BTW, I think that private_data pointer check in pmem_open is necessary.. I commented out that misc device patch instead... hope more people here could share their experience of this problem On

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-06-29 Thread Shlomi Mor
Hi, I also see the exact same behavior. I checked out the history of misc.c, and saw that initialization of private_data field was added at kernel version 2.6.35. I see that the problem still exists on android kernel 2.6.39 (http:// android.git.kernel.org). For now I just commented out the test fo

[android-kernel] Re: PMEM

2008-11-29 Thread Brian Swetland
[markgross <[EMAIL PROTECTED]>] > > I'm trying to figure out what PMEM is for and why it doesn't compile > for x86. Is there any information on this driver? Should the driver > be made more portable or should kconfig remove the driver from the x86 > build? The pmem driver is used to manage lar