Bug 474470 - RFE: Need /proc or /sys view of adding device state [NEEDINFO]
Summary: RFE: Need /proc or /sys view of adding device state
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Mike Christie
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F12Target
TreeView+ depends on / blocked
Reported: 2008-12-03 22:30 UTC by Warren Togami
Modified: 2019-09-15 19:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed:
Type: ---
wtogami: needinfo? (pjones)

Attachments (Terms of Use)

Description Warren Togami 2008-12-03 22:30:11 UTC
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?

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:

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.

Note You need to log in before you can comment on or make changes to this bug.