linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DMA Errors from SATA Controller with 4G Memory Remapping Enabled
@ 2012-11-13 22:08 Dimitar Popov
  2012-11-14  0:17 ` Robert Hancock
       [not found] ` <20121113223421.7129577d@pyramind.ukuu.org.uk>
  0 siblings, 2 replies; 3+ messages in thread
From: Dimitar Popov @ 2012-11-13 22:08 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I have an old computer with motherboard ASUS SK8N with AMD Opteron 148 and 4 
GiB of DDR400. There is an onboard SATA Promise RAID controller working in IDE 
mode (i.e. not as RAID controller) with 2 SATA disks. In order to use all 4 
GiB RAM I need to enable the "4G Memory Remapping" option from the BIOS. 
However, if I do that I receive the following errors:

ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: failed command: WRITE DMA
[136B blob data]
ata2.00: status: { DRDY }
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for UDMA/133
ata2.00: device reported invalid CHS sector 0
sd 1:0:0:0: [sdb]  
Result: hostbyte=0x00 driverbyte=0x08
sd 1:0:0:0: [sdb]  
Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 1:0:0:0: [sdb]  
ASC=0x0 ASCQ=0x0
sd 1:0:0:0: [sdb] CDB: 
cdb[0]=0x2a: 2a 00 00 2a 63 f0 00 00 08 00
end_request: I/O error, dev sdb, sector 2778096
btrfs: bdev /dev/sdb6 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
ata2: EH complete

I don't know if it is a bug in the BIOS or a kernel bug. Here some info (I'll 
provide further info, if needed):

$ uname -a
Linux darkstar 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64 
GNU/Linux

01:08.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 
378/SATA 378) (rev 02)
        Subsystem: ASUSTeK Computer Inc. K8V Deluxe/PC-DL Deluxe motherboard
        Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
        I/O ports at dc00 [size=64]
        I/O ports at d800 [size=16]
        I/O ports at d400 [size=128]
        Memory at fa9ff000 (32-bit, non-prefetchable) [size=4K]
        Memory at fa9c0000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2
        Kernel driver in use: sata_promise

Thank you in advance!

Regards,
Dimitar

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

* Re: DMA Errors from SATA Controller with 4G Memory Remapping Enabled
  2012-11-13 22:08 DMA Errors from SATA Controller with 4G Memory Remapping Enabled Dimitar Popov
@ 2012-11-14  0:17 ` Robert Hancock
       [not found] ` <20121113223421.7129577d@pyramind.ukuu.org.uk>
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Hancock @ 2012-11-14  0:17 UTC (permalink / raw)
  To: Dimitar Popov; +Cc: linux-kernel

On 11/13/2012 04:08 PM, Dimitar Popov wrote:
> Hi all,
>
> I have an old computer with motherboard ASUS SK8N with AMD Opteron 148 and 4
> GiB of DDR400. There is an onboard SATA Promise RAID controller working in IDE
> mode (i.e. not as RAID controller) with 2 SATA disks. In order to use all 4
> GiB RAM I need to enable the "4G Memory Remapping" option from the BIOS.
> However, if I do that I receive the following errors:
>
> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> ata2.00: failed command: WRITE DMA
> [136B blob data]
> ata2.00: status: { DRDY }
> ata2: hard resetting link
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata2.00: configured for UDMA/133
> ata2.00: device reported invalid CHS sector 0
> sd 1:0:0:0: [sdb]
> Result: hostbyte=0x00 driverbyte=0x08
> sd 1:0:0:0: [sdb]
> Sense Key : 0xb [current] [descriptor]
> Descriptor sense data with sense descriptors (in hex):
>          72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>          00 00 00 00
> sd 1:0:0:0: [sdb]
> ASC=0x0 ASCQ=0x0
> sd 1:0:0:0: [sdb] CDB:
> cdb[0]=0x2a: 2a 00 00 2a 63 f0 00 00 08 00
> end_request: I/O error, dev sdb, sector 2778096
> btrfs: bdev /dev/sdb6 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
> ata2: EH complete
>
> I don't know if it is a bug in the BIOS or a kernel bug. Here some info (I'll
> provide further info, if needed):

It seems like there are some lines missing from this output. Can you 
provide the full dmesg output from bootup?

You also might want to check for a BIOS update.

>
> $ uname -a
> Linux darkstar 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64
> GNU/Linux
>
> 01:08.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak
> 378/SATA 378) (rev 02)
>          Subsystem: ASUSTeK Computer Inc. K8V Deluxe/PC-DL Deluxe motherboard
>          Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
>          I/O ports at dc00 [size=64]
>          I/O ports at d800 [size=16]
>          I/O ports at d400 [size=128]
>          Memory at fa9ff000 (32-bit, non-prefetchable) [size=4K]
>          Memory at fa9c0000 (32-bit, non-prefetchable) [size=128K]
>          Capabilities: [60] Power Management version 2
>          Kernel driver in use: sata_promise
>
> Thank you in advance!
>
> Regards,
> Dimitar
>


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

* Re: DMA Errors from SATA Controller with 4G Memory Remapping Enabled
       [not found] ` <20121113223421.7129577d@pyramind.ukuu.org.uk>
@ 2012-11-14  8:58   ` Dimitar Popov
  0 siblings, 0 replies; 3+ messages in thread
From: Dimitar Popov @ 2012-11-14  8:58 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

On Tuesday 13 November 2012 22:34:21 Alan Cox wrote:
> On Tue, 13 Nov 2012 23:08:07 +0100
> 
> Dimitar Popov <dimitar.georgiev.popov@gmail.com> wrote:
> > Hi all,
> > 
> > I have an old computer with motherboard ASUS SK8N with AMD Opteron 148 and
> > 4 GiB of DDR400. There is an onboard SATA Promise RAID controller working
> > in IDE mode (i.e. not as RAID controller) with 2 SATA disks. In order to
> > use all 4 GiB RAM I need to enable the "4G Memory Remapping" option from
> > the BIOS.
> > However, if I do that I receive the following errors:
> Pretty sure I know what that is as it's come up befor but the person
> reporting it vanished without testing fixes.
> 
> Can you run tests on a fix

Yes, I can run tests - it is easily reproducible: I just need to start writing 
on one of the disks. (sorry for the two messages)

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

end of thread, other threads:[~2012-11-14  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13 22:08 DMA Errors from SATA Controller with 4G Memory Remapping Enabled Dimitar Popov
2012-11-14  0:17 ` Robert Hancock
     [not found] ` <20121113223421.7129577d@pyramind.ukuu.org.uk>
2012-11-14  8:58   ` Dimitar Popov

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