kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #137522
[Bug 1501345] [NEW] linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
Public bug reported:
Today after updating to the linux-image-3.13.0-65-generic 3.13.0-65
Kernel on Lubuntu 14.04.3 LTS two different programs that rely on
PySerial quit working. miniterm.py and my ROS (Robot Operating System)
based Python node quit working.
When rebooted and selected 3.13.0-63-generic via GRUB everything worked
again.
Here are the steps to create the issue with miniterm.py, note that you
need something connected via a USB to Serial adapter for this to work. I
am working with a Parallax Activity Board, but an Arduino should also
exhibit the same behavior.
sudo apt install linux-image-3.13.0-65-generic
sudo apt install linux-image-extra-3.13.0-65-generic
reboot
$ miniterm.py /dev/ttyUSB0 115200
--- Miniterm on /dev/ttyUSB0: 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
--- exit ---
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/bin/miniterm.py", line 220, in reader
data = character(self.serial.read(1))
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 460, in read
raise SerialException('device reports readiness to read but returned no data (device disconnected?)')
SerialException: device reports readiness to read but returned no data (device disconnected?)
Reverting to the 3.13.0-63 kernel allows miniterm.py and other Python
Serial based programs to work normally.
** Affects: linux-lts-trusty (Ubuntu)
Importance: Undecided
Status: New
** Package changed: ubuntu => linux-lts-trusty (Ubuntu)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-trusty in Ubuntu.
https://bugs.launchpad.net/bugs/1501345
Title:
linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial
communication
Status in linux-lts-trusty package in Ubuntu:
New
Bug description:
Today after updating to the linux-image-3.13.0-65-generic 3.13.0-65
Kernel on Lubuntu 14.04.3 LTS two different programs that rely on
PySerial quit working. miniterm.py and my ROS (Robot Operating System)
based Python node quit working.
When rebooted and selected 3.13.0-63-generic via GRUB everything
worked again.
Here are the steps to create the issue with miniterm.py, note that you
need something connected via a USB to Serial adapter for this to work.
I am working with a Parallax Activity Board, but an Arduino should
also exhibit the same behavior.
sudo apt install linux-image-3.13.0-65-generic
sudo apt install linux-image-extra-3.13.0-65-generic
reboot
$ miniterm.py /dev/ttyUSB0 115200
--- Miniterm on /dev/ttyUSB0: 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
--- exit ---
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/bin/miniterm.py", line 220, in reader
data = character(self.serial.read(1))
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 460, in read
raise SerialException('device reports readiness to read but returned no data (device disconnected?)')
SerialException: device reports readiness to read but returned no data (device disconnected?)
Reverting to the 3.13.0-63 kernel allows miniterm.py and other Python
Serial based programs to work normally.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1501345/+subscriptions
Follow ups
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: Chris L8, 2015-11-09
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: Rob Ward, 2015-10-23
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: Gawarmel, 2015-10-23
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: Sebastian Unger, 2015-10-21
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: bouke, 2015-10-20
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: aradhya, 2015-10-18
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic breaks serial communication
From: kerlyn, 2015-10-17
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks serial communication
From: Sandy, 2015-10-14
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Michael, 2015-10-14
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Rob Ward, 2015-10-13
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: psylem, 2015-10-08
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Rob G., 2015-10-05
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Henk van der Laak, 2015-10-04
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: pEEf, 2015-10-03
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: pEEf, 2015-10-03
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Chris L8, 2015-10-02
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Flo, 2015-10-01
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Launchpad Bug Tracker, 2015-10-01
-
[Bug 1501345] Re: linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Chris L8, 2015-09-30
-
[Bug 1501345] [NEW] linux-image-3.13.0-65-generic 3.13.0-65 breaks Python based Serial communication
From: Launchpad Bug Tracker, 2015-09-30