All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1
@ 2004-09-20 21:16 Shane Shrybman
  2004-09-21  7:32 ` Ingo Molnar
  0 siblings, 1 reply; 20+ messages in thread
From: Shane Shrybman @ 2004-09-20 21:16 UTC (permalink / raw)
  To: mingo, linux-kernel

I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1.
2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I
was happily using 2.6.8-rc3-O5.

I tried booting with acpi=off but was unable to enter my user name at
the login prompt, it just hung with no response to sysreq. I also tried
turning off irq threading for that irq but it made no difference.

There is one drive on the secondary channel of this Promise TX133. This
is what appears in the log after a minute or two of using the drive.

hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
[..many repeats..]

It sometimes recovers but it immediately happens again. This leaves apps
touching that drive stuck in an un-killable D state and eventually I
have to reboot.

Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PDC20269: IDE controller at PCI slot 0000:00:0d.0
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 16
PDC20269: chipset revision 2
PDC20269: 100% native mode on irq 16
    ide2: BM-DMA at 0xa000-0xa007, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xa008-0xa00f, BIOS settings: hdg:pio, hdh:pio
hdg: MAXTOR 6L080J4, ATA DISK drive
requesting new irq thread for IRQ16...
ide3 at 0xa800-0xa807,0xa402 on irq 16
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0x7400-0x7407, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x7408-0x740f, BIOS settings: hdc:DMA, hdd:pio
hdc: HL-DT-ST DVDRAM GSA-4082B, ATAPI CD/DVD-ROM drive
requesting new irq thread for IRQ15...
ide1 at 0x170-0x177,0x376 on irq 15
hdg: max request size: 128KiB
IRQ#16 thread started up.
hdg: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=65535/16/63,
UDMA(133)
hdg: hdg1
IRQ#15 thread started up.
hdc: ATAPI 63X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 19 (level, low) -> IRQ 19

Regards,

Shane


^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1
@ 2004-09-20 22:16 Svetoslav Slavtchev
  0 siblings, 0 replies; 20+ messages in thread
From: Svetoslav Slavtchev @ 2004-09-20 22:16 UTC (permalink / raw)
  To: lkml 

sorry for the scrambled reply,
i'm not subscribed
(please add me to the CC list)

in reply to:
-----------------------
List:       linux-kernel
Subject:    Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1
From:       Shane Shrybman <shrybman () aei ! ca>
Date:       2004-09-20 21:16:07
Message-ID: <1095714967.3646.14.camel () mars>
[Download message RAW]

I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1.
2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I
was happily using 2.6.8-rc3-O5.

I tried booting with acpi=off but was unable to enter my user name at
the login prompt, it just hung with no response to sysreq. I also tried
turning off irq threading for that irq but it made no difference.

There is one drive on the secondary channel of this Promise TX133. This
is what appears in the log after a minute or two of using the drive.

hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
[..many repeats..]

......
---------------------------------------

i'm getting the same problem
(although not sure if the dma status was the same)
if i enable hardirq preemption
turning acpi on/off doesn't change anything
io/up apic is on (haven't tried disabling it)

with hardirq preemption disabled in .config
everything looks fine sofar (~5h )


-----------------------------
  666 root      16 -10     0    0    0 S  0.0  0.0   0:00.00 IRQ 17
  670 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 IRQ 14
  673 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 IRQ 15
  711 root      25   0     0    0    0 S  0.0  0.0   0:00.23 khubd
  712 root      16 -10     0    0    0 S  0.0  0.0   0:00.00 IRQ 21

----------------------------
this puzzles me a bit
aren't those hardirqs ?
why are they listed as threads, in case i compiled
with 
----------------
[svetljo@svetljo rc2mm1]$ grep PREEMPT .config
# CONFIG_PREEMPT_TIMING is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_PREEMPT_SOFTIRQS=y
# CONFIG_PREEMPT_HARDIRQS is not set
----------------

best,

svetljo
PS.

PC is up amd xp 2700 KT400 VT8235 (Epox 8k9A3+)
[svetljo@svetljo rc2mm1]$ cat /proc/interrupts
           CPU0
  0:   20809263    IO-APIC-edge  timer
  2:          0          XT-PIC  cascade
 14:        516    IO-APIC-edge  ide4
 15:        478    IO-APIC-edge  ide5
 16:    1763130   IO-APIC-level  radeon@pci:0000:01:00.0
 17:     894337   IO-APIC-level  ide0, ide2, ide3, eth0
 18:      59771   IO-APIC-level  EMU10K1
 21:    1120812   IO-APIC-level  uhci_hcd, uhci_hcd, uhci_hcd, ehci_hcd
 23:    2395783   IO-APIC-level  eth1
NMI:          0
LOC:   20810017
ERR:          0
MIS:        485

-- 
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl


^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1
@ 2004-09-19 20:32 Karsten Wiese
  2004-09-19 20:48 ` Ingo Molnar
  2004-09-19 21:46 ` Ingo Molnar
  0 siblings, 2 replies; 20+ messages in thread
From: Karsten Wiese @ 2004-09-19 20:32 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

Hi Ingo,

things improved here after having applied 
swapspace-layout-improvements-2.6.9-rc1-bk12-A1.
I'm happily running jackd and clients realtime now without any dropouts even 
under heavy swapping pressure.
(Machine is a PIII@600MHz with 256MB RAM)
Could you please include the swapspace-layout-improvements in the 
voluntary-preempt patches?

Just 1 small correction:
>>>>
--- kernel/time.c~      2004-09-19 15:09:38.000000000 +0200
+++ kernel/time.c       2004-09-19 17:02:35.000000000 +0200
@@ -96,8 +96,10 @@
 asmlinkage long sys_gettimeofday(struct timeval __user *tv, struct timezone 
__user *tz)
 {
 #ifdef CONFIG_LATENCY_TRACE
-       if (!tv && ((long)tz == 1))
+       if (!tv && ((long)tz == 1)) {
                user_trace_start();
+               tz = NULL;
+       }
        if (!tv && !tz)
                user_trace_stop();
 #endif
<<<<

thanks for your splendid patches,
Karsten

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [patch] voluntary-preempt-2.6.9-rc1-bk12-R6
@ 2004-09-06 11:06 Ingo Molnar
  2004-09-06 11:48 ` Rafael J. Wysocki
  0 siblings, 1 reply; 20+ messages in thread
From: Ingo Molnar @ 2004-09-06 11:06 UTC (permalink / raw)
  To: linux-kernel
  Cc: rlrevell, felipe_alfaro, Florian Schmidt, K.R. Foley, Mark_H_Johnson


i've released the -R6 patch:

  http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc1-bk12-R6

Changes in -R6:

 - fixed a CONFIG_SMP + CONFIG_PREEMPT bug that had the potential to
   cause spinlock related lockups. (UP kernels are unaffected.) This bug 
   got introduced in -R5.

2.6.9-rc1-bk12 patching order is:
 
    http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.tar.bz2
  + http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.9-rc1.bz2
  + http://redhat.com/~mingo/voluntary-preempt/patch-2.6.9-rc1-bk12.bz2
 
	Ingo

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

end of thread, other threads:[~2004-09-21 19:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-20 21:16 [patch] voluntary-preempt-2.6.9-rc2-mm1-S1 Shane Shrybman
2004-09-21  7:32 ` Ingo Molnar
2004-09-21 15:37   ` Shane Shrybman
2004-09-21 15:59   ` Shane Shrybman
  -- strict thread matches above, loose matches on Subject: below --
2004-09-20 22:16 Svetoslav Slavtchev
2004-09-19 20:32 Karsten Wiese
2004-09-19 20:48 ` Ingo Molnar
2004-09-19 21:11   ` Karsten Wiese
2004-09-19 21:49     ` Ingo Molnar
2004-09-19 21:46 ` Ingo Molnar
2004-09-19 22:36   ` Andrew Morton
2004-09-06 11:06 [patch] voluntary-preempt-2.6.9-rc1-bk12-R6 Ingo Molnar
2004-09-06 11:48 ` Rafael J. Wysocki
2004-09-06 12:25   ` Alexander Nyberg
2004-09-06 12:29     ` Ingo Molnar
2004-09-07  9:26       ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R7 Ingo Molnar
2004-09-07 11:57         ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R8 Ingo Molnar
2004-09-07 22:59           ` Lee Revell
2004-09-08  8:20             ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R9 Ingo Molnar
2004-09-08 22:37               ` Lee Revell
2004-09-09  6:17                 ` [patch] voluntary-preempt-2.6.9-rc1-bk12-S0 Ingo Molnar
2004-09-19 12:26                   ` [patch] voluntary-preempt-2.6.9-rc2-mm1-S1 Ingo Molnar
2004-09-19 17:05                     ` Felipe Alfaro Solana
2004-09-20 17:14                     ` K.R. Foley
2004-09-20 19:48                       ` Ingo Molnar
2004-09-21  2:25                         ` K.R. Foley
2004-09-20 19:47                     ` Magnus Määttä
2004-09-21 18:24                     ` K.R. Foley
2004-09-21 19:21                       ` Ingo Molnar
2004-09-21 19:37                         ` K.R. Foley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.