Re: Canyonlands oops at Shutdown

2016-10-24 Thread Julian Margetson

On 21-Oct-16 6:53 AM, Julian Margetson wrote:

On 08-May-16 10:12 AM, Julian Margetson wrote:

CONFIG_PPC44x_SIMPLE=y

CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
# CONFIG_POWER_RESET_LTC2952 is not set
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set

CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WATCHDOG_SYSFS is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
CONFIG_DW_WATCHDOG=y
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_BOOKE_WDT is not set
# CONFIG_MEN_A21_WDT is not set


Issue appears again with kernel 4.9-rc1




Working again with 4.9-rc2



Re: Canyonlands oops at Shutdown

2016-10-21 Thread Julian Margetson

On 08-May-16 10:12 AM, Julian Margetson wrote:

CONFIG_PPC44x_SIMPLE=y

CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
# CONFIG_POWER_RESET_LTC2952 is not set
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set

CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WATCHDOG_SYSFS is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
CONFIG_DW_WATCHDOG=y
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_BOOKE_WDT is not set
# CONFIG_MEN_A21_WDT is not set


Issue appears again with kernel 4.9-rc1



[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[  101.580093] Unable to handle kernel paging request for data at address 
0xfe80
[  101.587599] Faulting instruction address: 0xc0420ea4
[  103.592744] Oops: Kernel access of bad area, sig: 11 [#4]
[  103.598153] PREEMPT [  103.600171] Canyonlands
[  103.602621] Modules linked in:
[  103.605697] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G  D 
4.9.0-rc1-sam460ex-jm #9
[  103.614672] task: ea848000 task.stack: ea85
[  103.619213] NIP: c0420ea4 LR: c0420e88 CTR: c04d5928
[  103.624188] REGS: ea851b40 TRAP: 0300   Tainted: G  D  
(4.9.0-rc1-sam460ex-jm)
[  103.632463] MSR: 00029000 [  103.634999] <
CE[  103.636767] ,EE
,ME[  103.638798] >
[  103.640380]   CR: 28428228  XER: 
[  103.644394] DEAR: fe80 ESR:  [  103.648239] 
[  103.648239] GPR00: 
c0420e88 [  103.652618] ea851bf0 
ea848000 [  103.655691] ee831720 
00029000 [  103.658763] 0003 
ee851960 [  103.661837]  

GPR08: [  103.664910] 0001 
ee83d4b0 [  103.667983]  
ea851bc0 [  103.671064] 24428222 
2020de94 [  103.674146] 201e3e86 
bfb0bc0c [  103.677227] 
[  103.677227] GPR16: 
ea851d18 [  103.681611] 2090e018 
c0936b84 [  103.684693] bfb0bb10 
bfb0bb0c [  103.687775]  
 [  103.690856] 4321fedc 

GPR24: [  103.693943] 0003 
ee84c2a4 [  103.697028]  
fe68 [  103.700110] fe18 
 [  103.703192] ee83 
ea816000 [  103.706272] 
[  103.707778] NIP [c0420ea4] atombios_crtc_disable+0x40/0x2b0
[  103.713363] LR [c0420e88] atombios_crtc_disable+0x24/0x2b0
[  103.718863] Call Trace:
[  103.721319] [ea851bf0] [c0420e88] atombios_crtc_disable+0x24/0x2b0[  
103.727329]  (unreliable)
[  103.729966] 
[  103.731477] [ea851c40] [c03dc8bc] 
__drm_helper_disable_unused_functions+0x9c/0xd0[  103.738804] 
[  103.740310] [ea851c60] [c03dd230] drm_crtc_helper_set_config+0x1d4/0x8c4[  
103.746844] 
[  103.748366] [ea851cd0] [c0438254] radeon_crtc_set_config+0x50/0xf8[  
103.754378] 
[  103.755890] [ea851cf0] [c03f7fe4] drm_mode_set_config_internal+0x5c/0xe8[  
103.762425] 
[  103.763935] [ea851d10] [c03f80a0] drm_crtc_force_disable+0x30/0x38[  
103.769950] 
[  103.771461] [ea851d40] [c03f80f4] drm_crtc_force_disable_all+0x4c/0x70[  
103.777825] 
[  103.779336] [ea851d60] [c043a830] radeon_modeset_fini+0x78/0x90[  
103.785090] 
[  103.786601] [ea851d80] [c0417fb8] radeon_driver_unload_kms+0x5c/0x80[  
103.792789] 
[  103.794308] [ea851d90] [c03f3be8] drm_dev_unregister+0x4c/0xc8[  103.799977] 
[  103.801482] [ea851db0] [c03f3e34] drm_put_dev+0x64/0x7c[  103.806538] 
[  103.808049] [ea851dc0] [c0384b78] pci_device_shutdown+0x44/0x90[  
103.813805] 
[  103.815320] [ea851de0] [c059796c] device_shutdown+0x140/0x194[  103.820897] 
[  103.822414] [ea851e10] [c00421e0] kernel_halt+0x38/0x64[  103.827467] 
[  103.828975] [ea851e20] [c0042438] SyS_reboot+0x14c/0x1c8[  103.834117] 
[  103.835625] [ea851f40] [c000b108] ret_from_syscall+0x0/0x3c[  103.841026] 
[  103.842533] --- interrupt: c01 at 0x2000ffbc
[  103.842533] LR = 0x201cd878
[  103.849946] Instruction dump:[  103.852742] 
[  103.854241] 90010054 7c7f1b78 8123 83c90018 4bffdab1 813f0050 81290060 
2f89 
[  103.862136] 419e007c 83a90090 3b9dfe18 3b7dfe68 <813dfe80> 7d290034 5529d97e 
0f09 
[  103.870205] ---[ end trace 29b794af26305857 ]---
[  103.874834] 
[  104.878073] systemd-shutdow: 3 output lines suppressed due to ratelimiting
[  104.885163] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b
[  104.885163] 
[  104.894339] Rebooting in 180 seconds..

Re: Canyonlands oops at Shutdown

2016-05-08 Thread Julian Margetson

On 5/6/2016 8:41 AM, Julian Margetson wrote:
Getting the following at shutdown with Kernel 4.6-rc's on Sam460ex 
Canyonlands board .


Regards
Julian


[ 1533.722779] Unable to handle kernel paging request for data at 
address 0x0128

[ 1533.744309] Faulting instruction address: 0xc026d3c8
[ 1535.763583] Oops: Kernel access of bad area, sig: 11 [#1]
[ 1535.782886] PREEMPT Canyonlands
[ 1535.799805] Modules linked in:
[ 1535.816546] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 
4.6.0-rc6-sam460ex-jm #4

[ 1535.838341] task: ea85 ti: ea846000 task.ti: ea846000
[ 1535.857783] NIP: c026d3c8 LR: c0466984 CTR: c001a8ac
[ 1535.876847] REGS: ea847d10 TRAP: 0300   Not tainted 
(4.6.0-rc6-sam460ex-jm)

[ 1535.898224] MSR: 00029000   CR: 44422284  XER: 
[ 1535.918868] DEAR: 0128 ESR: 
GPR00: c0466984 ea847dc0 ea85 0108 000f fff0  
0007
GPR08: 0001 c0b5a19c  ea847de0 28428468 205cfe94 205a946e 
bfff8a7c
GPR16: 2097d008 2097d018 2097d090 bfff8980 bfff897c   
4321fedc
GPR24: 2097d578 c0b3f17c c0b8  c0a95e68 eaa35000 c0b8545c 
0108

[ 1536.024665] NIP [c026d3c8] kobject_get+0x18/0x80
[ 1536.044003] LR [c0466984] get_device+0x1c/0x38
[ 1536.063198] Call Trace:
[ 1536.080424] [ea847dc0] [eaa3fa10] 0xeaa3fa10 (unreliable)
[ 1536.100896] [ea847dd0] [c0466984] get_device+0x1c/0x38
[ 1536.121059] [ea847de0] [c04689f4] device_shutdown+0x58/0x178
[ 1536.141727] [ea847e10] [c003c280] kernel_halt+0x38/0x64
[ 1536.161875] [ea847e20] [c003c4cc] SyS_reboot+0x140/0x1b0
[ 1536.182057] [ea847f40] [c000ad80] ret_from_syscall+0x0/0x3c
[ 1536.202568] --- interrupt: c01 at 0x203d1fbc
[ 1536.202568] LR = 0x2058f878
[ 1536.239761] Instruction dump:
[ 1536.257358] 4b9c 7fa3eb78 484cad91 39610020 7fe3fb78 4bda3d74 
9421fff0 7c0802a6
[ 1536.280308] 93e1000c 7c7f1b79 90010014 41820060 <813f0020> 2f89 
41bc001c 809f

[ 1536.303611] ---[ end trace f5a63492b41c62f2 ]---
[ 1536.323546]
[ 1537.340293] note: systemd-shutdow[1] exited with preempt_count 1
[ 1537.363602] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b

[ 1537.363602]
[ 1537.404665] Rebooting in 180 seconds..


Adjusted my .config and it is working now .

Regards

Julian


CONFIG_PPC44x_SIMPLE=y

CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
# CONFIG_POWER_RESET_LTC2952 is not set
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set

CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WATCHDOG_SYSFS is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
CONFIG_DW_WATCHDOG=y
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_BOOKE_WDT is not set
# CONFIG_MEN_A21_WDT is not set
#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set
#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Canyonlands oops at Shutdown

2016-05-06 Thread Julian Margetson
Getting the following at shutdown with Kernel 4.6-rc's on Sam460ex 
Canyonlands board .


Regards
Julian


[ 1533.722779] Unable to handle kernel paging request for data at 
address 0x0128

[ 1533.744309] Faulting instruction address: 0xc026d3c8
[ 1535.763583] Oops: Kernel access of bad area, sig: 11 [#1]
[ 1535.782886] PREEMPT Canyonlands
[ 1535.799805] Modules linked in:
[ 1535.816546] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 
4.6.0-rc6-sam460ex-jm #4

[ 1535.838341] task: ea85 ti: ea846000 task.ti: ea846000
[ 1535.857783] NIP: c026d3c8 LR: c0466984 CTR: c001a8ac
[ 1535.876847] REGS: ea847d10 TRAP: 0300   Not tainted 
(4.6.0-rc6-sam460ex-jm)

[ 1535.898224] MSR: 00029000   CR: 44422284  XER: 
[ 1535.918868] DEAR: 0128 ESR: 
GPR00: c0466984 ea847dc0 ea85 0108 000f fff0  
0007
GPR08: 0001 c0b5a19c  ea847de0 28428468 205cfe94 205a946e 
bfff8a7c
GPR16: 2097d008 2097d018 2097d090 bfff8980 bfff897c   
4321fedc
GPR24: 2097d578 c0b3f17c c0b8  c0a95e68 eaa35000 c0b8545c 
0108

[ 1536.024665] NIP [c026d3c8] kobject_get+0x18/0x80
[ 1536.044003] LR [c0466984] get_device+0x1c/0x38
[ 1536.063198] Call Trace:
[ 1536.080424] [ea847dc0] [eaa3fa10] 0xeaa3fa10 (unreliable)
[ 1536.100896] [ea847dd0] [c0466984] get_device+0x1c/0x38
[ 1536.121059] [ea847de0] [c04689f4] device_shutdown+0x58/0x178
[ 1536.141727] [ea847e10] [c003c280] kernel_halt+0x38/0x64
[ 1536.161875] [ea847e20] [c003c4cc] SyS_reboot+0x140/0x1b0
[ 1536.182057] [ea847f40] [c000ad80] ret_from_syscall+0x0/0x3c
[ 1536.202568] --- interrupt: c01 at 0x203d1fbc
[ 1536.202568] LR = 0x2058f878
[ 1536.239761] Instruction dump:
[ 1536.257358] 4b9c 7fa3eb78 484cad91 39610020 7fe3fb78 4bda3d74 
9421fff0 7c0802a6
[ 1536.280308] 93e1000c 7c7f1b79 90010014 41820060 <813f0020> 2f89 
41bc001c 809f

[ 1536.303611] ---[ end trace f5a63492b41c62f2 ]---
[ 1536.323546]
[ 1537.340293] note: systemd-shutdow[1] exited with preempt_count 1
[ 1537.363602] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b

[ 1537.363602]
[ 1537.404665] Rebooting in 180 seconds..


U-Boot 2015.a (May 16 2015 - 14:20:11)

CPU:   AMCC PowerPC 460EX Rev. B at 1155 MHz (PLB=231 OPB=115 EBC=115)
   No Security/Kasumi support
   Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
   Internal PCI arbiter enabled
   32 kB I-Cache 32 kB D-Cache
Board: Sam460ex/cr, PCIe 4x + SATA-2
I2C:   ready
DRAM:  ddr2_boost enabled, level 3
   2 GiB (ECC not enabled, 462 MHz, CL4)
PCI:   Bus Dev VenId DevId Class Int
00  04  1095  3512  0104  00
00  06  126f  0501  0380  00
PCIE1: successfully set as root-complex
02  00  1002  683f  0300  ff
Net:   ppc_4xx_eth0
FPGA:  Revision 03 (2010-10-07)
SM502: found
PERMD2:not found
VGA:   1
VESA:  OK
[0.00] Using Canyonlands machine description
[0.00] Linux version 4.6.0-rc6-sam460ex-jm (root@julian-VirtualBox) 
(gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #4 PREEMPT Fri May 6 
07:54:21 AST 2016
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x-0x2fff]
[0.00]   Normal   empty
[0.00]   HighMem  [mem 0x3000-0x7fff]
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x-0x7fff]
[0.00] Initmem setup node 0 [mem 0x-0x7fff]
[0.00] MMU: Allocated 1088 bytes of context maps for 255 contexts
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 522752
[0.00] Kernel command line: root=/dev/sda6 console=ttyS0,115200 
console=tty0
[0.00] PID hash table entries: 4096 (order: 2, 16384 bytes)
[0.00] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[0.00] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Sorting __ex_table...
[0.00] Memory: 2001664K/2097152K available (7416K kernel code, 316K 
rwdata, 3808K rodata, 240K init, 370K bss, 95488K reserved, 0K cma-reserved, 
1310720K highmem)
[0.00] Kernel virtual memory layout:
[0.00]   * 0xfffcf000..0xf000  : fixmap
[0.00]   * 0xffc0..0xffe0  : highmem PTEs
[0.00]   * 0xffa0..0xffc0  : consistent mem
[0.00]   * 0xffa0..0xffa0  : early ioremap
[0.00]   * 0xf100..0xffa0  : vmalloc & ioremap
[0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[0.00] Preemptible hierarchical RCU implementation.
[0.00] Build-time adjustment of leaf fanout to 32.
[0.00] NR_IRQS:512 nr_irqs:512 16
[0.00] UIC0 (32 IRQ sources) at DCR 0xc0
[0.00] UIC1 (32 IRQ sources) at DCR 0xd0
[0.00] UIC2 (32 IRQ sources) at DCR 0xe0
[0.00] UIC3 (32 IRQ sources) at DCR 0xf0
[