Re: MOL 0.9.39 on PowerBase (603ev) - Won't start up


Subject: Re: MOL 0.9.39 on PowerBase (603ev) - Won't start up
From: Ed Jaeger (ed.jaeger@bgcorp.com)
Date: Wed Feb 02 2000 - 12:07:46 MST


I never got a clean patch, so I went & got the 2.2.10 kernel since it
has a specific patch in thhe mol .rpm. My results follow:

Script started on Wed Feb 2 06:33:57 2000
[root@laura src]# pwd
/usr/src
[root@laura src]# ls -al
total 29357
drwxr-xr-x 6 1002 1002 1024 Feb 2 06:33 .
drwxr-xr-x 19 root root 1024 Jan 28 06:32 ..
-rwxr-xr-x 1 root root 14010643 Feb 2 06:32 linux-2.2.10.tar.gz
drwxr-xr-x 16 root root 2048 Dec 2 14:31 linux-2.2.12
drwxr-xr-x 15 1046 console 2048 Jan 31 15:37 linux-2.2.14
-rw-rw-r-- 1 ed_j ed_j 15918652 Jan 27 21:12 linux-2.2.14.tar.gz
drwxr-xr-x 14 root root 1024 Nov 19 17:50 linux-2.2.6
-rw-r--r-- 1 root root 2152 Jan 28 06:44 macally.patch
drwxr-xr-x 7 root root 1024 Oct 2 02:07 redhat
-rw-r--r-- 1 root root 0 Feb 2 06:33 typescript
[root@laura src]# tar xzf linux-2.2.10.tar.gz
[root@laura src]# mv linux linux-2.2.10
[root@laura src]# ln -s linux-2.2.10 linux
[root@laura src]# patch -d / usr/src/linux -p0 <
/usr/src/doc/mol-0.9.39/Kernel_Patches/mol-kernel-2.2.10.patch
patching file `arch/ppc/kernel/head.S'
patching file `arch/ppc/kernel/ppc_ksyms.c'
patching file `arch/ppc/mm/init.c'
patching file `arch/ppc/config.in'

# JOY! a clean patch!

[root@laura linux]# make menuconfig

# configuration info removed, but MOL was set!

Saving your kernel configuration...

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

[root@laura linux]# make clean dep vmlinux modules module_install
rm -f arch/ppc/kernel/{mk_defs,ppc_defs.h,find_name,checks}

# make continues on its merry way until.......

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe
-fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-DEXPORT_SYMTAB -c ppc_ksyms.c
ppc_ksyms.c:68: `disable_irq_nosync' undeclared here (not in a function)
ppc_ksyms.c:68: initializer element for
`__ksymtab_disable_irq_nosync.value' is not constant
ppc_ksyms.c:154: `kernel_thread' undeclared here (not in a function)
ppc_ksyms.c:154: initializer element for `__ksymtab_kernel_thread.value'
is not constant
make[1]: *** [ppc_ksyms.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.2.10/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2
[root@laura linux]# exit

Script done on Wed Feb 2 07:12:38 2000

# Aw fsck - something's wrong! time to dig deeper....I have no idea what.
# It's one of the patched files....

Todd Rossman wrote:
>
> I don't have answers, only more pieces to the puzzle. I'm using a Umax 600
> with the same 603ev processor. I did all you mentioned below too
> since my last posting, then decided to backtrack and try to find the
> source of the problem by using kernel 2.2.12 with rpm 0.9.39.
>
> Do you get these similar results when patching?
>
> [root@aspazija Kernel_Patches]# patch --dry-run -d /usr/src/linux -p0 <
> mol-kernel-2.2.10.patch
> patching file `arch/ppc/kernel/head.S'
> Hunk #3 succeeded at 542 (offset -9 lines).
> Hunk #5 succeeded at 651 (offset -9 lines).
> Hunk #7 succeeded at 683 (offset -9 lines).
> Hunk #9 succeeded at 1227 (offset -9 lines).
> Hunk #11 succeeded at 1305 (offset -9 lines).
> Hunk #13 succeeded at 2391 (offset 38 lines).
> Hunk #15 succeeded at 2655 (offset 38 lines).
> patching file `arch/ppc/kernel/ppc_ksyms.c'
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 5 out of 5 hunks ignored -- saving rejects to
> arch/ppc/kernel/ppc_ksyms.c.rej
> patching file `arch/ppc/mm/init.c'
> Hunk #1 FAILED at 1.
> Hunk #2 succeeded at 153 with fuzz 1 (offset 2 lines).
> Hunk #3 FAILED at 272.
> Hunk #4 FAILED at 1308.
> 3 out of 4 hunks FAILED -- saving rejects to arch/ppc/mm/init.c.rej
> patching file `arch/ppc/config.in'
> Hunk #1 FAILED at 1.
> Hunk #2 succeeded at 153 with fuzz 1 (offset 2 lines).
> Hunk #3 FAILED at 272.
> Hunk #4 FAILED at 1308.
> 3 out of 4 hunks FAILED -- saving rejects to arch/ppc/mm/init.c.rej
> patching file `arch/ppc/config.in'
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 175.
> 2 out of 2 hunks FAILED -- saving rejects to arch/ppc/config.in.rej
>
> Todd Rossman
> todd@alkhemy.com
> todd@gde.to
>

-- 
Ed Jaeger, CFO, Bohlender Graebener Corporation
ed.jaeger@bgcorp.com
http://www.bgcorp.com
---
"Man must first cease attributing his problems to his environment and
learn again to exercise his will--his personal responsibility."

- Albert Schweitzer



This archive was generated by hypermail 2a24 : Wed Mar 01 2000 - 00:06:20 MST