Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24
From: Abdullah Ramazanoglu (abdullah_at_ramazanoglu.tr)
Date: 07/30/04
- Previous message: patrick: "Re: SB vibra 16"
- In reply to: Stefan Schwaerzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Next in thread: Stefan Schwärzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Reply: Stefan Schwärzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 01:11:58 +0300
Thu, 29 Jul 2004 21:43:16 +0200 tarihinde, Stefan Schwaerzler dedi ki:
> On Thu, 29 Jul 2004 12:29:36 +0200, Abdullah Ramazanoglu wrote:
>> Thu, 29 Jul 2004 12:01:46 +0200 tarihinde, Stefan Schwärzler dedi ki:
>>
>>> Hi Ng,
>>> i am using under Debian 2.4.26 two harddisk. if i copy many data's from
>>> on to the other hd, then i got the message:
>>>
>>> hdc: dma_timer_expiry:dma_status==0x24 hde:
>>> dma_timer_expiry:dma_status==0x24 primary channel reset secondary
>>> channel reset
>>>
>>> I can only reset the computer to get the control over there. It's very
>>> sick, because i wan't to backup my data's Any idea's?? Thank you Stefan
>>
>> There were some driver issues related to apic with certain IDE
>> controllers. I don't know much about your setup but it may worth trying
>> "noapic", then "pci=noacpi", then "acpi=off" kernel boot parameters.
>> Also, as a last resort, disabling dma (hdparm -d0 /dev/hd[ce]) may help.
>>
> disabling dma, will make the system slowly, or not?
Yes, it would slow the system down a lot. And in your case (a Pentium?) it
would be a severe performance hit. This is why I suggested it as a last
resort (even so, it should only be a temporary solution until the core
problem is fixed)
> here's my kernel config:
You have not specified which IDE controllers you have (and presumably hdc
and hde are on different model controllers?) But from your kernel config
it appears you have CMD640, CSS5530 and PDC202XX families of controllers.
The CMD680 (driven by CMD640 driver) is one of those controllers which
cause similar problems when used with apic. It also appears that this is a
custom built kernel (default kernel would include all the IDE drivers as
modules).
So I would suggest trying the stock 2.4.26-2 kernel first. If the kernel
must be customized, then at least you could try to minimize the
differences with the stock kernel by changing only absolutely necessary
parameters and leaving the rest as is. (But if you have CMD680 then it
would cause similar problems under heavy and sustained I/O activity, so
you should apply the workaround below anyway)
If that doesn't work then you could try noapic, pci=noacpi, and acpi=off
in turn to see if that makes a difference. I suspect "noapic" would
suffice. (it did for my CMD680)
I don't know your expertise level so to be on the safe side here is howto
add a kernel parameter: (please don't mind if it has been an overkill)
First try the parameter by intercepting lilo. When boot: prompt or lilo
menu appears, manually enter your default kernel with noapic parameter
appended. E.g.:
boot: linux noapic
If this solves the problem, then make it permanent as described below:
Login as root and add the line below to "image=" definition for default
kernel (or all kernels you use) in /etc/lilo.conf :
append="noapic"
(or add noapic keyword if there is already an append= line), and then run
# lilo -v
make sure it has given no error messages and completed with return code 0
(echo $?) and reboot.
HTH
-- Abdullah | aramazan@ | Ramazanoglu | myrealbox | ________________| D-O-T cöm |
- Previous message: patrick: "Re: SB vibra 16"
- In reply to: Stefan Schwaerzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Next in thread: Stefan Schwärzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Reply: Stefan Schwärzler: "Re: Debian Linux & IDE Controller & 2 Harddisks: dma_timer_expiry:dma_status==0x24"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|