New: Seagate STT20000A no longer works
http://bugzilla.kernel.org/show_bug.cgi?id=12874
Summary: Seagate STT20000A no longer works
Product: IO/Storage
Version: 2.5
KernelVersion: 2.6.29-rc7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: IDE
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: 2.6.25
Earliest failing kernel version: 2.6.26
Distribution: Debian Lenny (tested with vanilla kernel) Hardware Environment: i386
Problem Description:
The Seagate STT20000A tapestreamer is no longer usable when modprobing the ide_tape module there's kernel BUG.
It was reported on the lkml[1][2], I tested with 2.6.29-rc7 and the problem still remains. Attached the boot dmesg and the kernel BUG dmesg. Please let me know if more information is needed.
[1]http://marc.info/?l=linux-kernel&m=122203193728465&w=2 [2]http://marc.info/?l=linux-kernel&m=122202406417545&w=2
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #1 from [email protected] 2009-03-15 01:25 ------- Created an attachment (id=20526)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20526&action=view)
dmesg after booting the system
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Regression|0 |1
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #2 from [email protected] 2009-03-15 01:26 ------- Created an attachment (id=20527)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20527&action=view)
dmesg after modprobe ide_tape
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #3 from [email protected] 2009-03-15 03:18 ------- (In reply to comment #1)
Quoted 1 line
Created an attachment (id=20526)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20526&action=view) [details]
Quoted 1 line
dmesg after booting the system
(In reply to comment #2)
Quoted 1 line
Created an attachment (id=20527)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20527&action=view) [details]
Quoted 1 line
dmesg after modprobe
ide_tape
Please set the MIME type of these attachments to text/plain.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20526|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20527|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #4 from [email protected] 2009-03-15 03:40 ------- (In reply to comment #3)
Quoted 2 lines
(In reply to comment #1)
Quoted 1 line
Created an attachment (id=20526)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20526&action=view) [details] [details]
Quoted 4 lines
Quoted 1 line
dmesg after booting the system
(In reply to comment #2)
Quoted 1 line
Created an attachment (id=20527)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20527&action=view) [details] [details]
Quoted 4 lines
Quoted 1 line
dmesg after modprobe
ide_tapePlease set the MIME type of these attachments to text/plain.
Sorry I assumed the autodetection of bugzilla would set the proper type. Changed it now.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
------- Comment #5 from [email protected] 2009-03-15 23:20 ------- Hi,
please do
objdump -d drivers/ide/ide-tape.o > ide-tape.dsm
make drivers/ide/ide-tape.s
and send me .dsm and .s files.
Thanks.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #6 from [email protected] 2009-03-18 16:04 ------- Created an attachment (id=20587)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20587&action=view)
ide-tape.dsm
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
------- Comment #7 from [email protected] 2009-03-18 16:04 ------- Created an attachment (id=20588)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20588&action=view)
ide-tape.s
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #8 from Borislav Petkov <[email protected]> 2009-03-25 08:40:31 --- Created an attachment (id=20666)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20666)
debug patch
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #9 from Borislav Petkov <[email protected]> 2009-03-25 08:42:07 --- Hi,
can you apply the debug patch attached and send me the modprobe output again. The patch is against stock 2.6.29 but it should apply fine against 2.6.29-rc7.
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #10 from Mark de Wever <[email protected]> 2009-03-30 20:20:36 --- Created an attachment (id=20746)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20746)
2.6.29-rc7 modprobe output with debug patch
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #11 from Borislav Petkov <[email protected]> 2009-03-31 08:08:25 --- Created an attachment (id=20753)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20753)
temporary fix
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #12 from Borislav Petkov <[email protected]> 2009-03-31 08:11:40 --- Hi Mark,
here's a fix. Please do test and let me know whether it fixes your bug.
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #13 from Mark de Wever <[email protected]> 2009-04-05 10:42:58 --- Created an attachment (id=20810)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20810)
modprobe with patch
I just tested with only the "temporary fix" patch patch applied and it didn't help. Attached the dmesg output of modprobe.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #14 from Borislav Petkov <[email protected]> 2009-04-05 16:23:15 --- Hi,
sorry, the patch was wrong. How about that one?
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Borislav Petkov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20753|0 |1
is obsolete| |
--- Comment #15 from Borislav Petkov <[email protected]> 2009-04-05 16:24:20 --- Created an attachment (id=20822)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20822)
tmp fix 2
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #16 from Mark de Wever <[email protected]> 2009-04-05 20:45:56 --- Created an attachment (id=20826)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20826)
modprobe with 'tmp fix 2' patch
I just tried the 'tmp fix 2' patch and the modprobe still fails, but with a different backtrace and error.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #17 from Borislav Petkov <[email protected]> 2009-04-08 05:45:43 --- Hi,
yeah, the driver is quite broken but no worries, we'll fix it :).
So, on to the next thing: If my analysis isn't completely wrong, we get a divide-by-zero error because tape->buffer_size is somehow 0. I'd like to see what capabilities your drive reports so please apply the following combo patch ontop of the "tmp fix 2"-patch and please send me the _whole_ dmesg this time.
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #18 from Borislav Petkov <[email protected]> 2009-04-08 05:47:20 --- Created an attachment (id=20873)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20873)
dump drive caps and dbg rqs
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #19 from Mark de Wever <[email protected]> 2009-04-08 22:21:27 --- Created an attachment (id=20892)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20892)
dmesg with patches 'tmp fix 2' + 'dump drive caps and dbg rqs'
As requested the complete dmesg output of booting and modprobe with the 'tmp fix 2' + 'dump drive caps and dbg rqs' patches applied.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Mark de Wever <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20892|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #20 from Borislav Petkov <[email protected]> 2009-04-10 10:06:04 --- Hmm, seems like the buffer is quite botched or the drive replies with some mode parameter headers I cannot correlate. Ok, let's now enable full debugging - please apply the following patch ontop of the other two you have already applied on your tree. This time you should expect more output so you should add 'log_buf_len=10M ignore_loglevel' to the kernel command line to make sure you catch it all. And as always, please send me the whole output.
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #21 from Borislav Petkov <[email protected]> 2009-04-10 10:06:57 --- Created an attachment (id=20917)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20917)
dump whole caps buffer
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #22 from Borislav Petkov <[email protected]> 2009-04-10 10:14:18 --- (From update of attachment 20917)
drivers/ide/ide-atapi.c +2 -0
@@ -8,6 +8,8 @@#include <linux/ide.h> #include <scsi/scsi.h> +#define DEBUG 1 +#ifdef DEBUG #define debug_log(fmt, args...) \ printk(KERN_INFO "ide: " fmt, ## args)
drivers/ide/ide-tape.c +1 -1
@@ -59,7 +59,7 @@ enum { };/* define to see debug info */ -#define IDETAPE_DEBUG_LOG 0 +#define IDETAPE_DEBUG_LOG 1#if IDETAPE_DEBUG_LOG #define debug_log(lvl, fmt, args...) \
@@ -720,9 +720,11 @@ static void idetape_create_mode_sense_cmd(struct
ide_atapi_pc *pc, u8 page_code)
if (page_code == IDETAPE_BLOCK_DESCRIPTOR)
pc->req_xfer = 12;
else if (page_code == IDETAPE_CAPABILITIES_PAGE)
- pc->req_xfer = 24;
+ pc->req_xfer = IDE_PC_BUFFER_SIZE;
else
pc->req_xfer = 50;+
+ memset(pc->pc_buf, 0xf, IDE_PC_BUFFER_SIZE);
}
static ide_startstop_t idetape_media_access_finished(ide_drive_t *drive)
@@ -2082,7 +2084,7 @@ static void idetape_get_mode_sense_results(ide_drive_t *drive)
struct ide_atapi_pc pc;
u8 *caps;
u8 speed, max_speed;- int i;
+ unsigned int i;
idetape_create_mode_sense_cmd(&pc, IDETAPE_CAPABILITIES_PAGE);
if (ide_queue_pc_tail(drive, tape->disk, &pc)) {
@@ -2097,8 +2099,11 @@ static void idetape_get_mode_sense_results(ide_drive_t
*drive)
caps = pc.buf + 4 + pc.buf[3];
printk(KERN_ERR "caps: ");
- for (i = 0; i < 24; i++)
+ for (i = 0; i < IDE_PC_BUFFER_SIZE; i++) {
printk(KERN_CONT " %x", pc.buf[i]);
+ if ((i & 0xf) == 0xf)
+ printk(KERN_CONT "\n");
+ }
printk(KERN_CONT "\n");
/* convert to host order and save for later use */
@@ -2207,6 +2212,7 @@ static void idetape_setup(ide_drive_t *drive,
idetape_tape_t *tape, int minor)
drive->pc_callback = ide_tape_callback;
drive->pc_update_buffers = idetape_update_buffers;
drive->pc_io_buffers = ide_tape_io_buffers;+ drive->debug_mask = 0xffffffff;
spin_lock_init(&tape->lock);
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Borislav Petkov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20917|0 |1
is obsolete| |
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #23 from Borislav Petkov <[email protected]> 2009-04-10 10:16:30 --- Created an attachment (id=20918)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20918)
dump whole caps buffer
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Sergei Shtylyov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #24 from Sergei Shtylyov <[email protected]> 2009-04-10 12:48:29 --- (In reply to comment #20)
Quoted 2 lines
Hmm, seems like the buffer is quite botched or the drive replies with some mode parameter headers I cannot correlate.
If you mean this line:
[ 42.272638] caps: 70 0 6 0 0 0 0 a 0 0 0 0 29 0 0 0 0 0 0 0 0 0 0 0
this is the extended sense data with its characteristic 1st byte of 0x70, 8-byte header with sense key UNIT ATTENTION, 10 bytes of additinal length and ASC of 0x29 meaning "reset hs occured".
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #25 from Borislav Petkov <[email protected]> 2009-06-15 08:18:12 --- Hi Mark,
can you please try 2.6.30 to see whether the problem still persists?
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #26 from Mark de Wever <[email protected]> 2009-06-18 18:02:54 --- Hi Boris,
I didn't test before since I thought the fixes would be in 2.6.31-rc1. I just tested 2.6.30 and the drive still causes an OOPS. I'll test again after 2.6.31-rc1 is released and if it still crashes I'll post a full dmesg and OOPS report.
Regards,
Mark
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #27 from Borislav Petkov <[email protected]> 2009-06-18 21:15:38 --- Hi Mark,
can you send the OOPS with 2.6.30?
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #28 from Mark de Wever <[email protected]> 2009-07-14 21:01:06 --- I tried to get the OOPS but the system hung and I wasn't able to capture it.
I just tested with 2.6.31-rc3 which didn't OOPS, but files written to the streamer were truncated when read. I hope to find some more time this weekend to do some more testing and see whether there's a pattern in the truncating. Just wanted to let you know to see whether it rings a bell.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #29 from Mark de Wever <[email protected]> 2009-07-19 13:21:54 --- I just did some more testing by writing files of different sizes to the streamer and reading them back. With the 2.6.24-debian kernel the files had the same size before and after writing. With 2.6.31-rc3 they all return smaller as written. I did three runs on 2.6.31-rc3 which all produced the same results. The output of the attached script was:
0 30.copy
0 32.copy
30720 30 32768 32 55296 60.copy 55296 64.copy 61440 60 65536 64 110592 120.copy 110592 128.copy 122880 120 131072 128 221184 240.copy 221184 256.copy 245760 240 262144 256 442368 480.copy 491520 480 497664 512.copy 524288 512 940032 960.copy 983040 960 995328 1024.copy
1048576 1024
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #30 from Mark de Wever <[email protected]> 2009-07-19 13:22:59 --- Created an attachment (id=22400)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22400)
test script to test reading and writing data to the streamer
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #31 from Borislav Petkov <[email protected]> 2009-07-19 14:27:12 --- Hi,
please send me that script and let me try to reproduce it here.
Thanks,
Boris.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #32 from Borislav Petkov <[email protected]> 2009-07-19 14:30:14 --- Ah, too much in a hurry, as always. You've sent it already. Nevermind.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #33 from Borislav Petkov <[email protected]> 2009-08-15 08:02:27 --- Created an attachment (id=22722)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22722)
disable DMA for RW commands
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #34 from Borislav Petkov <[email protected]> 2009-08-15 08:04:05 --- Hi Mark.
please try this patch to see whether it fixes your reported problem:
http://bugzilla.kernel.org/attachment.cgi?id=22722.
Thanks.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #35 from Mark de Wever <[email protected]> 2009-08-19 20:46:10 --- Hi Boris,
I tried your patch and it makes no difference, the files are still truncated at the same length.
Regards,
Mark
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Borislav Petkov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20666|0 |1
is obsolete| |
--- Comment #36 from Borislav Petkov <[email protected]> 2009-08-20 06:36:16 --- Created an attachment (id=22782)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22782)
ide-tape enable debug for whole driver
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #37 from Borislav Petkov <[email protected]> 2009-08-20 06:41:10 --- Hi Mark,
ok, we have to wheel out the heavy guns. In ide-next I've got an ide-tape debugging patch for the whole driver. Get the tree atgit://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6.git and apply the patch at http://bugzilla.kernel.org/attachment.cgi?id=22782
and catch the _whole_ output while doing only one filesize, let's say:
cat /tmp/32 >/dev/ht0
cat /dev/ht0 > /tmp/32.copy
Try setting log_buf_len=10M kernel parameter in case the output gets truncated since it is quite a lot.
Thanks.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
--- Comment #38 from Mark de Wever <[email protected]> 2009-08-31 18:22:04 --- Created an attachment (id=22933)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22933)
dmesg after running the test
I ran the test with kernel 2.6.31-rc8, pulling linux-next and your patch. Attached the dmesg output after running it with the 32Kb file (32.copy was still zero bytes).
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 12874] Seagate STT20000A no longer works
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=12874
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Kernel Version|2.6.29-rc7 |2.6.32
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.