Installing FreeBSD on a Compact Flash card
Submitted by Bram Schoenmakers on 20 August, 2007 - 12:48.
When trying to install FreeBSD 6.2 on a 2 GB compact flash card, the following error appeared:
ad2: timeout waiting to issue command
error issuing READ_DMA command ad2
error issuing READ_DMA command ad2
It seems that big compact flash cards have some problems and you have to disable DMA in order to use them. Here is how you do it:
- At the installation CD's loader prompt, choose Escape to loader prompt.
- Enter
set hw.ata.ata_dma=0 - And boot the kernel with this variable set, enter:
boot - Install FreeBSD
- Restart with the same trick as in step 2, now from the flash card.
- Once booted, add the following line in /boot/loader.conf:
hw.ata.ata_dma=0 - The flash card should be usable now without human intervention.
That should make the flash card work correctly.
Thanks!
Firstly, sorry my bad english.
Great tip/trick! Save my sunday morning! FreeBSD 6.4 runing gracefully on CF card (Geode Processor).
Thanks!
Zemair!