On 16.01.2020 23:17, Andrew Doran wrote: > Hi, > > On Thu, Jan 16, 2020 at 06:14:40PM +0000, Chavdar Ivanov wrote: > >> Today's update brought 9.99.38, which fails to boot on my HP Envy 17 >> laptop with Intel 530 graphics and NVidia GeForce; latter not used. The >> system uses EFI boot and the panic happens the moment it has to switch >> the console in graphics mode. I managed to collect a dump; the trace is >> as follows: >> >> .... >> >> #1? 0xffffffff809fd663 in kern_reboot () >> #2? 0xffffffff807c1ec3 in db_reboot_cmd () >> #3? 0xffffffff807c26db in db_command () >> #4? 0xffffffff807c2a46 in db_command_loop () >> #5? 0xffffffff807c63ca in db_trap () >> #6? 0xffffffff80220af5 in kdb_trap () >> #7? 0xffffffff80225c66 in trap () >> #8? 0xffffffff8021ed43 in alltraps () >> #9? 0xffffffff8021f55d in breakpoint () >> #10 0xffffffff80a3e380 in vpanic () >> #11 0xffffffff80e85393 in kern_assert () >> #12 0xffffffff809ba1ec in uvm_pagegetdirty () >> #13 0xffffffff809ba218 in uvm_pagemarkdirty () >> #14 0xffffffff80c0100e in intel_lr_context_deferred_alloc () >> #15 0xffffffff80c01470 in logical_ring_init () >> #16 0xffffffff80c016fd in intel_logical_rings_init () >> #17 0xffffffff80b86359 in i915_gem_init () >> #18 0xffffffff80b7b11d in i915_driver_load () >> #19 0xffffffff8087f31b in drm_dev_register () >> #20 0xffffffff806be10b in drm_pci_attach () >> #21 0xffffffff80b757ab in i915drmkms_attach_real () >> #22 0xffffffff80a20ebe in config_mountroot_thread () >> #23 0xffffffff80209777 in lwp_trampoline () >> #24 0x0000000000000000 in ?? () > > I see the problem. DRM does not hold the appropriate locks. I don't think > it needs to mark those pages dirty anyhow. I'll fix it tomorrow. > > Cheers, > Andrew > My system with i915 survived with these changes applied (credit riastradh@ for hints): https://www.netbsd.org/~kamil/patch-00215-i915-dirty-pages.txt
Attachment:
signature.asc
Description: OpenPGP digital signature