undefined symbols in mptspi driver

Bug #164449 reported by Martin Pitt
6
Affects Status Importance Assigned to Milestone
linux-backports-modules-2.6.15 (Ubuntu)
Fix Released
High
Ben Collins

Bug Description

The current dapper.2 test CD has a lot of undefined symbols in the mpt driver (as used in vmware when using SCSI disks):

Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mptscsih_io_done
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mptscsih_io_done
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mptscsih_taskmgmt_complete
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mptscsih_taskmgmt_complete
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mptscsih_ioc_reset
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mptscsih_ioc_reset
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mpt_register
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mpt_register
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mptscsih_scandv_complete
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mptscsih_scandv_complete
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mpt_event_register
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mpt_event_register
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mptscsih_event_process
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mptscsih_event_process
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: disagrees about version of symbol mpt_reset_register
Nov 21 18:39:02 kernel: [17179574.304000] mptspi: Unknown symbol mpt_reset_register

No partitions can be detected and the installer just hangs.

6.06.1 worked flawlessly, so I guess it is a problem in the newer mpt driver shipped by l-b-m.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in linux-backports-modules-2.6.15:
assignee: nobody → ben-collins
importance: Undecided → High
milestone: none → ubuntu-6.06.2
status: New → Confirmed
Revision history for this message
Ben Collins (ben-collins) wrote :

Please attach output of these commands:

lsmod
modinfo mptspi
modinfo mptscsih
modinfo mptbase
modinfo scsi_transport_spi

Thanks

Revision history for this message
Martin Pitt (pitti) wrote :

# lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
0000:00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA II] PCI Display Adapter
0000:00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
0000:00:11.0 PCI bridge: VMware Inc: Unknown device 0790 (rev 01)
0000:02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
0000:02:01.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
0000:02:02.0 USB Controller: VMware Inc: Unknown device 0770

# modprobe --show-depends mptbase.out
insmod /lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptbase.ko

# modprobe --show-depends mptscsih.out
insmod /lib/modules/2.6.15-51-amd64-generic/kernel/drivers/scsi/scsi_mod.ko
insmod /lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptbase.ko
insmod /lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptscsih.ko

# modprobe --show-depends mptspi.out
insmod /lib/modules/2.6.15-51-amd64-generic/kernel/drivers/scsi/scsi_mod.ko
insmod /lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptbase.ko
insmod /lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptscsih.ko
insmod /lib/modules/2.6.15-51-amd64-generic/kernel/drivers/message/fusion/mptspi.ko

# modprobe --show-depends scsi_transport_spi.out
insmod /lib/modules/2.6.15-51-amd64-generic/kernel/drivers/scsi/scsi_mod.ko
insmod /lib/modules/2.6.15-51-amd64-generic/kernel/drivers/scsi/scsi_transport_spi.ko

Revision history for this message
Matt Zimmerman (mdz) wrote :

Update from the kernel team regarding this bug? Ben?

Revision history for this message
Ben Collins (ben-collins) wrote :

Investigating today. Should have a test package later today.

Revision history for this message
Ben Collins (ben-collins) wrote :

Please try using this package with 2.6.15-51-686 kernel:

http://kernel.ubuntu.com/~bcollins/linux-backports-modules-2.6.15-51-686_2.6.15-51.3_i386.deb

Check for this line in dmesg:

Fusion MPT base driver 3.03.09

Changed in linux-backports-modules-2.6.15:
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

This is hard to test at least for me (I only have vmware for testing the driver). When I install the current -proposed l-b-m in an existing dapper (with scsi disks), mpt works fine. It just seems to bail out in the installer.

So I'm afraid we actually have to upload this to -proposed, build d-i against it, and build new CDs for testing it in the installer. Or do you know another method?

Revision history for this message
Ben Collins (ben-collins) wrote :

Package uploaded and building for dapper-proposed.

Changed in linux-backports-modules-2.6.15:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Upgrade in vmware looks fine, with -51.4 the kernel actually used the mptspi driver from linux-image (presumably because the one from l-b-m was faulty due to the missing symbols). After upgrading to -51.5 the new driver is used by default.

I have to verify this with an updated install CD tomorrow.

Revision history for this message
Martin Pitt (pitti) wrote :

This still happens on the newly built server CD, and it's finally crystal clear why I could not reproduce this on an installed dapper (symbols were always fine, even with the previous version): the scsi-updates-modules udeb simply doesn't ship mptspi.ko, but it should. Therefore the one from linux-image is used, which can't work with the newer mptbase.ko/mptscsih.ko.

Changed in linux-backports-modules-2.6.15:
status: Fix Committed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Proposed debdiff. With this, scsi-updates-modules has all the modules l-b-m ships. Colin, can you please have an eye on this that I didn't forget any necessary d-i magic?

p$ dpkg -c scsi-updates-modules-2.6.15-51-amd64-generic-di_2.6.15-51.6_amd64.udeb
drwxr-xr-x root/root 0 2007-12-07 10:10 ./
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/modules/
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/
drwxr-xr-x root/root 0 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/
-rw-r--r-- root/root 40216 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptscsih.ko
-rw-r--r-- root/root 45680 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/scsi_transport_sas.ko
-rw-r--r-- root/root 41912 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptctl.ko
-rw-r--r-- root/root 28000 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptlan.ko
-rw-r--r-- root/root 85600 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptbase.ko
-rw-r--r-- root/root 39384 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptsas.ko
-rw-r--r-- root/root 28016 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptspi.ko
-rw-r--r-- root/root 22464 2007-12-07 10:10 ./lib/modules/2.6.15-51-amd64-generic/updates/storage/fusion/mptfc.ko

Revision history for this message
Martin Pitt (pitti) wrote :

linux-backports-modules-2.6.15 (2.6.15-51.6) dapper-proposed; urgency=low

  * debian/d-i/modules/scsi-updates-modules: Add missing mpt{ctl,lan,spi}.
    (LP: #164449)

 -- Martin Pitt <email address hidden> Fri, 7 Dec 2007 10:07:50 +0100

Changed in linux-backports-modules-2.6.15:
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Confirmed fixed on the current dapper.2 candidate CD.

Changed in linux-backports-modules-2.6.15:
status: Fix Committed → Fix Released
Revision history for this message
jessy (bjoern-boschman) wrote :

Where are those dapper.2 CDs available?

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 164449] Re: undefined symbols in mptspi driver

On Tue, Jan 15, 2008 at 05:27:10PM -0000, jessy wrote:
> Where are those dapper.2 CDs available?

Re-certification is currently in progress. If you're interested in
participating in testing the candidate builds, please contact Martin Pitt.

--
 - mdz

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.