armbian / build

Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
https://www.armbian.com
GNU General Public License v2.0
3.87k stars 2.17k forks source link

sunxi64-next Kernel Oops #808

Closed cztian closed 6 years ago

cztian commented 6 years ago

[ 122.801673] i2c i2c-1: new_device: Instantiated device bmp085 at 0x77 [ 122.817301] bmp280 1-0077: 1-0077 supply vddd not found, using dummy regulator [ 122.817385] bmp280 1-0077: 1-0077 supply vdda not found, using dummy regulator [ 122.837383] Unable to handle kernel NULL pointer dereference at virtual address 00000010 [ 122.845990] user pgtable: 4k pages, 48-bit VAs, pgd = ffff80006b8b6000 [ 122.852923] [0000000000000010] *pgd=0000000000000000 [ 122.858204] Internal error: Oops: 96000004 [#1] SMP [ 122.863349] Modules linked in: bmp280_i2c(+) bmp280 ir_xmp_decoder ir_mce_kbd_decoder ir_sharp_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_nec_decoder ir_rc5_decoder r8723bs(C) cfg80211 ir_lirc_codec lirc_dev sunxi_cir snd_soc_simple_card snd_soc_simple_card_utils sun8i_codec_analog rfkill sun4i_codec snd_soc_hdmi_codec sun4i_i2s spidev snd_soc_core snd_pcm_dmaengine sun4i_gpadc_iio sunxi musb_hdrc iio_hwmon industrialio dw_hdmi_cec dw_hdmi_i2s_audio sun8i_dw_hdmi dw_hdmi cec rc_core sun4i_tcon sun8i_mixer sun4i_drm [ 122.962906] CPU: 0 PID: 1319 Comm: systemd-udevd Tainted: G C 4.13.9-sunxi64 #15 [ 122.982565] Hardware name: Xunlong Orange Pi Prime (DT) [ 122.998963] task: ffff800074073600 task.stack: ffff80006b8fc000 [ 123.016163] PC is at bmp280_common_probe+0x1f0/0x610 [bmp280] [ 123.033213] LR is at bmp280_common_probe+0x1f0/0x610 [bmp280] [ 123.050031] pc : [<ffff000000cb0330>] lr : [<ffff000000cb0330>] pstate: 60000145 [ 123.068540] sp : ffff80006b8ff990 [ 123.082789] x29: ffff80006b8ff990 x28: ffff000000cba150 [ 123.099007] x27: 0000000000000000 x26: 0000000000000000 [ 123.115082] x25: ffff800074cf4c00 x24: ffff000000cb9068 [ 123.131269] x23: ffff000008c38d88 x22: ffff80006b8ffa00 [ 123.147279] x21: ffff800073baad00 x20: ffff800074865420 [ 123.163080] x19: ffff800073baa800 x18: 0000000000000007 [ 123.178779] x17: 0000000000000001 x16: 0000000000000019 [ 123.194384] x15: 0000000000000033 x14: 000000000000004c [ 123.209953] x13: 0000000000000024 x12: 00000000000000f6 [ 123.225491] x11: 0000000000e2fbe2 x10: 0000000000000040 [ 123.240831] x9 : ffff000008c53660 x8 : ffff800075400248 [ 123.256044] x7 : ffff800075400270 x6 : 0000000000000000 [ 123.271266] x5 : ffff800075400248 x4 : ffff800075400270 [ 123.286373] x3 : 0000000000000000 x2 : 0000000000000000 [ 123.304135] x1 : 0000000000000020 x0 : 0000000000000000 [ 123.313680] Process systemd-udevd (pid: 1319, stack limit = 0xffff80006b8fc000) [ 123.325265] Stack: (0xffff80006b8ff990 to 0xffff80006b900000) [ 123.335270] f980: ffff80006b8ffa20 ffff000000cb808c [ 123.347414] f9a0: ffff000000cb9068 ffff800074865400 ffff800074cf4c00 ffff000000cba000 [ 123.359566] f9c0: ffff000000cba040 0000000000000035 0000000000000001 0000000000000015 [ 123.371660] f9e0: 00000000014000c0 ffff000000cb15a8 ffff80006b8ffa20 0000005500cb8068 [ 123.383677] fa00: c0869fc6e2fba51a 24007319f83c3a63 ffff0f0af6d10080 0000000000040d00 [ 123.395595] fa20: ffff80006b8ffa50 ffff00000873caa4 ffff800074865420 ffff000000cb8018 [ 123.407509] fa40: ffff800074865400 ffff000000cb8018 ffff80006b8ffa90 ffff000008625ae8 [ 123.419412] fa60: ffff800074865420 ffff000008d17000 0000000000000000 0000000000000000 [ 123.431167] fa80: ffff000000cba040 ffff000008d17000 ffff80006b8ffad0 ffff000008625c48 [ 123.442753] faa0: ffff800074865420 ffff000000cba040 ffff800074865480 ffff000008c38000 [ 123.454165] fac0: ffff000008c99000 ffff8000753bbd80 ffff80006b8ffb00 ffff000008623bb0 [ 123.465401] fae0: 0000000000000000 ffff000000cba040 ffff000008625b90 ffff000008c38000 [ 123.476471] fb00: ffff80006b8ffb50 ffff000008625408 ffff000000cba040 ffff800074976900 [ 123.487463] fb20: ffff000008cae138 0000000000000000 ffff80006b8ffb40 ffff800075177aa0 [ 123.498398] fb40: ffff800073b33b68 0000000000040d00 ffff80006b8ffb60 ffff000008624fac [ 123.509280] fb60: ffff80006b8ffba0 ffff000008626640 ffff000000cba040 0000000000000000 [ 123.520144] fb80: ffff000000cbd000 ffff800074073600 ffff80006b8ffe48 0000000000000015 [ 123.531066] fba0: ffff80006b8ffbc0 ffff00000873c3a4 ffff000000cba000 0000000000000000 [ 123.541919] fbc0: ffff80006b8ffbe0 ffff000000cbd014 ffff000008c38000 0000000000000000 [ 123.552401] fbe0: ffff80006b8ffbf0 ffff000008082944 ffff80006b8ffc80 ffff000008121e78 [ 123.562890] fc00: ffff000000cba100 ffff000008c55000 ffff000008c38000 ffff8000753bb500 [ 123.573398] fc20: 0000000000000002 ffff800074899f00 0000000000000001 0000000000000001 [ 123.583936] fc40: ffff80006b8ffc80 ffff000008121e4c ffff000000cba100 ffff000008c55000 [ 123.594516] fc60: ffff000008c38000 0000000000000001 ffff8000753bbdc8 0000000000040d00 [ 123.605136] fc80: ffff80006b8ffcb0 ffff000008120d2c ffff8000753bbdc8 ffff000000cba100 [ 123.615777] fca0: ffff000008c38000 0000000000000001 ffff80006b8ffe00 ffff000008121734 [ 123.626448] fcc0: ffff000008c38000 0000000000000000 000000000000000f 0000ffff91d810f0 [ 123.637162] fce0: 0000000040000000 0000000000000015 0000000000000124 0000000000000111 [ 123.647915] fd00: ffff000008961000 ffff800074073600 0001000000000000 ffff80006b8ffe40 [ 123.658725] fd20: ffff80006b8ffe38 ffff80000000004b ffff000008acf3b8 ffff000009faa8ba [ 123.669558] fd40: ffff000000cba2d0 ffff000000cba280 ffff800000000124 ffff800074cf56b8 [ 123.680413] fd60: 00000000000020b8 0000000000040d00 ffff80006b8ffdc0 ffff0000081edfe4 [ 123.691311] fd80: ffff800074976200 ffff800074976200 0000000000000000 ffff800000000000 [ 123.702246] fda0: 0000000000000000 0000000000000000 0000000000000000 ffff000000000000 [ 123.713222] fdc0: 00006c656e72656b 0000000000000000 0000000000000000 0000000000000000 [ 123.724113] fde0: 0000000000000000 0000000000000000 0000000000000000 0000000000040d00 [ 123.734914] fe00: 0000000000000000 ffff000008082730 0000000000000000 000080006f39f000 [ 123.745629] fe20: ffffffffffffffff 0000ffff91cbfaf4 ffff80006b8ffeb0 00000000000020b8 [ 123.756366] fe40: ffff000009fa9000 ffff000009fa98dd ffff000009fa9000 00000000000020b8 [ 123.767095] fe60: ffff000009faab78 ffff000009faaab0 ffff000009faa4e8 0000000000003000 [ 123.777779] fe80: 0000000000003108 0000000000000000 0000000000000000 0000000000001af0 [ 123.788434] fea0: 0000001300000012 000000000000000d 0000000000000009 0000000000040d00 [ 123.799017] fec0: 000000000000000f 0000ffff91d810f0 0000000000000000 000000000000000f [ 123.809591] fee0: 0000000000000000 0000000000000000 0000000000000002 0000000000000002 [ 123.820132] ff00: 0000000000000111 0000ffffd14c8190 0000ffffd14c8190 0000000000000003 [ 123.830667] ff20: 0000000000000000 0000000000000000 0000000000000000 0000ffff91e4f000 [ 123.841219] ff40: 0000ffff91d931d0 0000ffff91cbfad0 0000ffffd14c8908 0000aaab11a7f120 [ 123.851798] ff60: 0000000000000000 0000ffff91d810f0 0000aaab11a7f1c0 0000000000020000 [ 123.862393] ff80: 0000000000000000 0000aaab11a67970 0000000000000000 0000000000020000 [ 123.872965] ffa0: 0000ffffd14c93e0 0000ffffd14c9250 0000ffff91d7a980 0000ffffd14c9250 [ 123.883555] ffc0: 0000ffff91cbfaf4 0000000040000000 000000000000000f 0000000000000111 [ 123.894184] ffe0: 0000000000000000 0000000000000000 614d0a353931203a 72656e6961746e69 [ 123.904820] Call trace: [ 123.910041] Exception stack(0xffff80006b8ff7a0 to 0xffff80006b8ff8d0) [ 123.919380] f7a0: ffff800073baa800 0001000000000000 ffff80006b8ff990 ffff000000cb0330 [ 123.930211] f7c0: 0000000060000145 ffff000008647cf0 ffff80006b8ff7e0 ffff0000086456e4 [ 123.941053] f7e0: ffff80006b8ff810 ffff000008646450 0000000000000015 ffff8000753bb800 [ 123.951904] f800: 000000000000000f ffff80006b8ff984 ffff80006b8ff880 ffff0000086451a8 [ 123.962768] f820: ffff800074cf4c00 00000000000000bf 000000000000000f 0000000000040d00 [ 123.973646] f840: ffff80006b8ffa00 0000000000000001 ffff80006b8ff860 0000000000040d00 [ 123.984494] f860: 0000000000000000 0000000000000020 0000000000000000 0000000000000000 [ 123.995345] f880: ffff800075400270 ffff800075400248 0000000000000000 ffff800075400270 [ 124.006195] f8a0: ffff800075400248 ffff000008c53660 0000000000000040 0000000000e2fbe2 [ 124.017041] f8c0: 00000000000000f6 0000000000000024 [ 124.024938] [<ffff000000cb0330>] bmp280_common_probe+0x1f0/0x610 [bmp280] [ 124.034796] [<ffff000000cb808c>] bmp280_i2c_probe+0x74/0xb8 [bmp280_i2c] [ 124.044562] [<ffff00000873caa4>] i2c_device_probe+0x294/0x2b8 [ 124.053352] [<ffff000008625ae8>] driver_probe_device+0x228/0x2d0 [ 124.062398] [<ffff000008625c48>] __driver_attach+0xb8/0xc0 [ 124.070885] [<ffff000008623bb0>] bus_for_each_dev+0x68/0xd0 [ 124.079464] [<ffff000008625408>] driver_attach+0x20/0x28 [ 124.087800] [<ffff000008624fac>] bus_add_driver+0x1ac/0x218 [ 124.096428] [<ffff000008626640>] driver_register+0x60/0xf8 [ 124.104982] [<ffff00000873c3a4>] i2c_register_driver+0x44/0xa0 [ 124.113857] [<ffff000000cbd014>] bmp280_i2c_driver_init+0x14/0x1000 [bmp280_i2c] [ 124.124350] [<ffff000008082944>] do_one_initcall+0x4c/0x150 [ 124.133040] [<ffff000008121e78>] do_init_module+0x58/0x1b0 [ 124.141624] [<ffff000008120d2c>] load_module+0x1aa4/0x2218 [ 124.150231] [<ffff000008121734>] SyS_finit_module+0xcc/0xe8 [ 124.158939] [<ffff000008082730>] el0_svc_naked+0x24/0x28 [ 124.167404] Code: 7100035f 540002cd 2a1a03e0 95d11935 (f9400800) [ 124.176700] ---[ end trace b190d4455c10f4a2 ]--- After the kernel oops, the system cannot restart or poweroff, it will stop after userland programs exit.

zador-blood-stained commented 6 years ago

Sometimes I wonder if anybody reads the issue template, especially the "reporting kernel crashes or similar issues" and "third party hardware" lines. Looks like it crashes in the bmp280 driver and it is impossible to debug such issues without having this hardware. And please, if you decide to post a crash log somewhere at least make sure that it's readable.

And though there are some stability issues with sunxi64-next branch they shouldn't be tracked here yet.