Re: [PATCH] aacraid: Add likely() and unlikely()

2007-03-22 Thread Arjan van de Ven
On Wed, 2007-03-21 at 15:43 -0400, Salyzyn, Mark wrote: Add some likely() and unlikely() compiler hints in some of the aacraid hardware interface layers. There should be no operational side effects resulting from this patch and the changes should be mostly benign on x86 platforms.

Re: RFC: sg driver addition: SG_FLAG_SHARED_MMAP_IO

2007-03-22 Thread Arjan van de Ven
On Wed, 2007-03-21 at 22:37 -0400, Douglas Gilbert wrote: In my experience mmap-ed IO using sg's reserve buffer mapped into the user space is faster than direct IO schemes. However one shortcoming is that if you try to copy between two devices using this technique then you end up with two

aic7xxx: aic7892(B): BUG: soft lockup detected on CPU#0!

2007-03-22 Thread thomas schorpp
lo, well, ive several live cd systems 2.6.19.5i386 that oops and hang boot in aic7xxx init, only one booting here is knoppix 5.2, the latest unofficial debian stable 2.6.8-12-amd64-generic, which says ACPI: PCI interrupt :00:06.0[A] - GSI 17 (level, low) - IRQ 17 aic7xxx: PCI0:6:0 MEM

[PATCH] qla2xxx: fix for byteswap in fc_host fabric_name

2007-03-22 Thread Richard Lary
From: Richard Lary [EMAIL PROTECTED] This patch fixes byte swap issue in qla2xxx driver to fix corrupted fabric_name passed to /sys/class/fc_host/host*/fabric_name. Signed-off-by: Richard Lary [EMAIL PROTECTED] --- Example: Switch fabric name: 20:02:00:0d:ec:41:51:01 # cat

Re: aic7xxx: aic7892(B): BUG: soft lockup detected on CPU#0!

2007-03-22 Thread thomas schorpp
no fix in scsi rc fixes git, now examining code from the softlockup trace before... [0.00] Linux version 2.6.21-rc3amd64-gbb9ba31c ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 PREEMPT Thu Mar 22 17:39:17 CE T 2007 [0.00] Command line:

Re: [PATCH] Fix lpfc oops when parsing dodgy VPD

2007-03-22 Thread James Smart
ACK. To my knowledge bad VPD data had only been found on early prototypes, as they avoided the typical manufacturing process. Regardless, we do try to be preventative about this type of thing, just in case. Thanks -- james s Anton Blanchard wrote: We have seen two cases where VPD on an

Re: aic7xxx: aic7892(B): BUG: soft lockup detected on CPU#0!

2007-03-22 Thread thomas schorpp
[ 48.848796] Loading iSCSI transport class v2.0-724. [ 48.854066] iscsi: registered transport (tcp) [ 48.858479] ahc_linux_pci_init [ 48.861676] ahc_linux_pci_dev_probe [ 48.865208] ACPI: PCI Interrupt :00:06.0[A] - GSI 17 (level, low) - IRQ 17 [ 48.872628] ahc_pci_config [

RE: [PATCH] qla2xxx: fix for byteswap in fc_host fabric_name

2007-03-22 Thread Seokmann Ju
ACK. This patch will make driver to display correct port name. Thank you for findings. Seokmann -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Lary Sent: Thursday, March 22, 2007 8:53 AM To: Linux Driver; linux-scsi@vger.kernel.org

Re: aic7xxx: aic7892(B): BUG: soft lockup detected on CPU#0!

2007-03-22 Thread thomas schorpp
ok, overriding the first while(ahc_is_paused) that blocked before (i see no sense for doing this in a pci mmap test function, cause proper resource setup is required *before* using such I/O functions, otherwise the adapter had entered SEQ paused status) i got the kernel to boot at least at pio

Re: [PATCH 2/3] sd: implement START/STOP management

2007-03-22 Thread Vladislav Bolkhovitin
Tejun Heo wrote: Hello, Douglas. Douglas Gilbert wrote: Tejun, I note at this point that the IMMED bit in the START STOP UNIT cdb is clear. [The code might note that as well.] All SCSI disks that I have seen, implement the IMMED bit and according to the SAT standard, so should SAT layers like

Re: [PATCH 2/3] sd: implement START/STOP management

2007-03-22 Thread Vladislav Bolkhovitin
Henrique de Moraes Holschuh wrote: On Thu, 22 Mar 2007, Vladislav Bolkhovitin wrote: Seems, there is another way of doing a bank spin up / spin down: doing it in two passes. On the first pass START_STOP will be issued with IMMED=1 on all devices, then on the second pass START_STOP will be

Re: aic7xxx: aic7892(B): BUG: soft lockup detected on CPU#0!

2007-03-22 Thread James Bottomley
On Fri, 2007-03-23 at 02:26 +0100, thomas schorpp wrote: ok, overriding the first while(ahc_is_paused) that blocked before (i see no sense for doing this in a pci mmap test function, cause proper resource setup is required *before* using such I/O functions, otherwise the adapter had entered

2.6.20 (+2.6.21-rc4) write hang modifier

2007-03-22 Thread Mr. Berkley Shands
If I set /proc/sys/vm/dirty_ratio to 5 the write lockup happens within the first MilliSecond, at about 100MB per file system. If I slew the dirty_ratio to 80, the lockup happens at about 2GB per file system. 2.6.21-rc4 has the same symptoms, and same lockups. It appears that mptsas is dropping

Quick fix for LSI8888ELP overruns in 2.6.20 and 2.6.21-rc4

2007-03-22 Thread Mr. Berkley Shands
My local kernel guru recognized this problem as a duplicate of the LSI8408E bus lockup problem. The controller gets flooded with work, and just climbs under a rock to hide. In the 8408E case, it froze the PCI-e bus :-) #!/bin/csh # # set the max request queue down from 128. any more than 32 #