Search results

  1. asteriskRoss

    Solved Certified hard drive blanking

    I also meant to mention that the NSA offers guidance and a list of products. In the UK, CESG, which is part of =field_product_certifications%253Afield_assurance%3A226&f[1]=field_topics%253Aname%3ADestruction%20%26%20Disposal']GCHQ (UK equivalent of NSA) offers something similar and has a...
  2. asteriskRoss

    Solved Certified hard drive blanking

    a59303, You have hit upon a topic close to my heart :) In addition to the already mentioned NIST Special Publication 800-88 "Guidelines for Media Sanitization", there is guidance in ISO/IEC 27040 "Information technology -- Security techniques -- Storage security", which also includes guidance...
  3. asteriskRoss

    conversion of Intel instruction into MIPS on FreeBSD

    The WikiChip website looks like it might be helpful: And also says that the MFC0 instruction can be used to read from registers in coprocessor 0. The WikiChip page references the /arch/mips/include/asm/cpu.h Linux kernel header file for interpretation of the return values.
  4. asteriskRoss

    conversion of Intel instruction into MIPS on FreeBSD

    Sunny Goel, Perhaps for the benefit of other people finding this thread you could post your C source code for fetching CPU information on a MIPS processor? If you have working code in C for fetching CPU information on a MIPS processor, why use inline assembler at all? But assuming you have a...
  5. asteriskRoss

    conversion of Intel instruction into MIPS on FreeBSD

    The reason I suggested looking at GNU/Linux is that I ran a quick search and found this source file tantilisingly called cpuid_mips.c from a library project called OpenBLAS. On GNU/Linux it reads /proc/cpuinfo and seems to expect to be able to differentiate between variants of the Loongson 3...
  6. asteriskRoss

    conversion of Intel instruction into MIPS on FreeBSD

    In FreeBSD I would have looked to the cpuctl device but unfortunately the man page says only i386 and amd64 are supported. Perhaps you could look at the relevant MIPS instruction set reference? Or perhaps take a look to see whether/how another operating system like GNU/Linux has implemented it?
  7. asteriskRoss

    GCC-4.4 doesn't exist under /usr/ports

    Agreed. Perhaps you should consider asking the application supplier for support since they should know how to compile their own code. Is the application you are trying to compile designed for FreeBSD? Perhaps it uses GNU/Linux binaries and you haven't installed the binary compatability layer...
  8. asteriskRoss

    GCC-4.4 doesn't exist under /usr/ports

    You could try using the last version of the lang/gcc44 port with the current ports tree but it may require some modification to work correctly (the FreeBSD Porter's Handbook may be helpful if this is the path you want to take). It would also be possible to compile and install GCC 4.4 outside of...
  9. asteriskRoss

    LAGG interface with both IPv4 and IPv6

    If it were me I would test elsewhere first rather than hoping for the best on a production system! It is possible to use virtual machines on their own network.
  10. asteriskRoss

    ZFS Boot hangs mid-boot after adding new drive

    I don't believe so. As I understand it, all partitions are scanned for GELI containers that are configured to be mounted at boot (created or configured with the -b flag -- see the geli man page). Any variables in loader.conf related to GELI containers that are found are then applied while the...
  11. asteriskRoss

    Solved extend ZFS partition

    Yes this is possible, though best to back up before messing with partitions and filesystems :) It looks like the partition hosts your root ZFS pool on your running system, so you should boot from your install media and select "Live CD" to change the partition size. Use the resize function of...
  12. asteriskRoss

    Solved pf and freebsd-update

    I'm pretty sure you can throw hostnames at pfctl for rules and tables and let it do the DNS lookup. When I did this myself I remember the subtlety to doing this on startup is that PF comes up before name resolution. I ended up writing my own rc script that ran later in the boot process to...
  13. asteriskRoss

    Solved Cross Compiling for Linux in FreeBSD

    Welcome to the forums :) Whilst I'm sure it is possible to cross-compile for GNU/Linux on a FreeBSD box, I also suspect it might take you a while to get it working. As an alternative method to achieve your goal you could run a GNU/Linux virtual machine on your FreeBSD box using bhyve...
  14. asteriskRoss

    Solved pf and freebsd-update

    Great! If you want a tighter configuration, you could use a table for the IP addresses of the FreeBSD update servers so that connections are only permitted to them rather than to any server. You could write a script that runs periodically to refresh that list of IP addresses. Also, instead of...
  15. asteriskRoss

    i386 assembly example does not work

    Developer guides for their respective x86-64 chips are available from AMD for AMD64 and Intel for Intel 64 (previously known as EM64T). Note the instruction sets are almost but not quite the same, though the differences likely won't matter to you. For your code that interacts with the...
  16. asteriskRoss

    i386 assembly example does not work

    I love programming in assembler though it's often difficult to justify the additional time it needs over a compiled language and the lack of portability. As a chatty introduction to assembly language I enjoyed Assembly Language Step-by-Step: Programming with Linux (ISBN 978-0-470-49702-9). It...
  17. asteriskRoss

    Solved More advanced GELI setup

    What I would expect is that you will have a prompt for any device hosting a GELI container with the boot flag set, irrespective of what keyfile configuration you add to /boot/loader.conf. If a device doesn't host a GELI container, you won't receive a prompt. The keyfile configuration is there...
  18. asteriskRoss

    Solved pf and freebsd-update

    It would normally be necessary to allow outbound DNS queries to resolve the addresses of the FreeBSD update servers, unless you have them listed in your hosts file. Try adding the line: pass out on $ext_if proto { udp, tcp } to any port 53
  19. asteriskRoss

    Solved More advanced GELI setup

    It is possible to attach the GELI container during boot based on GPT label... however it is annoying to do so as you have to tolerate failed attaches of the same device referred to in a different way. This is what I was referring to in my previous post: The way GELI attaches containers at boot...
  20. asteriskRoss

    stuck in the SLIM loop

    Expanding on ANOKNUSA's post, have a look at the Virtual Consoles section of the FreeBSD handbook. Press Alt+F2 to switch to the first virtual console. Alternatively, you could select Single user mode on startup that will drop you to a root shell where you could edit your user's ~/.xinitrc.
Back
Top