Bug 123612

Summary: Upgrade includes non-existant SCSI drivers in modprobe.conf
Product: [Fedora] Fedora Reporter: Shahms E. King <shahms>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: notting, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-11 05:12:19 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:
Attachments:
Description Flags
modprobe.conf (with scsi_hostadapter) none

Description Shahms E. King 2004-05-19 17:12:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040404 Firefox/0.8

Description of problem:
Upgrading a system from FC1 with an "alias scsi_hostadapter tmscsim"
line in modules.conf causes that same line to be included in
modprobe.conf even though the driver no longer exists.  This causes
mkinitrd to fail, which, in turn, causes 'new-kernel-pkg' to fail
meaning the grub configuration is not updated, leaving the system
unbootable.

The problem also occurs with the "initio" driver (and I assume any
SCSI driver that is no longer supported in 2.6).

Ideally anaconda or which ever post-install script is responsible for
migrating modules.conf to modprobe.conf would ensure that all SCSI
drivers specified are present in the shipped 2.6 kernel and either
leave them out entirely or comment them out.

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


How reproducible:
Always

Steps to Reproduce:
1. Install FC1 with a DC390 SCSI Adapter.
2. Upgrade to FC2.
    

Actual Results:  After the upgrade is complete, grub attempts to boot
a non-existant 2.4 kernel.

Expected Results:  The unsupported SCSI adapter is ignored or removed
and grub is properly updated allowing a normal boot.

Additional info:

Comment 1 GĂ©rard Milmeister 2004-05-19 17:38:47 UTC
I had exactly the same problem but with the Initio module. I had to
boot rescue, remove any traces of initio in the /etc config files, and
perform new-kernel-pkg manually. This is PITA, I was able to do it,
but any less knowledgeable than I would be left with an unusable system.

Comment 2 Jeremy Katz 2004-05-20 02:32:21 UTC
Bill -- does kudzu make sure the module exists before writing the
scsi_hostadapter line?

Shahms -- can you attach /etc/modprobe.conf* from your system?

Comment 3 Shahms E. King 2004-05-20 02:45:31 UTC
Created attachment 100366 [details]
modprobe.conf (with scsi_hostadapter)

Jeremy, here is my modprobe.conf.  Note that I've upgraded to 2.6.6.-1.370 w/
the tmscsim module enabled.

Comment 4 Bill Nottingham 2004-05-24 21:37:04 UTC
kudzu checks.

The modules.conf -> modprobe.conf migrator does not.

Are these modules replaced with something? Or did the driver just Go Away?

Comment 5 Shahms E. King 2004-05-24 21:50:05 UTC
As I've filed in bug #123616 it's simply not built because it wasn't
ported to 2.6 until relatively late (2.6.0-rc3 last time I checked). 
It does, however, work as well or better than some SCSI adapters that
are included.

Comment 6 Bill Nottingham 2004-05-25 15:53:45 UTC
Assigning to kernel for the driver enablement.

Comment 7 Jeremy Katz 2004-05-26 03:20:27 UTC
At the same time, the module convertor probably needs to be smarter
about handling this too...

Comment 8 Dave Jones 2005-01-11 05:12:19 UTC
similar problem to #142692 ?

we lacked the module_upgrade calls in the spec until recently too, which
probably didn't help things.

anyways, dc390t is now built.