spec rewritten and an issue fixed that related with >=linux-api-headers-3.6