linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: LibPATA code issues / 2.6.15.4
@ 2006-03-01 19:00 Nicolas Mailhot
  2006-03-01 19:22 ` Mark Lord
  0 siblings, 1 reply; 163+ messages in thread
From: Nicolas Mailhot @ 2006-03-01 19:00 UTC (permalink / raw)
  To: edmudama; +Cc: linux-ide, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]


> those drives should support all FUA opcodes properly, both queued and unqueued
> 
> On 2/28/06, Jeff Garzik <jgarzik@pobox.com> wrote:
> > Mark Lord wrote:
> > > David Greaves wrote:
> > >
> > >>
> > >> scsi1 : sata_sil
> > >>   Vendor: ATA       Model: Maxtor 6B200M0    Rev: BANC
> > >>   Type:   Direct-Access                      ANSI SCSI revision: 05
> > >>   Vendor: ATA       Model: Maxtor 6B200M0    Rev: BANC
> > >>   Type:   Direct-Access                      ANSI SCSI revision: 05

How about the drives that got blacklisted following :
http://bugzilla.kernel.org/show_bug.cgi?id=5914 ?
and
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177951 ?

Device Model:     Maxtor 6L300S0
Firmware Version: BANC1G10

on

Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)

Regards,

-- 
Nicolas Mailhot

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 199 bytes --]

^ permalink raw reply	[flat|nested] 163+ messages in thread
* LibPATA code issues / 2.6.15.4
@ 2006-03-14 13:50 me_trash1
  2006-03-15 15:03 ` Mark Lord
  2006-03-16  0:19 ` markus ebenhoeh
  0 siblings, 2 replies; 163+ messages in thread
From: me_trash1 @ 2006-03-14 13:50 UTC (permalink / raw)
  To: linux-ide; +Cc: Jeff Garzik, Mark Lord

Hi!

short:
system with 2.6.15.4 with Mark Lord's opcode info patches
sata_mv (Adaptec 1420SA Marvell 88SX6541)
e.g. postgres:insert&delete gives: ata3: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
or sometimes (unknown cause):
ata4: translated op=0x28 cmd=0x25 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
ata4: status=0xd0 { Busy }
Assertion failed! ((readl(port_mmio + EDMA_RSP_Q_IN_PTR_OFS) >> EDMA_RSP_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == pp->rsp_c
onsumer,drivers/scsi/sata_mv.c,mv_get_crpb_status,line=1112


long:
I wanted to post this to the the thread "LibPATA code issues / 2.6.15.4".
But right now my system is a bit down and so I sent this via webmail.

If I understand correctly:
The messages originally mentioned by Justin and David in the mentioned thread have no relation to FUA, as FUA was not enabled in 2.6.15.4?
They just got worse when FUA got introduced in 2.6.16 (I tried 2.6.16-rc5 with similar effects as David Greaves had.)?
So moving to 2.6.16-rc6 has not effect on these particular problems, except FUA is turned off again?
(I also tried 2.6.16-rc5-git2-2 (comes with openSuSE 10.1Beta6), which also showed these messages.)

I am using 2.6.15.4 with 2 opcode info patches from Mark Lord posted in the thread (the 2nd adapted to 2.6.15.4).
I have 3 ide disks connected to the Asus Abit KV8 Pro onboard IDE controller (using VIA82CXXX) ,  2 SATA disks connected to the
onboard board (a using sata_via) and 3 SATA disks connected to a Adaptec 1420SA (with a 88SX6541-BCZ Marvell chip) (ata3-ata5)
all drivers are compiled into the kernel.

I know sata_mv is highly experimental.

The system is a bit akward. It was installed with SuSE 9.3 and  moved on with the kernel.

(the config has PCI_MSI = 0)

There are basically three types of log messages.

The following logs are easily reproduced by either simple insert/delete into a postgres or checking (receiving) e-mail with kmail (via cygwin xwin):
(both postgres and home dir are on the raid6 with 3 disks on the Adaptec 1420SA)
   Mar 14 08:56:50 meserv kernel: [ 1612.616632] ata3: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar 14 08:56:50 meserv kernel: [ 1612.616637] ata3: status=0xd0 { Busy }
   Mar 14 08:56:50 meserv kernel: [ 1612.708175] ata4: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar 14 08:56:50 meserv kernel: [ 1612.708180] ata4: status=0xd0 { Busy }

The next "Assertion failed!" messages come by the hundred and I only had these 2 times and have not found out when it happens, yet.
I make them go away by shuting down the system.

   Mar 11 17:47:32 meserv kernel: [ 1364.826147] ata3: translated op=0x28 cmd=0x25 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar 11 17:47:32 meserv kernel: [ 1364.826151] ata3: status=0xd0 { Busy }
   Mar 11 17:47:32 meserv kernel: [ 1364.840187] ata4: translated op=0x28 cmd=0x25 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar 11 17:47:32 meserv kernel: [ 1364.840190] ata4: status=0xd0 { Busy }
   Mar 11 17:47:32 meserv kernel: [ 1364.840211] Assertion failed! ((readl(port_mmio + EDMA_RSP_Q_IN_PTR_OFS) >> EDMA_RSP_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == pp->rsp_c
onsumer,drivers/scsi/sata_mv.c,mv_get_crpb_status,line=1112

every now and then there was no error for a couple of seconds and then again a break of a minute and then again every second
   Mar 11 17:47:57 meserv kernel: [ 1389.785556] Assertion failed! ((readl(port_mmio + EDMA_RSP_Q_IN_PTR_OFS) >> EDMA_RSP_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == pp->rsp_consumer,drivers/scsi/sata_mv.c,mv_get_crpb_status,line=1112
   Mar 11 17:48:50 meserv kernel: [ 1442.756405] Assertion failed! ((readl(port_mmio + EDMA_RSP_Q_IN_PTR_OFS) >> EDMA_RSP_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == pp->rsp_consumer,drivers/scsi/sata_mv.c,mv_get_crpb_status,line=1112

That code is in static u8 mv_get_crpb_status(struct ata_port *ap) as probably obvious.


Lastly I had these messages only twice ( I also do not know the source, but I have the odd feeling that my wife's PC accessing
a lot of data over smb has something to do with it):
The difference are e.g
.) a different op code
.) assertion failure is at line=1067 in sata_mv.c
.) assertion failure in libata-core.c line=3517

   Mar  9 13:28:02 meserv kernel: [  650.731142] ata3: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar  9 13:28:02 meserv kernel: [  650.731147] ata3: status=0xd0 { Busy }
   Mar  9 13:28:02 meserv kernel: [  650.736058] ata4: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar  9 13:28:02 meserv kernel: [  650.736063] ata4: status=0xd0 { Busy }
   Mar  9 13:28:02 meserv kernel: [  650.774947] ata5: translated op=0x2a cmd=0x35 ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
   Mar  9 13:28:02 meserv kernel: [  650.774950] ata5: status=0xd0 { Busy }
   Mar  9 13:28:33 meserv kernel: [  680.683623] ata4: Entering mv_eng_timeout
   Mar  9 13:28:33 meserv kernel: [  680.683630] mmio_base ffffc20000900000 ap ffff81007f679440 qc ffff81007f679980 scsi_cmnd ffff81006bd2e2c0 &cmnd ffff81006bd2e330
   Mar  9 13:28:33 meserv kernel: [  681.816087] Assertion failed! qc->flags & ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3517
   Mar  9 13:28:33 meserv kernel: [  681.816102] ata4: status=0x50 { DriveReady SeekComplete }
   Mar  9 13:28:33 meserv kernel: [  681.816105] ata4: error=0x01 { AddrMarkNotFound }
   Mar  9 13:28:33 meserv kernel: [  681.816109] sdd: Current: sense key: No Sense
   Mar  9 13:28:33 meserv kernel: [  681.816111]     Additional sense: No additional sense information
   Mar  9 13:28:33 meserv kernel: [  681.816203] Assertion failed! ((in_ptr >> EDMA_REQ_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == ((readl(port_mmio + EDMA_REQ_Q_OUT_PTR_OFS)
    >> EDMA_REQ_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK),drivers/scsi/sata_mv.c,mv_qc_issue,line=1067
   Mar  9 13:29:04 meserv kernel: [  711.763158] ata4: Entering mv_eng_timeout
   Mar  9 13:29:04 meserv kernel: [  711.763165] mmio_base ffffc20000900000 ap ffff81007f679440 qc ffff81007f679980 scsi_cmnd ffff81006bd2e480 &cmnd ffff81006bd2e4f0
   Mar  9 13:29:04 meserv kernel: [  711.889637] ata4: status=0x50 { DriveReady SeekComplete }
   Mar  9 13:29:04 meserv kernel: [  711.889640] ata4: error=0x01 { AddrMarkNotFound }
   Mar  9 13:29:04 meserv kernel: [  712.769267] Assertion failed! qc->flags & ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3517
   Mar  9 13:29:04 meserv kernel: [  712.769281] ata4: status=0x50 { DriveReady SeekComplete }
   Mar  9 13:29:04 meserv kernel: [  712.769284] ata4: error=0x01 { AddrMarkNotFound }
   Mar  9 13:29:04 meserv kernel: [  712.769288] sdd: Current: sense key: No Sense
   Mar  9 13:29:04 meserv kernel: [  712.769290]     Additional sense: No additional sense information
   Mar  9 13:29:04 meserv kernel: [  712.769380] Assertion failed! ((in_ptr >> EDMA_REQ_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == ((readl(port_mmio + EDMA_REQ_Q_OUT_PTR_OFS)
    >> EDMA_REQ_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK),drivers/scsi/sata_mv.c,mv_qc_issue,line=1067



And finally I had all types of the above messages happend at once when my wife copied 700MB to the raid via smb
and I searched a ide disk and used kmail via Cygwin/Xwin and accessed the raid via smb.
At first no new ssh connection could be created, after successful login it just hanged.
Then all my ssh connections to the machine were closed, the network activity blinked wildly, no ping,
blank screen, no keyboard numlock and I after  a while I just turned of the power.

A picture of the card Adaptec_Serial_ATA_II_RAID_1420SA_front_nosticker.JPG (for chip identification?),
dmesg,
some system infos (lspci, some /proc's),
current config
and the last error log
can be found on
http://members.aon.at/~mebenhoc/sata_logs/

Bye,
Markus



-------------------------------------------
Versendet durch aonWebmail (webmail.aon.at)

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

end of thread, other threads:[~2006-07-14 20:02 UTC | newest]

Thread overview: 163+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.64.0602140439580.3567@p34>
2006-02-14 14:50 ` LibPATA code issues / 2.6.15.4 Mark Lord
2006-02-14 16:27   ` David Greaves
2006-02-14 17:12     ` Justin Piszcz
2006-02-14 18:00       ` Mark Lord
2006-02-14 18:06         ` Justin Piszcz
2006-02-23 23:39         ` Justin Piszcz
2006-02-25 15:32           ` Mark Lord
2006-02-25 15:58             ` Justin Piszcz
2006-02-25 16:11               ` Jesper Juhl
2006-02-25 16:21               ` Mark Lord
2006-02-25 11:34         ` David Greaves
2006-02-25 16:20           ` Mark Lord
2006-02-25 17:45             ` Justin Piszcz
2006-02-25 18:28               ` Mark Lord
2006-02-25 18:55                 ` Justin Piszcz
2006-02-25 19:29                 ` Justin Piszcz
2006-02-25 19:53                   ` David Greaves
2006-02-25 19:47                 ` David Greaves
2006-02-26  2:27                   ` Mark Lord
2006-02-26  9:56                     ` David Greaves
2006-02-26 14:04                       ` Mark Lord
2006-02-27 21:34                         ` Mark Lord
2006-02-28  1:33                           ` Tejun Heo
2006-02-28  1:46                             ` Linus Torvalds
2006-02-28  2:07                               ` Jeff Garzik
2006-02-28  2:14                                 ` Linus Torvalds
2006-02-28  2:52                                   ` Jeff Garzik
2006-02-28  3:36                                   ` Jeff Garzik
2006-02-28  4:11                                     ` Mark Lord
2006-02-28 10:30                                 ` Alan Cox
2006-02-28  8:03                               ` Jens Axboe
2006-02-28  4:16                             ` Mark Lord
2006-02-28 10:32                               ` Alan Cox
2006-02-28 10:30                                 ` Justin Piszcz
2006-02-28 10:39                               ` David Greaves
2006-02-28 14:37                                 ` Mark Lord
2006-02-28 21:04                                   ` Bill Davidsen
2006-03-08  2:57                                     ` Mark Lord
2006-03-08  3:18                                       ` Dave Jones
2006-03-08  3:23                                         ` Mark Lord
2006-03-08 15:37                                       ` Bill Davidsen
2006-02-28 14:38                                 ` Mark Lord
     [not found]                                   ` <Pine.LNX.4.64.0602280939280.16541@p34>
2006-02-28 14:49                                     ` Mark Lord
2006-02-28 15:07                                       ` Jeff Garzik
2006-02-28 15:26                                         ` Mark Lord
2006-02-28 15:33                                           ` Jeff Garzik
2006-03-01  0:46                                             ` Mark Lord
2006-03-01  6:01                                               ` Jeff Garzik
2006-02-28 15:16                                   ` Alan Cox
2006-03-01 17:33                                     ` David Greaves
2006-03-01 18:37                                       ` Alan Cox
2006-03-01 20:12                                         ` Phillip Susi
2006-03-08 16:46                                           ` Alan Cox
2006-02-28 15:31                                 ` Mark Lord
2006-02-28 15:34                                   ` Jeff Garzik
2006-02-28 16:57                                     ` Eric D. Mudama
2006-03-01  1:04                                       ` Mark Lord
2006-03-01 11:37                                         ` Justin Piszcz
2006-03-01 13:17                                         ` Justin Piszcz
2006-03-01 17:41                                     ` David Greaves
2006-03-01 17:46                                       ` Mark Lord
2006-03-01 18:12                                         ` David Greaves
2006-03-01 18:30                                           ` Mark Lord
2006-03-01 18:32                                             ` Justin Piszcz
2006-03-01 18:33                                             ` Justin Piszcz
2006-03-01 18:48                                             ` David Greaves
2006-03-01 19:49                                               ` David Greaves
2006-03-03 19:38                                                 ` Justin Piszcz
2006-03-03 22:46                                                   ` David Greaves
2006-03-04 14:25                                                     ` Mark Lord
2006-03-06  6:13                                                       ` David Greaves
2006-03-21 18:11                                                         ` David Greaves
2006-03-22 15:23                                                           ` David Greaves
2006-03-05 11:43                                                 ` Justin Piszcz
2006-03-05 12:41                                                   ` Justin Piszcz
2006-03-05 22:58                                                     ` Mark Lord
2006-03-05 23:00                                                       ` Mark Lord
2006-03-05 23:19                                                         ` Justin Piszcz
2006-03-05 23:39                                                       ` Jeff Garzik
2006-04-21 19:14                                                         ` LibPATA code issues / 2.6.16 (previously, 2.6.15.x) Justin Piszcz
2006-04-21 19:18                                                           ` Jeff Garzik
2006-04-21 19:28                                                             ` Linus Torvalds
2006-04-21 22:46                                                               ` Jeff Garzik
2006-04-22  0:05                                                                 ` Linus Torvalds
2006-05-06 15:09                                                                   ` [smartmontools-support]Re: " Leon Woestenberg
2006-05-07 12:44                                                                     ` Ingo Oeser
2006-06-11 11:13                                                                   ` Justin Piszcz
2006-04-22 16:39                                                           ` Justin Piszcz
2006-03-01 19:06                                             ` LibPATA code issues / 2.6.15.4 Justin Piszcz
2006-03-01 19:28                                               ` Mark Lord
2006-03-01 19:35                                               ` Mark Lord
2006-03-01 19:38                                                 ` Justin Piszcz
2006-03-01 19:41                                                   ` Jeff Garzik
2006-02-26 12:27                     ` James Courtier-Dutton
2006-02-26 12:55                       ` David Greaves
2006-02-26 13:56                       ` Mark Lord
2006-02-26 14:30                         ` Kernel SeekCompleteErrors... Different from " James Courtier-Dutton
2006-02-26 17:03                           ` Mark Lord
2006-02-26 17:13                             ` Dr. David Alan Gilbert
2006-02-26 17:43                               ` Alan Cox
2006-02-26 20:36                                 ` Mark Lord
2006-02-27 11:48                                   ` Alan Cox
2006-02-27 13:40                                     ` Mark Lord
2006-02-14 23:58   ` Justin Piszcz
2006-02-17  8:45   ` Jeff Garzik
2006-02-17 14:59     ` Mark Lord
2006-02-17 15:00       ` Justin Piszcz
2006-02-18 20:43       ` Sander
2006-02-18 21:42         ` Mark Lord
2006-02-18 21:51           ` Justin Piszcz
2006-02-19  7:14           ` Sander
2006-02-19 15:30             ` Mark Lord
2006-02-19 17:16               ` Sander
2006-07-06 23:08                 ` Justin Piszcz
2006-07-07 13:08                   ` Mark Lord
2006-07-07 13:24                     ` Justin Piszcz
2006-07-07 13:43                       ` Mark Lord
2006-07-07 13:48                         ` Justin Piszcz
2006-07-07 14:01                         ` Justin Piszcz
2006-07-07 14:35                         ` Justin Piszcz
2006-07-07 18:53                           ` Justin Piszcz
2006-07-07 19:19                             ` Jeff Garzik
2006-07-07 19:28                               ` Justin Piszcz
     [not found]                                 ` <200607091224.31451.liml@rtr.ca>
2006-07-09 17:27                                   ` Justin Piszcz
2006-07-09 20:16                                     ` Justin Piszcz
2006-07-09 20:40                                       ` LibPATA code issues / 2.6.15.4 (found the opcode=0x35)! Justin Piszcz
2006-07-09 20:46                                         ` Justin Piszcz
2006-07-09 21:05                                           ` Justin Piszcz
2006-07-09 22:03                                             ` Justin Piszcz
2006-07-10 13:59                                               ` Follow up? " Justin Piszcz
2006-07-10 15:33                                                 ` Alan Cox
2006-07-10 15:45                                                   ` Justin Piszcz
2006-07-11 13:28                                                     ` LibPATA code issues / 2.6.17.3 (What is the next step?) Justin Piszcz
2006-07-11 16:12                                                       ` Alan Cox
2006-07-12 22:10                                                         ` David Greaves
2006-07-12 22:29                                                           ` Justin Piszcz
2006-07-14 15:33                                                             ` David Greaves
2006-07-13 10:55                                                           ` Erik Mouw
2006-07-14 17:16                                                       ` Mark Lord
2006-07-14 17:18                                                         ` Justin Piszcz
2006-07-14 17:39                                                           ` Mark Lord
2006-07-14 18:18                                                             ` Justin Piszcz
2006-07-14 20:02                                                             ` Mark Lord
2006-07-14 17:14                                                     ` Follow up? LibPATA code issues / 2.6.15.4 (found the opcode=0x35)! Mark Lord
2006-07-14 17:17                                                       ` Justin Piszcz
2006-07-14 17:37                                                         ` Mark Lord
2006-07-14 18:17                                                           ` Justin Piszcz
2006-03-01 19:00 LibPATA code issues / 2.6.15.4 Nicolas Mailhot
2006-03-01 19:22 ` Mark Lord
2006-03-01 23:12   ` Nicolas Mailhot
2006-03-01 23:31     ` Jeff Garzik
2006-03-02  1:19     ` Eric D. Mudama
2006-03-02  1:39       ` Eric D. Mudama
  -- strict thread matches above, loose matches on Subject: below --
2006-03-14 13:50 me_trash1
2006-03-15 15:03 ` Mark Lord
2006-03-16 10:08   ` Jens Axboe
2006-03-17  5:26     ` Mark Lord
2006-03-17  9:26       ` Albert Lee
2006-03-17  9:57         ` Jeff Garzik
2006-03-17 15:20           ` Eric D. Mudama
2006-03-17 15:20         ` Mark Lord
2006-03-17 15:29           ` Tejun Heo
2006-03-16  0:19 ` markus ebenhoeh

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).