linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hddtemp hangs with USB SCSI disks; blk_execute_rq again
@ 2004-10-26  5:36 Meelis Roos
  2004-10-26  9:10 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2004-10-26  5:36 UTC (permalink / raw)
  To: Linux Kernel list

Hi,

hddtemp startup script hangs on my machine. Just the hddtemp process is
in D state (blk_execute_rq) and unkillable, other processes run fine.
The startup script calls hddtemp -wn /dev/sda. /dev/sda
is a CF slot in a USB 6-in-1 memory card reader, currently empty.
/proc/partitions shows only 2 ide disks.

Since hddtemp is not converted to SG_IO yet, the kernel logs
program hddtemp is using a deprecated SCSI ioctl, please convert it to SG_IO
but this should not cause hddtemp to hang.

This is another case of process hanging in blk_execute_rq, see the
recent thread "readcd hangs in blk_execute_rq" (also reported by me but
about a different computer).

I have noticed it some weeks ago but didn't have time then to
investigate and disabled hddtemp. Today I looked at it again and now I'm
reporting it.

-- 
Meelis Roos (mroos@linux.ee)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hddtemp hangs with USB SCSI disks; blk_execute_rq again
  2004-10-26  5:36 hddtemp hangs with USB SCSI disks; blk_execute_rq again Meelis Roos
@ 2004-10-26  9:10 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2004-10-26  9:10 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel list

On Tue, Oct 26 2004, Meelis Roos wrote:
> Hi,
> 
> hddtemp startup script hangs on my machine. Just the hddtemp process is
> in D state (blk_execute_rq) and unkillable, other processes run fine.
> The startup script calls hddtemp -wn /dev/sda. /dev/sda
> is a CF slot in a USB 6-in-1 memory card reader, currently empty.
> /proc/partitions shows only 2 ide disks.
> 
> Since hddtemp is not converted to SG_IO yet, the kernel logs
> program hddtemp is using a deprecated SCSI ioctl, please convert it to SG_IO
> but this should not cause hddtemp to hang.

No, but it's very possible for the issue to be buggy and thus hang the
device. The old method is more risky since it lacks certain information
(such as data direction).

> This is another case of process hanging in blk_execute_rq, see the
> recent thread "readcd hangs in blk_execute_rq" (also reported by me but
> about a different computer).

Well since most user issued io goes through that path, you haven't
really discovered much else than that very fact :-)

> I have noticed it some weeks ago but didn't have time then to
> investigate and disabled hddtemp. Today I looked at it again and now I'm
> reporting it.

Report it to the hddtemp people and let them diagnose it.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-26  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26  5:36 hddtemp hangs with USB SCSI disks; blk_execute_rq again Meelis Roos
2004-10-26  9:10 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).