Bug 474470

Summary: RFE: Need /proc or /sys view of adding device state
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: arjan, coughlan, kernel-maint, pjones, redhat-bugzilla, rharwood
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-14 19:57:46 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:    
Bug Blocks: 473302    

Description Warren Togami 2008-12-03 22:30:11 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=470628#c36
Some F-10 users report failure in booting because it attempts to access the disks before the SCSI scanning has stabilized.  mkinitrd uses both "stabilized" and optionally scsi_wait_scan to wait for the disks to be ready before proceeding.

scsi_wait_scan is a hack that achieves this goal in a non-ideal way.

pjones wants there to be a /proc or /sys file that can be read to determine the state of scanning.  He wants there to be at least two states visible, but more informative states would be welcome.  He says that this wont make much difference to boot speed on a single device system, but large systems it will allow faster booting.

Desired States
==============
* (REQUIRED) Currently adding something
* (OPTIONAL) Intermediate informational states if they make sense?
* (REQUIRED) Done

initrd would read this file before it reaches the point where it needs to access those disks.  If it is not yet ready, it will poll until it is done.  

We hope this can be upstream for kernel-2.6.29.

Comment 1 Warren Togami 2008-12-03 22:35:39 UTC
Adding arjan because pjones mentioned he might have an opinion on this.
Assigning to coughlan because riel said so.

Comment 2 Jesse Keating 2009-04-14 00:44:37 UTC
I don't believe we'd hold up F11 for this, in fact a change like this may not be prudent at this stage anyway.

Comment 3 Bug Zapper 2010-03-15 12:19:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Warren Togami 2019-09-15 19:05:06 UTC
Wow surprised this ticket is still open.

pjones is this still relevant at all? Feel free to close if not.

Comment 6 Robbie Harwood 2022-01-14 19:57:46 UTC
I think it's safe to close at this point.