[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972547: linux-image-4.19.0-12-amd64: Freezing when unplugging wireless network adapter usb



Control: tags -1 + moreinfo

Hi

On Tue, Oct 20, 2020 at 03:28:38AM -0300, Leandro Cunha wrote:
> Package: src:linux
> Version: 4.19.152-1
> Severity: critical
> 
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: linux-image-4.19.0-12-amd64: Freezing when unplugging
> wireless network adapter usb
> Message-ID: <160317315157.3029.17986905390608842069.reportbug@debian-pc>
> X-Mailer: reportbug 7.5.3~deb10u1
> Date: Tue, 20 Oct 2020 02:52:31 -0300
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
>       During the operation of the machine with the usb connected as a
> network adapter I disconnected and the whole machine froze without
> being able to access even the tty to cause a reboot without having to
> force it. I saw this problem with Kernel 5.4 at the beginning of its
> release and Ubuntu fixed this problem in the 20.04 LTS version. I
> treat this as a totally abnormal behavior, it wasn’t meant to freeze.
> Does not occur in version 5.8. Problem started after update to point
> release 10.6.
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)? I disconnected my adapter Bus 001 Device 005: ID
> 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
>       It also occurs with
> https://tracker.debian.org/pkg/open-ath9k-htc-firmware and
> firmware-atheros of backports
>    * What was the outcome of this action?
>     Total machine freeze, no response to the keyboard.
>    * What outcome did you expect instead? Without total freezing.
> 
> Severity chosen according to https://www.debian.org/Bugs/Developer#severities
> Report is following the documentation
> https://wiki.debian.org/DebianKernelReportingBugs
> Some bugs that I thought might have some resemblance
> https://github.com/raspberrypi/linux/issues/3779
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878544
> https://bugzilla.kernel.org/show_bug.cgi?id=206365
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870140
> https://www.reddit.com/r/linuxquestions/comments/faru4i/kernel_crashing_on_usbc_device_unplug/

Thanks for the report.

Are you able to get some backtrace if you trigger the crash while
beeing on the console? Otherwise netconsole might be of help if
nothing get's logged.

As you reliable seem to be able to reproduce the issue, can you try to
bisect at first the Debian versions, if possible even already with the
upstream kernel? 

The Debian versions can be fetched via snapshots.d.o.

Cf. 

https://wiki.debian.org/DebianKernelReportingBugs#Identifying_when_the_bug_was_introduced

and for source bisecting later on once a range could be tightened:

https://wiki.debian.org/DebianKernel/GitBisect

Regards,
Salvatore


Reply to: