New Kernel on a RS6000 44p 170
Bürgin Daniel (KTSS 1)
daniel.buergin at credit-suisse.com
Thu Mar 27 21:33:27 EST 2003
> So, you're booting with yaboot?
>
> Could you do objdump -ph on your old working kernel and the on the new
> kernel which doesn't work and send me the output?
>
> > > Can Anybody give me a hint witch Kernel Sources i should take
> > > and witch config Settings i should use ?
>
> CONFIG_POWER3 is right; as to other things you don't need the
> mac-specific drivers or IDE. You probably do want CONFIG_VT and
> CONFIG_FB and (I would guess) CONFIG_FB_MATROX (depending on what
> video card you have). I can send you the .config I use for ppc32
> kernels on RS/6000 170 and 270 machines if you like.
>
> > I'm not sure how good the POWER3 support is in the 32-bit ppc
> > kernel, so...
>
> Should be just fine for a machine with <= 3GB of RAM.
Yes, i'am booting with yaboot, works fine.
----> objdump from my working Kernel
vmlinux.chrp-2.4.16-POWER3-SMP: file format elf32-powerpc
Program Header:
LOAD off 0x00010000 vaddr 0x00400000 paddr 0x00400000 align 2**16
filesz 0x00006470 memsz 0x00006470 flags r-x
LOAD off 0x00016470 vaddr 0x00416470 paddr 0x00416470 align 2**16
filesz 0x0014ce9c memsz 0x0016e47c flags rw-
NOTE off 0x00000094 vaddr 0x00000000 paddr 0x00000000 align 2**0
filesz 0x0000002c memsz 0x00000000 flags ---
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00005c88 00400000 00400000 00010000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 000007e0 00405c90 00405c90 00015c90 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .sdata2 00000000 00406470 00406470 00016470 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .data 0014ce88 00416470 00416470 00016470 2**2
CONTENTS, ALLOC, LOAD, DATA
4 .sdata 00000014 005632f8 005632f8 001632f8 2**2
CONTENTS, ALLOC, LOAD, DATA
5 .sbss 00000050 0056330c 0056330c 0016330c 2**2
ALLOC
6 .bss 00021590 0056335c 0056330c 0016330c 2**2
ALLOC
7 .comment 00000230 00000000 00000000 0016330c 2**0
CONTENTS, READONLY
----> objdump from my new Kernel
vmlinux.chrp-2.4.21: file format elf32-powerpc
Program Header:
LOAD off 0x00010000 vaddr 0x00400000 paddr 0x00400000 align 2**16
filesz 0x00106000 memsz 0x001275dc flags rwx
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00005d30 00400000 00400000 00010000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 001002d0 00405d30 00405d30 00015d30 2**4
CONTENTS, ALLOC, LOAD, DATA
2 .bss 000215dc 00506000 00506000 00116000 2**2
ALLOC
As far as i understand now, the 32bit Kernel is ok for me (512MB Ram) and
no need in the moment for the 64bit Stuff.
Yes, it would be nice if you could send me your .config File !
Do i understand right ?
- bk clone kb://linux.bkbits.net/linux-2.4 linux-2.4
- Copy your .config to linux-2.4
- make dep zImage modules modules_install
- Copy arch/ppc/boot/images/zImage.chrp /boot/vmlinx
- reboot this kernel
By the way, is this the right way to communicate with such a Mailing-List,
or am'i doing something wrong ?
Regards,
Daniel
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list