Re: [gentoo-user] Upgrade using binary packages

2007-04-26 Thread Neil Bothwick
On Thu, 26 Apr 2007 06:39:15 +0530, [EMAIL PROTECTED] wrote:

 In the kernel config this shows up as Via C3 processor...

Which is not an i686, it has a couple of instructions missing from the
full i686 instruction set, hence the illegal instruction message.

 CFLAGS=-Os -march=i586 -m3dnow -pipe -fomit-frame-pointer

Use -march=c3.


-- 
Neil Bothwick

Standard: (n., adj.) a design target which manufacturers may embellish,
improve upon, or ignore as they wish, so long as it can be used profitably
  in their advertising.


signature.asc
Description: PGP signature


Re: [gentoo-user] Upgrade using binary packages

2007-04-25 Thread Hans-Werner Hilse
Hi,

On Wed, 25 Apr 2007 06:53:54 +0530 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 I have an underpowered system which runs mythtv.

Machine architecture?

 1. On a i686 machine generated the binary packages using tips
 from this list..
 [...]
 5. Almost at the end of the glibc emerge , 'Illegal instruction'
errors start appearing...sweet
 
 I understand that a stage3 tarball is essentially a binary upgrade.
 But using this method I thought I could do an incremental upgrade.
 
 So what is wrong with this approach ?

Nothing. It works just fine (I did this enough times before). You just
probably didn't match the CFLAGS and/or MMX/SSE USE flags to the
underpowered system but compiled your binaries for the faster
architecture.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade using binary packages

2007-04-25 Thread [EMAIL PROTECTED]

On 4/25/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

Hi,

On Wed, 25 Apr 2007 06:53:54 +0530 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 I have an underpowered system which runs mythtv.

Machine architecture?



# cat /proc/cpuinfo
vendor_id   : CentaurHauls
cpu family  : 6
model name  : VIA Samuel 2
cpu MHz : 533.501
cache size  : 64 KB
flags   : fpu de tsc msr cx8 mtrr pge mmx pni 3dnow

In the kernel config this shows up as Via C3 processor...


CFLAGS=-Os -march=i586 -m3dnow -pipe -fomit-frame-pointer
CHOST=i386-pc-linux-gnu

USE=... mmx 3dnow  ...


 1. On a i686 machine generated the binary packages using tips
 from this list..
 [...]

...

 So what is wrong with this approach ?

Nothing. It works just fine (I did this enough times before). You just
probably didn't match the CFLAGS and/or MMX/SSE USE flags to the
underpowered system but compiled your binaries for the faster
architecture.


I guess you are right. for i686 system I have

CFLAGS=-march=i686 -O2 -pipe
CHOST=i686-pc-linux-gnu


If I recall correctly now , //proc/cpuinfo shows this as a Pentium4 with
flags showing sse sse2 .

Even the gentoo i686 livecd does not boot on the mythtv system. Just
after uncompressing the kernel, system reboots.

I think I will have to use a  rescue CD of some sort.

thanks
sathish




-hwh
--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list