* Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard
@ 2013-03-05 19:10 JapHack
[not found] ` <1362510652.3171.YahooMailClassic-s6rE+/zRgQruQS8rMknbopOW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: JapHack @ 2013-03-05 19:10 UTC (permalink / raw)
To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 919 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <1362510652.3171.YahooMailClassic-s6rE+/zRgQruQS8rMknbopOW+3bF1jUfVpNB7YpNyf8@public.gmane.org>]
* Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard [not found] ` <1362510652.3171.YahooMailClassic-s6rE+/zRgQruQS8rMknbopOW+3bF1jUfVpNB7YpNyf8@public.gmane.org> @ 2013-03-06 19:08 ` Donald Dutile [not found] ` <498F3735-A671-4FEA-A612-4BACF08DCE15@amd.com> 0 siblings, 1 reply; 6+ messages in thread From: Donald Dutile @ 2013-03-06 19:08 UTC (permalink / raw) To: JapHack; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <498F3735-A671-4FEA-A612-4BACF08DCE15@amd.com>]
[parent not found: <498F3735-A671-4FEA-A612-4BACF08DCE15-5C7GfCeVMHo@public.gmane.org>]
* Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard [not found] ` <498F3735-A671-4FEA-A612-4BACF08DCE15-5C7GfCeVMHo@public.gmane.org> @ 2013-03-07 15:25 ` Suravee Suthikulanit [not found] ` <5138B15E.6000302-5C7GfCeVMHo@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Suravee Suthikulanit @ 2013-03-07 15:25 UTC (permalink / raw) To: japhack-/E1597aS9LQAvxtiuMwx3w Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA [-- Attachment #1.1: Type: text/plain, Size: 2837 bytes --] 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 <mailto: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 <mailto:japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>> >> *Cc:* <iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> <mailto: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 <mailto:japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>> >> To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> <mailto: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 >> <mailto:iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org> >> https://lists.linuxfoundation.org/mailman/listinfo/iommu >> _______________________________________________ >> iommu mailing list >> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> <mailto:iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org> >> https://lists.linuxfoundation.org/mailman/listinfo/iommu >> [-- Attachment #1.2: Type: text/html, Size: 5195 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <5138B15E.6000302-5C7GfCeVMHo@public.gmane.org>]
* Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard [not found] ` <5138B15E.6000302-5C7GfCeVMHo@public.gmane.org> @ 2013-03-07 15:58 ` JapHack 2013-03-07 16:12 ` JapHack 1 sibling, 0 replies; 6+ messages in thread From: JapHack @ 2013-03-07 15:58 UTC (permalink / raw) To: Suravee Suthikulanit; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA [-- Attachment #1.1: Type: text/plain, Size: 3958 bytes --] acpi.dump http://pastebin.com/2wEYXykY dmesg.dump http://pastebin.com/ugfpRjxc lspci -nnk http://pastebin.com/W5HdqQia I have the onboard ethernet shut off in the bios but the soundcard is still not being seen with oss4, if iommu is enabled in bios and iommu=pt is not entered in grub. Thanks, Don --- On Thu, 3/7/13, Suravee Suthikulanit <suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org> wrote: From: Suravee Suthikulanit <suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org> Subject: Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard To: japhack-/E1597aS9LQAvxtiuMwx3w@public.gmane.org Cc: ddutile-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Date: Thursday, March 7, 2013, 9:25 AM 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 [-- Attachment #1.2: Type: text/html, Size: 6598 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard [not found] ` <5138B15E.6000302-5C7GfCeVMHo@public.gmane.org> 2013-03-07 15:58 ` JapHack @ 2013-03-07 16:12 ` JapHack 1 sibling, 0 replies; 6+ messages in thread From: JapHack @ 2013-03-07 16:12 UTC (permalink / raw) To: Suravee Suthikulanit; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA [-- Attachment #1.1: Type: text/plain, Size: 698 bytes --] This is in addition to what I just sent. It is triggered off when I run soundon (loads the oss drivers) with IOMMU on and iommu=pt not enabled. [ 15.096281] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.2 domain=0x000e address=0x000000009641f000 flags=0x0010] [ 15.096285] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.2 domain=0x000e address=0x000000009641f000 flags=0x0010] [ 15.096373] oss_hdaudio: HDA codec 0x00000000 not known yet [ 15.096528] oss_hdaudio: HDA codec 0x00000000 not known yet [ 15.096583] oss_hdaudio: No hdaudio codecs were detected [ 15.096589] oss_hdaudio: probe of 0000:00:14.2 failed with error -5 Thanks for looking at this problem Don [-- Attachment #1.2: Type: text/html, Size: 897 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.31.1362571204.23913.iommu@lists.linux-foundation.org>]
[parent not found: <mailman.31.1362571204.23913.iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>]
* Re: Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard [not found] ` <mailman.31.1362571204.23913.iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org> @ 2013-03-06 19:08 ` JapHack 0 siblings, 0 replies; 6+ messages in thread From: JapHack @ 2013-03-06 19:08 UTC (permalink / raw) To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA [-- Attachment #1.1: Type: text/plain, Size: 228 bytes --] I tried many setting on various config entries and finally found reference to using "iommu=pt" on the command line and it is working, at least for sound. I'll try the ethernet later to see if that problem is fixed. Thanks, Don [-- Attachment #1.2: Type: text/html, Size: 350 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-03-07 16:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 19:10 Problem with ethernet/sound with IOMMU enabled on M5A99FX pro r2.0 motherboard JapHack
[not found] ` <1362510652.3171.YahooMailClassic-s6rE+/zRgQruQS8rMknbopOW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-03-06 19:08 ` Donald Dutile
[not found] ` <498F3735-A671-4FEA-A612-4BACF08DCE15@amd.com>
[not found] ` <498F3735-A671-4FEA-A612-4BACF08DCE15-5C7GfCeVMHo@public.gmane.org>
2013-03-07 15:25 ` Suravee Suthikulanit
[not found] ` <5138B15E.6000302-5C7GfCeVMHo@public.gmane.org>
2013-03-07 15:58 ` JapHack
2013-03-07 16:12 ` JapHack
[not found] <mailman.31.1362571204.23913.iommu@lists.linux-foundation.org>
[not found] ` <mailman.31.1362571204.23913.iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
2013-03-06 19:08 ` JapHack
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.