Hi there, hope someone can help here.
We have a number of freescale imx6q boards (~20 of them) and in general they run fine, however on a few of them I have come across an "unable to handle kernel null pointer dereference at virtual address xx". I've built my own kernel here based on boundary 3.0.35-4.1 with some small mods to GPIO default settings and providing some additional usb device support. The image being run is based on the one found at boundary-devices.com/rapping-raring/.
I'd say I've come across this problem on 10-15% of the boards we are using and I cannot see what can be different - in fact the only differences between the images I am running on each board are one configuration file (for my own software) and the networking setup (as we have static ips). I've coped over the output from serial below. Any pointers would be very very gratefully recieved.
Cheers,
Geoff
U-Boot 2013.01-rc1-00120-g7c28db0 (Nov 12 2012 - 09:15:04)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: SABRE Lite
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
auto-detected panel wvga-rgb
Display: wvga-rgb (800x480)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Warning: failed to set MAC address
Hit any key to stop autoboot: 0
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
No port device detected!
** Bad device size - sata 0 **
** Bad device size - sata 0 **
SATA device 1: unknown device
** Bad device sata 1 **
** Bad device sata 1 **
MMC: no card present
mmc0(part 0) is current device
MMC: no card present
** Bad device mmc 0 **
MMC: no card present
** Bad device mmc 0 **
mmc1 is current device
** Unrecognized filesystem type **
2627 bytes read
## Executing script at 10008000
------ no HDMI monitor
Setting bus to 2
Valid chip addresses:
------ no Freescale display
Valid chip addresses:
------ no ft5x06 touch controller
Valid chip addresses: 48
** File not found /boot/imx6q-sabrelite.dtb **
only CEA modes allowed on HDMI port
3946812 bytes read
## Booting kernel from Legacy Image at 10800000 ...
Image Name: Linux-3.0.35-g45afd54-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3946748 Bytes = 3.8 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-g45afd54-dirty (root@linaro-alip) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #2 SMP PREEMPT Thu Jun 12 10:53:12 UTC 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Boundary Devices Nitrogen6X/SABRE Lite Board
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, silicon rev 1.2
PERCPU: Embedded 7 pages/cpu @cc009000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227328
Kernel command line: enable_wait_mode=off video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=10M console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait root=/dev/mmcblk0p1 mxc_hdmi.only_cea=1
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 640MB 256MB = 896MB total
Memory: 900840k/900840k available, 147736k reserved, 507904K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf4600000 - 0xffe00000 ( 184 MB)
vmalloc : 0xd9800000 - 0xf2000000 ( 392 MB)
lowmem : 0xc0000000 - 0xd9000000 ( 400 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc003b000 ( 204 kB)
.text : 0xc003b000 - 0xc0715a88 (7019 kB)
.data : 0xc0716000 - 0xc07734c0 ( 374 kB)
.bss : 0xc07734e4 - 0xc07b9bec ( 282 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x21e8000 (options '115200')
bootconsole [ttymxc1] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
devtmpfs: initialized
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
lcd_disable_pins
------------ Board type Sabre Lite
imx_add_mxc_pwm:pdata= (null)
imx_add_mxc_pwm:pdata= (null)
imx_add_mxc_pwm:pdata=c0739dc8
imx_add_mxc_pwm:pdata= (null)
Flexcan NXP tja1040
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
print_constraints: VDDA: 2500 mV
print_constraints: VDDIO: 3300 mV
machine_constraints_voltage: VDDD: unsupportable voltage constraints
reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
reg-fixed-voltage: probe of reg-fixed-voltage.2 failed with error -22
print_constraints: vmmc: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: invalid param for mipi csi2!
mxc_mipi_csi2: probe of mxc_mipi_csi2 failed with error -22
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is disabled for i.MX6
cpaddr = d9880000 suspend_iram_base=d9918000
PM driver module loaded
iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.
PCIE: imx_pcie_pltfm_probe start link up.
link up failed, DB_R0:0x00d01400, DB_R1:0x08200000!
IMX PCIe port: link down!
IMX usb wakeup probe
add wake up source irq 75
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
highmem bounce pool size: 64 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 767
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pwm_config: pwm freq = 32786, clk_select=2 clock_rate=22000000
pwm_config: pwm freq = 20000, clk_select=2 clock_rate=22000000
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver lcd
lcd_enable_pins
ipu_init_sync_panel: disp=0, pixel_clk=27000000 27000000
pwm_config: pwm freq = 32786, clk_select=2 clock_rate=22000000
pwm_config: pwm freq = 20000, clk_select=2 clock_rate=22000000
ipu_init_sync_panel: disp=0, pixel_clk=27000000 27000000
Console: switching to colour frame buffer device 100x30
mxc_sdc_fb mxc_sdc_fb.1: mxcfb1 is turned off!
mxc_sdc_fb mxc_sdc_fb.2: mxcfb2 is turned off!
mxc_sdc_fb mxc_sdc_fb.3: mxcfb3 is turned off!
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
old_ufcr=a81 new_ufcr=b01, old_ucr2=4027 new_ucr2=4027, old_ubir=f num=1f7, old_ubmr=15b denom=c34
clk=80000000 div=7 num=504 denom=3125 baud=115200
console [ttymxc1] enabled, bootconsole disabled
console [ttymxc1] enabled, bootconsole disabled
loop: module loaded
Can't recover from RESET HBA!
No sata disk.
m25p80 spi0.0: sst25vf016b (2048 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x0000000c0000 : "bootloader"
0x0000000c0000-0x0000000c2000 : "ubparams"
0x0000000c2000-0x000000200000 : "unused"
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=d99a8000, irq=142)
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for cp210x
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
USB Serial support registered for Keyspan - (without firmware)
USB Serial support registered for Keyspan 1 port adapter
USB Serial support registered for Keyspan 2 port adapter
USB Serial support registered for Keyspan 4 port adapter
usbcore: registered new interface driver keyspan
keyspan: v1.1.5:Keyspan USB to Serial Converter Driver
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
USB Serial support registered for Qualcomm USB modem
usbcore: registered new interface driver qcserial
ARC USBOTG Device Controller driver (1 August 2005)
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
input: tsc2004 as /devices/virtual/input/input1
egalax_ts 2-0004: egalax_ts: failed to read firmware version
egalax_ts: probe of 2-0004 failed with error -5
ft5x06-ts 2-0038: ft5x06: Could not detect touch screen.
ft5x06: May 23 2014
check_alarm_past: alarm in the past
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
i2c-core: driver [mma8450] using legacy suspend method
i2c-core: driver [mma8450] using legacy resume method
add mma8450 i2c driver
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCILL protocol initialized
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
sdhci sdhci-esdhc-imx.3: no write-protect pin available!
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
Galcore version 4.6.9.6622
usb 2-1: new high speed USB device number 2 using fsl-ehci
Thermal calibration data is 0x56a4b77d
Thermal sensor with ratio = 178
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
sgtl5000 0-000a: Failed to get supply 'VDDD': -19
print_constraints: 0-000a: 850 <--> 1600 mV at 1200 mV normal
sgtl5000 0-000a: sgtl5000 revision 17
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
asoc: sgtl5000 <-> imx-ssi.1 mapping ok
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
#0: sgtl5000-audio
NET: Registered protocol family 26
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
Waiting for root device /dev/mmcblk0p1...
mmc1: host does not support reading read-only switch. assuming write-enable.
mmc1: new high speed SDHC card at address 0001
mmcblk0: mmc1:0001 00000 14.6 GiB
mmcblk0: p1
usb 2-1.1: new full speed USB device number 3 using fsl-ehci
EXT3-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (240)
input: Burr-Brown from TI USB Audio CODEC as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.3/input/input2
EXT2-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (244)
generic-usb 0003:08BB:2902.0001: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI USB Audio CODEC ] on usb-fsl-ehci.1-1.1/input3
usb 2-1.2: new high speed USB device number 4 using fsl-ehci
hub 2-1.2:1.0: USB hub found
hub 2-1.2:1.0: 4 ports detected
EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: mounted
Freeing init memory: 204K
usb 2-1.2.2: new high speed USB device number 5 using fsl-ehci
hub 2-1.2.2:1.0: USB hub found
hub 2-1.2.2:1.0: 4 ports detected
usb 2-1.2.4: new low speed USB device number 6 using fsl-ehci
input: Microsoft Microsoft Basic Optical Mouse v2.0 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.4/2-1.2.4:1.0/input/input3
generic-usb 0003:045E:00CB.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse v2.0 ] on usb-fsl-ehci.1-1.2.4/input0
init: ureadahead main process (75) terminated with status 5
usb 2-1.2.2.1: new low speed USB device number 7 using fsl-ehci
input: Microsoft Wired Keyboard 600 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2.1/2-1.2.2.1:1.0/input/input4
generic-usb 0003:045E:0750.0003: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-fsl-ehci.1-1.2.2.1/input0
input: Microsoft Wired Keyboard 600 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2.1/2-1.2.2.1:1.1/input/input5
generic-usb 0003:045E:0750.0004: input,hidraw3: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-fsl-ehci.1-1.2.2.1/input1
update_device_addr: ov5642 ret=-5
ov5642_read_reg:write reg error:reg=300a
ov5640_read_reg:write reg error:reg=300a
Last login: Thu Jan 1 00:12:34 UTC 1970 on tty1
Welcome to Linaro 13.09 (GNU/Linux 3.0.35-g45afd54-dirty armv7l)
* Documentation: https://wiki.linaro.org/
root@linaro-alip:~#
root@linaro-alip:~#
root@linaro-alip:~# Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = d72f4000
[00000004] *pgd=26e00831, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1] PREEMPT SMP
Modules linked in: ov5640_camera ov5642_camera camera_sensor_clock vivante drm
CPU: 0 Not tainted (3.0.35-g45afd54-dirty #2)
PC is at iso_sched_free+0x30/0x48
LR is at ehci_urb_enqueue+0xc50/0xe38
pc : [<c02f80c4>] lr : [<c0300930>] psr: 200f0193
sp : d72f3ad4 ip : d714af00 fp : 00000000
r10: d64f54e8 r9 : 00000000 r8 : d6b08300
r7 : 00000001 r6 : d65d7d80 r5 : d714af00 r4 : d65d7d94
r3 : d65d7d8c r2 : 00000000 r1 : d714af00 r0 : d65d7d80
Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 272f404a DAC: 00000015
Process java (pid: 791, stack limit = 0xd72f22f0)
Stack: (0xd72f3ad4 to 0xd72f4000)
3ac0: d65d7d8c 00000784 00002d00
3ae0: 2225b000 00000000 d64f5400 d65d7d80 00000001 00000000 d64f54f8 c0300930
3b00: d65d7d8c 600f0193 00001000 d64f54e8 80000080 ffbfc4b4 d714af00 00000000
3b20: d72f3b20 d72f3b20 d64f5400 00000886 2225b000 d6b08300 00000000 d64f5400
3b40: d6b08308 00000020 0000011a 00000000 d64ca468 c02ea408 00000001 600f0193
3b60: 00000001 ffdf0000 d65c5358 00000000 d6918a80 d65c51c0 d65c5240 d6b08300
3b80: d6579300 00000004 0000011a 00000000 d64ca468 c03e1704 c03e1684 d6b08300
3ba0: 00000000 d64f54f8 d64f5400 c02e9710 00000000 00000000 d6b08300 c02fae6c
3bc0: d6b08300 ffbfc360 d65d7d80 00000000 d64f54e8 c02fede4 d72f3bd8 d72f3bd8
3be0: d65d254c 0000011a 0000011a ffdf7468 00000468 000008d0 00000000 d64f5538
3c00: 000008d6 00000fff d72f3c98 d64f54f8 d64f5400 00000000 d64f5400 d99a4340
3c20: 000c4081 d64f54f8 c072ba6c d64f54e8 00000001 c02ffaa0 ffbfc394 ffbfc394
3c40: 00000001 d65d7d80 d615bc00 d64f5400 a00f0193 00000001 00000000 00000048
3c60: c077d04c c071a500 00000001 c02e9230 d64daa40 00000000 00000000 c00ad9cc
3c80: 00001000 d64f54e8 80000080 c071a500 c071a54c d615ae00 00000048 00000000
3ca0: d72f2000 00000040 40b897ec c00adb38 c071a500 c071a54c 00058e8b c00b0070
3cc0: c072bcc8 c0039c00 d72f2000 c00ad334 00000270 c00419a0 ffffffff f2a00100
3ce0: 00000048 00000001 00000000 c0040acc d68d0580 00000000 d72f3d98 d72f3d9c
3d00: d68d0580 d72f3eec 00000040 00000000 00000040 d68d0580 00000040 40b897ec
3d20: c0495c50 d72f3d38 c0495ce4 c04029ac 200f0013 ffffffff d72f3d98 d72f3d9c
3d40: d68d0684 00000000 ffbfc900 c02fe99c d72f3de0 d64f54f8 d64f5400 00000119
3d60: 00000119 d68d0580 d72f3eec d72f2000 00000000 00000040 d72f3eec 00000040
3d80: 40b897ec c0495ce4 00000040 00000000 d68d05b0 d68d07b4 000c4081 fffffff5
3da0: 00000012 d68d0580 00000000 d72f3eec 00000040 d72f3e40 d72f3eec 00000040
3dc0: 40b897ec c045e560 00000040 00000000 d72f3ddc 00000048 00000000 0000001c
3de0: 00000000 00000000 00000000 d4571380 00000040 c03f72b4 00000040 d64f5400
3e00: d6b08788 c071a500 00000040 00000040 d4571380 00000000 00000000 d72f3eec
3e20: c071a54c c00adb44 c004ebec c071a500 00000000 d72f2000 c0039c00 d72f2000
3e40: 00000048 40b897ec 00000000 00000001 ffffffff 00000000 00000000 00000000
3e60: 00000000 00000000 d6b6a1c0 d72f3ee0 00000000 00000000 00000001 d70f2460
3e80: d72f3e00 d72f3ee0 40b89794 d72f2000 55981810 40b897ec 00000002 d72f3eb0
3ea0: c00f628c c00b2350 00000001 c00f628c fffffff7 d72f3edc 00000040 d4571380
3ec0: 00000040 d72f3f08 40b89794 d72f2000 55981810 c03f90e8 d64f5400 fffffff7
3ee0: 00000001 55981810 00000040 d72f3f08 00000080 d72f3ee4 00000001 00000000
3f00: 00000000 c054606c d615bc00 d64f5400 a00f0193 00000001 00000000 00000048
3f20: 00000000 00000001 00000001 00000080 00000048 c077d04c c071a500 c00ada24
3f40: d72f2000 c0718040 00000009 c071a500 c071a54c d615ae00 00000048 00000000
3f60: d72f2000 c071a500 c071a54c c00adb44 c004ebec c071a500 00000000 d72f2000
3f80: c0039c00 d72f2000 00000048 40b89794 40b8978c 00000040 00000124 c0041224
3fa0: 00000000 c0041080 40b89794 40b8978c 0000002d 55981810 00000040 00000000
3fc0: 40b89794 40b8978c 00000040 00000124 0000002d 40c07528 40b8978c 40b897ec
3fe0: 00000000 40b89770 400554ac 400554bc 800f0010 0000002d ffdfffff ffffffff
[<c02f80c4>] (iso_sched_free+0x30/0x48) from [<00000784>] (0x784)
Code: e591c004 e5834004 e5803014 e58c2000 (e582c004)
---[ end trace 256a2c0cd02acccf ]---
Kernel panic - not syncing: Fatal exception in interrupt
[<c0047e80>] (unwind_backtrace+0x0/0xf8) from [<c05402f0>] (panic+0x74/0x198)
[<c05402f0>] (panic+0x74/0x198) from [<c00447d4>] (die+0x228/0x28c)
[<c00447d4>] (die+0x228/0x28c) from [<c053f47c>] (__do_kernel_fault.part.3+0x54/0x74)
[<c053f47c>] (__do_kernel_fault.part.3+0x54/0x74) from [<c004b9c4>] (do_page_fault+0x234/0x2f8)
[<c004b9c4>] (do_page_fault+0x234/0x2f8) from [<c003b374>] (do_DataAbort+0x34/0x98)
[<c003b374>] (do_DataAbort+0x34/0x98) from [<c0040a50>] (__dabt_svc+0x70/0xa0)
Exception stack(0xd72f3a88 to 0xd72f3ad0)
3a80: d65d7d80 d714af00 00000000 d65d7d8c d65d7d94 d714af00
3aa0: d65d7d80 00000001 d6b08300 00000000 d64f54e8 00000000 d714af00 d72f3ad4
3ac0: c0300930 c02f80c4 200f0193 ffffffff
[<c0040a50>] (__dabt_svc+0x70/0xa0) from [<c02f80c4>] (iso_sched_free+0x30/0x48)
[<c02f80c4>] (iso_sched_free+0x30/0x48) from [<00000784>] (0x784)
CPU3: stopping
[<c0047e80>] (unwind_backtrace+0x0/0xf8) from [<c003b314>] (do_IPI+0x124/0x150)
[<c003b314>] (do_IPI+0x124/0x150) from [<c0040acc>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6067f90 to 0xd6067fd8)
7f80: 20000000 0000001d 00000000 f40dc010
7fa0: d6066000 c072fcdc c07735a4 c054a7b4 1000406a 412fc09a 00000000 00000000
7fc0: 00000001 d6067fd8 c004fa78 c0041bf8 800f0013 ffffffff
[<c0040acc>] (__irq_svc+0x4c/0xe8) from [<c0041bf8>] (default_idle+0x24/0x28)
[<c0041bf8>] (default_idle+0x24/0x28) from [<c0041dc8>] (cpu_idle+0x94/0x104)
[<c0041dc8>] (cpu_idle+0x94/0x104) from [<1053c5d4>] (0x1053c5d4)
CPU1: stopping
[<c0047e80>] (unwind_backtrace+0x0/0xf8) from [<c003b314>] (do_IPI+0x124/0x150)
[<c003b314>] (do_IPI+0x124/0x150) from [<c0040acc>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6057f90 to 0xd6057fd8)
7f80: 20000000 0000001d 00000000 f40dc010
7fa0: d6056000 c072fcdc c07735a4 c054a7b4 1000406a 412fc09a 00000000 00000000
7fc0: 00000001 d6057fd8 c004fa78 c0041bf8 800f0013 ffffffff
[<c0040acc>] (__irq_svc+0x4c/0xe8) from [<c0041bf8>] (default_idle+0x24/0x28)
[<c0041bf8>] (default_idle+0x24/0x28) from [<c0041dc8>] (cpu_idle+0x94/0x104)
[<c0041dc8>] (cpu_idle+0x94/0x104) from [<1053c5d4>] (0x1053c5d4)
CPU2: stopping
[<c0047e80>] (unwind_backtrace+0x0/0xf8) from [<c003b314>] (do_IPI+0x124/0x150)
[<c003b314>] (do_IPI+0x124/0x150) from [<c0040acc>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd605ff90 to 0xd605ffd8)
ff80: 20000000 0000001d 00000000 f40dc010
ffa0: d605e000 c072fcdc c07735a4 c054a7b4 1000406a 412fc09a 00000000 00000000
ffc0: 00000001 d605ffd8 c004fa78 c0041bf8 800f0013 ffffffff
[<c0040acc>] (__irq_svc+0x4c/0xe8) from [<c0041bf8>] (default_idle+0x24/0x28)
[<c0041bf8>] (default_idle+0x24/0x28) from [<c0041dc8>] (cpu_idle+0x94/0x104)
[<c0041dc8>] (cpu_idle+0x94/0x104) from [<1053c5d4>] (0x1053c5d4)
Hi Geoff,
It's kinda hard to see what might be causing this, but it's clearly a bad thing.
There is one thing in your log that stands out though:
U-Boot 2013.01-rc1-00120-g7c28db0 (Nov 12 2012 - 09:15:04)
This makes no sense (U-Boot 2013.01 with a build date of 11/2012).
It's also a very old version of U-Boot. We've made a number of bug fixes since the 2013.01 release as described in our blog:
http://boundarydevices.com/tag/u-boot/
Can you update one of the mis-behaving boards to the 2014.04 release? It's hard to say whether any of them matches the very generic crash in your log, but it's worth ruling out.
If you're also using an old boot script, you might need this patch:
nitrogen6x boot script: fix quotes in setenv · 7dd870e · boundarydevices/u-boot-imx6 · GitHub
I dont want to speak to soon but updating u-boot seems to have made things much more stable and I havent seen any null reference pointer errors :smileyhappy:
thanks Eric, I'll report back if I do get the same type of error again of course
Cheers,
Geoff