Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: Oclistediscussion on September 30, 2012, 08:27:19 PM

Title: Kernel panic - not syncing: Fatal exception in interrupt
Post by: Oclistediscussion on September 30, 2012, 08:27:19 PM
Hello

i have kernel panic after some time.
I don't know why


Code: [Select]
PowerPrep start initialize power...
Battery Voltage = 0.71V
No battery or bad battery                                       detected!!!.Disabling battery                                   voltage measurements./r/nLLCAug 22 201215:25:39
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
LLLLLLLFCLJUncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.35-6-ARCH+ (kiril@plug) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 PREEMPT Fri Aug 31 14:22:01 EEST 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: iMX233-OLinuXino low cost board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc lcd_panel=tvenc_pal no_console_suspend
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
allocated 327680 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 64MB = 64MB total
Memory: 56392k/56392k available, 9144k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xfde00000 - 0xffe00000   (  32 MB)
    vmalloc : 0xc4800000 - 0xf0000000   ( 696 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0028000   ( 128 kB)
      .text : 0xc0028000 - 0xc03b3000   (3628 kB)
      .data : 0xc03ce000 - 0xc03f9140   ( 173 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:224
Console: colour dummy device 80x30
console [ttyAMA0] enabled
Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
regulator: vddd: 800 <--> 1575 mV at 1550 mV fast normal
regulator: vdddbo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV at 1750 mV fast normal
regulator: vddio: 2800 <--> 3575 mV at 3300 mV fast normal
regulator: overall_current: fast normal
regulator: mxs-duart-1: fast normal
regulator: mxs-bl-1: fast normal
regulator: mxs-i2c-1: fast normal
regulator: mmc_ssp-1: fast normal
regulator: mmc_ssp-2: fast normal
regulator: charger-1: fast normal
regulator: power-test-1: fast normal
regulator: cpufreq-1: fast normal
i.MX IRAM pool: 28 KB@0xc4808000
usb: DR gadget (utmi) registered
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource mxs clock source
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Freeing initrd memory: 4096K
Bus freq driver module loaded
mxs_cpu_init: cpufreq init finished
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 118
alg: No test for stdrng (krng)
cryptodev: driver loaded.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 90x36
mxs-duart.0: ttyAMA0 at MMIO 0x80070000 (irq = 0) is a DebugUART
mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 24) is a mxs-auart.1
Found APPUART 3.0.0
brd: module loaded
loop: module loaded
usbcore: registered new interface driver smsc95xx
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci: irq 11, io base 0x80080000
fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.35-6-ARCH+ ehci_hcd
usb usb1: SerialNumber: fsl-ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
ARC USBOTG Device Controller driver (1 August 2005)
udc: request mem region for fsl-usb2-udc failed
fsl-usb2-udc: probe of fsl-usb2-udc failed with error -16
mice: PS/2 mouse device common for all mice
MXS RTC driver v1.0 hardware v2.0.0
mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0
i2c /dev entries driver
WARNING : No battery connected !
Aborting power driver initialization
mxs-battery: probe of mxs-battery.0 failed with error 1
mxs watchdog: initialized, heartbeat 19 sec
mxs-mmc: MXS SSP Controller MMC Interface driver
ssp_set_rate: error -110
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 14 ERRIRQ 15
dcp dcp.0: DCP crypto enabled.!
mxs-adc-audio mxs-adc-audio.0: MXS ADC/DAC Audio Codec
No device for DAI mxs adc/dac
No device for DAI mxs adc/dac
asoc: mxs adc/dac <-> mxs adc/dac mapping ok
ALSA device list:
  #0: MXS EVK (mxs adc/dac)
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
registered taskstats version 1
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:10 UTC (10)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address b368
mmcblk0: mmc0:b368 00000 1.86 GiB
 mmcblk0: p1 p2
usb 1-1: new high speed USB device using fsl-ehci and address 2
usb 1-1: New USB device found, idVendor=9710, idProduct=7830
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: USB-MAC Controller   
usb 1-1: Manufacturer: Moschip Semiconductor
usb 1-1: SerialNumber: 3b1207a5
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext2 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 128K
INIT: version 2.88 booting
 
 > Arch Linux ARM
 
 > http://www.archlinuxarm.org

   ------------------------------
:: Mounting Root Read-Only                                               [BUSY] EXT4-fs (mmcblk0p2): re-mounted. Opts: barrier=1,data=ordered
                                                                         [DONE]
:: Adjusting system time and setting kernel timezone                     [DONE]
:: Starting UDev Daemon                                                  [DONE]
<30>systemd-udevd[63]: starting version 186
:: Triggering UDev uevents                                               [DONE]
:: Loading User-specified Modules                                        [DONE]
:: Waiting for UDev uevents to be processed                              [DONE]
:: Configuring Virtual Consoles                                          [DONE]
:: Bringing up loopback interface                                        [DONE]
:: Unlocking encrypted volumes                                           [DONE]
:: Checking Filesystems                                                  [DONE]
:: Remounting Root and API filesystems                                   [BUSY] EXT4-fs (mmcblk0p2): re-mounted. Opts: barrier=1,data=ordered
                                                                         [DONE]
:: Mounting Local Filesystems                                            [DONE]
:: Activating Swap                                                       [DONE]
:: Configuring Time Zone                                                 [DONE]
:: Initializing Random Seed                                              [DONE]
:: Removing Leftover Files                                               [DONE]
:: Setting Hostname: alarm                                               [DONE]
:: Saving dmesg Log                                                      [DONE]
INIT: Entering runlevel: 3
:: Starting Syslog-NG                                                    [DONE]
:: Starting Network                                                      [DONE]
:: Mounting Network Filesystems                                          [DONE]
:: Starting crond daemon                                                 [DONE]
:: Starting Secure Shell Daemon                                          [DONE]

Arch Linux 2.6.35-6-ARCH+ (ttyAMA0)

alarm login: root
Password:
Last login: Wed Dec 31 20:57:19 CST 1969 on ttyAMA0
Last login: Wed Dec 31 18:00:41 on ttyAMA0
[root@alarm ~]# Internal error: Oops - undefined instruction: 0 [#1] PREEMPT
last sysfs file: /sys/class/gpio/gpio65/value
Modules linked in:
CPU: 0    Not tainted  (2.6.35-6-ARCH+ #1)
PC is at softlockup_tick+0x50/0x180
LR is at softlockup_tick+0x8/0x180
pc : [<c00776c8>]    lr : [<c0077680>]    psr: 20000093
sp : c3fe7db0  ip : c38df5c0  fp : 00000000
r10: 00000000  r9 : 7fffffff  r8 : c03d8ccc
r7 : c3fe7ec0  r6 : 00000000  r5 : c03d8cdc  r4 : 000005a7
r3 : c03d8cdc  r2 : 0000003c  r1 : 00000000  r0 : 00000000
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 43fc4000  DAC: 00000015
Process crond (pid: 151, stack limit = 0xc3fe6270)
Stack: (0xc3fe7db0 to 0xc3fe8000)
7da0:                                     00000001 00000000 c3fe7dc0 c38df000
7dc0: 00000000 00000000 c3fe7ec0 ffffffff 1c03a180 c004eae0 1c03a2a3 00000614
7de0: c03d7e50 c0065408 c03d79c8 c005c588 1c03a2a3 00000614 c03d79c8 c03d7e50
7e00: c03d7968 c0065384 c03d7998 c005c72c c03d7938 00000003 c03d79c8 c005cf28
7e20: befc3b7c c01651d4 1c03a2a3 00000614 1c03a2a3 00000614 00000000 c3891220
7e40: c3fe6000 3b9ac9ff 1c03a2a3 00000614 1c03a2a3 00000614 00000002 c03d55c8
7e60: 00000000 00000000 0000001c 00000000 c3fe6000 ffffb1bb befc3b7c c0036ec8
7e80: c0036e98 c0077f5c 00000000 c03d95c4 0000001c c03d55c8 00000001 c00799b8
7ea0: 0000001c 00000000 c03debb8 c0028068 a0000013 ffffffff f0000000 c0028984
7ec0: c3bca488 c0403f68 c3fe7f10 00000001 c3bca488 c3bca488 c03debb8 00100100
7ee0: c0028f44 c3fe6000 ffffb1bb befc3b7c c3c0010c c3fe7f08 c00bd4dc c0165158
7f00: a0000013 ffffffff 00000001 c3bca488 00200200 c00bd4dc 0000000c c3fe7f38
7f20: c3fe7f50 00000000 000000c3 c00b4c4c 00000000 c00b03cc c3891220 c3bca488
7f40: c3fe7f50 befc3af0 00000000 c00b05a0 0000bec5 00000000 0b300002 c3fe81a4
7f60: 00000002 00000000 00000000 00000000 00000de7 00000000 00000029 009b70da
7f80: 4f92e138 00000000 504443d1 00000000 00001000 000308bb 00000008 00000000
7fa0: 4016d228 c0028dc0 4016d228 00000000 4016d228 befc3af0 befc3af0 00000000
7fc0: 4016d228 00000000 00000000 000000c3 00000001 40181000 ffffb1bb befc3b7c
7fe0: 00000000 befc3a90 400dd328 4010d3b8 20000010 4016d228 ffffffff ffffffff
[<c00776c8>] (softlockup_tick+0x50/0x180) from [<c004eae0>] (update_process_times+0x30/0x50)
[<c004eae0>] (update_process_times+0x30/0x50) from [<c0065408>] (tick_sched_timer+0x84/0xb8)
[<c0065408>] (tick_sched_timer+0x84/0xb8) from [<c005c72c>] (__run_hrtimer.isra.20+0x68/0xb0)
[<c005c72c>] (__run_hrtimer.isra.20+0x68/0xb0) from [<c005cf28>] (hrtimer_interrupt+0x11c/0x2e8)
[<c005cf28>] (hrtimer_interrupt+0x11c/0x2e8) from [<c0036ec8>] (mxs_nomatch_timer_interrupt+0x30/0x70)
[<c0036ec8>] (mxs_nomatch_timer_interrupt+0x30/0x70) from [<c0077f5c>] (handle_IRQ_event+0x24/0xec)
[<c0077f5c>] (handle_IRQ_event+0x24/0xec) from [<c00799b8>] (handle_level_irq+0xcc/0x164)
[<c00799b8>] (handle_level_irq+0xcc/0x164) from [<c0028068>] (asm_do_IRQ+0x68/0x88)
[<c0028068>] (asm_do_IRQ+0x68/0x88) from [<c0028984>] (__irq_svc+0x44/0xac)
Exception stack(0xc3fe7ec0 to 0xc3fe7f08)
7ec0: c3bca488 c0403f68 c3fe7f10 00000001 c3bca488 c3bca488 c03debb8 00100100
7ee0: c0028f44 c3fe6000 ffffb1bb befc3b7c c3c0010c c3fe7f08 c00bd4dc c0165158
7f00: a0000013 ffffffff
[<c0028984>] (__irq_svc+0x44/0xac) from [<c0165158>] (_atomic_dec_and_lock+0x8/0xac)
[<c0165158>] (_atomic_dec_and_lock+0x8/0xac) from [<c00bd4dc>] (dput+0x28/0x1a8)
[<c00bd4dc>] (dput+0x28/0x1a8) from [<c00b4c4c>] (path_put+0x10/0x2c)
[<c00b4c4c>] (path_put+0x10/0x2c) from [<c00b03cc>] (vfs_fstatat+0x44/0x54)
[<c00b03cc>] (vfs_fstatat+0x44/0x54) from [<c00b05a0>] (sys_stat64+0x14/0x30)
[<c00b05a0>] (sys_stat64+0x14/0x30) from [<c0028dc0>] (ret_fast_syscall+0x0/0x2c)
Code: 13a02000 15832000 ea000043 e3540000 (1a000005)
---[ end trace 8ae863caf993af8e ]---
Kernel panic - not syncing: Fatal exception in interrupt

Title: Re: Kernel panic - not syncing: Fatal exception in interrupt
Post by: LubOlimex on October 01, 2012, 11:07:13 AM
Hello there,

Please check the following topic: https://www.olimex.com/forum/index.php?topic=59.0 (https://www.olimex.com/forum/index.php?topic=59.0)

We have found that removing/unsoldering R17 (120R) increases stability. My suggestion is to apply this easy fix until we find a better solution.

Regards,
Lub/OLIMEX