Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Zhang, Yanmin
On Thu, 2007-02-08 at 20:19 -0500, Jeff Garzik wrote: > Zhang, Yanmin wrote: > > If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the > > fixed irq number. On ia64 platform, such numbers are GSI and should be > > converted > > to irq vector. > > > > Below patch against kernel

RE: [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source devicedriver for new sequence firmware.

2007-02-08 Thread Wu, Gilbert
Yes, we are still looking into it. From the trace, the sequencer stuck on DMA transferring data. Most likely the V28 sequencer introduces new problem. Any way, we are going to find out the root cause. Thanks! Gilbert -Original Message- From: Darrick J. Wong [mailto:[EMAIL PROTECTED] Sent

Re: [PATCH]indistinguishable devices with broken and unbroken firmware #2

2007-02-08 Thread Greg KH
On Thu, Feb 08, 2007 at 09:04:48AM +0100, Oliver Neukum wrote: > Hi, > > there's a USB mass storage device which exists in two version. One > reports the correct size and the other does not. Apart from that they > are identical and cannot be told apart. Here's a heuristic based on the > empirical

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Jeff Garzik
Zhang, Yanmin wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be converted to irq vector. Below patch against kernel 2.6.20 fixes it. Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]> IA64 shoul

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Zhang, Yanmin
On Thu, 2007-02-08 at 17:17 +0800, Luming Yu wrote: > sorry, it should be > #define ATA_PRIMARY_IRQ(dev) ide_default_irq(0x1F0) > > On 2/8/07, Luming Yu <[EMAIL PROTECTED]> wrote: > > if use ide_default_irq , then I guess the #if defined can be removed. > > #define ATA_PRIMARY_IRQ(dev) isa_irq_

Time Measurement in SG

2007-02-08 Thread Fajun Chen
Hi All, The command duration is measured in sg.c using jiffies_to_msecs(jiffies). The HZ set up in my ARM system is 100, so this time measurement can only provide resolution of 10ms (or +/- 5ms). Since the AT commands in sequential read mode can be as fast as about 1ms, this inaccuracy could ea

Re: [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source devicedriver for new sequence firmware.

2007-02-08 Thread Darrick J. Wong
Wu, Gilbert wrote: > Hi Darrick, > > We can duplicate the problem here. The aic94xx with V28 passed IO > testing overnight if we apply IO directly to /dev/sd?. But it fails > very quickly when we create a partition and format it as ext3. The V17 > sequencer works fine with both cases. We are loo

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Andrew Morton
On Thu, 8 Feb 2007 20:34:53 + Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: > > On Thu, 8 Feb 2007 19:42:04 + > > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Feb 08, 2007 at 03:40:22PM +0800, Zhang, Yanmin

Would you recommend...?

2007-02-08 Thread Juan González
Hi all, first, I hope this is not very offtopic but I just wanted to get first hand impressions for the Adaptec Serial ATA RAID 2410SA. I've read on the net that this is a real hardware raid, but i'm not sure about it's support in 2.6 kernels, it seems that the aacraid module supports it, but..

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Christoph Hellwig
On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: > On Thu, 8 Feb 2007 19:42:04 + > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > On Thu, Feb 08, 2007 at 03:40:22PM +0800, Zhang, Yanmin wrote: > > > If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the > >

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Andrew Morton
On Thu, 8 Feb 2007 19:42:04 + Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Thu, Feb 08, 2007 at 03:40:22PM +0800, Zhang, Yanmin wrote: > > If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the > > fixed irq number. On ia64 platform, such numbers are GSI and should be

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Christoph Hellwig
On Thu, Feb 08, 2007 at 03:40:22PM +0800, Zhang, Yanmin wrote: > If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the > fixed irq number. On ia64 platform, such numbers are GSI and should be > converted > to irq vector. > > Below patch against kernel 2.6.20 fixes it. These d

Re: [PATCH] aic79xx: use dma_get_required_mask()

2007-02-08 Thread Christoph Hellwig
> ahd_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id > *ent) > { > char buf[80]; > + const uint64_t mask_39bit = 0x7FULL; > struct ahd_softc *ahd; > ahd_dev_softc_t pci; > struct ahd_pci_identity *entry;

Re: [PATCH 4/5] scsi: megaraid_sas - preallocate memory for ioctl processing

2007-02-08 Thread Christoph Hellwig
On Wed, Feb 07, 2007 at 01:30:20PM -0800, Andrew Morton wrote: > On Tue, 06 Feb 2007 14:19:54 -0800 > Sumant Patro <[EMAIL PROTECTED]> wrote: > > > Preallocate memory for ioctl processing. This is to avoid situations > > where ioctl fails for lack of memory (when system under heavy stress). > > T

Re: [PATCH] zfcp: Invalid locking order

2007-02-08 Thread Andreas Herrmann
On Thu, Feb 08, 2007 at 03:40:03PM +0100, Heiko Carstens wrote: > On Wed, Feb 07, 2007 at 05:06:43PM +0100, Andreas Herrmann wrote: > > On Wed, Feb 07, 2007 at 01:17:57PM +0100, Swen Schillig wrote: > > > From: Swen Schillig <[EMAIL PROTECTED]> > > > > > > Invalid locking order. Kernel hangs after

Re: persistent scsi with udev

2007-02-08 Thread Andreas Moroder
James Smart schrieb: You can see if a white paper we put together, which includes information on tapes, can help you. There's also a small section on "boot from SAN" which talks about configuring udev in initrd for boot devices. Although the content references distros, it should be applicable to

Re: persistent scsi with udev

2007-02-08 Thread Andreas Moroder
Michael Reed schrieb: While you didn't explicitly mention which distro you're using, some already have udev in their initrd. If this applies in your case, you should be able to change the root= parameter passed to the kernel to specify your root device via a persistent name. For example:

Re: persistent scsi with udev

2007-02-08 Thread Michael Reed
While you didn't explicitly mention which distro you're using, some already have udev in their initrd. If this applies in your case, you should be able to change the root= parameter passed to the kernel to specify your root device via a persistent name. For example: root=/dev/disk/by-pat

Re: program inquiry is using a deprecated scsi_ioctl , please convert it to SG_IO

2007-02-08 Thread James Bottomley
On Thu, 2007-02-08 at 02:14 -0800, Masthan wrote: > I am not getting why i am getting the following DIAG message > > Program inquiry is using deprecated scsi ioctl, please convert it to SG_IO. > > The following snippet of linux source code clearly saying that, the above > message is a kind of cos

Re: [PATCH] zfcp: Invalid locking order

2007-02-08 Thread Heiko Carstens
On Wed, Feb 07, 2007 at 05:06:43PM +0100, Andreas Herrmann wrote: > On Wed, Feb 07, 2007 at 01:17:57PM +0100, Swen Schillig wrote: > > From: Swen Schillig <[EMAIL PROTECTED]> > > > > Invalid locking order. Kernel hangs after trying to take two locks > > which are dependend on each other. Introduci

Re: persistent scsi with udev

2007-02-08 Thread James Smart
You can see if a white paper we put together, which includes information on tapes, can help you. There's also a small section on "boot from SAN" which talks about configuring udev in initrd for boot devices. Although the content references distros, it should be applicable to the kernel generically

RE: chip 1000:0055 (LSI1068 PCI-X) Fusion-MPT/MegaRAID

2007-02-08 Thread Bagalkote, Sreenivas
> > Hello Sreenivas, > > > We have already been alerted (by OEMs among others) that the modinfo on > > megaswr driver needlessly shows "GPL" as the license. Ours is a binary > > only proprietary driver. I have since corrected the MODULE_LICENSE label > > to "LSI Proprietary" and updated the OEM v

persistent scsi with udev

2007-02-08 Thread Andreas Moroder
Hello, we have a big problem with scsi device mapping. We have a LSI Megaraid controller and a qlogic HBA with a attached SAN When we boot the machine without the SAN then the first disk on the MEGARAID becomes \dev\sda When we boot with the SAN attached then the first disk in the san beco

program inquiry is using a deprecated scsi_ioctl , please convert it to SG_IO

2007-02-08 Thread Masthan
Hi All, I am not getting why i am getting the following DIAG message Program inquiry is using deprecated scsi ioctl, please convert it to SG_IO. The following snippet of linux source code clearly saying that, the above message is a kind of cosmetic warning message. Do you know how to use SG_IO

Re: chip 1000:0055 (LSI1068 PCI-X) Fusion-MPT/MegaRAID

2007-02-08 Thread Frederic TEMPORELLI
Hello Sreenivas, > We have already been alerted (by OEMs among others) that the modinfo on > megaswr driver needlessly shows "GPL" as the license. Ours is a binary > only proprietary driver. I have since corrected the MODULE_LICENSE label > to "LSI Proprietary" and updated the OEM versions. If thi

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Luming Yu
sorry, it should be #define ATA_PRIMARY_IRQ(dev) ide_default_irq(0x1F0) On 2/8/07, Luming Yu <[EMAIL PROTECTED]> wrote: if use ide_default_irq , then I guess the #if defined can be removed. #define ATA_PRIMARY_IRQ(dev) isa_irq_to_vector(0x1F0) On 2/8/07, Zhang, Yanmin <[EMAIL PROTECTED]> wr

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Luming Yu
if use ide_default_irq , then I guess the #if defined can be removed. #define ATA_PRIMARY_IRQ(dev) isa_irq_to_vector(0x1F0) On 2/8/07, Zhang, Yanmin <[EMAIL PROTECTED]> wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such nu

[PATCH]indistinguishable devices with broken and unbroken firmware #2

2007-02-08 Thread Oliver Neukum
Hi, there's a USB mass storage device which exists in two version. One reports the correct size and the other does not. Apart from that they are identical and cannot be told apart. Here's a heuristic based on the empirical finding that drives have even sizes. The requested changes have been made.