[meta-xilinx] Oops when starting Init. kernel access of bad area, sig: 11
Martin Townsend
martin.townsend at xsilon.com
Wed Dec 4 08:04:55 PST 2013
Hi,
I'm getting the following oops, I've checked what lives at
(rPC=C0002EEC) and it looks likes it's the setup_rt_frame function
looking at System.map:
c00028a8 t setup_sigcontext
c0002cb4 t setup_rt_frame
c0002ff8 t do_signal
Here's the console output, any help is greatly appreciated.
Best Regards,
Martin
Bytes transferred = 4730836 (482fd4 hex)
## Booting kernel from Legacy Image at c1000000 ...
Image Name: Linux-3.10.0
Image Type: MicroBlaze Linux Kernel Image (uncompressed)
Data Size: 4730772 Bytes = 4.5 MiB
Load Address: c0000000
Entry Point: c0000000
Verifying Checksum ... OK
## Flattened Device Tree blob at c2000000
Booting using the fdt blob at 0xc2000000
Loading Kernel Image ... OK
OK
Early console on uartlite at 0x40600000
bootconsole [earlyser0] enabled
Ramdisk addr 0x00000000,
FDT at 0xc2000000
Linux version 3.10.0 (martin at statler-ubuntu) (gcc version 4.8.2 (GCC) )
#1 PREEMPT Wed Dec 4 13:20:02 GMT 2013
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
wt_msr_noirq
setup_memory: max_mapnr: 0x4000
setup_memory: min_low_pfn: 0xc0000
setup_memory: max_low_pfn: 0xc4000
setup_memory: max_pfn: 0xc4000
Zone ranges:
DMA [mem 0xc0000000-0xc3ffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0xc0000000-0xc3ffffff]
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c045e508, node_mem_map c049b000
DMA zone: 128 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 16384 pages, LIFO batch:3
early_printk_console remapping from 0x40600000 to 0xffffd000
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyUL0,9600n8 ip=192.168.2.1 rootfstype=nfs
root=/dev/nfs rw
nfsroot=192.168.2.100:/export/ml605-mb-rootfs-02-52-CB,tcp,nolock,wsize=4096,rsize=4096
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)
Sorting __ex_table...
Memory: 60136k/65536k available (4352k kernel code, 5400k reserved, 123k
data, 86k bss, 143k init)
Kernel virtual memory layout:
* 0xffffe000..0xfffff000 : fixmap
* 0xffffd000..0xffffe000 : early ioremap
* 0xf0000000..0xffffd000 : vmalloc & ioremap
Preemptible hierarchical RCU implementation.
NR_IRQS:33
/axi at 1/interrupt-controller at 41200000: num_irq=13, edge=0xc3a
/axi at 1/axi at 0/timer at 41c00000: irq=1
xilinx_timer_set_mode: shutdown
xilinx_timer_set_mode: periodic
Calibrating delay loop... 48.70 BogoMIPS (lpj=97408)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource xilinx_clocksource
xilinx_timer_set_mode: oneshot
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
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
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.
GPIO IRQ not connected
XGpio: /axi at 1/gpio at 40060000: registered, base is 248
GPIO IRQ not connected
XGpio: /axi at 1/gpio at 40040000: registered, base is 240
GPIO IRQ not connected
XGpio: /axi at 1/gpio at 40020000: registered, base is 235
GPIO IRQ not connected
XGpio: /axi at 1/gpio at 40000000: registered, base is 230
Skipping unavailable RESET gpio -2 (reset)
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 117
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)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disa00600000.serial:
ttyUL0 at MMIO 0x40600000 (irq = 11) is a uartlite
console [ttyUL0] enabled, bootconsole disabled
console [ttyUL0] enabled, bootconsole disabled
brd: module loaded
xsysace 41800000.sysace: Xilinx SystemACE revision 1.0.12
xsysace 41800000.sysace: capacity: 3980592 sectors
xsa: xsa1
Xilinx SystemACE device driver, major=254
a2000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x008919
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=255
erase region 1: offset=0x1fe0000,size=0x8000,blocks=4
xilinx_axienet a1000000.axi-ethernet: TX_CSUM 0
xilinx_axienet a1000000.axi-ethernet: RX_CSUM 0
libphy: Xilinx Axi Ethernet MDIO: probed
i2c /dev entries driver
of_xilinx_wdt: driver loaded (timeout=0 sec, nowayout=0)
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, hwaddr=00:0a:35:02:52:cb, ipaddr=192.168.2.1,
mask=255.255.255.0, gw=255.255.255.255
host=192.168.2.1, domain=, nis-domain=(none)
bootserver=255.255.255.255, rootserver=192.168.2.1000libphy:
a1000000:07 - Link is Up - 100/Half
VFS: Mounted root (nfs filesystem) on device 0:11.
devtmpfs: mounted
Freeing unused kernel memory: 140K (c045f000 - c0482000)
INIT: version 2.88 booting
Oops: kernel access of bad area, sig: 11
CPU: 0 PID: 33 Comm: init Not tainted 3.10.0 #1
task: c391a0a0 ti: c3a06000 task.ti: c3a06000
Registers dump: mode=C3A07D9C
r1=00010000, r2=00000000, r3=000C0000, r4=C0000000
r5=00000DCC, r6=00000001, r7=00000008, r8=BFB7393C
r9=BFB73938, r10=FFFFFFF2, r11=00000004, r12=00000078
r13=00000000, r14=BFB73980, r15=C0002EB8, r16=00000000
r17=C0002EEC, r18=000000F2, r19=BFB73818, r20=48191FF4
r21=48196470, r22=C3A07F68, r23=0000000B, r24=C3A06000
r25=BFB73950, r26=0000000B, r27=C3A07F28, r28=BFB73898
r29=FFFFFFFA, r30=00000000, r31=C391A0A0, rPC=C0002EEC
msr=800046A6, ear=00000DCC, esr=000008B2, fsr=BFB7395C
note: init[33] exited with preempt_count 2
BUG: scheduling while atomic: init/33/0x10000003
Modules linked in:
CPU: 0 PID: 33 Comm: init Not tainted 3.10.0 #1
Kernel Stack:
c3a07a5c: c037ea94
c3a07a60: c3a07a50 00000000 c0384cb4 c0012850 c3a07a78 00000001 c0384ce4
c0398b24
c3a07a80: c391a258 00000021 10000003 00000000 00000000 c3a07a98 c0038110
c006dd54
c3a07aa0: 00400044 fffee425 00000000 00000000 c0012cc8 c3a07adc 00000000
c39ff1e0
c3a07ac0: 10008000 c3a07bc8 00000000 10008000 10008000 c39f0104 00030001
c0385a70
c3a07ae0: c3a07ae0 c3a07ae0 800065a6 c044f0fc c045e508 c007ee94 c3a07afc
c007eb58
c3a07b00: c006d2e8 00000001 c3a06000 00030001 10008000 00000000 10008000
c007f7e8
c3a07b20: c048eed8 c048eed8 000065a0 00000001 c044f0fc 00000000 00000000
00000000
c3a07b40: 00000000 c39f0100 00000028 00000000 c3a06000 c39f1c60 c39ff1e0
ffffffff
c3a07b60: c3a07bc8 00000000 c3a06000 c3a07c58 00000001 00000028 c3a06000
00030001
c3a07b80: c0085874 c39ff1e0 c39f1c60 00000000 c0085848 00000000 00000000
c39ff1e0
c3a07ba0: c39f1c60 00000000 c39f1c98 c0007bc8 c391a0a0 c000cdac 800045a4
c038659c
c3a07bc0: 0000002a c0386580 c39f1c60 ffffffff 00000000 c01d94ea c3a07bdc
00000000
c3a07be0: 00000000 00000008 800065a6 c3915a4c 00000000 c0007bbc 00000000
c0032c14
c3a07c00: c03922a8 c3a06000 00000000 c39f1c60 00000000 00000000 c000f330
c000f308
c3a07c20: c000f2fc 00000083 c391a0a0 0000000b c391a0a0 c391a0a0 c39f1c60
c0000f6c
c3a07c40: c0392c08 c391a258 00000021 00000002 00000400 00000000 00000000
c39f1c60
c3a07c60: 000008b2 0000000b c3a07d9c c03922a8 c3a06000 00000000 c39f1c60
000008b2
c3a07c80: 00000028 c3a06000 00030001 c0006f98 c0390000 c03922a8 0000000b
bfb7393c
c3a07ca0: bfb73938 fffffff2 c3a07d9c 00000dcc 0000000b c00073b4 bfb73954
c0007340
c3a07cc0: 0000000b c3a07d8c c0005c68 c00382f8 0000000b c3a07d9c c0005c68
bfb73818
c3a07ce0: c3a07f68 0000000b c3a06000 c391a298 0000000b c3a07f28 bfb73898
00000000
c3a07d00: fffffff2 c009176c c3a07d20 00000000 fffffff2 fffffff2 bfb73944
00010000
c3a07d20: 00010000 bfb7393c bfb73938 fffffff2 00000004 00000078 00000000
c391a0a0
c3a07d40: c0002df8 00000000 c0002ca0 00000014 bfb73818 48191ff4 48196470
c3a07f68
c3a07d60: 0000000b c3a06000 c391a298 0000000b c3a07f28 bfb73818 c3a07f68
0000000b
c3a07d80: c3a06000 bfb73950 0000000b c3a07f28 bfb73898 fffffffa 00000000
00000000
c3a07da0: 00010000 00000000 000c0000 c0000000 00000dcc 00000001 00000008
bfb7393c
c3a07dc0: bfb73938 fffffff2 00000004 00000078 00000000 bfb73980 c0002eb8
00000000
c3a07de0: c0002eec 000000f2 bfb73818 48191ff4 48196470 c3a07f68 0000000b
c3a06000
c3a07e00: bfb73950 0000000b c3a07f28 bfb73898 fffffffa 00000000 c391a0a0
c0002eec
c3a07e20: 800046a6 00000dcc 000008b2 bfb7395c c3a07d9c c00030d0 c3a07ea8
c3a06000
c3a07e40: 00000000 0000000b c0003028 c39f1c60 b9cc0008 318000ad 00000000
00000000
c3a07e60: c39f0000 c3a07f68 c3a06000 0000000b 00000000 00000020 00000003
00000000
c3a07e80: 00000000 00000000 00000000 c0003520 c39ffe40 c39f1c98 00000000
c39f1c60
c3a07ea0: 00000000 c0005c68 0000000b 00000000 00030001 bfb73960 cc8cdc88
5cc4cccc
c3a07ec0: cccc88ac c01d9384 c044c948 00000007 00000000 ffebb009 c3a0603c
000065a8
c3a07ee0: 00000000 88c8cccc c00055f4 00000000 c0038738 77e69f94 c3a07f44
00000000
c3a07f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
c3a07f20: 00000000 00000000 10003264 10000000 480204f4 00000000 c3a06000
00000000
c3a07f40: bfb73980 00000000 c0005ca8 00000000 00000020 00000003 00000000
00000000
c3a07f60: 00000000 00000004 00000078 bfb7395c 00000000 00000000 480aacd4
48196470
c3a07f80: 00000000 00000000 00000000 48196068 00000000 00000035 00000078
00000000
c3a07fa0: 00000000 bfb73948 00000000 480aacd8 7ffff000 bfb73970 48191ff4
48196470
c3a07fc0: 00000000 bfb73980 00000000 00000020 00000003 00000000 00000000
00000000
c3a07fe0: 00000000 00000000 480aacd8 000056a2 bfb73960 00000e92 00000000
00000000
Call Trace:
[<c0003c14>] microblaze_unwind+0x44/0x68
[<c0003930>] show_stack+0x11c/0x15c
[<c03801ec>] dump_stack+0x20/0x38
[<c037ea90>] __schedule_bug+0x54/0x8c
[<c0384ce0>] __schedule+0x8c/0x5c0
[<c003810c>] __cond_resched+0x1c/0x4c
[<c0385a6c>] _cond_resched+0x38/0x5c
[<c007eb54>] unmap_single_vma+0x178/0x518
[<c007f7e4>] unmap_vmas+0x48/0x74
[<c0085870>] exit_mmap+0x58/0x1b0
[<c0007bc4>] mmput+0x44/0x120
[<c000f32c>] do_exit+0x30c/0x908
[<c0000f68>] die+0xa4/0xb0
[<c0006f94>] bad_page_fault+0x3c/0x58
[<c00073b0>] do_page_fault+0x400/0x4b8
[<c0005c64>] page_fault_instr_trap+0x174/0x180
More information about the meta-xilinx
mailing list