public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Upgrade using binary packages
@ 2007-04-25  1:23 holla.net
  2007-04-25  8:04 ` Hans-Werner Hilse
  0 siblings, 1 reply; 4+ messages in thread
From: holla.net @ 2007-04-25  1:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]

Hello,

I have an underpowered system which runs mythtv. On this
there are two partitions one the active and the other spare.
Both can boot into mythtv . As this system is running a
2005.October snapshot, i want to do an upgrade using almost
all binary packages.

My approach was something like this..

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

2. Boot into the spare partition and set PKGDIR in make.conf

3. Do a portage sync to 2006.1 and start 'emerge -K' of the
    packages for the 'system' target

4. For 'bash' the error  missing symbol glibc-2.4.3 .... occurs
    So thinking that glibc must be emerged first, I restart the
    whole process (including copying the active partition to the
    spare one) then emerge glibc as the first package.

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 ?

regards
sathish

[-- Attachment #2: Type: text/html, Size: 1348 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Upgrade using binary packages
  2007-04-25  1:23 [gentoo-user] Upgrade using binary packages holla.net
@ 2007-04-25  8:04 ` Hans-Werner Hilse
  2007-04-26  1:09   ` holla.net
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Werner Hilse @ 2007-04-25  8:04 UTC (permalink / raw
  To: gentoo-user

Hi,

On Wed, 25 Apr 2007 06:53:54 +0530 "holla.net@gmail.com"
<holla.net@gmail.com> 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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Upgrade using binary packages
  2007-04-25  8:04 ` Hans-Werner Hilse
@ 2007-04-26  1:09   ` holla.net
  2007-04-26  7:59     ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: holla.net @ 2007-04-26  1:09 UTC (permalink / raw
  To: gentoo-user

On 4/25/07, Hans-Werner Hilse <hilse@web.de> wrote:
> Hi,
>
> On Wed, 25 Apr 2007 06:53:54 +0530 "holla.net@gmail.com"
> <holla.net@gmail.com> 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
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Upgrade using binary packages
  2007-04-26  1:09   ` holla.net
@ 2007-04-26  7:59     ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2007-04-26  7:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

On Thu, 26 Apr 2007 06:39:15 +0530, holla.net@gmail.com 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-26  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-25  1:23 [gentoo-user] Upgrade using binary packages holla.net
2007-04-25  8:04 ` Hans-Werner Hilse
2007-04-26  1:09   ` holla.net
2007-04-26  7:59     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox