Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2005 22:04:01 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        stable@FreeBSD.org, sparc64@FreeBSD.org
Subject:   Preposterous errno values from kernel
Message-ID:  <20050422050401.GA57677@xor.obsecurity.org>

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

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

I'm getting this on a RELENG_5_4 sparc64 system (e4500):

# rm -rf *
/bin/rm: Unknown error: 7283.
# ktrace rm -rf *
/usr/bin/ktrace: Address already in use.
# ktrace /bin/rm -rf *
/usr/bin/ktrace: Software caused connection abort.
# ktrace -di sh
# /bin/rm -f *
/bin/rm: Network dropped connection on reset

[...]
   505 sh       CALL  execve(0x22c0c0,0x278010,0x277e10)
   505 sh       NAMI  "/bin/rm"
   505 sh       RET   execve -1 errno 52 Network dropped connection on reset
   505 sh       CALL  write(0x2,0x22a080,0x2d)
=20
# ktrace -di sh
# rm -rf *
rm: Unknown error: 7283

[...]
   510 sh       CALL  execve(0x277ee0,0x278010,0x277e10)
   510 sh       NAMI  "/bin/rm"
   510 sh       RET   execve -1 errno 7283 Unknown error: 7283
   510 sh       CALL  execve(0x277ee0,0x278010,0x277e10)

I have verified that the kernel is up-to-date and there are no
extraneous patches in my source tree.  It has survived a kernel clean
and rebuild.

Kris


--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCaIXBWry0BWjoQKURAmHRAKCPWo0l0BoHsANiBFjiC/g7A/NaWgCg9v+w
apaWCXeaP0G3i3RqJy/Styw=
=IfeG
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



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