FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-08-2011, 10:45 PM
"Brian C. Lane"
 
Default Ensure ppc64 ramdisk.image file is <= 32MB (#675685)

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)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org