RE: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error

2005-01-18 Thread Guy
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

[patch 1/1] megaraid: Add AMI Megaraid card to new driver

2005-01-18 Thread brking
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: :

Re: Fw: ACARD SCSI driver update for Linux kernel v2.6

2005-01-18 Thread jameshsu
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

Re: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error

2005-01-18 Thread Douglas Gilbert
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

[PATCH] Add AMI Megaraid card to new driver (resend)

2005-01-18 Thread Brian King
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

Re: Fwd: Multi tape problems with cpio

2005-01-18 Thread Tape Help
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

RE: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error

2005-01-18 Thread Guy
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

Re: [PATCH] Add compat_ioctl to scsi host structure

2005-01-18 Thread Andi Kleen
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]> > >

RE: [Announce] Emulex lpfcdriver v8.0.20 available

2005-01-18 Thread James . Smart
> -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

Re: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error

2005-01-18 Thread Matthias Andree
"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:

Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error

2005-01-18 Thread Guy
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

Re: [PATCH] Add compat_ioctl to scsi host structure

2005-01-18 Thread James Bottomley
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

Re: [PATCH as448] Fix reference to deallocated memory in sr.c

2005-01-18 Thread James Bottomley
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

[PATCH as448] Fix reference to deallocated memory in sr.c

2005-01-18 Thread Alan Stern
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 =

RE: the problem about a320raid driver

2005-01-18 Thread Salyzyn, Mark
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

Re: [PATCH] Add compat_ioctl to st

2005-01-18 Thread Matthew Wilcox
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

[PATCH] sense data helpers lk 2.6.11-rc1-bk1

2005-01-18 Thread Douglas Gilbert
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:

Re: [PATCH] Add compat_ioctl to st

2005-01-18 Thread Andi Kleen
> 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

Re: [PATCH] Add compat_ioctl to st

2005-01-18 Thread Matthew Wilcox
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, >

Re: [PATCH] Add compat_ioctl to SG

2005-01-18 Thread Andi Kleen
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 "

Re: [PATCH] Add compat_ioctl to SG

2005-01-18 Thread Douglas Gilbert
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

Re: [PATCH] Add compat_ioctl to st

2005-01-18 Thread Andi Kleen
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; > > +

[PATCH] Convert i2o to compat_ioctl

2005-01-18 Thread Andi Kleen
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/

Re: [PATCH] Add compat_ioctl to st

2005-01-18 Thread Christoph Hellwig
> +#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) { >

[PATCH] Add compat_ioctl to mptctl

2005-01-18 Thread Andi Kleen
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

[PATCH] Convert megaraid2 to compat_ioctl

2005-01-18 Thread Andi Kleen
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 ---

[PATCH] Convert aacraid to compat_ioctl

2005-01-18 Thread Andi Kleen
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

[PATCH] Add compat_ioctl to osst

2005-01-18 Thread Andi Kleen
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

[PATCH] Add compat_ioctl to SD

2005-01-18 Thread Andi Kleen
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-

[PATCH] Add comment for compat_ioctl to SR

2005-01-18 Thread Andi Kleen
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

[PATCH] Add compat_ioctl to SG

2005-01-18 Thread Andi Kleen
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

[PATCH] Add compat_ioctl to st

2005-01-18 Thread Andi Kleen
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

[PATCH] Add compat_ioctl to scsi host structure

2005-01-18 Thread Andi Kleen
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

Re: the problem about a320raid driver

2005-01-18 Thread Christoph Hellwig
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

the problem about a320raid driver

2005-01-18 Thread Richard Cai
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