Re: Maybe a bug in libata-core

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

 



On Mon, 23 Aug 2010 11:16:21 +0200
Tejun Heo <tj@xxxxxxxxxx> wrote:

> On 08/23/2010 02:52 AM, Stefan /*St0fF*/ Hübner wrote:
> > Hi Jeff and list,
> > 
> > maybe this mail was wrong on the linux-scsi list.  So here we go again:
> > 
> > -------- Original-Nachricht --------
> > Betreff: Maybe a bug in libata-core
> > Datum: Fri, 20 Aug 2010 23:48:09 +0200
> > Von: Stefan Hübner  <stefan.huebner@xxxxxxxxxxxxxxxxxx>
> > Antwort an: stefan.huebner@xxxxxxxxxxxxxxxxxx
> > Organisation: TU-Ilmenau
> > An: linux-scsi@xxxxxxxxxxxxxxx
> > 
> >  Hi List!
> > 
> > After sending a WRITE_DMA_FUA_EXT ATA-command via SG_IO Passthru to a
> > harddisk (here: /dev/sdd), my kernel panics.  The is what I find in syslog:
> 
> You're sending down data command w/o data.  Panicking probably isn't
> the best response here.  Maybe the BUG_ON() should be changed to
> WARN_ON_ONCE() + goto sg_err.

It's user triggerable (as root I grant) so really shouldn't be
generating WARNs in that case either - just an -EIO.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux