Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Updated Unix Realtek Drivers
« previous
next »
Print
Pages: [
1
]
Author
Topic: Updated Unix Realtek Drivers (Read 12509 times)
thebd116
Newbie
Posts: 2
Karma: 0
Updated Unix Realtek Drivers
«
on:
September 08, 2018, 07:26:09 am »
Hey Team,
Is it possible for next release for the unix realtek driver to be updated to 1.95
http://www.realtek.com.tw/DOWNLOADS/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3
As per website latest version is 1.95 dated 2018/8/3
Cheers,
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #1 on:
September 08, 2018, 10:25:54 am »
Thanks for the hint. I check this page every other month but missed this so far.
I'll get this done today.
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #2 on:
September 09, 2018, 07:07:57 pm »
Download page wasn't working yesterday, but earlier today it was ok. Commit here:
https://github.com/opnsense/src/commit/8bf726ec9
You can try the kernel if you like, but please note that I haven't had time to test the driver on appropriate hardware. From the looks of the changes, there shouldn't be any surprises.
# opnsense-update -kr 18.7.2-re
# opnsense-shell reboot
Cheers,
Franco
Logged
thebd116
Newbie
Posts: 2
Karma: 0
Re: Updated Unix Realtek Drivers
«
Reply #3 on:
September 10, 2018, 02:56:07 pm »
Thanks Franco such a Legend
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #4 on:
September 10, 2018, 05:29:34 pm »
I'm assuming you mean the driver works in a legendary fashion already?
Did you try it? If so, what Realtek chipset do you have for reference?
Cheers,
Franco
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: Updated Unix Realtek Drivers
«
Reply #5 on:
September 12, 2018, 03:44:44 am »
Franco - I installed the update:
# opnsense-update -kr 18.7.2-re
# opnsense-shell reboot
but when I rebooted I see this in dmesg:
re0: Ethernet address: 00:13:3b:0f:13:0a
pcib4: <PCI-PCI bridge> irq 27 at device 7.0 on pci2
pci4: <PCI bus> on pcib4
re1: <Realtek PCIe GBE Family Controller> port 0xc000-0xc0ff mem 0xfe800000-0xfe800fff,0xd0800000-0xd0803fff irq 27 at device 0.0 on pci4
re1: Using Memory Mapping!
re1: Using 1 MSI-X message
re1: version:1.94.01
Did I miss something? I didn't get any errors when I installed
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #6 on:
September 12, 2018, 09:58:58 am »
For one reason or another, this doesn't look like the correct kernel.
What's your output of:
# uname -a
Cheers,
Franco
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: Updated Unix Realtek Drivers
«
Reply #7 on:
September 13, 2018, 02:37:27 am »
I installed 18.7.2 this morning:
OPNsense 18.7.2-amd64
FreeBSD 11.1-RELEASE-p13
OpenSSL 1.0.2p 14 Aug 2018
uname -a shows:
FreeBSD gw.foo.local 11.1-RELEASE-p13 FreeBSD 11.1-RELEASE-p13 0259f6a4413(stable/18.7) amd64
Dmesg shows this:
e0: <Realtek PCIe GBE Family Controller> port 0xd000-0xd0ff mem 0xfe900000-0xfe900fff,0xd0900000-0xd0903fff irq 27 at device 0.0 on pci3
re0: Using Memory Mapping!
re0: Using 1 MSI-X message
re0: version:1.94.01
re0: Ethernet address: 00:13:3b:0f:13:0a
re1: <Realtek PCIe GBE Family Controller> port 0xc000-0xc0ff mem 0xfe800000-0xfe800fff,0xd0800000-0xd0803fff irq 27 at device 0.0 on pci4
re1: Using Memory Mapping!
re1: Using 1 MSI-X message
re1: version:1.94.01
re1: Ethernet address: 00:13:3b:0f:13:0b
re2: <Realtek PCIe GBE Family Controller> port 0xe000-0xe0ff mem 0xfea00000-0xfea00fff,0xd0a00000-0xd0a03fff irq 32 at device 0.0 on pci5
re2: Using Memory Mapping!
re2: Using 1 MSI-X message
re2: version:1.94.01
re2: Ethernet address: 1c:1b:0d:1a:49:a5
(Motherboard has a RTL8111E and there is a dual-port card with 2 RTL8111G)
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #8 on:
September 13, 2018, 09:15:30 am »
Hold on, you need to install a specific kernel and upgrading will remove it....
I've posted a new one:
# opnsense-update -kr 18.7.2-re2
# opnsense-shell reboot
It should show:
# uname -a
FreeBSD xxx.yyy 11.1-RELEASE-p14 FreeBSD 11.1-RELEASE-p14 4276cbe86a9(master) amd64
Cheers,
Franco
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: Updated Unix Realtek Drivers
«
Reply #9 on:
September 13, 2018, 05:07:20 pm »
Franco - ok, I did install the new kernel:
# opnsense-update -kr 18.7.2-re2
# opnsense-shell reboot
After the reboot, I get this:
#:~ # uname -a
FreeBSD gw.foo.local 11.1-RELEASE-p13 FreeBSD 11.1-RELEASE-p13 0259f6a4413(stable/18.7) amd64
#:~ #
Firmware shows that a update is available:
ackage Name Current Version New Version Required Action
kernel 18.7.2-re2 18.7.2 upgrade
which leads me to believe the new kernel was installed.
However, dmesg still reports:
re0: <Realtek PCIe GBE Family Controller> port 0xd000-0xd0ff mem 0xfe900000-0xfe900fff,0xd0900000-0xd0903fff irq 27 at device 0.0 on pci3
re0: Using Memory Mapping!
re0: Using 1 MSI-X message
re0: version:1.94.01
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #10 on:
September 13, 2018, 05:19:36 pm »
# FreeBSD gw.foo.local 11.1-RELEASE-p13 FreeBSD 11.1-RELEASE-p13 0259f6a4413(stable/18.7) amd64
No, that's the old kernel again! Are you sure the reboot went through?
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: Updated Unix Realtek Drivers
«
Reply #11 on:
September 13, 2018, 05:39:00 pm »
Franco - I could hear the shutdown and bootup tones, and was disconnected from a ssh session into the firewall. Should I put a monitor on it and see what it happens during the reboot?
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Updated Unix Realtek Drivers
«
Reply #12 on:
September 14, 2018, 09:20:18 am »
Well, something prevents you from getting the new kernel...
This should be the correct kernel:
# md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = 34b82987647d7e7f2c3bda0fc7a7bd4b
Maybe you can offer the debug output of the install sequence:
# opnsense-update -Vfkr 18.7.2-re2
Cheers,
Franco
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: Updated Unix Realtek Drivers
«
Reply #13 on:
September 14, 2018, 04:43:51 pm »
I have the output, but now dmesg is showing 1.95.
I'll run it through it's paces and see how the newer driver holds up.
Thanks Franco!
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Updated Unix Realtek Drivers