2020-08-31 06:23:30

by Norbert Preining

[permalink] [raw]
Subject: kernel hard lockups wit 5.9-rc{2,3}

Dear all,

(please Cc)

I am seeing hard lockups with 5.9-rc2 and -rc3, while 5.8.N (1,2,3,4,5)
work without any problems.

THe lockups are hard to debug, since not even Sysrq works anymore. The
screen freezes completely, no reaction. Ports are also dead, ssh into
the machine is not possible.

Hangs are repeatable, but not triggerable (at least I didn't find a
way). Last time I left the screen locked and went shopping to find it
locked up coming back. In total I got about 10 lock ups.

This is an Intel CPU with AMD 5700xt GPU, running Debian/unstable.

My feeling is somehow GPU related, but that might be a wide grasp.

Any suggestions how to debug this? The kernel logs after reboot are
empty.

Best

Norbert

--
PREINING Norbert https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


2020-09-01 09:37:43

by David Laight

[permalink] [raw]
Subject: RE: kernel hard lockups wit 5.9-rc{2,3}

From: Norbert Preining
> I am seeing hard lockups with 5.9-rc2 and -rc3, while 5.8.N (1,2,3,4,5)
> work without any problems.
>
> THe lockups are hard to debug, since not even Sysrq works anymore. The
> screen freezes completely, no reaction. Ports are also dead, ssh into
> the machine is not possible.
>
> Hangs are repeatable, but not triggerable (at least I didn't find a
> way). Last time I left the screen locked and went shopping to find it
> locked up coming back. In total I got about 10 lock ups.

I've had a random lockup on a pre-rc1 kernel.
But that might be one of our own drivers - OTOH they 'normally'
generate OOPS tracebacks.

Have you tried setting up a serial console?
It might contain some useful messages.

Sysrq is more likely to work with a PS2 keyboard (not USB).
IIRC the 'caps lock' light only needs PS2 keyboard interrupts
to be working - a useful check on how dead a system it.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)