linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git pull breaks edosk7760 kernel
@ 2008-11-22 11:50 Luca Santini
  2008-11-22 12:35 ` Matt Fleming
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luca Santini @ 2008-11-22 11:50 UTC (permalink / raw)
  To: linux-sh

Hi all,
yesterday i pulled from git and obtained an unbootable kernel.
My last working pull is dated

commit 882b689432129bfe77530d61f70797147179a742
Merge: b86c2c0... fb059cd...
Author: Luca Santini <santox@libero.it>
Date:   Thu Nov 13 11:31:54 2008 +0100


The only thing i was able to do is 
git reset --hard HEAD^ 

i'm not a god of git... is there a way to "pull step by step" and find the offending patch(es)? 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git pull breaks edosk7760 kernel
  2008-11-22 11:50 git pull breaks edosk7760 kernel Luca Santini
@ 2008-11-22 12:35 ` Matt Fleming
  2008-11-23 15:06 ` Luca Santini
  2008-11-24  3:37 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Matt Fleming @ 2008-11-22 12:35 UTC (permalink / raw)
  To: linux-sh

On Sat, Nov 22, 2008 at 12:50:28PM +0100, Luca Santini wrote:
> Hi all,
> yesterday i pulled from git and obtained an unbootable kernel.
> My last working pull is dated
>
> commit 882b689432129bfe77530d61f70797147179a742
> Merge: b86c2c0... fb059cd...
> Author: Luca Santini <santox@libero.it>
> Date:   Thu Nov 13 11:31:54 2008 +0100
>
>
> The only thing i was able to do is git reset --hard HEAD^ 
>
> i'm not a god of git... is there a way to "pull step by step" and find the 
> offending patch(es)? --

The usual way to find the commit that introduced a bug is via git-bisect.

Checkout http://www.kernel.org/doc/local/git-quick.html#bisect


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git pull breaks edosk7760 kernel
  2008-11-22 11:50 git pull breaks edosk7760 kernel Luca Santini
  2008-11-22 12:35 ` Matt Fleming
@ 2008-11-23 15:06 ` Luca Santini
  2008-11-24  3:37 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Luca Santini @ 2008-11-23 15:06 UTC (permalink / raw)
  To: linux-sh

Thanks Matt,
i tried to use git-bisect, and i hope i used it fine; this is my final output:




406f9e9cfe5d44fbcdc6e8f4b1f205e1160c0fef is first bad commit
commit 406f9e9cfe5d44fbcdc6e8f4b1f205e1160c0fef
Author: Paul Mundt <lethal@linux-sh.org>
Date:   Tue Nov 18 14:22:39 2008 +0900

    sh: __udivdi3 -> do_div() in softfloat lib.
    
    Inhibit the generation of __udivdi3 for the softfloat lib, use do_div()
    outright.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>

:040000 040000 70142433e2ab902b50182ea127ea1e56803dac87 7801a0a6ef1e2d6703f82fa82587ba03fe140048 M	arch




...and now?

Matt Fleming wrote:
> On Sat, Nov 22, 2008 at 12:50:28PM +0100, Luca Santini wrote:
>> Hi all,
>> yesterday i pulled from git and obtained an unbootable kernel.
>> My last working pull is dated
>>
>> commit 882b689432129bfe77530d61f70797147179a742
>> Merge: b86c2c0... fb059cd...
>> Author: Luca Santini <santox@libero.it>
>> Date:   Thu Nov 13 11:31:54 2008 +0100
>>
>>
>> The only thing i was able to do is git reset --hard HEAD^ 
>>
>> i'm not a god of git... is there a way to "pull step by step" and find the 
>> offending patch(es)? --
> 
> The usual way to find the commit that introduced a bug is via git-bisect.
> 
> Checkout http://www.kernel.org/doc/local/git-quick.html#bisect
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git pull breaks edosk7760 kernel
  2008-11-22 11:50 git pull breaks edosk7760 kernel Luca Santini
  2008-11-22 12:35 ` Matt Fleming
  2008-11-23 15:06 ` Luca Santini
@ 2008-11-24  3:37 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2008-11-24  3:37 UTC (permalink / raw)
  To: linux-sh

On Sun, Nov 23, 2008 at 04:06:18PM +0100, Luca Santini wrote:
> Thanks Matt,
> i tried to use git-bisect, and i hope i used it fine; this is my final 
> output:
>
>
>
>
> 406f9e9cfe5d44fbcdc6e8f4b1f205e1160c0fef is first bad commit
> commit 406f9e9cfe5d44fbcdc6e8f4b1f205e1160c0fef
> Author: Paul Mundt <lethal@linux-sh.org>
> Date:   Tue Nov 18 14:22:39 2008 +0900
>
>    sh: __udivdi3 -> do_div() in softfloat lib.
>       Inhibit the generation of __udivdi3 for the softfloat lib, use 
> do_div()
>    outright.
>       Signed-off-by: Paul Mundt <lethal@linux-sh.org>
>
> :040000 040000 70142433e2ab902b50182ea127ea1e56803dac87 
> 7801a0a6ef1e2d6703f82fa82587ba03fe140048 M	arch
>
>
>
>
> ...and now?
>
Reverting this fixes your kernel? I'll take another look at it and see if
I broke something accidentally. Note that now there are also __udivdi3
implementations in the kernel, so I wonder if your compiler is clashing
with those.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-24  3:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-22 11:50 git pull breaks edosk7760 kernel Luca Santini
2008-11-22 12:35 ` Matt Fleming
2008-11-23 15:06 ` Luca Santini
2008-11-24  3:37 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).