Date: Fri, 8 Apr 2005 01:44:24 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: freebsd-geom@FreeBSD.org Subject: Bug in geom_ctl errors handling. Message-ID: <20050407234424.GV837@darkness.comp.waw.pl>
next in thread | raw e-mail | index | archive | help
--VnCKLxguT6BBzdXa Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I finally tracked down a bug which I was seeing from time to time. If you saw 'Bad address' as an result of some geom(8) command, you saw the bug. The problem we got here, is that copyout(9) was done not from user process, but from eg. g_event thread, where address space is different. Here is the patch to fix it: http://people.freebsd.org/~pjd/patches/geom_ctl.c.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --VnCKLxguT6BBzdXa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCVcXYForvXbEpPzQRAsppAJ4iNhocWjPLVQ33ps1EB0RSr7HpcACdE7Gj 40Xe83iHSVkAA8Gm8JAjizg= =H7Kc -----END PGP SIGNATURE----- --VnCKLxguT6BBzdXa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407234424.GV837>