Thanks Meter 1004
Join Date: Sep 2010
Location: Canada's MOST unfriendly city (Toronto)
DONATE TO ME
Originally Posted by garyd9
Which device? Based on your sig (and which section you are posting in) I'd guess the i9300, but based on the error message (in particular "/home/Daniel/GTab10.1Dev/"), I'd guess your working on the gtab 10.1 kernel.
Perhaps a full set of steps to repeat? How did you go about enabling zram, stock kernel source or something else? Which toolchain?
Finally, do you understand the error? I won't criticize you if you don't, but it's pretty obvious (at least to me) what the error message is saying and how you should go about digging into it a bit deeper.
No, I'm not working on the galaxy tab 10.1 kernel. It's just that all the stuff needed (tool chain, where I keep my modifications) are in that folder so I'm just sticking with it. The way I enabled zram was just to enable it in .config "CONFIG_ZRAM=1" which then asked me if I wanted to enable the "zram for android" feature which I said yes. The kernel souce I'm using is the CM10.1 smdk4412 source since I use cyanogenmod. I am using the code sourcey march 2012 tool chain.
I did attempt to find a fix to the problem based on what little bit I know. In both the zram driver or the "gud" driver I'm guessing the same variable or structure is defined twice but differently each time. I think this is analogous to being 2 people at once? I did a grep in file text search to see where either a variable or structure named "devices" would have been defined. In neither of those folders did I find "devices". Yes, admittedly I'm no top dog developer and make modifications I can for personal enjoyment and maybe publication if it seems worthy.
But yeah, I didn't find anywhere in the gud or zram drivers where "devices" is being named/defined as a variable or structure. If I did find it, wouldn't it be easier to make the one with the smaller definition size bigger since going the other way would cut off data while a bit of extra storage never hurt? That's when I was planning to go with.
I'm sorry if the fix is so obvious.
Sony Tablet Z: (given to mom)
Galaxy S3 I9300:
Omni4.4.1; Devil Kernel 2; TWRP
Galaxy Tab 10.1 Wifi: MY CM10.2 nightly
/Omni4.4.1 Test; MY A1 Kernel
V1.9.1; TWRP 22.214.171.124
Galaxy S I9000M: (given to mom)
"It's the assumptions that kill you."
"All the gadgets in the world aren't as much fun as good friends."