Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 19:02:34 -0400
From:      Shawn Webb <lattera@gmail.com>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Kernel Panic on BeagleBone Black
Message-ID:  <20140730230234.GM1869@pwnie.vrt.sourcefire.com>
In-Reply-To: <1406742959.56408.220.camel@revolution.hippie.lan>
References:  <20140730121922.GI1869@pwnie.vrt.sourcefire.com> <1406741430.56408.218.camel@revolution.hippie.lan> <20140730174332.GJ1869@pwnie.vrt.sourcefire.com> <1406742959.56408.220.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--pFpMklMRdxwSC3Yi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 30, 2014 11:55 AM -0600, Ian Lepore wrote:
> On Wed, 2014-07-30 at 13:43 -0400, Shawn Webb wrote:
> > On Jul 30, 2014 11:30 AM -0600, Ian Lepore wrote:
> > > On Wed, 2014-07-30 at 08:19 -0400, Shawn Webb wrote:
> > > > Hey All,
> > > >=20
> > > > I've just updated to a recent HEAD (r269240). I get a kernel panic
> > > > almost immediately on boot. Below is the log.
> > > >=20
> > > > =3D=3D=3D=3D Start of dump =3D=3D=3D=3D
> > > > cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a103fff=
 irq 40,41,42,43 on simplebus0
> > > > cpsw0: CPSW SS Version 1.12 (0)
> > > > cpsw0: Initial queue size TX=3D128 RX=3D384
> > > > cpsw0: Ethernet address: 1c:ba:8c:e4:6d:6a
> > > > cpsw0: Failed to read from PHY.
> > > > cpsw0: attaching PHYs failed
> > > >=20
> > > > vm_fault(0xc070b9e0, 0, 1, 0) -> 1
> > > > Fatal kernel mode data abort: 'Translation Fault (S)'
> > > > trapframe: 0xc080eb28
> > > > FSR=3D00000005, FAR=3D00000018, spsr=3D80000193
> > > > r0 =3Dc266f280, r1 =3D00000000, r2 =3D00000019, r3 =3D60000193
> > > > r4 =3D00000000, r5 =3Dc266f280, r6 =3D00000006, r7 =3Dc05c99b4
> > > > r8 =3Dc266f280, r9 =3Dc26ca28c, r10=3Dc26c80c8, r11=3Dc080eb88
> > > > r12=3D00000000, ssp=3Dc080eb78, slr=3Dc05ee1cc, pc =3Dc03d2614
> > > >=20
> > > > [ thread pid 0 tid 100000 ]
> > > > Stopped at      device_delete_child+0x14:       ldr     r1, [r4, #0=
x018]
> > > > db> bt
> > > > Tracing pid 0 tid 100000 td 0xc070b6d0
> > > [...]
> > > > Unable to unwind further
> > > > =3D=3D=3D=3D End of dump =3D=3D=3D=3D
> > > >=20
> > > > If there's anything I can do, let me know.
> > > >=20
> > > > Thanks,
> > > >=20
> > > > Shawn
> > >=20
> > > Hmm, I can't reproduce this on my BB White at r269302.  The real error
> > > is "Failed to read from PHY".  The kernel abort was just accidental
> > > fallout from trying to clean up and detach the ethernet driver since =
it
> > > failed to init properly (error paths never get tested enough).
> > >=20
> > > What was the prior release you were on that worked okay?
> > >=20
> > > Since I just made a series of changes to armv6 busdma I'm tempted to
> > > suspect them, even though there shouldn't be any DMA involved in talk=
ing
> > > to the PHY.  Still, it would be interesting to know if backing off to
> > > r269134 makes the problem go away.
> > >=20
> > > -- Ian
> > >=20
> > >=20
> >=20
> > The release prior worked okay. I did get occasional kernel panics
> > (though, I didn't have time to do a backtrace and post here about it).
> > I'm unsure what svn rev the prior build was at. I can try reverting that
> > revision you mentioned tonight and report back if you'd like.
> >=20
> > Thanks,
> >=20
> > Shawn
>=20
> Don't revert that single revision I mentioned, revert the whole source
> tree to that rev (or to speed things up, really just the sys tree, and
> rebuild just the kernel).
>=20
> -- Ian
>=20
>=20

I just updated to HEAD from just a few moments ago. No kernel panic.
Good to go.

Thanks,

Shawn

--pFpMklMRdxwSC3Yi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJT2XmKAAoJEGqEZY9SRW7ue8MP/0uNGKCPoCsR8WVkDqQ0LYH9
hgrmTyRnsDuMuiZii9OGNiCMwYFT9ruTOGXmzynzA5CTFTJejrNVk5wuJqvu2I2C
XyvZ8z7QK5qzp8/pa89nuv4dUjlBlujIbTKGSu9WwG4BR9TRA/2vLfGO6EWclgvC
tuToRKBTlWAydBiEEHp1NcgiuMRVHF97KbSxTvYLD3ba6bOMRxkTB9cPYzT0aMpu
iBh0JUeYSDb6Txt2bZv8dKHBEY+v0zO5dCNFtmN1KgGnWSqi6hWyTnl9fiJEbJVb
lap72gZPJgnRFIm0TBeF0j0mcBtwFagbfDOUtJ70IFUWo+fdzUBYnbyXTWj5WSnO
XnoOo6i/6BxrAtqLCsr1RAVnP4399refg3q0L6YlaiHOGZoyzqxEvnyBq7UlACdH
2MKAheM3Ob1Z7nDeZDrcFgtovQ+EfuuTGmrgtYgYOefL/9/rwZtSI8DMd7AkWxph
+1EHGj6ogmSM0AxUxxjCZQ1CuG0+nCLxIYOgEFgEYymgeQHEfx8lNIvfBS5wcYDy
GgLuODVPJmDGKI7/GUk94L5VWgcskGyaWhPOC7IunsdPHIA71Q8HiBIPSJXuKqYG
7vdEQIGhxp3gHwmcq2JuNMMjV2hmHcQ5bDkxXK5VNi3YEdN+Sfnxh6h8MVuYeqQg
1JPcxrSGS0X+D+b1Qq6F
=aJ6C
-----END PGP SIGNATURE-----

--pFpMklMRdxwSC3Yi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140730230234.GM1869>