#9635 LOW 1.5-F11: chvt hangs after telinit 1 followed by telinit 5
Zarro Boogs per Child
bugtracker at laptop.org
Sun Nov 8 19:17:06 EST 2009
#9635: chvt hangs after telinit 1 followed by telinit 5
----------------------------+-----------------------------------------------
Reporter: Quozl | Owner: dsaxena
Type: defect | Status: new
Priority: low | Milestone: 1.5-F11
Component: kernel | Version: Development build as of this date
Keywords: os34 os36 chvt | Next_action: diagnose
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
After switching to runlevel 5 from runlevel 1, chvt and Ctrl-Alt-F1 no
longer work.
Steps to reproduce:
* XO-1.5,
* os34 or os36,
* start Terminal, be root, type ''telinit 1'' and press enter,
* wait for test console root prompt,
* type ''telinit 5'' and press enter,
* wait for Sugar,
* start Terminal, be root, type ''chvt 1'' and press enter.
Expected result:
* X root window replaced on screen by image of text console.
Observed result:
* refresh of X root window and Terminal contents,
* prompt does not return until Ctrl-C is pressed.
Output from ''strace chvt 1'' followed by Ctrl-C:
{{{
open("/dev/tty0", O_RDWR) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(3, KDGKBTYPE, 0xafc3e69f) = 0
ioctl(3, VIDIOC_G_COMP or VT_ACTIVATE, 0x1) = 0
ioctl(3, VIDIOC_S_COMP or VT_WAITACTIVE, 0x1) = ? ERESTARTNOHAND (To be
restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
+++ killed by SIGINT +++
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/9635>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list