Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #61959

Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Bjørn Mork <bjorn@mork.no>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode
Date Fri, 31 Aug 2018 11:30:01 +0200
Message-ID <wsNUB-7ue-9@gated-at.bofh.it> (permalink)
References <w8Ehc-78i-3@gated-at.bofh.it> <vuHNf-1bp-1@gated-at.bofh.it> <wsNUB-7ue-11@gated-at.bofh.it> <vuHNf-1bp-1@gated-at.bofh.it> <wsNUB-7ue-11@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Aug 31 09:21:15 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.189
Reply-To Bjørn Mork <bjorn@mork.no>, 893393@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 893393
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords moreinfo
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 51; hammy, 150; neutral, 165; spammy, 0. spammytokens: hammytokens:0.000-+--H*i:0200, 0.000-+--UD:kernel.org, 0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1535706219; bh=PmjijA65ppe/Ty5mSW17g6BEFO1CC36Mr5doZZH2wuM=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=XiF2CV1ARMEmB4ys8GrD35mpsC5s8cUjJiiJg4qf+SW3a+uqvl1t/BkL9VzGeEtPH XPhhpuCWSf2hVc3Keft2mt7s619JxLDM9FI9zNbO7ooSmAJrTgulIJTty93IgJIgCL Tuf2E4PwBTna/yoJgObJUVOIQsXfyebN+5QraOQo=
Organization m
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Virus-Status Clean
X-Greylist delayed 885 seconds by postgrey-1.36 at buxtehude; Fri, 31 Aug 2018 09:18:30 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1482661
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 58
Sender robomod@news.nic.it
X-Original-Cc 893393@bugs.debian.org
X-Original-Date Fri, 31 Aug 2018 11:03:32 +0200
X-Original-Message-ID <87lg8m7vrv.fsf@miraculix.mork.no>
X-Original-References <addb244f-0ebe-fe49-1736-cc2f818ddbaa@woerm.at> <d1cbda65-56e4-e12a-e850-96f4f04330ea@gmail.com> <4ce25db7-22d0-bade-7f51-e8a3e1b6aad3__44449.6344811798$1535668458$gmane$org@woerm.at> <d1cbda65-56e4-e12a-e850-96f4f04330ea@gmail.com> <4ce25db7-22d0-bade-7f51-e8a3e1b6aad3__44449.6344811798$1535668458$gmane$org@woerm.at>
Xref csiph.com linux.debian.bugs.dist:915673 linux.debian.kernel:61959

Cross-posted to 2 groups.

Show key headers only | View raw


Phil <debian@anm.c0mm.it> writes:

> Hi, I hope you're all doing well.
>
> Shall we/I maybe reopen a new issue?

I believe so.  I am almost sure we fixed the original memset BUG in
cdc_ncm_fill_tx_frame. Or at least one of them...

So you are probably seeing another issue if you still have problems with
that fix in place.  Although the issues may or may not be related.  But
still, aother bug report would make it easier to track given that we
alread have one fix for 893393.

> I'm still affected by this and I'd could use some advice how to debug
> the issue a little bit better, especially since the kexec kernel
> crashdumps appear not to be helpful. Can I maybe compile the module with
> special debug flags and load it via. dkms or something?

Crash reports of some sort are best.  But any info is useful.  Like what
device is this really and what mode is in currently in?  What driver
does it use?  Most Huawei firmwares will support many different modes
using different USB drivers. But laptop internal modems are most likely
not tested with anything but the Windows MBIM class driver, since that
is the certification requirement and only target platform.

You can enable the little debugging that's already in the drivers by
doing something like

 echo 'module cdc_ncm +fp' >/sys/kernel/debug/dynamic_debug/control
 echo 'module cdc_mbim +fp' >/sys/kernel/debug/dynamic_debug/control
 echo 'module huawei_cdc_ncm +fp' >/sys/kernel/debug/dynamic_debug/control

See https://www.kernel.org/doc/html/v4.11/admin-guide/dynamic-debug-howto.html

Not sure it will be useful to debug a freeze though.

> I don't see any actual changes in [cdc_ncm.c][cdc_ncm], besides the one
> change in `cdc_ncm_unbind`.

Not sure I understood this...  Are you referring to the fix for bug
893393?  That's part of the v4.9.111 stable release:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/net/usb/cdc_ncm.c?h=linux-4.9.y&id=35fd10aeb2248cc7f8d3d48ccc2eff1cf19918f4

> Also I'm confused why this is happening now again, I managed to do an
> rsync upload with ~10GB over night back then - and my system didn't
> crash - but right now even if I'm just trying to upload a picture to
> twitter via. Firefox my laptop freezes.

Freezing without any Oops or similar? 



Bjørn

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Горбешко Богдан  <bodqhrohro@gmail.com> - 2018-03-18 15:50 +0100
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Bjørn Mork <bjorn@mork.no> - 2018-03-19 01:40 +0100
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Горбешко Богдан  <bodqhrohro@gmail.com> - 2018-03-19 15:10 +0100
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Phil <t@woerm.at> - 2018-06-27 21:50 +0200
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Bjørn Mork <bmork@telenor.net> - 2018-06-29 10:40 +0200
    Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Горбешко Богдан  <bodqhrohro@gmail.com> - 2018-08-02 23:30 +0200
      Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Горбешко Богдан  <bodqhrohro@gmail.com> - 2018-08-04 14:10 +0200
        Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode debian@anm.c0mm.it - 2018-08-07 00:10 +0200
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Phil <debian@anm.c0mm.it> - 2018-07-06 21:10 +0200
    Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Phil <debian@anm.c0mm.it> - 2018-08-31 00:40 +0200
  Bug#893393: linux-image-amd64: Kernel panic on active outgoing traffic through Huawei E173 modem in NDIS (CDC) mode Bjørn Mork <bjorn@mork.no> - 2018-08-31 11:30 +0200

csiph-web