Re: Nvidia 8800 GTS
On 5/26/07, Alexandre Vieira [EMAIL PROTECTED] wrote: On 5/26/07, Garrett Cooper [EMAIL PROTECTED] wrote: Alexandre Vieira wrote: On 5/26/07, Alexandre Vieira [EMAIL PROTECTED] wrote: On 5/25/07, Derek Ragona [EMAIL PROTECTED] wrote: At 01:16 PM 5/25/2007, Alexandre Vieira wrote: Hello folks, I've bought a Nvidia 8800GTS 320MB DDR and i'm trying to get it working with freebsd. I've installed Xorg 7.2 and the nvidia driver. The driver detects the card correctly and displays the card info correctly. When I launch Xorg with the nvidia driver I get a striped green screen and the machine freezes completely. I can't see any X logs because it crashes immediately. Sounds like you don't the right refresh settings for your monitor. Double check the refresh rates you choose in configuring X and the resolutions too. -Derek -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. Hi, thanks for the reply Is that reason to hard freeze the machine? I'll check the monitor manual and set manually the refresh settings for the monitor. Thanks Regards -- Alexandre Vieira - [EMAIL PROTECTED] Hello, I added the HorizSync and VertRefresh to the correct values present in the monitor manual. Removed Glcore and dri and made sure glx is enabled. I also tried to set NvAgp to 0 (just in case) and still the same result: green with black strips screen + hard crash on the machine (keyboard locks don'tt answer too). Any more tips on this one? Thanks! I'll be where you're at in a few hours (need to backup Linux data and install FreeBSD on desktop) -- I just bought a 8800 GTS too. We'll see what happens.. Any error messages on the console or Xorg.0.log though? -Garrett Hi Garret, Nothing that I can see. Unfortunatly since the machine just crashes I can't see the actual error in Xorg.log. But im optimistic, I've seen many people on mailing lists claiming they have a 8800 GTS and running freebsd. I've mailed some persons asking for directions and xorg.conf/any other tricks. Regards, -- Alexandre Vieira - [EMAIL PROTECTED] Hi all, FYI this card will only work with the latest BETA drivers. You need to compile and install by hand. Also, since the X base has now moved to /usr/local exepct some problems because it will try to install to /usr/X11R6. I wonder if it's possible for someone to create a nvidia-driver-beta and track this beta driver. Most of this new cards will only work with this driver! It's working fine now! :) Thanks Regards, -- Alexandre Vieira - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia 8800 GTS
At 01:16 PM 5/25/2007, Alexandre Vieira wrote: Hello folks, I've bought a Nvidia 8800GTS 320MB DDR and i'm trying to get it working with freebsd. I've installed Xorg 7.2 and the nvidia driver. The driver detects the card correctly and displays the card info correctly. When I launch Xorg with the nvidia driver I get a striped green screen and the machine freezes completely. I can't see any X logs because it crashes immediately. Sounds like you don't the right refresh settings for your monitor. Double check the refresh rates you choose in configuring X and the resolutions too. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail ignores hosts.allow
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maxim Khitrov Sent: Monday, May 21, 2007 6:14 PM To: freebsd-questions@freebsd.org Subject: Re: Sendmail ignores hosts.allow however, I had a feeling that it was jail-related. But what about the hosts.allow problem? I can run a firewall, of course, but hosts.allow seems like a more efficient way of doing the same thing. I've already got it configured and working with sshd, so I see no reason why sendmail doesn't want to work the same way. You said earlier that your sendmail was compiled with tcp wrapper support. How exactly did you go about doing this and installing it? In any case, since your not going to be using sendmail much, if your that paranoid I would suggest you simply disable it and run it out of inetd. Then use the usual tcpd method (in the man page) to run inetd. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Another error when trying to install a package
This is a error message i receive when I try to install any pack using the package_add -r Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/amavisd-new.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/amavisd-new.tbz' by URL -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error when trying to install Amavisd-new
I receive this error when trying to install amavisd-new. === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/security/amavisd/work/amavisd-0.1/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 The command I use was make WITHOUT_UVSCAN=yes. When I try it with just make I recieve this error message Verifying install for uvscan in /usr/ports/security/vscan === Vulnerability check disabled, database not found === Extracting for uvscan-5.10e_2 = MD5 Checksum OK for vbsd510e.tar.Z. = SHA256 Checksum OK for vbsd510e.tar.Z. === Patching for uvscan-5.10e_2 === uvscan-5.10e_2 depends on shared library: c.3 - not found === Verifying install for c.3 in /usr/ports/misc/compat3x === compat3x-i386-5.0.20020925 is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath - not fixed / no lib available. This is a new install. I have updated the ports. How can I get around this I need to get this going again. -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libmap.conf
On Sat, 26 May 2007 11:10:15 +0300 Odhiambo WASHINGTON [EMAIL PROTECTED] wrote: * On 23/05/07 02:49 +1000, Norberto Meijome wrote: | On Tue, 22 May 2007 18:57:26 +0300 | Odhiambo WASHINGTON [EMAIL PROTECTED] wrote: | | /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2 | | So you mean it is as simple as: | | libfbclient.so.2 libfbclient.so.1.5.3 | | yup. Of course, it doesnt mean it will work - if your software expects .so.2 , which implements different procedures not present in xxx.so.1.5.3 then it will fail (with a different error msg of course). | | I suggest running the application from a shell (rather than launching from X ) so you can see any errors you get. ( added -questions again - there are more people out there that should be able to help you). Actually, I removed the symlink, added the entry into libmap.conf and tried recompiling the software (databases/php5-interbase) and it did not work!!! ok... do you mind pasting again the msg you are getting now. btw...shouldn't you be rebuilding / upgrading libfclient, whatever that is? Best, _ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error when trying to install Amavisd-new
dbetts escribió: I receive this error when trying to install amavisd-new. No, this is not amavisd-new, this is amavisd, which is quite an outdated software. Besides, it is unmaintained. Please take a look at security/amavisd-new, which is a updated. (And maintained by myself.) Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing CURRENT from STABLE
On Friday 25 May 2007 23:22:26 Kris Kennaway wrote: On Fri, May 25, 2007 at 11:04:04PM -0400, Daniel Molina Wegener wrote: Hello, I want to contribute with FreeBSD. I have installed STABLE on one disk, I use STABLE to work, but I want to install CURRENT to begin with small contributions with code. How can I install CURRENT from my STABLE installation, I mean work on FreeBSD using the STABLE install and test the CURRENT install on a diferent partition. Can I do that? I've tried to get working CURRENT, but I get compile errors. On STABLE I have gcc 4.2 to compile CURRENT and a shell script that does the next job: ---8-- export MAKEOBJDIRPREFIX=/work/FreeBSD/obj export PREFIX=/work/FreeBSD export CC=/usr/local/bin/gcc42 export CXX=/usr/local/bin/g++42 export DESTDIR=/work/FreeBSD/build export TARGET=i386 make $* ---8-- I'm right?, or I need to know something more? You are not right; FreeBSD bootstraps its own compiler, and in fact cannot usually be built with a non-standard compiler (even if it is based on the same gcc version) because of FreeBSD extensions. Just build world as you normally would. Thanks, but I get compile time errors. Am I missing something? or it's normal to get file not found errors? Kris [SNIP] Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Distributing kernel to identical machine (with MAC, AUDIT)
I compiled a kernel with: options MAC options AUDIT I need to copy this kernel to a couple of (identical) machines. Assuming that I've just used vanilla defaults (with regards to CFLAGS, make.conf) and the hardware is identical, is it safe to just tar /boot/kernel and copy to the other machines? Or is there more that must be copied? As I understand it, these two options don't affect userland at all, so nothing other than the kernel needs to be copied... Please enlighten me, MC PS: please CC, I'm not subscribed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Undefined reference to pthread_equal when compiling ports
Various ports that depend on Perl are coming up with the error in the subject when I try to upgrade them. I've tried a portupgrade -fR [package] and even portupgrade -fRra and it's not fixing the undefined reference. I've cvsupped several times, including the base system. I don't see anything related in UPDATING and searching the internet doesn't pull up anything that seems related. I've ran out of ideas and turn to you guys. Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another error when trying to install a package
On May 26, 2007, at 6:31 AM, dbetts wrote: This is a error message i receive when I try to install any pack using the package_add -r Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-6.2-release/Latest/amavisd-new.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-6.2-release/Latest/amavisd-new.tbz' by URL Does this happen with every package, or just the ones that need to be fetched via ftp? If it is specific to ftp, you may wish to check your firewall to see if you are blocking things that lead to ftp failures. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openvpn on freebsd problem
Hello list: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side, vpn server and gateway is same one box, I use dev tun, the server has a public static ip address, install nat,ipfw for internal net to Internet. In refer to howto, Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine. I know IP forwarding is work fine, but how to enable TUN forwarding? Thanks. pei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE:This is a error message i receive when I try to install any pack using the package_add -r
It happens with every package. I am using ATT DSL with 2wire 2701HG-B Gateway. I have checked all my settings on the firewall and I am able to FTP into the server and FTP out from all my other workstations on my network. This started after I switched to ATT. I called ATT and had them check everything and of course nothing was wrong at there end. I also noticed when I compile a port it sometimes won't download the dependences and i have to manually install them in the distfile. On May 26, 2007, at 6:31 AM, dbetts wrote: This is a error message i receive when I try to install any pack using the package_add -r Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/amavisd-new.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/amavisd-new.tbz' by URL Does this happen with every package, or just the ones that need to be fetched via ftp? If it is specific to ftp, you may wish to check your firewall to see if you are blocking things that lead to ftp failures. -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
probe my HDD
please help me, I just newbie to use FreeBSD, I try to install freebsd 6.2to my computer,but when I try to make partition I got message that tell me my HDD can't probe,but when I install freebsd older version its ok,can you help me,please..sorry my english bad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cant get the damn bandwidth limiter working
pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s download. I want to use half of that. What should pf.conf contain, to limit my computer's upload and download speeds? I've tried: altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download } queue lan bandwidth 1000Kb cbq(default) queue upload bandwidth 64Kb cbq queue download bandwidth 512Kb cbq block in all pass in quick on sk0 from 192.168.0.0/16 queue lan pass in all on sk0 queue download block out all pass out quick on sk0 to 192.168.0.0/16 queue lan pass out all on sk0 queue upload This setup gives programs like fetch the full download bandwidth, full upload bandwidth, and allows LAN transfers only at 128kB/s. Removing the lan queue allows the sk0 interface to run at a total of 72kB/s, that would be 64kB/s download and 8kB/s download, as i need, but 1. when I'm not uploading, download speed is 72kB/s; 2. when I'm not downloading, upload speed is 16kB/s (ISP limit); and 3. when I'm transferring over LAN, internet speed is hindered, not to mention the 72kB/s LAN speed. That sucks. pf allows 1 queueset per interface. What now? Help plz? THX! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd network fax server?
O/H Anish Mistry έγραψε: On Thursday 24 May 2007, Dave wrote: Hello, I've got a setup using HylaFAX. The critical parts of the question about Hylafax are: a) are you using hylafax server with windows clients? and if yes b) what cliesnt software are you using to send faxes? (there are dosens of them) I am interested too in such a solution and I am stuck at what client to select for windows based machines. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd network fax server?
Hi, I do have windows clients, and i do not have any fax client software for them. I thought i could just go through a cups printserver that i've got but haven't seen anything to get that going. I am open to suggestions. Thanks. Dave. - Original Message - From: Thanos Rizoulis [EMAIL PROTECTED] To: Anish Mistry [EMAIL PROTECTED] Cc: Dave [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Saturday, May 26, 2007 11:39 AM Subject: Re: freebsd network fax server? O/H Anish Mistry έγραψε: On Thursday 24 May 2007, Dave wrote: Hello, I've got a setup using HylaFAX. The critical parts of the question about Hylafax are: a) are you using hylafax server with windows clients? and if yes b) what cliesnt software are you using to send faxes? (there are dosens of them) I am interested too in such a solution and I am stuck at what client to select for windows based machines. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list! Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? I know that I can delete an old snapshot, but could I delete the current one (i.e the live fs), keeping the older? User scenario: Before a major upgrade (eg. releng-current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. Best regards, Svein Halvor -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD8DBQFGWGTxhQg3vZGYu0ARAkcLAKCLq4D/IHBkwArPrIBUMENHNtqmngCgkfy3 dSvYmR/aXEEIDJ90xc5ennc= =OsCM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing CURRENT from STABLE
On Fri, 25 May 2007 23:04:04 -0400 Daniel Molina Wegener wrote: I want to contribute with FreeBSD. That's great. I have installed STABLE on one disk, I use STABLE to work, but I want to install CURRENT to begin with small contributions with code. How can I install CURRENT from my STABLE installation, I mean work on FreeBSD using the STABLE install and test the CURRENT install on a diferent partition. Can I do that? There are several ways to do it. For example, you may install the new OS at another disk partition or install qemu and use -CURRENT under qemu. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd network fax server?
On Sat, May 26, 2007 at 12:32:08PM -0400, Dave wrote: Hi, I do have windows clients, and i do not have any fax client software for them. I thought i could just go through a cups printserver that i've got but haven't seen anything to get that going. I am open to suggestions. Maybe http://vigna.dsi.unimi.it/fax4CUPS/ will do what you want? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp3PfG7YdUXC.pgp Description: PGP signature
Re: Restore UFS snapshot
On Sat, May 26, 2007 at 06:48:52PM +0200, Svein Halvor Halvorsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list! Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. User scenario: Before a major upgrade (eg. releng-current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. You should use dump(8) in this case. Create level 0 dumps of your filesystems and store them somewhere. You can dump live filesystems with dump's -L flag. If you botch the upgrade, you can use restore(8) to revert your filesystems to the situation before the upgrade. Note that you should really make regular dumps of your filesystems as backups anyway! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpyhVuYhuQko.pgp Description: PGP signature
Re: Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. User scenario: Before a major upgrade (eg. releng-current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. You should use dump(8) in this case. Create level 0 dumps of your filesystems and store them somewhere. You can dump live filesystems with dump's -L flag. If you botch the upgrade, you can use restore(8) to revert your filesystems to the situation before the upgrade. Note that you should really make regular dumps of your filesystems as backups anyway! This is also beyond the point, although I appreciate that you suggest alternative ways to meet my objectives. dump/restore would also require additional disk space. I do actually backup my data on a regular basis, but not all of my computers really need external backup, as I could stand some downtime. However, if I could easily make a snapshot, and then either roll back or delete it afterwards, it would be a nice compromise between security and effort. And also: it seems it should be possible to do this. If not, I might want to make a tool for it. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD4DBQFGWITghQg3vZGYu0ARAjIeAJwIe7+pbMw62dHClFo1r6R6byUKaQCYzWx3 QcIl0qBiYsKdyytwxzVHww== =OFQk -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
Svein Halvor Halvorsen [EMAIL PROTECTED] writes: This is also beyond the point, although I appreciate that you suggest alternative ways to meet my objectives. dump/restore would also require additional disk space. Not as elegant as your idea, but you can always dump from the snapshot and restore back on the filesystem. You can't use a pristine restore(8), and you need the extra space on the same filesystem, but it will work. Your basic idea seems quite workable as far as I can see, so it would be a Simple Matter of Programming to get it to work. [Note that since the copy-on-write mapping only goes one way, the code to do this will have to walk the whole snapshot filesystem, rebuilding inode status (and cleaning up ones that didn't exist in the snapshot) as it goes. A fair amount of work, even if nothing is tricky in theory.] Be well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk Error - DUMP output.
Grant Peel [EMAIL PROTECTED] writes: Is there any way to figure out the files that are not being read using the DUMP error output below? DUMP: read error from /dev/da0s1g: Input/output error: [block 42718592]: count=8192 DUMP: read error from /dev/da0s1g: Input/output error: [sector 42718594]: count=512 DUMP: read error from /dev/da0s1g: Input/output error: [block 42671366]: count=5120 DUMP: read error from /dev/da0s1g: Input/output error: [sector 42671371]: count=512 I had such a problem just last night. I tracked it down by copying directory trees within the filesystem to /dev/null until one failed. Then I repeated the process one directory level down, narrowing down the problem. [It turned out to be my wife's incoming mail spool...] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: APCUPSD with Belkin Model F6C900-UNV UPS on FreeBSD 6.2?
O/H L Goodwin έγραψε: I'm still looking for the right UPS for a server running FreeBSD 6.2. Staples has the Belkin Enterprise Series 900VA UPS (model F6C900-UNV) on sale for $89.99. Will apcupsd on FreeBSD 6.2 work with this unit??? Theoretically no (http://www.apcupsd.org/manual/Supported_UPSes_Cables.html) unless someone with hands-on experience on this unit can say otherwise. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On Sat, May 26, 2007 at 09:05:07PM +0200, Svein Halvor Halvorsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. Huh? Suppose you did 'mksnap_ffs /usr /usr/.snap/20070526' Then all you have to is something like: # mdconfig -a -t vnode -f /usr/.snap/20070526 -u 0 # mount /dev/md0 /mnt/snapshot # cd /usr # tar cf - /mnt/snapshot/* |tar xpf - # umount /mnt/snapshot # mdconfig -d -u 0 How much easier could it be? You could easily create a script for this as well. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. Snapshots take up room as well. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp8ndcyeNNPt.pgp Description: PGP signature
Re: Installing CURRENT from STABLE
On Sat, May 26, 2007 at 08:25:47AM -0400, Daniel Molina Wegener wrote: On Friday 25 May 2007 23:22:26 Kris Kennaway wrote: On Fri, May 25, 2007 at 11:04:04PM -0400, Daniel Molina Wegener wrote: Hello, I want to contribute with FreeBSD. I have installed STABLE on one disk, I use STABLE to work, but I want to install CURRENT to begin with small contributions with code. How can I install CURRENT from my STABLE installation, I mean work on FreeBSD using the STABLE install and test the CURRENT install on a diferent partition. Can I do that? I've tried to get working CURRENT, but I get compile errors. On STABLE I have gcc 4.2 to compile CURRENT and a shell script that does the next job: ---8-- export MAKEOBJDIRPREFIX=/work/FreeBSD/obj export PREFIX=/work/FreeBSD export CC=/usr/local/bin/gcc42 export CXX=/usr/local/bin/g++42 export DESTDIR=/work/FreeBSD/build export TARGET=i386 make $* ---8-- I'm right?, or I need to know something more? You are not right; FreeBSD bootstraps its own compiler, and in fact cannot usually be built with a non-standard compiler (even if it is based on the same gcc version) because of FreeBSD extensions. Just build world as you normally would. Thanks, but I get compile time errors. Am I missing something? or it's normal to get file not found errors? Only if you are missing some files. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. well, if you are using snapshot's you already have most likely calculated the overhead that the snapshot(s) will take - so i'm a little confused at to the lack of room available for the snapshot. it's not uncommon to have hourly, daily, weekly snapshot's of given volumes. User scenario: Before a major upgrade (eg. releng-current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. You should use dump(8) in this case. Create level 0 dumps of your filesystems and store them somewhere. You can dump live filesystems with dump's -L flag. If you botch the upgrade, you can use restore(8) to revert your filesystems to the situation before the upgrade. Note that you should really make regular dumps of your filesystems as backups anyway! This is also beyond the point, although I appreciate that you suggest alternative ways to meet my objectives. dump/restore would also require additional disk space. I do actually backup my data on a regular basis, but not all of my computers really need external backup, as I could stand some downtime. However, if I could easily make a snapshot, and then either roll back or delete it afterwards, it would be a nice compromise between security and effort. And also: it seems it should be possible to do this. If not, I might want to make a tool for it. they handbook has a pretty decent example of how to use dump along side mksnap_ffs - and it seems pretty robust to me. when dealing with whole filesystems and important data i think dump(8) is really the way to go as much work has been put into ensuring that you end up with a consistent image on disk. having said that - i see no reason why one couldn't write a wrapper around dump(8) and mksnap_ffs. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound and Gigabyte GA-81945P
Hello I put vista in my computer and the voice didn’t work help my what can I do. I have motherboard ga-81945p. Thenks for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Notice this in the messages log
Freshly installed Freebsd 6.2 on a new box noticed this in the messages log. locutus sshd[22236]: gethostby*.getanswer: asked for warf IN , got type A May 26 16:13:03 locutus sshd[22236]: gethostby*.getanswer: asked for warf IN , got type A locutus _su: gethostby*.getanswer: asked for warf IN , got type A Is this an error message? Do I need to worry about it? Sometime i will get the message for ftp also Thanks -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. Huh? Suppose you did 'mksnap_ffs /usr /usr/.snap/20070526' Then all you have to is something like: # mdconfig -a -t vnode -f /usr/.snap/20070526 -u 0 # mount /dev/md0 /mnt/snapshot # cd /usr # tar cf - /mnt/snapshot/* |tar xpf - # umount /mnt/snapshot # mdconfig -d -u 0 How much easier could it be? You could easily create a script for this as well. Let me clarify: It is a lot of work for the computer, for the hdd. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. Snapshots take up room as well. But the snapshot is already made. Again, let me clarify: At some point in time, my file system is filled with random* bits. I then make a snapshot. - From now on, all bits** that I flip will be take up an extra bit of space. Then, after changing lots of bits, I decide I wanted the old data back, as the file system was before I started to flip bits. Now, I could either: (a) Flip alot more bits, by making copies of the snapshotted bits over some free area of the disk, or (b) Undo all the bit flipping I have done, since I made the snapshot. In (a) I will have two copies of all the bits that has changed since the original snapshot, while in (b) I am back to where i were before the snapshot. Does this make any sense? Have I not understood this correctly? Best regards, Svein Halvor *) well, not random, but they might just as well be for the sake of the argument **) actually not bits either, but blocks or whatever. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD8DBQFGWJjUhQg3vZGYu0ARAofgAJ9QS1pPyYEmeQ8TkgYR7HbptZ014QCgqmkR 1dr8wcQV0qhR9KH7VlG/4Q0= =ssrQ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Having fun installing FreeBSD on machine with a USB keyboard
I'm trying to install 6.2, then bootstrap up to 7-CURRENT on my desktop, but I'm having issues getting everything installed, because it fails to find / load the USB keyboard / HID modules. When I do load the uhid and ukbd modules at the boot prompt, the system just locks up after it tries to configure the atkbd module. The current handbook chapter doesn't suggest anything about installing with USB keyboards: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html but the archived one (I assume used to install 4.x/5.x based on the archived main page) says I should disable atkbd and load ukbd/uhid: http://www.pl.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html I can't do this though as the atkbd module is compiled into the kernel statically. Using the May snapshot of CURRENT, and yes I have legacy USB support compiled into the kernel. Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On Sat, May 26, 2007 at 10:30:13PM +0200, Svein Halvor Halvorsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. Huh? Suppose you did 'mksnap_ffs /usr /usr/.snap/20070526' Then all you have to is something like: # mdconfig -a -t vnode -f /usr/.snap/20070526 -u 0 # mount /dev/md0 /mnt/snapshot # cd /usr # tar cf - /mnt/snapshot/* |tar xpf - # umount /mnt/snapshot # mdconfig -d -u 0 How much easier could it be? You could easily create a script for this as well. Let me clarify: It is a lot of work for the computer, for the hdd. You could use rsync instead of tar. That would save time. (b) Undo all the bit flipping I have done, since I made the snapshot. This is what the procedure above does if you replace the tar commands with rsync. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpeK5vgqe8Oe.pgp Description: PGP signature
Annoying output in messages
I have an HP Pavillion with a smartcard and compact-flash interface built into it. This is causing my Freebsd-6.2 machine to log spam to my messages file every second or two. Here's small sample right when it starts: ay 26 16:56:49 bsdpc kernel: SMP: AP CPU #1 Launched! May 26 16:56:49 bsdpc kernel: da0 at umass-sim0 bus 0 target 0 lun 0 May 26 16:56:49 bsdpc kernel: da0: Generic USB SD Reader 1.00 Removable Direct Access SCSI-0 device May 26 16:56:49 bsdpc kernel: da0: 1.000MB/s transfers May 26 16:56:49 bsdpc kernel: da0: Attempt to query device size failed: NOT READY, Medium not present May 26 16:56:49 bsdpc kernel: da1 at umass-sim0 bus 0 target 0 lun 1 May 26 16:56:49 bsdpc kernel: da1: Generic USB CF Reader 1.01 Removable Direct Access SCSI-0 device May 26 16:56:49 bsdpc kernel: da1: 1.000MB/s transfers May 26 16:56:49 bsdpc kernel: da1: Attempt to query device size failed: NOT READY, Medium not present May 26 16:56:49 bsdpc kernel: da2 at umass-sim0 bus 0 target 0 lun 2 May 26 16:56:49 bsdpc kernel: da2: Generic USB SM Reader 1.02 Removable Direct Access SCSI-0 device May 26 16:56:49 bsdpc kernel: da2: 1.000MB/s transfers May 26 16:56:49 bsdpc kernel: da2: Attempt to query device size failed: NOT READY, Medium not present May 26 16:56:49 bsdpc kernel: da3 at umass-sim0 bus 0 target 0 lun 3 May 26 16:56:49 bsdpc kernel: da3: Generic USB MS Reader 1.03 Removable Direct Access SCSI-0 device May 26 16:56:49 bsdpc kernel: da3: 1.000MB/s transfers May 26 16:56:49 bsdpc kernel: da3: Attempt to query device size failed: NOT READY, Medium not present May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Medium not present May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da0 - 6 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Medium not present May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da0 - 6 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Medium not present May 26 16:56:49 bsdpc kernel: (da0:umass-sim0:0:0:0): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da0 - 6 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Medium not present May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da1 - 6 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Medium not present May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da1 - 6 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check Condition May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Medium not present May 26 16:56:49 bsdpc kernel: (da1:umass-sim0:0:0:1): Unretryable error May 26 16:56:49 bsdpc kernel: Opened disk da1 - 6 May 26 16:56:49 bsdpc kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 May 26 16:56:49 bsdpc kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error May 26 16:56:49 bsdpc kernel:
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. Huh? Suppose you did 'mksnap_ffs /usr /usr/.snap/20070526' Then all you have to is something like: # mdconfig -a -t vnode -f /usr/.snap/20070526 -u 0 # mount /dev/md0 /mnt/snapshot # cd /usr # tar cf - /mnt/snapshot/* |tar xpf - # umount /mnt/snapshot # mdconfig -d -u 0 How much easier could it be? You could easily create a script for this as well. Let me clarify: It is a lot of work for the computer, for the hdd. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. Snapshots take up room as well. But the snapshot is already made. Again, let me clarify: At some point in time, my file system is filled with random* bits. I then make a snapshot. - From now on, all bits** that I flip will be take up an extra bit of space. Then, after changing lots of bits, I decide I wanted the old data back, as the file system was before I started to flip bits. Now, I could either: (a) Flip alot more bits, by making copies of the snapshotted bits over some free area of the disk, or (b) Undo all the bit flipping I have done, since I made the snapshot. In (a) I will have two copies of all the bits that has changed since the original snapshot, while in (b) I am back to where i were before the snapshot. Does this make any sense? Have I not understood this correctly? hmm...i'm still a little confused as to where you are going. there are three main way's i've used snapshot's in large (~1PB) environments, two of which are applicable to you i believe: 1) dump(8) file system after snapshot, not only for backup/DR purposes - but to insure that you have a valid disk image of your critical filesystem before doing something risky (installworld etc.). in this case dump to a scratch volume 2) restore(8) dumped filesystem image if something bad happens, otherwise let tmpwatch clean remove the dump at a later date. while this may require more space, it does give you a reasonable amount of certainty that the disk image is valid and consistent (esp. pertinent for frequently modified data sets - let's say LDAP databases). now, here is an easy way to go - that should work for static dataset's: an installworld goes bad and /usr/bin is borked: $ tar cvpf - /usr/bin/.snap/ | (cd /usr/bin; tar xvpf -) or something similar. you could use rsync, but that would give you uneeded overhead IMHO. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You could use rsync instead of tar. That would save time. I'm not talking about saving time. But saving CPU time and HDD stress. However, the disk space issue is a bigger one: (b) Undo all the bit flipping I have done, since I made the snapshot. This is what the procedure above does if you replace the tar commands with rsync. No, because the snapshot will still be in use, and hence all its bits will be kept intact and read-only. When I use rsync/tar/cpio or whatever to undo changes to a file system, I will in reality copy these bits to different places on the disk. And until I release the snapshot (which I very well could, since it would defunct after the restore process), I will use twice the amount of disk space. Svein Halvor -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD8DBQFGWK2vhQg3vZGYu0ARAk/5AJ9QksQAbmwKTJLkwKGhISMpMvOEZgCgwG5u s7bYTdMu9DEIylAhTCeepzI= =5cD3 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pete wright wrote: hmm...i'm still a little confused as to where you are going. there are three main way's i've used snapshot's in large (~1PB) environments, two of which are applicable to you i believe: *snip dump/restore plug* Yes, I understand how I could use dump/restore. But forget about all this. Forget about my reasons for wanting it. All I want to know is whether or not there exists a tool that will let me rollback a snapshot without mounting it, dumping it, or anything like that. Just by flipping some bits in the superblock, or some other small changes to an (unmounted) file system. Something really easy. No extra disk, no excessive copying, no nothing. Just a simple # umount # snap_rollback *wait 10 seconds* # mount .. and I'm set. I believe it should be possible. And if nothing like that exists, it should be made. I could look into it, but I would have to learn a lot more about the inner workings of the file system first. Svein Halvor -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD8DBQFGWK/ChQg3vZGYu0ARAoLIAJoDCeyZf/lsO/sj0HbZtosKs4i/lgCghohK Uc+zpgqsxUNVCV5yd/x0BQ0= =J6Az -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pete wright wrote: hmm...i'm still a little confused as to where you are going. there are three main way's i've used snapshot's in large (~1PB) environments, two of which are applicable to you i believe: *snip dump/restore plug* Yes, I understand how I could use dump/restore. But forget about all this. Forget about my reasons for wanting it. All I want to know is whether or not there exists a tool that will let me rollback a snapshot without mounting it, dumping it, or anything like that. Just by flipping some bits in the superblock, or some other small changes to an (unmounted) file system. Something really easy. No extra disk, no excessive copying, no nothing. Just a simple # umount # snap_rollback *wait 10 seconds* # mount .. and I'm set. I believe it should be possible. And if nothing like that exists, it should be made. I could look into it, but I would have to learn a lot more about the inner workings of the file system first. not that i know of, and IMHO for good reason. i would not trust anything of that nature with data that i deemed important enough to snap shot in the first place. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On Sat, May 26, 2007 at 11:59:13PM +0200, Svein Halvor Halvorsen wrote: Roland Smith wrote: You could use rsync instead of tar. That would save time. I'm not talking about saving time. But saving CPU time and HDD stress. However, the disk space issue is a bigger one: rsync would do much less writing than tar. So it would save on HDD stress, whatever that is. (b) Undo all the bit flipping I have done, since I made the snapshot. This is what the procedure above does if you replace the tar commands with rsync. No, because the snapshot will still be in use, and hence all its bits will be kept intact and read-only. When I use rsync/tar/cpio or whatever to undo changes to a file system, I will in reality copy these bits to different places on the disk. And until I release the snapshot (which I very well could, since it would defunct after the restore process), I will use twice the amount of disk space. You can't restore a previous situation _unless you saved it in some form_. So if you want a possibility to restore stuff, you'll have to keep a copy of it somewhere. Maybe in compressed form, and maybe you can clump changes together in a smart way, but you have to save the bits that you change. Every revision control system (which is effectively what you ask for) uses storage space to keep previous versions of data, although the precise method used for this varies. Disk space is cheap, and getting cheaper. Going through a lot of trouble to save a few bytes is almost certainly not cost effective. And keep in mind that you should really only use the tools that are available in /rescue. Using a fancy port won't help you if whatever you did borked /usr/local/bin. :) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpK7aDwsAnTW.pgp Description: PGP signature
Re: Restore UFS snapshot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You can't restore a previous situation _unless you saved it in some form_. So if you want a possibility to restore stuff, you'll have to keep a copy of it somewhere. Maybe in compressed form, and maybe you can clump changes together in a smart way, but you have to save the bits that you change. Of course! If I'm not clear, you could do better in asking me to clarify, than to assume that I am an idiot. Of course you need to save the data in some form, in order to restore it. I'm not asking for magic. Every revision control system (which is effectively what you ask for) uses storage space to keep previous versions of data, although the precise method used for this varies. Yes, but your suggested solution stores some data twice (at least for some time). And also it involves a lot of reading and writing (even though you could minimize it using rsync). Disk space is cheap, and getting cheaper. Going through a lot of trouble to save a few bytes is almost certainly not cost effective. And keep in mind that you should really only use the tools that are available in /rescue. Using a fancy port won't help you if whatever you did borked /usr/local/bin. :) I am not talking about a backup solution here. I just want an easy way of saving the state, doing something potentially stupid, and then throw away the (stupid) changes real quick and painless. Of course if the disk breaks or something, I will need something else. It doesn't matter too much though; I just wanted to know if something existed or not. Sees it doesn't. Thanks for your time. Maybe I will make something. Maybe not. For now, I will continue to mount the snapshot (as you suggested) Best regards, Svein Halvor -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:[EMAIL PROTECTED] to get my PGP-key iD8DBQFGWLyMhQg3vZGYu0ARAq8jAJoDdSRbev54oFKlffjEfAlcv12BfQCgx49L 3Xox5h4HAvgEB+rL1+OLVE8= =AYlv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Roland Smith [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 11:59:13PM +0200, Svein Halvor Halvorsen wrote: Roland Smith wrote: You could use rsync instead of tar. That would save time. I'm not talking about saving time. But saving CPU time and HDD stress. However, the disk space issue is a bigger one: rsync would do much less writing than tar. So it would save on HDD stress, whatever that is. (b) Undo all the bit flipping I have done, since I made the snapshot. This is what the procedure above does if you replace the tar commands with rsync. No, because the snapshot will still be in use, and hence all its bits will be kept intact and read-only. When I use rsync/tar/cpio or whatever to undo changes to a file system, I will in reality copy these bits to different places on the disk. And until I release the snapshot (which I very well could, since it would defunct after the restore process), I will use twice the amount of disk space. You can't restore a previous situation _unless you saved it in some form_. So if you want a possibility to restore stuff, you'll have to keep a copy of it somewhere. Maybe in compressed form, and maybe you can clump changes together in a smart way, but you have to save the bits that you change. Every revision control system (which is effectively what you ask for) uses storage space to keep previous versions of data, although the precise method used for this varies. I don't think he is talking about that. From what I understand about the snapshot system (correct me if I'm wrong) is that a snapshot creates it's own file system by remembering, for example, what the superblock was at the time of the snapshot. After that, the live file system continues on its way keeping track of the snapshot, but modifying its own blocks to account for the changes afterwards. I think what Svein wants to do is essentially overwrite a few blocks on the live file system, loosing all references to the changes that have been made and in effect returning the file system to the state it was in when the snapshot was taken. This is different from simply copying the contents of the snapshot back to the disk via an md device. This way he would restore the snapshot and lose it at the same time, but the operation should be O(1) in theory (time and space), as opposed to O(n) which any normal back-up/restore is. Personally, I think this an entirely reasonable thing to do, and I myself would like to see this kind of functionality. Right now, however, I don't think that it is possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
# umount # snap_rollback *wait 10 seconds* # mount .. and I'm set. I believe it should be possible. And if nothing like that exists, it should be made. I could look into it, but I would have to learn a lot more about the inner workings of the file system first. related: afaik, zfs rollback is working and is planned for freebsd 7.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound and Gigabyte GA-81945P
On Sat, May 26, 2007 at 10:39:19PM +0300, wrote: Hello I put vista in my computer and the voice didn?t work help my what can I do. I have motherboard ga-81945p. Thenks for your help. Why would you ask a FreeBSD Questions list about a problem with with a Microsloth product?There is no connection between FreeBSD which is a UNIX type operating system and Vista which is something Microsloth calls an operating system. I have no idea why voice would not work on Vista. Maybe you can find an MS list to ask. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
working on -CURRENT from -STABLE?
Hello, How can I install -CURRENT from -STABLE and work on -CURRENT code from -STABLE? Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: working on -CURRENT from -STABLE?
Daniel Molina Wegener wrote: Hello, How can I install -CURRENT from -STABLE and work on -CURRENT code from -STABLE? Regards, Simply put that's not possible to set it up and work on -CURRENT code, if you need to test CURRENT, because the userland and kernel get installed in the same spots. It's much wiser to just install CURRENT and STABLE on separate partitions / disks and work from there, if you don't have access to virtual machines. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: working on -CURRENT from -STABLE?
On Saturday 26 May 2007 21:24:58 Garrett Cooper wrote: Daniel Molina Wegener wrote: Hello, How can I install -CURRENT from -STABLE and work on -CURRENT code from -STABLE? Regards, Simply put that's not possible to set it up and work on -CURRENT code, if you need to test CURRENT, because the userland and kernel get installed in the same spots. It's much wiser to just install CURRENT and STABLE on separate partitions / disks and work from there, if you don't have access to virtual machines. Thanks, now... what can I use as virtual machine?. I mean, I need something with write access to the virtual machine filesystem, to work on the -CURRENT code from -STABLE, I think that I will be losing time compiling editors (emacs) and user environments two times (Xorg, KDE, etc.). -Garrett [SNIP] Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd on FreeBSD-6.2
but when I try to mount the cd later, I'm unable to do it and the Input/Output error is thrown. Is there anything I'm missing? Is there any other way to burn the cd other than using cdrecord. There is something strange going on with burncd/cdrecord and mount. http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/145173.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: working on -CURRENT from -STABLE?
In the last episode (May 26), Daniel Molina Wegener said: On Saturday 26 May 2007 21:24:58 Garrett Cooper wrote: Daniel Molina Wegener wrote: Hello, How can I install -CURRENT from -STABLE and work on -CURRENT code from -STABLE? Regards, Simply put that's not possible to set it up and work on CURRENT -code, if you need to test CURRENT, because the userland and kernel get installed in the same spots. It's much wiser to just install CURRENT and STABLE on separate partitions / disks and work from there, if you don't have access to virtual machines. Thanks, now... what can I use as virtual machine?. I mean, I need something with write access to the virtual machine filesystem, to work on the -CURRENT code from -STABLE, I think that I will be losing time compiling editors (emacs) and user environments two times (Xorg, KDE, etc.). qemu works for me; you can NFS-mount host to guest and vice versa to manipulate files. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fix this: The Regents of the University of California. All rights reserved.
Hello! Is it possible to change: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fix this: The Regents of the University of California. All rights reserved.
Kyrre Nygård wrote: Hello! Is it possible to change: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no Now why would you want to do that? That's cutting FreeBSD totally out of the picture, which isn't correct since they're the copyright owners of the FreeBSD project from 1992 to today. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: working on -CURRENT from -STABLE?
Daniel Molina Wegener wrote: On Saturday 26 May 2007 21:24:58 Garrett Cooper wrote: Daniel Molina Wegener wrote: Hello, How can I install -CURRENT from -STABLE and work on -CURRENT code from -STABLE? Regards, Simply put that's not possible to set it up and work on -CURRENT code, if you need to test CURRENT, because the userland and kernel get installed in the same spots. It's much wiser to just install CURRENT and STABLE on separate partitions / disks and work from there, if you don't have access to virtual machines. Thanks, now... what can I use as virtual machine?. I mean, I need something with write access to the virtual machine filesystem, to work on the -CURRENT code from -STABLE, I think that I will be losing time compiling editors (emacs) and user environments two times (Xorg, KDE, etc.). -Garrett [SNIP] Regards, Yes, that's unfortunately true (about having to build things twice). Many people have had good luck with qemu, even though I haven't gotten it to work properly. Oh well, just might be me.. You should be able to setup fileserving across a virtual network though with NFS -- that should accomplish everything you want. Just make sure to unmount the shares before turning off the virtual machine or setup amd, or your host PC will hang while it's trying to access the share! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2007-05-06 - 2007-05-26
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on PPC (G4)
On 25/05/07, Norberto Meijome [EMAIL PROTECTED] wrote: On Fri, 25 May 2007 08:08:25 -0500 Jonathan Horne [EMAIL PROTECTED] wrote: forgive my foul language, but linux-ppc works like a charm. Thanks Jonathan :) well, it is what it is, nothing wrong in stating it :) have you tried NetBSD? I rather not stay too close to the penguin... again, this may be for the kids, so edubuntu may be worth a try. While NetBSD and FreeBSD share an ancestry (and still borrow from one another), at the admin level they are quite different. It's nearly as difficult a transition as learning Debian or Gentoo* weirdness. *Not really. /usr/ports and /usr/pkgsrc are both fairly like bolt-action rifles: simple and effective. portage is like SDI: it was really never going to work, but it scared the crap out of NPR and the Soviets. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]