4.1[release] PCI passthrough fails with general failure

Pre-VirtualBox 5 forum

4.1[release] PCI passthrough fails with general failure

Postby levk » 11. Jul 2011, 17:35

I made a brand new VM - no OS or anything - and attached my onboard NIC to it, after installing the latest extpack the VM fails on start with general failure:

Image

I've tried it first while the NIC was on [edit: on the host] and then I did 'modprobe -r' [again, on the host] on it and tried again, same picture. The machine started normally after detaching the PCI (into a missing boot drive)

The host is a Dell Optiplex 960 3.16GHz Core2 Duo with Q45 chipset (from what I can tell), running uptodate Ubuntu 11.04, VT-d is checked on in the BIOS.

Here are just the basics, I'm also attaching all the logs it created

levk@levk:~/Downloads$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI Controller (rev 03)
00:03.2 IDE interface: Intel Corporation 4 Series Chipset PT IDER Controller (rev 03)
00:03.3 Serial controller: Intel Corporation 4 Series Chipset Serial KT Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a2)
00:1f.0 ISA bridge: Intel Corporation 82801JDO (ICH10DO) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801JD/DO (ICH10 Family) SMBus Controller (rev 02)
levk@levk:~/Downloads$ vboxmanage modifyvm vtd --pciattach 00:19.0
levk@levk:~/Downloads$ sudo lshw -C network -sanitize
*-network
description: Ethernet interface
product: 82567LM-3 Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: [REMOVED]
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.2.20-k2 duplex=half firmware=0.5-3 ip=[REMOVED] latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:48 memory:fe6e0000-fe6fffff memory:fe6d9000-fe6d9fff ioport:ecc0(size=32)
levk@levk:~/Downloads$ sudo modprobe -r e1000e
levk@levk:~/Downloads$ sudo modprobe e1000e
levk@levk:~/Downloads$ vboxmanage modifyvm vtd --pcidetach 00:19.0
Attachments
VBox.log.2.gz
(875 Bytes) Downloaded 13 times
VBox.log.1.gz
(877 Bytes) Downloaded 10 times
VBox.log.gz
(1.18 KiB) Downloaded 14 times
Last edited by levk on 19. Jul 2011, 16:37, edited 2 times in total.
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1b2 PCI passthrough fails with general failure

Postby levk » 11. Jul 2011, 17:36

Last log file

EDIT:

CONFIG_DMAR should be enabled on my kernel as per https://bugs.launchpad.net/ubuntu/+sour ... bug/552311 and I just thought these might be appropriate as well, although I can't tell if it's good or bad:

levk@levk:~/VirtualBox VMs/vtd/Logs$ sudo dmesg | grep DMAR
[sudo] password for levk:
[ 0.000000] ACPI: DMAR 00000000000fce0c 00120 (v01 DELL B10K 00000015 ASL 00000061)
[ 0.170046] DMAR: Host address width 36
[ 0.170047] DMAR: DRHD base: 0x000000fedc1000 flags: 0x0
[ 0.170056] DMAR: DRHD base: 0x000000fedc2000 flags: 0x0
[ 0.170062] DMAR: DRHD base: 0x000000fedc3000 flags: 0x0
[ 0.170067] DMAR: DRHD base: 0x000000fedc4000 flags: 0x1
[ 0.170074] DMAR: RMRR base: 0x000000cda58000 end: 0x000000cda6ffff
[ 0.170075] DMAR: RMRR base: 0x000000cdc00000 end: 0x000000cfffffff
[ 0.170076] DMAR: No ATSR found
levk@levk:~/VirtualBox VMs/vtd/Logs$ sudo dmesg | grep PCI-DMA
[ 2.652147] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Attachments
VBox.log.3.gz
(878 Bytes) Downloaded 12 times
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1b2 PCI passthrough fails with general failure

Postby Frank Mehnert » 12. Jul 2011, 11:45

Please also attach the output of 'dmesg' from the host after you tried to start this VM.
Frank Mehnert
Oracle Corporation
 
Posts: 2825
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: 4.1b2 PCI passthrough fails with general failure

Postby levk » 12. Jul 2011, 16:47

Attached.
Attachments
dmesg.log.gz
(13.82 KiB) Downloaded 16 times
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1b2 PCI passthrough fails with general failure

Postby levk » 12. Jul 2011, 20:17

Actually that dmesg doesn't have the intel_iommu=on boot option, which is why that log says IOMMU not found, I have this log with the boot option where it finds IOMMU, but I still get a general failure trying to start it.
Attachments
dmesg.log.gz
(15.9 KiB) Downloaded 15 times
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1b2 PCI passthrough fails with general failure

Postby levk » 15. Jul 2011, 16:44

Just posting to say I'm still getting this on b3 with b3 extension pack. dmesg and VBox.log attached
Attachments
VBox.log.gz
(876 Bytes) Downloaded 13 times
dmesg.log.gz
(18.72 KiB) Downloaded 12 times
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1[release] PCI passthrough fails with general failure

Postby levk » 19. Jul 2011, 16:38

I'm still getting this with release, should I open a ticket?
levk
 
Posts: 33
Joined: 13. Apr 2011, 22:35
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Gentoo, Ubuntu*, CentOS, Scientific Linux

Re: 4.1[release] PCI passthrough fails with general failure

Postby Perryg » 19. Jul 2011, 16:48

levk wrote:I'm still getting this with release, should I open a ticket?

I would repost here first.
Perryg
Site Moderator
 
Posts: 29242
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other


Return to Pre-Beta 5 Postings

Who is online

Users browsing this forum: No registered users and 0 guests