cannot load aic7xxx module

Bug #59163 reported by Giuseppe Sacco
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.15-26-686

We have a new Ubuntu box with standard kernel and two different SCSI adapters. On the first adapter we have all disks, while on the second one we only have a tape. The first one is handled by the megaraid kernel module, the second one by aic7xxx. When, during boot up or manually invoking modprobe, the aic7xxx module is loaded, we get this error /var/log/kern.log:

Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_width_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_sync_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_dv_device
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_display_xfer_agreement
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_ppr_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_attach_transport
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_release_transport

The machine is DELL poweredge 1800. lspci output is:

0000:00:00.0 Host bridge: Intel Corp. Server Memory Controller Hub (rev 09)
0000:00:02.0 PCI bridge: Intel Corp. Memory Controller Hub PCI Express Port A0 (rev 09)
0000:00:04.0 PCI bridge: Intel Corp. Memory Controller Hub PCI Express Port B0 (rev 09)
0000:00:06.0 PCI bridge: Intel Corp. Memory Controller Hub PCI Express Port C0 (rev 09)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
0000:01:00.0 PCI bridge: Intel Corp. PCI Bridge Hub A (rev 09)
0000:01:00.2 PCI bridge: Intel Corp. PCI Bridge Hub B (rev 09)
0000:02:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08)
0000:02:05.0 Ethernet controller: Intel Corp. 82545GM Gigabit Ethernet Controller (rev 04)
0000:03:07.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller (rev 05)
0000:03:09.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
0000:03:09.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
0000:04:00.0 PCI bridge: Intel Corp. 80332 [Dobson] I/O processor (rev 07)
0000:04:00.2 PCI bridge: Intel Corp. 80332 [Dobson] I/O processor (rev 07)
0000:05:0e.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID (rev 07)
0000:08:05.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]

This is a more detailed syslog:

Aug 30 13:32:42 srv-lecco-a kernel: [17179572.828000] libata version 1.20 loaded.
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata_piix 0000:00:1f.2: version 1.05
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata_pci_init_one: pci_dev class+intf: 0x1018f
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata_pci_init_one: NO_LEGACY == 0
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 185
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] PCI: Setting latency timer of device 0000:00:1f.2 to 64
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata1: PATA max UDMA/133 cmd 0xBC98 ctl 0xBC92 bmdma 0xBC60 irq 185
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata2: PATA max UDMA/133 cmd 0xBC80 ctl 0xBC7A bmdma 0xBC68 irq 185
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata1: SATA port has no device.
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] scsi0 : ata_piix
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] ata2: SATA port has no device.
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.836000] scsi1 : ata_piix
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_width_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_sync_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_dv_device
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_display_xfer_agreement
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_populate_ppr_msg
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_attach_transport
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.864000] aic7xxx: Unknown symbol spi2_release_transport
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.868000] megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.872000] megaraid: 2.20.4.8 (Release Date: Mon Apr 11 12:27:22 EST 2006)
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.872000] megaraid: probe new device 0x1000:0x0408:0x1028:0x0002: bus 5:slot 14:func 0
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.872000] ACPI: PCI Interrupt 0000:05:0e.0[A] -> GSI 18 (level, low) -> IRQ 185
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.888000] megaraid: fw version:[521X] bios version:[H430]
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.888000] scsi2 : LSI Logic MegaRAID driver
Aug 30 13:32:42 srv-lecco-a kernel: [17179572.888000] scsi[2]: scanning scsi channel 0 [Phy 0] for non-raid devices
Aug 30 13:32:42 srv-lecco-a kernel: [17179573.888000] Vendor: SDR Model: GEM318P Rev: 1
Aug 30 13:32:42 srv-lecco-a kernel: [17179573.888000] Type: Processor ANSI SCSI revision: 02
Aug 30 13:32:42 srv-lecco-a kernel: [17179574.808000] hiddev96: USB HID v1.10 Device [American Power Conversion Smart-UPS 1500 FW:653.13.I USB
FW:7.3] on usb-0000:00:1d.1-2
Aug 30 13:32:42 srv-lecco-a kernel: [17179575.892000] scsi[2]: scanning scsi channel 1 [Phy 1] for non-raid devices
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.644000] scsi[2]: scanning scsi channel 2 [virtual] for logical drives
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.644000] Vendor: MegaRAID Model: LD 0 RAID1 139G Rev: 521X
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.644000] Type: Direct-Access ANSI SCSI revision: 02
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] Driver 'sd' needs updating - please use bus_type methods
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] SCSI device sda: 286515200 512-byte hdwr sectors (146696 MB)
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] sda: asking for cache data failed
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] sda: assuming drive cache: write through
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] SCSI device sda: 286515200 512-byte hdwr sectors (146696 MB)
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] sda: asking for cache data failed
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] sda: assuming drive cache: write through
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.652000] sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 >
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.688000] sd 2:2:0:0: Attached scsi disk sda
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.692000] Fusion MPT base driver 3.03.04
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.692000] Copyright (c) 1999-2005 LSI Logic Corporation
Aug 30 13:32:42 srv-lecco-a kernel: [17179579.700000] Intel(R) PRO/1000 Network Driver - version 7.0.33-k2

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

Does /lib/modules/2.6.15-26-686/kernel/drivers/scsi/scsi_transport_spi2.ko exist?

Does modprobing scsi_transport_spi2 first help?

Please attach /lib/modules/2.6.15-26-686/modules.dep

Does running "sudo depmod" give any errors?

Changed in linux-source-2.6.15:
status: Unconfirmed → Needs Info
Revision history for this message
Giuseppe Sacco (eppesuig) wrote : Re: [Bug 59163] Re: cannot load aic7xxx module

Il giorno mer, 06/09/2006 alle 11.48 +0000, Malcolm Parsons ha scritto:
> Does
> /lib/modules/2.6.15-26-686/kernel/drivers/scsi/scsi_transport_spi2.ko
> exist?
>
> Does modprobing scsi_transport_spi2 first help?

nope

> Please attach /lib/modules/2.6.15-26-686/modules.dep

attached.

> Does running "sudo depmod" give any errors?

from what user? If I do it from root then I get no message:
root@srv-lecco-a:~# sudo depmod
root@srv-lecco-a:~#

Please note this an ubuntu 5.10 with only kernel and its dependancies
from 6.06. depmod is from package module-init-tools 3.2.2-1ubuntu7
(from 6.06).

Thanks,
Giuseppe

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

> > Please attach /lib/modules/2.6.15-26-686/modules.dep
>
> attached.

That didn't work.

Please use the "Add a comment/attachment" link on https://launchpad.net/bugs/59163

Thanks.

Revision history for this message
Giuseppe Sacco (eppesuig) wrote :

modules.dep

Revision history for this message
Giuseppe Sacco (eppesuig) wrote :

Il giorno mer, 06/09/2006 alle 13.07 +0000, Malcolm Parsons ha scritto:
> > > Please attach /lib/modules/2.6.15-26-686/modules.dep
> >
> > attached.
>
> That didn't work.
>
> Please use the "Add a comment/attachment" link on
> https://launchpad.net/bugs/59163

thanks. I just did it.

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

There seems to be nothing wrong with modules.dep
The module loads ok in linux-image-2.6.15-26-k7.
Leaving for someone else to confirm.

Changed in linux-source-2.6.15:
status: Needs Info → Unconfirmed
Revision history for this message
Giuseppe Sacco (eppesuig) wrote :

I don't know if this is a problem related to the mix breezy/dapper.
We found a problem in breezy (see bug #54351) and we decided to try un upgrade to dapper touching only these packages:

busybox-initramfs_1.01-4ubuntu3_i386.deb
initramfs-tools_0.40ubuntu32_all.deb
klibc-utils_1.1.16-1ubuntu5_i386.deb
libcairo2_1.0.4-0ubuntu1_i386.deb
libfreetype6_2.1.10-1ubuntu2.2_i386.deb
libglib2.0-0_2.10.3-0ubuntu1_i386.deb
libklibc_1.1.16-1ubuntu5_i386.deb
libpango1.0-0_1.12.3-0ubuntu3_i386.deb
libpango1.0-common_1.12.3-0ubuntu3_i386.deb
linux-image-2.6.15-26-686_2.6.15-26.46_i386.deb
lsb-base_3.1-5ubuntu2_all.deb
module-init-tools_3.2.2-1ubuntu7_i386.deb
nbd-client_2.8.3-2_i386.deb
nbd-server_2.8.3-2_i386.deb

Revision history for this message
Giuseppe Sacco (eppesuig) wrote :

It seems I found the problem. when the machine boot, it load the module scsi_transport_spi while aic7xxx require scsi_transport_spi2. If I do

# rmmod scsi_transport_spi
# modporbe aic7xxx

then it woks.

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

Having scsi_transport_spi.ko loaded prevents scsi_transport_spi2.ko from being loaded.

modprobe gives no error, but calling insmod directly says:
insmod: error inserting '/lib/modules/2.6.15-26-686/kernel/drivers/scsi/scsi_transport_spi2.ko': -1 File exists

Is the length of the filename an issue?

Changed in linux-source-2.6.15:
assignee: nobody → ben-collins
status: Unconfirmed → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Unassigning Ben Collins Marking Invalid.

-JFo

Changed in linux (Ubuntu):
assignee: Ben Collins (ben-collins) → nobody
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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