Re: PCIe audio cards: what is tob be preferred with FreeBSD 8.0/9-CURRENT?
On 24 Jan 2010, at 17:36, O. Hartmann wrote: At this moment, I look for the Soundblaster X-Fi range of PCIe cards, but I'm not sure whether they are supported by FreeBSd 8/9. Any suggestions? I'm actually looking for a replacement for my X-Fi (I have the PCI X-Fi Gamer). The sound quality isn't great and it's only supported in Windows. I believe there's an effort going on to get a functioning driver on Linux at the moment. Besides that, the card I have got some proprietary connectors for digital audio that you need to buy some kind of dongle for that dangles outside your case. You can fit a 3.5mm optical jack in the proprietary connector, but the signal isn't SP/DIF - my receiver has no idea what to do with it. The more expensive versions probably don't have that problem, they have plenty of connections for all kinds of signals after all. Alban Hertroys -- Screwing up is the best way to attach something to the ceiling. !DSPAM:760,4b5d7a9c10602068968553! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror per partition
On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote: now to mirror root partition. My problem is that root is mounted and cannot (?) be unmounted, unlike /efi, on the live system. # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1 da1p2 added # # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. # If I create gmirror on da1, the spare disk: # gmirror label -vb round-robin root /dev/da1p2 Metadata value stored on /dev/da0p1. Done. # so that # gmirror status NameStatus Components mirror/efi COMPLETE da0p1 da1p1 mirror/root COMPLETE da1p2 # then I still cannot insert da0p2 # gmirror insert root da0p2 gmirror: Cannot access provider da0p2. # So how can I gmirror root partion on a live system? You're almost there... I did this a while ago, can't remember when, but I just upgraded the system that had this from FreeBSD 6.3 of sometime in 2006 to 7.2. What I believe I did from this point on was: Copy everything from the root partition to mirror/root. Modify /etc/fstab to mount root on mirror/root. Reboot. Now the original root partition isn't mounted anymore, so we can do operate on it's geom stuff. gmirror insert root da0p2 That should be it. If that doesn't work you can always boot off a live file-system CD/DVD and perform these actions from there. You won't have man pages in that case though, or at least I couldn't find a way to read them off the DVD last I tried. One thing I'd like to warn about at this point: If you ever upgrade to a kernel with a newer geom metadata version and that new kernel crashes, you're left with a system where the new kernel can't boot at all while the old kernel can't mount the root mirror as it's now of a version it can't handle. You can however mount a single geom provider of that root file system (/dev/da1p2 for example) to try to fix things. That file-system WILL be dirty, but DON'T run fsck on it or you will destroy it's contents. That's what happened to my upgrade above... Thankfully it was only my root partition with hardly any data on it and I did make level 0 dumps before the upgrade, but I needed to restore that FS from a fixit shell without man pages. Augh! many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll see there is no forest. !DSPAM:760,4a4de90f759155226611503! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bad sector on a gstripe
? Regards, Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll see there is no forest. !DSPAM:760,47ada565167321710067946! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror insert question
I can't seem to get gmirror insert to work. I have these partitions /dev/ad8s2d and /dev/ad10s2d that I want to mirror (among others). I did as follows (from single user mode): $ gmirror label -v -b load var /dev/ad8s2d $ gmirror insert var ad10s2d But ad10s2d fails to synchronize (error 1), and the mirror stays degraded (even though there's only 1 partition in it; isn't that a bit odd?). The exact output is (typed over from the console): GEOM_MIRROR[1]: Adding disk ad10s2d to var. GEOM_MIRROR[0]: Provider ad10s2d detected. GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d. GEOM_MIRROR[0]: Synchronization request failed (error=1). ad10s2d[WRITE(offset=0, length=131072)] GEOM_MIRROR[0]: Device var: provider ad10s2d disconnected. GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d stopped. GEOM_MIRROR[1]: Consumer mirror/var destroyed. GEOM_MIRROR[1]: Consumer ad10sd destroyed. The same goes for /, /usr and /home. I'd like to get this working. In addition I would like to create some striped partitions in a similar way; for /tmp, /usr/obj and /usr/ports - I think those'll be run async w/o softupdates. Any help appreciated. Alban Hertroys http://solfertje.student.utwente.nl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This person has performed an illegal operation and will be shot down. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]