All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 209025] The "VFIO_MAP_DMA failed: Cannot allocate memory" bug is back
Date: Tue, 25 Aug 2020 00:53:13 +0000	[thread overview]
Message-ID: <bug-209025-28872-XUeSVoycBy@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-209025-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=209025

--- Comment #3 from muncrief (rmuncrief@humanavance.com) ---
Unfortunately bisect failed, and in a very odd way. I've bisected the kernel
numerous times over the decades, but this time it didn't work correctly from
the start because of module directories it wanted to delete that weren't there.

To make a long story short, after the initial compile of 5.9-rc1 I did the
normal bisect start and good/bad version definition. But when making the first
bisect it failed during the final phase of the modules process with errors
saying it couldn't delete
"pkg/linux-bisect/usr/lib/modules/5.9.0-rc1-1-bisect/source" or
"pkg/linux-bisect/usr/lib/modules/5.9.0-rc1-1-bisect/build". And when I looked
they didn't exist.

So I spent a few hours trying numerous things, but could never get bisect to
work as expected. In the end I just timed the manual creation of the
directories correctly as the modules process was completing, but then bisect
complained they were directories. So I tried again but this time just touched
to make files instead of directories, and bisect completed.

Perplexed but undeterred I installed and ran the bisected kernel, the VM
worked, and I marked the bisect as good. But when compiling the next bisect the
same thing happened, and I did the same thing to fix it. However this time when
I installed and ran the kernel my VM seemed to boot, but actually didn't.
Neither the QXL or passthrough GPU displays came on, and I couldn't shut it
down. I just had to do a power off.

So I rebooted with my working 5.8.3 kernel and was surprised that my entire VM
disk was completely erased. There were no partitions at all, it was just blank.
Of course I made a backup before doing all this so it was easy to restore, but
it's the first time I've ever seen anything like it.

In any case, the disk is attached to a passthrough Phison NVME controller, so I
assume there was some kind of different, silent, VFIO error that wiped out the
disk.

In summary, I have no idea what's going on. Of course sometimes bisect works
and sometimes it doesn't, and the kernel is the most difficult and dangerous to
bisect, but I've never seen actual process errors like this before. Compilation
errors yes, but not missing source or package files and directories.

I'm hoping, and assuming, this is some kind of pilot error on my part. If so,
and someone knows what it is, just tell me what it is and I'll give it another
try. By the way, I'm running Arch with all the latest updates.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2020-08-25  0:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 16:35 [Bug 209025] New: The "VFIO_MAP_DMA failed: Cannot allocate memory" bug is back bugzilla-daemon
2020-08-24 20:43 ` [Bug 209025] " bugzilla-daemon
2020-08-24 20:57 ` bugzilla-daemon
2020-08-25  0:53 ` bugzilla-daemon [this message]
2020-08-25  3:14 ` bugzilla-daemon
2020-08-25  7:26 ` bugzilla-daemon
2020-08-25 14:32 ` bugzilla-daemon
2020-08-25 14:32 ` bugzilla-daemon
2020-08-25 16:31 ` bugzilla-daemon
2020-08-25 17:09 ` bugzilla-daemon
2020-08-25 17:13 ` bugzilla-daemon
2020-08-25 17:47 ` bugzilla-daemon
2020-08-25 17:55 ` bugzilla-daemon
2020-08-25 18:06 ` bugzilla-daemon

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=bug-209025-28872-XUeSVoycBy@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.