Bug 161420 - mptfusion crash during booting
mptfusion crash during booting
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Dave Jones
Brian Brock
: 161347 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-06-23 04:02 EDT by Fabio Bettoni
Modified: 2015-01-04 17:20 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-03 19:43:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Log of kernel boot (16.60 KB, text/plain)
2005-06-23 04:02 EDT, Fabio Bettoni
no flags Details

  None (edit)
Description Fabio Bettoni 2005-06-23 04:02:03 EDT
Description of problem:

Version-Release number of selected component (if applicable):
starting from kernel 2.6.12, while kernels 2.6.11 were working

How reproducible:
simply booting

Actual results:
mkrootdev: label /1 not found
Mounting root filesystem
mount: error 2 mounting ext3
Switching to new root
ERROR opening /dev/console!!!!: 2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fKernel panic - not syncing: Attempted to kill init!
d of 0 to 2
unmounting old /proc
unmounting ol
Call Trace:
d /sys
switchroot: mo unt failed[<a000000100012160>] show_stack+0x80/0xa0
                                sp=e0000040ffd97c10 bsp=e0000040ffd90fb8
: 22
 [<a000000100012af0>] dump_stack+0x30/0x60
                                sp=e0000040ffd97de0 bsp=e0000040ffd90fa0

Expected results:
booting correctly

Additional info:
Comment 1 Fabio Bettoni 2005-06-23 04:02:03 EDT
Created attachment 115859 [details]
Log of kernel boot
Comment 2 Sammy 2005-06-23 09:08:23 EDT
This is identical to my experience reported in bug #161347 
Comment 3 Fabio Bettoni 2005-06-23 10:00:52 EDT
So it seems an MPT Fusion adapter driver problem, and it's not related to IA64 
Comment 4 Tony Luck 2005-06-23 11:01:58 EDT
Try the defconfig or tiger_defconfig that were checked into Linus'
GIT tree yesterday.  They configure MPT Fusion correctly, and boot
for me.
Comment 5 Fabio Bettoni 2005-06-24 08:06:21 EDT
Also kernel-2.6.12-1.1395_FC5 is not working

For Tony: try defconfig or tiger_defconfig means compile vanilla kernel using 
those files as .config ?   How can I get last kernel sources with git ? Thank 
Comment 6 Fabio Bettoni 2005-06-24 08:53:47 EDT
Also kernel-2.6.12-1.1400_FC5.ia64 is not working
Comment 7 Tony Luck 2005-06-24 14:02:20 EDT
"try defconfig or tiger_defconfig" means:

$ cp arch/ia64/defconfig .config
$ make oldconfig
$ make

(or use arch/ia64/configs/tiger_defconfig).

"How can I get last kernel sources with git?" ... if you want to delay learning 
git until it stabilizes, then you can just wait a day and any new code in 
Linus' GIT tree will be conveniently snap-shotted as a daily diff.  See 
the "snapshot" link on the front page of www.kernel.org.

If you are brave and want to try GIT ... which appears to be more than just a 
temporary thing ... then look for one of the recent "how-to" postings on LKML 
(e.g. search for "Updated git HOWTO for kernel hackers").
Comment 8 Fabio Bettoni 2005-06-27 08:45:52 EDT
Vanilla compiles and runs correctly with:
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set

Anyway to have fusion disks as sda,sdb
and sym53c8xx disks as sdc,sdd,sde,sdf
I had to change modprobe.conf to this:
 alias scsi_hostadapter mptbase
 alias scsi_hostadapter1 mptscsih
 alias scsi_hostadapter2 sym53c8xx

Comment 9 Dave Jones 2005-07-07 20:26:34 EDT
*** Bug 161347 has been marked as a duplicate of this bug. ***
Comment 10 Dave Jones 2005-07-08 18:43:05 EDT
Note that rawhide is based on 2.6.13rc trees right now (The version number in
the kernel filename ie kernel-2.6.12-1.1400_FC5 doesn't get bumped until /after/
the release of a new upstream revision). may work, but changes may have occured in 2.6.13rc that have caused
this driver to regress.  You may want to test the latest upstream (currently
2.6.13rc2) and if that is similarly broken, report your findings to

Comment 11 Miles Sabin 2005-07-29 15:53:26 EDT
Same results for me running rawhide under vmware (the Fusion MPT driver is
selected for vmware SCSI disks) on all kernels I've tried from 2.6.12-1.1434_FC5
up to and including 1441. Last working kernel I have for this VM is
Comment 12 Sammy 2005-08-15 12:21:22 EDT
This is still causing PANIC with kernel-smp-2.6.12-1.1485_FC5. Not good. Hope 2.6.13 final 
will have a fix. 
Comment 13 Sammy 2005-08-18 10:26:39 EDT
SOLVED: The problem seems to be due to splitting of the mpt modules. I am not sure this is 
                a bug or a feature. I have solved the problem by including "mptspi" module in the 
                initrd image. /etc/modprobe.conf reads: 
alias scsi_hostadapter mptbase 
alias scsi_hostadapter1 mptscsih 
alias scsi_hostadapter1 mptspi 
install  mptscsih /sbin/modprobe --ignore-install mptscsih 
install  mptspi /sbin/modprobe --ignore-install mptspi 
                  with 2.6.12.x I did not need the two lines containing mptspi. If I do an lsmod I 
                  see that mptscsih module is now used by mptspi. 
                  I have a LSI U320 card with two processors. It seems like this should go into 
                  where module changes are handled under FC5. 
Comment 14 Miles Sabin 2005-08-20 10:40:56 EDT
The solution in comment #13 fixes the problem (still present with
2.6.12-1.1502_FC5) under vmware.
Comment 15 Denis Leroy 2005-10-03 18:23:54 EDT
Fantastic. Yes, the solution in comment #13 also fixes the problem when booting
on a Sun V20Z (dual Opteron, LSI 53c1030 Fusion-MPT SCSI). Basically, this bug
affects all systems trying to boot from a SCSI disk requiring the MPT Fusion
driver. It also fixed the boot with VMWare 5.5.0 RC1.
Comment 16 Denis Leroy 2005-10-03 18:39:25 EDT
Just an extra note:

This problem still exists with kernel 2.6.13-1.1589_FC5

The problem lies in the fact that the mptspi module is required, and yet not
loaded automatically when doing 'modprobe mptscsih', which is why mkinitrd
doesn't see the dependency and omits mptspi from the initrd file.
Comment 17 Dave Jones 2005-10-03 19:43:08 EDT
the fc5 installer/kudzu have been changed to create correct modprobe.conf's for
the split up modules. FC5 should work out of the box.

If this isn't the case with the latest rawhide builds (you can test installs
with the boot.iso), please file an anaconda bug
Comment 18 Denis Leroy 2005-10-05 17:06:19 EDT
I'm more concerned about people trying to upgrade from FC4 to FC5. I'll give
that a shot and file an anaconda bug if necessary.
Comment 19 Dave Jones 2005-10-05 18:21:08 EDT
the installer should rewrite /etc/modprobe.conf on an upgrade, so this should be
Comment 20 Alex Kiernan 2005-10-06 02:23:55 EDT
Anyone who has an up to date FC4 install has already gotten bitten by this 
problem (I did...) - 2.6.13-1.1526_FC4 needs modprobe.conf changing to 
reference mptspi.
Comment 21 Dave Jones 2005-10-06 02:38:47 EDT
FC4 has been dealt with in bug 169610 

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