Linux DMA problem.

From: Shaun Brennan (shauncbrennan_at_hotmail.com)
Date: 05/28/04


Date: 28 May 2004 13:44:50 -0700

I have a Ampro Little Board 700 that I am running with a SanDisk 1.0Gb
compact flash card to boot off of. I am booting it thru the ide,
rather than a usb boot. My problem is, the new SanDisk's support DMA,
which is causing the bootup to take forever as Linux times out with
errors, though it still boots. I am using Gentoo with a
2.4.22-gentoo-r5 kernel.

  I don't have the best understanding of how Linux boots, but I
thought that after Grub a ram disk was loaded into memory which sets
up a few things before the actual kernel is loaded. The problem I see
is before any of the startup scripts are run, during what I think is
the ram disk phase. I get timeouts with "dma_timer_expiry" and "dma
status = 0x21". This happens three times or so, then the boot
continues.

  I've tried "hdparm -d 0 -k 1 /dev/hda" but that doesn't work, and
any changes I make in startup scripts happen after the timeouts have
occured. I've also tried disabling dma in the bios (Phoenix 6.00) but
to no effect. I've tried a "nodma" line in grub.conf and I still have
nothing.

  Hopefully, that's enough info to get you started, any help would be
most appreciated.

Shaun Brennan



Relevant Pages

  • 4Gb memory?
    ... I did try 64GB version but after boot I got "pc_keyb ... My harddrive is: hda: WDC WD1200JB-75CRA0, ... DMA modes: mdma0 mdma1 mdma2 ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • boot problems after minor kernel update
    ... fix my boot problem. ... kernel upgrade and also with other previous kernel ... It seemed to be the DMA modus. ... Now, switching back to "No change" in the YaST IDE DMA setup, ...
    (alt.os.linux)
  • Re: DMA disabled
    ... the hdparm results for hdc is ... Or should i do somthing to solve this DMA problem? ... If you want to play it safe you could boot from a Knoppix CD. ... 0000:00:02.0 VGA compatible controller: Intel Corp. ...
    (Debian-User)
  • Re: Compact Flash (CF) boot question
    ... The card is a CF card (hda: ... Now the problem is that the system can not boot from this card. ... hda: dma timeout error: status=0x58 {DriveReady SeekComplete ...
    (Debian-User)
  • IDE DMA doesnt work with pata_via and compact flash card
    ... I've got a problem with the linux kernel, which doesn't boot from a compact flash card when trying to use DMA. ... Turning off DMA for the old IDE drivers or patching ata_generic to handle my IDE controller and then deactivating DMA in the BIOS works, but then disk I/O is unbelievable slow.. ... ata1: soft resetting port ...
    (Linux-Kernel)