https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259019
Bug ID: 259019 Summary: kld_list="radeonkms" in /etc/rc.conf -> kernel panic Product: Base System Version: 13.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: donaldcal...@gmail.com Created attachment 228531 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228531&action=edit dmesg In trying to run a newly installed copy of FreeBSD 13 on the machine described in the attached dmesg, I need to load radeonkms kernel module in order to obtain full resolution when running X. Following the man page for rc.conf, which says: kld_list (str) A whitespace-separated list of kernel modules to load right after the local disks are mounted, without any .ko ex- tension or path. Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disks. Noting "without any .ko extension or path", I added the line kld_list="radeonkms" Prior to doing so, the system would boot normally and I could run 'startx' and X would come up, but with VGA resolution. After adding the line above, the system would crash while booting. I found the following in /var/log/messages: Oct 8 11:03:09 giovanni kernel: Fatal trap 12: page fault while in kernel mode Oct 8 11:03:09 giovanni kernel: cpuid = 3; apic id = 03 Oct 8 11:03:09 giovanni kernel: fault virtual address = 0x0 Oct 8 11:03:09 giovanni kernel: fault code = supervisor read data, page not present Oct 8 11:03:09 giovanni kernel: instruction pointer = 0x20:0xffffffff80853b62 Oct 8 11:03:09 giovanni kernel: stack pointer = 0x28:0xfffffe011604f4d0 Oct 8 11:03:09 giovanni kernel: frame pointer = 0x28:0xfffffe011604f500 Oct 8 11:03:09 giovanni kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Oct 8 11:03:09 giovanni kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Oct 8 11:03:09 giovanni kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Oct 8 11:03:09 giovanni kernel: current process = 70998 (kldload) Oct 8 11:03:09 giovanni kernel: trap number = 12 Oct 8 11:03:09 giovanni kernel: panic: page fault Oct 8 11:03:09 giovanni kernel: cpuid = 3 Oct 8 11:03:09 giovanni kernel: time = 1633705330 Oct 8 11:03:09 giovanni kernel: KDB: stack backtrace: Oct 8 11:03:09 giovanni kernel: #0 0xffffffff80c57345 at kdb_backtrace+0x65 Oct 8 11:03:09 giovanni kernel: #1 0xffffffff80c09d21 at vpanic+0x181 Oct 8 11:03:09 giovanni kernel: #2 0xffffffff80c09b93 at panic+0x43 Oct 8 11:03:09 giovanni kernel: #3 0xffffffff8108b187 at trap_fatal+0x387 Oct 8 11:03:09 giovanni kernel: #4 0xffffffff8108b1df at trap_pfault+0x4f Oct 8 11:03:09 giovanni kernel: #5 0xffffffff8108a83d at trap+0x27d Oct 8 11:03:09 giovanni kernel: #6 0xffffffff810617a8 at calltrap+0x8 Oct 8 11:03:09 giovanni kernel: #7 0xffffffff82371f76 at evergreen_fix_pci_max_read_req_size+0x176 Oct 8 11:03:09 giovanni kernel: #8 0xffffffff823795fc at evergreen_startup+0x87c Oct 8 11:03:09 giovanni kernel: #9 0xffffffff8237b7cc at evergreen_init+0x28c Oct 8 11:03:09 giovanni kernel: #10 0xffffffff823d0980 at radeon_device_init+0xde0 Oct 8 11:03:09 giovanni kernel: #11 0xffffffff823e1009 at radeon_driver_load_kms+0x139 Oct 8 11:03:09 giovanni kernel: #12 0xffffffff824ae7b6 at drm_dev_register+0xc6 Oct 8 11:03:09 giovanni kernel: #13 0xffffffff823d7830 at radeon_pci_probe+0x230 Oct 8 11:03:09 giovanni kernel: #14 0xffffffff80e4301b at linux_pci_attach_device+0x30b Oct 8 11:03:09 giovanni kernel: #15 0xffffffff80c4653d at device_attach+0x3dd Oct 8 11:03:09 giovanni kernel: #16 0xffffffff80c48196 at bus_generic_driver_added+0xb6 Oct 8 11:03:09 giovanni kernel: ---<<BOOT>>--- Oddly, and contrary to what the man page says, changing the added line in rc.conf to kld_list="/boot/modules/radeonkms.ko" allows the system to boot and the radeonkms driver is apparently loaded, as the resolution in X is now correct. -- You are receiving this mail because: You are the assignee for the bug.