Thanks Meter 1142
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.2; Devil Kernel 2; TWRP 22.214.171.124
Galaxy Tab 10.1 Wifi:
Omni4.4.2; MY A1 Kernel
V1.9; TWRP 126.96.36.199
Galaxy S I9000M: (given to mom)
MacKay CM11; TWRP
"It's the assumptions that kill you."
"All the gadgets in the world aren't as much fun as good friends."