getty on ttyGS0 causing lots of wakeups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-nexus7 |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
/sbin/getty 115200 ttyGS0 is generating nearly 100 wakeups a second, stracing it shows:
sudo strace -p 908
Process 908 attached - interrupt to quit
restart_
write(1, "\33[r\33[H\33[J", 9) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000000}, NULL) = 0
write(1, "\33[r\33[H\33[J", 9) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000000}, NULL) = 0
write(1, "\33[r\33[H\33[J", 9) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000000}, NULL) = 0
write(1, "\33[r\33[H\33[J", 9) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000000}, NULL) = 0
Related branches
- Ubuntu Development Team: Pending requested
-
Diff: 25 lines (+9/-1)2 files modifieddebian/changelog (+8/-0)
rootfs/etc/init/ttyGS0.conf (+1/-1)
Changed in ubuntu-nexus7: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
The fix got merged, I'm not sure why this isn't registering as Fix Released yet.
This should be fixed by :
ubuntu- defaults- nexus7 (0.47) raring; urgency=low
* Run getty on ttyGS0 with the -J option -- don't try to reset the terminal
before speaking to it (and especially, before there is any USB cable
connected for that tty). (LP: #1105068)
Expected to land in the next image...