rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01573
Re: Reboots with trunk rohc-lib in kernel module for embedded platform (arm)
Hi,
> I enabled only the IP profile and performed a ping which causes a
> reboot after a random number of successful pings. This seems similar
> to bug #1213411 (https://bugs.launchpad.net/rohc/+bug/1213411) - a
> NULL pointer deference. However they appear to happen at random
> points in either the rohc-lib code or the kernel module and cause a
> reboot. Sometimes a kernel oops is produced, but most times the
> system reboots without displaying anything.
> [...]
> Does this relate to bug #1213411?
It could be. Difficult to know if the same consequences are the result
of one or more causes.
> Are there any known issues with kernel 2.6.20 that may cause this?
>
> Or are there any suggestions as to what may be causing this?
It could be a bug in the ROHC library or the way you use it. It may
also be a bug related to the ARM arch. We may try to determine this
with the following tests:
1/ Tests in user space on ARM:
Retrieve the latest revision of the main branch.
Build the library (maybe cross-compilation is required):
$ ./autogen.sh && make clean && make all
Run the tests (on the target):
$ make check
Do all tests succeed?
2/ Tests in kernel space on ARM:
Retrieve the latest revision of the main branch.
Build the library and the kernel test module (maybe cross-compilation
is required:
$ ./autogen.sh && make clean && make all
Load the kernel modules (on the target):
# insmod linux/kmod/rohc.ko
# insmod linux/kmod/rohc_test.ko
Feed the rohc_test.ko module with some tests (on the target):
# test/non_regression/test_non_regression_kernel.sh
Do all tests succeed?
Regards,
Didier
References