[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel or syskold not supporting flavours



Martin Schulze writes:
 > klogd gets his information through uname, too:
 > 
 >         if ( uname(&utsname) < 0 )
 >         {
 >                 Syslog(LOG_ERR, "Cannot get kernel version information.");
 >                 return(0);
 >         }

Ah.  Good.

 > Aferwords a special file is about to be opened:
 > 
 >                 sprintf (symfile, "%s-%s", *mf, utsname.release);
 > 
 > Does utsname contain that 'flavour'?

As "uname -r" reports it, I guess so.

 > I'm not sure which error we receive but I suppose there is just
 > another source of problems:  Linus has encoded the kernel version
 > in the System.map.  Does your kernel flavour reflect this?
 > 
 > Look at your System.map and look for 'Version_'.  You should
 > probably find something like:
 > 
 > 	001ab97c D Version_131105
 > 
 > which reflects kernel 2.0.33.

0018a144 D Version_131105

...obviously it is not.  You probably spotted the problem !

 > > Note: I suggested to Manoj to submit this patch to Linus, I'm not sure
 > > if he finally did.
 > 
 > I don't think that he would include it.  He's even not going to include
 > my MODPATH patch which makes it possible not to install the modules
 > beneath /lib/modules but somewhere else which is very important if
 > you're compiling for other machines.

I guess it depends on the reasons he had against your patch - they may
not apply to this one ?

-- 
Yann Dirson  <ydirson@a2points.com>      | Stop making M$-Bill richer & richer,
alt-email:     <dirson@univ-mlv.fr>      |     support Debian GNU/Linux:
debian-email:   <dirson@debian.org>      |         more powerful, more stable !
http://www.a2points.com/homepage/3475232 | Check <http://www.debian.org/>


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: