[PATCH] bsg: update sg_io_v4 structure

2007-04-04 Thread FUJITA Tomonori
This updates sg_io_v4 structure (based on Doug's RFC, release 1.3). One minor change I made is using 'spare_out' and 'padding' instead of 'spare_out' and 'spare_out2' to be consistent with 'spare_in'. I added dout_iovec_count and din_iovec_count though I'm not sure bsg needs to implement iovec su

Re: [PATCH 1/4] stex: fix id mapping issue(v3)

2007-04-04 Thread James Bottomley
On Wed, 2007-04-04 at 16:56 -0700, Ed Lin wrote: > The correct internal mapping of stex controllers should be: > id:0~15, lun:0~7 (st_shasta) > id:0, lun:0~127 (st_yosemite) > id:0~127, lun:0 (st_vsc and st_vsc1) > > Unfortunately we can not use the internal id/lun as scsi > mid layer id/lun. The

[PATCH 1/4] stex: fix id mapping issue(v3)

2007-04-04 Thread Ed Lin
The correct internal mapping of stex controllers should be: id:0~15, lun:0~7 (st_shasta) id:0, lun:0~127 (st_yosemite) id:0~127, lun:0 (st_vsc and st_vsc1) Unfortunately we can not use the internal id/lun as scsi mid layer id/lun. The Linux kernel has a config option CONFIG_SCSI_MULTI_LUN. This o

Re: Linux tape drivers

2007-04-04 Thread Kai Makisara
On Wed, 4 Apr 2007, Kern Sibbald wrote: > On Wednesday 04 April 2007 20:46, Kai Makisara wrote: ... > > > > c. There is a real lack of information about any error condition > > > > (read/write). One can probably get it via direct SCSI commands, > but > > > > why not through an ioctl

Re: Linux tape drivers

2007-04-04 Thread Andrew Morton
On Wed, 4 Apr 2007 23:31:06 +0200 Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> wrote: > On Wednesday 04 April 2007, Andrew Morton wrote: > > On Wed, 4 Apr 2007 12:22:35 -0700 > > "Willem Riede" <[EMAIL PROTECTED]> wrote: > > > > > On 4/4/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > On We

Re: Linux tape drivers

2007-04-04 Thread Bartlomiej Zolnierkiewicz
On Wednesday 04 April 2007, Andrew Morton wrote: > On Wed, 4 Apr 2007 12:22:35 -0700 > "Willem Riede" <[EMAIL PROTECTED]> wrote: > > > On 4/4/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > > > > > I'm all in favor

sg_v4 interface, release 1.3

2007-04-04 Thread Douglas Gilbert
Attached is the SCSI generic version 4 interface, release 1.3 ChangeLog for release 1.3 [20070404] - increase tag size to 64 bits to comply with SAM-4 and SRP - add request_extra and spare_out2 for alignment Doug Gilbert SCSI Generic version 4 interface structure

Re: Linux tape drivers

2007-04-04 Thread Kern Sibbald
On Wednesday 04 April 2007 20:46, Kai Makisara wrote: ... > > > > > > Issues for discussion: > > > > > > 1. Bugs: > > >a. Other than the OSST driver, apparently no IDE/SATA tape driver works > > >with Bacula. I don't have such a drive (working on it), but from user > > >repo

Re: Linux tape drivers

2007-04-04 Thread Andrew Morton
On Wed, 4 Apr 2007 12:22:35 -0700 "Willem Riede" <[EMAIL PROTECTED]> wrote: > On 4/4/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > > > I'm all in favor of deprecating ide-tape if ide-scsi is a viable > > > alterna

Re: Linux tape drivers

2007-04-04 Thread Andrew Morton
On Wed, 4 Apr 2007 21:21:08 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > On Wednesday 04 April 2007 20:55, Andrew Morton wrote: > > On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > > > I'm all in favor of deprecating ide-tape if ide-scsi is a viable > alternati

Re: Linux tape drivers

2007-04-04 Thread Douglas Gilbert
Kai Makisara wrote: > On Tue, 3 Apr 2007, Andrew Morton wrote: > >> (cc's added, with permission) >> >> On Tue, 3 Apr 2007 15:08:37 +0200 >> Kern Sibbald <[EMAIL PROTECTED]> wrote: >> >>> Hello, >>> >>> I am the project manager for Bacula, an Open Source network backup program >>> that runs on al

[PATCH] aacraid: Correct SMC products in aacraid.txt

2007-04-04 Thread Salyzyn, Mark
Correct a spelling mistake for the SMC product names (replace 'B' with 'R') in the Documentation/scsi/aacraid.txt file. This is a follow-up to a documentation patch '[PATCH] aacraid: Add SMC and SUN products to README' submitted and accepted to scsi-misc-2.6 on March 27 2007. ObligatoryDisclaimer:

Re: Linux tape drivers

2007-04-04 Thread Willem Riede
On 4/4/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > I'm all in favor of deprecating ide-tape if ide-scsi is a viable alternative, ow. ide-scsi is in very bad shape and nobody is maintaining it or fixing bugs in it or

Re: Linux tape drivers

2007-04-04 Thread Kern Sibbald
On Wednesday 04 April 2007 20:55, Andrew Morton wrote: > On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > I'm all in favor of deprecating ide-tape if ide-scsi is a viable alternative, > > ow. ide-scsi is in very bad shape and nobody is maintaining it or fixing >

Re: Linux tape drivers

2007-04-04 Thread Kai Makisara
On Tue, 3 Apr 2007, Andrew Morton wrote: > > (cc's added, with permission) > > On Tue, 3 Apr 2007 15:08:37 +0200 > Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I am the project manager for Bacula, an Open Source network backup program > > that runs on all popular OSes. After

Re: Linux tape drivers

2007-04-04 Thread Andrew Morton
On Wed, 4 Apr 2007 16:26:14 +0200 Kern Sibbald <[EMAIL PROTECTED]> wrote: > I'm all in favor of deprecating ide-tape if ide-scsi is a viable > alternative, ow. ide-scsi is in very bad shape and nobody is maintaining it or fixing bugs in it or anything. The only reason we retain ide-scsi at a

Re: [PATCH] SG: cap reserved_size values at max_sectors

2007-04-04 Thread Douglas Gilbert
Alan Stern wrote: > This patch (as857) modifies the SG_GET_RESERVED_SIZE and > SG_SET_RESERVED_SIZE ioctls in the sg driver, capping the values at > the device's request_queue's max_sectors value. This will permit > cdrecord to obtain a legal value for the maximum transfer length, > fixing Bugzill

RE: [PATCH 1/4] [SCSI]stex: fix id mapping issue

2007-04-04 Thread Ed Lin
> -Original Message- > From: James Bottomley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 04, 2007 10:36 AM > To: Ed Lin > Cc: linux-scsi; linux-kernel; jeff; Promise_Linux > Subject: RE: [PATCH 1/4] [SCSI]stex: fix id mapping issue > > > On Wed, 2007-04-04 at 10:31 -0700, Ed Lin

Re: [patch 1/1] scsi: Disable short inquiry log by default

2007-04-04 Thread Brian King
James Bottomley wrote: > On Mon, 2007-04-02 at 16:20 -0500, [EMAIL PROTECTED] wrote: >> If a scsi device reports less than 36 bytes of standard inquiry >> data, scsi core logs a KERN_INFO printk indicating this. It was >> observed that this results in lots of clutter in the log on >> systems with d

RE: [PATCH 1/4] [SCSI]stex: fix id mapping issue

2007-04-04 Thread James Bottomley
On Wed, 2007-04-04 at 10:31 -0700, Ed Lin wrote: > Sorry. It seems the mail server has problem. The patch is here in plain > text. I hope this time it does not mess up. I have problem with > linux-scsi > mail list, if you have comment please cc me. Thanks. > --Ed Lin The lines are still broken, I

RE: [PATCH 3/4] [SCSI]stex: fix reset recovery for console device

2007-04-04 Thread Ed Lin
> -Original Message- > From: Ed Lin > Sent: Monday, April 02, 2007 4:02 PM > To: James Bottomley > Cc: linux-scsi; linux-kernel; jeff; Promise_Linux > Subject: RE: [PATCH 3/4] [SCSI]stex: fix reset recovery for > console device > > > > > > -Original Message- > > From: James

RE: [PATCH 1/4] [SCSI]stex: fix id mapping issue

2007-04-04 Thread Ed Lin
> -Original Message- > From: Ed Lin > Sent: Monday, April 02, 2007 4:01 PM > To: 'James Bottomley' > Cc: linux-scsi; linux-kernel; jeff; Promise_Linux > Subject: RE: [PATCH 1/4] [SCSI]stex: fix id mapping issue > > > > > > -Original Message- > > From: James Bottomley [mailto:

[PATCH 1/1] cciss: add init of drv->cylinders back to cciss_geometry_inquiry

2007-04-04 Thread Mike Miller (OS Dev)
PATCH 1/1 This patch adds initialization of drv->cylinders back into the failing case in cciss_geometry_inquiry. I inadvertently removed it in one my 2TB updates. Please consider this for inclusion. Signed-off-by: Mike Miller <[EMAIL PROTECTED]> --

Re: Linux tape drivers

2007-04-04 Thread Kern Sibbald
On Wednesday 04 April 2007 05:00, Willem Riede wrote: > > Kern Sibbald <[EMAIL PROTECTED]> wrote: ... Hello Willem, > > Osst supports both scsi and ide models of the Onstream dirves it is > designed for. > It uses ide-scsi for the ide model. In the past, I did look at > ide-tape to see if it co

SATA (AHCI) (or disk) probs on Intel Server Board S5000PAL

2007-04-04 Thread Michael Tokarev
On a regular basis now (but not very frequently - it happened two times in a single month so far), a system based on the abovementioned board fails to work with a hard drive, on an idle system. Like this (too bad it's not an 1st April joke): Apr 1 01:36:09 ata2.00: exception Emask 0x10 SAct 0x2

RE: [PATCH] aacraid: Panics during init time reset (Was: [PATCH] aacraid: [Fastboot] Panics for AACRAID driver during 'insmod' for kexec test)

2007-04-04 Thread Duane Cox
By bad... 'interrpt' typo -Original Message- From: Duane Cox Sent: Monday, April 02, 2007 3:04 PM To: 'Salyzyn, Mark'; Judith Lebzelter Cc: James Bottomley; linux-scsi@vger.kernel.org Subject: RE: [PATCH] aacraid: Panics during init time reset (Was: [PATCH] aacraid: [Fastboot] Panics for

RE: [PATCH] aacraid: Panics during init time reset (Was: [PATCH] aacraid: [Fastboot] Panics for AACRAID driver during 'insmod' for kexec test)

2007-04-04 Thread Duane Cox
Attempted to compile 2.6.20.3 kernel results in... CC drivers/scsi/aacraid/rx.o drivers/scsi/aacraid/rx.c: In function '_aac_rx_init': drivers/scsi/aacraid/rx.c:869: error: 'aac_rx_disable_interrpt' undeclared (first use in this function) drivers/scsi/aacraid/rx.c:869: error: (Each undecla