From: Greg KH <gregkh@linuxfoundation.org>
To: Jupiter <jupiter.hce@gmail.com>
Cc: linux-usb <linux-usb@vger.kernel.org>
Subject: Re: Kernel 5.10 USB issues
Date: Wed, 24 Nov 2021 11:13:03 +0100 [thread overview]
Message-ID: <YZ4QL5CARZAVnaEE@kroah.com> (raw)
In-Reply-To: <CAA=hcWQ+u5QcqJd-ZqZfZd93K0j0f7prxna0yhVi=AWQrxa_UA@mail.gmail.com>
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
next prev parent reply other threads:[~2021-11-24 10:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 0:46 Kernel 5.10 USB issues Jupiter
2021-11-24 7:04 ` Greg KH
2021-11-24 10:06 ` Jupiter
2021-11-24 10:13 ` Greg KH [this message]
2021-11-25 6:03 ` Jupiter
2021-11-25 6:29 ` Greg KH
2021-11-26 16:14 ` Andy Shevchenko
2021-11-26 21:54 ` Jupiter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YZ4QL5CARZAVnaEE@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jupiter.hce@gmail.com \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox