2.0.1 amd64 nanobsd vga on Jetway NF96



  • I have a Jetway NF96 board I'm attempting to run PFSense on.  I successfully imaged my IDE flash drive with the appropriate image and can boot to it.  The problem shows itself once bootup starts.

    If I boot normally, I get a root mount error, and entering '?' to list drives shows nothing.  This is odd, since I clearly booted to something.

    If I try booting into safe mode, the boot hangs at IPSec: Initialized Security Association Processing.

    At a bit of a loss here.  I read online somewhere that PFSense has problems with DMA on IDE flash drives, but my BIOS only lets me change the DMA mode, not turn it off.  I tried setting it to single word DMA 0, but that just caused some other horrible crash after a slew of DMA errors.

    Any ideas?





  • @wallabybob:

    See
    http://doc.pfsense.org/index.php/Booting_Options#Disable_DMA_for_IDE_drives

    That gets me a little further, all the way to "SMP: AP CPU #3 Launched!" where it hangs again.

    A few lines up in the scrollback are some errors that seem related to my flash IDE drive:
    ad0: 1970 MB <emphase fdm44xd12g="" 10051b="">at ata0_master PIO4
    ad0: FAILURE - READ status=ff <busy,ready,dma_ready,dsc,dru,correctable,index,error>error=58 <uncorrectable,nid_not_found,media_change_reqest>lba=4035020</uncorrectable,nid_not_found,media_change_reqest></busy,ready,dma_ready,dsc,dru,correctable,index,error></emphase>



  • @datalurkur:

    @wallabybob:

    See
    http://doc.pfsense.org/index.php/Booting_Options#Disable_DMA_for_IDE_drives

    That gets me a little further, all the way to "SMP: AP CPU #3 Launched!" where it hangs again.

    Hangs? If you tap a key does it get echoed to the screen?
    Do you see any output if you type Ctrl-T (hold down the Ctrl key and tap the T key)?

    @datalurkur:

    A few lines up in the scrollback are some errors that seem related to my flash IDE drive:
    ad0: 1970 MB <emphase fdm44xd12g="" 10051b="">at ata0_master PIO4
    ad0: FAILURE - READ status=ff <busy,ready,dma_ready,dsc,dru,correctable,index,error>error=58 <uncorrectable,nid_not_found,media_change_reqest>lba=4035020</uncorrectable,nid_not_found,media_change_reqest></busy,ready,dma_ready,dsc,dru,correctable,index,error></emphase>

    Hard drive is using PIO4, not DMA!

    Hard drive reports its capacity as 1970MB. The system reports it can't find sector 4, 035, 020 which is about 2GB. I suspect the image you are using might be JUST too big for the drive. What is the name of the pfSense file you imaged to the hard drive.



  • @wallabybob:

    Hard drive is using PIO4, not DMA!

    Hard drive reports its capacity as 1970MB. The system reports it can't find sector 4, 035, 020 which is about 2GB. I suspect the image you are using might be JUST too big for the drive. What is the name of the pfSense file you imaged to the hard drive.

    I did indeed image it with the 2g image, however, I discovered that wasn't the problem.  After some digging around, I found some other people on the forum using the same setup that I am.  Turns out the parallel port interferes with the 3-port LAN daughter card and causes pfSense to fail boot.  If I disable the parallel port from BIOS, pfSense boots just fine.



  • @datalurkur:

    Turns out the parallel port interferes with the 3-port LAN daughter card and causes pfSense to fail boot.  If I disable the parallel port from BIOS, pfSense boots just fine.

    Does it still report the read failure on LBA 4035020?



  • @wallabybob:

    @datalurkur:

    Turns out the parallel port interferes with the 3-port LAN daughter card and causes pfSense to fail boot.  If I disable the parallel port from BIOS, pfSense boots just fine.

    Does it still report the read failure on LBA 4035020?

    I didn't bother to check.  Reimaging with the 1g image now.


  • Netgate Administrator

    The 'NID not found' errors seems to be relatively common. Such that there's a article in the wiki:
    http://doc.pfsense.org/index.php/DMA_and_LBA_Errors
    If it is a mismatch between the reported size and the actual size that's something I might expect from a super cheap CF card but I would hope for better from an industrial flash module.  ::)

    Steve



  • So basically since I tried to reimage, I've been screwed.  I boot with an extra drive that has Ubuntu server on it (along with the images I'm trying to apply to my flash IDE drive), but when I start the copy (using dd), it ultimately hangs my OS with a slew of DMA errors being spewed to the terminal.  The dd command I'm running looks like so:

    sudo dd if=pfSense…img of=/dev/sda

    Where /dev/sda is the IDE flash drive and /dev/sdb is my Ubuntu server disk.

    I'm honestly at a loss.  I think this IDE flash drive might just be total crap.  It's an Emphase 2Gb IDE flash drive, not sure if anyone's had any experience with them.  Any suggestions for where I can find a slim IDE or sata flash drive for this sort of application that doesn't totally suck?


Locked