[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323452: "hda: dma_timer_expiry: dma status == 0x21" errors + freeze (VIA VT82C686 chipset)



On Tue, 16 Aug 2005, Vincent Lefevre wrote:

> On this machine, I get the following error several times by hour:
> 
> hda: dma_timer_expiry: dma status == 0x21
> hda: error waiting for DMA
> hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

your drive appears busted.
i would back up any important data it holds.
 
> and the whole machine freezes for several seconds.
> 
> You'll find below the output of dmesg and "lspci -v".
> 
> -- System Information:
> Debian Release: 3.1
> Architecture: i386 (i686)
> Kernel: Linux 2.4.27-2-386
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
> 
> Versions of packages kernel-image-2.4.27-2-386 depends on:
> ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
> ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
> ii  modutils                      2.4.26-1.2 Linux module utilities
> 
> -- no debconf information
> 
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
>  BIOS-e820: 0000000007ff0000 - 0000000007ff8000 (ACPI data)
>  BIOS-e820: 0000000007ff8000 - 0000000008000000 (ACPI NVS)
>  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 127MB LOWMEM available.
> On node 0 totalpages: 32752
> zone(0): 4096 pages.
> zone(1): 28656 pages.
> zone(2): 0 pages.
> ACPI disabled because your bios is from 97                         and too old
> You can enable it with acpi=force
> Kernel command line: root=/dev/hda1 ro 
> No local APIC present or hardware disabled
> Initializing CPU#0
> Detected 499.049 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 992.87 BogoMIPS
> Memory: 123592k/131008k available (1069k kernel code, 7028k reserved, 459k data, 96k init, 0k highmem)
> Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
> Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
> Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 512K (64 bytes/line)
> CPU:     After generic, caps: 0081f9ff c0c1f9ff 00000000 00000000
> CPU:             Common caps: 0081f9ff c0c1f9ff 00000000 00000000
> CPU: AMD-K7(tm) Processor stepping 02
> Checking 'hlt' instruction... OK.
> Checking for popad bug... OK.
> POSIX conformance testing by UNIFIX
> ACPI: Subsystem revision 20040326
> ACPI: Interpreter disabled.
> PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Using IRQ router VIA [1106/0686] at 00:07.0
> PCI: Disabling Via external APIC routing
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> VFS: Disk quotas vdquot_6.5.1
> devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
> devfs: boot_options: 0x0
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu>
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> Initializing Cryptographic API
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 8192 bind 16384)
> Linux IP multicast router 0.06 plus PIM-SM
> RAMDISK: cramfs filesystem found at block 0
> RAMDISK: Loading 3692 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done.
> Freeing initrd memory: 3692k freed
> VFS: Mounted root (cramfs filesystem).
> Freeing unused kernel memory: 96k freed
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ide: late registration of driver.
> VP_IDE: IDE controller at PCI slot 00:07.1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: VIA vt82c686a (rev 14) IDE UDMA66 controller on pci00:07.1
>     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
> hda: Maxtor 91360U4, ATA DISK drive
> blk: queue c8825b60, I/O limit 4095Mb (mask 0xffffffff)
> hdc: TSST CDW/DVD TS-H492A, ATAPI CD/DVD-ROM drive
> hdd: Pioneer DVD-ROM ATAPIModel DVD-113 0113, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: attached ide-disk driver.
> hda: 26588016 sectors (13613 MB) w/2048KiB Cache, CHS=26377/16/63, UDMA(66)
> Partition check:
>  /dev/ide/host0/bus0/target0/lun0:hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> ide0: reset: success
>  [PTBL] [1655/255/63] p1 p2 < p5 >
> Journalled Block Device driver loaded
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Adding Swap: 698788k swap-space (priority -1)
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
> Real Time Clock Driver v1.10f
> hdc: attached ide-cdrom driver.
> hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
> hdd: attached ide-cdrom driver.
> hdd: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 94M
> agpgart: Detected AMD Irongate chipset
> agpgart: AGP aperture is 64M @ 0xe8000000
> parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
> parport_pc: Via 686A parallel port: io=0x378
> 8139too Fast Ethernet driver 0.9.26
> PCI: Found IRQ 11 for device 00:09.0
> PCI: Sharing IRQ 11 with 01:05.0
> eth0: RealTek RTL8139 at 0xd000, 00:30:84:27:b4:79, IRQ 11
> eth0:  Identified 8139 chip type 'RTL-8139B'
> SCSI subsystem driver Revision: 1.00
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> Creative EMU10K1 PCI Audio Driver, version 0.20, 16:51:53 May 16 2005
> PCI: Found IRQ 9 for device 00:0f.0
> PCI: Sharing IRQ 9 with 00:07.2
> emu10k1: EMU10K1 rev 4 model 0x20 found, IO at 0xcc00-0xcc1f, IRQ 9
> ac97_codec: AC97  codec, id: TRA3 (TriTech TR28023)
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.275 $ time 16:52:03 May 16 2005
> usb-uhci.c: High bandwidth mode enabled
> PCI: Found IRQ 9 for device 00:07.2
> PCI: Sharing IRQ 9 with 00:0f.0
> usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
> hub.c: new USB device 00:07.2-1, assigned address 2
> usb.c: USB device 2 (vend/prod 0x3f0/0x8104) is not claimed by any active driver.
> gameport0: Emu10k1 Gameport at 0xdc00 size 8 speed 1269 kHz
> 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
> uhci.c: USB Universal Host Controller Interface driver v1.1
> btaudio: driver version 0.7 loaded [digital+analog]
> PCI: Found IRQ 10 for device 00:04.1
> PCI: Sharing IRQ 10 with 00:04.0
> btaudio: Bt878 (rev 2) at 00:04.1, irq: 10, latency: 64, mmio: 0xeddfe000
> btaudio: using card config "default"
> btaudio: registered device dsp2 [digital]
> btaudio: registered device dsp3 [analog]
> btaudio: registered device mixer1
> Linux video capture interface: v1.00
> i2c-core.o: i2c core module version 2.6.1 (20010830)
> i2c-algo-bit.o: i2c bit algorithm module
> bttv: driver version 0.7.108 loaded
> bttv: using 4 buffers with 2080k (8320k total) for capture
> bttv: Bt8xx card found (0).
> PCI: Found IRQ 10 for device 00:04.0
> PCI: Sharing IRQ 10 with 00:04.1
> bttv0: Bt878 (rev 2) at 00:04.0, irq: 10, latency: 64, mmio: 0xeddfd000
> bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
> bttv0: using: Hauppauge (bt878) [card=10,autodetected]
> bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
> i2c-core.o: adapter bt848 #0 registered as adapter 0.
> bttv0: Hauppauge eeprom: model=61344, tuner=Philips FM1216 (5), radio=yes
> bttv0: using tuner=5
> bttv0: i2c: checking for MSP34xx @ 0x80... found
> i2c-core.o: driver i2c msp3400 driver registered.
> msp34xx: init: chip=MSP3410D-B4 +nicam +simple
> msp3410: daemon started
> i2c-core.o: client [MSP3410D-B4] registered to adapter [bt848 #0](pos. 0).
> bttv0: i2c: checking for TDA9875 @ 0xb0... not found
> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> tvaudio: TV audio decoder + audio/video mux driver
> tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
> i2c-core.o: driver generic i2c audio driver registered.
> i2c-core.o: driver i2c TV tuner driver registered.
> tuner: chip found @ 0xc2
> tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
> i2c-core.o: client [Philips PAL_BG (FI1216 and comp] registered to adapter [bt848 #0](pos. 1).
> bttv0: PLL: 28636363 => 35468950 .. ok
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: registered device radio0
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
> usb.c: registered new driver usblp
> printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8104
> printer.c: v0.13: USB Printer Device Class driver
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> lp0: using parport0 (polling).
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
> hda: dma_timer_expiry: dma status == 0x21
> hda: error waiting for DMA
> hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }
> 
> hda: dma_timer_expiry: dma status == 0x21
> hda: error waiting for DMA
> hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }
> 
> usb.c: USB disconnect on device 00:07.2-1 address 2
> printer.c: usblp0: removed
> hub.c: new USB device 00:07.2-1, assigned address 3
> printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8104
> hda: dma_timer_expiry: dma status == 0x21
> hda: error waiting for DMA
> hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }
> 

try also nodma for recovery,
but the replacement seems urgent.

this doesn't seem to be a bug, so could be closed.
leaving open for now to collect some feedback.
 
--
maks




Reply to: