LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2009, 07:12 AM   #1
Clontarf[X]
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Unhappy rtl8169: hanging network/dma issues on secondary interface ifup


Hi All,

The issue I am having is when bringing up a second ethernet interface that uses the rtl8169 driver, it seems to cause network issues. I lose all network connectivity to the machine, and I simultaneously see a DMA error occur for my primary IDE drive.

Two interfaces:

Quote:
eth0 (rtl8168 (using rtl8169 driver) - Onboard PCI-E Gigabit Ethernet)
eth1 (rtl8169 (using rtl8169 driver) - RTL8169 PCI Gigabit Ethernet)
The chipset running the IDE drive that experiences the DMA crash is:

Quote:
ATI Technologies Inc SB700/SB800 IDE Controller (atiixp)
Vitals:

Debian 5.0.1 @ Kernel 2.6.30

Quote:
Originally Posted by lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. Device 9602
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
03:07.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
03:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
The output from kern.log is as follows (right after bringing the link up)

Quote:
Originally Posted by kernlog
Sep 8 19:36:42 wdhq kernel: r8169: eth1: link up
Sep 8 19:36:45 wdhq kernel: hda: ide_dma_intr: bad DMA status (0x76)
Sep 8 19:36:45 wdhq kernel: hda: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 8 19:36:45 wdhq kernel: hda: possibly failed opcode: 0x35
Sep 8 19:36:45 wdhq kernel: hda: ide_dma_intr: bad DMA status (0x76)
Sep 8 19:36:45 wdhq kernel: hda: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 8 19:36:45 wdhq kernel: hda: possibly failed opcode: 0x35
Sep 8 19:36:45 wdhq kernel: hda: ide_dma_intr: bad DMA status (0x76)
Sep 8 19:36:45 wdhq kernel: hda: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 8 19:36:45 wdhq kernel: hda: possibly failed opcode: 0x35
Sep 8 19:36:45 wdhq kernel: hda: ide_dma_intr: bad DMA status (0x76)
Sep 8 19:36:45 wdhq kernel: hda: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 8 19:36:45 wdhq kernel: hda: possibly failed opcode: 0x35
Sep 8 19:36:46 wdhq kernel: hda: ide_dma_intr: bad DMA status (0x76)
Sep 8 19:36:46 wdhq kernel: hda: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 8 19:36:46 wdhq kernel: hda: possibly failed opcode: 0x35
Sep 8 19:36:46 wdhq kernel: hda: DMA disabled
Sep 8 19:36:46 wdhq kernel: hdb: DMA disabled
Sep 8 19:36:46 wdhq kernel: ide0: reset: success
If you guys need any package versions just ask. Also feel free to point me in the direction of a better place to post this issue.

HELP!

Last edited by Clontarf[X]; 09-08-2009 at 07:19 AM.
 
Old 09-09-2009, 06:18 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It was historically impossible to have 2 identical nics on the same bus. I am sure there is a solution, but I would start there.
 
Old 09-09-2009, 12:07 PM   #3
Clontarf[X]
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
It was historically impossible to have 2 identical nics on the same bus. I am sure there is a solution, but I would start there.
They are not identical as such, as one is a PCI-E 8168, the other a PCI 8169. Unless you mean two NIC's using the same driver module? Thanks for the suggestion though.

I've actually just found the official rtl8169 driver on Realtek's website, so I'm going to give that a go.
 
Old 09-09-2009, 01:09 PM   #4
Clontarf[X]
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
And I've fixed it, by disabling APIC and MSI/MSI-X interrupts in my kernel.

Now to figure out why it's not communicating on the new network
 
  


Reply

Tags
ati, crash, dma, hang, ifconfig, ifup, network, realtek, rtl8169



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DMA Transfer from Network Interface to Memory? Intel e1000 nematoad Linux - Hardware 3 12-27-2008 04:15 PM
how to setup a secondary interface scbops Solaris / OpenSolaris 1 05-21-2008 01:34 AM
What does ifup do to bring up an interface? crazyjimbo Linux - Networking 1 07-04-2006 01:00 AM
MAC Address spoofing on alias/secondary interface tara Linux - Networking 3 08-31-2005 09:22 PM
System is hanging at :BRinging up loop back interface" svyshna Linux - General 1 09-21-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration