When I boot the device and watch the system logs during bootup, I get a Kernel BUG and a Backtrace event that occurs. Below is the output:
[ 16.499877] kernel BUG at fs/sysfs/inode.c:268!
[ 16.504669] Internal error: Oops - undefined instruction: 0 [#1]
[ 16.510986] Modules linked in:
[ 16.514221] CPU: 0 Not tainted (3.2.0 #9)
[ 16.518829] PC is at sysfs_get_inode+0x158/0x18c
[ 16.523712] LR is at sysfs_get_inode+0xc4/0x18c
[ 16.528472] pc : [<c00fa134>] lr : [<c00fa0a0>] psr: 200f0013
[ 16.528503] sp : cf2efda8 ip : cf2efda8 fp : cf2efdcc
[ 16.540588] r10: ce902198 r9 : 00000001 r8 : 00000001
[ 16.546112] r7 : cf2efda8 r6 : ce90dcc4 r5 : cf0d7400 r4 : ce90dc80
[ 16.552978] r3 : 0000000b r2 : 0000a1ff r1 : ce90dc80 r0 : cf0d7400
[ 16.559875] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 16.567382] Control: 10c5387d Table: 8f350019 DAC: 00000015
[ 16.573455] Process udevadm (pid: 3256, stack limit = 0xcf2ee2f0)
[ 16.579864] Stack: (0xcf2efda8 to 0xcf2f0000)
[ 16.584472] fda0: 386d4b8a 1cbccc38 ce90cc98 ce904820 cf0d7400 00000000
[ 16.593109] fdc0: cf2efdec cf2efdd0 c00fbc0c c00f9fe8 ce904820 ce90cc98 cf2efed8 00000000
[ 16.601715] fde0: cf2efe0c cf2efdf0 c00aeff0 c00fbbc0 00000000 cf2efe70 cf2efed8 cf2efe84
[ 16.610351] fe00: cf2efe54 cf2efe10 c00af4b4 c00aefb0 cf25900f ce904884 cf2efee0 cf010080
[ 16.618988] fe20: c00b0e28 ce904820 cf259000 cf2efed8 00004010 cf2ee000 cf259000 00000000
[ 16.627624] fe40: cf2ee000 00000000 cf2efeb4 cf2efe58 c00b1020 c00af26c cf2efe80 cf2efe70
[ 16.636230] fe60: cf2efef4 cf2efe70 cf2efee0 cf2efe70 cf010080 ce90cd18 d7c6bb9d 00000000
[ 16.644866] fe80: 00000000 00000000 00000000 00004000 cf259000 ffffff9c cf2efed8 cf2eff6c
[ 16.653503] fea0: cf2ee000 00000000 cf2efed4 cf2efeb8 c00b15d0 c00b0efc cf259000 00004000
[ 16.662139] fec0: cf2efed8 ffffff9c cf2eff5c cf2efed8 c00b2e7c c00b15b8 cf010080 ce902198
[ 16.670745] fee0: 13ab7dd5 00000005 cf25900f cf010200 ce873718 ce904820 00004000 00000002
[ 16.679382] ff00: 00000000 00000000 000007f3 00000000 cf010080 be8cdac0 40287008 00000000
[ 16.688018] ff20: 000000c3 c0014368 cf2ee000 00000000 cf2effa4 cf2eff40 c00a9e74 00000400
[ 16.696655] ff40: be8cd684 be8cd684 00000055 c0014368 cf2eff94 cf2eff60 c00a9d9c c00b2e2c
[ 16.705291] ff60: cf2eff74 00000000 386d4b8a 1cbccc38 386d4b8a 00000000 4009ef10 40287008
[ 16.713897] ff80: be8cd684 00000055 cf2effa4 cf2eff98 c00a9e40 c00a9d6c 00000000 cf2effa8
[ 16.722534] ffa0: c00141c0 c00a9e24 4009ef10 40287008 be8cdb2c be8cd684 00000400 de96f500
[ 16.731170] ffc0: 4009ef10 40287008 be8cd684 00000055 00000004 00000400 40287148 4009ef10
[ 16.739807] ffe0: 4007ee50 be8cd66c 4006cca5 4022b0fc 400f0010 be8cdb2c 8fffe821 8fffec21
[ 16.748413] Backtrace:
[ 16.751007] [<c00f9fdc>] (sysfs_get_inode+0x0/0x18c) from [<c00fbc0c>] (sysfs_lookup+0x58/0xf4)
[ 16.760192] r7:00000000 r6:cf0d7400 r5:ce904820 r4:ce90cc98
[ 16.766174] [<c00fbbb4>] (sysfs_lookup+0x0/0xf4) from [<c00aeff0>] (d_alloc_and_lookup+0x4c/0x6c)
[ 16.775543] r7:00000000 r6:cf2efed8 r5:ce90cc98 r4:ce904820
[ 16.781524] [<c00aefa4>] (d_alloc_and_lookup+0x0/0x6c) from [<c00af4b4>] (do_lookup+0x254/0x348)
[ 16.790802] r6:cf2efe84 r5:cf2efed8 r4:cf2efe70 r3:00000000
[ 16.796783] [<c00af260>] (do_lookup+0x0/0x348) from [<c00b1020>] (path_lookupat+0x130/0x6bc)
[ 16.805694] [<c00b0ef0>] (path_lookupat+0x0/0x6bc) from [<c00b15d0>] (do_path_lookup+0x24/0x64)
[ 16.814880] [<c00b15ac>] (do_path_lookup+0x0/0x64) from [<c00b2e7c>] (user_path_at_empty+0x5c/0x90)
[ 16.824401] r7:ffffff9c r6:cf2efed8 r5:00004000 r4:cf259000
[ 16.830413] [<c00b2e20>] (user_path_at_empty+0x0/0x90) from [<c00a9d9c>] (sys_readlinkat+0x3c/0xb8)
[ 16.839965] r8:c0014368 r7:00000055 r6:be8cd684 r5:be8cd684 r4:00000400
[ 16.847045] [<c00a9d60>] (sys_readlinkat+0x0/0xb8) from [<c00a9e40>] (sys_readlink+0x28/0x2c)
[ 16.856048] r7:00000055 r6:be8cd684 r5:40287008 r4:4009ef10
[ 16.862060] [<c00a9e18>] (sys_readlink+0x0/0x2c) from [<c00141c0>] (ret_fast_syscall+0x0/0x30)
[ 16.871154] Code: e5843018 e59f3030 e58430b8 eaffffe9 (e7f001f2)
[ 16.877685] ---[ end trace 47f27bf4fa6f8222 ]---
The issue is that sometimes it will boot all the way without giving any kind of error, and other times it will throw this error at boot. When this error is displayed, the machine sometimes boots, even with the kernel panic and backtrace. Other times it throws this error and does not boot fully.
Unfortunately the error is intermittent, but it does happen nearly 40% of the time.
This is a custom designed board based off the Beagle Bone.