So you have EHCI enabled on the virtual machines? Without it, they're
not testing similar conditions

Based on an earlier comment I should point out that if you look at those kernel 
messages and ignore the timestamp (equivalent of `dmesg --notime`), you note 
they all start with "ehci-pci," which is a reference to the kernel driver for 
the 2.0 version of USB:
https://github.com/torvalds/linux/blob/master/drivers/usb/host/ehci-pci.c

By default EHCI is not enabled in VirtualBox, even with the extension
pack that is required to support it installed. Given that the problem
seems to be related to EHCI, this will need to be selected first.

With that in place, if there is no fail, it also may be related to the
specific USB device you have. You should plug it in ("add a filter" in
VB parlance) to the virtual machine.

If that still fails to fail, you might want to try to boot from the USB but 
that's a little trickier:
https://askubuntu.com/questions/693719/how-to-boot-from-a-usb-drive-in-virtualbox

I'll note that bug I mentioned before seems to point at this as the fix:
https://lkml.org/lkml/2018/10/14/62

I still suspect the kernel as it seems that the test you did to confirm
it's not the kernel you performed on a 64 bit kernel. The symptoms seem
to suggest 32 bit, as does that patch.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1794922

Title:
  lubuntu 18.10 x86 (32bit) image fails to load "ehci-pci 0000:00:a.7:
  dma_direct_map_sg: overflow 0x000000016e3f3000+2048 of device mask
  ffffffff" repeats

Status in linux package in Ubuntu:
  Confirmed
Status in linux package in Debian:
  Unknown

Bug description:
  -- Background --
  Testing the x86 (32bit) ISO image on various machines.

  After zsync download, the thumb-drive is tested ("check disk for
  defects") & passes; and worked fine on two systems today (dell d610 &
  hp dx6120), however

  -- Issue --

  dell 755 (desktop) & hp dc7700 (small form factor) it just sits at
  lubuntu plymouth screen.

  switching to messages, it's just the following repeating

  // on dell 755
  "ehci-pci 0000:00:1a.7: dma_direct_map_sg: overflow 0x000000016e3f3000+2048 
of device mask ffffffff"

  // on hp dc7700
  "ehci-pci 0000:00:1a.7: dma_direct_map_sg: overflow 0x0000000162317000+2048 
of device mask ffffffff"

  NOTE:  I can't copy/paste from systems, as it never completes boot; I
  left it >30mins (on 755) & it just kept repeating message. I've
  manually typed it; so typo's could have been made.

  A discussion on #lubuntu-devel provided a possible cause (Thank you
  Walter!) -

  ---
  <wxl> guiverc: lyorian: 
http://debian.2.n7.nabble.com/Bug-908924-dma-direct-map-sg-overflow-on-USB-access-after-upgrade-to-kernel-4-18-td4387757.html
  <wxl> seems like it's a usb issue of some kind with 4.18
  ---

  This fits because whilst I do my testing mostly on d610 & t43 (no
  issues today), I'd tested Lubuntu 18.10 before on the dell 755 with no
  issues.  My last test was also long enough ago to be on 4.17 kernel
  (suspicion)

  ---
  // on hp 8200 elite sff (i5-2400, 8gb, nvidia quadro 600)
  [ 99.999999] ehci-pci 0000:00:1d.0:dma_direct_map_sg: overflow 
0x0000000223ad7000+2048 of device mask ffffffff 
  errors on booting 'live' (see #16) for real
  BUT
  the same ISO works fine on same box when a virtual machine (Virtual box on a 
GNU/Linux host and "Type: Linux Version: Ubuntu (32-bit)" virtual machine)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1794922/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to