DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th February 2021
chigurh chigurh is offline
Port Guard
 
Join Date: Jul 2014
Posts: 38
Default Firmware for Realtek

There is no firmware for Realtek PCI ethernet card -

dmesg -
Code:
vendor "Realtek", unknown product 0x8161 (class network subclass ethernet, rev 0x15) at pci3 dev 0 function 0 not configured
pcidump -

Code:
3:0:0: Realtek unknown
        0x0000: 816110ec 00100007 02000015 00000010
        0x0010: 0000d001 00000000 f7304004 00000000
        0x0020: f7300004 00000000 00000000 816810ec
        0x0030: 00000000 00000040 00000000 0000010b
Code:
3:0:0: Realtek unknown
        0x0000: Vendor ID: 10ec, Product ID: 8161
        0x0004: Command: 0007, Status: 0010
        0x0008: Class: 02 Network, Subclass: 00 Ethernet,
                Interface: 00, Revision: 15
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 10
        0x0010: BAR io addr: 0x0000d000/0x0100
        0x0014: BAR empty (00000000)
        0x0018: BAR mem 64bit addr: 0x00000000f7304000/0x00001000
        0x0020: BAR mem 64bit addr: 0x00000000f7300000/0x00004000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 10ec Product ID: 8168
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0040: Capability 0x01: Power Management
                State: D0
        0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
                Enabled: no
        0x0070: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s, Link Width: x1 / x1
        0x0100: Enhanced Capability 0x01: Advanced Error Reporting
        0x0140: Enhanced Capability 0x02: Virtual Channel Capability
        0x0160: Enhanced Capability 0x03: Device Serial Number
                Serial Number: 01000000684ce000
        0x0170: Enhanced Capability 0x18: Latency Tolerance Reporting
        0x0178: Enhanced Capability 0x1e: L1 PM
        0x00b0: Capability 0x11: Extended Message Signalled Interrupts (MSI-X)
                Enabled: no; table size 4 (BAR 4:0)
        0x00d0: Capability 0x03: Vital Product Data (VPD)
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
                00
I've dual onboard Intel PCI ethernet, they are wired for Linux Suricata IPS, right now I deployed an additional switch for connecting to ONT. I will like to eliminate this switch, can it be fixed?
Reply With Quote
  #2   (View Single Post)  
Old 7th February 2021
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

https://marc.info/?l=openbsd-misc&m=161136527007040&w=2
(By the way, this is not a firmware issue. Classifying it as such will confuse future readers.)
(TL;DR: Use a newer -current.)
Reply With Quote
  #3   (View Single Post)  
Old 8th February 2021
chigurh chigurh is offline
Port Guard
 
Join Date: Jul 2014
Posts: 38
Default Realtek 8168h support

Quote:
Originally Posted by ibara View Post
https://marc.info/?l=openbsd-misc&m=161136527007040&w=2
(By the way, this is not a firmware issue. Classifying it as such will confuse future readers.)
(TL;DR: Use a newer -current.)
Thanks for correcting me. I patched sys/dev/pci/if_re_pci.c, compiled and installed new kernel. The card gets detected now.

Code:
[Sun Feb 07 23:24:42 chigurh@localdomain ~] 
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 5 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 70:54:d2:c4:2f:bb
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr d8:47:32:9e:50:85
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
em1: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr 70:54:d2:c4:2f:bc
        index 3 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.0.49 netmask 0xffffff00 broadcast 192.168.0.255
enc0: flags=0<>
        index 4 priority 0 llprio 3
        groups: enc
        status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
        index 6 priority 0 llprio 3
        groups: pflog
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless - Realtek 8192SE - OpenBSD 6.6 tdp OpenBSD Installation and Upgrading 4 25th February 2020 06:28 PM
Realted 11n Wireless Adapters in the Pipeline - Realtek comments? shep OpenBSD General 6 21st August 2017 04:23 PM
OpenBSD 5.5 and Realtek 8111G support ? gkbsd OpenBSD Installation and Upgrading 12 3rd May 2014 01:14 PM
OpenBSD Support for Realtek 802.11n USB devices J65nko News 0 18th December 2010 11:00 PM
Realtek Gigabit 8169SC Network card not workies!! ashleyd FreeBSD General 5 11th August 2008 12:50 PM


All times are GMT. The time now is 05:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick