#10669 LOW 1.75-so: XO-1.75 os3 shutdown doesn't (plymouth stall), kernel panic

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 7 04:25:58 EST 2011


#10669: XO-1.75 os3 shutdown doesn't (plymouth stall), kernel panic
--------------------+-------------------------------------------------------
 Reporter:  Quozl   |                 Owner:  cjb                              
     Type:  defect  |                Status:  new                              
 Priority:  low     |             Milestone:  1.75-software                    
Component:  distro  |               Version:  Development build as of this date
 Keywords:  os3     |           Next_action:  reproduce                        
 Verified:  0       |   Deployment_affected:                                   
Blockedby:          |              Blocking:                                   
--------------------+-------------------------------------------------------
 Similar to but not the same as #10471.

 At the root prompt on the serial port:
 {{{
 # shutdown
 }}}
 The laptop does not complete shutdown.  plymouth has stalled:
 {{{
  1066 ?        Ss     0:00 /bin/bash /etc/rc.d/rc 0
  1144 ?        S      0:00  \_ /usr/bin/plymouth --update=killall
  1090 ?        Ss     0:00 /bin/sh -e -c         set $(runlevel || true)?
 if [ "$2" != "0" ] && [ "$2" != "6" ]; then???exit
  1098 ?        S      0:00  \_ /bin/plymouth --show-splash
  1096 ?        S      0:00 /sbin/plymouthd --mode=shutdown
 }}}

 pid 1144 and 1098 are in epoll_wait().
 pid 1096 is stalled on open() of /dev/ttyS2 (!)

 Terminating the shell process on /dev/ttyS2 results in a kernel panic.

 {{{
 [olpc at localhost ~]$ logout
 [ 1202.199280] Unable to handle kernel NULL pointer dereference at virtual
 address 00000084
 [ 1202.207644] pgd = dcd5c000
 [ 1202.210912] [00000084] *pgd=1c31f031, *pte=00000000, *ppte=00000000
 [ 1202.210912] Internal error: Oops: 17 [#1] PREEMPT
 [ 1202.222288] last sysfs file: /sys/devices/platform/pxau2o-
 ehci.0/usbmon/usbmon1/uevent
 [ 1202.222288] Modules linked in:
 [ 1202.230429] CPU: 0    Not tainted  (2.6.36-00139-ge7978440 #67)
 [ 1202.233586] PC is at uart_dtr_rts+0xdc/0x1c0
 [ 1202.239692] LR is at uart_dtr_rts+0x54/0x1c0
 [ 1202.244097] pc : [<c01e3d7c>]    lr : [<c01e3cf4>]    psr: 60000013
 [ 1202.248491] sp : dcd77dc8  ip : 00000000  fp : 00000000
 [ 1202.248500] r10: 00000000  r9 : dcd77df4  r8 : dc08d518
 [ 1202.260308] r7 : dcf55000  r6 : dc08d508  r5 : 00000000  r4 : dc093780
 [ 1202.272396] r3 : c053002c  r2 : 00000000  r1 : 00000000  r0 : 00000002
 [ 1202.272396] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM
 Segment user
 [ 1202.279109] Control: 00c5387d  Table: 1cd5c008  DAC: 00000015
 [ 1202.286448] Process plymouthd (pid: 1096, stack limit = 0xdcd762e8)
 [ 1202.292359] Stack: (0xdcd77dc8 to 0xdcd78000)
 [ 1202.298802] 7dc0:                   dc08d508 dcdb96e0 dcd76000 c01d5000
 00001002 c01d55cc
 [ 1202.303288] 7de0: dcd76000 dc08d508 dc08d538 00000000 00000000 00000000
 dcd57680 c0055ccc
 [ 1202.311705] 7e00: dcd77e00 dcd77e00 dc0939c0 dcdb96e0 00400042 00000100
 dcd76000 dcf55000
 [ 1202.320124] 7e20: dcf3d528 c01cedc8 dcf55084 00000102 00000007 00000002
 dcd77e98 dcf3d528
 [ 1202.328540] 7e40: dcdb96e0 dc0939c8 00000000 00000000 c00a7b48 dcf3d528
 dcd77f50 c00a7d1c
 [ 1202.345375] 7e60: dcf3d528 dcdb96e0 c0361490 00000000 dc00fda0 da0aa5d8
 dcdb96e0 c00a2f28
 [ 1202.353791] 7e80: dcd77ef0 00000000 00000102 00000000 00000026 00000000
 00000000 c00afd2c
 [ 1202.362208] 7ea0: dcd77ef0 dcd77f50 dcd77ef0 00000102 dcd76000 00000026
 00000000 00000000
 [ 1202.370626] 7ec0: 00000026 c00affe4 00000000 c0026884 dcd57680 00000103
 00000000 c035a4a4
 [ 1202.379044] 7ee0: 00000000 dcd77f04 dc201000 ffffff9c dc00fda0 da0aa5d8
 13ac79b7 00000005
 [ 1202.387460] 7f00: dc201005 dc00f260 da0157d8 00000101 00000000 00000000
 dcf3d528 00000000
 [ 1202.387460] 7f20: dc154000 00000000 be8a957c c00a47e8 00000000 00000000
 dc46b0a0 00000103
 [ 1202.401832] 7f40: 00000000 dcdb96e0 dcdfb0c8 dcdfb0c0 dc00fda0 da0aa5d8
 0000000a ffffff9c
 [ 1202.416142] 7f60: 0000000a dc201000 00000102 40113120 dcd76000 00000000
 beb929fc c00a3d54
 [ 1202.444985] 7f80: 00000000 0001b600 0001c898 400417b8 00000000 00000005
 c00240e8 dcd76000
 [ 1202.459494] 7fa0: 00000000 c0023f40 0001c898 400417b8 0001b600 00000102
 40113120 ffffffff
 [ 1202.459494] 7fc0: 0001c898 400417b8 00000000 00000005 00000009 0000f8a0
 00000000 beb929fc
 [ 1202.488528] 7fe0: 000002d4 beb92200 400328f8 4028605c 60000010 0001b600
 00000000 002f0000
 [ 1202.503242] [<c01e3d7c>] (uart_dtr_rts+0xdc/0x1c0) from [<c01d5000>]
 (tty_port_raise_dtr_rts+0x1c/0x20)
 [ 1202.526149] [<c01d5000>] (tty_port_raise_dtr_rts+0x1c/0x20) from
 [<c01d55cc>] (tty_port_block_til_ready+0x214/0x344)
 [ 1202.526149] [<c01d55cc>] (tty_port_block_til_ready+0x214/0x344) from
 [<c01cedc8>] (tty_open+0x2fc/0x458)
 [ 1202.574775] [<c01cedc8>] (tty_open+0x2fc/0x458) from [<c00a7d1c>]
 (chrdev_open+0x1d4/0x1f8)
 [ 1202.574775] [<c00a7d1c>] (chrdev_open+0x1d4/0x1f8) from [<c00a2f28>]
 (__dentry_open.clone.17+0x178/0x290)
 [ 1202.590617] [<c00a2f28>] (__dentry_open.clone.17+0x178/0x290) from
 [<c00afd2c>] (do_last.clone.46+0x498/0x5e8)
 [ 1202.614995] [<c00afd2c>] (do_last.clone.46+0x498/0x5e8) from
 [<c00affe4>] (do_filp_open+0x168/0x4b4)
 [ 1202.640266] [<c00affe4>] (do_filp_open+0x168/0x4b4) from [<c00a3d54>]
 (do_sys_open+0x58/0xf0)
 [ 1202.665398] [<c00a3d54>] (do_sys_open+0x58/0xf0) from [<c0023f40>]
 (ret_fast_syscall+0x0/0x30)
 [ 1202.682218] Code: 15953030 15832008 15942060 1582102c (e5952084)
 [ 1202.716076] ---[ end trace e4cb8f062013599b ]---
 [ 1202.729423] ------------[ cut here ]------------
 [ 1202.742989] WARNING: at drivers/char/tty_mutex.c:31
 tty_lock+0x30/0x50()
 [ 1202.758259] Modules linked in:
 [ 1202.770837] [<c0029c40>] (unwind_backtrace+0x0/0x158) from [<c003d818>]
 (warn_slowpath_common+0x4c/0x64)
 [ 1202.799558] [<c003d818>] (warn_slowpath_common+0x4c/0x64) from
 [<c003d848>] (warn_slowpath_null+0x18/0x1c)
 [ 1202.826945] [<c003d848>] (warn_slowpath_null+0x18/0x1c) from
 [<c035c518>] (tty_lock+0x30/0x50)
 [ 1202.844717] [<c035c518>] (tty_lock+0x30/0x50) from [<c01ce684>]
 (tty_release+0x34/0x47c)
 [ 1202.862027] [<c01ce684>] (tty_release+0x34/0x47c) from [<c00a5a60>]
 (fput+0x104/0x1fc)
 [ 1202.879163] [<c00a5a60>] (fput+0x104/0x1fc) from [<c00a2c30>]
 (filp_close+0x58/0x64)
 [ 1202.896194] [<c00a2c30>] (filp_close+0x58/0x64) from [<c0040800>]
 (put_files_struct+0xb8/0x14c)
 [ 1202.914321] [<c0040800>] (put_files_struct+0xb8/0x14c) from
 [<c0040ad8>] (do_exit+0x19c/0x660)
 [ 1202.932540] [<c0040ad8>] (do_exit+0x19c/0x660) from [<c0027bdc>]
 (die+0x1bc/0x1e8)
 [ 1202.949593] [<c0027bdc>] (die+0x1bc/0x1e8) from [<c002ae48>]
 (__do_kernel_fault+0x64/0x84)
 [ 1202.967372] [<c002ae48>] (__do_kernel_fault+0x64/0x84) from
 [<c002b02c>] (do_page_fault+0x1c4/0x1d8)
 [ 1202.995600] [<c002b02c>] (do_page_fault+0x1c4/0x1d8) from [<c002326c>]
 (do_DataAbort+0x30/0x98)
 [ 1203.014334] [<c002326c>] (do_DataAbort+0x30/0x98) from [<c0023a34>]
 (__dabt_svc+0x54/0x80)
 [ 1203.032671] Exception stack(0xdcd77d80 to 0xdcd77dc8)
 [ 1203.047706] 7d80: 00000002 00000000 00000000 c053002c dc093780 00000000
 dc08d508 dcf55000
 [ 1203.067009] 7da0: dc08d518 dcd77df4 00000000 00000000 00000000 dcd77dc8
 c01e3cf4 c01e3d7c
 [ 1203.087308] 7dc0: 60000013 ffffffff
 [ 1203.100778] [<c0023a34>] (__dabt_svc+0x54/0x80) from [<c01e3d7c>]
 (uart_dtr_rts+0xdc/0x1c0)
 [ 1203.119207] [<c01e3d7c>] (uart_dtr_rts+0xdc/0x1c0) from [<c01d5000>]
 (tty_port_raise_dtr_rts+0x1c/0x20)
 [ 1203.148483] [<c01d5000>] (tty_port_raise_dtr_rts+0x1c/0x20) from
 [<c01d55cc>] (tty_port_block_til_ready+0x214/0x344)
 [ 1203.178787] [<c01d55cc>] (tty_port_block_til_ready+0x214/0x344) from
 [<c01cedc8>] (tty_open+0x2fc/0x458)
 [ 1203.208099] [<c01cedc8>] (tty_open+0x2fc/0x458) from [<c00a7d1c>]
 (chrdev_open+0x1d4/0x1f8)
 [ 1203.226520] [<c00a7d1c>] (chrdev_open+0x1d4/0x1f8) from [<c00a2f28>]
 (__dentry_open.clone.17+0x178/0x290)
 [ 1203.256014] [<c00a2f28>] (__dentry_open.clone.17+0x178/0x290) from
 [<c00afd2c>] (do_last.clone.46+0x498/0x5e8)
 [ 1203.285791] [<c00afd2c>] (do_last.clone.46+0x498/0x5e8) from
 [<c00affe4>] (do_filp_open+0x168/0x4b4)
 [ 1203.314808] [<c00affe4>] (do_filp_open+0x168/0x4b4) from [<c00a3d54>]
 (do_sys_open+0x58/0xf0)
 [ 1203.333537] [<c00a3d54>] (do_sys_open+0x58/0xf0) from [<c0023f40>]
 (ret_fast_syscall+0x0/0x30)
 [ 1203.352545] ---[ end trace e4cb8f062013599c ]---
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10669>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list