Boot problem Alix 2D13 + HDD : READ_DMA UDMA ICRC



  • Hello I am trying to run a pfSense with an Alix based hardware (alix 2D13) and an IDE drive (samsung 160Go).
    System has installed correctly, but at the end of the boot, I have problem with "READ_DMA UDMA ICRC"

    Do you know what might be the reason for such error - do you have any suggestion to try to solve this issue?

    Thanks.

    Boot log included below…

    Copyright © 1992-2009 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    FreeBSD 7.2-RELEASE-p5 #0: Sun Dec  6 23:05:10 EST 2009
      sullrich@FreeBSD_7.2_pfSense_1.2.3_snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.7.i386
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU)
    Origin = "AuthenticAMD"  Id = 0x5a2  Stepping = 2
    Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory  = 268435456 (256 MB)
    avail memory = 248639488 (237 MB)
    pnpbios: Bad PnP BIOS data checksum
    wlan: mac acl policy registered
    K6-family MTRR support enabled (2 registers)
    ACPI Error (tbxfroot-0308): A valid RSDP was not found [20070320]
    ACPI: Table initialisation failed: AE_NOT_FOUND
    ACPI: Try disabling either ACPI or apic support.
    cryptosoft0: <software crypto="">on motherboard
    padlock0: No ACE support.
    pcib0: <host to="" pci="" bridge="">pcibus 0 on motherboard
    pci0: <pci bus="">on pcib0
    Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
    pci0: <encrypt decrypt,="" entertainment="" crypto="">at device 1.2 (no driver attached)
    vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0
    vr0: Quirks: 0x2
    vr0: Revision: 0x96
    miibus0: <mii bus="">on vr0
    ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus0
    ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    vr0: Ethernet address: 00:0d:b9:1b:aa:7c
    vr0: [ITHREAD]
    vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0
    vr1: Quirks: 0x2
    vr1: Revision: 0x96
    miibus1: <mii bus="">on vr1
    ukphy1: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus1
    ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    vr1: Ethernet address: 00:0d:b9:1b:aa:7d
    vr1: [ITHREAD]
    vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0
    vr2: Quirks: 0x2
    vr2: Revision: 0x96
    miibus2: <mii bus="">on vr2
    ukphy2: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus2
    ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    vr2: Ethernet address: 00:0d:b9:1b:aa:7e
    vr2: [ITHREAD]
    isab0: <pci-isa bridge="">port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
    isa0: <isa bus="">on isab0
    atapci0: <amd cs5536="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
    ata0: <ata 0="" channel="">on atapci0
    ata0: [ITHREAD]
    ata1: <ata 1="" channel="">on atapci0
    ata1: [ITHREAD]
    ohci0: <ohci (generic)="" usb="" controller="">mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
    ohci0: [GIANT-LOCKED]
    ohci0: [ITHREAD]
    usb0: OHCI version 1.0, legacy support
    usb0: <ohci (generic)="" usb="" controller="">on ohci0
    usb0: USB revision 1.0
    uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usb0
    uhub0: 4 ports with 4 removable, self powered
    ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
    ehci0: [GIANT-LOCKED]
    ehci0: [ITHREAD]
    usb1: EHCI version 1.0
    usb1: companion controller, 4 ports each: usb0
    usb1: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">on ehci0
    usb1: USB revision 2.0
    uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usb1
    uhub1: 4 ports with 4 removable, self powered
    cpu0 on motherboard
    orm0: <isa option="" rom="">at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0
    ppc0: parallel port not found.
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 16550A, console
    sio0: [FILTER]
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
    sio1: [FILTER]
    Timecounter "TSC" frequency 498053542 Hz quality 800
    Timecounters tick every 10.000 msec
    IPsec: Initialized Security Association Processing.
    ad0: 152627MB <samsung hm160hc="" lq100-10="">at ata0-master UDMA100
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA timed out LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA timed out LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
    ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=63
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Gregober –-> PGP ID --> 0x1BA3C2FD
    bsd @at@ todoo.biz
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯</icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></samsung></isa></amd></amd></amd></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></host></software></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>



  • What are your BIOS settings? Is UDMA enabled?



  • Ok,

    It took me quite a long time but thanks to the Internet and the post by indexofire I was able to find a reliable solution:

    I think this will be of interest to all persons wishing to deploy an Alix box with an IDE drive.

    1. The IDE drive was identified as da0 on the install machine and considered as ad0 for Alix… 
    ==> Edit and modify the /etc/fstab to change da0 to ad0 (this one was easy)!

    2. The "READ_DMA UDMA" problem… this one is much more tricky:
    ==> Install pfSense with the live CD on an IDE drive.
    ==> Boot or mount your newly formated HD  with the computer you have used for the install
    ==> Mount your partition: mount -o rw /dev/da0s1a /root/tmp
    ==> Create a file in /etc: /etc/rc.early and insert

    #!/bin/sh
    /sbin/atacontrol mode ad0 UDMA2"

    ==> Edit boot file: /boot/loader.conf and add this line:

    hw.ata.ata_dma = 0

    ==> Reboot !

    And now everything is up and running!!

    Thanks to indexofire on this thread, http://forums.freebsd.org/showthread.php?t=4486
    …You will soon be able to buy Alix box with IDE drive on my site www.osnet.eu


Log in to reply