You are not logged in.

#1 2016-01-26 17:19:50

mosquitogang201
Member
Registered: 2012-06-19
Posts: 37

[solved] Xorg crashing with Braswell N3050

I bought a Braswell N3050 mini-itx board a few months ago. Since I bought it, 75% of the time when I try to shutdown, restart, or log out of X it crashes with the attached error. It seems that Xorg refuses to die. I can still ssh into the machine but killing it manually does not work either. I'm using the intel graphics driver. I have not been able to figure out why it works properly the other 25% of the time. Does anyone have any idea what the problem is, or if not, where I should file a bug report?

[33056.642387] Xorg            D ffff88017fd156c0     0  2310      1 0x00000002
[33056.646785]  ffff880178bb33c8 0000000000000046 ffff88017b3e8c80 ffff88017a424b00
[33056.651304]  ffff880178bb4000 0000000000000009 0000000000000000 0000000000000008
[33056.655893]  0000000000000046 ffff880178bb33e0 ffffffff8158028a ffff88017a424b00
[33056.660592] Call Trace:
[33056.665277]  [<ffffffff8158028a>] schedule+0x3a/0x90
[33056.670076]  [<ffffffff81078237>] do_exit+0x947/0xb40
[33056.674921]  [<ffffffff810cc26e>] ? kmsg_dump+0xce/0xf0
[33056.679810]  [<ffffffff8101983a>] oops_end+0x9a/0xd0
[33056.684747]  [<ffffffff810628ec>] no_context+0x15c/0x380
[33056.689647]  [<ffffffff81062c38>] __bad_area_nosemaphore+0x128/0x230
[33056.694524]  [<ffffffff81062d53>] bad_area_nosemaphore+0x13/0x20
[33056.699367]  [<ffffffff810631b2>] __do_page_fault+0x222/0x450
[33056.704163]  [<ffffffff810a70db>] ? select_task_rq_fair+0x47b/0x710
[33056.708927]  [<ffffffff81063402>] do_page_fault+0x22/0x30
[33056.713677]  [<ffffffff81585eb8>] page_fault+0x28/0x30
[33056.718379]  [<ffffffff812c455c>] ? kobject_uevent_env+0x15c/0x4f0
[33056.723060]  [<ffffffff811db5ac>] ? get_empty_filp+0x5c/0x1c0
[33056.727718]  [<ffffffff811e2cc9>] ? set_root_rcu+0x19/0x60
[33056.732383]  [<ffffffff811e4060>] path_init+0x210/0x3c0
[33056.737043]  [<ffffffff811e6b37>] path_openat+0x67/0x10c0
[33056.741698]  [<ffffffff8121fdc8>] ? ep_poll_callback+0x118/0x180
[33056.746384]  [<ffffffff810b5702>] ? __wake_up_common+0x52/0x90
[33056.751069]  [<ffffffff811e9061>] do_filp_open+0x91/0x100
[33056.755735]  [<ffffffff813445cc>] ? acpi_driver_match_device+0x3f/0x5f
[33056.760431]  [<ffffffff812cbb2d>] ? vsnprintf+0x17d/0x530
[33056.765124]  [<ffffffff811d8952>] file_open_name+0x102/0x160
[33056.769801]  [<ffffffff811d89e3>] filp_open+0x33/0x60
[33056.774451]  [<ffffffff813f2b8f>] _request_firmware+0x37f/0xb00
[33056.779111]  [<ffffffff813f3341>] request_firmware+0x31/0x50
[33056.783769]  [<ffffffffa03b5f01>] drm_load_edid_firmware+0x1f1/0x460 [drm_kms_helper]
[33056.788516]  [<ffffffffa03aca3b>] drm_helper_probe_single_connector_modes_merge_bits+0xdb/0x4d0 [drm_kms_helper]
[33056.793380]  [<ffffffffa03ace43>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[33056.798258]  [<ffffffffa03b88fc>] drm_fb_helper_hotplug_event+0x8c/0x120 [drm_kms_helper]
[33056.803160]  [<ffffffffa03b89d8>] drm_fb_helper_restore_fbdev_mode_unlocked+0x48/0x70 [drm_kms_helper]
[33056.808155]  [<ffffffffa04d01e2>] intel_fbdev_restore_mode+0x22/0x80 [i915]
[33056.813157]  [<ffffffffa04f98fe>] i915_driver_lastclose+0xe/0x20 [i915]
[33056.818131]  [<ffffffffa0320a2e>] drm_lastclose+0x2e/0x140 [drm]
[33056.823093]  [<ffffffffa0320e56>] drm_release+0x316/0x500 [drm]
[33056.828053]  [<ffffffff811db2fc>] __fput+0x9c/0x1f0
[33056.833011]  [<ffffffff811db48e>] ____fput+0xe/0x10
[33056.837949]  [<ffffffff81091173>] task_work_run+0x73/0x90
[33056.842888]  [<ffffffff81077c85>] do_exit+0x395/0xb40
[33056.847774]  [<ffffffff8158028a>] ? schedule+0x3a/0x90
[33056.852584]  [<ffffffff810784ab>] do_group_exit+0x3b/0xb0
[33056.857379]  [<ffffffff8108340c>] get_signal+0x23c/0x630
[33056.862115]  [<ffffffff81016297>] do_signal+0x37/0x6a0
[33056.866808]  [<ffffffff810f1e86>] ? do_futex+0x126/0xb10
[33056.871428]  [<ffffffff810aaf12>] ? put_prev_task_fair+0x22/0x40
[33056.876054]  [<ffffffff810039dd>] prepare_exit_to_usermode+0xbd/0x100
[33056.880681]  [<ffffffff81003aed>] syscall_return_slowpath+0xcd/0x1d0
[33056.885313]  [<ffffffff810f28f1>] ? SyS_futex+0x81/0x180
[33056.889945]  [<ffffffff81083b1f>] ? sigprocmask+0x6f/0xa0
[33056.894582]  [<ffffffff81583e8c>] int_ret_from_sys_call+0x25/0x8f

Last edited by mosquitogang201 (2016-01-30 13:09:16)

Offline

#2 2016-01-26 18:50:47

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: [solved] Xorg crashing with Braswell N3050

This is suspicious because request_firmware shouldn't be called here unless you are using the edid_firmware parameter to override EDID. I suppose you aren't?

Well, since it could be a CPU bug, start with updating microcode (see wiki) and BIOS smile

Offline

#3 2016-01-26 19:12:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: [solved] Xorg crashing with Braswell N3050

I'm not familiar with these specific errors, but you may want to try different acceleration settings.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2016-01-27 00:54:14

mosquitogang201
Member
Registered: 2012-06-19
Posts: 37

Re: [solved] Xorg crashing with Braswell N3050

Good observation. Yes I am manually setting EDID as a kernel parameter. I'm using it as an HTPC and found that forcing the EDID and video mode as kernel parameters was the way to force HDMI output on; otherwise I'd be stuck with a black screen if I rebooted with the TV off (which I often do since I manage it via ssh). Anyways I've removed the EDID parameter and rebooted 3 times without a crash. Just need to find another way to force the HDMI output on if EDID proves to have been the problem.

Offline

#5 2016-01-27 09:47:40

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: [solved] Xorg crashing with Braswell N3050

OK, so now this appears to be a kernel bug. You may want to report it to bugzilla.kernel.org - tell them that it crashes 75% times when Xorg is exited with edid_firmware in use and attach full dmesg extracted through ssh instead of this screenshot.

BTW, I found that there are 6 simple EDIDs built into the kernel

        "edid/800x600.bin",
        "edid/1024x768.bin",
        "edid/1280x1024.bin",
        "edid/1600x1200.bin",
        "edid/1680x1050.bin",
        "edid/1920x1080.bin",

which don't require calls to request_firmware. If any of them matches your monitor, it may have a chance of working even on broken kernels.

Offline

#6 2016-01-30 13:06:14

mosquitogang201
Member
Registered: 2012-06-19
Posts: 37

Re: [solved] Xorg crashing with Braswell N3050

Thanks for the help. Computer is running rock solid with the built in EDID so I will mark this solved.

I did want to do some more troubleshooting so I pulled the EDID from my desktop but I can't get it to trigger the bug either. So it seems there's something specific about my TV's EDID that causes it.

Offline

Board footer

Powered by FluxBB