NetBSD-Bugs archive

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

Re: kern/57833: kernel panic on xorg exit



The following reply was made to PR kern/57833; it has been noted by GNATS.

From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>,
 "David H. Gutteridge" <david%gutteridge.ca@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/57833: kernel panic on xorg exit
Date: Tue, 16 Jan 2024 07:21:55 +0100

 El 15/1/24 a las 18:19, Taylor R Campbell escribió:
 > Small update to previous patch -- if we use pmap_kenter_pa then we
 > need to use pmap_kremove later on, not pmap_remove.
 
 Hello Taylor
 
 Thanks for your help and efforts. I have tried v4 patch and the 
 situation is even worse, the panic occurs after issuing startx command, 
 black screen and panic.
 
 netbsd-compal# uname -a
 NetBSD netbsd-compal.remigio 10.0_RC2 NetBSD 10.0_RC2 (MYKERNEL) #4: Mon 
 Jan 15 20:34:13 CET 2024 
 root@netbsd-compal.remigio:/usr/src/sys/arch/i386/compile/MYKERNEL i386
 
 
 netbsd-compal# ls -l /var/crash
 total 1228356
 -rw-------  1 root  wheel          2 Jan 15 22:28 bounds
 -rw-------  1 root  wheel          5 Jan  1 15:04 minfree
 -rw-------  1 root  wheel    1958710 Jan  9 19:21 netbsd.0
 -rw-------  1 root  wheel  154079764 Jan  9 19:21 netbsd.0.core
 -rw-------  1 root  wheel    1958710 Jan  9 19:24 netbsd.1
 -rw-------  1 root  wheel  117210132 Jan  9 19:24 netbsd.1.core
 -rw-------  1 root  wheel    1958710 Jan  9 20:14 netbsd.2
 -rw-------  1 root  wheel  202709524 Jan  9 20:14 netbsd.2.core
 -rw-------  1 root  wheel    1958710 Jan 10 07:18 netbsd.3
 -rw-------  1 root  wheel  245231124 Jan 10 07:18 netbsd.3.core
 -rw-------  1 root  wheel  122661396 Jan 12 19:29 netbsd.4.core
 -rw-------  1 root  wheel     843776 Jan 12 19:29 netbsd.4.gz
 -rw-------  1 root  wheel  122661396 Jan 13 10:56 netbsd.5.core
 -rw-------  1 root  wheel     843776 Jan 13 10:56 netbsd.5.gz
 -rw-------  1 root  wheel    2063492 Jan 13 12:12 netbsd.6
 -rw-------  1 root  wheel  122661396 Jan 13 12:12 netbsd.6.core
 -rw-------  1 root  wheel    1958653 Jan 13 12:31 netbsd.7
 -rw-------  1 root  wheel  124865556 Jan 13 12:31 netbsd.7.core
 -rw-------  1 root  wheel   30271982 Jan 15 22:28 netbsd.8.core.gz
 -rw-------  1 root  wheel     853430 Jan 15 22:28 netbsd.8.gz
 
 dmesg -M /var/crash/netbsd.8.core -N /var/crash/netbsd.8
 
 ...
 ...
 
 
 [ 56644.606442] wd0: detached
 [ 56644.606442] atabus0: detached
 [ 56644.606442] rebooting...
 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 
 2012, 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 
 2022, 2023,
 [     1.000000]     2024
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All 
 rights reserved.
 
 [     1.000000] NetBSD 10.0_RC2 (MYKERNEL) #4: Mon Jan 15 20:34:13 CET 2024
 [     1.000000] 
 root@netbsd-compal.remigio:/usr/src/sys/arch/i386/compile/MYKERNEL
 [     1.000000] total memory = 2039 MB
 [     1.000000] avail memory = 1978 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz 
 quality 100
 [     1.000004] mainbus0 (root)
 [     1.000004] cpu0 at mainbus0
 [     1.000004] ACPI Error: AE_BAD_PARAMETER, Thread 3242920000 could 
 not acquire Mutex [ACPI_MTX_Tables] (0x2) (20221020/utmutex-326)
 [     1.000004] cpu0: Use lfence to serialize rdtsc
 [     1.000004] cpu0: Intel(R) Pentium(R) M processor 1.86GHz, id 0x6d8
 [     1.000004] cpu0: node 0, package 0, core 0, smt 0
 [     1.000004] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.000004] pci0: i/o space, memory space enabled, rd/line, rd/mult, 
 wr/inv ok
 [     1.000004] pchb0 at pci0 dev 0 function 0: Intel 
 82915PM/GM/GMS,82910GML Host Bridge (rev. 0x04)
 [     1.000004] agp0 at pchb0: i915-family chipset
 [     1.000004] agp0: detected 7932k stolen memory
 [     1.000004] agp0: aperture at 0xa0000000, size 0x10000000
 [     1.000004] i915drmkms0 at pci0 dev 2 function 0: Intel 
 82915GM/GMS,82910GML Integrated Graphics Device (rev. 0x04)
 [     1.000004] Intel 82915GM/GMS IGD Companion (miscellaneous display, 
 revision 0x04) at pci0 dev 2 function 1 not configured
 [     1.000004] uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB 
 UHCI Controller (rev. 0x04)
 [     1.000004] uhci0: interrupting at irq 7
 [     1.000004] usb0 at uhci0: USB revision 1.0
 [     1.000004] uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB 
 UHCI Controller (rev. 0x04)
 [     1.000004] uhci1: interrupting at irq 3
 [     1.000004] usb1 at uhci1: USB revision 1.0
 [     1.000004] uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB 
 UHCI Controller (rev. 0x04)
 [     1.000004] uhci2: interrupting at irq 11
 [     1.000004] usb2 at uhci2: USB revision 1.0
 [     1.000004] uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB 
 UHCI Controller (rev. 0x04)
 [     1.000004] uhci3: interrupting at irq 11
 [     1.000004] usb3 at uhci3: USB revision 1.0
 [     1.000004] ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB 
 EHCI Controller (rev. 0x04)
 [     1.000004] ehci0: 64-bit DMA - limited
 [     1.000004] ehci0: interrupting at irq 7
 [     1.000004] ehci0: EHCI version 1.0
 [     1.000004] ehci0: 4 companion controllers, 2 ports each: uhci0 
 uhci1 uhci2 uhci3
 [     1.000004] ehci0: Using DMA subregion for control data structures
 [     1.000004] usb4 at ehci0: USB revision 2.0
 [     1.000004] ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI 
 Bridge (rev. 0xd4)
 [     1.000004] pci1 at ppb0 bus 1
 [     1.000004] pci1: i/o space, memory space enabled
 [     1.000004] fwohci0 at pci1 dev 0 function 0: VIA Technologies 
 VT6306 IEEE 1394 Host Controller (rev. 0x80)
 [     1.000004] fwohci0: interrupting at irq 10
 [     1.000004] fwohci0: OHCI version 1.0 (ROM=1)
 [     1.000004] fwohci0: No. of Isochronous channels is 4.
 [     1.000004] fwohci0: EUI64 00:02:3f:59:88:40:01:0f
 [     1.000004] fwohci0: Phy 1394a available S400, 2 ports.
 [     1.000004] fwohci0: Link S400, max_rec 512 bytes.
 [     1.000004] fwohci0: max_rec 512 -> 2048
 [     1.000004] ieee1394if0 at fwohci0: IEEE1394 bus
 [     1.000004] fwip0 at ieee1394if0: IP over IEEE1394
 [     1.000004] fwohci0: Initiate bus reset
 [     1.000004] re0 at pci1 dev 1 function 0: RealTek 8169/8110 Gigabit 
 Ethernet (rev. 0x10)
 [     1.000004] re0: interrupting at irq 11
 [     1.000004] re0: RTL8169/8110SB (0x1000)
 [     1.000004] re0: Ethernet address 00:0f:b0:93:6f:e1
 [     1.000004] re0: using 256 tx descriptors
 [     1.000004] rgephy0 at re0 phy 7: RTL8211B 1000BASE-T media interface
 [     1.000004] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
 1000baseT, 1000baseT-FDX, auto
 [     1.000004] iwi0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN 
 2200BG Mini-PCI Adapter (rev. 0x05)
 [     1.000004] iwi0: interrupting at irq 11
 [     1.000004] iwi0: 802.11 address 00:13:ce:6b:7d:01
 [     1.000004] cbb0 at pci1 dev 4 function 0: ENE Technology CB710 
 CardBus Controller (rev. 0x00)
 [     1.000004] ENE Technology product 0530 (flash memory) at pci1 dev 4 
 function 1 not configured
 [     1.000004] sdhc0 at pci1 dev 4 function 2: ENE Technology 
 CB712/714/810 PCI SD Card Reader Controller (rev. 0x00)
 [     1.000004] sdhc0: interrupting at irq 5
 [     1.000004] sdhc0: SDHC 1.0, rev 0, caps <01e021a1/00000000>, SDMA, 
 33000 kHz, HS 3.3V, 512 byte blocks
 [     1.000004] sdmmc0 at sdhc0 slot 0
 [     1.000004] cbb0: cacheline 0x8 lattimer 0x40
 [     1.000004] cbb0: bhlc 0x824008
 [     1.000004] cbb0: autoconfiguration error: secondary bus number 
 uninitialized; try PCI_BUS_FIXUP
 [     1.000004] pci_intr_map: no mapping for pin A (line=ff)
 [     1.000004] cbb0: autoconfiguration error: couldn't map interrupt
 [     1.000004] cardslot0 at cbb0
 [     1.000004] pcmcia0 at cardslot0
 [     1.000004] auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97 
 Audio
 [     1.000004] auich0: interrupting at irq 5
 [     1.000004] auich0: ac97: Avance Logic unknown (0x414c4752) codec; 
 headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
 [     1.000004] auich0: ac97: ext id 0xa07<AC97_23,AMAP,SPDIF,DRA,VRA>
 [     1.000004] Intel 82801FB/FR AC'97 Modem Controller (modem 
 communications, revision 0x04) at pci0 dev 30 function 3 not configured
 [     1.000004] ichlpcib0 at pci0 dev 31 function 0: Intel 82801FBM 
 ICH6M LPC Interface Bridge (rev. 0x04)
 [     1.000004] timecounter: Timecounter "ichlpcib0" frequency 3579545 
 Hz quality 1000
 [     1.006137] ichlpcib0: 24-bit timer
 [     1.006137] tco0 at ichlpcib0: TCO (watchdog) timer configured.
 [     1.006137] tco0: Min/Max interval 1/367 seconds
 [     1.006137] piixide0 at pci0 dev 31 function 1: Intel 82801FB IDE 
 Controller (ICH6) (rev. 0x04)
 [     1.006137] piixide0: bus-master DMA support present
 [     1.006137] piixide0: primary channel configured to compatibility mode
 [     1.006137] piixide0: primary channel interrupting at irq 14
 [     1.006137] atabus0 at piixide0 channel 0
 [     1.006137] piixide0: secondary channel configured to compatibility mode
 [     1.006137] piixide0: secondary channel interrupting at irq 15
 [     1.006137] atabus1 at piixide0 channel 1
 [     1.006137] ichsmb0 at pci0 dev 31 function 3: Intel 82801FB/FR 
 SMBus Controller (rev. 0x04)
 [     1.006137] ichsmb0: interrupting at irq 3
 [     1.006137] iic0 at ichsmb0: I2C bus
 [     1.006137] isa0 at ichlpcib0
 [     1.006137] pckbc0 at isa0 port 0x60-0x64
 [     1.006137] pckbd0 at pckbc0 (kbd slot)
 [     1.006137] pckbc0: using irq 1 for kbd slot
 [     1.006137] wskbd0 at pckbd0: console keyboard
 [     1.006137] pms0 at pckbc0 (aux slot)
 [     1.006137] pms0: ALPS PS/2 V2 pointing device
 [     1.006137] pckbc0: using irq 12 for aux slot
 [     1.006137] wsmouse0 at pms0 mux 0
 [     1.006137] attimer0 at isa0 port 0x40-0x43
 [     1.006137] pcppi0 at isa0 port 0x61
 [     1.006137] midi0 at pcppi0: PC speaker
 [     1.006137] sysbeep0 at pcppi0
 [     1.006137] attimer0: attached to pcppi0
 [     1.006137] est0 at cpu0: Enhanced SpeedStep
 [     1.006137] fwohci0: BUS reset
 [     1.006137] fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
 [     1.006137] ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
 [     1.006137] ieee1394if0: bus manager 0
 [     1.241472] timecounter: Timecounter "clockinterrupt" frequency 100 
 Hz quality 0
 [     1.574164] auich0: measured ac97 link rate at 48000 Hz
 [     1.574164] audio0 at auich0: playback, capture, full duplex, 
 independent
 [     1.574164] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for playback
 [     1.574164] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for recording
 [     1.574164] uhub0 at usb0: NetBSD (0x0000) UHCI root hub (0x0000), 
 class 9/0, rev 1.00/1.00, addr 1
 [     1.574164] uhub0: 2 ports with 2 removable, self powered
 [     1.574164] uhub1 at usb1: NetBSD (0x0000) UHCI root hub (0x0000), 
 class 9/0, rev 1.00/1.00, addr 1
 [     1.574164] uhub1: 2 ports with 2 removable, self powered
 [     1.574164] uhub2 at usb2: NetBSD (0x0000) UHCI root hub (0x0000), 
 class 9/0, rev 1.00/1.00, addr 1
 [     1.574164] uhub2: 2 ports with 2 removable, self powered
 [     1.574164] uhub3 at usb3: NetBSD (0x0000) UHCI root hub (0x0000), 
 class 9/0, rev 1.00/1.00, addr 1
 [     1.574164] uhub3: 2 ports with 2 removable, self powered
 [     1.574164] uhub4 at usb4: NetBSD (0x0000) EHCI root hub (0x0000), 
 class 9/0, rev 2.00/1.00, addr 1
 [     1.574164] uhub4: 8 ports with 8 removable, self powered
 [     1.584167] IPsec: Initialized Security Association Processing.
 [     1.594164] atapibus0 at atabus0: 2 targets
 [     1.684165] cd0 at atapibus0 drive 1: <TSSTcorpCD/DVDW TS-L632B, 
 95WK401090, TI33> cdrom removable
 [     1.684165] cd0: 32-bit data port
 [     1.684165] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 2 (Ultra/33)
 [     1.684165] wd0 at atabus0 drive 0
 [     1.694165] wd0: <IC25N080ATMR04-0>
 [     1.694165] wd0: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [     1.694165] wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 
 bytes/sect x 156301488 sectors
 [     2.164173] wd0: 32-bit data port
 [     2.164173] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 5 (Ultra/100)
 [     2.164173] wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 
 (Ultra/100) (using DMA)
 [     2.164173] cd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 
 (Ultra/33) (using DMA)
 [     2.164173] swwdog0: software watchdog initialized
 [     2.224173] WARNING: 2 errors while detecting hardware; check system 
 log.
 [     2.224173] boot device: wd0
 [     2.224173] root on wd0a dumps on wd0b
 [     2.254174] root file system type: ffs
 [     2.264174] kern.module.path=/stand/i386/10.0/modules
 [     2.264174] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [     2.264174] [drm] Driver supports precise vblank timestamp query.
 [     2.264174] i915drmkms0: interrupting at irq 11 (i915drmkms0)
 [     2.304175] [drm] Initialized overlay support.
 [     2.304175] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on 
 minor 0
 [     2.444179] intelfb0 at i915drmkms0
 [     2.444179] [drm] DRM_I915_DEBUG enabled
 [     2.444179] [drm] DRM_I915_DEBUG_GEM enabled
 [     2.444179] intelfb0: framebuffer at 0xa0009000, size 1280x800, 
 depth 32, stride 5120
 [     3.094187] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 
 emulation), using wskbd0
 [     3.105786] wsmux1: connecting to wsdisplay0
 [    16.124387] wsdisplay0: screen 1 added (default, vt100 emulation)
 [    16.124387] wsdisplay0: screen 2 added (default, vt100 emulation)
 [    16.124387] wsdisplay0: screen 3 added (default, vt100 emulation)
 [    16.124387] wsdisplay0: screen 4 added (default, vt100 emulation)
 [    60.455840] panic: _bus_dmamem_map: size botch
 [    60.455840] cpu0: Begin traceback...
 [    60.455840] 
 vpanic(c11d9795,dcbeea90,dcbeeae4,c06cfe6c,c11d9795,0,0,4,0,7f7cefff) at 
 netbsd:vpanic+0x196
 [    60.455840] panic(c11d9795,0,0,4,0,7f7cefff,dcbeead4,0,c5c24a5c,0) 
 at netbsd:panic+0x18
 [    60.465846] 
 i915_gem_object_get_pages_phys(c5c24900,1,2,c4353004,c4348804,c434a084,c4353000,c52c8c44,c5286f04,1) 
 at netbsd:i915_gem_object_get_pages_phys+0x4fc
 [    60.465846] 
 i915_gem_object_attach_phys(c5c24900,1000,c0af8654,c3dfd004,c5c24900,c5c24a18,dcbeeb6c,c0673d15,c5c24a18,1) 
 at netbsd:i915_gem_object_attach_phys+0xb4
 [    60.465846] 
 intel_plane_pin_fb(c5c24a18,1,2,c0b2f858,c4352010,c4353000,c3dfd004,c5b9c804,c4352004,c5b9c804) 
 at netbsd:intel_plane_pin_fb+0x62
 [    60.465846] 
 intel_prepare_plane_fb(c434a084,c52c8c44,c3dff878,10001,c5b9c804,c4353004,c3dff878,dcbeebb8,c066abaf,c3dfd004) 
 at netbsd:intel_prepare_plane_fb+0xcf
 [    60.465846] 
 drm_atomic_helper_prepare_planes(c3dfd004,c5b9c804,1,c5b9cd64,0,c5b9c804,c3dfd004,c52c8c44,dcbeebd4,c0af8a55) 
 at netbsd:drm_atomic_helper_prepare_planes+0x7a
 [    60.475844] 
 intel_atomic_commit(c3dfd004,c5b9c804,0,c434a084,c5b9c804,dcbeebfc,c0afde20,c5b9c804,c5286f04,40) 
 at netbsd:intel_atomic_commit+0x9c
 [    60.475844] 
 drm_atomic_commit(c5b9c804,c5286f04,40,0,400000,c434a084,c5286f04,18f,dcbeec64,c0b2b344) 
 at netbsd:drm_atomic_commit+0x52
 [    60.475844] 
 drm_atomic_helper_update_plane(c434a084,c4348804,c5286f04,27f,18f,40,40,0,0,400000) 
 at netbsd:drm_atomic_helper_update_plane+0xd9
 [    60.475844] 
 __setplane_atomic(27f,18f,40,40,0,0,400000,400000,dcbeecb8,400000) at 
 netbsd:__setplane_atomic+0x10b
 [    60.475844] 
 drm_mode_cursor_common(3,2c,27f,18f,40,40,b,0,0,dcbeee54) at 
 netbsd:drm_mode_cursor_common+0x261
 [    60.485842] 
 drm_mode_cursor_ioctl(c3dfd004,dcbeeeac,c5286104,dcbeedc4,1c,dcbeeeac,63,dcbeedc4,c3dfd360,c5286104) 
 at netbsd:drm_mode_cursor_ioctl+0x4e
 [    60.485842] 
 drm_ioctl(c5b908c0,c01c64a3,dcbeeeac,dcbeef38,c0cc9817,c5b908c0,c01c64a3,dcbeeeac,c0c45367,c429dd24) 
 at netbsd:drm_ioctl+0x42d
 [    60.485842] 
 drm_ioctl_shim(c5b908c0,c01c64a3,dcbeeeac,c0c45367,c429dd24,dcbeef10,0,c5b95fb8,c5b908c0,0) 
 at netbsd:drm_ioctl_shim+0x43
 [    60.485842] 
 sys_ioctl(c4361940,dcbeef68,dcbeef60,c5281500,0,36,dcbeef60,dcbeef68,0,0) 
 at netbsd:sys_ioctl+0x35b
 [    60.485842] syscall() at netbsd:syscall+0x1d6
 [    60.485842] --- syscall (number 54) ---
 [    60.485842] af601dc7:
 [    60.485842] cpu0: End traceback...
 
 [    60.485842] dumping to dev 0,1 offset 1023
 [    60.485842] dump
 netbsd-compal#
 
 
 
 
 netbsd-compal# gdb /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd.gdb
 GNU gdb (GDB) 11.0.50.20200914-git
 Copyright (C) 2020 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <https://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
 
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd.gdb...
 (gdb) target kvm /var/crash/netbsd.8.core
 0xc012d6ed in maybe_dump (howto=260)
      at ../../../../arch/i386/i386/machdep.c:725
 725			dumpsys();
 (gdb) frame 0
 #0  0xc012d6ed in maybe_dump (howto=260)
      at ../../../../arch/i386/i386/machdep.c:725
 725			dumpsys();
 (gdb) frame 1
 #1  cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0)
      at ../../../../arch/i386/i386/machdep.c:746
 746		maybe_dump(howto);
 (gdb) frame 2
 #2  0xc0c85d87 in kern_reboot (howto=howto@entry=260,
      bootstr=bootstr@entry=0x0) at ../../../../kern/kern_reboot.c:73
 73		cpu_reboot(howto, bootstr);
 (gdb) frame 3
 #3  0xc0cbc948 in vpanic (
      fmt=fmt@entry=0xc11d9795 "_bus_dmamem_map: size botch", 
 ap=0xdcbeea90 "")
      at ../../../../kern/subr_prf.c:291
 291		kern_reboot(bootopt, NULL);
 (gdb) frame 4
 #4  0xc0cbca01 in panic (
      fmt=fmt@entry=0xc11d9795 "_bus_dmamem_map: size botch")
      at ../../../../kern/subr_prf.c:208
 208		vpanic(fmt, ap);
 (gdb) frame 5
 #5  0xc06cfe6c in bus_dmamem_kmap (nsegs=1, flags=4,
      dmat=0xc147c8c0 <pci_bus_dma_tag>, kvap=<synthetic pointer>,
      size=<optimized out>, segs=0xc5c24a34)
      at ../../../../external/bsd/drm2/dist/drm/i915/gem/i915_gem_phys.c:66
 66					panic("_bus_dmamem_map: size botch");
 (gdb) frame 6
 #6  i915_gem_object_get_pages_phys (obj=0xc5c24900)
      at ../../../../external/bsd/drm2/dist/drm/i915/gem/i915_gem_phys.c:146
 146		ret = -bus_dmamem_kmap(dmat, &obj->mm.u.phys.seg, 1,
 (gdb) frame 7
 #7  0xc06cff89 in i915_gem_object_attach_phys (obj=0xc5c24900, align=4096)
      at ../../../../external/bsd/drm2/dist/drm/i915/gem/i915_gem_phys.c:378
 378		err = ____i915_gem_object_get_pages(obj);
 (gdb) frame 8
 #8  0xc06653cb in intel_plane_pin_fb 
 (plane_state=plane_state@entry=0xc52c8c44)
      at 
 ../../../../external/bsd/drm2/dist/drm/i915/display/intel_display.c:15729
 15729			err = i915_gem_object_attach_phys(obj, align);
 (gdb) frame 9
 #9  0xc0673d15 in intel_prepare_plane_fb (plane=0xc434a084,
      _new_plane_state=0xc52c8c44)
      at 
 ../../../../external/bsd/drm2/dist/drm/i915/display/intel_display.c:15832
 15832		ret = intel_plane_pin_fb(new_plane_state);
 (gdb) frame 10
 #10 0xc0afcd48 in drm_atomic_helper_prepare_planes (dev=<optimized out>,
      state=<optimized out>)
      at ../../../../external/bsd/drm2/dist/drm/drm_atomic_helper.c:2399
 2399				ret = funcs->prepare_fb(plane, new_plane_state);
 (gdb) frame 11
 #11 drm_atomic_helper_prepare_planes (dev=0xc3dfd004,
      state=state@entry=0xc5b9c804)
      at ../../../../external/bsd/drm2/dist/drm/drm_atomic_helper.c:2375
 2375	int drm_atomic_helper_prepare_planes(struct drm_device *dev,
 (gdb) frame 12
 #12 0xc066abaf in intel_atomic_prepare_commit (state=0xc5b9c804)
      at 
 ../../../../external/bsd/drm2/dist/drm/i915/display/intel_display.c:14760
 14760		return drm_atomic_helper_prepare_planes(state->base.dev,
 (gdb) frame 13
 #13 intel_atomic_commit (dev=0xc3dfd004, _state=0xc5b9c804, nonblock=false)
      at 
 ../../../../external/bsd/drm2/dist/drm/i915/display/intel_display.c:15595
 15595		ret = intel_atomic_prepare_commit(state);
 (gdb) frame 14
 #14 0xc0af8a55 in drm_atomic_commit (state=state@entry=0xc5b9c804)
      at ../../../../external/bsd/drm2/dist/drm/drm_atomic.c:1238
 1238		return config->funcs->atomic_commit(state->dev, state, false);
 (gdb) frame 15
 #15 0xc0afde20 in drm_atomic_helper_update_plane (plane=0xc434a084,
      crtc=0xc4348804, fb=0xc5286f04, crtc_x=639, crtc_y=399, crtc_w=64,
      crtc_h=64, src_x=0, src_y=0, src_w=4194304, src_h=4194304, 
 ctx=0xdcbeecb8)
      at ../../../../external/bsd/drm2/dist/drm/drm_atomic_helper.c:2910
 2910		ret = drm_atomic_commit(state);
 (gdb) frame 16
 #16 0xc0b2b344 in __setplane_atomic (plane=plane@entry=0xc434a084,
      crtc=crtc@entry=0xc4348804, fb=fb@entry=0xc5286f04,
      crtc_x=crtc_x@entry=639, crtc_y=crtc_y@entry=399, crtc_w=64, 
 crtc_h=64,
      src_x=src_x@entry=0, src_y=src_y@entry=0, src_w=src_w@entry=4194304,
      src_h=src_h@entry=4194304, ctx=ctx@entry=0xdcbeecb8)
      at ../../../../external/bsd/drm2/dist/drm/drm_plane.c:761
 761		return plane->funcs->update_plane(plane, crtc, fb,
 (gdb) frame 17
 #17 0xc0b2b77d in drm_mode_cursor_universal (ctx=0xdcbeecb8,
      file_priv=0xc5286104, req=0xdcbeed64, crtc=0xc4348804)
      at ../../../../external/bsd/drm2/dist/drm/drm_plane.c:914
 914			ret = __setplane_atomic(plane, crtc, fb,
 (gdb) frame 18
 #18 drm_mode_cursor_common (dev=dev@entry=0xc3dfd004,
      req=req@entry=0xdcbeed64, file_priv=file_priv@entry=0xc5286104)
      at ../../../../external/bsd/drm2/dist/drm/drm_plane.c:973
 973			ret = drm_mode_cursor_universal(crtc, req, file_priv, &ctx);
 (gdb) frame 19
 #19 0xc0b2bdcb in drm_mode_cursor_ioctl (dev=0xc3dfd004, data=0xdcbeeeac,
      file_priv=0xc5286104)
      at ../../../../external/bsd/drm2/dist/drm/drm_plane.c:1023
 1023		return drm_mode_cursor_common(dev, &new_req, file_priv);
 (gdb) frame 20
 #20 0xc0b23b5c in drm_ioctl (fp=<optimized out>, cmd=<optimized out>,
      data=<optimized out>)
      at ../../../../external/bsd/drm2/dist/drm/drm_ioctl.c:968
 968			error = -(*ioctl->func)(dev, data0, file);
 (gdb) frame 21
 #21 0xc0af1d36 in drm_ioctl_shim (fp=0xc5b908c0, cmd=3223086243,
      data=0xdcbeeeac) at ../../../../external/bsd/drm2/drm/drm_cdevsw.c:393
 393	
 
 Regards.
 Ramiro.
 
 
 
 
 


Home | Main Index | Thread Index | Old Index