• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Having issues getting pfsense to recognize a Seagate Microdrive. Help!

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
12 Posts 4 Posters 5.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Cry Havok
    last edited by Mar 11, 2007, 11:10 PM

    Possibly it's a DMA issue - you may need to disable DMA:

    http://wiki.pfsense.com/wikka.php?wakka=BootOptions

    I've seen this on other hardware where PIO would work fine but as soon as you switched on DMA disk access became unstable.

    Note that I have a (Fujitsu ISTR) Microdrive working just fine with pfSense, so it's certainly possible with some hardware combinations.  One test would be to use a FreeBSD 6.2 boot CD to see if that sees the drive.

    1 Reply Last reply Reply Quote 0
    • J
      j0emv
      last edited by Mar 12, 2007, 3:59 PM

      yes I did that and it still doesnt work.  I did notice that in m0n0 1.22, it forces PIO automatically but if I disable DMA at boot time it doesnt pick up the drive.  There's nowhere for me to disable DMA in the BIOS either.. I tested it with m0n0 1.3b2 and that didnt work either so it is a freebsd issue.  What could I do from here aside from returning the drive and trying another brand?  Could I possibly recompile pfsense using the 4.11 ata.c, ata-disk.c and so on?  Will that even work or will that create a whole other list of dependency issues?

      1 Reply Last reply Reply Quote 0
      • C
        Cry Havok
        last edited by Mar 14, 2007, 2:54 PM

        I'd go with testing with a FreeBSD 6.2 boot/install CD.  If that too fails to find the card then, if you care enough, I'd suggest filing a bug report with the FreeBSD folks and working with them to get it working.  You may also want to check and see if HEAD (FreeBSD-7) or one of the older 6.x releases (6.1 and 6.0) work with it (and 5.0 through 5.4 if you've time) to help them identify when it stopped working with FreeBSD.

        1 Reply Last reply Reply Quote 0
        • J
          j0emv
          last edited by Mar 14, 2007, 8:56 PM

          I am going to file a bug report.  These systems need to go into production ASAP so i'm kinda under a tight deadline.  I ended up purchasing an internal CF reader that came with a motherboard usb header cable.  I was able to get pfsense 1.01 to read the Microdrive using the USB reader but the only other problem was because this hardware is older, it wont boot off USB devices.. So…. I ended up having to keep a 128mb flash in there with the pfsense kernel to boot from and changed the fstab entry to the Microdrive.. Does that sound like it's going to be ok?  Right now it loads the kernel off the 128MB CF, then drops to the Microdrive for the filesystem.

          It complicates my setup but thats about the best I could come up with without hacking the kernel and all that.  I am going to file that bug report and then maybe find some resolution for this so I wouldnt have to go to such extremes.  Whats strange is, I was able to write the Microdrive with my home pc using the pfsense livecd.  I brought the Microdrive to work and was able to boot from it to the point where it tries to load the filesystem.  Even though it had just booted from the microdrive, the kernel was unable to recognize the filesystem on the Microdrive so that was weird.  I think its a combination of the CF reader that came with this box AND Freebsd thats causing it not to read correctly.  Right now its booted and working fine in my tethered setup though.  I only went through all this so I could install Freeradius and have openvpn authenticate against that, thats the only reason I bought the microdrive in the first place.

          Thanks for the ideas though!

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Mar 14, 2007, 9:08 PM

            @j0emv:

            I am going to file a bug report.  These systems need to go into production ASAP so i'm kinda under a tight deadline.  I ended up purchasing an internal CF reader that came with a motherboard usb header cable.  I was able to get pfsense 1.01 to read the Microdrive using the USB reader but the only other problem was because this hardware is older, it wont boot off USB devices.. So…. I ended up having to keep a 128mb flash in there with the pfsense kernel to boot from and changed the fstab entry to the Microdrive.. Does that sound like it's going to be ok?  Right now it loads the kernel off the 128MB CF, then drops to the Microdrive for the filesystem.

            It complicates my setup but thats about the best I could come up with without hacking the kernel and all that.  I am going to file that bug report and then maybe find some resolution for this so I wouldnt have to go to such extremes.  Whats strange is, I was able to write the Microdrive with my home pc using the pfsense livecd.  I brought the Microdrive to work and was able to boot from it to the point where it tries to load the filesystem.  Even though it had just booted from the microdrive, the kernel was unable to recognize the filesystem on the Microdrive so that was weird.  I think its a combination of the CF reader that came with this box AND Freebsd thats causing it not to read correctly.  Right now its booted and working fine in my tethered setup though.  I only went through all this so I could install Freeradius and have openvpn authenticate against that, thats the only reason I bought the microdrive in the first place.

            Thanks for the ideas though!

            We do not file bug reports for FreeBSD specific issues.  This is a FreeBSD issue and you really should try the FreeBSD 6.2 install cd like was previously suggested.

            1 Reply Last reply Reply Quote 0
            • J
              j0emv
              last edited by Mar 16, 2007, 5:57 PM

              I'm going to try FreeBSD 6.1, 6.2, 5.4 and maybe 5.0.. If it doesnt boot with any of those then i'll submit a freebsd bug report.

              1 Reply Last reply Reply Quote 0
              • J
                j0emv
                last edited by Mar 16, 2007, 9:33 PM

                Well I just tried 5.4 and disabling DMA seems to work and forces the drive to use PIO mode.  I also tried 6.1 and it doesnt recognize the drive, regardless if I disable DMA or not.  I'm guessing support broke at 6.x…

                1 Reply Last reply Reply Quote 0
                • J
                  joebarnhart
                  last edited by Mar 23, 2007, 10:38 PM

                  I have the same issue.  I suppose anyone with a 4G Seagate microdrive will.  So what is our next step?  I don't know much about FreeBSD and its error reporting structure…

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cry Havok
                    last edited by Mar 25, 2007, 8:33 PM

                    Visit the FreeBSD home page (http://www.freebsd.org/) and follow the link titled "Report a bug" :)

                    1 Reply Last reply Reply Quote 0
                    • J
                      joebarnhart
                      last edited by Mar 26, 2007, 8:16 AM

                      OK, so j0emv beat me to it.

                      http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/110407

                      I wish I knew enough about BSD to just fix the darned thing.  I hate waiting.  That little Seagate microdrive is perfect and I can't use it!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        [[user:consent.lead]]
                        [[user:consent.not_received]]