[RESOLVED] CF card fails to boot in non-safe mode.
-
This issue has been resolved by disabling DMA for the CF card. See Solution below initial issue.
Hi, I'm having difficulty booting in non-safe mode from a 4GB compact flash card (newly written pfSense-2.2.4-RELEASE-4g-i386-nanobsd-vga.img using dd_rescue -A). It boots fine in safe-mode.
When I boot the image after it's been written it fails with the error below. Any ideas?
Error:
ada0 at ata1 bus 0 scbus1 target 0 lun 0 ada0: <cf 20070131="" 4gb="">ATA-0 device ada0: Serial Number TSS21537070419091908 ada0: 16.700MB/s transfers (WDMA2, PIO 512bytes) ada0: 3953MB (8097264 512 byte sectors: 16H 63S/T 8033C) ada0: Previously was known as ad2 Timecounter "TSC" frequency 53336481 Hz quality 800 uhub0: 2 ports with 2 removable, self powered ubub1: 2 ports with 2 removable, self powered ugen0.2: <logitech>at usbus0 ukbd0: <logitech 0="" 2="" usb="" receiver,="" class="" 0,="" rev="" 2.00="" 12.01,="" addr="">on usbus0 kdb2 at ukdb0 uhid0: <logitech 0="" 2="" usb="" receiver,="" class="" 0,="" rev="" 2.00="" 12.01,="" addr="">on usbus0 (ada0:ata1:0:0:0): READ_DMA. ACB: c8 00 b1 8d 7b 40 00 00 00 00 04 00 (ada0:ata1:0:0:0): CAM status: Command timeout (ada0:ata1:0:0:0): Retrying command ada0 at ata1 bus 0 scbus1 target 0 lun 0 ada0: < > detatched</logitech></logitech></logitech></cf>
SNIP
ada0: Previously was known as ad2 Trying to mount root from ufs:/dev/ufs/pfsense0 [ro,sync,noatime]... mountroot: waiting for device /dev/ufs/pfsense0 ... Mounting from ufs:/dev/ufs/pfsense0 failed with error 19. Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/pfsense0 vfs.root.mountfrom.options=ro,sync,noatime Manual root filesystem specification: <fstype>: <device>[options] Mount <device> using filesystem <fstype> and with the specified (optional) option list. eg ufs:/dev/da0s1a ufs:tank cd9660:/dev/acd0 ro (which is equivalent to : mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) <empty line=""> Abort manual input mountroot></empty></fstype></device></device></fstype>
Here is my system information:
System: VIA EPIA-5000
CPU: VIA E3 533MHz
RAM: 256 MB SDRAM 133MHz
IDE: Castronic FB-4652 Compact Flash Drive to IDE Adapter
CF: Crucial Technologies CompactFlash 4GB (CT4GBC1)Motherboard manual: https://d2phydb95qamfd.cloudfront.net/eol_products/docs/epia-v/user_manual/epia-v_manual_v1.2.pdf
SOLUTION:
Added the following to the /boot/loader.conf.local
hw.ata.atapi_dma="0" hw.ata.ata_dma="0" hw.ata.wc="0" ```![cf_fail.jpg](/public/_imported_attachments_/1/cf_fail.jpg) ![cf_fail.jpg_thumb](/public/_imported_attachments_/1/cf_fail.jpg_thumb) ![cf_fail_mountroot.jpg](/public/_imported_attachments_/1/cf_fail_mountroot.jpg) ![cf_fail_mountroot.jpg_thumb](/public/_imported_attachments_/1/cf_fail_mountroot.jpg_thumb)