svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolari...
Zbigniew Bodek
zbb at semihalf.com
Fri Aug 9 08:27:55 UTC 2013
2013/8/8 Zbyszek Bodek <zbb at semihalf.com>
> On 07.08.2013 20:55, Jeff Roberson wrote:
> > On Wed, 7 Aug 2013, Zbyszek Bodek wrote:
> >
> >> On 07.08.2013 08:21, Jeff Roberson wrote:
> >>> Author: jeff
> >>> Date: Wed Aug 7 06:21:20 2013
> >>> New Revision: 254025
> >>> URL: http://svnweb.freebsd.org/changeset/base/254025
> >>>
> >>> Log:
> >>> Replace kernel virtual address space allocation with vmem. This
> >>> provides
> >>> transparent layering and better fragmentation.
> >>>
> >>> - Normalize functions that allocate memory to use kmem_*
> >>> - Those that allocate address space are named kva_*
> >>> - Those that operate on maps are named kmap_*
> >>> - Implement recursive allocation handling for kmem_arena in vmem.
> >>>
> >>> Reviewed by: alc
> >>> Tested by: pho
> >>> Sponsored by: EMC / Isilon Storage Division
> >>>
> >>
> >> Hello Jeff,
> >>
> >> I'm having some trouble on my ARM platform staring from this commit.
> >> Kernel panics on assertion very early. Please check out log below (as
> >> you can see bt doesn't look helpful but assertion message is visible. I
> >> can send you which functions are in bt if it is necessary).
> >
> > It would be very helpful to know which function is passing the unaligned
> > value. I will resolve this later today if you can get me that
> information.
> >
> > Thanks,
> > Jeff
> >
>
> Hello Jeff,
>
> I'm attaching the BT with functions names included.
> Please give me a notice when you need something more.
>
> Hello again.
It seems that despite the attachment is visible in my sent messages it was
not included to the message on the mailing lists.
Hence I'm pasting it to this e-mail. Sorry for the possible inconvenience.
Best regards
Zbyszek Bodek
-----------------------------------------------------------------------------------------------
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
panic: Assertion (size & vm->vm_quantum_mask) == 0 failed at
/home/zbb/projects/armsp/freebsd-arm-superpages/sys/kern/subr_vmem.c:341
cpuid = 0
KDB: stack backtrace:
db_trace_self() at 0xc11fb224
pc = 0xc11fb224 lr = 0xc0f2dd34 (0xc0f2dd34)
sp = 0xc1372c90 fp = 0xc1347fc8
db_trace_self_wrapper() at 0xc0f2dd34
pc = 0xc0f2dd34 lr = 0xc1090d84 (0xc1090d84)
sp = 0xc1372da8 fp = 0xc1347fc8
r4 = 0xc13452d8
kdb_backtrace() at 0xc1090d84
pc = 0xc1090d84 lr = 0xc105b300 (0xc105b300)
sp = 0xc1372db0 fp = 0xc1347fc8
r4 = 0x00000001
vpanic() at 0xc105b300
pc = 0xc105b300 lr = 0xc105b3f4 (0xc105b3f4)
sp = 0xc1372dd0 fp = 0xc1347fc8
r4 = 0xc1252570 r5 = 0x13333333
r6 = 0xc1347f80 r7 = 0xc1494150
r8 = 0x00000010 r10 = 0xc1348140
kassert_panic() at 0xc105b3f4
pc = 0xc105b3f4 lr = 0xc10a6b24 (0xc10a6b24)
sp = 0xc1372e08 fp = 0xc1347fc8
r0 = 0xc1252570 r1 = 0xc126c6d4
r2 = 0xc126c64c r3 = 0x00000155
r4 = 0x00013333
bt_insfree() at 0xc10a6b24
pc = 0xc10a6b24 lr = 0xc10a7410 (0xc10a7410)
sp = 0xc1372e20 fp = 0xc1347fc8
r4 = 0xc1494150 r5 = 0xc149416c
r6 = 0xc1347f80 r7 = 0x13333333
r8 = 0xc57c8000
vmem_add1() at 0xc10a7410
pc = 0xc10a7410 lr = 0xc10a7604 (0xc10a7604)
sp = 0xc1372e38 fp = 0xc1347fc8
r4 = 0xc1347f80 r5 = 0x00000000
r6 = 0xc57c8000 r7 = 0x13333333
r8 = 0x00000010
vmem_add() at 0xc10a7604
pc = 0xc10a7604 lr = 0xc10a8bb8 (0xc10a8bb8)
sp = 0xc1372e50 fp = 0xc1347fc8
r4 = 0xc1347fe4 r5 = 0x00000000
r6 = 0x00010000 r7 = 0xc1347f80
vmem_init() at 0xc10a8bb8
pc = 0xc10a8bb8 lr = 0xc104487c (0xc104487c)
sp = 0xc1372e98 fp = 0x00000000
r4 = 0x13333333 r5 = 0xc1347f80
r6 = 0xc130e588 r7 = 0x00f0004c
r8 = 0x7f9ea674 r9 = 0x00000001
r10 = 0x7ff1449c
kmeminit() at 0xc104487c
pc = 0xc104487c lr = 0xc10448ec (0xc10448ec)
sp = 0xc1372eb8 fp = 0x00000000
r4 = 0xc1297b90 r5 = 0x00f00058
r6 = 0x00f00000
mallocinit() at 0xc10448ec
pc = 0xc10448ec lr = 0xc1010b20 (0xc1010b20)
sp = 0xc1372ee8 fp = 0x00000000
r4 = 0xc1297b90 r5 = 0x00f00058
r6 = 0x00f00000 r7 = 0x00f0004c
r8 = 0x7f9ea674 r9 = 0x00000001
r10 = 0x7ff1449c
mi_startup() at 0xc1010b20
pc = 0xc1010b20 lr = 0xc0f00128 (0xc0f00128)
sp = 0xc1372ef8 fp = 0x00000000
r4 = 0x00f00184 r5 = 0x00f00058
virt_done() at 0xc0f00128
pc = 0xc0f00128 lr = 0xc0f00128 (0xc0f00128)
sp = 0xc1372ef8 fp = 0x00000000
Unable to unwind further
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at 0xc1090c18: ldrb r15, [r15, r15, ror r15]!
db>
More information about the svn-src-all
mailing list