Date: Tue, 8 Mar 2022 11:06:48 +0100 (CET) From: Lee MATTHEWS <lee.matthews.external@stormshield.eu> To: freebsd-arm@FreeBSD.org Subject: 'Translation Fault (L1) on read' error Message-ID: <645758921.24525489.1646734008202.JavaMail.zimbra@stormshield.eu>
next in thread | raw e-mail | index | archive | help
Hello, We are currently having problems during wifi testing on our embedded device= s that run FreeBSD 11.3 on armv6. We know that this version is no longer su= pported and we are currently working on updating to FreeBSD 13.0. We get random "Translation Fault (L1) on read" errors followed by a core du= mp. Continuous repeated testing can take several days before the problem ap= pears. What could be causing this error? I've been looking online and I wonder if = it could be an icache issue ?=20 https://lists.freebsd.org/pipermail/freebsd-hackers/2016-December/050255.ht= ml I have attached below a couple of kernel panic messages as well as the code= at the origin of the panic. Thanks in advance. Best regards, Lee Matthews ---- Unread portion of the kernel message buffer: [7022] Fatal kernel mode data abort: 'Translation Fault (L1)' on read [7022] trapframe: 0xb559e550 [7022] FSR=3D00000005, FAR=3D00000024, spsr=3D00000013 [7022] r0 =3D00000000, r1 =3D86bc7e00, r2 =3D86b26000, r3 =3D00000000 [7022] r4 =3D8702f0c8, r5 =3D000005b6, r6 =3D85055000, r7 =3D00000040 [7022] r8 =3D8702f000, r9 =3D86bc7e00, r10=3D853cb9fc, r11=3Db559e5e8 [7022] r12=3D853cb9fc, ssp=3Db559e5e0, slr=3D80092a34, pc =3D8036b2b0 [7022]=20 [7022] timeout stopping cpus [7022] panic: Fatal abort [7022] cpuid =3D 0 [7022] __HardenedBSD_version =3D 1100056 __FreeBSD_version =3D 1103500 [7022] version =3D NS-BSD 4.3.0.snap20210902--HBSD #0 : Tue Jan 18 01:21:57= CET 2022 [7022] leem@BuildHBSD113-1-armv6.labo.int:/home/leem/build/kernel/work-= OPTIM/sys/arm/compile/NETASQ.S.SMP.HW.RELEASE [7022] Uptime: 1h57m2s [7022] Physical memory: 2038 MB [7022] Dumping 250 MB: 247 243 239 235 231 227 223 savectx () at ../../../arm/arm/swtch.S:103 103=09../../../arm/arm/swtch.S: No such file or directory. (kgdb) bt #0 savectx () at ../../../arm/arm/swtch.S:103 #1 0x8024e5c0 in dumpsys (di=3D<unavailable>) at ./machine/dump.h:67 #2 doadump (textdump=3D<optimized out>) at ../../../kern/kern_shutdown.c:3= 33 #3 0x8024e3dc in kern_reboot (howto=3D260) at ../../../kern/kern_shutdown.= c:390 #4 0x8024e73c in vpanic (fmt=3D0x84e20400 "0\004=EF=BF=BD\204", ap=3D...) = at ../../../kern/kern_shutdown.c:785 #5 0x8024e5fc in panic (fmt=3D<unavailable>) at ../../../kern/kern_shutdow= n.c:714 #6 0x8052d2cc in abort_fatal (tf=3D0x0, idx=3D<optimized out>, fsr=3D<opti= mized out>, far=3D<optimized out>, prefetch=3D0, td=3D0x84f5a880, ksig=3D0x= b559e4d0) at ../../../arm/arm/trap-v6.c:625 #7 0x8052d0cc in abort_handler (tf=3D<optimized out>, prefetch=3D<optimize= d out>) at ../../../arm/arm/trap-v6.c:424 #8 <signal handler called> #9 ieee80211_crypto_encap (ni=3D<optimized out>, m=3D0x86bc7e00) at ../../= ../net80211/ieee80211_crypto.c:573 /* * Add privacy headers appropriate for the specified key. */ struct ieee80211_key * ieee80211_crypto_encap(struct ieee80211_node *ni, struct mbuf *m) { =09struct ieee80211_key *k; =09const struct ieee80211_cipher *cip; =09if ((k =3D ieee80211_crypto_get_txkey(ni, m)) !=3D NULL) { =09=09cip =3D k->wk_cipher; =09=09return (cip->ic_encap(k, m) ? k : NULL); -------- ligne 573 =09} =09return NULL; } ---- [1095] Fatal kernel mode data abort: 'Translation Fault (L1)' on read [1095] trapframe: 0xb559e9c0 [1095] FSR=3D00000005, FAR=3D0000ffff, spsr=3D00000013 [1095] r0 =3D870a955a, r1 =3D410c2018, r2 =3D00000011, r3 =3D0000ffff [1095] r4 =3D86b7c000, r5 =3D00000000, r6 =3D00000020, r7 =3D00000400 [1095] r8 =3D8705a000, r9 =3D85055000, r10=3D86bd7000, r11=3Db559ea80 [1095] r12=3D870a9558, ssp=3Db559ea50, slr=3D80384ea4, pc =3D80384f08 [1095]=20 [1095] timeout stopping cpus [1095] panic: Fatal abort [1095] cpuid =3D 0 [1095] __HardenedBSD_version =3D 1100056 __FreeBSD_version =3D 1103500 [1095] version =3D NS-BSD 4.3.3--HBSD #0 711c600c(pretag/4.3.3): Thu Dec 2= 3 18:46:12 CET 2021 [1095] build@buildmajHBSD113-armv6.labo.int:/home/build/fw-PRETAG_4.3.3= /firmware/tmp/armv6/kernel/work-OPTIM/sys/arm/compile/NETASQ.S.SMP.HW.RELEA= SE [1095] Uptime: 18m15s [1095] Physical memory: 2038 MB [1095] Dumping 249 MB: 246 242 238 234 230 226 222 savectx () at ../../../arm/arm/swtch.S:103 103=09../../../arm/arm/swtch.S: No such file or directory. (kgdb) bt #0 savectx () at ../../../arm/arm/swtch.S:103 #1 0x8024ee28 in dumpsys (di=3D<unavailable>) at ./machine/dump.h:67 #2 doadump (textdump=3D<optimized out>) at ../../../kern/kern_shutdown.c:3= 33 #3 0x8024ec44 in kern_reboot (howto=3D260) at ../../../kern/kern_shutdown.= c:390 #4 0x8024efa4 in vpanic (fmt=3D0x84e20400 "0\004=EF=BF=BD\204", ap=3D...) = at ../../../kern/kern_shutdown.c:785 #5 0x8024ee64 in panic (fmt=3D<unavailable>) at ../../../kern/kern_shutdow= n.c:714 #6 0x8052d9c0 in abort_fatal (tf=3D0x0, idx=3D<optimized out>, fsr=3D<opti= mized out>, far=3D<optimized out>, prefetch=3D0, td=3D0x84f5a880, ksig=3D0x= b559e940) at ../../../arm/arm/trap-v6.c:625 #7 0x8052d7c0 in abort_handler (tf=3D<optimized out>, prefetch=3D<optimize= d out>) at ../../../arm/arm/trap-v6.c:424 #8 <signal handler called> #9 0x80384f08 in ieee80211_getcapinfo (vap=3D<optimized out>, chan=3D0xfff= f) at ../../../net80211/ieee80211_output.c:2195 /* * Calculate capability information for mgt frames. */ uint16_t ieee80211_getcapinfo(struct ieee80211vap *vap, struct ieee80211_channel *ch= an) { =09struct ieee80211com *ic =3D vap->iv_ic; =09uint16_t capinfo; =09KASSERT(vap->iv_opmode !=3D IEEE80211_M_STA, ("station mode")); =09if (vap->iv_opmode =3D=3D IEEE80211_M_HOSTAP) =09=09capinfo =3D IEEE80211_CAPINFO_ESS; =09else if (vap->iv_opmode =3D=3D IEEE80211_M_IBSS) =09=09capinfo =3D IEEE80211_CAPINFO_IBSS; =09else =09=09capinfo =3D 0; =09if (vap->iv_flags & IEEE80211_F_PRIVACY) =09=09capinfo |=3D IEEE80211_CAPINFO_PRIVACY; =09if ((ic->ic_flags & IEEE80211_F_SHPREAMBLE) && =09 IEEE80211_IS_CHAN_2GHZ(chan)) =09=09capinfo |=3D IEEE80211_CAPINFO_SHORT_PREAMBLE; =09if (ic->ic_flags & IEEE80211_F_SHSLOT) -------------- line 2195 =09=09capinfo |=3D IEEE80211_CAPINFO_SHORT_SLOTTIME; =09if (IEEE80211_IS_CHAN_5GHZ(chan) && (vap->iv_flags & IEEE80211_F_DOTH)) =09=09capinfo |=3D IEEE80211_CAPINFO_SPECTRUM_MGMT; =09return capinfo; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?645758921.24525489.1646734008202.JavaMail.zimbra>