Thread (8 messages) read the whole thread 8 messages, 3 authors, 2021-11-26

Re: Kernel 5.10 USB issues

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-11-24 10:13:10

On Wed, Nov 24, 2021 at 09:06:50PM +1100, Jupiter wrote:
Thanks Greg.
quoted
That is usually a hardware problem, the kernel can not disconnect a
device from the bus through software.
Understood, that is why I used the same HW to test both 4.19.75 and
5.10.59, that should rule out the HW problems, right?
quoted
But, if 4.19 is working, can you use 'git bisect' between the two
kernels to find what caused the problem?
My bad, I have never used git bisect before, a quick google search did
not help, the following command does not make sense at all, what are
right commands to check 'git bisect'  to find what caused the problem?

For 4.19 kernel
$ git bisect start
Already on 'linux-4.19.y'
Your branch is behind 'origin/linux-4.19.y' by 13117 commits, and can
be fast-forwarded.
  (use "git pull" to update your local branch)

For 5.10 kernel
$  git bisect start
Already on 'linux-5.10.y'
Your branch is behind 'origin/linux-5.10.y' by 2311 commits, and can
be fast-forwarded.
  (use "git pull" to update your local branch)
Start working on the "master" branch and do:
	git bisect start
	git bisect good v4.19
	git bisect bad v5.10

and then go from there, building and testing the kernels it gives you.

Trying to bisect across the stable branches can be done, but it is very
tricky and not something that if you have not done 'git bisect' before,
I would recommend.  The above should be sufficient.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help