Re: cdc-acm cooldown + Cisco 2960-X = kernel warning + dead USB

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

 



Am Mittwoch, den 10.03.2021, 01:30 +0000 schrieb Ramsay, Lincoln:
> > Am Donnerstag, den 04.03.2021, 22:59 +0000 schrieb Ramsay, Lincoln:
> > > 1. Connect the Cisco 2960-X console.
> > > 2. (Re)boot our device.
> > > 3. Open the Cisco's console device (/dev/ttyACM0) and write to it.
> > 
> > What exactly happens after that?
> 
> The kernel warning about the empty work on the queue is printed to the console (and journal) and then nothing. Reading/writing doesn't work (but it didn't work before the cooldown patch either). The system doesn't die (ie. networking is still going) but USB appears to be dead (though I only tested the same console being connected to different USB ports).
> 
> > Did your test kernel contain 38203b8385bf6283537162bde7d499f83096471 ?
> 
> No... our newest builds use kernel 5.8.18 and that commit seems to be in 5.10. But backporting that to our kernel seems like a much nicer fix than reverting the cooldown patch.

Good. So are the two failure modes identical now?

> I tried doing that and it is good. It doesn't make the Cisco magically work but there's no kernel warning and USB isn't dead so the console can be disconnected and re-connected and it works again. Nice.
> 
> Unless you've got any tips for dealing with the Cisco's brokenness, I guess we're all good.

You could try the reset utility from the newest set of usb tools.

	Regards
		Oliver





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux