Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10347 closed defect (worksforme)

reboot when reading from cp210x usb converter

Reported by: Thomas Rehm <thomas.rehm@…> Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: cp210x, usbserial Cc:

Description

Connecting a device with cp210x USB converter to Buffalo WZR-HP-G300NH (OpenWrt backfire RC6) creates the device /dev/ttyUSB0. When reading from this device the router crashes after a while.
Serial console then shows the following messages:

usb 1-1: new full speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for cp210x
cp210x 1-1:1.0: cp210x converter detected
usb 1-1: reset full speed USB device using ar71xx-ehci and address 2
usb 1-1: cp210x converter now attached to ttyUSB0
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:407 0x83098914()
Modules linked in: cp210x usbserial uhci_hcd nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc usbcore nls_base crc_ccitt leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<8007da34>] 0x8007da34
[<800683c4>] 0x800683c4
[<800683c4>] 0x800683c4
[<8007cb6c>] 0x8007cb6c
[<83098914>] 0x83098914
[<83098914>] 0x83098914
[<801843bc>] 0x801843bc
[<80077a5c>] 0x80077a5c
[<801961c0>] 0x801961c0
[<801986d4>] 0x801986d4
[<801843bc>] 0x801843bc
[<801cc6b8>] 0x801cc6b8
[<801cca14>] 0x801cca14
[<801ccc20>] 0x801ccc20
[<801ccd6c>] 0x801ccd6c
[<801c8e0c>] 0x801c8e0c
[<8007824c>] 0x8007824c
[<80078354>] 0x80078354
[<8019b730>] 0x8019b730
[<8008e148>] 0x8008e148
[<80068cb4>] 0x80068cb4
[<80091fbc>] 0x80091fbc
[<8008e020>] 0x8008e020
[<80091b10>] 0x80091b10
[<8006c8f0>] 0x8006c8f0
[<80091a94>] 0x80091a94
[<8006c8e0>] 0x8006c8e0

---[ end trace 22ee47fa9f061ddd ]---
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:394 0x830989e0()
Modules linked in: cp210x usbserial uhci_hcd nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc usbcore nls_base crc_ccitt leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<800683c4>] 0x800683c4
[<800683c4>] 0x800683c4
[<8007cb6c>] 0x8007cb6c
[<830989e0>] 0x830989e0
[<830989e0>] 0x830989e0
[<800683c4>] 0x800683c4
[<8007cb8c>] 0x8007cb8c
[<8019259c>] 0x8019259c
[<83098914>] 0x83098914
[<801960d0>] 0x801960d0
[<80196370>] 0x80196370
[<801986d4>] 0x801986d4
[<801843bc>] 0x801843bc
[<801cc6b8>] 0x801cc6b8
[<801cca14>] 0x801cca14
[<801ccc20>] 0x801ccc20
[<801ccd6c>] 0x801ccd6c
[<801c8e0c>] 0x801c8e0c
[<8007824c>] 0x8007824c
[<80078354>] 0x80078354
[<8019b730>] 0x8019b730
[<8008e148>] 0x8008e148
[<80068cb4>] 0x80068cb4
[<80091fbc>] 0x80091fbc
[<8008e020>] 0x8008e020
[<80091b10>] 0x80091b10
[<8006c8f0>] 0x8006c8f0
[<80091a94>] 0x80091a94
[<8006c8e0>] 0x8006c8e0

---[ end trace 22ee47fa9f061dde ]---

This messages appear multiple times. After a while the router is rebooting.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Thomas Rehm <thomas.rehm@…>

Additional information:

  • the same problem occures with Backfire 10.03.1-RC3 and -RC6.
  • target is ar71xx.

comment:2 Changed 6 years ago by Thomas Rehm <thomas.rehm@…>

When commenting out all occurences of

/* WARN_ON(!port->port.count); */

in usb-serial.c, the router no longer crashes.

In current trunk version I could not see any problem with usb-serial yet.

I think you can close this ticket.

comment:3 Changed 6 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.