Lots of good info! Thanks.
I have installed sg3_utils, cool stuff.
I knew about AWRE and ARRE. AWRE is on, ARRE is off.
I do plan to turn on ARRE for all of my disks.
I can't re-produce these errors, so I guess they were write errors that were
re-located. I was hoping to find a reproducible erro
Adds AMI Megaraid Elite 1600 to the list of supported
adapters. I encountered some issues running with the old
megaraid driver with this card, so I wrote this patch and
have been running without problems since mid December.
Please apply.
Here is the PCI config space dump of my controller:
:
Hi all,
We are in the process to make some change to meet your expectation ASAP.
(e.g. (1) 2-d array => 1-d array (2) meet common coding style (3) 32-bit DMA
mask instead (4) PCI new device entry applied (5) use the PCI_DEVICE_ID_
name instead)
However, this is the revision we are sure it's workin
Guy wrote:
Good info. Thanks!
I could not find the answer with google. Too much noise!
Is 0x25e6e3 the block number?
Yes (logical block number expressed in hex)
If it is, is it relative to the beginning of sdl1, or sdl?
/dev/sdl
If not, what is it?
Looking at the settings of the "read write error
This is the fourth submission of this patch. I have still
had no response from the maintainer.
Adds AMI Megaraid Elite 1600 to the list of supported
adapters. I encountered some issues running with the old
megaraid driver with this card, so I wrote this patch and
have been running without proble
Ok, I have the debug info, with comments where needed.
Thanks alot!
#Unload then loaded st, without a reboot
10:37:10 kernel: st: Unloaded.
10:37:37 kernel: st: Version 20040102, bufsize 32768, max init. bufs
4, s/g segs 16
10:37:37 kernel: Attached scsi tape st0 at scsi1, channel 0, id 2, lun 0
1
Good info. Thanks!
I could not find the answer with google. Too much noise!
Is 0x25e6e3 the block number?
If it is, is it relative to the beginning of sdl1, or sdl?
If not, what is it?
Thanks,
Guy
-Original Message-
From: Matthias Andree [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Janu
On Tue, Jan 18, 2005 at 07:35:36AM -0800, James Bottomley wrote:
> On Tue, 2005-01-18 at 12:03 +0100, Andi Kleen wrote:
> > Add a call vector for 32bit compat ioctls to the SCSI host
> > structure. This is needed for some followon patches.
> >
> > Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
>
>
> -Original Message-
> From: Christoph Hellwig [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 17, 2005 5:23 PM
> To: Smart, James
> Cc: linux-scsi@vger.kernel.org
> Subject: Re: [Announce] Emulex lpfcdriver v8.0.20 available
>
>
> I started to look through it, here's some thing I foun
"Guy" <[EMAIL PROTECTED]> writes:
> Can anyone help decode this info?
>
> What is 0x25e6e3?
> What disk is sd08:b1?
/dev/sdl1 (ess dee ell one) - that's sedecimal notation for a device
with major 8 minor 0xb1 = 177;
$ ls -l /dev/sd* |grep " 8, 177"
brw-rw 1 root disk 8, 177 2004-10-02 10:
Can anyone help decode this info?
What is 0x25e6e3?
What disk is sd08:b1?
I have disks on 3 SCSI buses (scsi0, scsi2 and scsi3).
Do you need more info?
Thanks,
Guy
kernel: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error
kernel: Additional sense indicates Recovered data with error
On Tue, 2005-01-18 at 12:03 +0100, Andi Kleen wrote:
> Add a call vector for 32bit compat ioctls to the SCSI host
> structure. This is needed for some followon patches.
>
> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Shouldn't this also be surrounded by #ifdef CONFIG_COMPAT (on the
grounds that
On Tue, 2005-01-18 at 09:56 -0500, Alan Stern wrote:
> When I posted a patch last week to fix a reference to deallocated memory
> in sd.c, I forgot to check whether the same problem exists in sr.c. It
> does, and here's the patch to fix it.
Yes, I already caught that in the scsi-rc-fixes-2.6 tr
James:
When I posted a patch last week to fix a reference to deallocated memory
in sd.c, I forgot to check whether the same problem exists in sr.c. It
does, and here's the patch to fix it.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
= drivers/scsi/sr.c 1.78 vs edited =
Christoph Hellwig writes:
On Tue, Jan 18, 2005 at 05:39:03PM +0800, Richard Cai wrote:
>>I am using intel SE7501WV2 server, with a AIC 7902(A) SCSI control
,
>> a320raid driver. OS is redhat 8.0 , kernel is 2.4.18-14. if I run
lsmod,
>> it showes the a320raid module is right. Now I want to reco
On Tue, Jan 18, 2005 at 01:30:24PM +0100, Andi Kleen wrote:
> > How about having a macro ...
> >
> > .ioctl =st_ioctl,
> > COMPAT_IOCTL_ENTRY(st_compat_ioctl)
> > .open = st_open,
> >
> > which could be defined something like:
> >
> > #ifdef CONFIG_COMPAT
> > #define
Here are two helper functions for processing sense data.
These will allow the sd driver (and constants.c) to fetch
the information field in sense data. For a medium or
hardware error on a disk the information field is the
lba of the first failure.
Changelog:
- add sense data helper functions:
> How about having a macro ...
>
> .ioctl =st_ioctl,
> COMPAT_IOCTL_ENTRY(st_compat_ioctl)
> .open = st_open,
>
> which could be defined something like:
>
> #ifdef CONFIG_COMPAT
> #define COMPAT_IOCTL_ENTRY(x) .compat_ioctl = x,
> #else
> #define COMPAT_IOCTL_EN
On Tue, Jan 18, 2005 at 12:06:13PM +0100, Andi Kleen wrote:
> @@ -3716,6 +3732,9 @@
> .read = st_read,
> .write =st_write,
> .ioctl =st_ioctl,
> +#ifdef CONFIG_COMPAT
> + .compat_ioctl = st_compat_ioctl,
> +#endif
> .open = st_open,
>
On Tue, Jan 18, 2005 at 09:35:53PM +1000, Douglas Gilbert wrote:
> Andi Kleen wrote:
>
> >@@ -1343,6 +1366,9 @@
> > .write = sg_write,
> > .poll = sg_poll,
> > .ioctl = sg_ioctl,
> >+#ifdef CONFIG_COMPAT
> >+.ioctl = sg_compat_ioctl,
> >+#endif
>
> Andi,
> Two initializations of "
Andi Kleen wrote:
@@ -1343,6 +1366,9 @@
.write = sg_write,
.poll = sg_poll,
.ioctl = sg_ioctl,
+#ifdef CONFIG_COMPAT
+ .ioctl = sg_compat_ioctl,
+#endif
Andi,
Two initializations of ".ioctl" looks wrongs.
Comparing with the patch to sd should that be:
+ .compat
On Tue, Jan 18, 2005 at 11:23:57AM +, Christoph Hellwig wrote:
> > +#ifdef CONFIG_COMPAT
> > +static int st_compat_ioctl(struct file *file, unsigned int cmd, unsigned
> > long arg)
> > +{
> > + struct scsi_tape *STp = file->private_data;
> > + struct scsi_device *sdev = STp->device;
> > +
Convert I2O to new compat_ioctl entry points
Also broken design in its compat handlers - CONFIG_COMPAT doesn't
mean that there should be no native ioctls.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/message/i2o/i2o_config.c-o
linux-2.6.11-rc1-bk4/drivers/
> +#ifdef CONFIG_COMPAT
> +static int st_compat_ioctl(struct file *file, unsigned int cmd, unsigned
> long arg)
> +{
> + struct scsi_tape *STp = file->private_data;
> + struct scsi_device *sdev = STp->device;
> + int ret = -ENOIOCTLCMD;
> + if (sdev->host->hostt->compat_ioctl) {
>
Convert mptctl driver to new compat_ioctl entry point.
Only compile tested.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/message/fusion/mptctl.c-o
linux-2.6.11-rc1-bk4/drivers/message/fusion/mptctl.c
--- linux-2.6.11-rc1-bk4/drivers/message/fusion/mptctl.c
Convert megaraid2 driver to new compat_ioctl entry points.
I don't have easy access to hardware, so only compile tested.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/megaraid/megaraid_mm.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/megaraid/megaraid_mm.c
---
Convert aacraid driver to the compat_ioctl entry points.
I don't have hardware, so this is only compile tested, but I just
did some transformations on the existing code.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/aacraid/linit.c-o
linux-2.6.11-rc1-bk
Add compat_ioctl to osst
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/osst.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/osst.c
--- linux-2.6.11-rc1-bk4/drivers/scsi/osst.c-o 2005-01-17 10:39:40.0
+0100
+++ linux-2.6.11-rc1-bk4/drivers/scsi/osst.c
Add compat_ioctl entry point to SD
Requires the compat_ioctl for block devices patch I sent earlier
to linux-kernel.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/sd.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/sd.c
--- linux-2.6.11-rc1-bk4/drivers/scsi/sd.c-
Add comment that SR doesn't support compat_ioctl (because it doesn't
pass down any driver ioctls right now)
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/sr.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/sr.c
--- linux-2.6.11-rc1-bk4/drivers/scsi/sr.c-o2005-0
Add compat_ioctl forwarder to SG.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/sg.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/sg.c
--- linux-2.6.11-rc1-bk4/drivers/scsi/sg.c-o2005-01-04 12:13:07.0
+0100
+++ linux-2.6.11-rc1-bk4/drivers/scsi/sg.c
Call new compat_ioctl host vector from tape driver
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/scsi_ioctl.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/scsi_ioctl.c
diff -u linux-2.6.11-rc1-bk4/drivers/scsi/st.c-o
linux-2.6.11-rc1-bk4/drivers/scsi/st.c
--- li
Add a call vector for 32bit compat ioctls to the SCSI host
structure. This is needed for some followon patches.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
diff -u linux-2.6.11-rc1-bk4/include/scsi/scsi_host.h-o
linux-2.6.11-rc1-bk4/include/scsi/scsi_host.h
--- linux-2.6.11-rc1-bk4/include/sc
On Tue, Jan 18, 2005 at 05:39:03PM +0800, Richard Cai wrote:
> Hi
>I am using intel SE7501WV2 server, with a AIC 7902(A) SCSI control ,
> a320raid driver. OS is redhat 8.0 , kernel is 2.4.18-14. if I run lsmod, it
> showes the a320raid module is right. Now I want to recompile to kernel , but
Hi
I am using intel SE7501WV2 server, with a AIC 7902(A) SCSI control ,
a320raid driver. OS is redhat 8.0 , kernel is 2.4.18-14. if I run lsmod, it
showes the a320raid module is right. Now I want to recompile to kernel , but
every time when I run the command make install, it will prompt : "No
35 matches
Mail list logo