NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/56133: kernel panic at boot with i915drmkms enabled



>Number:         56133
>Category:       kern
>Synopsis:       kernel panic at boot with i915drmkms enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 29 01:40:00 +0000 2021
>Originator:     Charles Henry Dickman
>Release:        9.1
>Organization:
personal
>Environment:
NetBSD luna.chd-net 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
booting from 9.1 CD will panic on DELL B110,

[   6.9810240] root on wd2f dumps on wd2b
[   7.0290788] root file system type: ffs
[   7.0803850] kern.module.path=/stand/i386/9.1/modules
[   7.1444431] kern info: [drm] Memory usable by graphics device = 128M
[   7.2202553] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   7.3106095] kern info: [drm] Driver supports precise vblank timestamp query.
[   7.3947266] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_bios.c:1125)parse_device_mapping] *ERROR* Child device config size 27 is too small.
[   7.5702361] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[   7.6492984] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c:555)i915_pages_create_for_stolen] *ERROR* failed to load DMA map for stolen object: -22
[   7.8423243] kern info: [drm] initialized overlay support
[   8.2495193] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c:184)intelfb_alloc] *ERROR* failed to pin obj: -22
[   8.3986157] Mutex error: mutex_vector_enter,564: locking against myself

[   8.3986157] lock address : 0x00000000c3db0038
[   8.3986157] current cpu  :                  0
[   8.3986157] current lwp  : 0x00000000c3c70100
[   8.6354016] owner field  : 0x00000000c3c70100 wait/spin:                0/0

[   8.7205591] panic: lock error: Mutex: mutex_vector_enter,564: locking against myself: lock 0xc3db0038 cpu 0 lwp 0xc3c70100
[   8.8503745] cpu0: Begin traceback...
[   8.8950316] vpanic(c1052e04,dbae3bac,dbae3bc8,c08db06d,c1052e04,c104fcac,c0f376bc,234,c104fc7b,c3db0038) at netbsd:vpanic+0x12d
[   9.0300401] snprintf(c1052e04,c104fcac,c0f376bc,234,c104fc7b,c3db0038,0,c3c70100,dbae3bec,c08a53c5) at netbsd:snprintf
[   9.1598554] lockdebug_abort(c0f376bc,234,c3db0038,c1285a04,c104fc7b,c3cf6678,c3c70100,dbae3c4c,c08a5856,c104fc7b) at netbsd:lockdebug_abort+0xd6
[   9.3125190] mutex_abort(c104fc7b,0,b2713d8e,dbae3c80,dbae3c80,c08df922,0,0,0,0) at netbsd:mutex_abort+0x2f
[   9.4307407] mutex_vector_enter(c3db0038,14,c3db32c0,c0100d8e,c3db0038,c0100e70,c3cf6678,c3db0158,c3db0180,dbae3c9c) at netbsd:mutex_vector_enter+0x3c2
[   9.5917134] intel_user_framebuffer_destroy(c3cf6674,23,c3db0154,c3cf6674,c3cf6674,c3cf6674,c3db0004,dbae3ce8,c075041e,c3cf6674) at netbsd:intel_user_framebuffer_destroy+0x24
[   9.7700880] drm_framebuffer_free(c3cf6674,7,c3db32c0,c3cf6674,dbae3d00,dbae3ccc,c08e1186,0,c106c1e4,dbae3d00) at netbsd:drm_framebuffer_free+0x79
[   9.9313616] drm_framebuffer_remove(c3cf6674,b8,c0f53968,c106c1e4,ffffffea,5,dbae3d94,c3d72000,c3d72000,c3db0038) at netbsd:drm_framebuffer_remove+0x12d
[  10.0933727] intelfb_create(c3cf65d4,dbae3db8,800,1a50744,1,780,438,780,438,780) at netbsd:intelfb_create+0x534
[  10.2137307] drm_fb_helper_initial_config(c3cf65d4,20,1,4000,100000,0,c0cba4b0,c3cf2d00,c08a568c,c36ed0b6) at netbsd:drm_fb_helper_initial_config+0x224
[  10.3747026] i915_driver_load(c3db0004,c0f4e7e0,c3863610,c3db0004,dbae3f50,c05c5295,c3db0004,c0f4e7e0,5,c386361c) at netbsd:i915_driver_load+0x1923
[  10.5317471] drm_dev_register(c3db0004,c0f4e7e0,5,c386361c,c3863610,c3863614,c386361c,c3db0004,24,6) at netbsd:drm_dev_register+0x80
[  10.6729857] drm_pci_attach(c38743c0,c386f204,c386f250,c1289e20,c0f4e7e0,c386f24c,c3c70100,c386f250,c0f4e7e0,c37138a0) at netbsd:drm_pci_attach+0x198
[  10.8318802] i915drmkms_attach_real(c38743c0,c3c70100,c3c70100,0,c0100411,c3c70100,1550000,155a000,0,c01003fd) at netbsd:i915drmkms_attach_real+0x94
[  10.9923917] config_mountroot_thread(c3c70100,1550000,155a000,0,c01003fd,0,0,0,0,0) at netbsd:config_mountroot_thread+0x2b
[  11.1215190] cpu0: End traceback...
[  11.1640979] fatal breakpoint trap in supervisor mode
[  11.2232934] trap type 1 code 0 eip 0xc0115b74 cs 0x8 eflags 0x202 cr2 0 ilevel 0 esp 0xdbae3b90
[  11.3271465] curlwp 0xc3c70100 pid 0 lid 58 lowest kstack 0xdbae22c0
Stopped in pid 0.58 (system) at netbsd:breakpoint+0x4:  popl    %ebp


>How-To-Repeat:
booting from 9.1 CD will panic on DELL B110,

>Fix:
disable i915drmkms 



Home | Main Index | Thread Index | Old Index