Hello,

I'm probably doing something stupid here, but would be very grateful for 
some help.

I want to run the Kernel Networking unit tests with a custom kernel, but I 
want to make sure that I am using it properly first.

So, I downloaded a vanilla kernel:

$ mkdir ~/code/kernel 
$ cd ~/code/kernel 
$ git clone https://android.googlesource.com/kernel/omap.git 
$ cd omap 
$ git checkout -b test 
origin/android-omap-minnow-3.10-marshmallow-mr1-wear-release
$ cd kernel

(I had previously downloaded the Kernel Networking unit tests into 
~/code/kerneltests)

$ ~/code/kerneltests/tests/net/test/run_net_test.sh all_tests.sh

This build has an error 
net/ipv4/tcp.c: In function ‘tcp_nuke_addr’: 
 
include/net/ipv6.h:422:17: error: ‘in6’ may be used uninitialized in this 
function [-Werror=uninitialized] 
net/ipv4/tcp.c:3493:19: note: ‘in6’ was declared here 
cc1: all warnings being treated as errors 
 
Added in6 = NULL; immediately after the definition in tcp.c 
 
All tests now ran, but loads of failures! The results are below, at the 
bottom of the post.


Could you please give me some feedback as to why the tests are failing?

Thanks and regards
Ben






Running /host/../code/kerneltests/tests/net/test/all_tests.sh 
 
##### Found 11 tests. 
 
##### ./sock_diag_test.py (1/11) 
 
WARNING: No route found for IPv6 destination :: (no default route?) 
EFEEEEFF.FFFE.. 
====================================================================== 
ERROR: testAcceptInterrupted (__main__.SockDestroyTcpTest) 
Tests that accept() is interrupted by SOCK_DESTROY. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 581, in testAcceptInterrupted 
    self.CloseDuringBlockingCall(self.s, lambda sock: sock.accept(), 
EINVAL) 
  File "./sock_diag_test.py", line 568, in CloseDuringBlockingCall 
    self.sock_diag.CloseSocketFromFd(sock) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 335, in CloseSocketFromFd 
    return self.CloseSocket(req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 329, in CloseSocket 
    netlink.NLM_F_REQUEST | netlink.NLM_F_ACK) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 183, in _SendNlRequest 
    self._ExpectAck() 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 170, in _ExpectAck 
    self._ParseAck(response) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -22] Invalid argument 
 
====================================================================== 
ERROR: testConnectInterrupted (__main__.SockDestroyTcpTest) 
Tests that connect() is interrupted by SOCK_DESTROY. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 607, in testConnectInterrupted 
    s, lambda sock: sock.connect((remoteaddr, 53)), ECONNABORTED) 
  File "./sock_diag_test.py", line 568, in CloseDuringBlockingCall 
    self.sock_diag.CloseSocketFromFd(sock) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 335, in CloseSocketFromFd 
    return self.CloseSocket(req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 329, in CloseSocket 
    netlink.NLM_F_REQUEST | netlink.NLM_F_ACK) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 183, in _SendNlRequest 
    self._ExpectAck() 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 170, in _ExpectAck 
    self._ParseAck(response) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -22] Invalid argument 
 
====================================================================== 
ERROR: testFinWait1Socket (__main__.SockDestroyTcpTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 467, in testFinWait1Socket 
    self.CheckRstOnClose(None, diag_req, False, "Closing FIN_WAIT1 socket") 
  File "./sock_diag_test.py", line 421, in CheckRstOnClose 
    self.sock_diag.CloseSocket(req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 329, in CloseSocket 
    netlink.NLM_F_REQUEST | netlink.NLM_F_ACK) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 183, in _SendNlRequest 
    self._ExpectAck() 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 170, in _ExpectAck 
    self._ParseAck(response) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -22] Invalid argument 
 
====================================================================== 
ERROR: testReadInterrupted (__main__.SockDestroyTcpTest) 
Tests that read() is interrupted by SOCK_DESTROY. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 590, in testReadInterrupted 
    ECONNABORTED) 
  File "./sock_diag_test.py", line 568, in CloseDuringBlockingCall 
    self.sock_diag.CloseSocketFromFd(sock) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 335, in CloseSocketFromFd 
    return self.CloseSocket(req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 329, in CloseSocket 
    netlink.NLM_F_REQUEST | netlink.NLM_F_ACK) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 183, in _SendNlRequest 
    self._ExpectAck() 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 170, in _ExpectAck 
    self._ParseAck(response) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -22] Invalid argument 
 
====================================================================== 
ERROR: testTcpResets (__main__.SockDestroyTcpTest) 
Checks that closing sockets in appropriate states sends a RST. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 445, in testTcpResets 
    self.CheckTcpReset(tcp_test.TCP_LISTEN, "TCP_LISTEN") 
  File "./sock_diag_test.py", line 438, in CheckTcpReset 
    self.CheckRstOnClose(self.s, None, False, msg) 
  File "./sock_diag_test.py", line 417, in CheckRstOnClose 
    self.sock_diag.CloseSocketFromFd(sock) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 335, in CloseSocketFromFd 
    return self.CloseSocket(req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 329, in CloseSocket 
    netlink.NLM_F_REQUEST | netlink.NLM_F_ACK) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 183, in _SendNlRequest 
    self._ExpectAck() 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 170, in _ExpectAck 
    self._ParseAck(response) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -22] Invalid argument 
 
====================================================================== 
ERROR: testFindsMappedSockets (__main__.SockDiagTest) 
Tests that inet_diag_find_one_icsk can find mapped sockets. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 117, in testFindsMappedSockets 
    self.sock_diag.GetSockDiag(diag_req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/sock_diag.py", 
line 320, in GetSockDiag 
    return self._GetMsg(InetDiagMsg)[0] 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 207, in _GetMsg 
    self._ParseAck(data) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/netlink.py", 
line 164, in _ParseAck 
    raise IOError(error, os.strerror(-error)) 
IOError: [Errno -2] No such file or directory 
 
====================================================================== 
FAIL: testChildSockets (__main__.SockDestroyTcpTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 559, in testChildSockets 
    self.CheckChildSocket(version, "TCP_SYN_RECV", False) 
  File "./sock_diag_test.py", line 520, in CheckChildSocket 
    self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/net_test.py", 
line 364, in assertRaisesErrno 
    self.assertRaisesRegexp(EnvironmentError, msg, f, *args) 
AssertionError: "No such file or directory" does not match "[Errno -116] 
Stale NFS file handle" 
 
====================================================================== 
FAIL: testClosesSockets (__main__.SockDestroyTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 345, in testClosesSockets 
    self.assertRaisesErrno(ENOENT, self.sock_diag.CloseSocket, req) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/net_test.py", 
line 364, in assertRaisesErrno 
    self.assertRaisesRegexp(EnvironmentError, msg, f, *args) 
AssertionError: "No such file or directory" does not match "[Errno -22] 
Invalid argument" 
 
====================================================================== 
FAIL: testNonTcpSockets (__main__.SockDestroyTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 359, in testNonTcpSockets 
    self.assertRaisesErrno(EOPNOTSUPP, self.sock_diag.CloseSocketFromFd, s) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/net_test.py", 
line 364, in assertRaisesErrno 
    self.assertRaisesRegexp(EnvironmentError, msg, f, *args) 
AssertionError: "Operation not supported" does not match "[Errno -22] 
Invalid argument" 
 
====================================================================== 
FAIL: testBytecodeCompilation (__main__.SockDiagTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 189, in testBytecodeCompilation 
    self.assertItemsEqual(allsockets, filteredsockets) 
AssertionError: Element counts were not equal: 
 
Diff is 12790 characters long. Set self.maxDiff to None to see it. 
 
====================================================================== 
FAIL: testCrossFamilyBytecode (__main__.SockDiagTest) 
Checks for a cross-family bug in inet_diag_hostcond matching. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 222, in testCrossFamilyBytecode 
    states=states)) 
AssertionError: [(InetDiagMsg(family=2, state=1, timer=0, retrans=0, 
id=InetDiagSockId(sport=60003, dport=9722, 
src=0a009602000000000000ffff7f000001, dst=08080808000000000000ffff7f000001, 
iface=0, cookie=00786e8000000000), expires=0, rqueue=0, wqueue=0, uid=0, 
inode=269), {'INET_DIAG_SHUTDOWN': 0})] is not false 
 
====================================================================== 
FAIL: testFindsAllMySockets (__main__.SockDiagTest) 
Tests that basic socket dumping works. 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./sock_diag_test.py", line 147, in testFindsAllMySockets 
    self.sock_diag.FindSockDiagFromFd(sock)) 
  File "./sock_diag_test.py", line 100, in assertSockDiagMatchesSocket 
    self.assertEqual(diag_msg.id.src, self.sock_diag.PaddedAddress(src)) 
AssertionError: 
'\x7f\x00\x00\x01\x00\x00\x00\x00\x00\x00\xff\xff\x7f\x00\x00\x01' != 
'\x7f\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' 
 
---------------------------------------------------------------------- 
Ran 15 tests in 1.494s 
 
FAILED (failures=6, errors=6) 
 
 
##### ./cstruct_test.py (2/11) 
 
. 
---------------------------------------------------------------------- 
Ran 1 test in 0.000s 
 
OK 
 
 
##### ./net_test.py (3/11) 
 
WARNING: No route found for IPv6 destination :: (no default route?) 
 
---------------------------------------------------------------------- 
Ran 0 tests in 0.000s 
 
OK 
 
 
##### ./srcaddr_selection_test.py (4/11) 
 
WARNING: No route found for IPv6 destination :: (no default route?) 
EEEEEEEE 
====================================================================== 
ERROR: testDadFailure (__main__.DadFailureTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testChoosesNonInterfaceSourceAddress 
(__main__.DefaultCandidateSrcAddrsTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testSendToOnlinkDestination (__main__.NoNsFromOptimisticTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testModifiedRfc6724Behaviour (__main__.OptimisticAddressOkayTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testRfc6724Behaviour (__main__.OptimisticAddressTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testChoosesOnlyInterfaceSourceAddress 
(__main__.RestrictedCandidateSrcAddrsTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testRfc6724Behaviour (__main__.TentativeAddressTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
====================================================================== 
ERROR: testModifiedRfc6724Behaviour (__main__.ValidBeforeOptimisticTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./srcaddr_selection_test.py", line 145, in setUp 
    self.SetUseOptimistic(ifname, 0) 
  File "./srcaddr_selection_test.py", line 73, in SetUseOptimistic 
    self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_optimistic" % ifname, 
value) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 323, in SetSysctl 
    cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 
  File 
"/host/media/FluffyExt4_2TB/code/kerneltests/tests/net/test/multinetwork_base.py",
 
line 315, in GetSysctl 
    return open(sysctl, "r").read() 
IOError: [Errno 2] No such file or directory: 
'/proc/sys/net/ipv6/conf/nettest200/use_optimistic' 
 
---------------------------------------------------------------------- 
Ran 8 tests in 0.243s 
 
FAILED (errors=8) 
 
 
##### ./neighbour_test.py (5/11) 
 
WARNING: No route found for IPv6 destination :: (no default route?) 
... 
---------------------------------------------------------------------- 
Ran 3 tests in 8.778s 
 
OK 
 
 
##### ./anycast_test.py (6/11) 
 
WARNING: No route found for IPv6 destination :: (no default route?) 
F 
====================================================================== 
FAIL: testAnycastNetdeviceUnregister (__main__.AnycastTest) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "./anycast_test.py", line 106, in testAnycastNetdeviceUnregister 
    self.assertTrue(thread.finished) 
AssertionError: False is not true 
 
---------------------------------------------------------------------- 
Ran 1 test in 0.223s 
 
FAILED (failures=1) 
SysRq : Trigger a crash 
 
Modules linked in: 
Pid: 488, comm: anycast_test.py Not tainted 3.10.0-dirty 
RIP: 0033:[<00000000601ac4a9>] 
RSP: 00000000806bdd30  EFLAGS: 00010206 
RAX: 0000000000000001 RBX: 0000000060385710 RCX: 0000000060038cda 
RDX: 0000000060373bb0 RSI: 0000000000000000 RDI: 0000000000000063 
RBP: 00000000806bdd30 R08: 00000000806bda58 R09: 00000000806bdb60 
R10: 00000000806bc000 R11: 0000000000000246 R12: 0000000000000063 
R13: 0000000000000001 R14: 00000000806bde00 R15: 0000000000000002 
Call Trace:  
603675e8:  [<6001e32c>] segv+0x29d/0x2bb 
603675f8:  [<6002f574>] set_signals+0x29/0x3f 
60367618:  [<60040153>] __local_bh_enable+0x63/0xb2 
60367638:  [<6001b296>] do_IRQ+0x0/0x55 
60367640:  [<6002d670>] os_waiting_for_events+0x0/0xc5 
60367668:  [<60299fe5>] _raw_spin_unlock_irqrestore+0x23/0x27 
603676b8:  [<6001e3c5>] segv_handler+0x7b/0x81 
603676f8:  [<6002f4d2>] sig_handler_common+0xa4/0xb9 
60367758:  [<60038cda>] log_next+0x0/0x29 
60367780:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603677b0:  [<60299fb1>] _raw_spin_unlock+0x1/0x12 
60367808:  [<6001875c>] _einittext+0x2056/0x33da 
60367818:  [<60018250>] _einittext+0x1b4a/0x33da 
603678f8:  [<6001875c>] _einittext+0x2056/0x33da 
603679a8:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a28:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a38:  [<6002f62d>] sig_handler+0x4a/0x5d 
60367a58:  [<6002f0f9>] hard_handler+0x89/0xd8 
60367b58:  [<60038cda>] log_next+0x0/0x29 
60367b68:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
 
Kernel panic - not syncing: Kernel mode fault at addr 0x0, ip 0x601ac4a9 
CPU: 0 PID: 488 Comm: anycast_test.py Not tainted 3.10.0-dirty #1 
60367488 603674c0 60366000 60300ae8 00000000 60367700 601ac4a9 603674d0  
       60296556 603675e0 602936e2 60367298 3000000018 603675f0 60367500 
ffff95cf  
       00000000 601ac4a9 60293577 60367298 603673a0 60075e0a 00000000 
60367550  
Call Trace:  
603674b8:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603674c8:  [<60296556>] dump_stack+0x2a/0x2c 
603674d8:  [<602936e2>] panic+0x16b/0x2d3 
60367510:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
60367518:  [<60293577>] panic+0x0/0x2d3 
60367530:  [<60075e0a>] __module_text_address+0x14/0x5d 
60367548:  [<6007a28d>] is_module_text_address+0x10/0x18 
60367558:  [<60056061>] __kernel_text_address+0x2f/0x61 
60367568:  [<6029384a>] printk+0x0/0xa0 
60367578:  [<6001cd84>] show_trace+0xd4/0xdf 
603675a8:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603675d0:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603675e8:  [<6001e34a>] segv_handler+0x0/0x81 
603675f8:  [<6002f574>] set_signals+0x29/0x3f 
60367618:  [<60040153>] __local_bh_enable+0x63/0xb2 
60367638:  [<6001b296>] do_IRQ+0x0/0x55 
60367640:  [<6002d670>] os_waiting_for_events+0x0/0xc5 
60367668:  [<60299fe5>] _raw_spin_unlock_irqrestore+0x23/0x27 
603676b8:  [<6001e3c5>] segv_handler+0x7b/0x81 
603676f8:  [<6002f4d2>] sig_handler_common+0xa4/0xb9 
60367758:  [<60038cda>] log_next+0x0/0x29 
60367780:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603677b0:  [<60299fb1>] _raw_spin_unlock+0x1/0x12 
60367808:  [<6001875c>] _einittext+0x2056/0x33da 
60367818:  [<60018250>] _einittext+0x1b4a/0x33da 
603678f8:  [<6001875c>] _einittext+0x2056/0x33da 
603679a8:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a28:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a38:  [<6002f62d>] sig_handler+0x4a/0x5d 
60367a58:  [<6002f0f9>] hard_handler+0x89/0xd8 
60367b58:  [<60038cda>] log_next+0x0/0x29 
60367b68:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
 
 
Modules linked in: 
Pid: 488, comm: anycast_test.py Not tainted 3.10.0-dirty 
RIP: 0033:[<0000000040dae84d>] 
RSP: 0000007fbfe11480  EFLAGS: 00000293 
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: ffffffffffffffff 
RDX: 0000000000000001 RSI: 0000000040023000 RDI: 0000000000000004 
RBP: 0000000040023000 R08: 0000000040026f40 R09: 0000000000000000 
R10: 0000000000000022 R11: 0000000000000293 R12: 000000000139a600 
R13: 0000000000000001 R14: 00000000008d30a0 R15: 0000000000418e60 
Call Trace:  
60367458:  [<6001e6c7>] panic_exit+0x3e/0x5c 
60367488:  [<6005db8c>] notifier_call_chain+0x32/0x5e 
603674b8:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603674c8:  [<6005dbe8>] atomic_notifier_call_chain+0x1a/0x1c 
603674d8:  [<60293715>] panic+0x19e/0x2d3 
60367510:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
60367518:  [<60293577>] panic+0x0/0x2d3 
60367530:  [<60075e0a>] __module_text_address+0x14/0x5d 
60367548:  [<6007a28d>] is_module_text_address+0x10/0x18 
60367558:  [<60056061>] __kernel_text_address+0x2f/0x61 
60367568:  [<6029384a>] printk+0x0/0xa0 
60367578:  [<6001cd84>] show_trace+0xd4/0xdf 
603675a8:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603675d0:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603675e8:  [<6001e34a>] segv_handler+0x0/0x81 
603675f8:  [<6002f574>] set_signals+0x29/0x3f 
60367618:  [<60040153>] __local_bh_enable+0x63/0xb2 
60367638:  [<6001b296>] do_IRQ+0x0/0x55 
60367640:  [<6002d670>] os_waiting_for_events+0x0/0xc5 
60367668:  [<60299fe5>] _raw_spin_unlock_irqrestore+0x23/0x27 
603676b8:  [<6001e3c5>] segv_handler+0x7b/0x81 
603676f8:  [<6002f4d2>] sig_handler_common+0xa4/0xb9 
60367758:  [<60038cda>] log_next+0x0/0x29 
60367780:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 
603677b0:  [<60299fb1>] _raw_spin_unlock+0x1/0x12 
60367808:  [<6001875c>] _einittext+0x2056/0x33da 
60367818:  [<60018250>] _einittext+0x1b4a/0x33da 
603678f8:  [<6001875c>] _einittext+0x2056/0x33da 
603679a8:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a28:  [<6001b37a>] to_irq_stack+0x0/0x9e 
60367a38:  [<6002f62d>] sig_handler+0x4a/0x5d 
60367a58:  [<6002f0f9>] hard_handler+0x89/0xd8 
60367b58:  [<60038cda>] log_next+0x0/0x29 
60367b68:  [<601ac4a9>] sysrq_handle_crash+0x15/0x1f 

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to