Bug#1015167: CPU stall while running fwupdmgr

2022-08-13 Thread Marco d'Itri
On Aug 13, Salvatore Bonaccorso  wrote:

> Do you still experience this problem with the latest kernel in
> unstable or experimental?
No, but IIRC the bug was not deterministic and a later update with the 
same kernel did not actually trigger it.

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Processed: Re: Bug#1015167: CPU stall while running fwupdmgr

2022-08-13 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + moreinfo
Bug #1015167 [src:linux] CPU stall while running fwupdmgr
Added tag(s) moreinfo.

-- 
1015167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015167
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1015167: CPU stall while running fwupdmgr

2022-08-13 Thread Salvatore Bonaccorso
Control: tags -1 + moreinfo

Hi Marco,

On Sun, Jul 17, 2022 at 01:49:12AM +0200, Marco d'Itri wrote:
> On Jul 17, Diederik de Haas  wrote:
> 
> > On Sunday, 17 July 2022 01:34:08 CEST Marco d'Itri wrote:
> > > Source: linux
> > > Version: 5.10.127-1
> > > Severity: normal
> ...
> > > Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
> > 
> > Why is this bug filed against kernel version 5.10.127-1 and not 5.18.5-1?
> I wondered myself, but I do not know why reportbug choose the version of 
> the stable package.
> 
> ii  linux-image-5.18.0-2-amd64 5.18.5-1 amd64Linux 5.18 for 
> 64-bit >
> 
> 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 
> GNU/Linux

Do you still experience this problem with the latest kernel in
unstable or experimental?

Regards,
Salvatore



Bug#1015167: CPU stall while running fwupdmgr

2022-07-16 Thread Marco d'Itri
On Jul 17, Diederik de Haas  wrote:

> On Sunday, 17 July 2022 01:34:08 CEST Marco d'Itri wrote:
> > Source: linux
> > Version: 5.10.127-1
> > Severity: normal
...
> > Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
> 
> Why is this bug filed against kernel version 5.10.127-1 and not 5.18.5-1?
I wondered myself, but I do not know why reportbug choose the version of 
the stable package.

ii  linux-image-5.18.0-2-amd64 5.18.5-1 amd64Linux 5.18 for 64-bit >

5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 
GNU/Linux

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#1015167: CPU stall while running fwupdmgr

2022-07-16 Thread Diederik de Haas
On Sunday, 17 July 2022 01:34:08 CEST Marco d'Itri wrote:
> Source: linux
> Version: 5.10.127-1
> Severity: normal
> 
> Updating the system firmware (Dell Latitude 7480) with fwupdmgr caused
> a CPU stall with the system being totally unresponsive.
> The logs follows.
> 
> root@bongo:~# fwupdmgr update
> ...
> Jul 17 01:22:32 bongo kernel: [773964.421815] Sending NMI from CPU 2 to CPUs
> 1: Jul 17 01:22:32 bongo kernel: [773964.421849] NMI backtrace for cpu 1
> Jul 17 01:22:32 bongo kernel: [773964.421851] CPU: 1 PID: 7860 Comm:
> gnome-panel Not tainted 5.18.0-2-amd64 #1  Debian 5.18.5-1 Jul 17 01:22:32
> bongo kernel: [773964.421854] Hardware name: Dell Inc. Latitude
> 7480/0R0YRF, BIOS 1.24.1 12/15/2021 Jul 17 01:22:32 bongo kernel:
> ...
> Jul 17 01:22:32 bongo kernel: [773964.422836] NMI backtrace for cpu 2
> Jul 17 01:22:32 bongo kernel: [773964.422856] CPU: 2 PID: 0 Comm: swapper/2
> Not tainted 5.18.0-2-amd64 #1  Debian 5.18.5-1 Jul 17 01:22:32 bongo
> kernel: [773964.422859] Hardware name: Dell Inc. Latitude 7480/0R0YRF, BIOS
> 1.24.1 12/15/2021 Jul 17 01:22:32 bongo kernel: [773964.422860] Call Trace:
> 
> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)

Why is this bug filed against kernel version 5.10.127-1 and not 5.18.5-1?

signature.asc
Description: This is a digitally signed message part.


Bug#1015167: CPU stall while running fwupdmgr

2022-07-16 Thread Marco d'Itri
Source: linux
Version: 5.10.127-1
Severity: normal

Updating the system firmware (Dell Latitude 7480) with fwupdmgr caused 
a CPU stall with the system being totally unresponsive.
The logs follows.

root@bongo:~# fwupdmgr update
...
╔══╗
║ Aggiornare System Firmware da 1.24.1 a 1.25.0?   ║
╠══╣
║ This stable release fixes the following issues:  ║
║  ║
║ • Firmware updates to address security vulnerabilities including.║
║  ║
║ Some new functionality has also been added:  ║
║  ║
║ Latitude 7480 deve rimanere collegato alla rete elettrica durante║
║ l'aggiornamento per evitare possibili danni. ║
╚══╝

Eseguire l'operazione? [Y|n]: y
Scaricamento…[***]
Scaricamento…[***]
Estrazione…  [***]
Autenticazione…  [***]
Attesa…  [***]
Scrittura…   [***]
Attesa…  [***]
Attesa…  [***]
Firmware installato con successo

Per essere completato, un aggiornamento richiede un riavvio. Riavviare ora? 
[y|N]: n



Jul 17 01:22:32 bongo kernel: [773964.420726] rcu: INFO: rcu_preempt 
self-detected stall on CPU
Jul 17 01:22:32 bongo kernel: [773964.420739] rcu:  2-...!: (1 ticks this 
GP) idle=645/1/0x4002 softirq=15070973/15070973 fqs=0 
Jul 17 01:22:32 bongo kernel: [773964.420745]   (t=8428 jiffies g=32003353 q=40)
Jul 17 01:22:32 bongo kernel: [773964.420748] rcu: rcu_preempt kthread timer 
wakeup didn't happen for 8427 jiffies! g32003353 f0x0 RCU_GP_WAIT_FQS(5) 
->state=0x402
Jul 17 01:22:32 bongo kernel: [773964.420751] rcu:  Possible timer handling 
issue on cpu=0 timer-softirq=21358785
Jul 17 01:22:32 bongo kernel: [773964.420752] rcu: rcu_preempt kthread starved 
for 8428 jiffies! g32003353 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
Jul 17 01:22:32 bongo kernel: [773964.420755] rcu:  Unless rcu_preempt 
kthread gets sufficient CPU time, OOM is now expected behavior.
Jul 17 01:22:32 bongo kernel: [773964.420756] rcu: RCU grace-period kthread 
stack dump:
Jul 17 01:22:32 bongo kernel: [773964.420758] task:rcu_preempt state:I 
stack:0 pid:   14 ppid: 2 flags:0x4000
Jul 17 01:22:32 bongo kernel: [773964.420762] Call Trace:
Jul 17 01:22:32 bongo kernel: [773964.420765]  
Jul 17 01:22:32 bongo kernel: [773964.420770]  __schedule+0x30b/0x9e0
Jul 17 01:22:32 bongo kernel: [773964.420781]  ? rcu_gp_cleanup+0x3f0/0x3f0
Jul 17 01:22:32 bongo kernel: [773964.420787]  schedule+0x4e/0xb0
Jul 17 01:22:32 bongo kernel: [773964.420789]  schedule_timeout+0x88/0x150
Jul 17 01:22:32 bongo kernel: [773964.420793]  ? __bpf_trace_tick_stop+0x10/0x10
Jul 17 01:22:32 bongo kernel: [773964.420797]  rcu_gp_fqs_loop+0xfc/0x380
Jul 17 01:22:32 bongo kernel: [773964.420800]  rcu_gp_kthread+0xac/0x160
Jul 17 01:22:32 bongo kernel: [773964.420803]  kthread+0xe8/0x110
Jul 17 01:22:32 bongo kernel: [773964.420806]  ? 
kthread_complete_and_exit+0x20/0x20
Jul 17 01:22:32 bongo kernel: [773964.420809]  ret_from_fork+0x22/0x30
Jul 17 01:22:32 bongo kernel: [773964.420816]  
Jul 17 01:22:32 bongo kernel: [773964.420817] rcu: Stack dump where RCU GP 
kthread last ran:
Jul 17 01:22:32 bongo kernel: [773964.420818] Sending NMI from CPU 2 to CPUs 0:
Jul 17 01:22:32 bongo kernel: [773964.420824] NMI backtrace for cpu 0
Jul 17 01:22:32 bongo kernel: [773964.420827] CPU: 0 PID: 0 Comm: swapper/0 Not 
tainted 5.18.0-2-amd64 #1  Debian 5.18.5-1
Jul 17 01:22:32 bongo kernel: [773964.420830] Hardware name: Dell Inc. Latitude 
7480/0R0YRF, BIOS 1.24.1 12/15/2021
Jul 17 01:22:32 bongo kernel: [773964.420830] RIP: 0010:task_h_load+0xe7/0x110
Jul 17 01:22:32 bongo kernel: [773964.420834] Code: 89 82 18 01 00 00 48 85 f6 
75 c7 49 8b 81 60 01 00 00 49 8b 88 a0 00 00 00 31 d2 49 0f af 80 18 01 00 00 
48 83 c1 01 48 f7 f1  4c 89 c2 48 8b 82 a0 00 00 00 48 89 ba 20 01 00 00 48 
89 82 18
Jul 17 01:22:32 bongo kernel: [773964.420835] RSP: 0018:b05140003a50 
EFLAGS: 0006
Jul 17 01:22:32 bongo kernel: [773964.420837] RAX:  RBX: 
a0ea84629000 RCX: 0005
Jul 17 01:22:32 bongo kernel: [773964.420838] RDX:  RSI: