getty on ttyGS0 causing lots of wakeups

Bug #1105068 reported by Colin Ian King
6
This bug affects 1 person
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_syscall(<... resuming interrupted call ...>) = 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
write(1, "\33[r\33[H\33[J", 9) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000000}, NULL) = 0

Related branches

Changed in ubuntu-nexus7:
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

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...

Changed in ubuntu-nexus7:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.