NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re(4) and Realtek 8168


I found a problem with Realtek 8168 chips and NetBSD-5.*. I've tried 
NetBSD-5/i386, NetBSD-5.99.7, 11 and 15 i386 and amd64 snapshots with same 

Card is working several minutes, it may even take dhcp address. After little 
work it stops responding and I get constant messages:
Jul 15 22:30:21 allegro /netbsd: re0: watchdog timeout
Jul 15 22:30:21 allegro /netbsd: re0: reset never completed!

Searching google i found several messages with same troubles, concerning 8111 
and NetBSD 4.x.

Does anyone know what is a problem and what can I do to help fix it?

Pcictl dump follows:

[root@allegro ~]$ pcictl pci1 dump -d 0
PCI configuration registers:
  Common header:
    0x00: 0x816810ec 0x00100000 0x02000002 0x00000000

    Vendor Name: Realtek Semiconductor (0x10ec)
    Device Name: 8168B/8111B 10/100/1000 Ethernet (0x8168)
    Command register: 0x0000
      I/O space accesses: off
      Memory space accesses: off
      Bus mastering: off
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
      Interrupt disable: off
    Status register: 0x0010
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: fast (0x0)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: network (0x02)
    Subclass Name: ethernet (0x00)
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000001 0x00000000 0x00000004 0x00000000
    0x20: 0x0000000c 0x00000000 0x00000000 0x81aa1043
    0x30: 0x00000001 0x00000040 0x00000000 0x000001ff

    Base address register at 0x10
      type: i/o
      base: 0x00000000, not sized
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      type: 64-bit nonprefetchable memory
      base: 0x0000000000000000, not sized
    Base address register at 0x20
      type: 64-bit prefetchable memory
      base: 0x0000000000000000, not sized
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x1043
    Subsystem ID: 0x81aa
    Expansion ROM Base Address: 0x00000001
    Capability list pointer: 0x40
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0xff

  Capability register at 0x40
    type: 0x01 (Power Management, rev. 1.0)
  Capability register at 0x50
    type: 0x05 (MSI)
  Capability register at 0x70
    type: 0x10 (PCI Express)
  Capability register at 0xb0
    type: 0x11 (MSI-X)
  Capability register at 0xd0
    type: 0x03 (VPD)

  PCI Power Management Capabilities Register
    Capabilities register: 0xf7c2
      Version: 1.1
      PME# clock: off
      Device specific initialization: off
      3.3V auxiliary current: 375 mA
      D1 power management state support: on
      D2 power management state support: on
      PME# support: 0x1e
    Control/status register: 0x0008
      Power state: D0
      PCI Express reserved: off
      No soft reset: on
      PME# assertion disabled
      PME# status: off

  PCI Express Capabilities Register
    Capability version: 1
    Device type: PCI Express Endpoint device
    Interrupt Message Number: 0

  Device-dependent header:
    0x40: 0xf7c25001 0x00000008 0x00000000 0x00000000
    0x50: 0x00007005 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x1001b010 0x00280f23 0x00110000 0x10048168
    0x80: 0x10110100 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000010 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x0001d011 0x00000004 0x00000804 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000003 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

Sincerelly yours

Home | Main Index | Thread Index | Old Index