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

Re: Incompatibility of libc6 with kernel 2.6 ax25



First of all I don't want to run unstable or experimental.

If I am not mistaken, I wrote in the original bug report that the
problem houses in the upload. Hence, the source file provided by the
gnu developing crew. Even their upload version glibc-2.7 has this
incompatibility problem.

As far as I know, kernel 2.6 is more robust in the hamradio stuff then
it previous versions 2.0 2.2 2.4.

But!!!! Someone forgot to tell this to the glibc maintainers, because
their files are only compatible with the "kernel 2.4". That means not
compatible with kernel 2.0 2.2 and 2.6. So technically glibc is not
compatible with kernel 2.6. Fortunately, it is only for the hamradio
stuff, where it has some difficulties.

Kernel 2.6 != glibc

glibc = libax25

libax25 = ax25-apps, ax25-tools, node and z8530-utils2

I think it is reasonable easy to fix, but I have no experience in the
upload from the kernel into the glibc. In the past Alan Cox did this,
if I am not wrong.

If the glibc is up to date, it is reasonable easy to update the
hamradio packages.

To answer your second question. No, it is not enough to use these
files, because these files are wrong. The function described in these
files are not compatible with the 2.6 kernel. Hence, the lib files and
syscall part of these files are incompatible.

A possible scenario, I use a function from libax25 which is only
compatible with kernel 2.4, as stated above. This function calls the
handles of the glibc, which on its turn calls the handles of the 2.4
kernel. Oops, etch is running a 2.6 kernel, the kernel has to options
either it is not so terrible and ignores it, or jumps into panic. For
the mkiss command called by ax25ipd, the kernel gets a panic attack.

Arjan


On Wed, Apr 30, 2008 at 3:28 PM, Bastian Blank <waldi@debian.org> wrote:
> On Wed, Apr 30, 2008 at 01:57:26PM +0200, Arjan van Schijndel wrote:
>  > Version: 2.3.6.ds1-13etch5
>
>  And in unstable?
>
>
>  > The following files in libc6 are not up to date: netax25/ax25.h
>  > netrom/netrom.h netrose/rose.h. Meaning these files do not correspond
>  > with the ax25.h netrom.h and rose.h from the 2.6 kernel. Resulting in
>  > a wrong syscall.h.
>
>  Would it be enough to use the linux-libc-dev provided files
>  linux/netrom.h, linux/rose.h and linux/ax25.h?
>
>  Bastian
>
>  --
>  It is undignified for a woman to play servant to a man who is not hers.
>                 -- Spock, "Amok Time", stardate 3372.7
>


Reply to: