Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Strange issue with Debian stretch on ryzen.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Strange issue with Debian stretch on ryzen.

#1 Post by jagdtigger »

Hi all :) .

I have a little home server running on a ryzen CPU and a MSI MS-7A33 board and it have some issues around the kernel. After a while the PC stops responding on network and wont react to input devices(keyboard, mouse, network) First i suspected its a hardware issue but memtest86 and p95 didnt showed any problems. Next i updated the kernel but the issue remained. First i didnt known what was causing it, but after i hooked up a monitor and let htop run in a maximized terminal i got this:
https://dl.dropboxusercontent.com/u/120 ... 225130.jpg

The interesting part is that htop keeps on updating but as i wrote it wont react to anything(not even wen i push the power button, it was configured to shut down the PC when pressed, long press works OFC).

Since i cant get the logs like this im at a total loss. Any ideas?

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Strange issue with Debian stretch on ryzen.

#2 Post by dasein »

jagdtigger wrote:Any ideas?
My first idea is that if you want help, don't ask folks wait for a bloated 16MB image to download.

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#3 Post by jagdtigger »

dasein wrote:
jagdtigger wrote:Any ideas?
My first idea is that if you want help, don't ask folks wait for a bloated 16MB image to download.
It was only 1,65 MB, IDK where you got that number... Now its 874KB

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Strange issue with Debian stretch on ryzen.

#4 Post by GarryRicketson »

Even better then a rather useless screen shot, use the CLI, and put the info
into a readable text file, and post it inside code boxes.
Example:

Code: Select all

 ps -auxw > ps-output.txt
 
For more details on the 'ps' command:

Code: Select all

man ps
There is also this method:
from: https://stackoverflow.com/questions/175 ... dable-file
htop outputs ANSI escape code to use colors and move the cursor around the terminal. There is a great command line program aha that can be used to convert ANSI into HTML.
Ubuntu/Debian installation
apt-get install aha
Save htop output as HTML file
echo q | htop | aha --black --line-fix > htop.html

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#5 Post by jagdtigger »

GarryRicketson wrote:Even better then a rather useless screen shot, use the CLI, and put the info
into a readable text file, and post it inside code boxes.
Example:

Code: Select all

 ps -auxw > ps-output.txt
 
For more details on the 'ps' command:

Code: Select all

man ps
There is also this method:
from: https://stackoverflow.com/questions/175 ... dable-file
htop outputs ANSI escape code to use colors and move the cursor around the terminal. There is a great command line program aha that can be used to convert ANSI into HTML.
Ubuntu/Debian installation
apt-get install aha
Save htop output as HTML file
echo q | htop | aha --black --line-fix > htop.html
Cant run any commands when the problem occurs. Its totally unresponsive to input devices, plus after it occurs its totally random if htop still runs or outright freezes.

kopper
Posts: 138
Joined: 2016-09-30 14:30

Re: Strange issue with Debian stretch on ryzen.

#6 Post by kopper »

You don't have to wait for freeze to happen to inspect logs. Once you boot after freeze, take a look at the logs at /var/log and see if you can find errors or critical events from freeze period. Syslog would be good place to start.

If your system doesn't stay up for even that short period of time, maybe you could use a live install on USB to retrieve the log files for inspection.

Next time you encounter the freeze, you can also try to recover control without booting the OS. Read the section 9.3.15, especially the following: The combination ... is good for getting out of really bad situations and gaining usable keyboard access without stopping the system.
https://www.debian.org/doc/manuals/debi ... _sysrq_key
Debian 10.2 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#7 Post by jagdtigger »

Okay since i store all the servers on a different partition i decided to start over from scratch(didnt found anything in the logs). The only modifications are the user accounts for the servers. Installed new kernel(4.11), then the firmware for the realtek onboard LAN. Rebooted into new kernel but no network... :shock:

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Strange issue with Debian stretch on ryzen.

#8 Post by gradinaruvasile »

jagdtigger wrote:Okay since i store all the servers on a different partition i decided to start over from scratch(didnt found anything in the logs). The only modifications are the user accounts for the servers. Installed new kernel(4.11), then the firmware for the realtek onboard LAN. Rebooted into new kernel but no network... :shock:
Surely you have something in dmesg?

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#9 Post by jagdtigger »

gradinaruvasile wrote:
jagdtigger wrote:Okay since i store all the servers on a different partition i decided to start over from scratch(didnt found anything in the logs). The only modifications are the user accounts for the servers. Installed new kernel(4.11), then the firmware for the realtek onboard LAN. Rebooted into new kernel but no network... :shock:
Surely you have something in dmesg?
Okay i tried to re-compile the firmware with dkms:

Code: Select all

jagdtigger@ryzen-server:~$ ls /var/lib/initramfs-tools | \
> sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start[sudo] password for jagdtigger: 
[....] dkms: running auto installation service for kernel 4.11.0-0.bpo.1-amd64:
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=4.11.0-0.bpo.1-amd64 -C /lib/modules/4.11.0-0.bpo.1-amd64/build M=/var/lib/dkms/r8168/8.043.02/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.11.0-0.bpo.1-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.043.02/build/make.log for more information.
. ok 
[ ok ] dkms: running auto installation service for kernel 4.9.0-3-amd64:.
make.log:

Code: Select all

DKMS make.log for r8168-8.043.02 for kernel 4.11.0-0.bpo.1-amd64 (x86_64)
Thu Aug  3 18:19:33 CEST 2017
make: Entering directory '/usr/src/linux-headers-4.11.0-0.bpo.1-amd64'
  LD      /var/lib/dkms/r8168/8.043.02/build/built-in.o
  CC [M]  /var/lib/dkms/r8168/8.043.02/build/r8168_n.o
  CC [M]  /var/lib/dkms/r8168/8.043.02/build/r8168_asf.o
  CC [M]  /var/lib/dkms/r8168/8.043.02/build/rtl_eeprom.o
  CC [M]  /var/lib/dkms/r8168/8.043.02/build/rtltool.o
/var/lib/dkms/r8168/8.043.02/build/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
/var/lib/dkms/r8168/8.043.02/build/r8168_n.c:25418:28: error: ‘struct net_device’ has no member named ‘last_rx’
                         dev->last_rx = jiffies;
                            ^~
/usr/src/linux-headers-4.11.0-0.bpo.1-common/scripts/Makefile.build:299: recipe for target '/var/lib/dkms/r8168/8.043.02/build/r8168_n.o' failed
make[3]: *** [/var/lib/dkms/r8168/8.043.02/build/r8168_n.o] Error 1
/usr/src/linux-headers-4.11.0-0.bpo.1-common/Makefile:1509: recipe for target '_module_/var/lib/dkms/r8168/8.043.02/build' failed
make[2]: *** [_module_/var/lib/dkms/r8168/8.043.02/build] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-0.bpo.1-amd64'

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Strange issue with Debian stretch on ryzen.

#10 Post by gradinaruvasile »

This issue is most likely related to the LAN chipset then not the Ryzen CPU...?

What does "lspci -v" return?

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#11 Post by jagdtigger »

gradinaruvasile wrote:This issue is most likely related to the LAN chipset then not the Ryzen CPU...?

What does "lspci -v" return?
Originally it was the CPU, i never experienced freezes that do not leave a trace in the logs... It seems the backported kernel solved it but a side effect is that i dont have networking...

lspci:

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1460
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1461
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1462
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1463
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1464
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1465
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1466
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1467
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43b9 (rev 02)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b5 (rev 02)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b0 (rev 02)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
22:00.0 USB controller: ASMedia Technology Inc. Device 2142
23:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1)
23:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
24:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 145a
24:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1456
24:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 145c
25:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 1455
25:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
25:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457
/EDIT
According to MSI the onboard network is a rtl8111H...

/EDIT2
Im an idiot... :oops:

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1450
	Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1451
	Flags: fast devsel, IRQ 27
	Capabilities: [40] Secure device <?>
	Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
	Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=22, sec-latency=0
	I/O behind bridge: 0000f000-0000ffff
	Memory behind bridge: fd500000-fd7fffff
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] #19
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [3c4] #23
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Bus: primary=00, secondary=23, subordinate=23, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fc000000-fd0fffff
	Prefetchable memory behind bridge: 00000000e8000000-00000000f1ffffff
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] #19
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [3c4] #23
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Bus: primary=00, secondary=24, subordinate=24, sec-latency=0
	Memory behind bridge: fd200000-fd4fffff
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1454
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
	Flags: fast devsel

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 32
	Bus: primary=00, secondary=25, subordinate=25, sec-latency=0
	Memory behind bridge: fd800000-fd8fffff
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1454
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller
	Flags: 66MHz, medium devsel
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH LPC Bridge
	Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1460
	Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1461
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1462
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1463
	Flags: fast devsel

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1464
	Flags: fast devsel

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1465
	Flags: fast devsel

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1466
	Flags: fast devsel

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1467
	Flags: fast devsel

03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43b9 (rev 02) (prog-if 30 [XHCI])
	Subsystem: ASMedia Technology Inc. Device 1142
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at fd7a0000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [300] Latency Tolerance Reporting
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b5 (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: ASMedia Technology Inc. Device 1062
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at fd780000 (32-bit, non-prefetchable) [size=128K]
	Expansion ROM at fd700000 [disabled] [size=512K]
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: ahci
	Kernel modules: ahci

03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b0 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Bus: primary=03, secondary=04, subordinate=22, sec-latency=0
	I/O behind bridge: 0000f000-0000ffff
	Memory behind bridge: fd500000-fd6fffff
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Upstream Port, MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 0201
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 34
	Bus: primary=04, secondary=05, subordinate=05, sec-latency=0
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 36
	Bus: primary=04, secondary=1e, subordinate=1e, sec-latency=0
	I/O behind bridge: 0000f000-0000ffff
	Memory behind bridge: fd600000-fd6fffff
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 37
	Bus: primary=04, secondary=1f, subordinate=1f, sec-latency=0
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 39
	Bus: primary=04, secondary=20, subordinate=20, sec-latency=0
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 40
	Bus: primary=04, secondary=21, subordinate=21, sec-latency=0
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 41
	Bus: primary=04, secondary=22, subordinate=22, sec-latency=0
	Memory behind bridge: fd500000-fd5fffff
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Downstream Port (Slot+), MSI 00
	Capabilities: [c0] Subsystem: ASMedia Technology Inc. Device 3306
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: shpchp

1e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 10
	I/O ports at f000 [size=256]
	Memory at fd604000 (64-bit, non-prefetchable) [size=4K]
	Memory at fd600000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
	Capabilities: [170] Latency Tolerance Reporting
	Capabilities: [178] L1 PM Substates
	Kernel modules: r8168

22:00.0 USB controller: ASMedia Technology Inc. Device 2142 (prog-if 30 [XHCI])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a33
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at fd500000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] #19
	Capabilities: [300] Latency Tolerance Reporting
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

23:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] GK208 [GeForce GT 710B]
	Flags: bus master, fast devsel, latency 0, IRQ 56
	Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e8000000 (64-bit, prefetchable) [size=128M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

23:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] GK208 HDMI/DP Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 52
	Memory at fd080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

24:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 145a
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 145a
	Flags: fast devsel
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19

24:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1456
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1456
	Flags: bus master, fast devsel, latency 0, IRQ 49
	Memory at fd300000 (32-bit, non-prefetchable) [size=1M]
	Memory at fd400000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: ccp
	Kernel modules: ccp

24:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 145c (prog-if 30 [XHCI])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a33
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at fd200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

25:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 1455
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1455
	Flags: fast devsel
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19

25:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) (prog-if 01 [AHCI 1.0])
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SATA Controller [AHCI mode]
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at fd808000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/16 Maskable- 64bit+
	Capabilities: [d0] SATA HBA v1.0
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: ahci
	Kernel modules: ahci

25:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device fa33
	Flags: bus master, fast devsel, latency 0, IRQ 54
	Memory at fd800000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel


User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Strange issue with Debian stretch on ryzen.

#12 Post by gradinaruvasile »

Meaning?

User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Re: Strange issue with Debian stretch on ryzen.

#13 Post by jagdtigger »

You asked for lspci -v and i posted the simple lspci output... I tried to google for the problem but i didnt found any solution to the firmware issue.

/EDIT
I think i gonna call it quits... As i cant find any working solution it seems i have to move onto another distro on this machine. Thanks for the help so far.

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Strange issue with Debian stretch on ryzen.

#14 Post by gradinaruvasile »

https://unixblogger.com/2016/08/11/how- ... ted-guide/
suggests installing r8168-dkms.

The bug you mentioned is here:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=864867

Buth the version 8.044.02-2 is not in the Debian archives yet, but it is here:

https://packages.ubuntu.com/artful/r8168-dkms

I downloaded the package and it installed fine:

Code: Select all

(Reading database ... 421988 files and directories currently installed.)
Preparing to unpack .../r8168-dkms_8.044.02-2_all.deb ...

------------------------------
Deleting module version: 8.044.02
completely from the DKMS tree.
------------------------------
Done.
Unpacking r8168-dkms (8.044.02-2) over (8.044.02-1) ...
Setting up r8168-dkms (8.044.02-2) ...
Loading new r8168-8.044.02 DKMS files...
dpkg: warning: version '3.10.4
3.9-1' has bad syntax: invalid character in version number
Building for 4.11.0-1-amd64
Building initial module for 4.11.0-1-amd64
Done.

r8168:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.11.0-1-amd64/updates/dkms/

depmod...

Backing up initrd.img-4.11.0-1-amd64 to /boot/initrd.img-4.11.0-1-amd64.old-dkms
Making new initrd.img-4.11.0-1-amd64
(If next boot fails, revert to initrd.img-4.11.0-1-amd64.old-dkms image)
update-initramfs......

Post Reply