Date: Fri, 08 Apr 2005 07:42:01 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: freebsd-geom@freebsd.org Subject: Re: Bug in geom_ctl errors handling. Message-ID: <23986.1112938921@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 08 Apr 2005 01:44:24 %2B0200." <20050407234424.GV837@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Good catch, go for it! In message <20050407234424.GV837@darkness.comp.waw.pl>, Pawel Jakub Dawidek writes: > >--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-- > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23986.1112938921>
