Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I'm using Ubuntu Server 10.04 as an ADSL modem in a Mini-ITX box. I have a Viking ADSL+2 Card in the PCI slot and am using bridged ethernet to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    24

    Changing motherboard causes PCI issues


    Hello,

    I'm using Ubuntu Server 10.04 as an ADSL modem in a Mini-ITX box. I have a Viking ADSL+2 Card in the PCI slot and am using bridged ethernet to let the OS handle the PPP side of things.

    The Viking card creates a like virtual ethernet adapter (eth1) so that I can configure the Viking card through a browser (or Telnet).

    eth0 connects to my LAN.

    The motherboard for this died and I've since got a replacement in. When I first plugged it in, none of the ethernet adapters showed and I was getting an error (The PCI bus error I've explained below). I emptied the file:
    /etc/udev/rules.d/70-persistent-net.rules

    So that the system would readd the cards (Have kept a backup of it).

    Now when the system boots, I still get loads of these errors:
    Code:
    eth1: PCI bus error, status=8010, PCI status=a290
    eth1: PCI bus error, status=8000, PCI status=9290
    and it will totally lock up after about 2 minutes. This text will overwrite anything on the screen, even the login prompt.

    If I change eth1 to eth2 in the /etc/udev/rules.d/70-persistent-net.rules file, I no longer get the errors, but can't access the Viking card, and it doesn't do bridged ethernet (The card is working fine, I can see the lights on the back saying it's syncing with the exchange etc). ifconfig doesn't show eth1, eth2, or ppp0 (But shows eth0 and l0) with this configuration.

    Here is my /etc/udev/rules.d/70-persistent-net.rules file:
    Code:
    # This file was automatically generated by the /lib/udev/write_net_rules
    # program, run by the persistent-net-generator.rules rules file.
    #
    # You can modify it, as long as you keep each rule on a single
    # line, and change only the value of the NAME= key.
    
    
    # PCI device 0x10ec:0x8168 (r8169)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="38:60:77:b5:82:ca", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
    
    # PCI device 0x10ec:0x8139 (8139cp)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0a:fa:20:04:95", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
    I've bolded the eth2 that errors and freezes the system if it's eth1.

    Does anyone know what this error is, and how to fix it? Is it some IRQ error? Is there some other config file I must change?

    Here's some lines from dmesg:
    I can provide the full log, but it's 700+ lines long.
    Code:
    [    0.000000] ACPI: RSDP 000f0400 00024 (v02 INTEL )
    [    0.000000] ACPI: XSDT 7f606f10 00054 (v01 INTEL  D945JT   06222004 MSFT 00010013)
    [    0.000000] ACPI: FACP 7f605d90 000F4 (v04 INTEL  D945JT   06222004 MSFT 00010013)
    [    0.000000] ACPI Warning: 32/64 FACS address mismatch in FADT - two FACS tables! (20090903/tbfadt-369)
    [    0.000000] ACPI Warning: 32/64X FACS address mismatch in FADT - 7F60DE40/000000007F60DD40, using 32 (20090903/tbfadt-486)
    [    0.000000] ACPI: DSDT 7f600010 0416D (v01 INTEL  D945JT   00000000 INTL 20051117)
    [    0.000000] ACPI: FACS 7f60de40 00040
    [    0.000000] ACPI: APIC 7f607e90 0005C (v02 INTEL  D945JT   06222004 MSFT 00010013)
    [    0.000000] ACPI: MCFG 7f607e10 0003C (v01 INTEL  D945JT   06222004 MSFT 00000097)
    [    0.000000] ACPI: SSDT 7f5d8a10 004CE (v02 INTEL  D945JT   00003000 INTL 20051117)
    [    0.000000] ACPI: SSDT 7f5d7c90 00232 (v02 INTEL  D945JT   00003000 INTL 20051117)
    [    0.000000] ACPI: SSDT 7f5d7f10 000A0 (v02 INTEL  D945JT   00003000 INTL 20051117)
    
    ...
    
    [    0.196266] ACPI: bus type pci registered
    [    0.196594] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    [    0.196613] PCI: MCFG area at e0000000 reserved in E820
    [    0.196626] PCI: Using MMCONFIG for extended config space
    [    0.196638] PCI: Using configuration type 1 for base access
    [    0.203064] bio: create slab <bio-0> at 0
    [    0.207029] ACPI: EC: Look up EC in DSDT
    [    0.213829] ACPI: BIOS _OSI(Linux) query ignored
    [    0.220360] ACPI: Executed 1 blocks of module-level executable AML code
    [    0.231733] ACPI: BIOS _OSI(Linux) query ignored
    [    0.243961] ACPI: Interpreter enabled
    [    0.243988] ACPI: (supports S0 S1 S3 S4 S5)
    [    0.244163] ACPI: Using IOAPIC for interrupt routing
    [    0.285946] ACPI: No dock devices found.
    [    0.287367] ACPI: PCI Root Bridge [PCI0] (0000:00)
    [    0.287727] pci 0000:00:02.0: reg 10 32bit mmio: [0xffd80000-0xffdfffff]
    [    0.287755] pci 0000:00:02.0: reg 14 io port: [0xf140-0xf147]
    [    0.287779] pci 0000:00:02.0: reg 18 32bit mmio pref: [0xd0000000-0xdfffffff]
    [    0.287803] pci 0000:00:02.0: reg 1c 32bit mmio: [0xffe00000-0xffe3ffff]
    [    0.287928] pci 0000:00:02.1: reg 10 32bit mmio: [0xffd00000-0xffd7ffff]
    [    0.288174] pci 0000:00:1b.0: reg 10 64bit mmio: [0xcff00000-0xcff03fff]
    [    0.288276] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [    0.288295] pci 0000:00:1b.0: PME# disabled
    [    0.288446] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    [    0.288464] pci 0000:00:1c.0: PME# disabled
    [    0.288618] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    [    0.288636] pci 0000:00:1c.1: PME# disabled
    [    0.288789] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    [    0.288808] pci 0000:00:1c.2: PME# disabled
    [    0.288973] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
    [    0.288994] pci 0000:00:1c.3: PME# disabled
    [    0.289123] pci 0000:00:1d.0: reg 20 io port: [0xf080-0xf09f]
    [    0.289255] pci 0000:00:1d.1: reg 20 io port: [0xf060-0xf07f]
    [    0.289379] pci 0000:00:1d.2: reg 20 io port: [0xf040-0xf05f]
    [    0.289498] pci 0000:00:1d.3: reg 20 io port: [0xf020-0xf03f]
    [    0.289629] pci 0000:00:1d.7: reg 10 32bit mmio: [0xffe41000-0xffe413ff]
    [    0.289738] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    [    0.289756] pci 0000:00:1d.7: PME# disabled
    [    0.290041] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
    [    0.290074] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0a00 (mask 007f)
    [    0.290094] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 1640 (mask 000f)
    [    0.290206] pci 0000:00:1f.1: reg 10 io port: [0xf130-0xf137]
    [    0.290231] pci 0000:00:1f.1: reg 14 io port: [0xf120-0xf123]
    [    0.290256] pci 0000:00:1f.1: reg 18 io port: [0xf110-0xf117]
    [    0.290280] pci 0000:00:1f.1: reg 1c io port: [0xf100-0xf103]
    [    0.290305] pci 0000:00:1f.1: reg 20 io port: [0xf0f0-0xf0ff]
    [    0.290411] pci 0000:00:1f.2: reg 10 io port: [0xf0e0-0xf0e7]
    [    0.290436] pci 0000:00:1f.2: reg 14 io port: [0xf0d0-0xf0d3]
    [    0.290460] pci 0000:00:1f.2: reg 18 io port: [0xf0c0-0xf0c7]
    [    0.290484] pci 0000:00:1f.2: reg 1c io port: [0xf0b0-0xf0b3]
    [    0.290507] pci 0000:00:1f.2: reg 20 io port: [0xf0a0-0xf0af]
    [    0.290532] pci 0000:00:1f.2: reg 24 32bit mmio: [0xffe40000-0xffe403ff]
    [    0.290589] pci 0000:00:1f.2: PME# supported from D3hot
    [    0.290606] pci 0000:00:1f.2: PME# disabled
    [    0.290708] pci 0000:00:1f.3: reg 20 io port: [0x1180-0x119f]
    [    0.290885] pci 0000:01:00.0: reg 10 io port: [0xe000-0xe0ff]
    [    0.290933] pci 0000:01:00.0: reg 18 64bit mmio pref: [0xcfe04000-0xcfe04fff]
    [    0.290972] pci 0000:01:00.0: reg 20 64bit mmio pref: [0xcfe00000-0xcfe03fff]
    [    0.291000] pci 0000:01:00.0: reg 30 32bit mmio pref: [0xffc00000-0xffc1ffff]
    [    0.291084] pci 0000:01:00.0: supports D1 D2
    [    0.291099] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [    0.291118] pci 0000:01:00.0: PME# disabled
    [    0.291247] pci 0000:00:1c.0: bridge io port: [0xe000-0xefff]
    [    0.291267] pci 0000:00:1c.0: bridge 32bit mmio: [0xffc00000-0xffcfffff]
    [    0.291293] pci 0000:00:1c.0: bridge 64bit mmio pref: [0xcfe00000-0xcfefffff]
    [    0.291692] pci 0000:05:00.0: reg 10 io port: [0x00-0xff]
    [    0.291718] pci 0000:05:00.0: reg 14 32bit mmio: [0x000000-0x0000ff]
    [    0.291813] pci 0000:05:00.0: supports D1 D2
    [    0.291828] pci 0000:05:00.0: PME# supported from D1 D2 D3hot
    [    0.291845] pci 0000:05:00.0: PME# disabled
    [    0.291946] pci 0000:00:1e.0: transparent bridge
    [    0.292039] pci_bus 0000:00: on NUMA node 0
    [    0.292074] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [    0.292932] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
    [    0.293345] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
    [    0.293632] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
    [    0.357178] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
    [    0.357742] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
    [    0.358268] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *7 10 11 12 14 15)
    [    0.358795] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
    [    0.359349] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    [    0.359879] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    [    0.360441] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    [    0.360998] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 12 14 15)
    [    0.361579] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    [    0.361647] vgaarb: loaded
    
    ...
    
    [    0.437908] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:01
    [    0.437931] pci 0000:00:1c.0:   IO window: 0xe000-0xefff
    [    0.437953] pci 0000:00:1c.0:   MEM window: 0xffc00000-0xffcfffff
    [    0.437974] pci 0000:00:1c.0:   PREFETCH window: 0x000000cfe00000-0x000000cfefffff
    [    0.437998] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:02
    [    0.438011] pci 0000:00:1c.1:   IO window: disabled
    [    0.438029] pci 0000:00:1c.1:   MEM window: disabled
    [    0.438045] pci 0000:00:1c.1:   PREFETCH window: disabled
    [    0.438067] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:03
    [    0.438080] pci 0000:00:1c.2:   IO window: disabled
    [    0.438097] pci 0000:00:1c.2:   MEM window: disabled
    [    0.438113] pci 0000:00:1c.2:   PREFETCH window: disabled
    [    0.438135] pci 0000:00:1c.3: PCI bridge, secondary bus 0000:04
    [    0.438148] pci 0000:00:1c.3:   IO window: disabled
    [    0.438165] pci 0000:00:1c.3:   MEM window: disabled
    [    0.438181] pci 0000:00:1c.3:   PREFETCH window: disabled
    [    0.438217] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
    [    0.438235] pci 0000:00:1e.0:   IO window: 0x2000-0x2fff
    [    0.438255] pci 0000:00:1e.0:   MEM window: 0x80000000-0x800fffff
    [    0.438272] pci 0000:00:1e.0:   PREFETCH window: disabled
    [    0.438325]   alloc irq_desc for 16 on node -1
    [    0.438338]   alloc kstat_irqs on node -1
    [    0.438368] pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [    0.438390] pci 0000:00:1c.0: setting latency timer to 64
    [    0.438423]   alloc irq_desc for 17 on node -1
    [    0.438435]   alloc kstat_irqs on node -1
    [    0.438458] pci 0000:00:1c.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [    0.438478] pci 0000:00:1c.1: setting latency timer to 64
    [    0.438511]   alloc irq_desc for 18 on node -1
    [    0.438523]   alloc kstat_irqs on node -1
    [    0.438547] pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    [    0.438567] pci 0000:00:1c.2: setting latency timer to 64
    [    0.438599]   alloc irq_desc for 19 on node -1
    [    0.438612]   alloc kstat_irqs on node -1
    [    0.438637] pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    [    0.438659] pci 0000:00:1c.3: setting latency timer to 64
    [    0.438691] pci 0000:00:1e.0: setting latency timer to 64
    [    0.438713] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
    [    0.438731] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
    [    0.438748] pci_bus 0000:01: resource 0 io:  [0xe000-0xefff]
    [    0.438765] pci_bus 0000:01: resource 1 mem: [0xffc00000-0xffcfffff]
    [    0.438783] pci_bus 0000:01: resource 2 pref mem [0xcfe00000-0xcfefffff]
    [    0.438802] pci_bus 0000:05: resource 0 io:  [0x2000-0x2fff]
    [    0.438819] pci_bus 0000:05: resource 1 mem: [0x80000000-0x800fffff]
    [    0.438836] pci_bus 0000:05: resource 3 io:  [0x00-0xffff]
    [    0.438852] pci_bus 0000:05: resource 4 mem: [0x000000-0xffffffff]
    
    ...
    
    [    2.045044] pci 0000:00:1d.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
    
    ...
    
    [    2.784292] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [    2.784333] r8169 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [    2.784402] r8169 0000:01:00.0: setting latency timer to 64
    [    2.784472]   alloc irq_desc for 28 on node -1
    [    2.784480]   alloc kstat_irqs on node -1
    [    2.784505] r8169 0000:01:00.0: irq 28 for MSI/MSI-X
    [    2.786576] eth0: RTL8168d/8111d at 0xf8042000, 38:60:77:b5:82:ca, XID 081000c0 IRQ 28
    [    2.835951] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
    [    2.836055] 8139cp 0000:05:00.0: enabling device (0000 -> 0003)
    [    2.836072]   alloc irq_desc for 20 on node -1
    [    2.836079]   alloc kstat_irqs on node -1
    [    2.836094] 8139cp 0000:05:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    [    2.848437] usb 1-5: configuration #1 chosen from 1 choice
    [    2.857762] eth1: RTL-8139C+ at 0xf8078000, 00:0a:fa:20:04:95, IRQ 20
    In here I can see that eth1 is using IRQ 20, which I think has something to do with my problem since there is no eth1 (I changed it to eth2), so there's probably another config file I need to change.
    Last edited by Slyke; 06-30-2013 at 10:28 AM.

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Posts
    24
    I can boot from Ubuntu Live and everything works flawlessly, it has to be some configuration that I'm missing .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •