On Mon, Oct 18, 2010 at 2:36 PM, <[email protected]> wrote: > >>-----Original Message----- >>From: Bruce Dubbs <[email protected]> >>To: BLFS Support List <[email protected]> >>Sent: Mon, Oct 18, 2010 5:16 pm >>Subject: Re: cat /proc/version reports wrong info. > >>[email protected] wrote: >> Hi >> >> I've recently installed LFS6.7 using jhalfs. No probs. Building > BLFS >> now to own requirements,but I've discovered a problem with >> /proc/version reporting wrong gcc version and compiled kernel. >> >> LFS 6.7 uses kernel 2.6.35.4 >> >> 'cat /proc/version' gives: >> >> Linux version 2.6.27.10 (r...@cliffhanger) (gcc version 4.2.3) #1 >> PREEMPT Sun Jan 3 19:49:10 GMT 2010 >> >> 'uname -r' gives: >> >> 2.6.27.10 >> >> AFAIK 'uname' reads its info from /lib/modules/RELEASE, which is >> 2.6.35.4 > >> /proc/version is compiled into the kernel. It sounds like >>you booted the wrong kernel. > > Thanks Bruce, but definitely not. I have two partitions, with the > host(an older LFS)on one and LFS6.7 on the other. LFS6.7 > is booting the new kernel(2.6.35.4), but proc/version and uname both > report it as the older kernel, 2.6.27.10. > > Have just reinstalled kernel to be sure, still reporting it wrongly. > >>LFS does not install a /lib/modules/RELEASE file. I've not heard of >>that before. > > When I say RELEASE I mean the kernel version, i.e. > /lib/modules/2.6.35.4. This is what 'uname' reads? > > thanks > > MAC
nope, it is read right from the kernel's version string. Only way to get that, is by running that version of kernel. -- Nathan Coulson (conathan) ------ Location: Brittish Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
