Custom 2.6 Kernel on Power5 pSeries

Yaoping Ruan yruan at cs.princeton.edu
Mon Apr 11 14:34:27 EST 2005


Did you mean using the RH config installed by default as 
/boot/config-***? Yes, I did.

I installed RHEL 4 on a Xeon server with 2 CPUs, and resumed the kernel 
compiling process. It was successful. The only difference between the 
Xeon and the Power I noticed was that "make install" actually failed on 
the Power. (I installed the kernel by using "installkernel and mkunitrd").

-Yaoping

>Have you tried just the generic RH config, make sure you can build boot that, 
>then make your changes?
>
>Mike
>  
>
>>10) make; make modules; make modules_install; make install (check
>>vmlinux, system.amp and initrd are installed under /boot)
>>11) update /etc/yaboot.conf to the new kernel, my yaboot looks as follow:
>>
>>Hit <TAB> for boot options
>>
>>partition=2
>>timeout=20
>>install=/usr/lib/yaboot/yaboot
>>default=linux
>>delay=5
>>nonvram
>>
>>image=/vmlinux-2.6.9-smp
>>        label=2.6.9-smp
>>        read-only
>>        initrd=/initrd-2.6.9-smp.img
>>        root=/dev/VolGroup00/LogVol00
>>        append="console=hvsi1 rhgb"
>>
>>image=/vmlinuz-2.6.9-5.EL
>>        label=linux
>>        read-only
>>        initrd=/initrd-2.6.9-5.EL.img
>>        root=/dev/VolGroup00/LogVol00
>>        append="console=hvsi1 rhgb"
>>
>>(2.6.9-smp is the new kernel)
>>
>>When the new kernel boots, it will reboot automatically at some point.
>>Since I am using a dial-up console, I couldn't identify at which step if
>>failed.
>>
>>-Yaoping
>>
>>will schmidt wrote:
>>    
>>
>>>Yaoping Ruan wrote:
>>>      
>>>
>>>>Hello,
>>>>
>>>>Is there anybody had successful experience compiling 2.6 kernel on
>>>>Power 5 servers? We recently purchased a Power5 p520 server and
>>>>installed with RHEL4 for ppc64. While the installation was ok, I had
>>>>problem compiling a custom kernel.
>>>>
>>>>I installed the kernel src rpm, generated the ppc code, and compiled
>>>>the kernel with the default config in /boot. When I updated the
>>>>yaboot.conf and reboot, it died in the middle reporting "vfs error ...".
>>>>
>>>>I'd appreciate if anybody can share some experience with me, or give
>>>>me some links for instruction.
>>>>
>>>>-Yaoping
>>>>_______________________________________________
>>>>Linuxppc64-dev mailing list
>>>>Linuxppc64-dev at ozlabs.org
>>>>https://ozlabs.org/cgi-bin/mailman/listinfo/linuxppc64-dev
>>>>        
>>>>
>>>Did you also build an initrd with your new kernel?   (with mkinitrd
>>>command?)
>>>
>>>Filesystems and scsi drivers are usually modules, and are most likely
>>>missing from your newly built kernel.
>>>
>>>
>>>-Will
>>>      
>>>
>>_______________________________________________
>>Linuxppc64-dev mailing list
>>Linuxppc64-dev at ozlabs.org
>>https://ozlabs.org/cgi-bin/mailman/listinfo/linuxppc64-dev
>>    
>>




More information about the Linuxppc64-dev mailing list