[Bug 227116] CURRENT doesn't boot with integer divide fault in uma_startup_count

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 31 19:45:51 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227116

--- Comment #21 from Daniel Kolesa <daniel at octaforge.org> ---
Created attachment 192015
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192015&action=edit
different panic after patch

I rebuilt the kernel once again with my patch this time (the updated condition,
see comment above).

It didn't panic there, but it did panic in another place. Backtrace attached.
Here's relevant kgdb listing:

0xffffffff80e3f015 is in keg_ctor (/usr/src/sys/vm/uma_core.c:1294).
1289                    shsize = 0;
1290            else 
1291                    shsize = sizeof(struct uma_slab);
1292    
1293            keg->uk_ipers = (slabsize - shsize) / rsize;
1294            KASSERT(keg->uk_ipers > 0 && keg->uk_ipers <= SLAB_SETSIZE,
1295                ("%s: keg->uk_ipers %u", __func__, keg->uk_ipers));
1296    
1297            memused = keg->uk_ipers * rsize + shsize;
1298            wastedspace = slabsize - memused;


Looks like the assertion is failing this time.

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


More information about the freebsd-bugs mailing list