Re: [blfs-support] From Core 2 Duo to i7

2018-04-23 Thread Vaclav Masin
> On Friday, April 13, 2018 02:15:30 PM Vaclav Masin wrote:> 
> Hello,
> 
> I've recently bought a new laptop featuring an i7 CPU. I'm wondering what are 
> the chances of my current LFS-7.10 system compiled on my rather old Core 2 
> Duo rig running on this new laptop (provided the kernel is recompiled 
> accordingly to include the correct drivers). No optimization flags were used 
> during the build of the system in question.
> 
> I had a read through the 6.3.3 section of The Book's current version and I'm 
> not quite sure how "same" these two architectures actually are (or are not). 
> Since it'd be a move from and older architecture to a newer one of the same 
> vendor, I'd be inclined to believe things might work. But perhaps I'm missing 
> something (quite possibly in fact) and so an information along the lines of 
> "no, this will never work" would save me some time and I could start building 
> a new system straight away.
> 
> Thanks.
> 
> Vaclav

Hi,

I'd like to just report back briefly that this little adventure of mine seems 
to have come to a successful end: the system seems stable after the transfer so 
far. I haven't quite stressed it yet but all the services seem to be starting 
up without any issues and KDE (plus some extra applications) just as well.

Thanks again to all the people above for all the advice and encouragement.

Vaclav

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-14 Thread Paul Rogers
> It is a pure 64-bit system. That should possibly help my case even 
> further, shouldn't it?

In so far as the kernel 64-bit CPU support is rather generic yet.  But tread 
carefully.  Pay attention to all glitches.  Boot single-user mode, no 
non-essential "services", with most of your "attachments" unplugged.  Then 
rebuild your kernel for your particular hardware.  Explore!  Check the GUI.  
Repeat with "standalone", runlevel 2, and more services.  Explore all those and 
make sure they're functioning right.  Only then, runlevel 3.  If something is 
going to go haywire, you want to catch it before it can do damage to all your 
work--it's faster than having to do that all again! ;-)

-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Vaclav Masin
It is a pure 64-bit system. That should possibly help my case even further, 
shouldn't it?

And thanks a lot for all the promising answers - I think I'm going to give it a 
try.



On Friday, April 13, 2018 02:34:17 PM Paul Rogers wrote:
> You didn't mention if you'd made a 32- or 64-bit system.  I agree with Bruce. 
>  Matter of fact, I believe I've done it--I had to get *something* running 
> initially on my i7.  Your i7 *should* support all the optimizations present 
> in the Core-2.  
> 
> 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Paul Rogers
You didn't mention if you'd made a 32- or 64-bit system.  I agree with Bruce.  
Matter of fact, I believe I've done it--I had to get *something* running 
initially on my i7.  Your i7 *should* support all the optimizations present in 
the Core-2.  

-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Bruce Dubbs

On 04/13/2018 09:06 AM, Edgar Alwers wrote:



Am 13.04.2018 um 14:15 schrieb Vaclav Masin:
No optimization flags were used during the build of the system in 
question.
As Hazel Russman just told, gmp may generate problems. I had once a lot 
porting a system from a PC to a laptop. The problem is, that gmp will 
use features from the CPU that is present at build time unless you use 
config.fsf ( See Bruce Dubbs, Re: [blfs-support] Portability problems ? 
and others)  In my case, the ported system was apparently working OK on 
the laptop, but no configurations or compilations was possible, also of 
course not the necessary ones for changing gmp.

Consider reading the threath with many  valuable advices.


Actually, I think the proposed port is worth a try.  Yes, th ekernel 
will probably need different drivers, but gmp *should* be portable from 
an older system to a newer one.


  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Edgar Alwers



Am 13.04.2018 um 14:15 schrieb Vaclav Masin:
No optimization flags were used during the build of the system in 
question.
As Hazel Russman just told, gmp may generate problems. I had once a lot  
porting a system from a PC to a laptop. The problem is, that gmp will 
use features from the CPU that is present at build time unless you use 
config.fsf ( See Bruce Dubbs, Re: [blfs-support] Portability problems ?  
and others)  In my case, the ported system was apparently working OK on 
the laptop, but no configurations or compilations was possible, also of 
course not the necessary ones for changing gmp.

Consider reading the threath with many  valuable advices.

Edgar
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Hazel Russman
On Fri, 13 Apr 2018 14:15:30 +0200
Vaclav Masin  wrote:

> Hello,
> 
> I've recently bought a new laptop featuring an i7 CPU. I'm wondering what are 
> the chances of my current LFS-7.10 system compiled on my rather old Core 2 
> Duo rig running on this new laptop (provided the kernel is recompiled 
> accordingly to include the correct drivers). No optimization flags were used 
> during the build of the system in question.
> 
> I had a read through the 6.3.3 section of The Book's current version and I'm 
> not quite sure how "same" these two architectures actually are (or are not). 
> Since it'd be a move from and older architecture to a newer one of the same 
> vendor, I'd be inclined to believe things might work. But perhaps I'm missing 
> something (quite possibly in fact) and so an information along the lines of 
> "no, this will never work" would save me some time and I could start building 
> a new system straight away.
> 
> Thanks.
> 
> Vaclav
> 
It's not just the kernel. You'll probably need to recompile gmp, which 
optimises itself to the architecture it's built on. 

I once transferred a set of LFS Chapter 5 tools from a desktop machine with an 
Intel Core Duo to a laptop with a Via Nano, and I got a lot of apparently 
random segfaults through the early stages of chapter 6. No one could tell me 
why. But once I had a full local set of primary compilation tools, the crashes 
stopped.

-- 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] From Core 2 Duo to i7

2018-04-13 Thread Vaclav Masin
Hello,

I've recently bought a new laptop featuring an i7 CPU. I'm wondering what are 
the chances of my current LFS-7.10 system compiled on my rather old Core 2 Duo 
rig running on this new laptop (provided the kernel is recompiled accordingly 
to include the correct drivers). No optimization flags were used during the 
build of the system in question.

I had a read through the 6.3.3 section of The Book's current version and I'm 
not quite sure how "same" these two architectures actually are (or are not). 
Since it'd be a move from and older architecture to a newer one of the same 
vendor, I'd be inclined to believe things might work. But perhaps I'm missing 
something (quite possibly in fact) and so an information along the lines of 
"no, this will never work" would save me some time and I could start building a 
new system straight away.

Thanks.

Vaclav

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page