NetBSD-Bugs archive

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

kern/53251: Kernel panic on starting X



>Number:         53251
>Category:       kern
>Synopsis:       Kernel panic on starting X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 02 13:10:00 +0000 2018
>Originator:     Jaap Boender
>Release:        NetBSD-CURRENT (8.99.14)
>Organization:
>Environment:
NetBSD 8.99.14 (MARION-DUFRESNE) #15: Wed May  2 11:16:20 BST 2018
        jaapb%marion-dufresne.kerguelen.org@localhost:/usr/obj/sys/arch/amd64/compile/MARION-DUFRESNE
>Description:
On my laptop, running NetBSD current (checked out today, May 2) with a Kaveri Radeon chip, since I ran a cvs upgrade, any attempt to start X (even something like X -configure) results in a kernel panic. A previous version of NetBSD-current (8.99.7, checked out around 27  November 2017) worked fine.

Happy to provide any further information or test stuff, of course.

Result of backtrace:
panic: kernel diagnostic assertion "!(align > sa_manager->align)" failed: file "/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_sa.c", line 330
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x16f
netbsd32_to_if_addrprefreq.isra.66() at netbsd:netbsd32_to_if_addrprefreq.isra.66
radeon_sa_bo_new() at netbsd:radeon_sa_bo_new+0x429
radeon_ib_get() at netbsd:radeon_ib_get+0x32
radeon_vm_clear_bo() at netbsd:radeon_vm_clear_bo+0xcf
radeon_vm_init() at netbsd:radeon_vm_init+0xba
radeon_driver_open_kms() at netbsd:radeon_driver_open_kms+0x64
drm_open_file() at netbsd:drm_open_file+0x10a
drm_open() at netbsd:drm_open+0x1c2
cdev_open() at netbsd:cdev_open+0xe7
spec_open() at netbsd:spec_open+0x1f3
VOP_OPEN() at netbsd:VOP_OPEN+0x4c
vn_open() at netbsd:vn_open+0x1ef
do_open() at netbsd:do_open+0x10d
do_sys_openat() at netbsd:do_sys_openat+0x68
sys_open() at netbsd:sys_open+0x24
syscall() at netbsd:syscall+0x208
--- syscall (number 5) ---
704dbb83e69a:
cpu0: End traceback...
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff8021eb75 cs 0x8 rflags 0x3203 cr2 0x704dbda06f34 ilevel 0 rsp 0xffff80009d7687d0
curlwp 0xffffe40218700020 pid 726.1 lowest kstack 0xffff80009d7652c0

Relevant bits of system dmesg:
NetBSD 8.99.14 (MARION-DUFRESNE) #15: Wed May  2 11:16:20 BST 2018
        jaapb%marion-dufresne.kerguelen.org@localhost:/usr/obj/sys/arch/amd64/compile/MARION-DUFRESNE
total memory = 7098 MB
avail memory = 6870 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
efi: systbl at pa 9ddfaf18
LENOVO 80EC (Lenovo Z50-75)
mainbus0 (root)
ACPI: RSDP 0x000000009ECFA014 000024 (v02 LENOVO)
ACPI: XSDT 0x000000009ECFA200 0000C4 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: FACP 0x000000009ECF6000 00010C (v05 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: DSDT 0x000000009ECEC000 005A36 (v01 LENOVO CB-01    00001000 INTL 20110316)
ACPI: FACS 0x000000009EC42000 000040
ACPI: SSDT 0x000000009ECF8000 001E5B (v01 LENOVO OEMTABLE 00001000 INTL 20110316)
ACPI: HPET 0x000000009ECF5000 000038 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: APIC 0x000000009ECF4000 000090 (v02 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: MCFG 0x000000009ECF3000 00003C (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: SBST 0x000000009ECF2000 000030 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: FPDT 0x000000009ECEB000 000044 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: SLIC 0x000000009ECEA000 000176 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: UEFI 0x000000009ECE9000 000042 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: MSDM 0x000000009EC3E000 000055 (v03 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: BATB 0x000000009ECE8000 000046 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: SSDT 0x000000009ECE7000 000B9C (v01 LENOVO CB-01    00000001 AMD  00000001)
ACPI: SSDT 0x000000009ECDD000 009AC7 (v02 LENOVO CB-01    00000002 MSFT 04000000)
ACPI: UEFI 0x000000009ECDC000 000292 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: SSDT 0x000000009ECDB000 000170 (v01 LENOVO CB-01    00000001 INTL 20110316)
ACPI: SSDT 0x000000009ECDA000 000418 (v01 LENOVO CB-01    00000001 INTL 20110316)
ACPI: SSDT 0x000000009ECD8000 00144A (v01 LENOVO CB-01    00000001 INTL 20110316)
ACPI: SSDT 0x000000009ECD6000 001138 (v01 LENOVO CB-01    00000001 INTL 20110316)
ACPI: BGRT 0x000000009ECD5000 000038 (v01 LENOVO CB-01    00000002 PTEC 00000002)
ACPI: SSDT 0x000000009ECD4000 000FB4 (v01 LENOVO CB-01    00000001 INTL 20110316)
ACPI: 9 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 0x21, 24 pins
ioapic1 at mainbus0 apid 5: pa 0xfec20000, version 0x21, 32 pins
cpu0 at mainbus0 apid 16
cpu0: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G , id 0x630f01
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 17
cpu1: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G , id 0x630f01
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 18
cpu2: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G , id 0x630f01
cpu2: package 0, core 2, smt 0
cpu3 at mainbus0 apid 19
cpu3: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G , id 0x630f01
cpu3: package 0, core 3, smt 0
acpi0 at mainbus0: Intel ACPICA 20180313
acpi0: X/RSDT: OemId <LENOVO,CB-01   ,00000002>, AslId <PTEC,00000002>
acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
acpi0: SCI interrupting at int 9
(...)
acpivga0 at acpi0 (VGA): ACPI Display Adapter
acpiout0 at acpivga0 (LCD, 0x0110): ACPI Display Output Device
acpiout0: brightness levels: [1,7,20,26,40,46,60,66,80,86,100]
acpivga0: connected output devices:
acpivga0:   0x0100: Ext. Monitor, head 0, bios detect
acpivga0:   0x0110 (acpiout0): LCD Panel, head 0, bios detect
acpivga0:   0x0200: TV, head 0
acpivga0:   0x0210: Unknown Output Device, head 0, bios detect
acpivga0:   0x0220: Unknown Output Device, head 0, bios detect
(...)
radeon0 at pci0 dev 1 function 0: vendor 1002 product 130a (rev. 0x00)
(...)
acpivga0: connected output devices:
acpivga0:   0x0100: Ext. Monitor, head 0, bios detect
acpivga0:   0x0110 (acpiout0): LCD Panel, head 0, bios detect
acpivga0:   0x0200: TV, head 0
acpivga0:   0x0210: Unknown Output Device, head 0, bios detect
acpivga0:   0x0220: Unknown Output Device, head 0, bios detect
ahcisata0 port 1: device present, speed: 1.5Gb/s
acpivga0: connected output devices:
acpivga0:   0x0100: Ext. Monitor, head 0, bios detect
acpivga0:   0x0110 (acpiout0): LCD Panel, head 0, bios detect
acpivga0:   0x0200: TV, head 0
acpivga0:   0x0210: Unknown Output Device, head 0, bios detect
acpivga0:   0x0220: Unknown Output Device, head 0, bios detect
(...)
drm: initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988).
drm: register mmio base: 0xf0b00000
drm: register mmio size: 262144
drm: doorbell mmio base: 0xF0000000
drm: doorbell mmio size: 8388608
drm kern info: ATOM BIOS: 113
radeon0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
radeon0: info: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
drm: Detected VRAM RAM=400M, BAR=256M
drm: RAM width 128bits DDR
Zone  kernel: Available graphics memory: 2236800 kiB
Zone   dma32: Available graphics memory: 2097152 kiB
drm: radeon: 1024M of VRAM memory ready
drm: radeon: 1024M of GTT memory ready.
drm: Loading KAVERI Microcode
drm: Internal thermal controller without fan control
drm: radeon: dpm initialized
drm: GART: num cpu pages 262144, num gpu pages 262144
drm: PCIE GART of 1024M enabled (table at 0x0000000000277000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xffff80009d23bc00
radeon0: info: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0x0xffff80009d23bc04
radeon0: info: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0x0xffff80009d23bc08
radeon0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xffff80009d23bc0c
radeon0: info: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0x0xffff80009d23bc10
radeon0: info: fence driver on ring 5 use gpu addr 0x0000000000076c98 and cpu addr 0x0xffff80009d286c98
radeon0: error: VCE init error (-22).
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
radeon0: interrupting at ioapic1 pin 2 (radeon)
drm: radeon: irq initialized.
DRM error in cik_ring_test: radeon: ring 0 test failed (scratch(0x3010C)=0xCAFEDEAD)
radeon0: error: disabling GPU acceleration
drm: Radeon Display Connectors
drm: Connector 0:
drm:   VGA-1
drm:   HPD2
drm:   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
drm:   Encoders:
drm:     CRT1: INTERNAL_UNIPHY2
drm:     CRT1: NUTMEG
drm: Connector 1:
drm:   HDMI-A-1
drm:   HPD3
drm:   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
drm:   Encoders:
drm:     DFP1: INTERNAL_UNIPHY2
drm: Connector 2:
drm:   eDP-1
drm:   HPD1
drm:   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
drm:   Encoders:
drm:     LCD1: INTERNAL_UNIPHY
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xffff80009d997000, size 1920x1080, depth 32, stride 7680


>How-To-Repeat:
Start system, run startx, or X -configure, or anything X-related.
>Fix:
n/a



Home | Main Index | Thread Index | Old Index