Date: Sun, 31 Dec 2006 13:21:27 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Divacky Roman" <xdivac02@stud.fit.vutbr.cz> Cc: Alexander Leidinger <Alexander@leidinger.net>, freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures Message-ID: <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> In-Reply-To: <20061231142412.GA28462@stud.fit.vutbr.cz> References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061229213509.GA86839@stud.fit.vutbr.cz> <790a9fff0612291424g4ecbd088i7846d248851b3e63@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_68910_6826903.1167592887537 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 12/31/06, Divacky Roman <xdivac02@stud.fit.vutbr.cz> wrote: > On Sun, Dec 31, 2006 at 02:42:57PM +0100, Alexander Leidinger wrote: > > Quoting "Scot Hetzel" <swhetzel@gmail.com> (Sat, 30 Dec 2006 21:55:37 -0600): > > > > > I think I found the problem, I had wrongly assumed that the code was > > > using (char *)-1 as the address to pass to the function. Instead the > > > code in access03, is using mmap to assign an address to variable > > > bad_address. > > > > > > Below is the test program that shows that the problem is in mmap. > > > > http://lists.freebsd.org/pipermail/freebsd-emulation/2006-September/002625.html > > I guess what alexander wanted to say is that you should test the mmap patch > that got commited to i386 mmap (see > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_machdep.c.diff?r1=1.55&r2=1.56) > > and apply that to amd64 mmap and see if that fixes the issue you see.. > > pls do that and inform us > That patch to mmap fixes the problems with mmap on amd64, and brings the failed LTP testcases closer to the i386 failed testcases. Results of mmap fingerprinter: mmap1.txt - before mmap patch mmap2.txt - after mmap patch Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. ------=_Part_68910_6826903.1167592887537 Content-Type: text/plain; name=mmap1.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_ewdug6pf Content-Disposition: attachment; filename="mmap1.txt" MDAwMTogbW1hcCgwLCAxMDI0LCBQUk9UX05PTkUsIE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxl bW9kZSBPX1JET05MWTogbW1hcCBPSyByZWFkOiAweDQxIHdyaXRlOiBzaWdzZWd2CjAwMDI6IG1t YXAoMCwgMTAyNCwgUFJPVF9SRUFELCBNQVBfU0hBUkVELCAuLi4pCiBmb3IgZmlsZW1vZGUgT19S RE9OTFk6IG1tYXAgT0sgcmVhZDogMHg0MSB3cml0ZTogc2lnc2VndgowMDAzOiBtbWFwKDAsIDEw MjQsIFBST1RfV1JJVEUsIE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxlbW9kZSBPX1JET05MWTog bW1hcCBlcnJvciAoMTMpCjAwMDQ6IG1tYXAoMCwgMTAyNCwgUFJPVF9SRUFEfFBST1RfV1JJVEUs IE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxlbW9kZSBPX1JET05MWTogbW1hcCBlcnJvciAoMTMp CjAwMDU6IG1tYXAoMCwgMTAyNCwgUFJPVF9OT05FLCBNQVBfUFJJVkFURSwgLi4uKQogZm9yIGZp bGVtb2RlIE9fUkRPTkxZOiBtbWFwIE9LIHJlYWQ6IDB4NDEgd3JpdGU6IHNpZ3NlZ3YKMDAwNjog bW1hcCgwLCAxMDI0LCBQUk9UX1JFQUQsIE1BUF9QUklWQVRFLCAuLi4pCiBmb3IgZmlsZW1vZGUg T19SRE9OTFk6IG1tYXAgT0sgcmVhZDogMHg0MSB3cml0ZTogc2lnc2VndgowMDA3OiBtbWFwKDAs IDE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k9UX1JFQUQsIE1BUF9B Tk9OfE1BUF9QUklWQVRFLCAuLi4pCiBmb3IgZmlsZW1vZGUgYW5vbnltb3VzOiBtbWFwIE9LIHJl YWQ6IDB4MDAgd3JpdGU6IHNpZ3NlZ3YKMDAzMTogbW1hcCgwLCAxMDI0LCBQUk9UX1dSSVRFLCBN QVBfQU5PTnxNQVBfUFJJVkFURSwgLi4uKQogZm9yIGZpbGVtb2RlIGFub255bW91czogbW1hcCBP SyByZWFkOiAweDAwIHdyaXRlOiBPSwowMDMyOiBtbWFwKDAsIDEwMjQsIFBST1RfUkVBRHxQUk9U X1dSSVRFLCBNQVBfQU5PTnxNQVBfUFJJVkFURSwgLi4uKQogZm9yIGZpbGVtb2RlIGFub255bW91 czogbW1hcCBPSyByZWFkOiAweDAwIHdyaXRlOiBPSwo= ------=_Part_68910_6826903.1167592887537 Content-Type: text/plain; name=mmap2.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_ewdugp12 Content-Disposition: attachment; filename="mmap2.txt" MDAwMTogbW1hcCgwLCAxMDI0LCBQUk9UX05PTkUsIE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxl bW9kZSBPX1JET05MWTogbW1hcCBPSyByZWFkOiBzaWdzZWd2IHdyaXRlOiBzaWdzZWd2CjAwMDI6 IG1tYXAoMCwgMTAyNCwgUFJPVF9SRUFELCBNQVBfU0hBUkVELCAuLi4pCiBmb3IgZmlsZW1vZGUg T19SRE9OTFk6IG1tYXAgT0sgcmVhZDogMHg0MSB3cml0ZTogc2lnc2VndgowMDAzOiBtbWFwKDAs IDEwMjQsIFBST1RfV1JJVEUsIE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxlbW9kZSBPX1JET05M WTogbW1hcCBlcnJvciAoMTMpCjAwMDQ6IG1tYXAoMCwgMTAyNCwgUFJPVF9SRUFEfFBST1RfV1JJ VEUsIE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxlbW9kZSBPX1JET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Z3NlZ3Ygd3JpdGU6IE9LCjAwMjg6IG1tYXAoMCwgMTAyNCwg UFJPVF9SRUFEfFBST1RfV1JJVEUsIE1BUF9BTk9OfE1BUF9TSEFSRUQsIC4uLikKIGZvciBmaWxl bW9kZSBhbm9ueW1vdXM6IG1tYXAgT0sgcmVhZDogMHgwMCB3cml0ZTogT0sKMDAyOTogbW1hcCgw LCAxMDI0LCBQUk9UX05PTkUsIE1BUF9BTk9OfE1BUF9QUklWQVRFLCAuLi4pCiBmb3IgZmlsZW1v ZGUgYW5vbnltb3VzOiBtbWFwIE9LIHJlYWQ6IHNpZ3NlZ3Ygd3JpdGU6IHNpZ3NlZ3YKMDAzMDog bW1hcCgwLCAxMDI0LCBQUk9UX1JFQUQsIE1BUF9BTk9OfE1BUF9QUklWQVRFLCAuLi4pCiBmb3Ig ZmlsZW1vZGUgYW5vbnltb3VzOiBtbWFwIE9LIHJlYWQ6IDB4MDAgd3JpdGU6IHNpZ3NlZ3YKMDAz MTogbW1hcCgwLCAxMDI0LCBQUk9UX1dSSVRFLCBNQVBfQU5PTnxNQVBfUFJJVkFURSwgLi4uKQog Zm9yIGZpbGVtb2RlIGFub255bW91czogbW1hcCBPSyByZWFkOiBzaWdzZWd2IHdyaXRlOiBPSwow MDMyOiBtbWFwKDAsIDEwMjQsIFBST1RfUkVBRHxQUk9UX1dSSVRFLCBNQVBfQU5PTnxNQVBfUFJJ VkFURSwgLi4uKQogZm9yIGZpbGVtb2RlIGFub255bW91czogbW1hcCBPSyByZWFkOiAweDAwIHdy aXRlOiBPSwo= ------=_Part_68910_6826903.1167592887537 Content-Type: text/x-diff; name=mmap.fix; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_ewduh0w4 Content-Disposition: attachment; filename="mmap.fix" SW5kZXg6IGxpbnV4MzJfbWFjaGRlcC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUk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qIHByb3RlY3Rp b24gb3B0aW9ucyBzcGVjaWZpZWQuCisJCSAqIElmIFBST1RfV1JJVEUgaXMgc3BlY2lmaWVkLCB0 aGUgYXBwbGljYXRpb24KKwkJICogbXVzdCBoYXZlIG9wZW5lZCB0aGUgZmlsZSBkZXNjcmlwdG9y CisJCSAqIGZpbGRlcyB3aXRoIHdyaXRlIHBlcm1pc3Npb24gdW5sZXNzCisJCSAqIE1BUF9QUklW QVRFIGlzIHNwZWNpZmllZCBpbiB0aGUgZmxhZworCQkgKiBhcmd1bWVudCBhcyBkZXNjcmliZWQg YmVsb3cuCisJCSAqLworCisJCWlmICgoZXJyb3IgPSBmZ2V0KHRkLCBsaW51eF9hcmdzLT5mZCwg JmZwKSkgIT0gMCkKKwkJCXJldHVybiAoZXJyb3IpOworCQlpZiAoZnAtPmZfdHlwZSAhPSBEVFlQ RV9WTk9ERSkgeworCQkJZmRyb3AoZnAsIHRkKTsKKwkJCXJldHVybiAoRUlOVkFMKTsKKwkJfQor CisJCS8qIExpbnV4IG1tYXAoKSBqdXN0IGZhaWxzIGZvciBPX1dST05MWSBmaWxlcyAqLworCQlp ZiAoISAoZnAtPmZfZmxhZyAmIEZSRUFEKSkgeworCQkJZmRyb3AoZnAsIHRkKTsKKwkJCXJldHVy biAoRUFDQ0VTKTsKKwkJfQorCiAJCWJzZF9hcmdzLmZkID0gbGludXhfYXJncy0+ZmQ7CisJCWZk cm9wKGZwLCB0ZCk7CisJfQogCWJzZF9hcmdzLnBvcyA9IChvZmZfdClsaW51eF9hcmdzLT5wZ29m ZiAqIFBBR0VfU0laRTsKIAlic2RfYXJncy5wYWQgPSAwOwogCg== ------=_Part_68910_6826903.1167592887537--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0612311121l662736e0ud6d3220382af072a>