Re: Kernel 2.6.23 installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fed2007 wrote:
Hi,
I've installed the following in my PS3/60GB:

1. Fedora 7(ppc64) 2.6.21-1.3194
2. CELL-Linux-CL_20071023-ADDON with kernel 2.6.23
   -installed using:
    cd /media/addon/target
    rpm -ihv --force *.rpm

    results:
    all rpms were installed ok but initrd.img-2.6.23 is not copied to /boot so I've copied it manually.

"Oh dear," I thought as I read past here.

3. lvm2-2.02.24-1.fc7.ps3.ppc.rpm
4. created new initrd after loading lvm2 above.
   mkinitrd initrd-2.6.23-xy.img 2.6.23

Booting with kernel 2.6.21-1.3194 is OK.
Booting with kernel 2.6.23 is not OK.

yaboot.conf:

# yaboot.conf generated by anaconda

boot=/dev/sda
init-message=Welcome to Fedora!nHit  for boot options

partition=1
timeout=80
install=/usr/lib/yaboot/yaboot
delay=10
enablecdboot
enableofboot
enablenetboot
nonvram
mntpoint=/boot/yaboot
usemount

image=/vmlinux-2.6.23
        label=linux-23
        read-only
        initrd=/initrd-2.6.23-xy.img
        append="video=720p rhgb quiet root=LABEL=/1"

image=/vmlinuz-2.6.21-1.3194.fc7
        label=linux-21
        read-only
        initrd=/initrd-2.6.21-1.3194.fc7.img
        append="video=720p rhgb quiet root=LABEL=/1"

Boot problem:

1. booting problem with kernel 2.6.23 where it says "unable to find device-mapper major/minor"
This justifies my "Oh dear."

Trying to solve:

1. PS3: Shutdown Fedora 7 still needs to press/hold ps3 power button.

2. boot-game-os is also not working.

3. trying to have a full screen without black borders around the picture.

Need your help to overcome these problems. Thanks.

I suspect the initrd wasn't create properly.

Try this command, the results should be similar to mine:
[root@potoroo ~]# file -z /boot/initrd-2.6.2*
/boot/initrd-2.6.21-2950.fc8xen.img: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, last modified: Sat Oct 27 09:27:11 2007, max compression) /boot/initrd-2.6.23.1-42.fc8.img: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, last modified: Fri Nov 9 09:46:53 2007, max compression) /boot/initrd-2.6.23.1.img: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, last modified: Sun Nov 11 09:01:17 2007, max compression)
[root@potoroo ~]#


First, the diagnosis. Assuming yours is a CPIO archive (I'm sure it is), you can unpack it like this:
cd /tmp
gzip -dc </boot/initrd-2.6.23.1-42.fc8.img: | cpio <read the man page for what goes here>

Have a look at what's come out of it. It should be similar to what I have here (this is another way to see what's in it): [root@potoroo ~]# gzip -dc /boot/initrd-2.6.23.1-42.fc8.img | cpio --list | grep ko$
lib/dm-mirror.ko
lib/sd_mod.ko
lib/dm-snapshot.ko
lib/libata.ko
lib/ext3.ko
lib/scsi_mod.ko
lib/dm-zero.ko
lib/jbd.ko
lib/ata_generic.ko
lib/ohci-hcd.ko
lib/ehci-hcd.ko
lib/mbcache.ko
lib/scsi_wait_scan.ko
lib/ata_piix.ko
lib/uhci-hcd.ko
lib/dm-mod.ko
18848 blocks
[root@potoroo ~]# fdisk -l /dev/sda

You need those dm- modules. If they're not there, that's the problem. It should be cured by running mkinitrd manually, or you can just copy them (from the correct kernel) into that lib directory and recreate the archive with cpio and (optionally) gzip. Then, it should "just work," I think all those modules get loaded.

Oh, I have a lib64. They don't belong in there.




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux