Re: linux kernel panic when ejecting ieee1394 ipod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Bottomley wrote:
On Fri, 2005-12-09 at 20:35 +0100, Stefan Richter wrote:
When preparing a request in scsi_lib or in a SCSI high-level driver,
always set a transfer direction of DMA_NONE if data length is zero,
even for alleged write requests. (Extended patch derived from Jens
Axboe's version.)
[...]
The problem is that I already picked up Jens' patch in rc fixes, so this
no-longer applies.  However, given that the fix needed to be in four
separate places, which looks rather bad, I propose the following
consolidation instead.

Jens' patch alone does not fix the kernel panic AFAICS. "eject /dev/sdX" goes through sd_init_command. James, could you put your patch into scsi-rc-fixes too? And what about -stable?

[BTW, some revisions of iPods require to either "eject" them or to unload sbp2 or to disassociate them from sbp2 via an arcane echo to ieee1394's sysfs interface before they can be unplugged. Else their firmware needs to be reset. This is why "eject" is the recommended procedure to disconnect an iPod.]

Thanks,
--
Stefan Richter
-=====-=-=-= ==-- -==-=
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux