View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Mar 25, 2021 10:46 pm Post subject: Asus Prime X570-Pro kernel setup |
|
|
I'm putting the finishing touches on a new Ryzen 3900X build using the Asus Prime X570-Pro
My usual install media is the last Gentoo based version of sysrescuecd on a CD. It struck me today that the ethernet driver on that CD may not recognize the Intel chip on the Asus board nor the Western Digital NVME drive that is to be the boot drive. The system does have a DVD drive (snapped in toollessly into the Phanteks case), I probably could burn the latest Arch based sysrescuecd but I'd rather not ever boot systemd. The Gentoo LiveUSB would probably be a good choice but I don't have a spare USB stick at the moment.
So I;d like to ask the community what drivers/install media I need for this board. I know there is at least one and probably more than one. I could always, if needed, use the sysrescuecd procedures to wedge a new kernel onto a CD. So, what specific drivers do I need for the ethernet and the NVME? In any case I'll need them for the custom kernel stage of the install. |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Thu Mar 25, 2021 11:03 pm Post subject: Re: Asus Prime X570-Pro kernel setup |
|
|
Hi Tony0945,
Tony0945 wrote: | My usual install media is the last Gentoo based version of sysrescuecd on a CD. It struck me today that the ethernet driver on that CD may not recognize the Intel chip on the Asus board nor the Western Digital NVME drive that is to be the boot drive. The system does have a DVD drive (snapped in toollessly into the Phanteks case), I probably could burn the latest Arch based sysrescuecd but I'd rather not ever boot systemd. The Gentoo LiveUSB would probably be a good choice but I don't have a spare USB stick at the moment. |
Haven't you tried "Gentoo Minimal CD"? It is fresh, unlike the last Gentoo-based sysrescuecd. _________________ A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Mar 25, 2021 11:27 pm Post subject: |
|
|
Code: | Non-Volatile memory controller:
Kernel driver in use: nvme
Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
Kernel driver in use: igb
|
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Mar 26, 2021 12:15 am Post subject: Re: Asus Prime X570-Pro kernel setup |
|
|
halcon wrote: | Haven't you tried "Gentoo Minimal CD"? It is fresh, unlike the last Gentoo-based sysrescuecd. |
Not yet, but I will!
Anon-E-moose wrote: | Kernel driver in use: nvme
Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
Kernel driver in use: igb |
Thanks! I've prepared a kernel based on my 2700X with:
Code: | config-5.4.97-gentoo:# NVME Support
config-5.4.97-gentoo:CONFIG_NVME_CORE=y
config-5.4.97-gentoo:CONFIG_BLK_DEV_NVME=y
config-5.4.97-gentoo:# CONFIG_NVME_MULTIPATH is not set
config-5.4.97-gentoo:# CONFIG_NVME_FC is not set
config-5.4.97-gentoo:# CONFIG_NVME_TCP is not set
config-5.4.97-gentoo:# CONFIG_NVME_TARGET is not set
config-5.4.97-gentoo:# end of NVME Support
|
Since the NVME is the boot drive, I wanted the support built in.
I already had the nouveau driver which should work for my low power nvidia card, a GT 1030 60W
After I get it booting on it's own I can emerge -e @world and rebuild the kernel again.
Once I get it booting on it's own, I can clean up the kernel. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Fri Mar 26, 2021 12:54 am Post subject: |
|
|
Code: | # NVME Support
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
CONFIG_NVME_HWMON=y
|
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Mar 26, 2021 2:43 am Post subject: |
|
|
Anon-E-moose wrote: | Code: | # NVME Support
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
CONFIG_NVME_HWMON=y
|
|
Added the multipath, HWMON not found. this is stable kernel 5.4.97
You probably are running a later kernel.
Downloaded the minimal iso and burned a CD. booted it. no GUI but it does have an rsync daemon. Also verified that the nvme and igb modules are present.
When this first boots on the new mobo, DHCP will assign some kind of ip address. My DHCP server is also on my file server. I'll either SSH in to it, or since both computers will be in the basement at that time (I'm building it in the basement, will eventually carry up two floors to its permanent home, replacing my old Phenom II) just walk over, enter the MAC address in the table against 192.168.0.111 and restart DNSMasq then reboot the CD on the new computer. I won't need a web browser if I have another machine with a web browser twenty feet away. come to think of it, I can just carry my wife's laptop down to the workbench and do anything web right there. |
|
Back to top |
|
|
saellaven l33t
Joined: 23 Jul 2006 Posts: 646
|
Posted: Fri Mar 26, 2021 4:23 am Post subject: |
|
|
Code: | # lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
DeviceName: Onboard IGD
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
Kernel driver in use: piix4_smbus
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
Kernel driver in use: nvme
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
Kernel driver in use: pcieport
03:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
Kernel driver in use: pcieport
03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
Kernel driver in use: pcieport
03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
Kernel driver in use: pcieport
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
Kernel driver in use: pcieport
03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
Kernel driver in use: pcieport
04:00.0 SATA controller: Marvell Technology Group Ltd. Device 9215 (rev 11)
Subsystem: Marvell Technology Group Ltd. Device 9215
Kernel driver in use: ahci
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
Kernel driver in use: igb
06:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
06:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
Subsystem: ASUSTeK Computer Inc. Matisse USB 3.0 Host Controller
Kernel driver in use: xhci_hcd
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
Kernel driver in use: xhci_hcd
07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
Kernel driver in use: ahci
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
Kernel driver in use: ahci
09:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 [GeForce GTX 1660 SUPER]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
09:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
09:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB 3.1 Host Controller
Kernel driver in use: xhci_hcd
09:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB Type-C UCSI Controller
0a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
0b:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP
0b:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
Subsystem: ASUSTeK Computer Inc. Matisse USB 3.0 Host Controller
Kernel driver in use: xhci_hcd
0b:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Starship/Matisse HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
|
_________________ Ryzen 3700X, Asus Prime X570-Pro, 64 GB DDR4 3200, GeForce GTX 1660 Super
openrc-0.17, ~vanilla-sources, ~nvidia-drivers, ~gcc |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Mar 26, 2021 2:27 pm Post subject: |
|
|
Thanks, saellaven! Using lsmod and zgrep /proc/config.gz I managed to confirm that I have these buit either as modules or built-in on the kernel that I built last night and currently running on my MSI 2700X. So I should be able to copy that kernel and modules to the new system and boot it.
With the exception of nvidia. I always build my machines with nouveau and radeon, both as modules. This saves effort when a video card has to be changed. Actually, radeon needs a bunch of firmware in addition. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 437
|
Posted: Fri Mar 26, 2021 6:03 pm Post subject: |
|
|
I thought I would miss systemrescuecd for installs. It turns out, I far prefer starting ssh at the very beginning using the current minimal cd.
It was sort of entertaining to use a Raspberry Pi to ssh into a 3900X machine to build it. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4148 Location: Bavaria
|
Posted: Fri Mar 26, 2021 10:02 pm Post subject: |
|
|
flysideways wrote: | It was sort of entertaining to use a Raspberry Pi to ssh into a 3900X machine to build it. |
I had misread this and had a beautiful picture in my head (until I noticed my mistake) ...
... Raspberry Pi to ssh into a 390 ...
https://de.wikipedia.org/wiki/System/390 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|