Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use old amd64 gentoo image on new amd64 hardware, possible?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 3:19 pm    Post subject: Use old amd64 gentoo image on new amd64 hardware, possible? Reply with quote

I've been cloning my systems for long years since, the dd in/out cloning itself is possible, sure.
But I was wondering what should I prepare to get the system working on the new hardware, with all the programs that I conf'ed in years?
My current system, the output of
# lshw -short
follows.
Code:
H/W path        Device      Class       Description
===================================================
                            system      Desktop Computer
/0                          bus         AT8 32X(ATI RD580-ULI M1575)
/0/0                        memory      128KiB BIOS
/0/4                        processor   AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
/0/4/a                      memory      128KiB L1 cache
/0/4/b                      memory      512KiB L2 cache
/0/25                       memory      4GiB System Memory
/0/25/0                     memory      1GiB DIMM
/0/25/1                     memory      1GiB DIMM
/0/25/2                     memory      1GiB DIMM
/0/25/3                     memory      1GiB DIMM
/0/100                      bridge      RD580 [CrossFire Xpress 3200] Chipset Host Bridge
/0/100/3                    bridge      Advanced Micro Devices [AMD] nee ATI
/0/100/3/0                  display     Advanced Micro Devices [AMD] nee ATI
/0/100/3/0.1                display     Advanced Micro Devices [AMD] nee ATI
/0/100/4                    bridge      RS480 PCI Bridge
/0/100/4/0      eth1        network     RTL8111/8168B PCI Express Gigabit Ethernet controller
/0/100/5                    bridge      RS480 PCI Bridge
/0/100/5/0                  storage     SiI 3132 Serial ATA Raid II Controller
/0/100/7                    bridge      RS480 PCI Bridge
/0/100/7/0      eth0        network     88E8053 PCI-E Gigabit Ethernet Controller
/0/100/1a                   bridge      M5249 HTT to PCI Bridge
/0/100/1a/12                bus         TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI
-Lynx]
/0/100/1a/15                multimedia  CX23880/1/2/3 PCI Video and Audio Decoder
/0/100/1a/15.1              multimedia  CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
/0/100/1a/15.2              multimedia  CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port]
/0/100/1a/15.4              multimedia  CX23880/1/2/3 PCI Video and Audio Decoder [IR Port]
/0/100/1c                   bus         USB 1.1 Controller
/0/100/1c.1                 bus         USB 1.1 Controller
/0/100/1c.2                 bus         USB 1.1 Controller
/0/100/1c.3                 bus         USB 2.0 Controller
/0/100/1d                   multimedia  HD Audio Controller
/0/100/1e                   bridge      M1575 South Bridge
/0/100/1e.1                 bridge      M7101 Power Management Controller [PMU]
/0/100/1f                   storage     M5229 IDE
/0/100/1f.1                 storage     ULi M5288 SATA
/0/101                      bridge      K8 [Athlon64/Opteron] HyperTransport Technology Configuration
/0/102                      bridge      K8 [Athlon64/Opteron] Address Map
/0/103                      bridge      K8 [Athlon64/Opteron] DRAM Controller
/0/104                      bridge      K8 [Athlon64/Opteron] Miscellaneous Control
/0/1            scsi0       storage     
/0/1/0.0.0      /dev/sda    disk        1TB ST1000VM002-9ZL1
/0/1/0.0.0/1    /dev/sda1   volume      5119KiB BIOS Boot partition
/0/1/0.0.0/2    /dev/sda2   volume      250MiB EFI partition
/0/1/0.0.0/3    /dev/sda3   volume      25GiB EFI partition
/0/1/0.0.0/4    /dev/sda4   volume      834GiB EFI partition
/0/1/0.0.0/5    /dev/sda5   volume      70GiB data partition
/0/2            scsi1       storage     
/0/2/0.0.0      /dev/sdb    disk        1TB ST1000VM002-9ZL1
/0/2/0.0.0/1    /dev/sdb1   volume      5119KiB BIOS Boot partition
/0/2/0.0.0/2    /dev/sdb2   volume      250MiB EFI partition
/0/2/0.0.0/3    /dev/sdb3   volume      25GiB EFI partition
/0/2/0.0.0/4    /dev/sdb4   volume      834GiB EFI partition
/0/2/0.0.0/5    /dev/sdb5   volume      70GiB data partition
/0/3            scsi2       storage     
/0/3/0.0.0      /dev/sdc    disk        1TB ST1000VM002-9ZL1
/0/3/0.0.0/1    /dev/sdc1   volume      5119KiB BIOS Boot partition
/0/3/0.0.0/2    /dev/sdc2   volume      250MiB EFI partition
/0/3/0.0.0/3    /dev/sdc3   volume      25GiB EFI partition
/0/3/0.0.0/4    /dev/sdc4   volume      834GiB EFI partition
/0/3/0.0.0/5    /dev/sdc5   volume      70GiB data partition
/0/5            scsi5       storage     
/0/5/0.0.0      /dev/cdrom  disk        BD-RE  BH10LS30
/0/6            scsi6       storage     
/0/6/0.0.0      /dev/sdd    disk        8120MB SCSI Disk
/0/6/0.0.0/1    /dev/sdd1   volume      5245MiB Windows FAT volume
/0/6/0.0.0/2    /dev/sdd2   volume      2403MiB Linux filesystem partition
/0/7            scsi8       storage     
/0/7/0.0.0      /dev/sr1    disk        DVD-RW  DVR-115D
/1              dummy0      network     Ethernet interface

The system onto which I would like to clone some, probably the most recent, of my images of the /root of the current system (/usr and /var there too), and /boot (separate)...
The system I would like to clone a recent image of my old system onto is still in the store, but I plan, most certainly on amd64 (couldn't clone anything on different arch, I believe), probably the am3 socket (some of the reasons I read from user wrc1944 here:
http://forums.gentoo.org/viewtopic-t-938520-start-0.html
and it might be buying something to the likes of these:
http://www.asrock.com/mb/AMD/970%20Pro3/
http://www.asrock.com/mb/AMD/970%20Extreme3/
along with maybe some Phonem CPU, DDR3 that fits and graphics card that fits...
Whichever the new setup will be, the question remains, how to prepare my old system so that it can be cloned on to the new hardware?
I guess I'll first go and get a genkernel first time ever I believe (always compiled my own kernels for years), so the drivers would be ready and willing to recognize the new hardware upon cloning...
Or could I just revamp my hardened kernel in view of the new hardware?
Code:
 # uname -r
3.6.3-hardened-121027_1100
 #

But are there, there must be other issues to take a closer view at in my preparations...
Which ones?
Thankx for any suggestions.
OTOH, if I make it, I'll give a report back onto here, for other potential Gentoo users!
As well, if anyone from among newer users need a suggestion on cloning which I do on my system (conditional on it being same hardware models, basically same MBO, same/similar HDD setup on two or more different systems), I will gladly relate to you my experience, just voice your need!


Last edited by miroR on Sun Oct 28, 2012 8:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Sun Oct 28, 2012 4:21 pm    Post subject: Reply with quote

Cloning via dd is wasteful, and in the case of SSDs, actively harmful. You should instead make new partitions on the new drive and copy the files over via the filesystem interface. This will preserve all your customization, get you the latest filesystem features, and take less time to copy.

For preparation, you can try to reuse your kernel or just build a kernel which supports both the old and new hardware. Genkernel may make this easier, but you can still do it by hand if you prefer.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 5:10 pm    Post subject: Reply with quote

Hu wrote:
Cloning via dd is wasteful, and in the case of SSDs, actively harmful. You should instead make new partitions on the new drive and copy the files over via the filesystem interface. This will preserve all your customization, get you the latest filesystem features, and take less time to copy.


It's not SSD's (the HDD's I gave above are already part of the future setup as they are of the current one, forgot to say that; all the other main hardware, will be new).
So, I won't be using SSD's and, though I admit dd'ing might take longer (not always though) than, say rsync'ing the files (the only way from among the filesystem ways which I regard as safe and as little prone to errors as dd'ing, IMO) , and dd'ing is so clean, and I do prefer it when simplicity and completeness is more important than an hour or so too long time to perform.
I can tell that, wait, I'll look it up now, this program:
http://www.fsarchiver.org/Main_Page
didn't always clone well my systems at different times and computers which I was trying it at..
I have been cloning, same MBO's, same software raid5/raid6, plain, partitoins, three to four systems, for long years.
dd'ing has proven to me to be very reliable!
Also this is what I anyway do when dd'ing:
Hu wrote:

You should instead make new partitions on the new drive

It's just that I dd those partitions (but I could also rsync them, sure). I don't dd the entire drives. I dd the partitions (raid5/raid6 or plain).
What brought you to conclusion that dd'ing is wasteful and even.harmful, although I won't be needing it, not yet, just curious, in case of SSD's?

Hu wrote:
For preparation, you can try to reuse your kernel or just build a kernel which supports both the old and new hardware. Genkernel may make this easier, but you can still do it by hand if you prefer.

Yeah. I thought so.. So thanks for confirming what I supposed to be the case.
This part is more important...
The above point of contention is not, apart from a little curiosity.

Thanx, Hu!

Anyone else cloned (or rsynced, or plain cp'ed the filesystems of /root /usr /var /boot or what they had, onto new hardware similar to what I would like to do?

If anyone did, which problems did you encounter? Or did it just work? After which preparations, other than, sure, the drivers for the new hardware...
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Sun Oct 28, 2012 6:08 pm    Post subject: Reply with quote

miroR wrote:
It's not SSD's (the HDD's I gave above are already part of the future setup as they are of the current one, forgot to say that; all the other main hardware, will be new).
I understood, but I wanted to point that this is bad practice.
miroR wrote:
What brought you to conclusion that dd'ing is wasteful and even.harmful, although I won't be needing it, not yet, just curious, in case of SSD's?
Quality SSDs know which parts of the drive have been written and which are free, then skip migrating data when a free section is first written. If you use dd, you write to the entire partition, so none of it is considered free by the SSD.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 7:11 pm    Post subject: Reply with quote

Thanks, Hu.
Amyway, I'll report back how it went once I clone it.
Once I buy it...
So first, making the choice on the MBO, processor, DDR3 and graphics card.
Little in he way of certainty on a good choice (I don't follow trends)...
I mean, in the hope that others may benefit from my choice, I'll post my selection candidates here. I hope it's within the topic.
(I noticed, alas, too late only, there is also:
http://forums.gentoo.org/viewforum-f-46.html
maybe this part fits there better... but not sure about that either)

So, which of these MBO's:
http://www.asrock.com/mb/AMD/970%20Extreme3/
http://www.asrock.com/mb/AMD/970%20Extreme4/
http://www.asrock.com/mb/AMD/970%20Pro3/

could be the best match for one of these processors (pls. see note below):
http://www.amd.com/us/products/desktop/processors/phenom-ii/Pages/phenom-ii-model-number-comparison.aspx
better?

The note on processor I would like to get me.
I would prefer the "Energy Efficient" labeled one, but I'm afraid there aren't any to buy in Croatia...
Just as there are so few Phenom X6 at all... People getting really poor... I myself am spending the rest of my parents inheritance (after the neocommunist regime of Croatia ruined the rest of my chances for sustained non-profit activism in my own care for my country and my nation, through rigged judicial persecution)...

So the above question is really, which is of those X4 is the best fit (because X6 are not an option, and X2 is too little).

I'll go and study and search the net for more understanding, more reviews, and then I'm back.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 8:38 pm    Post subject: Reply with quote

Oh, well, of the main components, just the memory modules left to search and ponder over.
Unless, that is, the following choice some kind and knowledgeable reader deems should be adviced against:
MBO:
http://www.asrock.com/mb/AMD/970%20Pro3/
From among the Phenom CPU's I gave a link to above, I'll go for
AMD Phenom™ II X4 Processor 955
Graphics:
http://www.amd.com/us/products/desktop/graphics/amd-radeon-hd-6000/hd-6570/pages/amd-radeon-hd-6570-overview.aspx#2
more precisely probably:
http://www.sapphiretech.com/presentation/product/?cid=1&gid=3&sgid=1087&pid=1241
The HDD's are the ones in the lshw -short I posted above, they're the only one component that's already new.
and if anyone has any suggestions for the DDR3 memory modules, I'll be thankful!
Sure, I'll go and study:
... the link which I forgot where it was, or plain mistook that I had it...
Anyway, I got manuals a few at hands...
If I don't get any advice, this will hopefully serve as advice to other AMD users (to be) of a mistaken or right choice... Depends how it turns out...
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 9:59 pm    Post subject: Reply with quote

Noo!
Now I see why the Pro3 is cheaper than the other boards!
In short, the memory I would be able to use with Pro3 are sooo limited, and none, I repeat, none, no such memory model and type, to be put in all the four slots! Extreme3 and Extreme4 offer a much much better choice of supported memory modules! Here:
http://www.asrock.com/mb/AMD/970%20Extreme3/?cat=Memory
http://www.asrock.com/mb/AMD/970%20Extreme4/?cat=Memory
http://www.asrock.com/mb/AMD/970%20Pro3/?cat=Memory
And that's not very complete info that Asrock gives us. There should be more, like timings, according to this guide:
http://support.amd.com/us/kbarticles/Pages/ddr3memoryfrequencyguide.aspx
So I might be revising my choices...
Glad, dear reader, if I was of any use to you.
Oftentimes, on this forum, and generally in the GNU Linux world, so much we receive, and for free, of pure knowledge, that if I can give a little back to newer users, I'm happy! (I know tech info is searched for and found months and years later on...)

Anyone can advise on possibly Aus od MSI or some other equivalent being a better choice?

God, I'm spending the remains, that little which the regime has left me with after rather ugly political persecution...
Back to top
View user's profile Send private message
Tony0945
Guru
Guru


Joined: 25 Jul 2006
Posts: 317

PostPosted: Sun Oct 28, 2012 10:11 pm    Post subject: Reply with quote

I would go with 850 and run it at 3.2Ghz instead of 3.3. I like a cool running system. Otherwise the 975. I don't care for odd clock rates and prefer multiples of 200Mhz for RAM synchronization. YMMV.

Personally, I'm running a 1090T with the ondemand driver. It mostly runs at 800Mhz and switches quickly and smoothly if say I am doing a build. The Linux Cool n' Quiet driver works so much better than the Windoze XP driver. But you knew that.

A quick check for the 1090T shows it out of stock or unavailable at my favorite vendors. Might be available on eBay. I paid $174.99 last May.

I found the 955 and 965 still fopr sale. I'd go with the 3.4GHz for $5 more, even if money is tight. I might just buy one to replace an X3 while this socket is still avilable.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sun Oct 28, 2012 11:09 pm    Post subject: Reply with quote

Tony0945 wrote:
I would go with 850 and run it at 3.2Ghz instead of 3.3.

So you mean, in the table in the link I gave above:
Code:
850    3.3 GHz    2MB       socket AM3    95W    45nm SOI

That line, only at 3.2GHz. I see.
An idea worth considering! But, not available in Croatia.
Tony0945 wrote:
I like a cool running system. Otherwise the 975. I don't care for odd clock rates and prefer multiples of 200Mhz for RAM synchronization. YMMV.

I see. So:
Code:
975*    3.6 GHz    2MB    6MB    socket AM3    125W    45nm SOI

But, again, no 975 Phenoms either available in Croatia at this time.
Tony0945 wrote:
Personally, I'm running a 1090T with the ondemand driver. It mostly runs at 800Mhz and switches quickly and smoothly if say I am doing a build. The Linux Cool n' Quiet driver works so much better than the Windoze XP driver. But you knew that.

A quick check for the 1090T shows it out of stock or unavailable at my favorite vendors. Might be available on eBay. I paid $174.99 last May.

I found the 955 and 965 still fopr sale. I'd go with the 3.4GHz for $5 more, even if money is tight. I might just buy one to replace an X3 while this socket is still avilable.

Thanks!
Really appreciate your advice.
No e-bay, meagre and thin here. Soon to be going hungry... Joking, maybe. Maybe not...
No way though could I afford $174 for just the CPU. Truly, I could if I went for one computer only, but I like having them do their own tasks each (like often two, even three TV-cards --old TV cards, but maintained, that is: cooled, well-- are in use, each in their own system...)
And I like cloning them. That's such useful thing! Such a time saver!
So 1090T or any of the X6 is not an option.

I'm afraid I'll have to live with the odd clock rates of 955 or 965.
And for sale there are here in Croatia. That's South-East of Europe, on the other, more beautiful coast of the Adriatic sea than Italy.

And, the market is so strange here. Even the market feels of corporate bullying and the dominant SuperPower which is your country, that is not leading the world well. Someone has to lead, and most people round the world still respect and feel for your country (IIUC), but, to lead well, and for the good of all is the only right way to lead... And the US is not behaving and leading for the good of all.

But I was saying, the market is so strange here. Never you know what'll be left for us to buy, and what will be lacking...

Anyway, what memory modules do you use/suggest?
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2516
Location: UK

PostPosted: Mon Oct 29, 2012 12:30 am    Post subject: Reply with quote

If you're getting one of the newer Phenoms with the automatic turbo mode, don't bother comparing by the turbo speed numbers; they don't run at top speed unless you're doing heavily single-threaded loads.

I bought a 2.8GHz X3 720BE and got the 4th core for free with a BIOS upgrade. It's been running almost completely stable like that for over 3 years now, only gave me problems when I ran it overclocked with foldingathome for 2 weeks straight.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Mon Oct 29, 2012 8:45 am    Post subject: Reply with quote

The night grew dark and deep in the meantime, in Europe. Mornin'! I'm back.
Ant P. wrote:
If you're getting one of the newer Phenoms with the automatic turbo mode, don't bother comparing by the turbo speed numbers; they don't run at top speed unless you're doing heavily single-threaded loads.

Will bear that in mind upon reading specs or reviews of concern. Currently only vaguely I understand. It's probably that which they state in the manuals and on their pages, such as http://www.asrock.com/mb/AMD/970%20Extreme4/?cat=Memory]:
Quote:
When overclocking, some AMD CPU models may not support DDR3 1600 MHz or higher frequency DIMMs

and above and below that line.
That sure in on memory (so I did get it vaguely really :oops: , even though it is interrelated with proc speed...). OTOH, not much choice in this province of the Corporate & Soviet EU, so I'll go for the available 965/955 Phenom where I buy the rest of the stuff...
Ant P. wrote:
I bought a 2.8GHz X3 720BE

It's this one:
http://products.amd.com/en-us/DesktopCPUDetail.aspx?id=522
Ant P. wrote:
and got the 4th core for free with a BIOS upgrade.

That's great! Lucky you!
Ant P. wrote:
It's been running almost completely stable like that for over 3 years now, only gave me problems when I ran it overclocked with foldingathome for 2 weeks straight.

Oh, well, what more, after the 4th core for free would you expect! :P

Anyway, Asrock seems fine for me, but I might better look into some Asus and MSI or whichever models, for comparison first.

The current candidates (other links already given above):

MBO:
Asrock Extreme4
CPU:
965
Graphics:
SAPPHIRE Ultimate HD 6570 1GB DDR3
Memory:
Kingston KHX1600C9D3K2/8G (2x4G)
www.ec.kingston.com/ecom/hyperx_us/partsinfo.asp?root=&ktcpartno=KHX1600C9D3K2/8G
or:
Corsair Vengeance CMZ16GX3M4X1600C9G (4x4G)
http://www.corsair.com/memory/intel-memory-upgrades/quad-channel-intel-memory-upgrade-kits/vengeance-16gb-quad-channel-ddr3-memory-kit-cmz16gx3m4x1600c9g.html

But first I go and look up comparison review which I yet have to find, btwn Asrock Extreme4 and competitors' models...
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Mon Oct 29, 2012 7:09 pm    Post subject: Reply with quote

Memory speeds reference for AMD socket am3+ (and FM1,FM2) cpus:
http://support.amd.com/us/kbarticles/Pages/ddr3memoryfrequencyguide.aspx

I have this memory in an Asrock 990FX Extreme4 with a
Phenom II 965: http://www.newegg.com/Product/Product.aspx?Item=N82E16820233142

Works fine. Passed memtest86 on a Gentoo install CD with flying
colors at 1333mhz. memtest86 showed it was running in dual-channel
mode (interface to memory was 128-bit). I downclocked it to 1066mhz
in BIOS (see the Phenom II speeds in the AMD guide at the URL
above) to keep the cpu under warranty..

I expect that the Corsair Vengeance 1600mhz will be fine with any
of those motherboards. (Asrock has a qualified memory list linked
to their product pages for the different motherboard models.)

The Phenom II is an AMD K10 cpu. The Athlon X2 is K8. The standard
kernel (through 3.3.8 ) seems to class them both together for CFLAGS,
but for userspace "-march=native" will likely take advantage of extra
features available on the K10 architecture.

Your southbridge will be different, so you will want to adjust kernel
drivers (enable ahci support, no need for a separate codec driver
for hda intel sound, etc). The tg3 network driver for the Broadcom
ethernet chip on the Asrock motherboards works fine.

Asus has better documentation and more extensive, more
intelligible BIOS options, but they do not always work better.

(Like in BIOS Setup on the Extreme4, the options for "CPU overclock"
are "Manual Mode" and "Overclock." ??? Are not these the same
thing? Where is the "auto" option, which would mean "choose
the fastest stable clocking", and the "disable" option, which
would mean "do not overclock; use the AMD factory spec
clocking for this cpu"? It turns out that you want "manual mode"
if you do *not* want to overclock it, perhaps because you want
the cpu to stay under warranty for the whole 3 year warranty
period. The "overclock" option enables a step function overclocking
in "% of spec" steps.)

The Asus BIOS makes it far easier to understand what the various
options do exactly than this, but OTOH I tried this same cpu and
ram in an Asus M5A97 that I had to RMA for various issues that
made it unusable. I did not need to RMA the Extreme4, so far it
continues to work.

The AMD-supplied cpu cooler works fine in the cpu cooler framework
around the cpu socket on the 990FX Extreme4. I would suggest
cleaning the little pad of heat sink compound off of the cooler that
comes with a boxed AMD cpu and use your own heat sink compound
(so you do not find the cpu and heat sink glued together by the
heat sink compound when you go to pull the cpu and heat sink
and move them to a different motherboard).
http://www.hardwaresecrets.com/article/What-is-the-Best-Way-to-Apply-Thermal-Grease-Part-1/1303/3

edit:
To answer the original question, your old userspace will probably run
on the new cpu, but you'll want to re-emerge it to get best performance.
For the kernels, K8 kernels will probably boot on it, but the old kernels
will lack drivers for some of the new hardware. I would tend to do
the system cloning at filesystem level so I do not need to care
about differences in the old and new storage hardware, once the storage
is partitioned and formatted with filesystems.
_________________
TIA


Last edited by wcg on Wed Oct 31, 2012 12:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Tue Oct 30, 2012 12:08 am    Post subject: Reply with quote

wcg wrote:
...[temporarily snipped]...
The AMD-supplied cpu cooler works fine in the cpu cooler framework
around the cpu socket on the 990FX Extreme4. I would suggest
cleaning the little pad of heat sink compound off of the cooler that
comes with a boxed AMD cpu and use your own heat sink compound
(so you do not find the cpu and heat sink glued together by the
heat sink compound when you go to pull the cpu and heat sink
and move them to a different motherboard).
http://www.hardwaresecrets.com/article/What-is-the-Best-Way-to-Apply-Thermal-Grease-Part-1/1303/3
...[temporarily snipped]...

The reason I snipped those, is I have to postpone, as they require hours of study for me to understand and use your experience and advice to my best. Limited user capabilities and understanding here.
OTOH, that is what the seller in store didn't make clear (he did suggest that I buy the silver compound, but I didn't figure out it was a hint in that direction), and your advice is late for first installation.
I mean, the system works, I just built it (incompletely, but I built it), and I'm in the BIOS.
So at the time, I can only thank you for fine obviously expert advice.
And I have some more building (there're future clones, probably two, to be built as well, with same model hardware)...
First I needed to get the system together.
Unfortunately, or maybe not, I already bought a pair, 2x4G of Kingston that I linked to above.
But I can regard it as lost investment (it is modest loss), or swap them, and go for the Corsair, if there is strong advantage in performance with Corsair in comparison to the Kingston?
Is it?
The other issues, I don't fully understand, and have to build the system first.
I thank you, and will look up in intervals of hours for your possible answer on whether Corsair is much better choice than Kingston.
Thank you, wcg!
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Tue Oct 30, 2012 12:31 am    Post subject: Reply with quote

wcg wrote:
...[snip]...
To answer the original question, your old userspace will probably run
on the new cpu, but you'll want to re-emerge it to get best performance.
For the kernels, K8 kernels will probably boot on it, but the old kernels
will lack drivers for some of the new hardware. I would tend to do
the system cloning at filesystem level so I do not need to care
about differences in the old and new storage hardware, once the storage
is partitioned and formatted with filesystems.

Edit, start.
Sorry for inconsistent reply. Really tired, and with my mind in the building of the hardware, not yet in the kernel.
On the storage level, no difference. HDD is already part of the new setup, and the only same item in the old and the new. Because I did my cloning from the old RAID on 6-7 ys old Seagate/Western Digital HDDs before this transition onto new MBO/CPU. I did that cloning on filesystem level, true, I rsynced since that is the most advanced way, I believe.
Edit, end.
Since I hope this could also be a thread useful for other GNU Gentoo users, esp. the even less experienced than me, I logged in, maybe last time tonight (a province of Corporate and Soviet EU is where I live. night here), and this time from my new setup.
I'm on sysresccd from USB stick, it workd just fine.
We, I could bet, will witness what only GNU Gentoo can do, and that is, I have the same GNU Gentoo Linux installation since 2008, plus regular and sometimes less regular updates, of course.
I could bet, will witness that my 2008 system installed on old AMD64 hardware will, with little configuration work, a little reemerging by portage, run just perfectly on my new system.
Sure, I will have to take more time, since I am just intermediate in my abilities here.
So, this is now, fro, lve sysresccd (http://www.sysresccd.org/) the output of
# lshw -short
Code:
H/W path                 Device     Class       Description
===========================================================
                                    system      To Be Filled By O.E.M. (To Be Filled By O.E
/0                                  bus         970 Extreme4
/0/4                                processor   AMD Phenom(tm) II X4 965 Processor
/0/4/5                              memory      512KiB L1 cache
/0/4/6                              memory      2MiB L2 cache
/0/4/7                              memory      6MiB L3 cache
/0/10                               memory      8GiB System Memory
/0/10/0                             memory      DIMM Synchronous [empty]
/0/10/1                             memory      4GiB DIMM DDR3 Synchronous 667 MHz (1.5 ns)
/0/10/2                             memory      DIMM Synchronous [empty]
/0/10/3                             memory      4GiB DIMM DDR3 Synchronous 667 MHz (1.5 ns)
/0/0                                memory      64KiB BIOS
/0/1                                processor   
/0/2                                processor   
/0/3                                processor   
/0/100                              bridge      RD890 PCI to PCI bridge (external gfx0 port
/0/100/2                            bridge      RD890 PCI to PCI bridge (PCI express gpp po
/0/100/2/0                          display     RV535 [Radeon X1650 Series]
/0/100/2/0.1                        display     RV535 [Radeon X1650 Series]
/0/100/9                            bridge      RD890 PCI to PCI bridge (PCI express gpp po
/0/100/9/0                          bus         ASM1042 SuperSpeed USB Host Controller
/0/100/9/0/0             usb9       bus         xHCI Host Controller
/0/100/9/0/1             usb8       bus         xHCI Host Controller
/0/100/a                            bridge      RD890 PCI to PCI bridge (external gfx1 port
/0/100/a/0                          bus         ASM1042 SuperSpeed USB Host Controller
/0/100/a/0/0             usb11      bus         xHCI Host Controller
/0/100/a/0/1             usb10      bus         xHCI Host Controller
/0/100/11                           storage     SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode
/0/100/12                           bus         SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/12/1              usb4       bus         OHCI Host Controller
/0/100/12.2                         bus         SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/12.2/1            usb1       bus         EHCI Host Controller
/0/100/13                           bus         SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/13/1              usb5       bus         OHCI Host Controller
/0/100/13.2                         bus         SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/13.2/1            usb2       bus         EHCI Host Controller
/0/100/13.2/1/3          scsi6      storage     Flash Voyager
/0/100/13.2/1/3/0.0.0    /dev/sdb   disk        8120MB SCSI Disk
/0/100/13.2/1/3/0.0.0/1  /dev/sdb1  volume      5245MiB Windows FAT volume
/0/100/13.2/1/3/0.0.0/2  /dev/sdb2  volume      2403MiB Linux filesystem partition
/0/100/14                           bus         SBx00 SMBus Controller
/0/100/14.1                         storage     SB7x0/SB8x0/SB9x0 IDE Controller
/0/100/14.2                         multimedia  SBx00 Azalia (Intel HDA)
/0/100/14.3                         bridge      SB7x0/SB8x0/SB9x0 LPC host controller
/0/100/14.4                         bridge      SBx00 PCI to PCI Bridge
/0/100/14.5                         bus         SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
/0/100/14.5/1            usb6       bus         OHCI Host Controller
/0/100/15                           bridge      SB700/SB800/SB900 PCI to PCI bridge (PCIE p
/0/100/15/0              eth0       network     88E8053 PCI-E Gigabit Ethernet Controller
/0/100/15.2                         bridge      SB900 PCI to PCI bridge (PCIE port 2)
/0/100/15.2/0                       bus         VT6315 Series Firewire Controller
/0/100/15.3                         bridge      SB900 PCI to PCI bridge (PCIE port 3)
/0/100/15.3/0            eth1       network     RTL8111/8168B PCI Express Gigabit Ethernet
/0/100/16                           bus         SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/16/1              usb7       bus         OHCI Host Controller
/0/100/16.2                         bus         SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/16.2/1            usb3       bus         EHCI Host Controller
/0/101                              bridge      Family 10h Processor HyperTransport Configu
/0/102                              bridge      Family 10h Processor Address Map
/0/103                              bridge      Family 10h Processor DRAM Controller
/0/104                              bridge      Family 10h Processor Miscellaneous Control
/0/105                              bridge      Family 10h Processor Link Control
/0/5                     scsi0      storage     
/0/5/0.0.0               /dev/sda   disk        1TB ST1000VM002-9ZL1
/0/5/0.0.0/1             /dev/sda1  volume      5119KiB BIOS Boot partition
/0/5/0.0.0/2             /dev/sda2  volume      250MiB EFI partition
/0/5/0.0.0/3             /dev/sda3  volume      26GiB EXT4 volume
/0/5/0.0.0/4             /dev/sda4  volume      835GiB EFI partition
/0/5/0.0.0/5             /dev/sda5  volume      70GiB data partition


Cheers!
Edit start.
There is no RAID here. That is not the aim. This is not my complete system setup.
Also, for reasons that wcg suggested in his post above, I'll even yet take the CPU out and line it properly with silver compound... And there'll be RAID of three HDD's like that one...
Good night (I guess...)
Edit end.
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Wed Oct 31, 2012 1:57 pm    Post subject: Reply with quote

[dram manufacturer]
The Kingston DDR-3 may work fine. I first ordered the Corsair Vengeance
1866mhz because it was on the Asus M5A97 approved list, the manufacturer
has a good reputation for quality control, and the price was not unreasonable
compared to other brands also on the Asus approved list for that motherboard.

The 1866mhz rating allows some headroom to run it faster with
newer cpus (or with the Phenom II overclocked) if there is ever
a need for that.

As it turns out, it works fine on the Asrock 990FX Extreme4, too.

[heatsink compound]
I first installed the cpu on the M5A97, using the AMD heatsink and fan
that came with the cpu. The AMD heatsink for the Phenom II came with
a pad of heatsink compound pre-applied to the bottom of the heatsink.
I used that.

The motherboard had defects. After half a day, I needed to pull
the heatsink and cpu so that I could return the motherboard and
get a different one. I loosened the clips, pulled on the heatsink,
and the cpu came out of the cpu socket without opening it first
(a ZIF socket, with the little swing arm on the side to clamp and unclamp
the cpu pins in the socket).

The cpu and heatsink were glued together by the original heat sink
compound. I could not leave them that way, because there would not
be clearance for the swing arm on the side of the cpu ZIF socket
on a new motherboard.

The solution was to heat them up to loosen the original AMD heatsink
compound, but not enough to damage the cpu (setting them on
a stove or hot plate burner would be unsafe, for example). The AMD
heat sink has a copper bar on the bottom of it that directly contacts
the top of the cpu and that sticks out past the edges of the cpu when
installed. I used a heat gun (like a handheld hair dryer but gets hotter
faster) and heated up that copper bar on the bottom of the heatsink
enough to loosen the original heatsink compound, which allowed me
to separate the cpu and heatsink. I cleaned the original heatsink
compound off of the cpu and heatsink with electrical contact cleaner
(evaporates really quickly, leaves no film on the surface) and a
soft cloth.

I used a pea-sized dab of this stuff when I reinstalled
the cpu and heatsink in a new motherboard:
http://www.geeks.com/details.asp?invtid=AS-CMQ2-27G
(There may be heatsink compounds available with higher thermal
conductivity than that one, but that compound is non-conductive,
so it cannot short anything out even if some drips onto
the motherboard unnoticed, and the price was reasonable.)

To summarize:

I do not think you necessarily need to exchange the Kingston
dram for the Corsair dram (I have had many Kingston simms
and dimms on many different motherboards, and I have never
had one fail before it became obsolete). I simply have personal
experience with Corsair Vengeance DDR-3 dimms on that motherboard,
and they work without problems. The heatsinks on the dimms are not
a problem when inserting or removing the dimms from their sockets.

The AMD-supplied heatsink compound probably works ok as far as
maintaining good thermal conduction between the cpu and heatsink.
It is simply unnecessarily annoying if you need to pull the cpu and
move it to a different motherboard. Users who have a new AMD cpu
and heatsink can preempt that problem by removing the supplied heatsink
compound from the heatsink and replacing it with their own choice
of heatsink compound when installing the cpu and cpu cooler
for the first time.

It seems as though you have the system cloning well in hand.
If kernels compiled with K8 compiler flags will run on K10 cpus,
then userspace (glibc, bash, gcc, xorg, and so on) compiled
with K8 compiler flags will run on those cpus, too. (You can
update userspace to K10 compiler flags for better performance
at your leisure.)
_________________
TIA
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Thu Nov 01, 2012 9:27 pm    Post subject: Reply with quote

wcg wrote:
[dram manufacturer]
...[snip]...
I do not think you necessarily need to exchange the Kingston
dram for the Corsair
...[snip]...

I was able to return Kingston and refund. Bought Corsair, because could get 4x4G, 16GB total, as I know RAM is intrinsic for performance.

But first. I apologize for incomplete replies to people who gave opinion and advice previously (some of which I need hours to sufficiently grasp).

wcg, your advice on heat compound removal and reapplication, and the links you gave is warmly recommended to anyone in situation like mine! I did all the reading of, here's the link you gave. because I deem it is very important:
http://www.hardwaresecrets.com/article/What-is-the-Best-Way-to-Apply-Thermal-Grease-Part-1/1303/3
(sure, you need the entire tutorial and the other ones tutorials advised for you there).

Some of the other advice that Hu and Ant P. gave, though, are not yet urgent for me.

Because I got four same hardware (some hardware items wouldn't matter being similar instead of same, such as HDD's and graphics) systems fully, or nearly fully installed.

That I believe that my kind readers will understand that it has been a rather huge and somewhat unnerverving, occasionally excruciatingly so, task for a DIY weekend enthusiast like me...

But I wanted to tell the audience that the system just worked as it was.

wcg wrote:
...[snip]...
It seems as though you have the system cloning well in hand.

Sure! But I have to note, actually, that this is the second part of my hardware upgrade. The first part, moving onto new HDD SATA3 1TB 6GB/s disks from 5-6 ys old HDD raid setup, is best looked into from here:
http://forums.gentoo.org/viewtopic-t-920644-start-25.html#7147432
wcg wrote:
If kernels compiled with K8 compiler flags will run on K10 cpus,
then userspace (glibc, bash, gcc, xorg, and so on) compiled
with K8 compiler flags will run on those cpus, too. (You can
update userspace to K10 compiler flags for better performance
at your leisure.)
...[snip]...

Right! The system just worked as it was, as it was installed previously on the old hardeware...
Code:
 # uname -r
3.6.3-hardened-121031_1100
 #

The 121031_1100 stands for local version of `date +%y%m%d_%H`
Small things were a matter of fixing at first. Such as,

in the old .config:
Code:
CONFIG_NR_CPUS=2

needed be set to 4, and such other small issues were, and still are there.

Before I go and fix one more urgent issue, I would like to give a link on these forums to possible newbies reading this, where I explain how I dd backup my system (which same image can be used for restoring the system, as well as for cloning the system onto another box):

http://forums.gentoo.org/viewtopic-t-704911-highlight-.html#6794280

There you just search for dd if you need quick relevant insight.

Now, for even newbies, I believe that my following statement will be understandable.

I have already perfectly successfully cloned onto one of the other boxes, the most freshly emerge-updated of the systems.

dd image making/restoring/cloning (where applicable, such as old fashioned HDD, not SSD), is a marvel!

Sure, changes particular to the original system, such as settings in the /etc/hosts /etc/fstab, /etc/conf.d/net and the like, do need to be taken from the old, say backed up /etc.

It is also useful for the saving of bandwith to the servers. More than one system, only one rsync'ing for all the other systems!

These are the beauties that I don't think all OS's can offer you. That's GNU Gentoo linux which I like!

I can't get into too many details on any other matters touched in this thread because of one particular issue, that is broader, possibly, actually which doesn't anymore belong here, and which is urgent...

And for that issue, I have to do some more searching and testing and possibly ask for help on ffmpeg or mencoder mailing lists.

Namely, the issue is these:

Code:
mencoder tv:// -profile mpeg4_capt  -profile mpeg4_capt_MP3  -o Compo_`date +%y%m%d_%H%M`.avi

and:

Code:
mencoder tv:// -profile mpeg4_capt_HaupP  -o Compo_`date +%y%m%d_%H%M`.avi


where,
in ~/.mplayer/mencoder.conf :

Code:
[mpeg4_capt]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0,2:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
#nosound=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0

[mpeg4_capt_HaupP]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.1,0:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0
oac=mp3lame=1
lameopts=cbr=1:preset=standard

[mpeg4_capt_MP3]
profile=mpeg4_capt_MP3
oac=mp3lame=1
lameopts=cbr=1:preset=standard



don't work yet, or don't work reliably, for some reason.

The problem is, if I don't make it in time (only a few hours left for me to catch replays), I'll have lost an important show or twh that audience in Croatia are waiting for me to put on my Youtube channel (http://www.youtube.com/user/miroR2 -- search for ENGLISH to find a few of my works for intl audience) (and which I have permit for).

I promise I'll try and come back and reply to the remaining issues, and give a final report, because I believe in GNU Linux, as community, and like if I can give a little back for all that I received!

God bless!

Miroslav Rovis
m.rovis@inet.hr
miro.rovis@gmail.com
01 660 2633
091 266 0202
#=== osuđen: ===#
http://www.croatiafidelis.hr/Miroslav_Rovis_politicki_progon/
#=== pravomoćno! ===#
http://www.exDeo.com
http://groups.google.com/group/croatian-news/
http://www.youtube.com/user/miroR2
nije moj profil, ali do siečnja 2012., a i kasnije, tamo postavljah:
http://www.youtube.com/user/prosvjednikkrcmarek
Ima nešto i ovdje:
http://vimeo.com/user9621785
http://creativecommons.org/licenses/by-nc-sa/3.0/
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Fri Nov 02, 2012 3:16 am    Post subject: Reply with quote

miroR wrote:

...[snip]...
...the issue is these:

Code:
mencoder tv:// -profile mpeg4_capt  -profile mpeg4_capt_MP3  -o Compo_`date +%y%m%d_%H%M`.avi

and:

Code:
mencoder tv:// -profile mpeg4_capt_HaupP  -o Compo_`date +%y%m%d_%H%M`.avi


where,
in ~/.mplayer/mencoder.conf :

Code:
[mpeg4_capt]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0,2:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
#nosound=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0

[mpeg4_capt_HaupP]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.1,0:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0
oac=mp3lame=1
lameopts=cbr=1:preset=standard

[mpeg4_capt_MP3]
profile=mpeg4_capt_MP3
oac=mp3lame=1
lameopts=cbr=1:preset=standard



don't work yet, or don't work reliably, for some reason.
...[snip]...

There I made some progress in regard to this issue, but I'm moving too slowly.
Here:
http://ffmpeg.org/pipermail/ffmpeg-user/2012-November/010896.html
also sent query to:
http://sourceforge.net/mailarchive/forum.php?thread_name=509334CB.2060402%40inet.hr&forum_name=alsa-user
and plan to send the query to mencoder users mailing list.

But this could so well be udev related!

I am emerge -qavtuDN --keep-going @world on my cloned system (never any difference btwn clones in the sense of defects related to the cloning)... Maybe it solves itself?

I can tell I got, say all devices under:
/proc/asound/
root wheel owned, and as common user, I am not in the weel
Code:
# cat /etc/group | grep wheel
wheel:x:10:root
#


But what do I know... I can't read all those manuals that take days to read... now...
Back to top
View user's profile Send private message
Tony0945
Guru
Guru


Joined: 25 Jul 2006
Posts: 317

PostPosted: Sat Nov 03, 2012 12:46 am    Post subject: Reply with quote

I find that I have fewer problems in general with:

Code:
emerge -auvND --with-bdeps=y --keep-going world


But when changing processor I do:
Code:
emerge -ea world


I didn't find -q in the man page. quiet?
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sat Nov 03, 2012 4:06 pm    Post subject: Reply with quote

Tony0945 wrote:
I didn't find -q in the man page. quiet?

Pasting over from man emerge
Code:
       --quiet [ y | n ] (-q short option)

How did you search? :wink:

Tony0945 wrote:
I find that I have fewer problems in general with:

Code:
emerge -auvND --with-bdeps=y --keep-going world


But when changing processor I do:
Code:
emerge -ea world


That was the advice I was needing!

Thanx!

But I hit a snag that took me half the day. Up until now.
It's this:
http://www.mail-archive.com/kernel-testers@vger.kernel.org/msg08259.html
which could and could be not an issue that translates into something to the effect of:
http://ubuntuforums.org/showthread.php?t=1796145

In effect, this is what I would get with the new:
linux-3.6.4-hardened
kernel (was there for less than a day, already 3.6..5 is out). I would get:
Code:
PANIC: early exception 08 rip 246:10 error 815e6e31 cr2 0

or;
Code:
PANIC: early exception 0f rip 10:ffffffff815e6e31 error 0 cr2 0

and those lines are manually copied over since they sure mean NO BOOT...
Let's see if it's the kernel's fault or if I have badder issue at hand... (I mean I sure am compiling the new kernel.)
And than I back the system up and do as Tony0945 kindly advised me to do!
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sat Nov 03, 2012 4:33 pm    Post subject: Reply with quote

miroR wrote:
But I hit a snag that took me half the day. Up until now.
It's this:
http://www.mail-archive.com/kernel-testers@vger.kernel.org/msg08259.html
which could and could be not an issue that translates into something to the effect of:
http://ubuntuforums.org/showthread.php?t=1796145

In effect, this is what I would get with the new:
linux-3.6.4-hardened
kernel (was there for less than a day, already 3.6..5 is out). I would get:
Code:
PANIC: early exception 08 rip 246:10 error 815e6e31 cr2 0

or;
Code:
PANIC: early exception 0f rip 10:ffffffff815e6e31 error 0 cr2 0

and those lines are manually copied over since they sure mean NO BOOT...
Let's see if it's the kernel's fault or if I have badder issue at hand... (I mean I sure am compiling the new kernel.)
...

Yup! I passed the early exception panic dread, so that was probably an issue solved in 3.6.5, but I seem not to have made my init right. I got dropped into rescue_shell, more or less like the init you can see (only no crypting):
http://en.gentoo-wiki.com/wiki/Root_filesystem_over_LVM2,_DM-Crypt_and_RAID#Initram
But that is lesser dread.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sat Nov 03, 2012 5:27 pm    Post subject: Reply with quote

miroR wrote:
...I passed the early exception panic dread, so that was probably an issue solved in 3.6.5, but I seem not to have made my init right. I got dropped into rescue_shell, more or less like the init you can see (only no crypting):
http://en.gentoo-wiki.com/wiki/Root_filesystem_over_LVM2,_DM-Crypt_and_RAID#Initram
But that is lesser dread.

There were just devices missing in /dev, as I hurriedly, without much thinking, followed the instructions in the above link.
All is well again.
Code:
# uname -r
3.6.5-hardened-121103_1700
#

Now will be going over the entire thread, because some of the advice given earlier when I wasn't yet able to understand is looming a little clearer...
More time to go.
Back to top
View user's profile Send private message
Tony0945
Guru
Guru


Joined: 25 Jul 2006
Posts: 317

PostPosted: Sat Nov 03, 2012 9:24 pm    Post subject: Reply with quote

Quote:
Pasting over from man emerge
Code:
--quiet [ y | n ] (-q short option)

How did you search? :wink:


man emerge

I must really need that cataract operation!

Can't help with the kernel problem, I run gentoo-sources, not hardened.

I remembered another tip.

When changing architecture a lot it can help to run the man -ea world after booting from the system rescue CD and chrooting to the hard drive. This ensures the kernel image in memory is arch OK.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sat Nov 03, 2012 10:11 pm    Post subject: Reply with quote

Tony0945 wrote:
Quote:
Pasting over from man emerge
Code:
--quiet [ y | n ] (-q short option)

How did you search? :wink:


man emerge

I must really need that cataract operation!

I also have poor eyesight, I couldn't read a thing or very very enlarged only, with one eye, and the other is far below average esp. for closer objects. I'm so called "farsighted".
Tony0945 wrote:
Can't help with the kernel problem, I run gentoo-sources, not hardened.

I remembered another tip.

When changing architecture a lot it can help to run the man -ea world after booting from the system rescue CD and chrooting to the hard drive. This ensures the kernel image in memory is arch OK.

I don't get it.
I see:
Code:
# man -ea world

What would that do? I doesn't fit your explanation.
Back to top
View user's profile Send private message
miroR
Guru
Guru


Joined: 05 Mar 2008
Posts: 417

PostPosted: Sat Nov 03, 2012 10:20 pm    Post subject: Reply with quote

Way up:
wcg wrote:



wcg wrote:

...enable ahci support, no need for a separate codec driver
for hda intel sound...

True. sata3 6Gb/s there. Sound fine (except for an issue seemingly with pulseaudio:
http://ffmpeg.org/pipermail/ffmpeg-user/2012-November/010896.html).
wcg wrote:
The tg3 network driver for the Broadcom
ethernet chip on the Asrock motherboards works fine.

No. Not this Asrock board, lspci:
Code:
...
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
...

I compiled r8169 and have it as module:
Code:
/lib/modules/3.6.5-hardened-121103_1700/kernel/drivers/net/ethernet/realtek/r8169.ko


But I haven't compiled USB3 support in the kernel yet. I think it's this that I'm selecting:
Code:
│     <*>   xHCI HCD (USB 3.0) support (EXPERIMENTAL)


wcg wrote:
The Phenom II is an AMD K10 cpu. The Athlon X2 is K8. The standard
kernel (through 3.3.8 ) seems to class them both together for CFLAGS,
but for userspace "-march=native" will likely take advantage of extra
features available on the K10 architecture.

Like how? In the /etc/make.conf (BTW, I tried to move to new standard and moved that file to /etc/portage/make.conf, along with moving /etc/make.profile/ to /etc/portage/make.profile, but it wouldn't work, like dispatch-conf or etc-update worked on those in /etc only) I currently have:
Code:
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.  You             
# should probably be using a different stage, instead.                                     
CHOST="x86_64-pc-linux-gnu"

So should I change the first line to:
Code:
CFLAGS="-march=native -O2 -pipe"


wcg wrote:
Your southbridge will be different, so you will want to adjust kernel drivers (enable ahci support...

I got, in Serial ATA and Parallel ATA drivers:
Code:
     <*>   AHCI SATA support

and I now understand that the sata controler is the southbridge' affair.

The Asrock 970 Extreme4 manual states:
Code:
- Northbridge: AMD 970
- Southbridge: AMD SB950


and from lspci there is no 970, even with " -v -v":
Code:
# lspci -v -v  | grep 970
#


I guess this is northbridge and southbridge are some of these:
Code:

00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 3)
00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
02:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

I got that, and it's really complete, from plain (no "-v") lspci, with this command that ruled out the TV card chip (Conexant), the Marvell chip which is on small PCI-e board, the VIA VT6315 Firewire Controller, the RTL Ethernet chipset and the Turks Sapphire card, and its chip RD890, and the Intel HDA audio, with this command line:
Code:
 # lspci   | grep -v Conexant | grep -v Marvell | grep -v VT6315 | grep -v RTL | grep -v Turks | grep -v RD890 | grep -v Intel

Actually I don't find much, and I can't see what else I might be missing:
Code:
# pwd
/usr/src/linux
#

Searches like this one:
Code:
grep -ri SB9  ./ | grep -vi USB | grep -vi PSB

don't return anything related.
And I searched too much to little avail.
Sure, because I forgot that lshw gives the other view than lspci on those.
Rereading previous posts, the those SB and NB (no "nb" there, but the "bridge Family 10h Processor" lines) is visibe above in my post from:
Tue Oct 30, 2012 12:31 am.
I don't know what else I might be missing. Btwn the old and the now compiling version only USB3 driver (if my guess is correct, which it probably is), is different:
Code:
# diff .config .config.old
55c55
< CONFIG_LOCALVERSION="-121103_1900"
---
> CONFIG_LOCALVERSION="-121103_1700"
2718,2719c2718
< CONFIG_USB_XHCI_HCD=y
< # CONFIG_USB_XHCI_HCD_DEBUGGING is not set
---
> # CONFIG_USB_XHCI_HCD is not set
#

Regarding some of the other advice, which is all clearer now that I'm getting familiar with the new hardware, I might only be using it when over or underclocking and tweaking DRAM. I wish this hardware would last me like the old one, for several years.
I'll be back to report how it went. Allow more time pls.
Back to top
View user's profile Send private message
Tony0945
Guru
Guru


Joined: 25 Jul 2006
Posts: 317

PostPosted: Sat Nov 03, 2012 11:06 pm    Post subject: Reply with quote

Quote:
I don't get it.
I see:
Code:
# man -ea world

What would that do? I doesn't fit your explanation.


Should have been "emerge -ea world". Sorry for the typo.

I recall changing form k8 to k10. That was from an Athlon II X2 (Newcastle?) to Phenom II X6 (Deneb). I used the emerge -ea world. Don't recall any problems, but it took a long time with nearly a thousand packages installed.

Another time I changed from i686 to K6. In that case I had a lot of crashes because the K6 doesn't run all i686 opcodes. Booting an old system rescue CD (i386 or i486, I don't remember which) and using distcc helped.
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
Goto page 1, 2  Next
Page 1 of 2

 
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