DSS2 oops when shutting down while DPMS is active
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
issuing reboot or shutdown on a beagleboard while the screen is suspended (i.e. via serial console) causes an oops in dss/core.c
ogra@ubuntu:~$ sudo reboot
[sudo] password for ogra:
Broadcast message from ogra@ubuntu
The system is going down for reboot NOW!
ogra@ubuntu:~$ init: tty4 main process (393) killed by TERM signal
init: tty5 main process (396) killed by TERM signal
init: tty2 main process (400) killed by TERM signal
init: tty3 main process (401) killed by TERM signal
init: tty6 main process (403) killed by TERM signal
init: cron main process (409) killed by TERM signal
init: ttyS2 main process (446) killed by TERM signal
init: tty1 main process (449) killed by TERM signal
[ OK ]ing all remaining processes to terminate...
[ OK ] processes ended within 1 seconds....
[ OK ]onfiguring network interfaces...
[ OK ]ctivating swap...
[ OK ]ounting weak filesystems...
* Will now restart
[ 2323.079162] kernel BUG at /home/amit/
[ 2323.089233] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 2323.097412] pgd = cf99c000
[ 2323.100158] [00000000] *pgd=00000000
[ 2323.103759] Internal error: Oops: 805 [#1]
[ 2323.107879] last sysfs file: /sys/kernel/
[ 2323.113037] Modules linked in: arc4 zd1211rw mac80211 cfg80211 rfkill omap_wdt musb_hdrc leds_gpio twl4030_usb sg usb_storage
[ 2323.124481] CPU: 0 Not tainted (2.6.33-500-omap #5)
[ 2323.129730] PC is at __bug+0x1c/0x24
[ 2323.133331] LR is at __bug+0x18/0x24
[ 2323.136932] pc : [<c00396f0>] lr : [<c00396ec>] psr: 60000013
[ 2323.136932] sp : cf0dfe20 ip : c0602de0 fp : 00000000
[ 2323.148468] r10: 00000000 r9 : cf0de000 r8 : c0035c48
[ 2323.153717] r7 : c0278ffc r6 : 00000000 r5 : cf0dfe48 r4 : 00000003
[ 2323.160278] r3 : 00000000 r2 : c05cc868 r1 : 60000013 r0 : 00000077
[ 2323.166839] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 2323.174011] Control: 10c5387d Table: 8f99c019 DAC: 00000015
[ 2323.179779] Process reboot (pid: 597, stack limit = 0xcf0de2e8)
[ 2323.185729] Stack: (0xcf0dfe20 to 0xcf0e0000)
[ 2323.190124] fe20: 00000003 c0272e6c c05c4d80 c0278ea4 c05c4d80 c02827fc 00000000 c027900c
[ 2323.198333] fe40: 00000000 c02ad15c cf846a78 cee1dd70 c05bd928 c05cb6f0 c066bfc4 01234567
[ 2323.206542] fe60: 00000058 c02aeb1c c05cb6f0 c02a9fd0 00000000 c05cdfb8 01234567 c007820c
[ 2323.214782] fe80: 00000000 c0078244 00000000 c00783c8 cf99d000 00000200 cef8fb40 4002c000
[ 2323.222991] fea0: 00000000 cf9e1de0 00000000 c00dc3e0 0000000d 00000000 00000000 cefbe1f0
[ 2323.231231] fec0: cf0dffb0 cf9e1de0 cef8fb40 4002c3fc cf0dffb0 00000200 cef8fb40 c04428dc
[ 2323.239440] fee0: 00000000 c04429bc c05bc414 00000000 00000007 c05bc484 cf0dffb0 00000000
[ 2323.247680] ff00: 4002c3fc c0035270 cf0dff6c c043f0c8 cf0dff4c c05d985c c05bc6e8 c05fd700
[ 2323.255889] ff20: c05cbc50 c06248a8 0001ab3f 00000000 00000000 c043f2b0 cef40d24 cf0de000
[ 2323.264099] ff40: e239080f 0000021c cf0dff7c cf0de000 c05da1bc 00000000 00000024 00000000
[ 2323.272338] ff60: cf0de000 00000000 cf0dff7c c043f2b0 cf2b7e40 c05da1bc cf2b7e00 c05da1bc
[ 2323.280548] ff80: cf2b7e00 c01156ec 2a009f3c 00000000 00000000 2a009f3c 00000000 be931ca8
[ 2323.288787] ffa0: 00000058 c0035aa0 2a009f3c 00000000 fee1dead 28121969 01234567 00000058
[ 2323.296997] ffc0: 2a009f3c 00000000 be931ca8 00000058 00000000 00000000 2a009f3c 00000000
[ 2323.305206] ffe0: 2a009f50 be931ca8 2a00128f 400c0d42 00000030 fee1dead 0074696e 00000000
[ 2323.313446] [<c00396f0>] (__bug+0x1c/0x24) from [<c0272e6c>] (dss_clk_
[ 2323.321594] [<c0272e6c>] (dss_clk_
[ 2323.331665] [<c0278ea4>] (omapdss_
[ 2323.342163] [<c02827fc>] (generic_
[ 2323.351898] [<c027900c>] (dss_disable_
[ 2323.361236] [<c02ad15c>] (bus_for_
[ 2323.370880] [<c02aeb1c>] (platform_
[ 2323.380432] [<c02a9fd0>] (device_
[ 2323.390045] [<c007820c>] (kernel_
[ 2323.399505] [<c0078244>] (kernel_
[ 2323.408081] [<c00783c8>] (sys_reboot+
[ 2323.416839] Code: e30301e4 e34c0051 eb1014cb e3a03000 (e5833000)
[ 2323.434570] ---[ end trace bf08bfb116ae6118 ]---
Segmentation fault
Changed in linux-ti-omap (Ubuntu Lucid): | |
importance: | Undecided → Medium |
milestone: | none → lucid-updates |
assignee: | nobody → Amit Kucheria (amitk) |
Changed in linux-ti-omap (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in linux-ti-omap (Ubuntu Lucid): | |
assignee: | Amit Kucheria (amitk) → Mathieu Poirier (mathieu.poirier) |
Changed in linux-ti-omap (Ubuntu): | |
assignee: | Amit Kucheria (amitk) → Mathieu Poirier (mathieu.poirier) |
The attached quick patch seems to work me on my beagles, using on my 2.6.34 + dss2-for next builds...
I just sent it to the linux-omap mailing list for review...