All of lore.kernel.org
 help / color / mirror / Atom feed
* System crash/lockup after plugging CDC ACM device
@ 2020-07-15  8:58 David Guillen Fandos
  2020-07-15  9:30 ` Greg KH
  0 siblings, 1 reply; 19+ messages in thread
From: David Guillen Fandos @ 2020-07-15  8:58 UTC (permalink / raw)
  To: linux-usb

Hello linux-usb,

I think I might have found a kernel bug related to the USB subsystem
(cdc_acm perhaps).

Context: I was playing around with a device I'm creating, essentially a
USB quad modem device that exposes four modems to the host system. This
device is still a prototype so there's a few bugs here and there, most
likely in the USB descriptors and control requests.

What happens: After plugging the device the system starts spitting
warnings and BUGs and it locks up. Most of the time some CPUs get into
some spinloop and never comes back (you can see it being detected by
the watchdog after a few seconds). Generally after that the USB devices
stop working completely and at some point the machine freezes
completely. In a couple of ocasions I managed to see a bug in dmesg
saying "unable to handle page fault for address XXX" and "Supervisor
read access in kernel mode" "error code (0x0000) not present page". I
could not get a trace for that one since the kernel died completely and
my log files were truncated/lost.

Since it is happening to my two machines (both Intel but rather
different controllers, Sunrise Point-LP USB 3.0 vs 8 Series/C220) and
with different kernel versions I suspect this might be a bug in the
kernel.

I have 4 logs that I collected, they are sort of long-ish, not sure how
to best send them to the list.

Thanks!
David


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-07-22 14:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15  8:58 System crash/lockup after plugging CDC ACM device David Guillen Fandos
2020-07-15  9:30 ` Greg KH
2020-07-15 10:31   ` David Guillen Fandos
2020-07-15 10:50     ` Greg KH
2020-07-15 10:57       ` David Guillen Fandos
2020-07-15 11:12         ` Greg KH
2020-07-15 11:20           ` David Guillen Fandos
2020-07-15 12:24             ` Greg KH
2020-07-15 17:03               ` David Guillen Fandos
2020-07-15 20:39                 ` Daniele Palmas
2020-07-16 14:30                 ` David Guillen Fandos
2020-07-19 23:36                   ` David Guillen Fandos
2020-07-20  1:21                     ` Alan Stern
2020-07-20 16:55                     ` Dan Williams
2020-07-20 20:39                       ` David Guillen Fandos
2020-07-21  8:26                         ` Greg KH
2020-07-22 14:41                           ` David Guillen Fandos
2020-07-22 14:57                             ` Dan Williams
2020-07-21  8:01             ` Oliver Neukum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.