Date: Thu, 26 May 2011 00:02:27 +0200 From: Oliver Pinter <oliver.pntr@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org Subject: Re: svn commit: r222274 - stable/8/sys/kern Message-ID: <BANLkTi=qGyhMoRAqtm2irfOD3A2M588URw@mail.gmail.com> In-Reply-To: <20110525123552.GZ48734@deviant.kiev.zoral.com.ua> References: <201105250325.p4P3PEvI097170@svn.freebsd.org> <BANLkTimE9eYRP-nkzVOdreHR_3Ahvvxg1Q@mail.gmail.com> <20110525114753.GY48734@deviant.kiev.zoral.com.ua> <BANLkTimTTdtUftCx4dOuix5u7_Vac4S_sw@mail.gmail.com> <20110525123552.GZ48734@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--00151758b0ac42423a04a420dc00 Content-Type: text/plain; charset=ISO-8859-1 On 5/25/11, Kostik Belousov <kostikbel@gmail.com> wrote: > On Wed, May 25, 2011 at 02:07:10PM +0200, Oliver Pinter wrote: >> this or likely this script is enough for test? >> >> ---8<--- >> #!/bin/csh >> >> @ a = 100 >> >> while ( $a ) >> foreach i ( "umass" "cdce" "foo" "bar" ) >> kldload $i& >> end >> >> foreach i ( "umass" "cdce" "foo" "bar" ) >> kldunload $i& >> end >> @ a-- >> end >> ---8<--- > Only if the unload of any of the listed modules caused destruction > of some devfs node. > > May be, the easiest for 7 is to create some md(4) device and then > destroy it. > >> >> On 5/25/11, Kostik Belousov <kostikbel@gmail.com> wrote: >> > On Wed, May 25, 2011 at 12:11:29PM +0200, Oliver Pinter wrote: >> >> MFC to 7-STABLE? >> > Somebody need to test it for 7 (I do not expect any failures, but I also >> > prefer to not commit untested changes). >> > >> > The testing should include destroying some devfs nodes, e.g. by loading >> > and unloading a driver that creates and destroys them. Runned 3 times the attached test script. The system remained stable. FreeBSD pandora-d 7.4-STABLE FreeBSD 7.4-STABLE #83 r222274=49d86ad: Wed May 25 17:49:38 CEST 2011 root@pandora-d:/usr/obj/usr/src/sys/stable amd64 > --00151758b0ac42423a04a420dc00 Content-Type: text/x-diff; charset=US-ASCII; name="dev_rel.diff" Content-Disposition: attachment; filename="dev_rel.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 Y29tbWl0IDQ5ZDg2YWQ4NGQ2MzQ3MDA2ZWYzNTlmZmEwZmEwZTU3NWQ3MDAyNDYKQXV0aG9yOiBr aWIgPGtpYkBjY2Y5Zjg3Mi1hYTJlLWRkMTEtOWZjOC0wMDFjMjNkMGJjMWY+CkRhdGU6ICAgV2Vk IE1heSAyNSAwMzoyNToxNCAyMDExICswMDAwCgogICAgTUZDIHIyMjIwODY6IFRoZSBwcm90ZWN0 aW9uIGFnYWluc3QgdGhlIHJhY2Ugd2l0aCBkZXZfcmVsKCksIGludHJvZHVjZWQgaW4gcjE2MzMy OCwgc2hvdWxkIGJlIGV4dGVuZGVkIHRvIGNvdmVyIGRlc3Ryb3lfZGV2bCgpIGNhbGxzIGZvciB0 aGUgY2hpbGRyZW4gb2YgdGhlIGRlc3Ryb3llZCBkZXYuCiAgICAKICAgIGdpdC1zdm4taWQ6IHN2 bjovL3N2bi5mcmVlYnNkLm9yZy9iYXNlL3N0YWJsZS84QDIyMjI3NCBjY2Y5Zjg3Mi1hYTJlLWRk MTEtOWZjOC0wMDFjMjNkMGJjMWYKCmRpZmYgLS1naXQgYS9zeXMva2Vybi9rZXJuX2NvbmYuYyBi L3N5cy9rZXJuL2tlcm5fY29uZi5jCmluZGV4IDA5ODU5YWEuLjMyMDc0MzggMTAwNjQ0Ci0tLSBh L3N5cy9rZXJuL2tlcm5fY29uZi5jCisrKyBiL3N5cy9rZXJuL2tlcm5fY29uZi5jCkBAIC04NzQs NiArODc0LDggQEAgZGVzdHJveV9kZXZsKHN0cnVjdCBjZGV2ICpkZXYpCiAJLyogUmVtb3ZlIG5h bWUgbWFya2luZyAqLwogCWRldi0+c2lfZmxhZ3MgJj0gflNJX05BTUVEOwogCisJZGV2LT5zaV9y ZWZjb3VudCsrOwkvKiBBdm9pZCByYWNlIHdpdGggZGV2X3JlbCgpICovCisKIAkvKiBJZiB3ZSBh cmUgYSBjaGlsZCwgcmVtb3ZlIHVzIGZyb20gdGhlIHBhcmVudHMgbGlzdCAqLwogCWlmIChkZXYt PnNpX2ZsYWdzICYgU0lfQ0hJTEQpIHsKIAkJTElTVF9SRU1PVkUoZGV2LCBzaV9zaWJsaW5ncyk7 CkBAIC04OTAsNyArODkyLDYgQEAgZGVzdHJveV9kZXZsKHN0cnVjdCBjZGV2ICpkZXYpCiAJCWRl di0+c2lfZmxhZ3MgJj0gflNJX0NMT05FTElTVDsKIAl9CiAKLQlkZXYtPnNpX3JlZmNvdW50Kys7 CS8qIEF2b2lkIHJhY2Ugd2l0aCBkZXZfcmVsKCkgKi8KIAljc3cgPSBkZXYtPnNpX2RldnN3Owog CWRldi0+c2lfZGV2c3cgPSBOVUxMOwkvKiBhbHJlYWR5IE5VTEwgZm9yIFNJX0FMSUFTICovCiAJ d2hpbGUgKGNzdyAhPSBOVUxMICYmIGNzdy0+ZF9wdXJnZSAhPSBOVUxMICYmIGRldi0+c2lfdGhy ZWFkY291bnQpIHsK --00151758b0ac42423a04a420dc00 Content-Type: application/octet-stream; name="devfs_test.log.xz" Content-Disposition: attachment; filename="devfs_test.log.xz" Content-Transfer-Encoding: base64 X-Attachment-Id: file3 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj5Rt5AZ5dADIZSdwuRKH8mgxR6WlFLHCdblKeskrqjFGC 7s9qlPVwe9bsYEMGNfODwBzr7YKCkvU0hiXOFPo8wmO8hhuL0k8wGqeRMFFGBFyq0YkfKnM0DYwx b4YjUEWCZJWAt/F2NyQqyxo4RlaqLg0AnUa2FOcVEJG2DKL/zGlQuiyWqfAZHXe57ZFsVvXTACy1 3LfJ3QQ/EpJBkx7witD9/LosYAs+nJEezhOGIpUMVFz4t8uC6+D/r85u8vaKp6CJqnhk1e7aAgzT NKYYtaGcWzzeeM78R89bE4z5kPPUCjXTASGCJndkWDbXIMqconG9dIWT9wamRObH8l1OfZKWaGmZ RSLiBy02MZtLKtFdn9jNCH9I+ccupO1nckBSWL7pdqxZ5OVbBQj5xkmOUdKhqlakjvP2ZDCuEBcE 1vAQcouXlUC0JPdPeQ0F9NqdJlYspBniQY/S8SLXHu2O7zd5AbnXmm/wOyWW7W2UW76xCBWXdizw h9mx4iAXaV4x1Ok8BwKpjqsM4T42KTz8uZCjQKtyFbCUGa35r1nIKuLFMED2AAAAAOzY177BYLJu AAG6A/q2FAAqPQI5scRn+wIAAAAABFla --00151758b0ac42423a04a420dc00--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=qGyhMoRAqtm2irfOD3A2M588URw>