Bug#321409: hda: dma_timer_expiry: dma status == 0x21

2006-01-04 Thread debian-user
[EMAIL PROTECTED] wrote:
 OK, I've attached the requested information.  I still have 2.6.14-2,
 though, I can resubmit when .15 arrives.

2.6.15-1-686-smp just arrived.  New outputs attached.

H

Linux version 2.6.15-1-686-smp (Debian 2.6.15-1) ([EMAIL PROTECTED]) (gcc 
version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 SMP Tue Jan 3 10:19:10 
UTC 2006
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 0010 - 4feaa000 (usable)
 BIOS-e820: 4feaa000 - 5000 (reserved)
 BIOS-e820: fec1 - fec2 (reserved)
 BIOS-e820: feda - fee0 (reserved)
 BIOS-e820: ffb0 - 0001 (reserved)
382MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 327338
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 97962 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 DELL  ) @ 0x000fdf00
ACPI: RSDT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x4fef
ACPI: FADT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x4fef0400
ACPI: DSDT (v001 INT430 SYSFexxx 0x1001 MSFT 0x010e) @ 0x
ACPI: PM-Timer IO Port: 0x808
Allocating PCI resources starting at 6000 (gap: 5000:aec1)
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro
Local APIC disabled by BIOS -- you can enable it with lapic
mapped APIC to d000 (01a42000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1399.098 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1293308k/1309352k available (1490k kernel code, 14880k reserved, 535k 
data, 176k init, 391848k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2799.04 BogoMIPS (lpj=1399520)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7e9f9bf    0180 
 
CPU: After vendor identify, caps: a7e9f9bf    0180 
 
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf   0040 0180 
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) M processor 1400MHz stepping 05
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 1044k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfc96e, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is :00:02.0
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0880-08bf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller :00:1f.1
PCI: Transparent bridge - :00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try pci=routeirq.  If it helps, post a report
pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:01: ioport range 0x800-0x805 could not be reserved
pnp: 00:01: ioport range 0x808-0x80f could not be reserved
pnp: 00:02: ioport range 0xf400-0xf4fe has been reserved
pnp: 00:02: ioport range 0x806-0x807 has been reserved
pnp: 00:02: ioport range 0x810-0x85f could not be reserved
pnp: 00:02: ioport range 0x860-0x87f has been reserved
pnp: 00:02: ioport range 0x880-0x8bf has been reserved
pnp: 00:02: ioport range 0x8c0-0x8df has been reserved
pnp: 00:07: ioport range 0x900-0x97f has 

Bug#321409: hda: dma_timer_expiry: dma status == 0x21

2006-01-03 Thread Markus Raab
03.01.2006 08:58 you wrote:

 In that case, it's the IDE chipset.  I have replaced the hard drive, and
 the problem is the same.  I do not have any problems when running
 Windows.  A hard disk scan reveals no errors.

I have openend the bug again.

If you are sure the Bug is IDE-Kernel related please use the latest unstable 
kernel (best wait for 2.6.15).

Then give us more information, in detail give:
lscpi
lspci -n
dmesg
lsmod

And maybe interrupts. The hda: dma messages unfortunately don't help, because 
they are just hardware-error messages passed through the ide subsystem.

thank you for your help
Markus Raab


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#321409: hda: dma_timer_expiry: dma status == 0x21

2006-01-03 Thread debian-user
Markus Raab wrote:
 I have openend the bug again.

Thanks.

 If you are sure the Bug is IDE-Kernel related please use the latest unstable 
 kernel (best wait for 2.6.15).
 
 Then give us more information, in detail give:
 lscpi
 lspci -n
 dmesg
 lsmod
 
 And maybe interrupts. The hda: dma messages unfortunately don't help, because 
 they are just hardware-error messages passed through the ide subsystem.

OK, I've attached the requested information.  I still have 2.6.14-2,
though, I can resubmit when .15 arrives.

Best regards,
Henrik
Linux version 2.6.14-2-686-smp (Debian 2.6.14-7) ([EMAIL PROTECTED]) (gcc 
version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 SMP Wed Dec 28 
18:47:53 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 0010 - 4feaa000 (usable)
 BIOS-e820: 4feaa000 - 5000 (reserved)
 BIOS-e820: fec1 - fec2 (reserved)
 BIOS-e820: feda - fee0 (reserved)
 BIOS-e820: ffb0 - 0001 (reserved)
382MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 327338
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 97962 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 DELL  ) @ 0x000fdf00
ACPI: RSDT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x4fef
ACPI: FADT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x4fef0400
ACPI: DSDT (v001 INT430 SYSFexxx 0x1001 MSFT 0x010e) @ 0x
ACPI: PM-Timer IO Port: 0x808
Allocating PCI resources starting at 6000 (gap: 5000:aec1)
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro
Local APIC disabled by BIOS -- you can enable it with lapic
mapped APIC to d000 (01a42000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1399.266 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1292776k/1309352k available (1960k kernel code, 15416k reserved, 541k 
data, 212k init, 391848k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2799.09 BogoMIPS (lpj=1399548)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7e9f9bf    0180 
 
CPU: After vendor identify, caps: a7e9f9bf    0180 
 
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf   0040 0180 
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) M processor 1400MHz stepping 05
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
checking if image is initramfs... it is
softlockup thread 0 started up.
Freeing initrd memory: 1068k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfc96e, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is :00:02.0
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0880-08bf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller :00:1f.1
PCI: Transparent bridge - :00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try pci=routeirq.  If it helps, post a report
pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:01: ioport range 0x800-0x805 could not be reserved
pnp: 00:01: ioport range 0x808-0x80f could not be reserved
pnp: 00:02: ioport range 0xf400-0xf4fe 

Bug#321409: hda: dma_timer_expiry: dma status == 0x21

2005-08-05 Thread debian-user
Package: linux-image-2.6.12-1-686-smp
Version: 2.6.12-1
Severity: important


My machine freezes occationally for several seconds, with
dma_timer_expiry  messages being printed to /var/log/messages:

Apr  6 09:47:33 localhost kernel: hda: dma_timer_expiry: dma status == 0x21
Apr  6 09:47:44 localhost kernel: hda: DMA timeout error
Apr  6 09:47:44 localhost kernel: hda: dma timeout error: status=0xd0 {
Busy }
Apr  6 09:47:44 localhost kernel:
Apr  6 09:47:44 localhost kernel: hda: DMA disabled
Apr  6 09:47:44 localhost kernel: ide0: reset: success

The error occurs about once a day on my current kernel and
with linux-image-2.6.11 non-smp.

With 2.6.9 and .10 kernels, I got this problem much more frequently --
right  *past* the point where I give up working on the machine.

This problem is also described here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=132584

I have a Dell Inspiron 500m with a ICH4 controller:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot :00:1f.1
PCI: Enabling device :00:1f.1 (0005 - 0007)
ACPI: PCI interrupt :00:1f.1[A] - GSI 11 (level, low) - IRQ 11
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
hda: IC25N030ATMR04-0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 58605120 sectors (30005 MB) w/1740KiB Cache, CHS=16383/255/63,
UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
hdc: SAMSUNG CDRW/DVD SN-324F, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=no_NO, LC_CTYPE=no_NO (charmap=ISO-8859-1)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]