linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wim Osterholt <wim@djo.tudelft.nl>
To: Oliver Neukum <oneukum@suse.com>
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	Wim Osterholt <wim@djo.tudelft.nl>
Subject: Re: crash by cdc_acm driver in kernels 4.8-rc1/5
Date: Wed, 28 Sep 2016 17:08:56 +0200	[thread overview]
Message-ID: <20160928150856.GA1424@djo.tudelft.nl> (raw)
In-Reply-To: <1475054164.4635.7.camel@suse.com>

On Wed, Sep 28, 2016 at 11:16:04AM +0200, Oliver Neukum wrote:
> this should show you where it crashes. In addition I've attached
> a patch with paranoid debugging. Could you compile and test a kernel
> with it?
> 
> 	Regards
> 		Oliver

If you mean
  echo "module cdc_acm +mpf" > /sys/kernel/debug/dynamic_debug/control
etc, then it will take some time because I don't have the cabling not
available now for a serial dump.

Just 4.8-rc8 with the patched modules gave an oops of less than one screen
while the machine stayed responsive long enough to grab it with the mouse
and put it in a file:

HP src # sync
HP src # [ 3744.914184] BUG: unable to handle kernel NULL pointer dereference at 00000249
[ 3744.914538] IP: [<e092fcb6>] acm_probe+0x52d/0xced [cdc_acm]
[ 3744.914850] *pde = 00000000
[ 3744.915133] Oops: 0000 [#1] SMP
[ 3744.915446] Modules linked in: cdc_acm(+) nouveau video drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart i2c_algo_bit cfg80211 rfkill binfmt_misc svgalib_helper(O) snd_pcm_oss snd_mixer_oss fbcon bitblit softcursor font tileblit sr9700 dm9601 snd_hda_codec_generic usb_storage usbnet snd_hda_intel mii snd_hda_codec tg3 snd_hwdep snd_hda_core ptp pps_core snd_pcm libphy gpio_ich firmware_class snd_timer lpc_ich pcspkr ppdev ohci_pci snd ohci_hcd wmi mfd_core uhci_hcd floppy parport_pc soundcore ehci_pci parport acpi_cpufreq ehci_hcd button processor
[ 3744.918142] CPU: 1 PID: 24530 Comm: udevd Tainted: G           O    4.8.0-rc8 #1
[ 3744.918142] Hardware name: Hewlett-Packard HP xw4300 Workstation/0A00h, BIOS 786D3 v01.08 03/10/2006
[ 3744.918142] task: df7b4d00 task.stack: d3d56000
[ 3744.918142] EIP: 0060:[<e092fcb6>] EFLAGS: 00010202 CPU: 1
[ 3744.918142] EIP is at acm_probe+0x52d/0xced [cdc_acm]
[ 3744.918142] EAX: 00000246 EBX: cf9a7800 ECX: e09318d4 EDX: 00000000
[ 3744.918142] ESI: 00000100 EDI: 00000000 EBP: d3d57cc8 ESP: d3d57c30
[ 3744.918142]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 3744.918142] CR0: 80050033 CR2: 00000249 CR3: 1ac9a000 CR4: 00000690
[ 3744.918142] Stack:
[ 3744.918142]  00003a20 00003d7b 0000000f df4a9d50 00000000 00000000 00000010 00000040
[ 3744.918142]  00000080 00000246 dedeb200 dac90740 cfa40870 00000001 ceb37180 cfa40800
[ 3744.918142]  ceb371b8 dedeaa00 dedeb200 00000000 cabfe3f0 00000004 00000246 d3d57cb0
[ 3744.918142] Call Trace:
[ 3744.918142]  [<c04cee8d>] ? __mutex_unlock_slowpath+0xf4/0xfc
[ 3744.918142]  [<c03cda6c>] ? usb_probe_interface+0x17b/0x1f6
[ 3744.918142]  [<c03cda6c>] ? usb_probe_interface+0x17b/0x1f6
[ 3744.918142]  [<c0361090>] ? driver_probe_device+0x17b/0x30e
[ 3744.918142]  [<c0361090>] ? driver_probe_device+0x17b/0x30e
[ 3744.918142]  [<c03612d2>] ? __driver_attach+0xaf/0xd2
[ 3744.918142]  [<c03612d2>] ? __driver_attach+0xaf/0xd2
[ 3744.918142]  [<c04ca8ea>] ? klist_next+0x2a/0xad
[ 3744.918142]  [<c035f6fd>] ? bus_for_each_dev+0x50/0x6c
[ 3744.918142]  [<c035f6fd>] ? bus_for_each_dev+0x50/0x6c
[ 3744.918142]  [<c0360b00>] ? driver_attach+0x19/0x1b
[ 3744.918142]  [<c0361223>] ? driver_probe_device+0x30e/0x30e
[ 3744.918142]  [<c036066c>] ? bus_add_driver+0x10a/0x1ee
[ 3744.918142]  [<c02cbb06>] ? kset_find_obj+0x2b/0x5f
[ 3744.918142]  [<c0361aea>] ? driver_register+0x74/0xa9
[ 3744.918142]  [<c0361aea>] ? driver_register+0x74/0xa9
[ 3744.918142]  [<c03ccb17>] ? usb_register_driver+0x67/0xf8
[ 3744.918142]  [<e09340ac>] ? acm_init+0xac/0xdf [cdc_acm]
[ 3744.918142]  [<e0934000>] ? 0xe0934000
[ 3744.918142]  [<c01004cb>] ? do_one_initcall+0x90/0x113
[ 3744.918142]  [<c04cee8d>] ? __mutex_unlock_slowpath+0xf4/0xfc
[ 3744.918142]  [<c01e1bc6>] ? kmem_cache_alloc_trace+0x72/0xe3
[ 3744.918142]  [<c01b24a1>] ? do_init_module+0x21/0x1a7
[ 3744.918142]  [<c01b24d0>] ? do_init_module+0x50/0x1a7
[ 3744.918142]  [<c0189c32>] ? load_module+0x190e/0x1d33
[ 3744.918142]  [<c018a1d7>] ? SyS_finit_module+0x9c/0xa8
[ 3744.918142]  [<c018a1d7>] ? SyS_finit_module+0x9c/0xa8
[ 3744.918142]  [<c0101363>] ? do_int80_syscall_32+0x47/0x7f
[ 3744.918142]  [<c0101363>] ? do_int80_syscall_32+0x47/0x7f
[ 3744.918142]  [<c04d0785>] ? entry_INT80_32+0x31/0x31
[ 3744.918142] Code: 14 89 83 b4 04 00 00 8b 45 90 89 43 04 8b 45 ac 89 43 08 8b 85 7c ff ff ff 89 83 c0 04 00 00 8b 45 a4 89 03 8b 45 c0 85 c0 74 0a <0f> b6 40 03 89 83 c8 04 00 00 f6 45 9c 04 74 07 83 a3 c8 04 00
[ 3744.918142] EIP: [<e092fcb6>] acm_probe+0x52d/0xced [cdc_acm] SS:ESP 0068:d3d57c30
[ 3744.918142] CR2: 0000000000000249
[ 3745.000049] ---[ end trace e6bc96526d51607e ]---
[ 3745.006322] udevd[945]: worker [24530] terminated by signal 9 (Killed)
[ 3745.008927] udevd[945]: worker [24530] failed while handling '/devices/pci0000:00/0000:00:1d.3/usb6/6-1/6-1:1.0'


Regards, Wim.

  parent reply	other threads:[~2016-09-28 15:09 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 11:58 crash by cdc_acm driver in kernels 4.8-rc1/5 Wim Osterholt
2016-09-08 12:20 ` Oliver Neukum
2016-09-08 12:58   ` Wim Osterholt
2016-09-08 13:05     ` Oliver Neukum
2016-09-08 15:00       ` Wim Osterholt
2016-09-08 16:54       ` Wim Osterholt
2016-09-09 13:24       ` Wim Osterholt
2016-09-12  2:43       ` Wim Osterholt
2016-09-20 13:05         ` Oliver Neukum
2016-09-20 15:45           ` Wim Osterholt
2016-09-21 12:21             ` Oliver Neukum
2016-09-21 16:21               ` Wim Osterholt
2016-09-21 16:41               ` Wim Osterholt
2016-09-22 14:40                 ` Oliver Neukum
2016-09-22 17:56                   ` Wim Osterholt
2016-09-22 19:21                   ` Wim Osterholt
2016-09-23 10:04                   ` Wim Osterholt
2016-09-27 16:34                   ` Wim Osterholt
2016-09-28  9:16                     ` Oliver Neukum
2016-09-28 14:46                       ` Wim Osterholt
2016-09-28 15:08                       ` Wim Osterholt [this message]
2016-09-28 15:23                         ` Oliver Neukum
2016-09-29 13:26                           ` Wim Osterholt
2016-10-06 10:53                             ` Oliver Neukum
2016-10-17 14:10     ` Oliver Neukum
2016-10-17 15:20       ` Wim Osterholt
2016-10-18 12:18         ` Oliver Neukum
2016-10-18 14:51           ` Wim Osterholt
2016-11-05 13:34           ` Wim Osterholt
2016-11-15  0:16           ` Wim Osterholt
2016-11-15 11:07             ` Oliver Neukum
2016-11-15 11:26             ` poma
2016-11-15 13:29               ` Wim Osterholt
2016-11-16 12:34                 ` Oliver Neukum
2016-11-16 15:07                   ` Wim Osterholt
2016-11-17  1:57                     ` Wim Osterholt
2016-11-17  9:14                       ` Wim Osterholt
2016-11-17 16:11                         ` Wim Osterholt
2016-11-21 13:19                           ` Oliver Neukum
2016-11-21 15:58                             ` Wim Osterholt
2016-11-21 20:23                               ` Wim Osterholt
2016-11-21 23:49                                 ` poma
2016-11-22 17:50                               ` Bjørn Mork
2016-11-23  0:48                                 ` Wim Osterholt
2016-11-22 15:38                             ` Wim Osterholt
2016-11-22 18:08                               ` Bjørn Mork
2016-11-23  0:54                                 ` Wim Osterholt
2016-11-23  7:37                                   ` Bjørn Mork
2016-11-23 15:02                                     ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160928150856.GA1424@djo.tudelft.nl \
    --to=wim@djo.tudelft.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oneukum@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).