public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Hongzhi, Song <hongzhi.song@windriver.com>
To: ltp@lists.linux.it
Subject: [LTP] Bug Report: diotest4 fails on mips64
Date: Fri, 28 Jun 2019 18:32:18 +0800	[thread overview]
Message-ID: <dc4e1e30-face-9039-db90-5a6dae2fc2ea@windriver.com> (raw)

*Ltp:*

latest master


*Kernel:*

After v5.1 ARCH=mips64


*Error info:*

diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken


I think the first argument of mmap is invalid.

 ?? >shm_base = (char *)(((long)sbrk(0) + (shmsz - 1)) & ~(shmsz - 1));

 ?? >shm_base = mmap(shm_base, 0x100000, PROT_READ | PROT_WRITE,


Regards,

--Hongzhi


             reply	other threads:[~2019-06-28 10:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-28 10:32 Hongzhi, Song [this message]
2019-06-28 11:09 ` [LTP] Bug Report: diotest4 fails on mips64 Jan Stancek
2019-07-01  9:16   ` Hongzhi, Song
2019-07-03 12:53     ` Jan Stancek
2019-07-04  0:02       ` Jan Stancek
2019-07-04  7:44         ` Hongzhi, Song
2019-07-04  8:17           ` Jan Stancek
2019-07-04  8:29             ` Hongzhi, Song
2019-07-04  1:56       ` Hongzhi, Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc4e1e30-face-9039-db90-5a6dae2fc2ea@windriver.com \
    --to=hongzhi.song@windriver.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox