Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on GA-970A-DS3P
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Fri Apr 27, 2018 3:34 am    Post subject: Gentoo on GA-970A-DS3P Reply with quote

Hello. I am trying to install Gentoo on a Gigabyte GA-970a-DS3P (rev 2.0) + AMD FX 8350 and my USB devices (mouse, keyboard, even the installation media) are not recognized. In the past I solved this issue in other distributions (Debian-based and Arch-based, Fedora-based work fine out of the box) by enabling the IOMMU controller in my board's BIOS, but now that doesn't seem to work.

I can get past the kernel selection (by pressing Enter) and then everything goes offline. Any ideas guys?
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Fri Apr 27, 2018 3:39 am    Post subject: Reply with quote

Install media? You should be using the latest System Rescue CD, which is Gentoo-based. Hopefully that will have a kernel config that works with your hardware, then you can start with that config for your own kernel during the install process.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Fri Apr 27, 2018 3:48 am    Post subject: Reply with quote

bammbamm808 wrote:
Install media? You should be using the latest System Rescue CD, which is Gentoo-based. Hopefully that will have a kernel config that works with your hardware, then you can start with that config for your own kernel during the install process.

I downloaded the image ("Minimal Installation CD" and copied it to a flash drive using Rufus, which is how I've always done it. What is the Rescue CD? This : https://wiki.gentoo.org/wiki/LiveUSB ?
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Fri Apr 27, 2018 7:23 am    Post subject: Reply with quote

https://sourceforge.net/projects/systemrescuecd/files/sysresccd-x86/5.2.2/systemrescuecd-x86-5.2.2.iso/download.

Maybe try this. At least as many Gentoo users use this, as the Minimal Install. It works for UEFI booting where the Minimal Install doesnt. Hopefully it does a better job with drivers for your hardware than what you've been using.

There are usb versions there too.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
Torro
n00b
n00b


Joined: 16 Apr 2018
Posts: 18
Location: Western Europe

PostPosted: Fri Apr 27, 2018 7:58 am    Post subject: Reply with quote

I've had trouble with C1E support in the past. If bammbamm808's suggestion doesn't improve things try disabling it in your bios.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Fri Apr 27, 2018 9:11 am    Post subject: Reply with quote

Ok I'll try that. In the meantime, I could use another distributions' liveCDs to do this, right?

By the way, is there any way to pass kernel parameters on the liveCD? Usually "iommu=soft" solved the problem for another distros.
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
Torro
n00b
n00b


Joined: 16 Apr 2018
Posts: 18
Location: Western Europe

PostPosted: Fri Apr 27, 2018 9:59 am    Post subject: Reply with quote

Sure, both are possible. How to pass kernel parameters to your live kernel depends on your livecd bootloader, I believe.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Fri Apr 27, 2018 1:59 pm    Post subject: Reply with quote

I think it's LILO. Typing

Code:
gentoo iommu=soft


sadly doesn't do the trick, and that's how you are supposed to passs kernel parameters to LILO.
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 463

PostPosted: Fri Apr 27, 2018 5:39 pm    Post subject: Reply with quote

I have the same motherboard. I do not have a special iommu parameter. usb works fine. i use printer, wifi dvd rom via usb and no kernel parameters are needed.

dmesg | grep -i ds3p
[ 0.000000] DMI: Gigabyte Technology Co., Ltd. To be filled by O.E.M./970A-DS3P, BIOS F1 04/08/2013

here is my config:

https://paste.pound-python.org/show/0ZHGEcO3MVJcXgRYSHkU/

I'm using grub2 with kernel 4.9.76-gentoo-r1

snip from grub.cfg:

linux /kernel-genkernel-x86_64-4.9.76-gentoo-r1 root=/dev/sdb4 ro single init=/lib/systemd/systemd fsck.mode=skip
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 463

PostPosted: Fri Apr 27, 2018 5:43 pm    Post subject: Reply with quote

btw, i did my recent install (about 6 weeks ago) using sysrescue cd. gentoo cd gave problems so i ditched it.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sat Apr 28, 2018 12:26 am    Post subject: Reply with quote

mlybarger wrote:
btw, i did my recent install (about 6 weeks ago) using sysrescue cd. gentoo cd gave problems so i ditched it.


Is it rev. 2.0? Are you using default BIOS settings?
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 463

PostPosted: Sat Apr 28, 2018 11:40 am    Post subject: Reply with quote

I'm not sure about rev/bios settings. I did at one point have to use iommu soft. But that was years ago with initial setup.

I hope to replace with a ryzen 8 core 16 thread machine sometime this year.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sun Apr 29, 2018 1:04 am    Post subject: Reply with quote

mlybarger wrote:
I'm not sure about rev/bios settings. I did at one point have to use iommu soft. But that was years ago with initial setup.

I hope to replace with a ryzen 8 core 16 thread machine sometime this year.

Yeah you have rev. 1.0. I also noticed you have the oldest BIOS available. This sounds silly but maybe a BIOS downgrade would help? Although I think that's not possible, it won't stop me from trying. Wish me luck.
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Sun Apr 29, 2018 2:18 am    Post subject: Reply with quote

CarterCox wrote:
mlybarger wrote:
I'm not sure about rev/bios settings. I did at one point have to use iommu soft. But that was years ago with initial setup.

I hope to replace with a ryzen 8 core 16 thread machine sometime this year.

Yeah you have rev. 1.0. I also noticed you have the oldest BIOS available. This sounds silly but maybe a BIOS downgrade would help? Although I think that's not possible, it won't stop me from trying. Wish me luck.


Have you tried the System Rescue CD/USB yet? I think that will likely get you started. Sounds like you don't have the necessary kernel drivers loading. I wouldn't waste time with BIOS settings until you have tried that.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sun Apr 29, 2018 2:32 am    Post subject: Reply with quote

@bammbamm808: Yes. I installed using sysrescuecd. Strangely enough, I didn't need to use iommu=soft to use it properly. But the after reboot, no USB, just like the liveCD. I'm sure I enabled the options I needed. I double checked, and this is not the first time I do it. Tried new BIOS settings, kernel parameters, etc.

However, I don't think that's the problem. Even using "genkernel all" would have the same result since the generated kernel would be the same as the liveCD.
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Sun Apr 29, 2018 5:00 am    Post subject: Reply with quote

CarterCox wrote:
@bammbamm808: Yes. I installed using sysrescuecd. Strangely enough, I didn't need to use iommu=soft to use it properly. But the after reboot, no USB, just like the liveCD. I'm sure I enabled the options I needed. I double checked, and this is not the first time I do it. Tried new BIOS settings, kernel parameters, etc.

However, I don't think that's the problem. Even using "genkernel all" would have the same result since the generated kernel would be the same as the liveCD.


So, the sysrescue cd boots every time and your devices work? And attempting to boot off of a kernel you have compliled manually or with genkernel, from the hard disk doesnt? What gpu are you using? Have you tried the kernel config someone posted above, with changes for diff gpu and any other hardware as needed? Have you tried bokting with "nomodeset"?
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sun Apr 29, 2018 5:13 am    Post subject: Reply with quote

Hmm... I don't think that's the problem at all. I can get to the login prompt just fine, it's just my USB devices are not getting any power (they simply turn off).
_________________
“Once, my TV didn’t work, so I kicked it. And it started working again.”
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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