ARM L4Linux Kernel Panic

Wesley Miaw wesley at wesman.net
Wed Jan 5 19:22:52 CET 2011


Hi Adam,

> On Mon Jan 03, 2011 at 16:04:01 -0800, Wesley Miaw wrote:
>> I am attempting to run the L4linux ARM build from the Fiasco + L4Re +
L4linux snapshot l4re-snapshot-2010111519.tar.bz2 but L4linux is kernel
panicking during startup. Here's my build information and a snippet of
the
>> error output. I'd appreciate any help trying to figure out what's going
wrong and resolving the problem.
>> GCC_PATH_PREFIX=/opt/sourcery-g++-lite/bin/arm-none-linux-gnueabi-
L4ARCH=arm
>> make setup
>>   -> selected ARM realview
>> make
>> cd obj/l4linux/arm-up
>> make arm_defconfig
>> make menuconfig
>>   -> set L4 build path obj/l4/arm-rv
>>   -> set cross compile prefix arm-none-linux-gnueabi-
>>   -> turned on ARM EABI + old EABI binaries options
>> make
>> cd obj/l4/arm-rv
>> make image E="L4linux ARM"
>> qemu-arm-l4 images/bootstrap.elf
>> Got through to Ned: loading file: 'rom/l4lx.cfg' without any apparent
issues. L4linux started, but got a bunch of bad page errors:
>> BUG: Bad page state in process swapper  pfn:0431c
>> page:00488380 count:4752264 mapcount:0 mapping:00488390 index:0x488390
page flags: 0x488380(slab|owner_priv_1|arch_1|tail|buddy|mlocked) These
went through, and then it looked like the kernel was proceeding, but
>> eventually:
> I think the "bad page state" messages are the cause for the following
oops. I tried to reproduce that by following your steps but I failed,
i.e. it always works for me. Could you give me some more info, like all
of the Linux output so that I see gcc version used etc. Qemu is which
version?

I'll try attaching the startup output as a text file, so as to avoid a
gigantic email body. Here's the Linux and QEMU info:

Ubuntu 10.04 LTS
Linux lgux-wmiaw2 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC
2010 i686 GNU/Linux
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008
Fabrice Bellard

I have the QEMU Ubuntu packages installed:

qemu-kvm-extras 0.12.3+noroms-0ubuntu9.3
vgabios 0.6c-2ubuntu1
qemu-common 0.12.3+noroms-0ubuntu9.3
qemu-kvm 0.12.3+noroms-0ubuntu9.3

Here's the Sourcery G++ version info:

$ arm-none-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/sourcery-g++-lite/bin/../libexec/gcc/arm-none-linux-gnueabi/4.5.1/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /scratch/nathan/arm-lite/src/gcc-4.5-2010.09/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs
--with-arch=armv5te --with-gnu-as --with-gnu-ld
--with-specs='%{save-temps: -fverbose-asm}
%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}
-D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9
-D__CS_SOURCERYGXX_REV__=50 %{O2:%{!fno-remove-local-statics:
-fremove-local-statics}}
%{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics:
-fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared
--enable-lto --enable-symvers=gnu --enable-__cxa_atexit
--with-pkgversion='Sourcery G++ Lite 2010.09-50'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls
--prefix=/opt/codesourcery
--with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc
--with-build-sysroot=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/libc
--with-gmp=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-mpfr=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-mpc=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-ppl=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--with-cloog=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-libelf=/scratch/nathan/arm-lite/obj/host-libs-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/bin
--with-build-time-tools=/scratch/nathan/arm-lite/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)

And my local /usr/bin/gcc:

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
-- 
Wesley Miaw
wesley at wesman.net

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20110105/cba65b95/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: l4linux.txt
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20110105/cba65b95/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: image.txt
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20110105/cba65b95/attachment-0002.txt>


More information about the l4-hackers mailing list