Re: [updated PATCH] Ensure ppc64 ramdisk.image file is <= 32MB (#675685)

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

 



On Tue, Feb 08, 2011 at 01:19:31PM -1000, David Cantrell wrote:
> [Update to the original patch, moves the removal block to before the "#
> clean up leftover cruft" block.]
> 
> 
> Ensure ppc64 ramdisk.image file is <= 32MB (#675685)
> 
> Remove some kernel modules and firmware files so the ppc64
> ramdisk.image.gz file is 32MB or less.  The core issue here is the TFTP
> client code in on most (or all) ppc64 systems cannot transfer a file
> larger than 32MB.
> 
> NOTE: This is not an ideal solution to a firmware bug.  ppc64 systems
> from IBM are incapable of pulling over a file larger than 32MB via TFTP,
> which prevents network booting on ppc64 when the install image grows
> beyond that size.  These removals are a temporary workaround until IBM
> can fix the firmware on affected systems.  The kernel modules and
> firmware selected for removal is based on the assumption that most ppc64
> users will not be using these devices during install time (or ever).  If
> you do use devices that require these files during installation, we urge
> you to seek another architecture or ask that you request a firmware fix
> from IBM.
> 
> diff --git a/scripts/mk-images b/scripts/mk-images
> index d05e9bc..ef78b8c 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -336,6 +336,15 @@ makemoduletree() {
>  search updates built-in
>  EOF
> 
> +    # Remove some modules and firmware on ppc64 so the ramdisk image
> +    # is <= 32MB (BZ #675685)
> +    if [ "$BUILDARCH" = "ppc64" ]; then
> +        for subdir in firewire pcmcia sound wireless ; do
> +            find -H $MMB_DIR/lib/modules -name $subdir | xargs rm -rf
> +        done
> +        rm -rf $MMB_DIR/lib/firmware/{matrox,r128,radeon,zd1211}
> +    fi
> +
>      # clean up leftover cruft
>      find -H $MMB_DIR/lib/modules -type d -exec rmdir -f {} \; 2>/dev/null
>      $MODLIST --modinfo-file $MODINFO --ignore-missing --modinfo \

Ack.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpT8OFvlRBKA.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux