Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Ryzen initial results.

182 views
Skip to first unread message

Alan Grimes

unread,
Apr 4, 2017, 5:40:03 PM4/4/17
to
I installed my Ryzen system today, using a mATX b350 mobo.

My existing kernel mostly works,



.000000] Linux version 4.6.7 (root@tortoise) (gcc version 5.4.0 (Gentoo
5.4.0-r3 p1.3, pie-0.6.5) ) #6 SMP Tue Apr 4 22:34:38 EDT 2017
0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.6.7 root=/dev/sda3 ro
check_enable_amd_mmconf amd_iommu=fullflush iommu=soft
0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256

###############
<<< might need to update my command line, can't find where I stored the
config for this.


0.277728] smpboot: CPU0: AMD Ryzen 7 1800X Eight-Core Processor (family:
0x17, model: 0x1, stepping: 0x1)
0.278242] Performance Events:
##############


Unsupported hardware. =O
################
0.165887] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
0.277728] smpboot: CPU0: AMD Ryzen 7 1800X Eight-Core Processor (family:
0x17, model: 0x1, stepping: 0x1)
0.278242] Performance Events:
0.278296] core perfctr but no constraints; unknown hardware!
0.278693] no PMU driver, software events only.
0.279047] MCE: In-kernel MCE decoding enabled.
################



0.601176] smpboot: Total of 16 processors activated (114890.88 BogoMIPS)
################
heheheheh; roughly 3.5x as fast as my previous cpu, acknowledging
limitations of this as a benchmark...


There was a stack dump:
###########################

1.022172] sit: IPv6 over IPv4 tunneling driver
1.022534] NET: Registered protocol family 17
1.022743] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
1.023511] ------------[ cut here ]------------
1.023717] WARNING: CPU: 15 PID: 1 at lib/kobject.c:210
kobject_add_internal+0x221/0x2d0
1.023927] kobject: (ffff8807face5140): attempted to be registered with
empty name!
1.024134] Modules linked in:
1.024384] CPU: 15 PID: 1 Comm: swapper/0 Not tainted 4.6.7 #6
1.024591] Hardware name: System manufacturer System Product Name/PRIME
B350M-A, BIOS 0514 03/30/2017
1.024946] 0000000000000000 ffff88081e89fc98 ffffffff81440186
ffff88081e89fce8
1.025355] 0000000000000000 ffff88081e89fcd8 ffffffff8104bd93
000000d21e89fd20
1.025791] ffff8807face5140 00000000ffffffea ffff8807faa1c810
0000000000000003
1.026199] Call Trace:
1.026398] [<ffffffff81440186>] dump_stack+0x4d/0x67
1.026609] [<ffffffff8104bd93>] __warn+0xd3/0xf0
1.026811] [<ffffffff8104bdfa>] warn_slowpath_fmt+0x4a/0x50
1.030653] [<ffffffff81442b11>] kobject_add_internal+0x221/0x2d0
1.030858] [<ffffffff8110151d>] ? kfree_const+0x1d/0x30
1.031062] [<ffffffff814430ef>] kobject_add+0x6f/0xc0
1.031267] [<ffffffff81132eeb>] ? kmem_cache_alloc+0xdb/0xe0
1.031483] [<ffffffff8144324c>] kobject_create_and_add+0x3c/0x80
1.031690] [<ffffffff8102e033>] threshold_create_device+0x163/0x330
1.031896] [<ffffffff81cae481>] ? mcheck_vendor_init_severity+0x1a/0x1a
1.032102] [<ffffffff81cae4b1>] threshold_init_device+0x30/0x46
1.032314] [<ffffffff810003c1>] do_one_initcall+0x81/0x1a0
1.032520] [<ffffffff81ca2fd3>] kernel_init_freeable+0x14a/0x1d5
1.032726] [<ffffffff817d6019>] kernel_init+0x9/0x100
1.032930] [<ffffffff817db4d2>] ret_from_fork+0x22/0x40
1.033133] [<ffffffff817d6010>] ? rest_init+0x70/0x70
1.033345] ---[ end trace d0f146be7512a988 ]---
1.033551] kobject_create_and_add: kobject_add error: -22
1.033770] microcode: CPU0: patch_level=0x08001105
1.033981] microcode: CPU1: patch_level=0x08001105
###########################


I should probably break my version freeze on my kernel but I am deeply
concerned about nvidia_drivers compatibility... =\


I was emptytree world'ing my system and it died at:
##############################
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I.
-I/var/tmp/portage/media-libs/libid3tag-0.15.1b-r4/work/libid3tag-0.15.1b
-I. -Wall -pipe -march=native -fomit-frame-pointer -c -o file.lo
/var/tmp/portage/media-libs/libid3tag-0.15.1b-r4/work/libid3tag-0.15.1b/file.c
/var/tmp/portage/media-libs/libid3tag-0.15.1b-r4/work/libid3tag-0.15.1b/render.c:
In function 'id3_render_latin1':
/var/tmp/portage/media-libs/libid3tag-0.15.1b-r4/work/libid3tag-0.15.1b/render.c:119:12:
warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
latin1 = "";
^
compat.gperf:116:1: error: conflicting types for 'id3_compat_lookup'
In file included from compat.gperf:37:0:
/var/tmp/portage/media-libs/libid3tag-0.15.1b-r4/work/libid3tag-0.15.1b/compat.h:36:26:
note: previous declaration of 'id3_compat_lookup' was here
struct id3_compat const *id3_compat_lookup(register char const *,
###############################

Does not appear to be CPU related, going to skipfirst resume and get as
much done as I can...


--
Strange Game.
The only winning move is not to play.

Powers are not rights.

Daniel Frey

unread,
Apr 4, 2017, 5:50:03 PM4/4/17
to
On 04/04/2017 10:37 PM, Alan Grimes wrote:
> I installed my Ryzen system today, using a mATX b350 mobo.
>
> My existing kernel mostly works,
>
>
>
> .000000] Linux version 4.6.7 (root@tortoise) (gcc version 5.4.0 (Gentoo
> 5.4.0-r3 p1.3, pie-0.6.5) ) #6 SMP Tue Apr 4 22:34:38 EDT 2017

From what I've been reading, Ryzen support wasn't added until 4.10, with
partial support in 4.9. So you probably won't get everything out of your
new hardware.

I am using 4.9.16 on my laptop with binary nvidia drivers, I haven't had
issues yet. Although, it is one of those dual-gpu models, intel and
nvidia - but the nvidia kernel module loads with no erroneous messages.

If you have bleeding edge hardware you really need to use a newer kernel
for proper support. I didn't even try my new laptop with an old kernel
(most of my other machines are on 4.1 LTS still.)

Dan

Andrew Savchenko

unread,
Apr 14, 2017, 11:20:03 AM4/14/17
to
Ditto. With a bleeding edge hardware one needs a bleeding edge
software, at least kernel, drivers/firmware and @system.

Best regards,
Andrew Savchenko
0 new messages