On 12/11/2014 04:33 PM, Allan, Bruce W wrote:
>> -----Original Message-----
>> From: Chris J Arges [mailto:chris.j.ar...@canonical.com]
>> Sent: Thursday, December 11, 2014 2:01 PM
>> To: Fujinaka, Todd
>> Cc: e1000-devel@lists.sourceforge.net
>> Subject: Re: [E1000-devel] [PATCH] Issues with compiling ixgbevf-2.15.3 on
>> Ubuntu 3.13.0-30
>>
>> On Thu, Dec 11, 2014 at 09:46:15PM +0000, Fujinaka, Todd wrote:
>>> First, thanks for the patch. You'll have to include it in the text of the
>> message because it gets stripped here.
>>>
>>> Unfortunately, we may not be able to take it (depending on what you did,
>> the attachment gets stripped) because you guys don't put any identifiers for
>> your kernel (like a define that says UBUNTU_KERNEL) and just going off
>> version numbers can collide with upstream. I know Red Hat and SuSE put in
>> kernel defines to uniquely identify their variant kernels.
>>
>> Re-reading because I missed this.
>>
>> We actually do include unique identifiers in our released kernel headers,
>> Under include/generated/utsrelease.h we have something like the
>> following:
>>
>> #define UTS_RELEASE "3.13.0-39-generic"
>> #define UTS_UBUNTU_RELEASE_ABI 39
>>
>> This could also be used if a distro-specific solution if needed.
>>
>> Thanks,
>> --chris j arges
> 
> A few questions about the UTS_UBUNTU_RELEASE_ABI identifier:
> 
> What versions of Ubuntu have it?

Trusty 3.13 and onwards should have it in:
/usr/src/linux-headers-`uname -r`/include/generated/utsrelease.h

> What puts it in utsrelease.h?  (I have a kernel from 14.10 and it does not 
> have that)
> In the example you provide, what does the number 39 indicate and/or how is it 
> derived?  From the extension to 3.13.0?
> 
> Thanks,
> Bruce.
> 

I'm not sure why you don't have it; what kernel version are you running?

39 is the ABI number, which is essentially the number of the release of
that series (3.13.0) of kernel. As you can see UTS_RELEASE contains all
this information.

Let me know if you have any other questions.

Thanks,
--chris j arges


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to