Re: Kernel 5.10 USB issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 24, 2021 at 09:06:50PM +1100, Jupiter wrote:
> Thanks Greg.
> 
> > 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?
> 
> > 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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux