public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: linux-scsi@vger.kernel.org
Subject: mvsas: blocked task on writing to tape
Date: Thu, 19 Aug 2010 13:34:56 +0000 (UTC)	[thread overview]
Message-ID: <i4jbu0$icb$2@dough.gmane.org> (raw)

hi

recently upgraded the kernel from 2.6.32-bpo.4 to -bpo.5 on Debian Lenny.
Since then, the tape drives don't work anymore. after some time writing 
to tape, it stopps working.

I then compiled a vanilla 2.6.35.2 kernel to verify that the
problem still exists - and it does (log below).

debian kernel 2.6.32-bpo.4 is IMHO 2.6.32.11+patches
debian kernel 2.6.32-bpo.5 is IMHO 2.6.32.15+patches

Hardware:
*Areca ARC-1300ix-16 (mvsas)
* Quantum LTO-4 tape drives connected with SAS (1x standalone, 
1x SuperLoader3 with Drive) - both  having problems.

- Thomas

kernel messages from 2.6.35.2 (vanilla kernel.org):

[    1.303780] mvsas 0000:03:00.0: mvsas: driver version 0.8.2
[    1.304219] mvsas 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.304349] mvsas 0000:03:00.0: setting latency timer to 64
[    1.306623] mvsas 0000:03:00.0: mvsas: PCI-E x4, Bandwidth Usage: 2.5 Gbps
[    4.047535] scsi1 : mvsas
[    4.047961] drivers/scsi/mvsas/mv_sas.c 1260:set wide port phy map 1
[    4.057892] drivers/scsi/mvsas/mv_sas.c 1260:set wide port phy map 3
[    4.077741] drivers/scsi/mvsas/mv_sas.c 1260:set wide port phy map 7
[    4.107512] drivers/scsi/mvsas/mv_sas.c 1260:set wide port phy map f
...
[  445.370604] st1: Block limits 1 - 16777215 bytes.

<writing with btape (bacula tape test tool)>

[ 1440.924322] INFO: task btape:4738 blocked for more than 120 seconds.
[ 1440.924397] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1440.924488] btape         D ffff88025caa6908     0  4738   4531 0x00000000
[ 1440.924646]  ffff88025ec6b680 0000000000000082 000000010000000c 0000000000000010
[ 1440.924915]  00000000000154c0 ffff88025d4c1fd8 ffff88025d4c1fd8 ffff88025caa6630
[ 1440.925173]  00000000000154c0 00000000000154c0 00000000000154c0 ffff88025caa6630
[ 1440.925442] Call Trace:
[ 1440.925521]  [<ffffffff81304001>] ? schedule_timeout+0x2e/0xdd
[ 1440.925592]  [<ffffffff8117864a>] ? blk_peek_request+0x18f/0x1a3
[ 1440.925661]  [<ffffffff81303e92>] ? wait_for_common+0xde/0x15b
[ 1440.925732]  [<ffffffff8103f832>] ? default_wake_function+0x0/0x9
[ 1440.925816]  [<ffffffffa030009e>] ? st_do_scsi+0x2c4/0x2f4 [st]
[ 1440.925887]  [<ffffffff8103709d>] ? __wake_up+0x30/0x44
[ 1440.925956]  [<ffffffffa03041b5>] ? st_write+0x615/0xa74 [st]
[ 1440.926027]  [<ffffffff810eb3c0>] ? vfs_write+0xa9/0x102
[ 1440.926095]  [<ffffffff810eb4d5>] ? sys_write+0x45/0x6e
[ 1440.926164]  [<ffffffff81008a82>] ? system_call_fastpath+0x16/0x1b

...

[ 2040.924074] INFO: task btape:4738 blocked for more than 120 seconds.
[ 2040.924106] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 2040.924152] btape         D ffff88025caa6908     0  4738   4531 0x00000000
[ 2040.930407]  ffff88025ec6b680 0000000000000082 000000010000000c 0000000000000010
[ 2040.930462]  00000000000154c0 ffff88025d4c1fd8 ffff88025d4c1fd8 ffff88025caa6630
[ 2040.930514]  00000000000154c0 00000000000154c0 00000000000154c0 ffff88025caa6630
[ 2040.930566] Call Trace:
[ 2040.930596]  [<ffffffff81304001>] ? schedule_timeout+0x2e/0xdd
[ 2040.930626]  [<ffffffff8117864a>] ? blk_peek_request+0x18f/0x1a3
[ 2040.930654]  [<ffffffff81303e92>] ? wait_for_common+0xde/0x15b
[ 2040.930689]  [<ffffffff8103f832>] ? default_wake_function+0x0/0x9
[ 2040.930739]  [<ffffffffa030009e>] ? st_do_scsi+0x2c4/0x2f4 [st]
[ 2040.930771]  [<ffffffff8103709d>] ? __wake_up+0x30/0x44
[ 2040.930803]  [<ffffffffa03041b5>] ? st_write+0x615/0xa74 [st]
[ 2040.930845]  [<ffffffff810eb3c0>] ? vfs_write+0xa9/0x102
[ 2040.930872]  [<ffffffff810eb4d5>] ? sys_write+0x45/0x6e
[ 2040.930902]  [<ffffffff81008a82>] ? system_call_fastpath+0x16/0x1b

[ 2142.769455] drivers/scsi/mvsas/mv_sas.c 1716:mvs_abort_task:rc= -5

[ 2160.928073] INFO: task btape:4738 blocked for more than 120 seconds.
[ 2160.928105] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 2160.928150] btape         D ffff88025caa6908     0  4738   4531 0x00000000
[ 2160.928188]  ffff88025ec6b680 0000000000000082 000000010000000c 0000000000000010
[ 2160.928238]  00000000000154c0 ffff88025d4c1fd8 ffff88025d4c1fd8 ffff88025caa6630
[ 2160.928301]  00000000000154c0 00000000000154c0 00000000000154c0 ffff88025caa6630
[ 2160.928351] Call Trace:
[ 2160.928381]  [<ffffffff81304001>] ? schedule_timeout+0x2e/0xdd
[ 2160.928413]  [<ffffffff8117864a>] ? blk_peek_request+0x18f/0x1a3
[ 2160.928450]  [<ffffffff81303e92>] ? wait_for_common+0xde/0x15b
[ 2160.928480]  [<ffffffff8103f832>] ? default_wake_function+0x0/0x9
[ 2160.928523]  [<ffffffffa030009e>] ? st_do_scsi+0x2c4/0x2f4 [st]
[ 2160.928552]  [<ffffffff8103709d>] ? __wake_up+0x30/0x44
[ 2160.928580]  [<ffffffffa03041b5>] ? st_write+0x615/0xa74 [st]
[ 2160.928610]  [<ffffffff810eb3c0>] ? vfs_write+0xa9/0x102
[ 2160.928637]  [<ffffffff810eb4d5>] ? sys_write+0x45/0x6e
[ 2160.928665]  [<ffffffff81008a82>] ? system_call_fastpath+0x16/0x1b
[ 2166.914940] drivers/scsi/mvsas/mv_sas.c 1632:mvs_query_task:rc= 0
[ 2172.884346] drivers/scsi/mvsas/mv_sas.c 1586:mvs_I_T_nexus_reset for device[2]:rc= 0
[ 2172.884354] drivers/scsi/mvsas/mv_sas.c 1967:Release slot [0] tag[0], task [ffff880250668fc0]:
[ 2172.884380] st1: Error 50000 (driver bt 0x0, host bt 0x5).





             reply	other threads:[~2010-08-19 13:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 13:34 Thomas Mueller [this message]
2010-08-19 15:40 ` mvsas: blocked task on writing to tape Srinivas Naga Venkatasatya Pasagadugula - ERS, HCL Tech
2010-08-19 17:41   ` Thomas Mueller
2010-08-20  6:47     ` Mikael Abrahamsson
2010-08-20  8:40       ` Thomas Mueller
     [not found]     ` <AANLkTi=q0q0UOq8gw6O1Q7aoD-X0VKcOST1r0AsOUtt=@mail.gmail.com>
     [not found]       ` <4C6E132F.40207@chaschperli.ch>
     [not found]         ` <AANLkTik2R0e__9W0bkvat0Ma95KgkUKBfe2cp=G-s=pQ@mail.gmail.com>
2010-08-20  9:26           ` Thomas Mueller
2010-08-20  8:56   ` Thomas Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i4jbu0$icb$2@dough.gmane.org' \
    --to=thomas@chaschperli.ch \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox