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
Best regards
Zbyszek Bodek
-------------------------------------------------------------------------
## Starting application at 0x00F00000 ...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #155 7ddb89a-dirty: Wed Aug 7 12:12:39 CEST 2013
zbb@:/home/zbb/projects/armsp/obj_gcc/arm.arm/home/zbb/projects/armsp/freebsd-arm-superpages/sys/ARMADAXP
arm
gcc version 4.2.1 20070831 patched [FreeBSD]
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
KDB: stack backtrace:
(null)() at 0xc11f6874
pc = 0xc11f6874 lr = 0xc0f2dc00 (0xc0f2dc00)
sp = 0xc1361c98 fp = 0xc1340288
(null)() at 0xc0f2dc00
pc = 0xc0f2dc00 lr = 0xc108dd14 (0xc108dd14)
sp = 0xc1361db0 fp = 0xc1340288
r4 = 0xc133d654
(null)() at 0xc108dd14
pc = 0xc108dd14 lr = 0xc105a6f0 (0xc105a6f0)
sp = 0xc1361db8 fp = 0xc1340288
r4 = 0xc132f940
(null)() at 0xc105a6f0
pc = 0xc105a6f0 lr = 0xc105a7dc (0xc105a7dc)
sp = 0xc1361dd0 fp = 0xc1340288
r4 = 0xc124c6fc r5 = 0x13333333
r6 = 0xc1340240 r7 = 0xc147d150
r8 = 0x00000010
(null)() at 0xc105a7dc
pc = 0xc105a7dc lr = 0xc10a2ef8 (0xc10a2ef8)
sp = 0xc1361e08 fp = 0xc1340288
r0 = 0xc124c6fc r1 = 0xc12662b8
r2 = 0xc1266230 r3 = 0x00000155
r4 = 0x00013333
(null)() at 0xc10a2ef8
pc = 0xc10a2ef8 lr = 0xc10a37e4 (0xc10a37e4)
sp = 0xc1361e20 fp = 0xc1340288
r4 = 0xc147d150 r5 = 0xc147d16c
r6 = 0xc1340240 r7 = 0x13333333
r8 = 0xc57b1000
(null)() at 0xc10a37e4
pc = 0xc10a37e4 lr = 0xc10a39d8 (0xc10a39d8)
sp = 0xc1361e38 fp = 0xc1340288
r4 = 0xc1340240 r5 = 0x00000000
r6 = 0xc57b1000 r7 = 0x13333333
r8 = 0x00000010
(null)() at 0xc10a39d8
pc = 0xc10a39d8 lr = 0xc10a4f8c (0xc10a4f8c)
sp = 0xc1361e50 fp = 0xc1340288
r4 = 0xc13402a4 r5 = 0x00000000
r6 = 0x00010000 r7 = 0xc1340240
(null)() at 0xc10a4f8c
pc = 0xc10a4f8c lr = 0xc1044398 (0xc1044398)
sp = 0xc1361e98 fp = 0x00000000
r4 = 0x13333333 r5 = 0xc1340240
r6 = 0xc1307574 r7 = 0x00f0004c
r8 = 0x7f9ea674 r9 = 0x00000001
r10 = 0x7ff1449c
(null)() at 0xc1044398
pc = 0xc1044398 lr = 0xc1044408 (0xc1044408)
sp = 0xc1361eb8 fp = 0x00000000
r4 = 0xc1291584 r5 = 0x00f00058
r6 = 0x00f00000
(null)() at 0xc1044408
pc = 0xc1044408 lr = 0xc1010800 (0xc1010800)
sp = 0xc1361ee8 fp = 0x00000000
r4 = 0xc1291584 r5 = 0x00f00058
r6 = 0x00f00000 r7 = 0x00f0004c
r8 = 0x7f9ea674 r9 = 0x00000001
r10 = 0x7ff1449c
(null)() at 0xc1010800
pc = 0xc1010800 lr = 0xc0f00124 (0xc0f00124)
sp = 0xc1361ef8 fp = 0x00000000
r4 = 0x00f00164 r5 = 0x00f00058
(null)() at 0xc0f00124
pc = 0xc0f00124 lr = 0xc0f00124 (0xc0f00124)
sp = 0xc1361ef8 fp = 0x00000000
Unable to unwind further
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at 0xc108dba8: ldrb r15, [r15, r15, ror r15]!
db>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"