Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-06-09 Thread Jonathan Nieder
Hi,

I am working on improving support for newer megaraid controllers in
Debian squeeze's 2.6.32.y-based kernel.

On top of what's in 2.6.32.y, Debian squeeze currently has the
following patches applied:

  c35188377f12 Add poll mechanism to megaraid sas driver
  72c4fd36dc7f add sysfs for AEN polling
  879111224d07 Add new megaraid SAS 2 controller support to the driver
  7bebf5c79cb6 allocate the application cmds to sas2 controller
  0c79e681eef1 Fix the fix for fw hang caused by megaraid sas application

When Buford Peek needed support for a Dell PERC H710P I provided him
with the following as a quick set of patches to test:

  81e403ce3c6a infrastructure to get PDs from FW
  7e8a75f4dfbf Add the support for updating the OS after adding/removing
   the devices from FW
  bdc6fb8d69fa add the logical drive list to driver
  c978684254d1 driver fixed the device update issue
  f4c9a1317d32 add the IEEE SGE support to SAS2 controller
  39a985547cbf Add Online Controller Reset to MegaRAID SAS drive
  0d49016bbab4 Rename megaraid_sas.c to megaraid_sas_base.c
  80d9da98b403 Add MSI-X support and msix_disable module parameter
  aeab3fd7b865 make driver PCI legacy I/O port free driver
  b6d5d8808b4c Use lowest memory bar for SR-IOV VF support
  cd50ba8ede5c Add struct megasas_instance_template changes
  9c915a8c99bc Add 9565/9285 specific code

The result seemed to work ok. :)  But it left out at least one
important fix:

  f575c5d3ebdc Fix instance access in megasas_reset_timer

It also is not particularly minimal.

After applying all of the above, the following commits still remain
unapplied:

  8d5682532133 tape drive support fix
  044833b572b9 report system PDs to OS
  7218df69e360 use the firmware boot timeout when waiting for commands
  a0b7736828f7 Update version number and documentation
  780a3762fb92 Zero pad_0 in mfi structure
  63bad45db1d4 version and documentation update
  837f5fe89c84 support devices update flag
  1fd106851698 Add input parameter for max_sectors
  707e09bd867c Add three times Online controller reset
  e340c3537239 Version and documentation update
  3f1530c1e1f7 Update GPL headers.
  eb1b12377376 Fix failure gotos
  53ef2bbd2068 Add missing check_and_restore_queue_depth call
  0a77066acc78 Enable MSI-X before calling megasas_init_fw
  e1419191d8d3 Call tasklet_schedule for MSI-X
  66192dfe1e74 Fix probe_one to clear MSI-X flags in kdump
  f51244058963 Fix megasas_build_dcdb_fusion to not filter by TYPE_DISK
  eaa3c240de25 Fix megasas_build_dcdb_fusion to use correct LUN field
  4c598b23807a Add CFG_CLEARED AEN
  f86c5424b027 Fix tasklet_init call
  1ac515ef3f2f Fix fault state handling
  42a8d2b34d10 Fix max_sectors for IEEE SGL
  ebf054b00b0a Fix iMR OCR support to work correctly
  00fa2b191b4b Version and Changelog update
  3f1abce4aba4 Remove MSI-X black list, use MFI_REG_STATE instead
  70d031f36fa5 Remove un-used function
  7e70e7336515 Check MFI_REG_STATE.fault.resetAdapter
  46fd256e0558 Disable interrupts/free_irq() in megasas_shutdown()
  541f90b7c6df Fix bug where AENs could be lost in probe() and resume()
  495c5609700e Convert 6,10,12 byte CDB's for FastPath IO
  3cc6851f9a35 Add 1078 OCR support
  4f788dce0baf Version and Changelog update

Questions:

1) Are any of these important fixes that should be applied to 2.6.32.y
   so everyone who uses a 2.6.32-based kernel can start benefitting
   from them?

2) Are there any important fixes to megaraid SAS 2 support which we
   should apply right away to Debian squeeze?

3) Is the list of patches I sent to Buford Peek for LSI Fusion support
   missing any dependencies or follow-up fixes?

4) Which patches do you recommend applying to support even more
   hardware more robustly?

5) Would you be willing to test a 2.6.32.y-based kernel with your
   suggested set of patches?  That would be very useful to us.

There is a basic kernel for testing available at
http://alioth.debian.org/~jrnieder-guest/temp/driver-test/ to get the
process started.

Thanks for maintaining the megaraid driver well, and hope that helps.

Sincerely,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120609164753.GA18761@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-06-08 Thread Jonathan Nieder
Hi again,

Jonathan Nieder wrote:
 Buford Peek wrote:

 So far everything is looking good..We do NOT run a stock config so I
 have recompiled the kernel with our specific config and will run LTP
 testing on the system to determine if their are any more issues.

 Thanks again.  How did it go?

Friendly ping.  Did you end up learning anything from testing?

Curious,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120608173508.GA11520@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-04-21 Thread Ben Hutchings
On Thu, 2012-04-19 at 17:37 -0500, Jonathan Nieder wrote:
 Hi,
 
 Buford Peek wrote:
 
  So far everything is looking good..We do NOT run a stock config so I
  have recompiled the kernel with our specific config and will run LTP
  testing on the system to determine if their are any more issues.
 
 Thanks again.  How did it go?
 
 (Ben, if it worked well for them then I think we should take these
 patches in s-p-u right after the next point release and see if anyone
 screams.  Or sooner, if we can get someone at Dell or LSI to look over
 the list of patches or can get confidence some other way, like
 comparing to what Red Hat uses.)

Yes, agree we should apply these.  Unfortunately it's now too late to
get these into Debian 6.0.5.

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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


Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-04-19 Thread Jonathan Nieder
Hi,

Buford Peek wrote:

 So far everything is looking good..We do NOT run a stock config so I
 have recompiled the kernel with our specific config and will run LTP
 testing on the system to determine if their are any more issues.

Thanks again.  How did it go?

(Ben, if it worked well for them then I think we should take these
patches in s-p-u right after the next point release and see if anyone
screams.  Or sooner, if we can get someone at Dell or LSI to look over
the list of patches or can get confidence some other way, like
comparing to what Red Hat uses.)

Curious,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120419223709.GA4904@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-30 Thread Buford Peek
Jonathon, 

Looks like the patch didn't work ..I got the same problem as before when I 
booted the system. The system booted me to initramfs shell..It did not find any 
megaraid drivers( megaraid not in /proc/modules or not megaraid output in 
dmesg). The Drives were not found (ls -al /dev/sd* returned nothing).

Just for Clarification, and to verify that I have patched the kernel properly(I 
usually just compile from linux-source package, so I don't manually patch the 
kernel)... here is the process I went through to patch the kernel.

# first I downloaded the source and patches
apt-get source llinux-2.6
apt-get install linux-patch-debian-2.6.32

#patched the source
cd linux-2.6-2.6.32
./debian/rules source

# Manually applied the SCSI megaraid patches
patch 0001-XXX.patch . 0012-XXX.patch

# Verified that Megaraid patches were applied to build target
# It looked like the patch was applied successfully
diff 
/lancope/var/pristine/linux-2.6-2.6.32/drivers/scsi/megaraid/megaraid_sas.c 
./drivers/scsi/megaraid/megaraid_sas.c

# Compile and build package
make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers kernel-source

thanks,
-Buford


From: Jonathan Nieder [jrnie...@gmail.com]
Sent: Thursday, March 29, 2012 3:47 PM
To: Buford Peek
Cc: 666...@bugs.debian.org
Subject: Re: Dell PERC H710P is not supported by Squeeze Standard Kernel

block 624794 by 666108
tags 666108 + upstream patch moreinfo
# hardware support
severity 666108 important
quit

Buford Peek wrote:

 dmesg | grep mega returned nothing...

Thanks.  Support for this controller was added during the 2.6.38-rc1
merge window (commit 9c915a8c99bc, [SCSI] megaraid_sas: Add 9565/9285
specific code, 2010-12-21).

Could you try the attached patch series against the squeeze kernel?
Instructions are at [1], and if you have any questions, please don't
hesitate to ask.

Hope that helps,
Jonathan

[1] 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
or the corresponding page in the debian-kernel-handbook package

Adam Radford (5):
  [SCSI] megaraid_sas: Rename megaraid_sas.c to megaraid_sas_base.c
  [SCSI] megaraid_sas: Add MSI-X support and msix_disable module parameter
  [SCSI] megaraid_sas: Use lowest memory bar for SR-IOV VF support
  [SCSI] megaraid_sas: Add struct megasas_instance_template changes
  [SCSI] megaraid_sas: Add 9565/9285 specific code

Noriyuki Fujii (1):
  [SCSI] megaraid_sas: make driver PCI legacy I/O port free driver

Yang, Bo (6):
  [SCSI] megaraid_sas: infrastructure to get PDs from FW
  [SCSI] megaraid_sas: Add the support for updating the OS after adding/
removing the devices from FW
  [SCSI] megaraid_sas: add the logical drive list to driver
  [SCSI] megaraid_sas: driver fixed the device update issue
  [SCSI] megaraid_sas: add the IEEE SGE support to SAS2 controller
  [SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive

 drivers/scsi/megaraid/Makefile  |2 +
 drivers/scsi/megaraid/megaraid_sas.c| 3827 ---
 drivers/scsi/megaraid/megaraid_sas.h|  273 +-
 drivers/scsi/megaraid/megaraid_sas_base.c   | 5253 +++
 drivers/scsi/megaraid/megaraid_sas_fp.c |  516 +++
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 2248 
 drivers/scsi/megaraid/megaraid_sas_fusion.h |  695 
 7 files changed, 8974 insertions(+), 3840 deletions(-)
 delete mode 100644 drivers/scsi/megaraid/megaraid_sas.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_base.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fp.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.h



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/FB09F9AF3FE25444B277AA82BB35EE175F02905F@LCHQEX03.lancope.local



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-30 Thread Buford Peek
Jonathon,

Nix my last comment, ..it is looking like it works..It was late last night and 
I pretty much booted the standard linux-image-2.6.32-41 package again..I am 
still doing some preliminary testing and will get back with you later today on 
my findings.

thanks for you help,
-Buford

From: Buford Peek [bp...@lancope.com]
Sent: Friday, March 30, 2012 8:47 AM
To: Jonathan Nieder
Cc: 666...@bugs.debian.org
Subject: Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

Jonathon,

Looks like the patch didn't work ..I got the same problem as before when I 
booted the system. The system booted me to initramfs shell..It did not find any 
megaraid drivers( megaraid not in /proc/modules or not megaraid output in 
dmesg). The Drives were not found (ls -al /dev/sd* returned nothing).

Just for Clarification, and to verify that I have patched the kernel properly(I 
usually just compile from linux-source package, so I don't manually patch the 
kernel)... here is the process I went through to patch the kernel.

# first I downloaded the source and patches
apt-get source llinux-2.6
apt-get install linux-patch-debian-2.6.32

#patched the source
cd linux-2.6-2.6.32
./debian/rules source

# Manually applied the SCSI megaraid patches
patch 0001-XXX.patch . 0012-XXX.patch

# Verified that Megaraid patches were applied to build target
# It looked like the patch was applied successfully
diff 
/lancope/var/pristine/linux-2.6-2.6.32/drivers/scsi/megaraid/megaraid_sas.c 
./drivers/scsi/megaraid/megaraid_sas.c

# Compile and build package
make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers kernel-source

thanks,
-Buford


From: Jonathan Nieder [jrnie...@gmail.com]
Sent: Thursday, March 29, 2012 3:47 PM
To: Buford Peek
Cc: 666...@bugs.debian.org
Subject: Re: Dell PERC H710P is not supported by Squeeze Standard Kernel

block 624794 by 666108
tags 666108 + upstream patch moreinfo
# hardware support
severity 666108 important
quit

Buford Peek wrote:

 dmesg | grep mega returned nothing...

Thanks.  Support for this controller was added during the 2.6.38-rc1
merge window (commit 9c915a8c99bc, [SCSI] megaraid_sas: Add 9565/9285
specific code, 2010-12-21).

Could you try the attached patch series against the squeeze kernel?
Instructions are at [1], and if you have any questions, please don't
hesitate to ask.

Hope that helps,
Jonathan

[1] 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
or the corresponding page in the debian-kernel-handbook package

Adam Radford (5):
  [SCSI] megaraid_sas: Rename megaraid_sas.c to megaraid_sas_base.c
  [SCSI] megaraid_sas: Add MSI-X support and msix_disable module parameter
  [SCSI] megaraid_sas: Use lowest memory bar for SR-IOV VF support
  [SCSI] megaraid_sas: Add struct megasas_instance_template changes
  [SCSI] megaraid_sas: Add 9565/9285 specific code

Noriyuki Fujii (1):
  [SCSI] megaraid_sas: make driver PCI legacy I/O port free driver

Yang, Bo (6):
  [SCSI] megaraid_sas: infrastructure to get PDs from FW
  [SCSI] megaraid_sas: Add the support for updating the OS after adding/
removing the devices from FW
  [SCSI] megaraid_sas: add the logical drive list to driver
  [SCSI] megaraid_sas: driver fixed the device update issue
  [SCSI] megaraid_sas: add the IEEE SGE support to SAS2 controller
  [SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive

 drivers/scsi/megaraid/Makefile  |2 +
 drivers/scsi/megaraid/megaraid_sas.c| 3827 ---
 drivers/scsi/megaraid/megaraid_sas.h|  273 +-
 drivers/scsi/megaraid/megaraid_sas_base.c   | 5253 +++
 drivers/scsi/megaraid/megaraid_sas_fp.c |  516 +++
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 2248 
 drivers/scsi/megaraid/megaraid_sas_fusion.h |  695 
 7 files changed, 8974 insertions(+), 3840 deletions(-)
 delete mode 100644 drivers/scsi/megaraid/megaraid_sas.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_base.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fp.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.h






--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/FB09F9AF3FE25444B277AA82BB35EE175F029149@LCHQEX03.lancope.local



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-30 Thread Buford Peek
Jonathon,

So far everything is looking good..We do NOT run a stock config so I have 
recompiled the kernel with our specific config and will run LTP testing on the 
system to determine if their are any more issues.

-Buford

From: Jonathan Nieder [jrnie...@gmail.com]
Sent: Thursday, March 29, 2012 3:47 PM
To: Buford Peek
Cc: 666...@bugs.debian.org
Subject: Re: Dell PERC H710P is not supported by Squeeze Standard Kernel

block 624794 by 666108
tags 666108 + upstream patch moreinfo
# hardware support
severity 666108 important
quit

Buford Peek wrote:

 dmesg | grep mega returned nothing...

Thanks.  Support for this controller was added during the 2.6.38-rc1
merge window (commit 9c915a8c99bc, [SCSI] megaraid_sas: Add 9565/9285
specific code, 2010-12-21).

Could you try the attached patch series against the squeeze kernel?
Instructions are at [1], and if you have any questions, please don't
hesitate to ask.

Hope that helps,
Jonathan

[1] 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
or the corresponding page in the debian-kernel-handbook package

Adam Radford (5):
  [SCSI] megaraid_sas: Rename megaraid_sas.c to megaraid_sas_base.c
  [SCSI] megaraid_sas: Add MSI-X support and msix_disable module parameter
  [SCSI] megaraid_sas: Use lowest memory bar for SR-IOV VF support
  [SCSI] megaraid_sas: Add struct megasas_instance_template changes
  [SCSI] megaraid_sas: Add 9565/9285 specific code

Noriyuki Fujii (1):
  [SCSI] megaraid_sas: make driver PCI legacy I/O port free driver

Yang, Bo (6):
  [SCSI] megaraid_sas: infrastructure to get PDs from FW
  [SCSI] megaraid_sas: Add the support for updating the OS after adding/
removing the devices from FW
  [SCSI] megaraid_sas: add the logical drive list to driver
  [SCSI] megaraid_sas: driver fixed the device update issue
  [SCSI] megaraid_sas: add the IEEE SGE support to SAS2 controller
  [SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive

 drivers/scsi/megaraid/Makefile  |2 +
 drivers/scsi/megaraid/megaraid_sas.c| 3827 ---
 drivers/scsi/megaraid/megaraid_sas.h|  273 +-
 drivers/scsi/megaraid/megaraid_sas_base.c   | 5253 +++
 drivers/scsi/megaraid/megaraid_sas_fp.c |  516 +++
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 2248 
 drivers/scsi/megaraid/megaraid_sas_fusion.h |  695 
 7 files changed, 8974 insertions(+), 3840 deletions(-)
 delete mode 100644 drivers/scsi/megaraid/megaraid_sas.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_base.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fp.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.c
 create mode 100644 drivers/scsi/megaraid/megaraid_sas_fusion.h



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/FB09F9AF3FE25444B277AA82BB35EE175F029319@LCHQEX03.lancope.local



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-30 Thread Jonathan Nieder
Buford Peek wrote:

 We do NOT run a stock config so I have recompiled the kernel with
 our specific config and will run LTP testing on the system to
 determine if their are any more issues.

Nice to hear.  Looking forward to hearing how it goes.

Thanks,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120331000209.GE3180@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-29 Thread Jonathan Nieder
Buford Peek wrote:

 This is a wheezy OS install running a squeeze kernel (2.6.32-41)..It
 tries to boot up but cannot find a disk and drops me into the
 (initramfs) shell. I am still at the shell so if you need any
 additional information, just ask.

Sure.  Can you get output from the following commands?

ls -l /dev/sd*
cat /proc/modules
dmesg | grep mega

Thanks,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120329165806.GC3147@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-28 Thread Buford Peek
Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-41

Tried to install Debian Squeeze on a new Dell R620 platform. The system could 
NOT bring up the RAID Array.  Could not get the error output ..but it was 
trying to use the megaraid driver.

I was able to get this to work properly with Wheezy Standard kernel. I am 
guessing a packport of megaraid is needed.


I have a working wheezy installation so I can give you any type of diagnostic 
information needed.

Thanks
-Buford


Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-28 Thread Jonathan Nieder
reassign 666108 src:linux-2.6 2.6.32-41
quit

Buford Peek wrote:

 Tried to install Debian Squeeze on a new Dell R620 platform. The
 system could NOT bring up the RAID Array.  Could not get the error
 output ..but it was trying to use the megaraid driver.

That's no good.  Thanks for reporting it.

[...]
 I have a working wheezy installation so I can give you any type of
 diagnostic information needed.

Great, let's start with that.  Please attach output from
reportbug --template linux-image-$(uname -r) on the working
installation.

Hope that helps,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120328192623.GB8982@burratino



Bug#666108: Dell PERC H710P is not supported by Squeeze Standard Kernel

2012-03-28 Thread Jonathan Nieder
Buford Peek wrote:

 This is standard Wheezy running on next generation Dell R620.
 running 3.2.X kernel.

Thanks.  Can you get the error message from squeeze, using
netconsole[1], a serial console[2], or a photograph of the screen?

[1] http://www.kernel.org/doc/Documentation/networking/netconsole.txt
[2] http://www.kernel.org/doc/Documentation/serial-console.txt



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120328213842.GI8982@burratino