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

Re: Compiling kernel 2.4.20 on m68k


I think I got this figured out (I'll know tomorrow for sure).  It looks
like there is a bad archive on ftp.debian.org.  I ended up downloading

   % kernel-source-2.4.20_2.4.20-13_all.deb

and extracting it and compared the extraced files to those from

   % kernel-source-2.4.20_2.4.20.orig.tar.gz

which was in the same directory on ftp.debian.org.  A comparison of the
files in the two resulting directory trees

   % grep -irq kernel-source-2.4.20 kernel-source-2.4.20.orig

showed many file differences (a 29K listing is generated).

My problem with the missing definition for is_dumpable not being defined
seems to be corrected.  In the kernel-source-2.4.20_2.4.20-13_all.deb a
grep on is_dumpable recursing the entire tree gives the following:

   % grep -r is_dumpable *

fs/exec.c:	if (!is_dumpable(current))
fs/proc/base.c:	if (!is_dumpable(task) && !capable(CAP_SYS_PTRACE))
include/linux/sched.h:#define is_dumpable(tsk)	((tsk)->task_dumpable && (tsk)->mm && (tsk)->mm->dumpable)
kernel/ptrace.c:	if (!is_dumpable(task) && !capable(CAP_SYS_PTRACE))
kernel/ptrace.c:	if (!is_dumpable(tsk) || (&init_mm == mm))
kernel/sys.c:			if (is_dumpable(current))

Notice that in include/linux/sched.h the is_dumpable macro is now
defined where it was not in the files from the *.orig* archive.

Also, when I applied the kernel patches, all patchs applied
successfully, where the a2065 patch did not when applied against the
files in kernel-source-2.4.20_2.4.20.orig.tar.gz.

> > > Hence try this:
> > >     make oldconfig
> > >     make dep
> > >     make clean
> > >     make zImage modules
> > > 
> > > Gr{oetje,eeting}s,
> > > 
> > > 						Geert

I appreciate the suggestions.  The make oldconfig did solve some of the
original compile issues.  Make oldconfig, make dep and make clean have
all worked correctly on the source tree from the
kernel-source-2.4.20_2.4.20-13_all.deb archive.

I'll give an update tomorrow on the success of make zImage modules.

LanceTag at Luminet dot net

Reply to: