mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
@ 2023-07-07  8:25 Zhang, Rui
  2023-07-07 10:55 ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Rui @ 2023-07-07  8:25 UTC (permalink / raw)
  To: Greenman, Gregory, Berg, Johannes
  Cc: linux-wireless, Baruch, Yaara, Ben Ami, Golan, linux-kernel,
	Sisodiya, Mukesh

[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

Hi, all,

I run into a NULL pointer dereference and kernel boot hang after
switching to latest upstream kernel, and git bisect shows that below
commit is the first offending commit, and I have confirmed that commit
19898ce9cf8a has the issue while 19898ce9cf8a~1 does not.

commit 19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2 (refs/bisect/bad)
Author:     Johannes Berg <johannes.berg@intel.com>
AuthorDate: Wed Jun 21 13:12:07 2023 +0300
Commit:     Johannes Berg <johannes.berg@intel.com>
CommitDate: Wed Jun 21 14:07:00 2023 +0200

    wifi: iwlwifi: split 22000.c into multiple files
    
    Split the configuration list in 22000.c into four new files,
    per new device family, so we don't have this huge unusable
    file. Yes, this duplicates a few small things, but that's
    still much better than what we have now.
    
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link:
https://lore.kernel.org/r/20230621130443.7543603b2ee7.Ia8dd54216d341ef1ddc0531f2c9aa30d30536a5d@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

I have some screenshots which show that RIP points to iwl_mem_free_skb,
I can create a kernel bugzilla and attach the screenshots there if
needed.

BTW, lspci output of the wifi device and git bisect log attached.

If any other information needed, please let me know.

thanks,
rui


[-- Attachment #2: lspci-iwlwifi --]
[-- Type: text/plain, Size: 2634 bytes --]

00:14.3 Network controller: Intel Corporation Device 51f1 (rev 01)
	Subsystem: Intel Corporation Device 0094
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 6001144000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [c8] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE- FLReset+
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis- LTR+ OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
	Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
		Vector table: BAR=0 offset=00002000
		PBA: BAR=0 offset=00003000
	Capabilities: [100 v1] Latency Tolerance Reporting
		Max snoop latency: 0ns
		Max no snoop latency: 0ns
	Capabilities: [164 v1] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00: 86 80 f1 51 06 04 10 00 01 00 80 02 00 00 80 00
10: 04 40 14 01 60 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 94 00
30: 00 00 00 00 c8 00 00 00 00 00 00 00 ff 01 00 00
40: 10 80 92 00 c0 0e 00 10 10 0c 10 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 12 08 08 00 05 04 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 11 00 0f 80 00 20 00 00 00 30 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 01 d0 23 c8 08 00 00 0d
d0: 05 40 80 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


[-- Attachment #3: git-bisect-log --]
[-- Type: text/plain, Size: 2887 bytes --]

git bisect start
# bad: [c17414a273b81fe4e34e11d69fc30cc8b1431614] Merge tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux
git bisect bad c17414a273b81fe4e34e11d69fc30cc8b1431614
# good: [6995e2de6891c724bfeb2db33d7b87775f913ad1] Linux 6.4
git bisect good 6995e2de6891c724bfeb2db33d7b87775f913ad1
# bad: [f8824e151fbfa0ac0a258015d606ea6f4a10251b] Merge tag 'sound-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect bad f8824e151fbfa0ac0a258015d606ea6f4a10251b
# good: [6a8cbd9253abc1bd0df4d60c4c24fa555190376d] Merge tag 'v6.5-rc1-sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
git bisect good 6a8cbd9253abc1bd0df4d60c4c24fa555190376d
# good: [08eeccb2491a3198f4adcba63adeace6e2499ea3] Merge tag 'linux-can-next-for-6.5-20230622' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
git bisect good 08eeccb2491a3198f4adcba63adeace6e2499ea3
# bad: [e5476f57b32621eb8eab892a908df4d0b4808835] Merge tag 'gpio-updates-for-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
git bisect bad e5476f57b32621eb8eab892a908df4d0b4808835
# bad: [b545a13ca9b203eacce1e52ae2e32f99b860347c] Merge tag 'mlx5-updates-2023-06-21' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
git bisect bad b545a13ca9b203eacce1e52ae2e32f99b860347c
# bad: [31aeae2446d50665b6ec51d564f5e7fe751d53d4] wifi: iwlwifi: cfg: remove trailing dash from FW_PRE constants
git bisect bad 31aeae2446d50665b6ec51d564f5e7fe751d53d4
# good: [108d202298bf03ce8d7e28bb94d23555c8385582] wifi: mac80211: use new inform_bss callback
git bisect good 108d202298bf03ce8d7e28bb94d23555c8385582
# good: [076031a09ae9e9394a56805aab92973612763d7e] wifi: rtw89: 8851b: configure to force 1 TX power value
git bisect good 076031a09ae9e9394a56805aab92973612763d7e
# good: [00e482010dfb5879fc9e8601d5819641fe4ae925] wifi: iwlwifi: mvm: add EHT A-MPDU size exponent support
git bisect good 00e482010dfb5879fc9e8601d5819641fe4ae925
# good: [e1374ed25324e87d675bda735841d8424d83c81d] wifi: iwlwifi: Add support for new CNVi (SC)
git bisect good e1374ed25324e87d675bda735841d8424d83c81d
# bad: [c648e926d021f9c6bdeef782df06f5111904fe7e] wifi: iwlwifi: don't load old firmware for 22000
git bisect bad c648e926d021f9c6bdeef782df06f5111904fe7e
# bad: [508b4a1baeb3da3f0bcf3ab4c94dd2c21cc5d395] wifi: iwlwifi: don't load old firmware for Sc
git bisect bad 508b4a1baeb3da3f0bcf3ab4c94dd2c21cc5d395
# bad: [5afe98b2e2995aa17ef77a29e57b1d98ccd6cd25] wifi: iwlwifi: give Sc devices their own family
git bisect bad 5afe98b2e2995aa17ef77a29e57b1d98ccd6cd25
# bad: [19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2] wifi: iwlwifi: split 22000.c into multiple files
git bisect bad 19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2
# first bad commit: [19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2] wifi: iwlwifi: split 22000.c into multiple files

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-07  8:25 [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files") Zhang, Rui
@ 2023-07-07 10:55 ` Linux regression tracking (Thorsten Leemhuis)
  2023-07-08 14:17   ` Thorsten Leemhuis
  2023-07-09 16:31   ` Linus Torvalds
  0 siblings, 2 replies; 9+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-07-07 10:55 UTC (permalink / raw)
  To: Zhang, Rui, Greenman, Gregory, Berg, Johannes
  Cc: linux-wireless, Baruch, Yaara, Ben Ami, Golan, linux-kernel,
	Sisodiya, Mukesh, Linus Torvalds, Johannes Berg, Kalle Valo,
	David S. Miller, Eric Dumazet, Paolo Abeni, netdev,
	Linux kernel regressions list, Jakub Kicinski, Bagas Sanjaya

[CCing the regression list, netdev, the net maintainers, and Linus;
Johannes and Kalle as well, but just for the record, they afaik are
unavailable]

Hi, Thorsten here, the Linux kernel's regression tracker.

On 07.07.23 10:25, Zhang, Rui wrote:
> 
> I run into a NULL pointer dereference and kernel boot hang after
> switching to latest upstream kernel, and git bisect shows that below
> commit is the first offending commit, and I have confirmed that commit
> 19898ce9cf8a has the issue while 19898ce9cf8a~1 does not.

FWIW, this is the fourth such report about this that I'm aware of.

The first is this one (with two affected users afaics):
https://bugzilla.kernel.org/show_bug.cgi?id=217622

The second is this one:
https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/

The third:
https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/

And in the past few days two people from Fedora land talked to me on IRC
with problems that in retrospective might be caused by this as well.

This many reports about a problem at this stage of the cycle makes me
suspect we'll see a lot more once -rc1 is out. That's why I raising the
awareness of this. Sadly a simple revert of just this commit is not
possible. :-/

Ciao, Thorsten

> commit 19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2 (refs/bisect/bad)
> Author:     Johannes Berg <johannes.berg@intel.com>
> AuthorDate: Wed Jun 21 13:12:07 2023 +0300
> Commit:     Johannes Berg <johannes.berg@intel.com>
> CommitDate: Wed Jun 21 14:07:00 2023 +0200
> 
>     wifi: iwlwifi: split 22000.c into multiple files
>     
>     Split the configuration list in 22000.c into four new files,
>     per new device family, so we don't have this huge unusable
>     file. Yes, this duplicates a few small things, but that's
>     still much better than what we have now.
>     
>     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
>     Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
>     Link:
> https://lore.kernel.org/r/20230621130443.7543603b2ee7.Ia8dd54216d341ef1ddc0531f2c9aa30d30536a5d@changeid
>     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> 
> I have some screenshots which show that RIP points to iwl_mem_free_skb,
> I can create a kernel bugzilla and attach the screenshots there if
> needed.
> 
> BTW, lspci output of the wifi device and git bisect log attached.
> 
> If any other information needed, please let me know.

--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.

P.S.: for regzbot

#regzbot ^introduced 19898ce9cf8a
#regzbot dup-of:
https://lore.kernel.org/all/a5cdc7f8-b340-d372-2971-0d24b01de217@gmail.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-07 10:55 ` Linux regression tracking (Thorsten Leemhuis)
@ 2023-07-08 14:17   ` Thorsten Leemhuis
  2023-07-09 13:27     ` Zhang, Rui
  2023-07-09 16:31   ` Linus Torvalds
  1 sibling, 1 reply; 9+ messages in thread
From: Thorsten Leemhuis @ 2023-07-08 14:17 UTC (permalink / raw)
  To: Zhang, Rui, Greenman, Gregory, Berg, Johannes
  Cc: linux-wireless, Baruch, Yaara, Ben Ami, Golan, linux-kernel,
	Sisodiya, Mukesh, Linus Torvalds, Kalle Valo, David S. Miller,
	Eric Dumazet, Paolo Abeni, netdev, Linux kernel regressions list,
	Jakub Kicinski, Bagas Sanjaya, Larry Finger

On 07.07.23 12:55, Linux regression tracking (Thorsten Leemhuis) wrote:
> On 07.07.23 10:25, Zhang, Rui wrote:
>>
>> I run into a NULL pointer dereference and kernel boot hang after
>> switching to latest upstream kernel, and git bisect shows that below
>> commit is the first offending commit, and I have confirmed that commit
>> 19898ce9cf8a has the issue while 19898ce9cf8a~1 does not.
> 
> FWIW, this is the fourth such report about this that I'm aware of.
> 
> The first is this one (with two affected users afaics):
> https://bugzilla.kernel.org/show_bug.cgi?id=217622
> 
> The second is this one:
> https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/
> 
> The third:
> https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/
> 
> And in the past few days two people from Fedora land talked to me on IRC
> with problems that in retrospective might be caused by this as well.

I got confirmation: one of those cases is also caused by 19898ce9cf8a
But I write for a different reason:

Larry (now CCed) looked at the culprit and spotted something that looked
suspicious to him; he posted a patch and looks for testers:
https://lore.kernel.org/all/0068af47-e475-7e8d-e476-c374e90dff5f@lwfinger.net/

Ciao, Thorsten

> This many reports about a problem at this stage of the cycle makes me
> suspect we'll see a lot more once -rc1 is out. That's why I raising the
> awareness of this. Sadly a simple revert of just this commit is not
> possible. :-/
> 
> Ciao, Thorsten
> 
>> commit 19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2 (refs/bisect/bad)
>> Author:     Johannes Berg <johannes.berg@intel.com>
>> AuthorDate: Wed Jun 21 13:12:07 2023 +0300
>> Commit:     Johannes Berg <johannes.berg@intel.com>
>> CommitDate: Wed Jun 21 14:07:00 2023 +0200
>>
>>     wifi: iwlwifi: split 22000.c into multiple files
>>     
>>     Split the configuration list in 22000.c into four new files,
>>     per new device family, so we don't have this huge unusable
>>     file. Yes, this duplicates a few small things, but that's
>>     still much better than what we have now.
>>     
>>     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
>>     Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
>>     Link:
>> https://lore.kernel.org/r/20230621130443.7543603b2ee7.Ia8dd54216d341ef1ddc0531f2c9aa30d30536a5d@changeid
>>     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
>>
>> I have some screenshots which show that RIP points to iwl_mem_free_skb,
>> I can create a kernel bugzilla and attach the screenshots there if
>> needed.
>>
>> BTW, lspci output of the wifi device and git bisect log attached.
>>
>> If any other information needed, please let me know.
> 
> --
> Everything you wanna know about Linux kernel regression tracking:
> https://linux-regtracking.leemhuis.info/about/#tldr
> That page also explains what to do if mails like this annoy you.
> 
> P.S.: for regzbot
> 
> #regzbot ^introduced 19898ce9cf8a
> #regzbot dup-of:
> https://lore.kernel.org/all/a5cdc7f8-b340-d372-2971-0d24b01de217@gmail.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-08 14:17   ` Thorsten Leemhuis
@ 2023-07-09 13:27     ` Zhang, Rui
  2023-07-09 16:28       ` Larry Finger
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Rui @ 2023-07-09 13:27 UTC (permalink / raw)
  To: Greenman, Gregory, Berg, Johannes, regressions
  Cc: bagasdotme, davem, netdev, kvalo, Baruch, Yaara, linux-kernel,
	linux-wireless, Torvalds, Linus, Ben Ami, Golan, edumazet,
	Sisodiya, Mukesh, Larry.Finger, kuba, pabeni

On Sat, 2023-07-08 at 16:17 +0200, Thorsten Leemhuis wrote:
> On 07.07.23 12:55, Linux regression tracking (Thorsten Leemhuis)
> wrote:
> > On 07.07.23 10:25, Zhang, Rui wrote:
> > > 
> > > I run into a NULL pointer dereference and kernel boot hang after
> > > switching to latest upstream kernel, and git bisect shows that
> > > below
> > > commit is the first offending commit, and I have confirmed that
> > > commit
> > > 19898ce9cf8a has the issue while 19898ce9cf8a~1 does not.
> > 
> > FWIW, this is the fourth such report about this that I'm aware of.
> > 
> > The first is this one (with two affected users afaics):
> > https://bugzilla.kernel.org/show_bug.cgi?id=217622
> > 
> > The second is this one:
> > https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/
> > 
> > The third:
> > https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/
> > 
> > And in the past few days two people from Fedora land talked to me
> > on IRC
> > with problems that in retrospective might be caused by this as
> > well.
> 
> I got confirmation: one of those cases is also caused by 19898ce9cf8a
> But I write for a different reason:
> 
> Larry (now CCed) looked at the culprit and spotted something that
> looked
> suspicious to him; he posted a patch and looks for testers:
> https://lore.kernel.org/all/0068af47-e475-7e8d-e476-c374e90dff5f@lwfinger.net/

I applied this patch but the problem still exists.

thanks,
rui
> 
> Ciao, Thorsten
> 
> > This many reports about a problem at this stage of the cycle makes
> > me
> > suspect we'll see a lot more once -rc1 is out. That's why I raising
> > the
> > awareness of this. Sadly a simple revert of just this commit is not
> > possible. :-/
> > 
> > Ciao, Thorsten
> > 
> > > commit 19898ce9cf8a33e0ac35cb4c7f68de297cc93cb2 (refs/bisect/bad)
> > > Author:     Johannes Berg <johannes.berg@intel.com>
> > > AuthorDate: Wed Jun 21 13:12:07 2023 +0300
> > > Commit:     Johannes Berg <johannes.berg@intel.com>
> > > CommitDate: Wed Jun 21 14:07:00 2023 +0200
> > > 
> > >     wifi: iwlwifi: split 22000.c into multiple files
> > >     
> > >     Split the configuration list in 22000.c into four new files,
> > >     per new device family, so we don't have this huge unusable
> > >     file. Yes, this duplicates a few small things, but that's
> > >     still much better than what we have now.
> > >     
> > >     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> > >     Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
> > >     Link:
> > > https://lore.kernel.org/r/20230621130443.7543603b2ee7.Ia8dd54216d341ef1ddc0531f2c9aa30d30536a5d@changeid
> > >     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> > > 
> > > I have some screenshots which show that RIP points to
> > > iwl_mem_free_skb,
> > > I can create a kernel bugzilla and attach the screenshots there
> > > if
> > > needed.
> > > 
> > > BTW, lspci output of the wifi device and git bisect log attached.
> > > 
> > > If any other information needed, please let me know.
> > 
> > --
> > Everything you wanna know about Linux kernel regression tracking:
> > https://linux-regtracking.leemhuis.info/about/#tldr
> > That page also explains what to do if mails like this annoy you.
> > 
> > P.S.: for regzbot
> > 
> > #regzbot ^introduced 19898ce9cf8a
> > #regzbot dup-of:
> > https://lore.kernel.org/all/a5cdc7f8-b340-d372-2971-0d24b01de217@gmail.com/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-09 13:27     ` Zhang, Rui
@ 2023-07-09 16:28       ` Larry Finger
  0 siblings, 0 replies; 9+ messages in thread
From: Larry Finger @ 2023-07-09 16:28 UTC (permalink / raw)
  To: Zhang, Rui, Greenman, Gregory, Berg, Johannes, regressions
  Cc: bagasdotme, davem, netdev, kvalo, Baruch, Yaara, linux-kernel,
	linux-wireless, Torvalds, Linus, Ben Ami, Golan, edumazet,
	Sisodiya, Mukesh, kuba, pabeni

On 7/9/23 08:27, Zhang, Rui wrote:
> On Sat, 2023-07-08 at 16:17 +0200, Thorsten Leemhuis wrote:
>> On 07.07.23 12:55, Linux regression tracking (Thorsten Leemhuis)
>> wrote:
>>> On 07.07.23 10:25, Zhang, Rui wrote:
>>>>
>>>> I run into a NULL pointer dereference and kernel boot hang after
>>>> switching to latest upstream kernel, and git bisect shows that
>>>> below
>>>> commit is the first offending commit, and I have confirmed that
>>>> commit
>>>> 19898ce9cf8a has the issue while 19898ce9cf8a~1 does not.
>>>
>>> FWIW, this is the fourth such report about this that I'm aware of.
>>>
>>> The first is this one (with two affected users afaics):
>>> https://bugzilla.kernel.org/show_bug.cgi?id=217622
>>>
>>> The second is this one:
>>> https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/
>>>
>>> The third:
>>> https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/
>>>
>>> And in the past few days two people from Fedora land talked to me
>>> on IRC
>>> with problems that in retrospective might be caused by this as
>>> well.
>>
>> I got confirmation: one of those cases is also caused by 19898ce9cf8a
>> But I write for a different reason:
>>
>> Larry (now CCed) looked at the culprit and spotted something that
>> looked
>> suspicious to him; he posted a patch and looks for testers:
>> https://lore.kernel.org/all/0068af47-e475-7e8d-e476-c374e90dff5f@lwfinger.net/
> 
> I applied this patch but the problem still exists.
> 
> thanks,
> rui

Rui,

I am not surprised that the patch did not help. I guess you will need to stay 
with kernel 6.3.X until the Intel developers return from their summer break.

Larry



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-07 10:55 ` Linux regression tracking (Thorsten Leemhuis)
  2023-07-08 14:17   ` Thorsten Leemhuis
@ 2023-07-09 16:31   ` Linus Torvalds
  2023-07-09 18:07     ` Johannes Berg
  1 sibling, 1 reply; 9+ messages in thread
From: Linus Torvalds @ 2023-07-09 16:31 UTC (permalink / raw)
  To: Linux regressions mailing list
  Cc: Zhang, Rui, Greenman, Gregory, Berg, Johannes, linux-wireless,
	Baruch, Yaara, Ben Ami, Golan, linux-kernel, Sisodiya, Mukesh,
	Kalle Valo, David S. Miller, Eric Dumazet, Paolo Abeni, netdev,
	Jakub Kicinski, Bagas Sanjaya

On Fri, 7 Jul 2023 at 03:55, Linux regression tracking (Thorsten
Leemhuis) <regressions@leemhuis.info> wrote:
>
> [CCing the regression list, netdev, the net maintainers, and Linus;
> Johannes and Kalle as well, but just for the record, they afaik are
> unavailable]

So I will release rc1 with this issue, but remind me - if it hasn't
had any traction next week and the radio silence continues, I'll just
revert it all.

From a quick look, "revert it all" ends up being

  fd006d60e833: "wifi: iwlwifi: remove support of A0 version of FM RF"
  a701177bd4bc: "wifi: iwlwifi: cfg: clean up Bz module firmware lines"
  f4daceae4087: "wifi: iwlwifi: pcie: add device id 51F1 for killer 1675"
  399762de769c: "wifi: iwlwifi: bump FW API to 83 for AX/BZ/SC devices"
  31aeae2446d5: "wifi: iwlwifi: cfg: remove trailing dash from FW_PRE constants"
  ecf11f4e4950: "wifi: iwlwifi: also unify Ma device configurations"
  bfed356b4fc4: "wifi: iwlwifi: also unify Sc device configurations"
  3fd31289d5de: "wifi: iwlwifi: unify Bz/Gl device configurations"
  e3597e28a2fa: "wifi: iwlwifi: pcie: also drop jacket from info macro"
  0f21d7d56083: "wifi: iwlwifi: remove support for *nJ devices"
  c648e926d021: "wifi: iwlwifi: don't load old firmware for 22000"
  a7de384c9399: "wifi: iwlwifi: don't load old firmware for ax210"
  a13707f7c845: "wifi: iwlwifi: don't load old firmware for Bz"
  508b4a1baeb3: "wifi: iwlwifi: don't load old firmware for Sc"
  5afe98b2e299: "wifi: iwlwifi: give Sc devices their own family"
  19898ce9cf8a: "wifi: iwlwifi: split 22000.c into multiple files"

since clearly nothing seems to be happening on this front, and summer
vacations are only going to get worse.

But we'll give it another week. In August huge chunks of Europe will
go on vacation.

                    Linus

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-09 16:31   ` Linus Torvalds
@ 2023-07-09 18:07     ` Johannes Berg
  2023-07-10  1:54       ` Zhang, Rui
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Berg @ 2023-07-09 18:07 UTC (permalink / raw)
  To: Linus Torvalds, Linux regressions mailing list
  Cc: Zhang, Rui, Greenman, Gregory, linux-wireless, Baruch, Yaara,
	Ben Ami, Golan, linux-kernel, Sisodiya, Mukesh, Kalle Valo,
	David S. Miller, Eric Dumazet, Paolo Abeni, netdev,
	Jakub Kicinski, Bagas Sanjaya

On Sun, 2023-07-09 at 09:31 -0700, Linus Torvalds wrote:
> On Fri, 7 Jul 2023 at 03:55, Linux regression tracking (Thorsten
> Leemhuis) <regressions@leemhuis.info> wrote:
> > 
> > [CCing the regression list, netdev, the net maintainers, and Linus;
> > Johannes and Kalle as well, but just for the record, they afaik are
> > unavailable]
> 
> So I will release rc1 with this issue, but remind me - if it hasn't
> had any traction next week and the radio silence continues, I'll just
> revert it all.

Sorry. I got back home a few hours ago (for few days anyway) and I think
I already know what the issue is. I'll send a fix to try in a few
minutes, was just trying to collect all the reported-by etc.

There's clearly a separate bug in the init failure path, but the reason
it fails in the first place is a mismatch between different changes.

johannes



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-09 18:07     ` Johannes Berg
@ 2023-07-10  1:54       ` Zhang, Rui
  2023-07-10 10:39         ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Rui @ 2023-07-10  1:54 UTC (permalink / raw)
  To: Torvalds, Linus, johannes, regressions
  Cc: bagasdotme, davem, netdev, kvalo, Baruch, Yaara, Greenman,
	Gregory, linux-wireless, Ben Ami, Golan, linux-kernel, edumazet,
	Sisodiya, Mukesh, kuba, pabeni

On Sun, 2023-07-09 at 20:07 +0200, Johannes Berg wrote:
> On Sun, 2023-07-09 at 09:31 -0700, Linus Torvalds wrote:
> > On Fri, 7 Jul 2023 at 03:55, Linux regression tracking (Thorsten
> > Leemhuis) <regressions@leemhuis.info> wrote:
> > > 
> > > [CCing the regression list, netdev, the net maintainers, and
> > > Linus;
> > > Johannes and Kalle as well, but just for the record, they afaik
> > > are
> > > unavailable]
> > 
> > So I will release rc1 with this issue, but remind me - if it hasn't
> > had any traction next week and the radio silence continues, I'll
> > just
> > revert it all.
> 
> Sorry. I got back home a few hours ago (for few days anyway) and I
> think
> I already know what the issue is. I'll send a fix to try in a few
> minutes, was just trying to collect all the reported-by etc.
> 
> There's clearly a separate bug in the init failure path, but the
> reason
> it fails in the first place is a mismatch between different changes.
> 
> 
I have tested Johannes' patch and it fixes the problem on my side.

Thanks,
rui


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files")
  2023-07-10  1:54       ` Zhang, Rui
@ 2023-07-10 10:39         ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 0 replies; 9+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-07-10 10:39 UTC (permalink / raw)
  To: Zhang, Rui, Torvalds, Linus, johannes, regressions
  Cc: bagasdotme, davem, netdev, kvalo, Baruch, Yaara, Greenman,
	Gregory, linux-wireless, Ben Ami, Golan, linux-kernel, edumazet,
	Sisodiya, Mukesh, kuba, pabeni, Xi Ruoyao

[CCing one

On 10.07.23 03:54, Zhang, Rui wrote:
> On Sun, 2023-07-09 at 20:07 +0200, Johannes Berg wrote:
>> On Sun, 2023-07-09 at 09:31 -0700, Linus Torvalds wrote:
>>> On Fri, 7 Jul 2023 at 03:55, Linux regression tracking (Thorsten
>>> Leemhuis) <regressions@leemhuis.info> wrote:
>>>>
>>>> [CCing the regression list, netdev, the net maintainers, and
>>>> Linus;
>>>> Johannes and Kalle as well, but just for the record, they afaik
>>>> are
>>>> unavailable]
>>>
>>> So I will release rc1 with this issue, but remind me - if it hasn't
>>> had any traction next week and the radio silence continues, I'll
>>> just
>>> revert it all.
>>
>> Sorry. I got back home a few hours ago (for few days anyway) and I
>> think
>> I already know what the issue is. 

Many many thx for taking a look at this!

FWIW in case anyone wonders where that fix is, find it here:
https://lore.kernel.org/all/20230709181323.12085-2-johannes@sipsolutions.net/

(or here: https://bugzilla.kernel.org/show_bug.cgi?id=217622#c9 )

> I have tested Johannes' patch and it fixes the problem on my side.

Ahh, great.

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-07-10 10:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07  8:25 [Regression][BISECTED] kernel boot hang after 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files") Zhang, Rui
2023-07-07 10:55 ` Linux regression tracking (Thorsten Leemhuis)
2023-07-08 14:17   ` Thorsten Leemhuis
2023-07-09 13:27     ` Zhang, Rui
2023-07-09 16:28       ` Larry Finger
2023-07-09 16:31   ` Linus Torvalds
2023-07-09 18:07     ` Johannes Berg
2023-07-10  1:54       ` Zhang, Rui
2023-07-10 10:39         ` Linux regression tracking (Thorsten Leemhuis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®