Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-17 Thread Miroslav Rovis
On 170417-11:19+0200, Miroslav Rovis wrote:
> On 170415-13:50+, Alan Mackenzie wrote:
...
> It's --zero, I don't remember well at all. Use mdadm to zero
> the mdadm-related stuff.

It's --zero-superblock or very similar to that...

Happy Easter to all believers!

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-17 Thread Miroslav Rovis
On 170415-13:50+, Alan Mackenzie wrote:
> Hello, Alan.
> 
> On Mon, Apr 10, 2017 at 21:12:44 -0400, Alan Grimes wrote:
...
> I've got 90% through a Gentoo installation on it, and I'm just
> considering how best to un-mdadm my boot partition (which I mistakenly
> turned into a RAID partition with its partner on the other drive).  I
> can't erase the mdadm metadata stuff with mkfs.ext4 (even with the
> "force" parameter), and I don't think mdadm provides a method for
> undoing RAID.  I can see myself having to use dd from /dev/zero to be
> able to get my partitions back again.
> 
...

I haven't used mdadm, and don't have it installed at this time, but, as
best I can recollect, it's in the mdadm manual page.

It's --zero, I don't remember well at all. Use mdadm to zero
the mdadm-related stuff.

Sorry, can't remember any more details. Haven't used rad in quite some
time.

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-15 Thread Alan Mackenzie
Hello, Alan.

On Mon, Apr 10, 2017 at 21:12:44 -0400, Alan Grimes wrote:
> On these new mobos, it's important to update the BIOS as soon as
> possible. I DL'd a Bios with my 'doze 7 machine first thing and flashed
> it. The original bios I had was version 418 from February, the new one
> was 520 from a few days before I started... It is very important this is
> done before anything else is attempted with the system.

Thanks for the tip.  The duff bios (from February, on my Asus X370-Pro
MB) was exactly what my problem was.  After finding the appropriate page
on the Asus site (which Asus went out of their way to hide) and
downloading and flashing the up to date BIOS, my PC started working.

By working, I mean that I could use both RAM sticks without the BIOS
program hanging, and the Gentoo minimal CD would actually boot.  :-)

Well, I had to prise a "standard" backing plate of the motherboard with
a screwdriver, because some intelligent person had decided to glue it
on.  (By backing plate, I mean the metal plate which supports the weight
of the processor cooler.)

All in all, the MB I bought wasn't of merchantable quality.  I hope it
is, now.

I've got 90% through a Gentoo installation on it, and I'm just
considering how best to un-mdadm my boot partition (which I mistakenly
turned into a RAID partition with its partner on the other drive).  I
can't erase the mdadm metadata stuff with mkfs.ext4 (even with the
"force" parameter), and I don't think mdadm provides a method for
undoing RAID.  I can see myself having to use dd from /dev/zero to be
able to get my partitions back again.

Or can grub2 handle RAID partitions?  This is the first time I've ever
used grub2.

But the installation kernel is 4.9.16.  I've not noticed (yet) anything
failing to work which I would expect to work.  Once I've got my own
kernel up and running, I'll start looking at 4.10.x.

> Alan Mackenzie wrote:
> >
> >> He [Alan Grimes] has new hardware (Ryzen) that needs 4.10 for proper 
> >> support.
> > I too have new hardware (An Asus Prime X370-PRO MB with a Ryzen 1700X
> > processor), indeed so new that my first attempt to boot a minimal CD was
> > less than an hour ago.
> >


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

> Powers are not rights.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-10 Thread Alan Grimes
On these new mobos, it's important to update the BIOS as soon as
possible. I DL'd a Bios with my 'doze 7 machine first thing and flashed
it. The original bios I had was version 418 from February, the new one
was 520 from a few days before I started... It is very important this is
done before anything else is attempted with the system.



Alan Mackenzie wrote:
>
>> He [Alan Grimes] has new hardware (Ryzen) that needs 4.10 for proper support.
> I too have new hardware (An Asus Prime X370-PRO MB with a Ryzen 1700X
> processor), indeed so new that my first attempt to boot a minimal CD was
> less than an hour ago.
>


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

Powers are not rights.




Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-10 Thread Daniel Frey
On 04/10/2017 12:07 PM, Alan Mackenzie wrote:
>> He [Alan Grimes] has new hardware (Ryzen) that needs 4.10 for proper support.
> 
> I too have new hardware (An Asus Prime X370-PRO MB with a Ryzen 1700X
> processor), indeed so new that my first attempt to boot a minimal CD was
> less than an hour ago.
> 
> The attempt, one must admit, was wholly unsuccessful.  I can boot into
> the minimal CD's opening overtures, at which I'm prompted to select a
> "kernel".  If I choose memtest86, it loads and displays its initial
> screen, then promptly crashes the system, leading to an automatic
> reboot.  gentoo-nofb boots, displays something about the number of cores
> present (It counts up to #16), displays some information about "PCI"
> (on, perhaps, 20 lines) and promptly crashes, blanking the screen and
> rebooting.
> 
> My minimal CD is install-amd64-minimal-20170406.iso, so fairly recent,
> but built with kernel 4.9.16.
> 
> Question: do I need a 4.10 kernel to be able to boot a Ryzen system at
> all?  If 4.10 is necessary, is it sufficient?

I've been doing a lot of research on Ryzen as I was considering an
upgrade myself. 4.9 has some support, so it should boot at least. From
what I read only 4.10 has full support.

Do be aware that there was a show-stopper bug in firmware[1] that was
causing hangs and lockups, have you upgraded your motherboard firmware?

I figured I'd wait another six months before committing to the thought
of any upgrade to give AMD time to sort the chips out. I myself was
eyeballing the 1700X or 1800X processor.

You might be better off booting a systemrescuecd or something like a
Mint CD. I flip-flop between the two of them.

Dan

[1]
https://www.extremetech.com/computing/246304-amd-fix-coming-fused-multiply-add-fma3-ryzen-bug




Re: [gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-10 Thread Mick
On Monday 10 Apr 2017 19:07:49 Alan Mackenzie wrote:
> Hello, Daniel.
> 
> On Fri, Apr 07, 2017 at 08:48:22 -0700, Daniel Frey wrote:
> > On 04/06/2017 10:03 AM, Nikos Chantziaras wrote:
> > > On 04/05/2017 05:15 PM, Alan Grimes wrote:
> > >> I'm still running on my old kernel as I re-build my system, Nvidia
> > >> drivers just barfed
> > > 
> > > 381.09 was released today which supports kernel 4.10. But it might take
> > > a while until it's in portage.
> > > 
> > > In general, I stick with LTS kernels ("Long Term Support.") Right now,
> > > that's 4.9. Doing that solved "doesn't build against kernel X" issues
> > > with binary packages like the nvidia drivers and vmware workstation. If
> > > you're using nvidia, I'd recommend using the latest LTS kernel. What's
> > > 
> > > the latest LTS is listed here:
> > >   https://www.kernel.org
> > 
> > He [Alan Grimes] has new hardware (Ryzen) that needs 4.10 for proper
> > support.
> I too have new hardware (An Asus Prime X370-PRO MB with a Ryzen 1700X
> processor), indeed so new that my first attempt to boot a minimal CD was
> less than an hour ago.
> 
> The attempt, one must admit, was wholly unsuccessful.  I can boot into
> the minimal CD's opening overtures, at which I'm prompted to select a
> "kernel".  If I choose memtest86, it loads and displays its initial
> screen, then promptly crashes the system, leading to an automatic
> reboot.  gentoo-nofb boots, displays something about the number of cores
> present (It counts up to #16), displays some information about "PCI"
> (on, perhaps, 20 lines) and promptly crashes, blanking the screen and
> rebooting.
> 
> My minimal CD is install-amd64-minimal-20170406.iso, so fairly recent,
> but built with kernel 4.9.16.
> 
> Question: do I need a 4.10 kernel to be able to boot a Ryzen system at
> all?  If 4.10 is necessary, is it sufficient?
> 
> Just as importantly, are there any convenient instructions in a
> convenient place for building one's own minimal CD?  I've just tried a
> quick search through the Gentoo wiki, but didn't see anything relevant.
> 
> Is there anything else relevant anybody can tell me to help me get my
> new machine booted?
> 
> Thanks in advance!
> 
> > Dan

I can't recall when was the last time I used a Gentoo minimal CD to install a 
system and I have not tried installing Gentoo on Ryzen (yet), but have you had 
a go at using a systemrescuecd?

You'll need to use the alternative kernel from the boot options, which is at 
present still a 4.9.18 version:

http://www.system-rescue-cd.org/Download/

Alternatively, you can unpack it, build the kernel of your choice and rebuild 
it as explained here:

http://www.system-rescue-cd.org/Customization/

The same must be doable with Gentoo's minimal CD, but I have not searched the 
interwebs for guidance ...

HTH.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] New AMD hardware. [Was: Nvidia Drivers. =(]

2017-04-10 Thread Alan Mackenzie
Hello, Daniel.

On Fri, Apr 07, 2017 at 08:48:22 -0700, Daniel Frey wrote:
> On 04/06/2017 10:03 AM, Nikos Chantziaras wrote:
> > On 04/05/2017 05:15 PM, Alan Grimes wrote:
> >> I'm still running on my old kernel as I re-build my system, Nvidia
> >> drivers just barfed

> > 381.09 was released today which supports kernel 4.10. But it might take
> > a while until it's in portage.

> > In general, I stick with LTS kernels ("Long Term Support.") Right now,
> > that's 4.9. Doing that solved "doesn't build against kernel X" issues
> > with binary packages like the nvidia drivers and vmware workstation. If
> > you're using nvidia, I'd recommend using the latest LTS kernel. What's
> > the latest LTS is listed here:

> >   https://www.kernel.org



> He [Alan Grimes] has new hardware (Ryzen) that needs 4.10 for proper support.

I too have new hardware (An Asus Prime X370-PRO MB with a Ryzen 1700X
processor), indeed so new that my first attempt to boot a minimal CD was
less than an hour ago.

The attempt, one must admit, was wholly unsuccessful.  I can boot into
the minimal CD's opening overtures, at which I'm prompted to select a
"kernel".  If I choose memtest86, it loads and displays its initial
screen, then promptly crashes the system, leading to an automatic
reboot.  gentoo-nofb boots, displays something about the number of cores
present (It counts up to #16), displays some information about "PCI"
(on, perhaps, 20 lines) and promptly crashes, blanking the screen and
rebooting.

My minimal CD is install-amd64-minimal-20170406.iso, so fairly recent,
but built with kernel 4.9.16.

Question: do I need a 4.10 kernel to be able to boot a Ryzen system at
all?  If 4.10 is necessary, is it sufficient?

Just as importantly, are there any convenient instructions in a
convenient place for building one's own minimal CD?  I've just tried a
quick search through the Gentoo wiki, but didn't see anything relevant.

Is there anything else relevant anybody can tell me to help me get my
new machine booted?

Thanks in advance!

> Dan

-- 
Alan Mackenzie (Nuremberg, Germany).