Search results

  1. FestusHagen

    Other gmirror rename

    scottro, [edit] Now that I'm looking with eyes that can see, your commands, gmirror forget gm0 gmirror insert gm0 ada1 are to replace a failed drive ... That is not what I asked! I want to rename the mirror. i.e: gm0 to gm1. I'm adding two new drives in a new gmirror, then I'll rename, thus...
  2. FestusHagen

    Other gmirror rename

    For the next searching soul ... It appears it's safe to: Don't blame me if it teaches your computer to smoke! Follow the rules, backup first! BTW: IMO this forum software is horrendous and a resource hog. Thanks for no help!
  3. FestusHagen

    Other gmirror rename

    Need to replace disks, how can one rename the current gmirror to a new name without destroying the data on the disks. Tried (on test mirror), as found in the freebsd.list archives, gmirror stop Data gmirror label DataOld da2s2 da3s2 I get an error, unable to write to last sector. (or something...
  4. FestusHagen

    Installing and using gcc > v4.2.1

    Not everything uses BSD style makefiles, so Thy evil and wicked ways cometh as ... aliases! Seems to be getting the job done, at least so far, Qt5.3.1 from git repo is building. (with one minor source change) I wouldn't admit to it, I'd just rebuild the system ... besides I ain't no fool, I...
  5. FestusHagen

    Installing and using gcc > v4.2.1

    Hi All, FreeBSD-9.2 I've installed lang/gcc47, gcc47 --version reports v4.7.4, Yet gcc --version still reports v4.2.1, everything uses gcc how does one make gcc use the gcc47 toolchain. Following the page http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I have added to...
  6. FestusHagen

    Duplicate a slice (and data) on the same disk

    Absolute perfection ... After playing and testing on a XP loaded drive I did it on the POS system, Worked flawless. I successfully duplicated the POS secure volume, destroyed the original, then restored it. All with dd. The POS reports no volume issues! Yup, takes a long long time 512 bytes...
  7. FestusHagen

    Duplicate a slice (and data) on the same disk

    Please quit thinking on such a high level ... Obviously I need to work at a lower level, not by file system! My mistake was showing the partition I did for an example (and my test partition)... That is NOT the actual partition, the actual partition is proprietary. I've done this before...
  8. FestusHagen

    Duplicate a slice (and data) on the same disk

    How can I tell dd to: copy block 63 to 409593241 copy block 64 to 409593242 And so on, Stopping after reading block 409593240 and writing it to block 819186418 -Enjoy fh : )_~
  9. FestusHagen

    Duplicate a slice (and data) on the same disk

    Hi all, FreeBSD 8.2. Needing to duplicate a non-FreeBSD slice on the same drive. Backups do not work! It must be raw sector copied. Typically I would use two disks and dd it, something like dd if=/dev/ad4 of=/dev/ad6 bs=1m. However this time I would like to do it on the same drive. (tired of...
  10. FestusHagen

    iconv EILSEQ error

    [solved] iconv EILSEQ error WCHAR_T is system dependent! Use the encoding that created the String that the wchar_t &wc came from in the first place ... Duh! However, I didn't know what that was, this is software written by ??? I do not understand all this utf / Unicode / Code sets / Wide...
  11. FestusHagen

    iconv EILSEQ error

    Simple test program. #include <stdio.h> #include <iconv.h> // FreeBSD // g++ -g -o iconv-test -I/usr/local/include -L/usr/local/lib iconv-test.cpp -liconv // On Win32 I use MinGW32, I use Strawberry Perl so I use it's MinGW ... // g++ -g -o iconv-test -IC:/Strawberry/c/include...
  12. FestusHagen

    iconv EILSEQ error

    Hi all, Working on a C project that uses iconv, it works properly on Fedora and Windows yet fails on FreeBSD-8.2. Hoping someone can point me in the direction of a resolution. The errno is 86, And is defined in /usr/local/include/iconv.h as: EILSEQ 86 /* Illegal byte sequence */...
  13. FestusHagen

    ACPI Thermal Control on HP DC7600

    I agree, It is strange, but unfortunate fact! Business no, Organization yes, The cost is volunteer time! Replacements ????, these systems were loaned/donated to the cause. We had a couple hundred of these systems donated and not all of the same models have this issue, it's got to be either MB...
  14. FestusHagen

    Where is BUS_ALLOC_RESOURCE defined!

    Much Thanks! I was reading over the Kobj last night and figured this out, what an amazing obfuscation! -Enjoy fh : )_~
  15. FestusHagen

    Kernel debugging - Couldn't establish connection to remote target

    Thanks SirDice. Like I said, I have yet to find a way out of tip other then kill'ing it. That is during this process, normal use of tip exits fine. Wonder how I figured out how to use tip to do this without the use of man pages! By learning how to read man pages ~20 years ago when I...
  16. FestusHagen

    Kernel debugging - Couldn't establish connection to remote target

    Hi all, After adding: console="comconsole"to /boot/loader.conf The systems boots to: Loading /boot/defaults/loader.conf - At this point if one uses tip on the host to establish a connection with the target, one can then escape to the loader prompt and type: boot -d and it proceeds to the...
  17. FestusHagen

    Kernel debugging - Couldn't establish connection to remote target

    Thank you for looking and pointing that out, My apologies though, I did in fact incorrectly type that up in relation to this post. I wish it was that simple ... Though in my case (and it should have been done BTB) the only error was in adding the 'e' to the end of make, I use a script called...
  18. FestusHagen

    Kernel debugging - Couldn't establish connection to remote target

    Hi All, Trying to get a remote debugger up and running as per On-Line Kernel Debugging Using Remote GDB This is where I am at: Both systems are: FreeBSD 8.2-RELEASE-p4 The target Setup: KERNCONF: makeoptions DEBUG=-g options KDB options KDB_TRACE options DDB options GDB...
  19. FestusHagen

    Where is BUS_ALLOC_RESOURCE defined!

    First place I looked. This is what I'm looking for (highlighted in red): From: kern/subr_bus.c /** * @brief Wrapper function for BUS_ALLOC_RESOURCE(). * * This function simply calls the BUS_ALLOC_RESOURCE() method of the * parent of @p dev. */ struct resource * bus_alloc_resource(device_t...
  20. FestusHagen

    Where is BUS_ALLOC_RESOURCE defined!

    Hi all, Been grep'n source, searching the web, created a ctags of the complete src tree, yet I still cannot find the definition of the macro BUS_ALLOC_RESOURCE. Where is it please ? Thanks One would think the source file name would be indicated in the functions man page! -Enjoy...
Back
Top