[Bug 281035] agp driver kernel panic on 14.1 - agp_close(): page fault while in kernel mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Aug 2024 13:39:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281035

--- Comment #2 from Franco Fichtner <franco@opnsense.org> ---
(kgdb) frame 18
#18 agp_close (kdev=<optimized out>, fflag=<optimized out>, devtype=<optimized
out>, td=<optimized out>) at /usr/src/sys/dev/agp/agp.c:840
840                             AGP_UNBIND_MEMORY(dev, mem);
(kgdb) p dev
$1 = (device_t) 0xfffff800045d3000
(kgdb) p mem
$2 = (struct agp_memory *) 0xfffff800045d2600
(kgdb) p *dev
$3 = {ops = 0xfffff80004892900, link = {tqe_next = 0xf5c0000000000018, tqe_prev
= 0x0}, devlink = {tqe_next = 0x0, tqe_prev = 0xfffff800045d3018}, parent =
0x1, children = {
    tqh_first = 0xfffff800045e7800, tqh_last = 0xfffff800045e7400}, driver =
0xffffffff811ece77, devclass = 0x1030000, unit = 0, nameunit = 0x0, 
  desc = 0x10000000 <error: Cannot access memory at address 0x10000000>, busy =
76113856, state = 4294965248, devflags = 0, flags = 2047, order = 8388608,
ivars = 0x10000, 
  softc = 0xfffff800045d2700, sysctl_ctx = {tqh_first = 0x0, tqh_last =
0xfffff80004892b00}, sysctl_tree = 0xfffff80004892880}
(kgdb) p *mem
$4 = {am_link = {tqe_next = 0xfffff80004768000, tqe_prev = 0xfffff800045d2500},
am_id = 73213704, am_size = 18446735277689742592, am_type = 73213720, am_obj =
0xfffff800045d2800, 
  am_physical = 18446735277689745920, am_offset = 18446735277689745672,
am_is_bound = -2119914208}

-- 
You are receiving this mail because:
You are the assignee for the bug.