Bug 533490

Summary: [LTC 6.0 FEAT] 201085:cio_ignore - carry param to zipl.conf
Product: Red Hat Enterprise Linux 6 Reporter: Denise Dumas <ddumas>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: bhinson, borgan, bugproxy, ejratl, gmuelas, jjarvis, jstodola, maier, pknirsch, snagar
Target Milestone: betaKeywords: FutureFeature, Reopened
Target Release: 6.0   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: anaconda-12.38.4-1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 463544 Environment:
Last Closed: 2010-07-02 20:41:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 463544    
Bug Blocks: 554559    

Comment 1 Denise Dumas 2009-11-06 21:21:43 UTC
This BZ tracks the first part of Comment 9 in the earlier BZ, the zipl.conf change.


> Here is what I presented last Fr. on eSDT meeting:
> A Linux on System z system will in most cases see a lot more devices than it
> should be using (up to a current theoretical maximum of 262144 devices, in
> practice, 1000-4000 devices are common) Using the cio_ignore kernel parameter
> and /proc interface, this feature should mask the ccw devices which are not
> used and unmask them if they are needed. Note: When unmasking should be
> waited/verified that dev. is there (via sysfs) with a timeout (in case device
> does not exist).
> More details about cio_ignore under:
> − Latest version of Device Drivers, Features, and Commands at:
> http://www.ibm.com/developerworks/linux/linux390/development_documentation.html
> 
> This should be done during the installation and HW setup tools (like
> system-config-network) and persistent for each boot.
> 
> What is needed for this feature:
> - Patch anaconda to:
>    By default mask all the devices except the console (0009) in generic.prm
> (default parmfile for installation)and propagate this kernel parameter to the
> zipl.conf (for boot)

This bug is about the first part of this requirement.  Carrying the parameter
over to zipl.conf is a separate bug and should be filed as such.

Comment 2 David Cantrell 2009-11-07 00:32:01 UTC
This is present in commit e1048cc671708ed79b5fcbafc70ceeea01b8a70a.

Comment 4 releng-rhel@redhat.com 2009-11-10 22:39:17 UTC
Fixed in 'anaconda-12.38.4-1'. 'anaconda-12.38.4-1.el6' included in compose 'RHEL6.0-20091110.0'.
Moving to ON_QA.

Comment 5 Jan Stodola 2009-11-18 11:19:44 UTC
Verified with RHEL6.0-20091111.0 and anaconda-12.38.4-1.el6.

Manual installation with parm file:
root=/dev/ram0 ro ip=off ramdisk_size=40000 cio_ignore=all,!0.0.0009
CMSDASD=191 CMSCONFFILE=e40.conf foipv6 lang=en_US 

zipl.conf after installation:
[defaultboot]
default=linux
target=/boot/
[linux]
        image=/boot/vmlinuz-2.6.31-35.el6.s390x
        ramdisk=/boot/initramfs-2.6.31-35.el6.s390x.img
        parameters="root=/dev/mapper/vg_strongbad-LogVol01 cio_ignore=all,!0.0.0009 rd_DASD=0.0.3126 rd_DASD=0.0.3226 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us"

Moving to VERIFIED

Comment 10 releng-rhel@redhat.com 2010-07-02 20:41:52 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.