On 7/17/07, Jeff Dike <jdike@addtoit.com> wrote:
You downloaded 2.6.21.6 from kernel.org, right?  Just get 2.6.21 the
same way instead and try that.

Yes, I have downloaded 2.6.21, and it works OK.

> git bisect? OK, I will try to learn how to use git and git bisect. Wish I
> could output something helpful.

Linus described how to do this here:

http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/af2a2d1151270a01/cdcaf2d55bb2f5e2?lnk=st&q=Linus+git-bisect+good&rnum=2&hl=en#cdcaf2d55bb2f5e2

Once you're you've got git going, git-bisect is a very simple, mechanical
procedure.

I have followed the step described by Linus.
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
$git bisect good v2.6.21
$git bisect bad v2.6.22 

$git bisect
The output is:
Bisecting: 3420 revisions left to test after this
[58936d8d944e27b75c99b1c59cfeea3f253b03cb] Char: cyclades, create cy_pci_probe

but when I do the following steps:
$cp arch/um/defconfig .config
$make menuconfig ARCH=um and select to build ocfs2 in kernel.
$make linux ARCH=um
The build is broken.
The error message is:
  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/um/kernel/asm-offsets.s
In file included from include/asm/cpufeature.h:4,
                 from include/asm/arch/system.h:6,
                 from include/asm/system-generic.h:4,
                 from include/asm/system.h:4,
                 from include/linux/spinlock.h:57,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:46,
                 from arch/um/include/sysdep/kernel-offsets.h:2,
                 from arch/um/kernel/asm-offsets.c:1:
include/asm/arch/cpufeature.h:13:35: asm/required- features.h: No such file or directory
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

So what is wrong with the build process?
I did the same step with the package I downloaded from kernel.org, and it works OK.