You are not logged in.

#1 2009-07-04 13:40:16

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

kernel debugging using git bisection method in combination with abs.

Is there any way to use git bisection method for kernel debugging in combination with ABS for building the kernel via makepkg?


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2009-07-04 14:02:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel debugging using git bisection method in combination with abs.

You can include any valid commands in the build function of a PKGBUILD. If it works directly from the command line, it will work in a PKGBUILD - just edit as required.

Offline

#3 2009-07-05 17:35:07

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: kernel debugging using git bisection method in combination with abs.

Yes, but ABS for kernel uses some patches in order for the kernel to be successfully build.

ftp://ftp.archlinux.org/other/kernel26/

I wanted to know is if there is any way to distinguish what particular patch to use in every bisection point.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#4 2009-07-05 17:47:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel debugging using git bisection method in combination with abs.

Trial and error, I'd say. The existing patches are created for use with the released source code. Also, depending on what exactly you're trying to debug, you may not need the patches.

Offline

Board footer

Powered by FluxBB