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

DMA disabled



Hello Everybody,

I am using a Sarge sys with Kernel 2.6.8-2-686 and Radi-1 (hda/hdc)
Every day at boot time  am getting a DMA time out error for harddisk hdc, it  says DMA is disabled. At the same time there is no problem with the hda. The syslog msgs are given below.

Mar 22 13:43:52 localhost kernel: hdc: ST340810A, ATA DISK drive
Mar 22 13:43:52 localhost kernel: hdc: set_drive_speed_status: status=0xd0 { Busy }
Mar 22 13:43:52 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Mar 22 13:43:52 localhost kernel: hdc: max request size: 128KiB
Mar 22 13:43:52 localhost kernel: hdc: status timeout: status=0xd0 { Busy }
Mar 22 13:43:52 localhost kernel:
Mar 22 13:43:52 localhost kernel: hdc: drive not ready for command
Mar 22 13:43:52 localhost kernel: hdc: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
Mar 22 13:43:52 localhost kernel:  /dev/ide/host0/bus1/target0/lun0:hdc: status timeout: status=0xd0 { Busy }
Mar 22 13:43:52 localhost kernel:
Mar 22 13:43:52 localhost kernel: hdc: DMA disabled
Mar 22 13:43:52 localhost kernel: hdd: DMA disabled
Mar 22 13:43:52 localhost kernel: hdc: drive not ready for command
Mar 22 13:43:52 localhost kernel: ide1: reset: success
Mar 22 13:43:52 localhost kernel:  p1 p2 p3 p4 < p5 p6 p7 p8 p9 >

 the hdparm results for hdc is

/dev/hdc:
 multcount    =  0 (off)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 78165360, start = 0

From this i understand that the dma is off,  Should i enable the DMA using "hdparm -d1 /dev/hdc or should i do somthing else ?
 
Is it safe to use hdparm? and ll it cause any data lose?
Or should i do somthing to solve this DMA problem?

Thank you very much

with regards
 
Sumith

Reply to: