<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/scsi, branch v2.6.20</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/scsi?h=v2.6.20</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/scsi?h=v2.6.20'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-02-03T19:26:39Z</updated>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6</title>
<updated>2007-02-03T19:26:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-02-03T19:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ce35a81a71f405031ed6fd0d454d3aaa55dc8ed2'/>
<id>urn:sha1:ce35a81a71f405031ed6fd0d454d3aaa55dc8ed2</id>
<content type='text'>
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
  [SCSI] sd: udev accessing an uninitialized scsi_disk field results in a crash
  [SCSI] st: A MTIOCTOP/MTWEOF within the early warning will cause the file number to be incorrect
  [SCSI] qla4xxx: bug fixes
  [SCSI] Fix scsi_add_device() for async scanning
</content>
</entry>
<entry>
<title>[SCSI] sd: udev accessing an uninitialized scsi_disk field results in a crash</title>
<updated>2007-02-03T01:45:41Z</updated>
<author>
<name>Nagendra Singh Tomar</name>
<email>nagendra_tomar@adaptec.com</email>
</author>
<published>2007-02-02T12:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=017f2e37ae19ccd28e5edd965741fc374194c5dd'/>
<id>urn:sha1:017f2e37ae19ccd28e5edd965741fc374194c5dd</id>
<content type='text'>
	sd_probe() calls class_device_add() even before initializing the
sdkp-&gt;device variable. class_device_add() eventually results in the user mode
udev program to be called. udev program can read the the allow_restart
attribute of the newly created scsi device. This is resulting in a crash as
the show function for allow_restart (i.e sd_show_allow_restart) returns the
attribute value by reading the sdkp-&gt;device-&gt;allow_restart variable. As the
sdkp-&gt;device is not initialized before calling the user mode hotplug helper,
this results in a crash.
	The patch below solves it by calling class_device_add() only after the
necessary fields in the scsi_disk structure are initialized properly.

Signed-off-by: Nagendra Singh Tomar &lt;nagendra_tomar@adaptec.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] sym53c500_cs: remove bogus call fo free_dma()</title>
<updated>2007-01-30T16:39:20Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2007-01-30T13:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9a696b4f3c5664c2c4815cc8e37256e51a3425e1'/>
<id>urn:sha1:9a696b4f3c5664c2c4815cc8e37256e51a3425e1</id>
<content type='text'>
What DMA for 16bit pcmcia card, anyway?  We never do request_dma()
there and -&gt;dma_channel never changes since initialization to -1.
IOW, that call is dead code.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: A MTIOCTOP/MTWEOF within the early warning will cause the file number to be incorrect</title>
<updated>2007-01-27T15:18:21Z</updated>
<author>
<name>Kai Makisara</name>
<email>Kai.Makisara@kolumbus.fi</email>
</author>
<published>2007-01-25T22:38:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=91614c054c9ffc26b47a5cb3135113aa0f6e6ff0'/>
<id>urn:sha1:91614c054c9ffc26b47a5cb3135113aa0f6e6ff0</id>
<content type='text'>
On Wed, 24 Jan 2007, Andrew Morton wrote:

&gt; On Mon, 22 Jan 2007 13:07:20 -0800
&gt; bugme-daemon@bugzilla.kernel.org wrote:
&gt;
&gt; &gt; http://bugzilla.kernel.org/show_bug.cgi?id=7864
&gt; &gt;
&gt; &gt;            Summary: A MTIOCTOP/MTWEOF within the early warning will cause
&gt; &gt;                     the file number to be incorrect
&gt; &gt;     Kernel Version: 2.6.19.2
&gt; &gt;             Status: NEW
&gt; &gt;           Severity: low
&gt; &gt;              Owner: io_scsi@kernel-bugs.osdl.org
&gt; &gt;          Submitter: ce_reisinger@yahoo.com
&gt; &gt;
&gt; &gt;
&gt; &gt; Write records to a SCSI tape until a write fails with a ENOSPC (you have reached
&gt; &gt; early warning.
&gt; &gt; Now perform a:
&gt; &gt;    struct mtget before, after;
&gt; &gt;    ioctl(fd, MTIOCGET, &amp;before);
&gt; &gt;    struct mtop mtop = { MTWEOF, 1 };
&gt; &gt;    ioctl(fd, MTIOCTOP, &amp;mtop);
&gt; &gt;    ioctl(fd, MTIOCGET, &amp;after);
&gt; &gt;
&gt; &gt; Check the value of mt_fileno in the before and after structures. Notice the
&gt; &gt; after is 2 greater then the before.
&gt; &gt;
&gt; &gt; The problem appears to be in the block of code starting at line 2817 in st.c.
&gt; &gt; This block is entered because the drive did return a CHECK CONDITION with NO
&gt; &gt; SENSE and the SENSE_EOM bit set. At lines 2824/5 the fileno is incremented. But
&gt; &gt; it has already been increased by the number of filemarks requested by the
&gt; &gt; MTIOCTOP. I believe that the residue count in the sense data should be
&gt; &gt; subtracted from fileno, not a increment as is done.
&gt; &gt;
&gt;
&gt; Thanks.  Could you please send us a tested patch to fix these things, as
&gt; per http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt ?
&gt;
The analysis is basically correct and explains the bug. According to the
SCSI standards, the sense code is NO SENSE or RECOVERED ERROR in case
writing filemark(s) succeeds. If it fails (partly or completely) the sense
code is VOLUME OVERFLOW. The patch below is tested to fix the case when
one filemark is successfully written after the EOM early warning. It
should also fix the case at real EOM but this has not been tested.

Carl, thanks for reporting the bug and providing the analysis for the fix.

Signed-off-by: Kai Makisara &lt;kai.makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] qla4xxx: bug fixes</title>
<updated>2007-01-27T15:15:46Z</updated>
<author>
<name>David C Somayajulu</name>
<email>david.somayajulu@qlogic.com</email>
</author>
<published>2007-01-22T20:26:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=477ffb9d8732f30e7ab2d20f6ed0c22bad37a4a5'/>
<id>urn:sha1:477ffb9d8732f30e7ab2d20f6ed0c22bad37a4a5</id>
<content type='text'>
The included patch fixes the following issues:

1. qla3xxx/qla4xxx co-existence issue which can result in a lockup
when qla3xxx driver is unloaded, or when ifdown; ifup is performed on
one of the interfaces correponding to qla3xxx. This is because qla4xxx
HBA supports one ethernet and iscsi interfaces per port. Both iscsi
and ethernet interfaces share the same state machine. The problem has
to do with synchronizing access to the state machine in the event of a
reset

2. mutex_lock() is sometimes not followed by mutex_unlock() prior to
invoking a msleep() in qla4xxx_mailbox_command()

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] Fix scsi_add_device() for async scanning</title>
<updated>2007-01-27T15:02:36Z</updated>
<author>
<name>Matthew Wilcox</name>
<email>matthew@wil.cx</email>
</author>
<published>2007-01-16T01:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=938e2ac0b7ac72d264783b0b548eb6078c295294'/>
<id>urn:sha1:938e2ac0b7ac72d264783b0b548eb6078c295294</id>
<content type='text'>
I had thought that all drivers which didn't call scsi_scan_host()
called scsi_scan_target().  Some, such as sbp2, mptsas and libata-scsi,
call scsi_add_device() or __scsi_add_device().  We just need to wait
for the currently executing async scans to complete first.  This is the
same code that's in scsi_scan_target(), except that we have to return
an error instead of void when we're declining to scan at all.

Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6</title>
<updated>2007-01-22T18:35:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-01-22T18:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=365bbe0d0caaf2ba74d56556827babf0bc66965d'/>
<id>urn:sha1:365bbe0d0caaf2ba74d56556827babf0bc66965d</id>
<content type='text'>
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6: (30 commits)
  [SCSI] qla1280: set residual correctly
  [SCSI] fusion: bump version
  [SCSI] fusion: MODULE_VERSION support
  [SCSI] fusion: power pc and miscellaneous bug fixs
  [SCSI] fusion: fibre channel: return DID_ERROR for MPI_IOCSTATUS_SCSI_IOC_TERMINATED
  [SCSI] megaraid_sas: Update module author
  [SCSI] 3ware 8000 serialize reset code
  [SCSI] sr: fix error code check in sr_block_ioctl()
  [SCSI] scsi: lpfc error path fix
  [SCSI] aacraid: Product List Update
  [SCSI] libiscsi: fix senselen calculation
  [SCSI] iscsi: simplify IPv6 and IPv4 address printing
  [SCSI] iscsi: newline in printk
  [SCSI] iscsi: fix crypto_alloc_hash() error check
  [SCSI] iscsi: fix 2.6.19 data digest calculation bug
  [SCSI] scsi_scan: fix report lun problems with CDROM or RBC devices
  [SCSI] qla2xxx: Update version number to 8.01.07-k4.
  [SCSI] qla2xxx: Use generic isp_ops.fw_dump() function.
  [SCSI] qla2xxx: Perform a fw-dump when an ISP23xx RISC-paused state is detected.
  [SCSI] qla2xxx: Correct reset handling logic.
  ...
</content>
</entry>
<entry>
<title>[PATCH] PCMCIA: fix drivers broken by recent cleanup</title>
<updated>2007-01-12T02:24:39Z</updated>
<author>
<name>Daniel Ritz</name>
<email>daniel.ritz-ml@swissonline.ch</email>
</author>
<published>2006-12-08T17:07:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e176d397ad73ca76936e5638c2c81740dedb9d5d'/>
<id>urn:sha1:e176d397ad73ca76936e5638c2c81740dedb9d5d</id>
<content type='text'>
Setting .ConfigBase and .Present is now done at the pcmcia core.

The driver cleanup missed a few places where the driver did set .Present
to PRESENT_OPTION and later to the values from the CIS.  Setting to
PRESENT_OPTION now overrides the values from the CIS.  So just remove
those lines.

Signed-off-by: Daniel Ritz &lt;daniel.ritz@gmx.ch&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] qla1280: set residual correctly</title>
<updated>2007-01-06T15:33:18Z</updated>
<author>
<name>Jes Sorensen</name>
<email>jes@sgi.com</email>
</author>
<published>2007-01-05T17:05:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3ef49a3b45c33b055002402f01e5da98cb773086'/>
<id>urn:sha1:3ef49a3b45c33b055002402f01e5da98cb773086</id>
<content type='text'>
Jeremy caught a bug in the qla1280 driver where it didn't set the
residual value correctly.

Signed-off-by: Jeremy Higdon &lt;jeremy@sgi.com&gt;
Signed-off-by: Jes Sorensen &lt;jes@sgi.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] megaraid_sas: Update module author</title>
<updated>2007-01-06T15:21:47Z</updated>
<author>
<name>Sumant Patro</name>
<email>sumantp@lsil.com</email>
</author>
<published>2006-12-29T16:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3d6d174a0888fe082e87ce1d4a0f1a85044a4515'/>
<id>urn:sha1:3d6d174a0888fe082e87ce1d4a0f1a85044a4515</id>
<content type='text'>
Update domain name change from lsil.com to lsi.com.
Change module author to megaraidlinux@lsi.com

Signed-off-by: Sumant Patro &lt;sumant.patro@lsi.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
</feed>
