Date: Tue, 21 Jun 2016 22:40:16 +0300 From: "Andriy Voskoboinyk" <s3erios@gmail.com> To: =?utf-8?Q?Otac=C3=ADlio?= <otacilio.neto@bsd.com.br> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held Message-ID: <op.yje99ex5iew4ia@localhost> In-Reply-To: <1a55f000-eff9-31db-f420-e00278c4c054@bsd.com.br> References: <fd733c3a-1407-88ae-3bf9-f664e821deb0@bsd.com.br> <5e322d5a-8c42-8e69-f3c4-e607d40e8724@bsd.com.br> <1a55f000-eff9-31db-f420-e00278c4c054@bsd.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Tue, 21 Jun 2016 03:06:15 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Otac=C3=ADlio = <otacilio.neto@bsd.com.br>: Should be fixed in r302064. > Em 19/06/2016 18:47, Otac=C3=ADlio escreveu: >> Em 19/06/2016 18:40, Otac=C3=ADlio escreveu: >>> I was installing netperf on a fresh FreeBSD-ALPHA3 >>> >>> FreeBSD beaglebone 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301846: Mon J= un = >>> 13 19:54:27 BRT 2016 = >>> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE= -DEBUG = >>> arm >>> >>> on BeagleboneBlack using wrtwn when I got this kernel panic: >>> >>> root@beaglebone:/usr/home/ota # pkg install netperf >>> Updating FreeBSD repository catalogue... >>> Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 >>> Fetching packagesite.txz: 100% 4 MiB 46.0kB/s 01:42 >>> Processing entries: 6%lock order reversal: >>> 1st 0xc30b35d4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2048 >>> 2nd 0xc319d6f4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 >>> stack backtrace: >>> Processing entries: 58%Kernel page fault with the following = >>> non-sleepable locks held: >>> exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f9d520)= = >>> locked @ /usr/src/sys/netinet/tcp_syncache.c:494 >>> shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = >>> /usr/src/sys/netinet/tcp_input.c:1034 >>> exclusive rw tcpinp (tcpinp) r =3D 0 (0xc31ab494) locked @ = >>> /usr/src/sys/netinet/in_pcb.c:1964 >>> stack backtrace: >>> Fatal kernel mode data abort: 'Alignment Fault' on read >>> trapframe: 0xdcfe58a8 >>> FSR=3D00000001, FAR=3Dc2e7187a, spsr=3D60000013 >>> r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fa3ad, r3 =3D000007b6 >>> r4 =3Ddcfe5a10, r5 =3Ddcfe5b28, r6 =3Dc2e71876, r7 =3Dc2f9d520 >>> r8 =3Dc2f9d520, r9 =3Dc2e71876, r10=3Ddcfe5b28, r11=3Ddcfe5970 >>> r12=3D00000000, ssp=3Ddcfe5938, slr=3Dc2d34370, pc =3Dc053d8e8 >>> >>> [ thread pid 13 tid 100036 ] >>> Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} >>> db> >>> >>> >>> []'s >>> >>> -Otac=C3=ADlio >>> >> The kernel panic is totally reproducible. I need only do a ssh in the= = >> beaglebone using ptty on windows or ssh on freebsd and the kernel pan= ic = >> is raised. >> >> FreeBSD/arm (beaglebone) (ttyu0) >> >> login: Kernel page fault with the following non-sleepable locks held:= >> exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f95480) = = >> locked @ /usr/src/sys/netinet/tcp_syncache.c:494 >> shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = >> /usr/src/sys/netinet/tcp_input.c:1034 >> exclusive rw tcpinp (tcpinp) r =3D 0 (0xc341e494) locked @ = >> /usr/src/sys/netinet/in_pcb.c:1964 >> stack backtrace: >> Fatal kernel mode data abort: 'Alignment Fault' on read >> trapframe: 0xdcfe58a8 >> FSR=3D00000001, FAR=3Dc2e7807a, spsr=3D60000013 >> r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fa3ad, r3 =3D000007b6 >> r4 =3Ddcfe5a10, r5 =3Ddcfe5b28, r6 =3Dc2e78076, r7 =3Dc2f95480 >> r8 =3Dc2f95480, r9 =3Dc2e78076, r10=3Ddcfe5b28, r11=3Ddcfe5970 >> r12=3D00000000, ssp=3Ddcfe5938, slr=3Dc2d34370, pc =3Dc053d8e8 >> >> [ thread pid 13 tid 100036 ] >> Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} >> db> >> > FreeBSD11-ALPHA4 shows the same behavior. The only thing that I need t= o = > raise the fault is ssh in the beaglebone. > > > root@beaglebone:~ # uname -a > FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r301975: Fri Jun= = > 17 13:32:55 UTC 2016 = > root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE= = > arm > root@beaglebone:~ # Kernel page fault with the following non-sleepable= = > locks held: > exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f98740) = > locked @ /usr/src/sys/netinet/tcp_syncache.c:494 > shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = > /usr/src/sys/netinet/tcp_input.c:1034 > exclusive rw tcpinp (tcpinp) r =3D 0 (0xc33e4494) locked @ = > /usr/src/sys/netinet/in_pcb.c:1964 > stack backtrace: > Fatal kernel mode data abort: 'Alignment Fault' on read > trapframe: 0xdcfe58c0 > FSR=3D00000001, FAR=3Dc2e7a07a, spsr=3D60000013 > r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fabe6, r3 =3D000007b6 > r4 =3Ddcfe5a28, r5 =3Ddcfe5b40, r6 =3Dc2e7a076, r7 =3Dc2f98740 > r8 =3Dc2f98740, r9 =3Dc2e7a076, r10=3Ddcfe5b40, r11=3Ddcfe5988 > r12=3D00000000, ssp=3Ddcfe5950, slr=3Dc2d33370, pc =3Dc053df7c > > [ thread pid 13 tid 100036 ] > Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} > db> > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = > "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.yje99ex5iew4ia>