Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305525 Details for
Bug 446279
kdump initrd does not handle lun scanning race condition
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix race condition on kdump boot
mkdumprd-module-loading.patch (text/plain), 3.13 KB, created by
Doug Chapman
on 2008-05-15 19:13:28 UTC
(
hide
)
Description:
fix race condition on kdump boot
Filename:
MIME Type:
Creator:
Doug Chapman
Created:
2008-05-15 19:13:28 UTC
Size:
3.13 KB
patch
obsolete
>*** mkdumprd.broken 2008-05-14 16:15:15.000000000 -0400 >--- mkdumprd 2008-05-15 11:03:03.000000000 -0400 >*************** if [ -n "$needusb" -a "x$PROBE" == "xyes >*** 684,720 **** > fi > fi > >- if [ -n "$forcescsi" -o -z "$noscsi" -a "x$PROBE" == "xyes" ]; then >- if [ ! -f $modulefile ]; then >- modulefile=/etc/conf.modules >- fi >- >- if [ -f $modulefile ]; then >- scsimodules=`grep "alias[[:space:]]\+scsi_hostadapter" $modulefile | grep -v '^[ ]*#' | LC_ALL=C sort -u | awk '{ print $3 }'` >- >- if [ -n "$scsimodules" ]; then >- for n in $scsimodules; do >- # for now allow scsi modules to come from anywhere. There are some >- # RAID controllers with drivers in block/ >- findmodule $n >- done >- fi >- fi >- fi >- >- # If we have ide devices and module ide, do the right thing >- ide=/proc/ide/ide* >- if [ -n "$forceide" -o -n "$ide" -a "x$PROBE" == "xyes" ]; then >- findmodule -ide-disk >- fi >- >- # If we have dasd devices, include the necessary modules (S/390) >- if [ "x$PROBE" == "xyes" -a -d /proc/dasd ]; then >- findmodule -dasd_mod >- findmodule -dasd_eckd_mod >- findmodule -dasd_fba_mod >- fi >- > if [ "x$PROBE" == "xyes" ]; then > rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' $fstab) > rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; }}' $fstab) >--- 684,689 ---- >*************** if [ "x$PROBE" == "xyes" ]; then >*** 758,763 **** >--- 727,765 ---- > fi > fi > >+ >+ if [ -n "$forcescsi" -o -z "$noscsi" -a "x$PROBE" == "xyes" ]; then >+ if [ ! -f $modulefile ]; then >+ modulefile=/etc/conf.modules >+ fi >+ >+ if [ -f $modulefile ]; then >+ scsimodules=`grep "alias[[:space:]]\+scsi_hostadapter" $modulefile | grep -v '^[ ]*#' | LC_ALL=C sort -u | awk '{ print $3 }'` >+ >+ if [ -n "$scsimodules" ]; then >+ for n in $scsimodules; do >+ # for now allow scsi modules to come from anywhere. There are some >+ # RAID controllers with drivers in block/ >+ findmodule $n >+ done >+ fi >+ fi >+ fi >+ >+ # If we have ide devices and module ide, do the right thing >+ ide=/proc/ide/ide* >+ if [ -n "$forceide" -o -n "$ide" -a "x$PROBE" == "xyes" ]; then >+ findmodule -ide-disk >+ fi >+ >+ # If we have dasd devices, include the necessary modules (S/390) >+ if [ "x$PROBE" == "xyes" -a -d /proc/dasd ]; then >+ findmodule -dasd_mod >+ findmodule -dasd_eckd_mod >+ findmodule -dasd_fba_mod >+ fi >+ >+ > # If we use LVM or dm-based raid, include dm-mod > # XXX: dm not really supported yet. > testdm="" >*************** EOF >*** 1448,1453 **** >--- 1450,1471 ---- > fi > done > >+ cat >> $MNTIMAGE/init << EOF >+ if [ -f /proc/scsi/scsi ] >+ then >+ echo "Waiting for scsi driver initialization" >+ LAST_FVAL=0 >+ FVAL=\`md5sum /proc/scsi/scsi\` >+ while [ "\$LAST_FVAL" != "\$FVAL" ] >+ do >+ LAST_FVAL=\$FVAL >+ #wait half a second and check again >+ usleep 500000 >+ FVAL=\`md5sum /proc/scsi/scsi\` >+ done >+ fi >+ EOF >+ > # HACK: module loading + device creation isn't necessarily synchronous... > # this will make sure that we have all of our devices before trying > # things like RAID or LVM
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446279
:
305363
|
305402
|
305525
|
305717