Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 11:56:18 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: "npxdna in kernel mode!" from VIA_RNG_store
Message-ID:  <20100404085618.GX2415@deviant.kiev.zoral.com.ua>
In-Reply-To: <201004040904.50998.bruce@cran.org.uk>
References:  <201004040904.50998.bruce@cran.org.uk>

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

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

On Sun, Apr 04, 2010 at 09:04:50AM +0100, Bruce Cran wrote:
> I noticed my mini-ITX box (runnning -CURRENT) has been printing quite a f=
ew=20
> "npxdna in kernel mode!" messages recently, so I added KDB support to fin=
d out=20
> where they were coming from. The stack trace I got was:
>=20
> npxdna in kernel mode!
> KDB: stack backtrace:
> db_trace_self_wrapper(c07de67f,c8297ab8,c07a477e,c07fc759,7,...) at=20
> db_trace_self_wrapper+0x28
> kdb_backtrace(c07fc759,7,33,50,13,...) at kdb_backtrace+0x31
> trap(c8297ac4) at trap+0x55e
> calltrap() at calltrap+0x6
> --- trap 0x16, eip =3D 0xc07801f0, esp =3D 0xc8297b04, ebp =3D 0xc8297b14=
 ---
> VIA_RNG_store(c0865760,4,c181e6c0,c054ad43,c0811dc0,...) at VIA_RNG_store=
+0x20
> random_nehemiah_read(c185c000,80,2,c185c000,0,...) at=20
> random_nehemiah_read+0x71
> random_read(c1476200,c8297c28,0,1000000,0,...) at random_read+0x7c
> devfs_read_f(c1566c08,c8297c28,c182e080,0,c181e6c0,...) at devfs_read_f+0=
xa1
> fo_read(c1566c08,c8297c28,c182e080,0,c181e6c0,...) at fo_read+0x32
> dofileread(c181e6c0,5,c1566c08,c8297c28,ffffffff,...) at dofileread+0x81
> kern_readv(c181e6c0,5,c8297c28,5,c8297c48,...) at kern_readv+0x68
> read(c181e6c0,c8297cc8,c181e6c0,c181e6c0,c187d2a8,...) at read+0x63
> syscall(c8297d38) at syscall+0x3ad
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> --- syscall (3, FreeBSD ELF32, read), eip =3D 0x28398b83, esp =3D 0xbfbfd=
e5c, ebp=20
> =3D 0xbfbfdf18 ---
>=20
> A dmesg can be found at http://www.cran.org.uk/~brucec/freebsd/dmesg.itx

Known issue.

The patch at http://people.freebsd.org/~kib/misc/kern_fpu.2.patch
contains the possible fix.

--my+VSKri2szq3kvl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAku4VDIACgkQC3+MBN1Mb4jsggCg7NUQ8wx2FGcJM1OJ9iL8A+hf
vG0An1HP4lKpge6fcvY2L7sn0Tm9/lIi
=Ta6y
-----END PGP SIGNATURE-----

--my+VSKri2szq3kvl--



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