Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My yearly Gentoo Update on ppc went bad, help please?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Thu Apr 12, 2007 2:39 pm    Post subject: My yearly Gentoo Update on ppc went bad, help please? Reply with quote

I've been using gentoo as my os on a B & W Apple G3 to provide Firewall, NAT, Web, PHP, SMTP,IMAP, File Share, Perl, and other functions
at my house. This box has been up for 4 years getting an update every year. Well this year it failed and for now I have a Linksys
WAP/router (flashed with the open source replacement) routing WAN/LAN/Wifi for now until I get homer back online.
Here's what I've done, just like every year in the past. I did this
1: emerge -sync
2: update my profile to the current one
3: emerge --pretend --update --deep --newuse -av world
4: I did an emerge --unemerge of all the packages blocking the update.
5. emerge --update --deep --newuse -av world
Everything WAS going well until I emerged the latest linux-headers. First depdconfig failed, no big deal I did a resume, suspended the process
when before it came to depconfig, I renamed the ppc32_depconfig to what the script expected.. ppc_depconfig. the kernel build failed
due to mismatched ifdefs and mismatched ifndefs in the code stream. I attempted to resume again, suspend in the middle of the kernel build,
edit the files that were causing the problem, but I did not find all the errors. So.. time passes, the system was still doing NAT for the house,
I only lost gnome, php, and a few other functions. The following day I did an emerge -sync again hoping that the problem was caught.
Nope.. error still there. So .. time passes, I waited again. this time until last Wednesday. Well, i did an emerge -sync and tried to resume
again. Nope still mismatched iddef statements. then.. damn the power went out for a while, the ups had the system up but not long enough
to resolve the issue. I had to shut the box down. When the system booted back up, it was borked, there was a good reason why, the
emerge world got to update the baselayout and start updating the system. INIT changes big time and udev is needed. Well My emerge world
didn't get that far yet so tonight I have to boot off a gentoo cd, start the network interfaces, mount the filesystem, do a chroot and all
and.. well after that that is when your help comes in.

Did I miss anything? These steps were taken in the past. Last year I went from an early 2.4.x kernel to 2.4.29, a lot of library and
app changed, not much system. Did I miss anything?

If you want to help someone who's been running gentoo for years, please email me at jerrynsr@yahoo.com (my email server is dead
I've got to us yahoo now.)

:o
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Thu Apr 12, 2007 8:35 pm    Post subject: Reply with quote

Sorry don't know anything about ppc kernel. However don't forgot etc-update - I suppose you did but to be sure.

Also on server I usually do a emerge -uDav system before the world upgrade. It's faster and so I can spot problem within a smaller emerge list. Especially when there is important change like baselayout - then once system is safely updated, and rebooted as needed, world update is less of a problem.

Don't know which kernel is ppc but if you move to 2.6, there was some changes that need to redo kernel config.
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Thu Apr 12, 2007 9:56 pm    Post subject: Reply with quote

If you are only going to update once a year then it will be much easier and faster to just do a total re-install. You will generally need at least four partitions for this:
  1. boot
  2. root 1
  3. root 2
  4. data
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Thu Apr 12, 2007 10:20 pm    Post subject: of course I etc-update Reply with quote

of course I did an etc-update

I run gentoo because of the in place upgrade. Don't want to reinstall.


I'll try what you said.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 2:19 am    Post subject: I'll post my results soon. My emerge world is running Reply with quote

OK. I booted off of a gentoo 2006.1 install cd, got my environment set and the drives mounted. I switched my profile to the latest 2006.1 ppc32
profile. I did a emerge --sync, and I'll do an emerge --uDav system and then an emerge -eav world When this is done I'm gonna post it up and you can use it for a doc if you like.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 2:34 am    Post subject: Here's my problem.. stinking kernel again... Reply with quote

Would you like to merge these packages? [Yes/No] Yes

>>> Emerging (1 of 67) sys-kernel/linux-headers-2.6.17-r2 to /
* gentoo-headers-2.6.17-5.tar.bz2 RMD160 ;-) ... [ ok ] * gentoo-headers-2.6.17-5.tar.bz2 SHA1 ;-) ... [ ok ] * gentoo-headers-2.6.17-5.tar.bz2 SHA256 ;-) ... [ ok ] * gentoo-headers-2.6.17-5.tar.bz2 size ;-) ... [ ok ] * linux-2.6.17-m68k-headers.patch.bz2 RMD160 ;-) ... [ ok ] * linux-2.6.17-m68k-headers.patch.bz2 SHA1 ;-) ... [ ok ] * linux-2.6.17-m68k-headers.patch.bz2 SHA256 ;-) ... [ ok ] * linux-2.6.17-m68k-headers.patch.bz2 size ;-) ... [ ok ] * linux-2.6.17.tar.bz2 RMD160 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 SHA1 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 SHA256 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 size ;-) ... [ ok ]>>> Unpacking source...
>>> Unpacking linux-2.6.17.tar.bz2 to /var/tmp/portage/sys-kernel/linux-headers-2.6.17-r2/work
tar: pax_global_header: Unknown file type 'g', extracted as normal file

Who is checking the ppc32 source stream???

CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/posix_types.h:47,
from include/linux/types.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/posix_types.h:130:2: error: #endif without #if
In file included from include/linux/types.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/posix_types.h:50:2: error: #endif without #if
In file included from include/linux/types.h:16,
from include/linux/prefetch.h:14,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/posix_types.h:130:2: error: #endif without #if
In file included from include/linux/types.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/linux/prefetch.h:14,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm/asm-compat.h:5,
from include/asm/cputable.h:4,
from include/asm/reg.h:14,
from include/asm/processor.h:13,
from include/linux/prefetch.h:15,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm/processor.h:18,
from include/linux/prefetch.h:15,
from include/linux/list.h:5,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/linux/kernel.h:13,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/bitops.h:3,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/atomic.h:11,
from include/asm/atomic.h:416,
from include/asm/bitops.h:40,
from include/linux/bitops.h:9,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/bitops/non-atomic.h:4,
from include/asm/bitops.h:185,
from include/linux/bitops.h:9,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/bitops/fls64.h:4,
from include/asm/bitops.h:248,
from include/linux/bitops.h:9,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/bitops/hweight.h:4,
from include/asm/bitops.h:250,
from include/linux/bitops.h:9,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/bitops/sched.h:5,
from include/asm/bitops.h:328,
from include/linux/bitops.h:9,
from include/linux/kernel.h:15,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm/byteorder.h:11,
from include/linux/kernel.h:16,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/linux/byteorder/big_endian.h:11,
from include/asm/byteorder.h:87,
from include/linux/kernel.h:16,
from include/asm/system.h:7,
from include/linux/list.h:6,
from include/linux/signal.h:4,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/spinlock.h:79,
from include/linux/signal.h:5,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/spinlock_types.h:68:2: error: #endif without #if
In file included from include/asm/signal.h:4,
from include/linux/signal.h:6,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm-generic/siginfo.h:5,
from include/asm/siginfo.h:16,
from include/linux/signal.h:7,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/string.h:9,
from include/asm-generic/siginfo.h:280,
from include/asm/siginfo.h:16,
from include/linux/signal.h:7,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/sched.h:10,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/time.h:4,
from include/linux/timex.h:58,
from include/linux/sched.h:11,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/calc64.h:4,
from include/linux/jiffies.h:4,
from include/linux/sched.h:12,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm-generic/div64.h:20,
from include/asm/div64.h:1,
from include/linux/calc64.h:5,
from include/linux/jiffies.h:4,
from include/linux/sched.h:12,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/jiffies.h:6,
from include/linux/sched.h:12,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/bitmap.h:7,
from include/linux/cpumask.h:88,
from include/linux/sched.h:15,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/rwsem.h:17,
from include/asm/semaphore.h:16,
from include/linux/sched.h:20,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/ipc.h:4,
from include/linux/sem.h:5,
from include/linux/sched.h:27,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm/ipcbuf.h:18,
from include/linux/ipc.h:21,
from include/linux/sem.h:5,
from include/linux/sched.h:27,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/mutex.h:14,
from include/linux/notifier.h:13,
from include/linux/memory_hotplug.h:7,
from include/linux/mmzone.h:326,
from include/linux/gfp.h:4,
from include/linux/percpu.h:3,
from include/linux/rcupdate.h:41,
from include/linux/pid.h:4,
from include/linux/sched.h:33,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/spinlock_types.h:68:2: error: #endif without #if
In file included from include/linux/slab.h:17,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:41,
from include/linux/pid.h:4,
from include/linux/sched.h:33,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/pid.h:7,
from include/linux/sched.h:33,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm/unistd.h:447,
from include/linux/unistd.h:9,
from include/asm/seccomp.h:8,
from include/linux/seccomp.h:11,
from include/linux/sched.h:36,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm/syscalls.h:7,
from include/asm/unistd.h:450,
from include/linux/unistd.h:9,
from include/asm/seccomp.h:8,
from include/linux/seccomp.h:11,
from include/linux/sched.h:36,
from arch/powerpc/kernel/asm-offsets.c:18:
include/linux/types.h:216:2: error: #endif without #if
In file included from arch/powerpc/kernel/asm-offsets.c:22:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/prio_tree.h:20,
from include/linux/mm.h:15,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/fs.h:224,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm/stat.h:9,
from include/linux/stat.h:6,
from include/linux/fs.h:227,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/stat.h:56,
from include/linux/fs.h:227,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/kobject.h:20,
from include/linux/fs.h:229,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/kref.h:20,
from include/linux/kobject.h:25,
from include/linux/fs.h:229,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/radix-tree.h:24,
from include/linux/fs.h:231,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/quota.h:39,
from include/linux/fs.h:311,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/dqblk_xfs.h:20,
from include/linux/quota.h:137,
from include/linux/fs.h:311,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/dqblk_v2.h:8,
from include/linux/quota.h:139,
from include/linux/fs.h:311,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/linux/nfs_fs_i.h:4,
from include/linux/fs.h:715,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/asm/types.h:123:2: error: #endif without #if
In file included from include/asm-generic/fcntl.h:5,
from include/asm/fcntl.h:9,
from include/linux/fcntl.h:4,
from include/linux/fs.h:748,
from include/linux/mm.h:16,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
In file included from include/asm-ppc/io.h:7,
from include/asm/io.h:16,
from include/asm-ppc/pgtable.h:15,
from include/asm/pgtable.h:6,
from include/linux/mm.h:38,
from include/linux/mman.h:5,
from arch/powerpc/kernel/asm-offsets.c:23:
include/linux/types.h:216:2: error: #endif without #if
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.17-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3873: Called src_compile
ebuild.sh, line 1304: Called kernel-2_src_compile
kernel-2.eclass, line 1037: Called compile_headers
kernel-2.eclass, line 460: Called die

!!! prepare failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-kernel/linux-headers-2.6.17-r2/temp/build.log'.

(chroot) livecd linux-2.6.17 #

I'm tied up until this is resolved. Please help! Thanks.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 2:46 am    Post subject: well.. since I'm going from a 2.4 to 2.6 kernel.. I'll .. Reply with quote

Instead of following the standard 2004 to 2005 procedure I took I'm going to take the kernel 2.4 -> 2.6 upgrade route.
I am upgrading from 2004.1 to 2006.1. So I'm going to follow the kernel upgrade track. It appears after you set up
for the recent profile and an emerge sync that you should emerge -ua world.. then the normal modinit, udev.. etc

I still think that when I get to compile the kernel source it's gonna bork again.

Can someone in dev check with whoever is in charge of the ppc32 source code tree. I'm running this on a mac b & w g3.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Apr 13, 2007 5:26 am    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on PPC.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 12:18 pm    Post subject: ok..this is a PORTAGE Issue! Not just PPC! Reply with quote

Any ideas yet? Instead of just moving my post to another forum has anyone looked at what I said. I will know how far my
eemrge world got when I get home since my I have a patched linksys router taking the place of my server "homer" for now.
Homer does all my routing, QOS, smtp and everything else. Has anyone ran into this with a G3 or G4 ?
Is the latest linux kernel compiling for you?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Apr 13, 2007 1:38 pm    Post subject: Reply with quote

jerryn:
You were getting that error message because you were trying to build 2.6.17 kernel headers against a 2.4 kernel. Obviously, that won't work. :p The Gentoo/PPC team doesn't support 2.4 on PPC any more, so it's not surprising that there are issues with it. If you must stay with 2.4, mask the 2.6 headers, but I can't guarantee that there won't be other breakages.

For what it's worth, I have an 8500/180 running a 2.6.19 kernel just fine.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Fri Apr 13, 2007 2:05 pm    Post subject: Reply with quote

...and that's why I asked to have your post moved, so it would more visible to the people who could help you. :wink: :D
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 2:18 pm    Post subject: JoseJX.. i got a question Reply with quote

I thought I was moving to the 2.6 kernel with the step I took. OK. So I should emerge the 2.6 kernel first. What version for the
powermac G3 b&w? ppc-sources are gone. Which do you use? vanilla-sources? This make sense to me.
So now I should first procede with the kernel 2.4 - 2.6 upgrade path (dsub, new modutils and stuff).

If you saw what was in /var/temp/portage you would think the 2.6 kernel source was pulled down! So after headers are donloaded the
source from /usr/src/linux get's copied over to /var/temp/portage...? I'm suprised the patches were successfully applied! You would think that
that it would fail. I did a susspend before the failure and I looked at the source tree, it llooked like 2.6.17-r2!

So, what do you recommend?
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 2:33 pm    Post subject: thanks timebandit! Reply with quote

Damn.. and I've been running gentoo since 2004.1!

I'll upgrade the kernel first, do the dsub and modutil stuff and all the reest in the 2.4 ->2.6 upgrade path
and after that proceed with the emerge system and emerge world!


Hopefully in 48hrs homer will be back online!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Apr 13, 2007 2:37 pm    Post subject: Reply with quote

Here's what I would do. Follow the kernel upgrade guide (install udev, compile 2.6 kernel, etc.), either gentoo-sources or vanilla-sources are fine, the ppc specific stuff has been merged for a long time now. Don't worry about upgrading the rest of the system yet. After you've booted into the new kernel, emerge the new linux headers and re-compile glibc + the rest of the updates. You should be okay after that. :)

And yes, the whole 2.6 source was pulled down, the kernel headers package is generated from the kernel source named in the version of kernel headers (i.e. 2.6.17 in this case). This is not the same as actually using the 2.6 kernel though. :)

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Fri Apr 13, 2007 3:06 pm    Post subject: Thanks! Reply with quote

Thanks! I'll get this going when I get home.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Sat Apr 14, 2007 4:49 am    Post subject: upgraded to 2.6, followed the steps.. I can ssh in but .. Reply with quote

I can't login on the local console. I enter my login name, no chance to enter a password, it sits and times out.
I'm logged in remotely via ssh, I running an emerge -uDav system, in the morning I'll fire off an emerge -ua world
I checked /dev/console .. it's there! something in init maybe?

Some of the init scripts were not clean.

/etc/login.defs wasn't there. ..

Any ideas?
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sat Apr 14, 2007 6:54 am    Post subject: Reply with quote

it's hard to say where the problem is. maybe you can watch /var/log/messages while logging in?

maybe "revdep-rebuild" helps?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 14, 2007 1:59 pm    Post subject: Reply with quote

It could be pam, shadow, lots of things. Hard to say. Can you log in with SSH? Have you tried booting in single user mode? You can do this by appending the number 1 to the end of your kernel boot strings in BootX. This will let you into the system without a password and hopefully we can fix the issue.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Sat Apr 14, 2007 3:30 pm    Post subject: Fixed it. Reply with quote

I re-emerge system. That fixed. it. I'm running emerge world now. So far so good!
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Sat Apr 14, 2007 8:53 pm    Post subject: so far so good.. emerging world package 112 of 178 Reply with quote

Possibly by tonight I will be done! So far evertthing is compiling clean.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Mon Apr 16, 2007 2:16 am    Post subject: Homer is almost back! having problems with php and x.org Reply with quote

The emerge went ok with php5, phpinfo looks right when check with php cli
the php module load in apache. When I point my browser to the phpinfo.php file
I get prompted to save it as a file. Any clues?

At least the server is running
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Mon Apr 16, 2007 6:06 am    Post subject: Reply with quote

/etc/conf.d/apache2 wrote:

[...]
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"
[...]



that -D PHP5 is important. do you have set it?
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Mon Apr 16, 2007 2:56 pm    Post subject: Yes and when I hit a secure web directory to see the footer Reply with quote

Apache/2.0.58 (Gentoo) PHP/5.2.1-pl3-gentoo mod_ssl/2.0.58 OpenSSL/0.9.8d Server at www2.nfnnet.org Port 8001

A quick and dirty test to see if the module is loading up correctly. This footer looks good. This is by hitting a directory that's
set for no listing.


http://www2.nfnnet.org:8001/video/
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Wed Apr 18, 2007 2:47 am    Post subject: Here's what I did to get it to work. Reply with quote

All my settings were correct, php wasn't paring correct, so I emerge the bleeding edge apache 2.2.4 and php5, what do you know.. it works now.
I'm still compiling gnome in the background bit heck.. the new environment is comming together.
Back to top
View user's profile Send private message
jerryn
n00b
n00b


Joined: 12 Apr 2007
Posts: 27

PostPosted: Sun Apr 22, 2007 8:13 pm    Post subject: Resolved! Reply with quote

My 2004.1 system has been succesfully upgraded to 2006.1, PHP, mod_mono, ruby, python, ATI 3D, ... everyrhing is working great!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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