[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-07 Thread Roland Kaiser
In the meantime, is there any particular reason Ubuntu kernels need to be shipping with pinctrl-amd built-in? If not, I suggest building it as a module from now on, so that users affected by this issue don't have to resort to custom built kernels, but can instead just blacklist the module. Note

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-07 Thread Roland Kaiser
Bad news. Using 4.11-rc5 as a base and reverting the commit I previously mentioned (0be275e3a5607b23f5132121bca22a10ee23aa99) does yield a mostly functional kernel. I say "mostly" because there is still a lone "unexpected IRQ trap" in dmesg when the pinctrl driver loads, though the system boots

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-07 Thread Roland Kaiser
I have found that kernel 4.1 actually seems to work fine on my board (AX370-GK7, F2 BIOS), even when compiled with CONFIG_PINCTRL_AMD=y. Note that to properly test kernels that old, the correct ACPI device ID needs to be added as seen in commit 42a4440 pinctrl: amd:Add device HID for future

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-06 Thread Richard
I can confirm this issue on a Gigabyte GA-AX370-Gaming 5 (X370 chipset) with F4 bios and an AMD Ryzen 7 1700 CPU. I moved my disks from an sandy bridge system with Kubuntu 16.04.2 installed and kernel 4.4.0-71-generic which boots fine on the new hardware. When I upgrade the kernel to

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-06 Thread Roland Kaiser
Yeah, it looks like the call to irq_desc_get_handler_data() inside that irq handler is returning null. But I don't understand most of that code, so no idea what might be causing that. As a side note: From the looks of it it's probably not going to be relevant, but just in case it is I have dumped

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-06 Thread Marc Singer
Hey Roland Your informations are a breakthrough in this case, since Case A seems to be a NullPointerException inside the Kernel (maybe amd_gpio is trying to access an object that has been removed in newer kernel versions?). Case B was almost 100% for myself but is also very interesting. It seems

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-06 Thread Roland Kaiser
Here is some additional information. I built upstream kernel 4.11-rc5 with CONFIG_PINCTRL_AMD=m CONFIG_DEBUG_PINCTRL=y CONFIG_DEBUG_GPIO=y and blacklisted pinctrl-amd so as to able to boot that kernel and set up netconsole. Doing a modprobe pinctrl-amd then results in a crash

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-04-04 Thread Eric Joslyn
I have exactly the same problem with a Gigabyte AB350-Gaming 3 motherboard and a Ryzen 1800+. - Ubuntu variations (Ubuntu, Neon, Kubuntu, Budgie) and openSUSE do not work out of the box. They stall with a bunch of 'irq trap at vector 07' messages. - For all of these, after adding acpi=off to the

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-29 Thread James Willcox
I have this issue with a Ryzen 1800X and a Gigabyte GA-AB350 Gaming (not 3) mainboard. I can boot the live desktop from USB if I pass acpi=off, but /proc/cpuinfo lists only one core. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-21 Thread Marc Singer
I can replicate the issue on a Gigabyte GA370x Gaming 5 Mainboard with AMD 1700x. After I upgraded Mint to Linux 4.10.3 the bug even happened on older kernel versions installed with Ukuu (I could only boot on 4.4.0 used as default on Mint 18.2) -- You received this bug notification because you

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-20 Thread anders_c_
@blarg Looked around in bios but found no way to disable the CPU USBs. Tried to boot with nothing connected to them but it failed with same error messages as before. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-19 Thread blarg
Disable the CPU based USB ports - That's all of the version 3.0 ones. Probably most of the rear and front ports. Only use the 3.1 or 2.0 USB ports associated with the B350 southbridge. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-16 Thread anders_c_
Ryzen 1700 Gigabyte ab350 Gaming 3 I created a usb with 16.04.1 and it starts without problems. When i tried to install it asked if I wanted UEFI or bios mode, UEFI failed to install but bios worked. -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-14 Thread Cosmin Mutu
By normal upgrade procedure I mean : 1. Right Click on "Power Icon" (top right corner) 2. Select "About this computer" 3. On opened pop-up in the bottom right corner there should be a button which either says "Update" or "System Up-To-Date" Let me know if the 16.04.01 install worked ... hope it

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-14 Thread Cosmin Mutu
@Robert : what I have on DVD is an image of 16.04.01 LTS : http://old- releases.ubuntu.com/releases/xenial/ubuntu-16.04.1-desktop-amd64.iso So, I would suggest you "try / install" this first, and then update to 16.04.02 At least that`s how it worked for me. Current kernel that I have (didn`t

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-14 Thread Eric Hartmann
@Marciej here are the results for GA-X370-Gaming-5 board (with 1800X processor). Please note that it's the result on 4.10.1 with PINCTRL_AMD removed. ** Attachment added: "devices.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671360/+attachment/4837491/+files/devices.txt -- You

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-14 Thread Eric Hartmann
And lspci ** Attachment added: "lspci.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671360/+attachment/4837492/+files/lspci.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-14 Thread Eric Hartmann
@Robert, on Ubuntu 16.10 you can install the nvidia-378 drivers that contains the fix for the kernel 4.10 (I'm using it). The patches are available here also : https://devtalk.nvidia.com/default/topic/995636/linux/-patches-378-13-4-10-and-4-11-rc1/ -- You received this bug notification because

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Daniele
Dear All, I had exactly the same situation of post #23. Coming from Kubuntu 16.04, bought a new system Ryzen 1800x+GA-AB350 Gaming 3. First boot, using the "old" SSD worked fine, so I decided to upgrade to version 16.10. The procedure goes well, but after the reboot got plenty of error message

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Robert Sandru
@Eric: I've managed to boot the system using your custom built kernel! Not usable really now as the nvidia driver installation is failing but much better... So clearly the code around PINCTRL_AMD seems to be related. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Robert Sandru
Hi Cosmin, thanks a lot for the details. I can see a couple of differences that I need to look into: - Chipset is different B350 vs. X370 - I attempted the fresh 16.04 install from a USB stick instead of a DVD (I've got no optical drive at all, so can't test that) -> IRQ TRAP (same with

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Cosmin Mutu
@Robert ... sure, let me clarify the events. 1. I had Ubuntu 16.04 LTS for some time already running on my system. 2. I bought AMD Ryzen 1800 + Gigabyte AB350 Gaming 3 and I took the SSD from the old system and pushed it into the new one 3. Everything worked fine, except I had to install NVIDIA

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Cosmin Mutu
@Maciej : I think you missunderstood ... both Gigabyte (mine) and Asus boards (Huang`s) work fine with 16.04 LTS ... what you need to do .. is ask Huang to try his luck with 16.10 :) or 17.04 So, Huang, can you make 2 DVD`s .. one with 16.10 and another with 17.04 (or 2 bootable flashes) and just

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Cosmin Mutu
"on a disk" I mean on a DVD :) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1671360 Title: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3 Status in linux

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Maciej Dziardziel
Huang YangWen: can you attach result of those command: ls -l /sys/bus/acpi/devices/ sudo lspci -vvnn I wonder what the differences between motherboards are. I suspect Gigabyte has something other boards don't have. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Huang YangWen
Works find with Ubuntu 16.04 + 4.10.1-041001-generic The kernel is downloaded from Ubuntu website motherboard ASUS PRIME B350-PLUS. ** Attachment added: "Screenshot from 2017-03-13 16-53-20.png"

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-13 Thread Huang YangWen
CPU is Ryzen 1700x However lm-sensor is not working properly. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1671360 Title: System doesn't boot properly on AMD Ryzen / Gigabyte

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Eric Hartmann
As Maciej Dziardziel suggest, I've rebuild 4.10.1 kernel and deactivated GPIO_AMDPT, GPIO_AMD8111 and PINCTRL_AMD. The system was booting correctly, however I cannot use any USB keyboard. So I've rebuild the kernel, deactivating only PINCTRL_AMD and everything is working fine now. Here is my

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Robert Sandru
Cosmin, when you say you installed 16.04, do you mean Ubuntu Studio 16.04 or the standard distribution? Did you install the OS from scratch using an USB stick of some other media? You were trying to do an update to 17.04 so did 16.04 boot initially correctly? Please provide details, just saying

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Cosmin Mutu
Installed 16.04 - runs just fine (just like Heiko mentioned above). All 16 cpu`s are visible, however, no way to get temp information (sensors can`t find anything). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Robert Sandru
Still no dice. Tried another path: - Installed on a spare HDD using VMware in Windows (assigned full disk to VMware), no additional drivers or anything changed - Updated kernel to 4.11rc1 (using prebuild binaries) - Updated grub parameters: acpi=off quiet loglevel=3 - Rebooted computer with that

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Heiko Hartmann
I can confirm that for Ryzen X1700 and same Mainboard as mentioned by Cosmin. Ubuntu Studio 16.04 is working without any problems, Live version of 16.10 messes up with thousands of IRQ traps. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Cosmin Mutu
Just booted 16.04 from disk (try mode) and it works without problems ... attached a screenshot also ** Attachment added: "Screenshot from 2017-03-12 10-01-42.png"

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Cosmin Mutu
authentication does work from terminal ( ctrl-alt-f1 ) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1671360 Title: System doesn't boot properly on AMD Ryzen / Gigabyte

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Cosmin Mutu
AMD Ryzen X1800 (don`t know how a 7 got in there) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1671360 Title: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-12 Thread Cosmin Mutu
Getting same problem on AMD Ryzen X18700 with GIGABYTE AB350-GAMING3 motherboard (F5 - latest bios version) Setting acpi=off gets me into login screen but fails to authenticate me .. so, I`m stuck there. This occured when I tried to upgrade from 16.04 to 16.10 ... then I tried installing the

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-11 Thread Maciej Dziardziel
> Maciej, do you have any suggestions if there is no previous OS installed? You may try to boot with those options: acpi=off quiet loglevel=3 (just acpi=off might be enough). That should get you through installation. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-10 Thread Eric Hartmann
Guys, I've updated the firmware of my GA-X370-gaming-5 to F4 and with kernel 4.10.1 and acpi=off it's almost working. My last issue is that only one core is available. I've tested with Fedora 25 (4.8 kernel with backports) and everything is working perfectly : all cores are available so it may

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-10 Thread Robert Sandru
Maciej, do you have any suggestions if there is no previous OS installed? Any way for to fix the installation image so that I can at least get a base installation going? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-10 Thread Maciej Dziardziel
I've found a workaround (requires compiling own kernel, tested on 4.11 and r4.11rc1): When configuring kernel (I used make menuconfig) disable following things: Everything under device drivers/gpio support, especially: memory mapped files/amd promontory support (GPIO_AMDPT) and pci gpio

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-09 Thread Maciej Dziardziel
The issue had nothing to do with upgrades, its the same problem on 16.10 as well as on 17.04. I've tested it on my system and on live ubuntu on usb. I've tried to use mainline kernel and the problem is still there. ** Tags added: kernel-bug-exists-upstream ** Changed in: linux (Ubuntu)

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-09 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-09 Thread Maciej Dziardziel
apport information ** Tags added: apport-collected zesty ** Description changed: I'm trying to run ubuntu on Ryzen 1700x with Gigabyte GA-AB350-gaming-3 motherboard, and it has a load of problems, starting with not being able to boot normally. During normal boot, on 16.10 as well as

[Kernel-packages] [Bug 1671360] Re: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3

2017-03-09 Thread Maciej Dziardziel
I've added appport info -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1671360 Title: System doesn't boot properly on AMD Ryzen / Gigabyte GA-AB350-gaming-3 Status in linux package in