Openmoko Bug #2126: xserver-xglamo eats 100% cpu time after resume

Openmoko Public Trac bugs at
Wed Nov 19 21:21:27 CET 2008

#2126: xserver-xglamo eats 100% cpu time after resume
 Reporter:  lindi    |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:                
 Severity:  normal   |       Keywords:                
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:                
 xserver-xglamo seems to spend 100% cpu time after resume from suspend

 I am using debian with

 ii  linux-image-2.6.24-openmoko-gta02    20081103.git7172ec57-1
 Linux 2.6.24 kernel image for the Openmoko Neo Freerunner
 ii  xserver-xglamo             
 tiny X server for the SMedia Glamo graphics chipset
 Strace shows that xglamo calls gettimeofday again and again. The attached
 file xglamo-instructions.txt shows what instructions xglamo is executing
 according to gdb but backtrace prints just

 #0  0x00014e3c in ?? ()
 Cannot access memory at address 0x0

 so it is not very usable. I can not kill X with kill -9 and dmesg shows

 BUG: scheduling while atomic: X/1885/0x00000002
 [<c0344a08>] (dump_stack+0x0/0x14) from [<c0041cdc>]
 [<c0041c8c>] (__schedule_bug+0x0/0x5c) from [<c02b7c78>]
 [<c02b7c0c>] (schedule+0x0/0x2d4) from [<c0041fec>]
 [<c0041fa4>] (sys_sched_yield+0x0/0x54) from [<c02b8024>]
 [<c02b8000>] (yield+0x0/0x28) from [<c01ad0d0>]
 [<c01ad0ac>] (glamofb_cmd_mode+0x0/0xf0) from [<c01ad200>]
  r5:c7c6ce74 r4:c7c6cc00
 [<c01ad19c>] (glamofb_set_par+0x0/0x444) from [<c01740ac>]
  r8:00000020 r7:c71abe48 r6:c7c6cc00 r5:c71abe48 r4:c01ace70
 [<c0173f00>] (fb_set_var+0x0/0x258) from [<c01742ac>]
 [<c0174158>] (fb_ioctl+0x0/0x4dc) from [<c00a3b48>] (do_ioctl+0x80/0x9c)
  r8:c0029128 r7:00134628 r6:00004601 r5:00134628 r4:c7e652c0
 [<c00a3ac8>] (do_ioctl+0x0/0x9c) from [<c00a3e1c>] (vfs_ioctl+0x2b8/0x2e8)
  r6:00004601 r5:c7e652c0 r4:c7ea80a4
 [<c00a3b64>] (vfs_ioctl+0x0/0x2e8) from [<c00a3e8c>] (sys_ioctl+0x40/0x60)
  r7:c7e652c0 r6:00004601 r5:00134628 r4:00000004
 [<c00a3e4c>] (sys_ioctl+0x0/0x60) from [<c0028f80>]
  r7:00000036 r6:00134fe0 r5:001351a8 r4:00134628


Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list