Bug 527800

Summary: rc.sysinit stop during boot at "Sync waiting for storage"
Product: [Fedora] Fedora Reporter: Karsten Roch <karo1170>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dougsland, gansalmon, itamar, kernel-maint, notting
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-02 20:07:34 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:

Description Karsten Roch 2009-10-07 18:38:28 UTC
Description of problem:

When booting the kernel 2.6.31.1-56.fc12.i686 and using initscripts-9.00-1.i686 the system boot stops at the following line in /etc/rc.d/rc.sysinit

# Sync waiting for storage.
{ rmmod scsi_wait_scan ; modprobe scsi_wait_scan ; rmmod scsi_wait_scan ; } >/dev/null 2>&1

There is no error message to be seen. When i comment out this line, booting works ok. 

Version-Release number of selected component (if applicable):

kernel 2.6.31.1-56.fc12.i686 
initscripts-9.00-1.i686 

How reproducible:

Always

Steps to Reproduce:
1.Booting with kernel 2.6.31.1-56.fc12.i686 and using initscripts-9.00-1.i686 

2. When rc.sysinit reaches the chapter "Sync waiting for storage" the booting stop. No message, no logfile written.

  
Actual results:
Prompt stays on screen, waiting, nothing to be seen on screen, no message, no logfile written.

Expected results:
Booting continues according to the steps in rc.sysinit.

Additional info:

On a console,rmmod scsi_wait_scan returns:

rmmod scsi_wait_scan
ERROR: Module scsi_wait_scan does not exist in /proc/modules

modprobe scsi_wait_scan give no result back on screen, the cursor just flushes. A lsmod |grep scsi shows then:

lsmod | grep scsi
scsi_wait_scan          1188  1 

another rmmod scsi_wait_scan returns:

rmmod scsi_wait_scan
ERROR: Module scsi_wait_scan is in use

I dont have any scsi-Devices attached to my hardware, just a single SATAII HD and a ATAPI DVD/CD.

Comment 1 Chuck Ebbert 2009-10-12 02:20:58 UTC
Can you change that line to:

rmmod scsi_wait_scan    >/dev/null 2>&1
modprobe scsi_wait_scan >/dev/null 2>&1
rmmod scsi_wait_scan    >/dev/null 2>&1

And then see where it hangs?

Comment 2 Karsten Roch 2009-10-13 17:55:04 UTC
I modified the lines to:

rmmod scsi_wait_scan    
modprobe scsi_wait_scan
rmmod scsi_wait_scan    

and received the following error messages on screen:

ERROR:Module scsi_wait_scan does not exist in /proc/modules


(With 

rmmod scsi_wait_scan    >/dev/null 2>&1
modprobe scsi_wait_scan >/dev/null 2>&1
rmmod scsi_wait_scan    >/dev/null 2>&1

i only see a black screen, no output and no comments...)

Regards
Karsten

Comment 3 Chuck Ebbert 2009-10-15 02:01:29 UTC
Can you try:

echo 'removing scsi_wait_scan:1'
rmmod scsi_wait_scan    
echo 'inserting scsi_wait_scan'
modprobe scsi_wait_scan
echo 'removing scsi_wait_scan:2'
rmmod scsi_wait_scan

Comment 4 Karsten Roch 2009-10-15 16:45:51 UTC
I added the following lines to rc.sysinit, here are the results:


echo 'removing scsi_wait_scan:1'
rmmod scsi_wait_scan    

This line generates the error messages:
ERROR:Module scsi_wait_scan does not exist in /proc/modules

echo 'inserting scsi_wait_scan'
modprobe scsi_wait_scan

Here the system stop booting, a blinking cursor is the only thing, which is shown. No error message on screen, a ctrl+c brings the system to reboot.



echo 'removing scsi_wait_scan:2'
rmmod scsi_wait_scan  

I dont reach this line...

Regards
Karsten

Comment 5 Karsten Roch 2009-11-02 20:05:21 UTC
An update to kernel 2.6.31.5-96.fc12.i686 and initscripts-9.02-1.i686 solved the problem on my site. Booting now works fine.

Thanks for your help!