LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   hde:DMA disabled at boot up. HELP!!!! (https://www.linuxquestions.org/questions/slackware-14/hde-dma-disabled-at-boot-up-help-99306/)

carboncopy 10-02-2003 02:17 AM

hde:DMA disabled at boot up. HELP!!!!
 
Hi!

I am getting really desperate on this. What could be a problem for a harddisk with UDMA6 to have it's dma switch off? Below is a fraction of my dmesg from 2.6.0t3 kernel.

When I did hdparm -t /dev/hde7
I get this results.

/dev/hde7:
Timing buffered disk reads: 64 MB in 37.02 seconds = 1.73 MB/se

My hde is an 80G 8MbCache Maxtor with ATA133. I connected it to my Silicon Image 680 PCI card as master on channel 1. I have another drive 30Gb with ATA133 as slave on the same channel. But it works fine.

How can I forced the drive to work in UDMA6? Is there something wrong with my harddisk? It works fine in Windoze XP and 2000.


<snip>
kjournald starting. Commit interval 5 seconds
EXT3-fs warning (device hdf2): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
EXT3-fs warning (device hdf2): ext3_clear_journal_err: Marking fs in need of filesystem check.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 176k freed
<snip>
hdf: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdf: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdf: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdf: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdf: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdf: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdf: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdf: dma_intr: error=0x84 { DriveStatusError BadCRC }
hde: DMA disabled
ide2: reset: success
<snip>

r_jensen11 10-04-2003 09:31 PM

Can you boot into Linux properly? If not, then use root disks, then mount the directories needed to modify files (basically at the time when you started using fdisk for setting up your computer, you can mount and use PICO or whatever to edit files.) Then umount, and reboot.

Cerbere 10-05-2003 05:24 AM

What are the outputs of:

hdparm -i /dev/hde

and

hdparm -i /dev/hdf

It is unlikely that only one of two drives on the same channel would have DMA enabled. Does your kernel support the Silicon Image 680? I know that my SIS motherboard only became fully supported with the 2.4.21 kernel, and I had to enable it when I compiled.

Enjoy!
--- Cerbere

tcpip95 07-16-2004 07:03 AM

have you tried manually configuring it via hdparm to see if it will work at all?

hdparm -d1 -X70

If that works, you could then simply place this instruction in rc.local and have it execute on startup.


-d1 enables dma
-X70 sets UDMA 6

carboncopy 07-16-2004 08:14 AM

Sorry guys, I have found out the problem. At least I think I did.

It is the Silicon Image card itself. Now that I move both my 80Gbyte drive to the onboard IDE. no problem. Of course, after re partitioning and formatting everything.

Yeah, I found it weird too to have only one drive having dma problem, and it is everytime the other drive which is not root.

And also and extra note, I am getting the same speed reading from hdparm -tT /dev/ with the onboard IDE (ATA/100) and the pci-ide (ATA/133). Just weird. Anyway, the Silicon Image card is a low quality one I guess. Looking forward to get Maxtor card. :)


All times are GMT -5. The time now is 01:09 PM.