linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel 2.6.6 amd8111 dma bugs
@ 2004-05-28 22:36 Dan Hollis
  2004-05-29  7:42 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Hollis @ 2004-05-28 22:36 UTC (permalink / raw)
  To: linux-ide

replies to email as i'm not subscribed to the list.

There seem to be regular dma timeouts:

hdc: dma_timer_expiry: dma status == 0x24
hdc: DMA interrupt recovery
hdc: lost interrupt
hda: dma_timer_expiry: dma status == 0x24
hda: DMA interrupt recovery
hda: lost interrupt

Hardware:

Opteron 140, Tyan Tomcat K8S (S2850)

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD8111: IDE controller at PCI slot 0000:00:07.1
AMD8111: chipset revision 3
AMD8111: not 100% native mode: will probe irqs later
AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: WDC WD1800JB-00DUA0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Maxtor 4G160J8, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 351651888 sectors (180045 MB) w/8192KiB Cache, CHS=21889/255/63, UDMA(100)
 hda: hda1 hda2 hda3
hdc: max request size: 1024KiB
hdc: 320173056 sectors (163928 MB) w/2048KiB Cache, CHS=19929/255/63, UDMA(133)
 hdc: hdc1

# cat /proc/interrupts 
           CPU0       
  0: 1116917689    IO-APIC-edge  timer
  1:          8    IO-APIC-edge  i8042
  8:          0    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 14:    1588110    IO-APIC-edge  ide0
 15:    2164522    IO-APIC-edge  ide1
 19:  109846070   IO-APIC-level  eth0
NMI:     741325 
LOC: 1116778300 
ERR:          0
MIS:          0

/dev/hda:

 Model=WDC WD1800JB-00DUA0, FwRev=70.13G70, SerialNo=WD-WMACK1600856
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=98
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version: 

/dev/hdc:

 Model=Maxtor 4G160J8, FwRev=GAK819K0, SerialNo=G80929SE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 0: 

-Dan


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

* Re: kernel 2.6.6 amd8111 dma bugs
  2004-05-28 22:36 kernel 2.6.6 amd8111 dma bugs Dan Hollis
@ 2004-05-29  7:42 ` Jens Axboe
  2004-06-01 20:05   ` Dan Hollis
  2004-06-03  1:59   ` J. Ryan Earl
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Axboe @ 2004-05-29  7:42 UTC (permalink / raw)
  To: Dan Hollis; +Cc: linux-ide

On Fri, May 28 2004, Dan Hollis wrote:
> replies to email as i'm not subscribed to the list.
> 
> There seem to be regular dma timeouts:
> 
> hdc: dma_timer_expiry: dma status == 0x24
> hdc: DMA interrupt recovery
> hdc: lost interrupt
> hda: dma_timer_expiry: dma status == 0x24
> hda: DMA interrupt recovery
> hda: lost interrupt
> 
> Hardware:
> 
> Opteron 140, Tyan Tomcat K8S (S2850)

Try disabling ACPI (in .config or boot acpi=off iirc)

-- 
Jens Axboe


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

* Re: kernel 2.6.6 amd8111 dma bugs
  2004-05-29  7:42 ` Jens Axboe
@ 2004-06-01 20:05   ` Dan Hollis
  2004-06-03  1:59   ` J. Ryan Earl
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Hollis @ 2004-06-01 20:05 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-ide

On Sat, 29 May 2004, Jens Axboe wrote:
> On Fri, May 28 2004, Dan Hollis wrote:
> > replies to email as i'm not subscribed to the list.
> > There seem to be regular dma timeouts:
> > hdc: dma_timer_expiry: dma status == 0x24
> > hdc: DMA interrupt recovery
> > hdc: lost interrupt
> > hda: dma_timer_expiry: dma status == 0x24
> > hda: DMA interrupt recovery
> > hda: lost interrupt
> > Hardware:
> > Opteron 140, Tyan Tomcat K8S (S2850)
> Try disabling ACPI (in .config or boot acpi=off iirc)

Nope. acpi=off in kernel commandline, still get them.

hdc: dma_timer_expiry: dma status == 0x24
hdc: DMA interrupt recovery
hdc: lost interrupt

Anything else I should try?

-Dan


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

* Re: kernel 2.6.6 amd8111 dma bugs
  2004-05-29  7:42 ` Jens Axboe
  2004-06-01 20:05   ` Dan Hollis
@ 2004-06-03  1:59   ` J. Ryan Earl
  2004-06-15  0:34     ` Dan Hollis
  1 sibling, 1 reply; 5+ messages in thread
From: J. Ryan Earl @ 2004-06-03  1:59 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Dan Hollis, linux-ide

Jens Axboe wrote:

>On Fri, May 28 2004, Dan Hollis wrote:
>  
>
>>replies to email as i'm not subscribed to the list.
>>
>>There seem to be regular dma timeouts:
>>
>>hdc: dma_timer_expiry: dma status == 0x24
>>hdc: DMA interrupt recovery
>>hdc: lost interrupt
>>hda: dma_timer_expiry: dma status == 0x24
>>hda: DMA interrupt recovery
>>hda: lost interrupt
>>
>>Hardware:
>>
>>Opteron 140, Tyan Tomcat K8S (S2850)
>>    
>>
>
>Try disabling ACPI (in .config or boot acpi=off iirc)
>  
>
I had that problem, but not with ACPI, only when I forced APIC on.  It 
was on the VIA controller which uses the same driver.

-ryan

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

* Re: kernel 2.6.6 amd8111 dma bugs
  2004-06-03  1:59   ` J. Ryan Earl
@ 2004-06-15  0:34     ` Dan Hollis
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Hollis @ 2004-06-15  0:34 UTC (permalink / raw)
  To: J. Ryan Earl; +Cc: Jens Axboe, linux-ide

On Wed, 2 Jun 2004, J. Ryan Earl wrote:
> Jens Axboe wrote:
> >On Fri, May 28 2004, Dan Hollis wrote:
> >>replies to email as i'm not subscribed to the list.
> >>There seem to be regular dma timeouts:
> >>hdc: dma_timer_expiry: dma status == 0x24
> >>hdc: DMA interrupt recovery
> >>hdc: lost interrupt
> >>hda: dma_timer_expiry: dma status == 0x24
> >>hda: DMA interrupt recovery
> >>hda: lost interrupt
> >>Hardware:
> >>Opteron 140, Tyan Tomcat K8S (S2850)
> >Try disabling ACPI (in .config or boot acpi=off iirc)
> I had that problem, but not with ACPI, only when I forced APIC on.  It 
> was on the VIA controller which uses the same driver.

Turns out it was apic and not acpi at all. Booting with ACPI but noapic 
and I no longer get any dma errors.

Is the bug in the linux apic code or a hardware flaw in the opteron cpu? 
Or something else?

-Dan


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

end of thread, other threads:[~2004-06-15  0:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 22:36 kernel 2.6.6 amd8111 dma bugs Dan Hollis
2004-05-29  7:42 ` Jens Axboe
2004-06-01 20:05   ` Dan Hollis
2004-06-03  1:59   ` J. Ryan Earl
2004-06-15  0:34     ` Dan Hollis

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