From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suravee Suthikulanit Subject: Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard Date: Thu, 7 Mar 2013 09:25:18 -0600 Message-ID: <5138B15E.6000302@amd.com> References: <1362510652.3171.YahooMailClassic@web120705.mail.ne1.yahoo.com>, <2004654126.1428743.1362596937686.JavaMail.root@redhat.com> <498F3735-A671-4FEA-A612-4BACF08DCE15@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0293251793173895190==" Return-path: In-Reply-To: <498F3735-A671-4FEA-A612-4BACF08DCE15-5C7GfCeVMHo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org --===============0293251793173895190== Content-Type: multipart/alternative; boundary="------------020709040409080301050906" --------------020709040409080301050906 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi, Would you please provide the kernel log and the dump of ACPI (from tools like "acpidump")? These should help debugging the issue. Thank you, Suravee >> *From:* Donald Dutile > >> *Date:* March 7, 2013, 3:08:57 AM GMT+08:00 >> *To:* JapHack > >> *Cc:* > > >> *Subject:* *Re: Problem with ethernet/sound with IOMMU enabled on >> M5A99FX pro r2.0 motherboard* >> >> Probably a missing IVMD block for the sound device. >> >> The ethernet device issue could be a driver issue -- >> DMA write to a page that was mapped for read-only. >> Providing the IO page fault message would help to >> diagnose further. >> >> - DonD >> >> ----- Original Message ----- >> From: "JapHack" > >> To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> >> Sent: Tuesday, March 5, 2013 2:10:52 PM >> Subject: Problem with ethernet/sound with IOMMU enabled on M5A99FX >> pro r2.0 motherboard >> >> >> I recently bought this board as I wanted to start doing pci >> passthrough emulation. >> >> I noticed that after I had installed it and booted up, with IOMMU >> enabled >> the network would work fine for a while then I would get an AMD-Vi IO >> page fault >> and the driver would crash. >> IF I turn off IOMMU there is no problem with using ethernet, >> >> The onboard ethernet chip is a RTL8111F/8168F. >> For now I've turned off the network adapter in the bios and am using >> an add on card. >> >> Then I noticed that I could not use the onboard audio with oss >> (4.2.2007) with IOMMU >> enabled. Alsa works ok, but I prefer to use oss. As with the ethernet >> card if I turn off >> IOMMU in the bios the onboard audio is recognized and works fine. >> >> Any clues or help would be appreciated >> Thanks, Don >> >> _______________________________________________ >> iommu mailing list >> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> >> https://lists.linuxfoundation.org/mailman/listinfo/iommu >> _______________________________________________ >> iommu mailing list >> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> >> https://lists.linuxfoundation.org/mailman/listinfo/iommu >> --------------020709040409080301050906 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi,

Would you please provide the kernel log and the dump of ACPI (from tools like "acpidump")?  These should help debugging the issue.

Thank you,

Suravee
From: Donald Dutile <ddutile-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: March 7, 2013, 3:08:57 AM GMT+08:00
To: JapHack <japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
Cc: <iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard

Probably a missing IVMD block for the sound device.

The ethernet device issue could be a driver issue --
DMA write to a page that was mapped for read-only.
Providing the IO page fault message would help to
diagnose further.

- DonD

----- Original Message -----
From: "JapHack" <japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Sent: Tuesday, March 5, 2013 2:10:52 PM
Subject: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0    motherboard


I recently bought this board as I wanted to start doing pci passthrough emulation.

I noticed that after I had installed it and booted up, with IOMMU enabled
the network would work fine for a while then I would get an AMD-Vi IO page fault
and the driver would crash.
IF I turn off IOMMU there is no problem with using ethernet,

The onboard ethernet chip is a RTL8111F/8168F.
For now I've turned off the network adapter in the bios and am using an add on card.

Then I noticed that I could not use the onboard audio with oss (4.2.2007) with IOMMU
enabled. Alsa works ok, but I prefer to use oss. As with the ethernet card if I turn off
IOMMU in the bios the onboard audio is recognized and works fine.

Any clues or help would be appreciated
Thanks, Don

_______________________________________________
iommu mailing list
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
_______________________________________________
iommu mailing list
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


--------------020709040409080301050906-- --===============0293251793173895190== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0293251793173895190==--