[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637591: marked as done (Add pci id for Marvell Technology Group Ltd. Device 9480)



Your message dated Mon, 15 Aug 2011 22:45:31 +0200
with message-id <1313441131.12266.11.camel@localhost>
and subject line Re: [PATCH] [SCSI] mvsas: Add support for Marvell's 88SE9480 chip.
has caused the Debian Bug report #637591,
regarding Add pci id for Marvell Technology Group Ltd. Device 9480
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
637591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637591
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux-2.6
Version: 3.0.0-1
Severiy: normal
Tags: patch

Hi,

I recently bough a SAS/SATA expansion card[1] based on Marvell's
88SE9480 chip:

	$ lspci -nnv
	[...]
	04:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. Device [1b4b:9480] (rev 03)
		Subsystem: Marvell Technology Group Ltd. Device [1b4b:9480]
		Flags: bus master, fast devsel, latency 0, IRQ 7
		Memory at efac0000 (64-bit, non-prefetchable) [size=128K]
		Memory at efa80000 (64-bit, non-prefetchable) [size=256K]
		Expansion ROM at efaf0000 [disabled] [size=64K]
		Capabilities: <access denied>

	$ 

As you can see, the "mvsas" driver failed to get the card up and
running. That's because there is no matching pci id:

	$ /sbin/modinfo mvsas
	filename:       /lib/modules/3.0.0-1-amd64/kernel/drivers/scsi/mvsas/mvsas.ko
	license:        GPL
	version:        0.8.2
	description:    Marvell 88SE6440 SAS/SATA controller driver
	author:         Jeff Garzik <jgarzik@pobox.com>
	srcversion:     CC1952EE8F2866BEB54CA6A
	alias:          pci:v00001B4Bd00009485sv*sd00009480bc*sc*i*
	alias:          pci:v00001B4Bd00009445sv*sd00009480bc*sc*i*
	alias:          pci:v00001103d00002760sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002744sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002740sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002722sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002721sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002720sv*sd*bc*sc*i*
	alias:          pci:v00001103d00002710sv*sd*bc*sc*i*
	alias:          pci:v00009005d00000450sv*sd*bc*sc*i*
	alias:          pci:v000017D3d00001320sv*sd*bc*sc*i*
	alias:          pci:v000017D3d00001300sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00009180sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00009480sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00006485sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00006440sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00006440sv*sd00006480bc*sc*i*
	alias:          pci:v000011ABd00006340sv*sd*bc*sc*i*
	alias:          pci:v000011ABd00006320sv*sd*bc*sc*i*
	depends:        libsas,scsi_mod,scsi_transport_sas
	intree:         Y
	vermagic:       3.0.0-1-amd64 SMP mod_unload modversions 
	parm:           collector:
		If greater than one, tells the SAS Layer to run in Task Collector
		Mode.  If 1 or 0, tells the SAS Layer to run in Direct Mode.
		The mvsas SAS LLDD supports both modes.
		Default: 1 (Direct Mode).
	 (int)
	$ 

The attached (trivial) patch fixes the issue for me:

	$ lspci -nnv
	[...]
	04:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. Device [1b4b:9480] (rev 03)
		Subsystem: Marvell Technology Group Ltd. Device [1b4b:9480]
		Flags: bus master, fast devsel, latency 0, IRQ 16
		Memory at efac0000 (64-bit, non-prefetchable) [size=128K]
		Memory at efa80000 (64-bit, non-prefetchable) [size=256K]
		Expansion ROM at efaf0000 [disabled] [size=64K]
		Capabilities: <access denied>
		Kernel driver in use: mvsas

	$ 

If there are no problems, please include the patch in the next upload.

Best regards

Alexander Kurtz

[1] en_UK: http://www.conrad.com/8-PORT-MINI-SAS-SFF-8087/SATA-PCI-EXPRES.htm?websale7=conrad-int&pi=975512
    de_DE: http://www.conrad.de/ce/de/product/975512/8-PORT-SASSATA-PCI-EXPRESS-KARTE/
diff -Naur linux-2.6-3.0.0.orig/debian/changelog linux-2.6-3.0.0/debian/changelog
--- linux-2.6-3.0.0.orig/debian/changelog	2011-08-12 18:38:03.000000000 +0200
+++ linux-2.6-3.0.0/debian/changelog	2011-08-12 18:40:27.081477251 +0200
@@ -1,3 +1,8 @@
+linux-2.6 (3.0.0-1.1) unstable; urgency=low
+  * Add pci id for Marvell Technology Group Ltd. Device 9480
+
+ -- Alexander Kurtz <kurtz.alex@googlemail.com>  Fri, 12 Aug 2011 18:40:20 +0200
+
 linux-2.6 (3.0.0-1) unstable; urgency=low
 
   * New upstream release: http://kernelnewbies.org/Linux_3.0
diff -Naur linux-2.6-3.0.0.orig/drivers/scsi/mvsas/mv_init.c linux-2.6-3.0.0/drivers/scsi/mvsas/mv_init.c
--- linux-2.6-3.0.0.orig/drivers/scsi/mvsas/mv_init.c	2011-07-22 04:17:23.000000000 +0200
+++ linux-2.6-3.0.0/drivers/scsi/mvsas/mv_init.c	2011-08-12 18:36:54.456523703 +0200
@@ -692,6 +692,15 @@
 		.class_mask	= 0,
 		.driver_data	= chip_9485,
 	},
+	{
+		.vendor		= 0x1b4b,
+		.device		= 0x9480,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.class		= 0,
+		.class_mask	= 0,
+		.driver_data	= chip_9480,
+	},
 
 	{ }	/* terminate list */
 };

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Hi,

although the patch made my system recognize the HBA, there were several
severe issues when actually using it: I experienced random reboots
during POST and several freezes during heavy I/O. Additionally the
system always failed to wake up from S3 when the HBA was plugged in.

I'm therefore going to return the card in a few days. You may still
consider merging the patch since it made my system at least recognize
the HBA after all.

Best regards

Alexander Kurtz

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: