LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-23-2014, 02:48 PM   #1
sam-the-6
LQ Newbie
 
Registered: Jul 2014
Distribution: Fedora
Posts: 4

Rep: Reputation: Disabled
Is it safe to do 'git bisect' several time on kernel


I'm running Debian with 3.2 kernel which is totally good. But I wanted to hack the newest kernel. After installing 3.15.6 (latest stable so far) I realized that my wifi card doesn't work and in fact wasn't recognized.
So I got help from Linux Kernel specialists and found out have to do 'git bisect'.
Now, I need to do it roughly 17 times and boot into built kernel each time to get to the bottom of it finding the very first bad commit to report that, in order to fix the bug.
my question is this: Is it safe for my device to reboot at least 17 times in some continuous hours?
Thank you in advance.
 
Old 07-23-2014, 05:54 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I think you misunderstand what git bisect is used for. You need to write a test that works against the source code from a point that you know works to the point that you know is broken. git bisect will iterate through the history of a git repository executing that test and let you know which commit it starts failing. That is to say you have to clone the Linux kernel git repository and work from two points in the history (or a git repository that is associated with your currently running kernel).

Are you sure that Debian didn't create some patch or hack on the kernel which hasn't been pushed upstream? Try compiling the 3.2 kernel from kernel.org. Is your wifi card still detected then?

If not, then it is likely Debian integrated some patch which you'll have to figure out and forward port to the latest kernel.

Last edited by sag47; 07-23-2014 at 05:55 PM.
 
Old 07-31-2014, 10:25 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,636
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Ook git voodoo ook ...
 
Old 08-02-2014, 11:20 PM   #4
sam-the-6
LQ Newbie
 
Registered: Jul 2014
Distribution: Fedora
Posts: 4

Original Poster
Rep: Reputation: Disabled
Linux is definitely the bees knees! ...

Last edited by Tinkster; 08-03-2014 at 04:56 PM. Reason: trolling drivel removed.
 
Old 08-02-2014, 11:26 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by sam-the-6 View Post
Linux is definitely sucks...

I Hate Open Source Software - Why Open Source Sucks

Written by Grumpy Nerd on January 19th, 2011

....
Kindly learn some manners and respect before posting to our common space here on LQ.

If you need help, ask.

If you are just here to foul the carpet and disturb everyone else, please find the exit.

Last edited by astrogeek; 08-02-2014 at 11:30 PM.
 
Old 08-03-2014, 12:33 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well it sounds like you are
-- to use a metaphor --

trying to operate a F1 race car before you learned to drive,
or at least BEFORE you went to racing school to LEARN to operate a F1 race car .

you did not learn how to hack the Microsoft Windows System registry overnight

or
can you even hack the HKEY's ?

Last edited by John VV; 08-03-2014 at 05:52 PM.
 
Old 08-03-2014, 04:59 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by sam-the-6 View Post
Linux is definitely the bees knees! ...
Can you please refrain from posting if you have nothing useful to say; this is a community
forum, not a troll cave or personal ramble blog-site.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel.org hacked, but Linux kernel safe thanks to git LXer Syndicated Linux News 0 09-02-2011 01:00 AM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
how to reduce time of git pulling each time when you do a make world on Xen sourc tkmsr Linux - Virtualization and Cloud 4 03-07-2011 11:09 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM
LXer: Linux: Debugging With"git bisect" LXer Syndicated Linux News 0 07-13-2007 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration