Re: [PATCH 5.18 000/343] 5.18.4-rc2 review

From: Jaroslav Pulchart
Date: Tue Jun 14 2022 - 11:03:56 EST


út 14. 6. 2022 v 16:56 odesílatel Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> napsal:
>
> On Tue, Jun 14, 2022 at 04:41:31PM +0200, Jaroslav Pulchart wrote:
> > út 14. 6. 2022 v 8:34 odesílatel Greg Kroah-Hartman
> > <gregkh@xxxxxxxxxxxxxxxxxxx> napsal:
> > >
> > > On Tue, Jun 14, 2022 at 07:56:36AM +0200, Jaroslav Pulchart wrote:
> > > > Hello,
> > > >
> > > > I would like to report that the ethernet ice driver is not capable of
> > > > setting promisc mode on at E810-XXV physical interface in the whole
> > > > 5.18.y kernel line.
> > > >
> > > > Reproducer:
> > > > $ ip link set promisc on dev em1
> > > > Dmesg error message:
> > > > Error setting promisc mode on VSI 6 (rc=-17)
> > > >
> > > > the problem was not observed with 5.17.y
> > >
> > > Any chance you can use 'git bisect' to track down the problem commit and
> > > let the developers of it know?
> > >
> > > thanks,
> >
> > I tried it, but it makes the system unbootable. I expect the reason is
> > that it happened somewhere between 5.17->5.18 so I'm using an
> > "unstable" kernel.
> >
> > Is there some way I could bisect just one driver, not a full kernel
> > between 5.17->5.18?
>
> How do you know it is just "one driver"?

Just a quess based on "git grep". The error message was introduced in
the driver in 5.18-rc*.

The idea is to try it per partes. The bisect of the whole kernel makes
stuff unbootable anyway.

>
> Anyway, yes, I think there are options to give to git bisect, you can
> feed it just the path to the driver as part of 'git bisect start' and I
> think that should work. The man page for 'git bisect' shows this with
> the following example:
> git bisect start -- arch/i386 include/asm-i386
> to just test changes for those directories.

Thanks for this hint! I'm going to try it.

>
> thanks,
>
> greg k-h

Jaroslav P.