Wind River Support Network

HomeDefectsLIN5-3151
Fixed

LIN5-3151 : Removing USB-serial device from USB port causes USB to malfunction.

Created: Oct 18, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 6, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.10
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

When using a USB-serial converter device as main console, if it's removed, the USB stack doesn't workany more.

In my case I've used a USB mass storage drive to test this. I've inserted the USB drive, then removed the USB-serial converter. Issuing "fdisk -l" command I can see the USB stick mounted. But after removing and plugging the USB drive again it's not mounting. Also by using "lsusb" command the target freezes.

Steps to Reproduce

1. Created project with the following configuration:
--enable-board=intel-atom --enable-rootfs=glibc_std --enable-kernel=standard --enable-jobs=5 --enable-parallel-pkgbuilds=5 --with-rcpl-version=0006

2. Added dropbear pkg, SSH will permit to see the reported behavior by a remote console.

3. Built the project, as the used USB-serial driver it's included by default (USB Prolific 2303 Single Port Serial Driver).

4. Boot the created image with console=ttyUSB0,115200.

5. Observe the behavior after removing the USB-serial converter via SSH.

Other Downloads


Live chat
Online