Re: What am I not understanding about /etc/exports?
On Tue, 10 Apr 2007 21:50:26 +0400, Boris Samorodov wrote: On Tue, 10 Apr 2007 20:34:31 +0300 Giorgos Keramidas wrote: On 2007-04-10 08:55, David Benfell [EMAIL PROTECTED] wrote: Apr 10 08:28:59 earth mountd[739]: can't change attributes for /usr Apr 10 08:28:59 earth mountd[739]: bad exports list line /usr -alldirs -maproot Apr 10 08:28:59 earth mountd[739]: network/host conflict I've been here before; the FAQ says, The most frequent problem is not understanding the correct format of /etc/exports. Please review exports(5) and the NFS entry in the Handbook, especially the section on configuring NFS. Which leads me back to the original question. Here's the file: / -alldirs -maproot=root 127.0.0.1 #/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1 /usr -alldirs -maproot=root 127.0.0.1 192.168.19.1 /public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0 And: lupin% showmount -e earth.cybernude.org Exports list on earth.cybernude.org: /public127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /home 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 / 127.0.0.1 lupin% As you can see, there are serious discrepancies, here. And I cannot see where my syntax is correct on the lines in /etc/exports that work and incorrect on the lines which don't work. Hmmm, something odd is going on. Can you show us the output of the command: % cat -vte /etc/exports And: % df as well. On the server: earth% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 62963306 16456346 4146989628%/ devfs 110 100%/dev /dev/ad0s1d 62963306 208880 57717362 0%/var/db /dev/ad2s1d 76168552 48096588 2197848069%/home /dev/ad3s1d 81221264 7472352 0%/rvm/data /dev/ad3s1e 10129744 931934 0%/rvm/log /dev/ad3s1f 266573564 24524764 0%/vicepa /dev/ad2s1e 75200072 2518722 5346 4%/public /dev/ad0s1e 63274730 6595650 5161710211%/reserve linprocfs 440 100%/usr/compat/linux/proc (sfs) 000 100%/sfs (sfswait) 000 100%. /dev/cd0 143168 1431680 100%/cdrom On the client: lupin% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 507630 3981166890485%/ devfs110 100%/dev /dev/ad0s1e 507630 284 466736 0%/tmp /dev/ad0s1f 31283108 7822324 2095813627%/usr /dev/ad0s1d252516674342 2248812 3%/var 192.168.19.243:/home 76168552 48096604 2197846469%/home linprocfs440 100% /usr/compat/linux/proc I considered the possibility that /usr/compat/linux/proc might be a problem *on the client*, but umounting it there made no difference. I'm assuming it can't make any difference on the server side, and I had previously tried a more specific directory--/usr/ports--with the same result. What I would realoly like to do is share /usr/src--if that won't screw up a buildworld--and /usr/ports/distfiles; I'm assuming sharing more could create problems. Thanks! 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] -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgporXjTjnDCW.pgp Description: PGP signature
gmirror device numbers
Hello! I have a server with gmirror volumes. Backup of this server is being done with Amanda, which uses GNU tar and its --listed-incremental option (snapshot files) in order to do incremental backups. It seems that gmirror devices get a different 'device number' on each boot (each time the gmirror is created). Since the device number is stored in GNU tar's snapshot file, it effectively means that after rebooting GNU tar sees all files as having been changed since previous backup. This causes huge incremental backups. Is there a way to force a gmirror device to have a 'fixed' device number? -- Toomas Aas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
On Tue, Apr 10, 2007 at 11:09:46PM +0200, Tun Eler wrote: Hello, i was trying to mount an external HDD in my machine running FBSD 6.2 RELEASE. I configured the kernel according to the Handbook and pluged the exernal HD. Then i typed (starting with # are my commands, otherwise output): # dmesg acpi_tz0: failed to set new freq, disabling passive cooling umass0: vendor 0x04b4 Cypress AT2LP RC7, rev 2.00/2.40, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: SAMSUNG SP2514N Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) # mount_msdosfs /dev/da0 /exthd mount_msdosfs: /dev/da0: Invalid argument Don't mount the disk, use a partition. # mount_msdosfs /dev/da0s1 /exthd mount_msdosfs: /dev/da0s1: Invalid argument This should be allright. # dmesg mountmsdosfs(): bad FAT32 filesystem mountmsdosfs(): bad FAT32 filesystem Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' 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) pgpCDfGCzaukR.pgp Description: PGP signature
Proper list server? (was Re: Automatic means for spinning down disks available?)
On Wednesday 11 April 2007 05:12, L Goodwin wrote: For starters, how about getting this mail group on a proper list server? I'll gladly help if there is anything I can do other than get in the way... I normally try not to be rude, but... what on Earth are you talking about? What is it about a Mailman installation on a host within the freebsd.org domain that renders it less than proper? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What am I not understanding about /etc/exports?
On Tue, 10 Apr 2007 23:11:32 -0700 David Benfell wrote: On Tue, 10 Apr 2007 21:50:26 +0400, Boris Samorodov wrote: On Tue, 10 Apr 2007 20:34:31 +0300 Giorgos Keramidas wrote: On 2007-04-10 08:55, David Benfell [EMAIL PROTECTED] wrote: Apr 10 08:28:59 earth mountd[739]: can't change attributes for /usr Apr 10 08:28:59 earth mountd[739]: bad exports list line /usr -alldirs -maproot Apr 10 08:28:59 earth mountd[739]: network/host conflict I've been here before; the FAQ says, The most frequent problem is not understanding the correct format of /etc/exports. Please review exports(5) and the NFS entry in the Handbook, especially the section on configuring NFS. Which leads me back to the original question. Here's the file: / -alldirs -maproot=root 127.0.0.1 ^^ [1] #/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1 /usr -alldirs -maproot=root 127.0.0.1 192.168.19.1 ^^ [1] /public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0 And: lupin% showmount -e earth.cybernude.org Exports list on earth.cybernude.org: /public127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /home 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 / 127.0.0.1 lupin% As you can see, there are serious discrepancies, here. And I cannot see where my syntax is correct on the lines in /etc/exports that work and incorrect on the lines which don't work. Hmmm, something odd is going on. Can you show us the output of the command: % cat -vte /etc/exports And: % df as well. On the server: earth% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 62963306 16456346 4146989628%/ So, / and /usr are parts of one slice. That's the problem [1]. One can have only one line per slice at /etc/exports. devfs 110 100%/dev /dev/ad0s1d 62963306 208880 57717362 0%/var/db /dev/ad2s1d 76168552 48096588 2197848069%/home /dev/ad3s1d 81221264 7472352 0%/rvm/data /dev/ad3s1e 10129744 931934 0%/rvm/log /dev/ad3s1f 266573564 24524764 0%/vicepa /dev/ad2s1e 75200072 2518722 5346 4%/public /dev/ad0s1e 63274730 6595650 5161710211%/reserve linprocfs 440 100%/usr/compat/linux/proc (sfs) 000 100%/sfs (sfswait) 000 100%. /dev/cd0 143168 1431680 100%/cdrom On the client: lupin% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 507630 3981166890485%/ devfs110 100%/dev /dev/ad0s1e 507630 284 466736 0%/tmp /dev/ad0s1f 31283108 7822324 2095813627%/usr /dev/ad0s1d252516674342 2248812 3%/var 192.168.19.243:/home 76168552 48096604 2197846469%/home linprocfs440 100% /usr/compat/linux/proc I considered the possibility that /usr/compat/linux/proc might be a problem *on the client*, but umounting it there made no difference. I'm assuming it can't make any difference on the server side, and I had previously tried a more specific directory--/usr/ports--with the same result. What I would realoly like to do is share /usr/src--if that won't screw up a buildworld--and /usr/ports/distfiles; I'm assuming sharing more could create problems. 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: Append only directory ? Is this possible with unix permissions ?
Gore Jarold [EMAIL PROTECTED] wrote: I have a user whose home directory I would like to make append only. ... As someone else suggested, ACLs are likely the strongest way of handling this. On the other hand, if all that is needed is a way to make it a little tougher for said user to shoot him/herself in the foot, set noclobber in csh or tcsh might help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What am I not understanding about /etc/exports?
On Wed, 11 Apr 2007 11:30:37 +0400 Boris Samorodov wrote: earth% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 62963306 16456346 4146989628%/ So, / and /usr are parts of one slice. That's the problem [1]. One can have only one line per slice at /etc/exports. Sorry, not per slice but per filesystem. I.e. you should use one line per directories located at /dev/ad0s1a, etc. devfs 110 100%/dev /dev/ad0s1d 62963306 208880 57717362 0%/var/db /dev/ad2s1d 76168552 48096588 2197848069%/home /dev/ad3s1d 81221264 7472352 0%/rvm/data /dev/ad3s1e 10129744 931934 0%/rvm/log /dev/ad3s1f 266573564 24524764 0%/vicepa /dev/ad2s1e 75200072 2518722 5346 4%/public /dev/ad0s1e 63274730 6595650 5161710211%/reserve linprocfs 440 100%/usr/compat/linux/proc (sfs) 000 100%/sfs (sfswait) 000 100%. /dev/cd0 143168 1431680 100%/cdrom 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: Motherboard Chipset Support List
[EMAIL PROTECTED] wrote: On Tue, 10 Apr 2007, Sean Murphy wrote: I am having troubling installing FreeBSD 6.2 Release on and Intel DG965OT http://www.intel.com/products/motherboard/DG965OT/index.htm Which uses the Intel® G965 Chipset I have checked under the following link but it does not mention support for specific motherboards or chipsets. I realize that listing motherboards would be to exhaustive but chipsets maybe would be more of a limited scope. http://www.freebsd.org/releases/6.2R/hardware-i386.html Does FreeBSD provide a list for Chipsets? Is there a man page I can look at like the other drivers listed on that page have man pages except for Chipsets? Thanks Sean, G965 is a recent chipset, so I suggest that you download a snapshot build of the livecd and install using that. The snapshot folder is located at: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello Sean, I recently asked the same question at www.expert-exchange.com and the answer I received is that the board is supported. have a look at the product brief for the mother board http://www.intel.com/products/chipsets/g965/prod_brief.pdf it says the the I/O controller hub is an ICH8 and the FreeBSD 6.2 release notes for the ata(4) driver http://www.freebsd.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+6.2-RELEASE I am still learning myself how to understand the release notes. Ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locking SSH Users to $HOME
L33T Networks wrote: Using the SSHD server, how can I lock users SSH'ing into a box into their home directory, without having access to the /usr/home directory as a whole? You might setup 700 rights for the home directories, then the users won't see each other's files. Is it what you want? If you want to hide all directories, except their homes, then you are in trouble. There are some essential files needed to run a shell. I'm not sure, but you might be able to use a special shell that does chroot and makes / the home directory? If you do not want them to run programs, just access their files over SSH/SCP, then the scponlyc port can be a good solution for you. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locking SSH Users to $HOME
On Wed, Apr 11, 2007 at 10:22:19AM +0200, Nagy László Zsolt wrote: L33T Networks wrote: Using the SSHD server, how can I lock users SSH'ing into a box into their home directory, without having access to the /usr/home directory as a whole? You could set them up with a restricted shell. Use e.g. 'bash -r' or the equivalent 'rbash'. See the RESTRICTED SHELL section in the bash manual to understand what it does. 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) pgpsvZpYySqgS.pgp Description: PGP signature
Re: Debugging FreeBSD
If replying to a topic discussed on the list, please make sure to reply to all. There are many talented people out there, having much more knowledge of BSD specific things than I do. On 11/04/07, Dhananjaya hiremath [EMAIL PROTECTED] wrote: Hello sir, Now I landed error with how to debugg the installed packages and ports and how to get the CVS and packages like python and samba are giving error code as -1 while installing for that what we can do for it. If you have problems with installing ports, I'd suggest you read the error message carefully. I've never seen an error message that doesn't make sense. If you need help, copy the last part of the output, paste it into a mail, and send it to the list. Important: Make sure that you describe what port you're trying to install, and that you really paste some output, e.g. starting with some of the last lines of the compiler, including all lines up to the first shell prompt. Since the port systems takes care of dependencies, it's highly likely that some requirements are built first, and that this is is just one port that fails. This would result in several error messages - one for the port that failed originally, and one message for every port up to the original port you wanted to install. Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locking SSH Users to $HOME
L33T Networks wrote: Using the SSHD server, how can I lock users SSH'ing into a box into their home directory, without having access to the /usr/home directory as a whole? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What about creating a jail? Whis wikipedia article explains it ; http://en.wikipedia.org/wiki/Freebsd_jail Cheers, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Forbidding or not access to webpages of network users
Hi all in this list I want to know if there is a way to forbid to network users the access to fixed webpages. The example, I work in an enterprise in which several users are accesing to webpages others than the enterprise's own. I want that the users can only access to the the webpages and services of the enterprise, but also that 2 PC can access everywhere (the boss ones). Can I make it with FreeBSD? How? I have read the Firewall handbook pages, but i don't know exactly if i can do it with PF, IPF or IPFW (or something else). (examples?) My users are W2K. On the otherhand, I think this is a common problem, isn't it? ;D Thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
On Tue, 10 Apr 2007 21:06:15 -0400 Jules Gilbert [EMAIL PROTECTED] wrote: Boy, do I want answers too! We have HD's that run 24X7. And I don't want to turn them off, I just want them to sleep quietly until needed. We have lot's of RAM, thus plenty of cache space. Our machines are all blades. (Does this matter? I don't know.) IBMs and Super-Micros. We spend zillions of bucks on electricity; We use these machines 24X7 now, but soon will only need them about 12 hours a day. Is 24X7 operation the optimal strategy? What's the best course here, wrt electric costs, and wrt disk failures? That's the point! Electric costs vs failures. If financial side is the interest, - obvioulsy statistics and calculator. My original question sounded like what's the safest way. Let's see: An HD in full operation get definitely hot and hence (evidently) consuming power. And then it turns to sleeping mode and becomes cooler... cooler... Then (maybe) this process repeats all the time. Despite even cold turning on stresses these permanent temperature differences can't be good. Conclusion might be like this: If one has certain amount of trusted drives and they are expected to sleep reasonable time only a few times a day then one should save energy, thinking of tuning wakeups and regular backup. The same with stations that rarely use HDs and/or do their stuff (if any) using only RAM. If a machine is under constant load, or expected to wake up once per several hours it's better to leave it all in peace :). It seems somewhat hard to estimate sleeping periods accurately in this case. And even huge cache can be a reason for unexpected need in accessing a bit of disk data. As Gary Kline said, slowing down drives could be a good idea in some circumstances. There are so many user desktops running only a text processor and... heating the air! What for? And there is more to it, these desktops are everywhere and all of them together burn too much more energy resources than server and development installations, like ones, I hope, we are talking about. And I think that stability of latter ones is a concern (to serve the rest of production teapots). Finally, if one is using (it's highly encouraged!) FreeBSD at home to do all sort of things, let's experiment with power savings too! Because the feature must retain in OS and improve with overall experience and support. - Yuri --jg On Apr 8, 2007, at 2:10 PM, Yuri Grebenkin wrote: Just wonder if it's better for an HDD not to spindown at all. Maybe it's safer to spin in peace than to park/launch? What do you think? Hello again all, I was wondering if there was an automatic, and possibly timed means to spin down disks available in either ports or the base system, by chance. Just trying to cut down on energy use, and increase my disks' lives :). TIA, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ 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]
do i have to use all the security bulletins ?
Hello, Im a newbie on Freebsd. I have read a lot but i can't find if a must do the security patches on my system. I did a ftp install yesterday. I hope someone can help me. Regards, Roelof _ De nieuwe Hotmail: Mis het niet en profiteer direct van de voordelen! http://get.live.com/mail/overview ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about FreeBSD debugging
Hi, I installed the FreeBSD but some of its packages are not working. For that we have to check debugging option.Please can u tell me how to debug. I dont know any thing about debugging Thank U Regards Dhananjaya Hiremath - We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing the CVS
Hello sir, Please specifies how to get the CVS to FreeBSD.And some packages are not installing lile( samba,python etc) It is giving the error so how we can install this one. Thank U Dhananjaya Hiremath - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Terabyte harddisks, GELI, AMD64, Samba and Zen...
Solon Luigi Lutz wrote: ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 1000 37922 31.5 48829 12.0 23827 5.0 30054 36.0 43666 6.0 1120.0 2.5 Interesting - your CPU doesn't look overwhelmed much. But I have not been able to get more than 17 MB/s when using Samba to transfer data - FTP maxes out around 27 MB/s. I also tried that on i386 32-bit and found it to be 8 MB/s and 17 MB/s - not good, but nothing to worry. What made me feel really uncomfortable was the fact, that just some minutes ago some 3000 1GB files suddenly disappeared while working in a directory. They where gone, but the filesystem did not report some additional 3TB to be free and after unmounting and remounting the filesystem the files were back where the belonged... This just happened some minutes later again, now with only 2500 files dis- and -reappearing again. This can mean either file system corruption (which fsck fixed on boot?), a bug (read cache bug, where the memory representation of the directory doesn't agree with on-disk state) or a hardware memory error. Of these, hardware errors are easiest to check in your case. Download a memtest86 boot CD ISO, burn it and let it run for a few hours. Next, you can try a full fsck, which would probably a few last days on such a big array (big arrays are inconvenient to have without journaling). If both fail, we may look for a bug somewhere. Questions until now: 1. 10TB as a single volume, too big for good? (fsck time: 30 min with softupdates) Yes, too big. Softupdates doesn't even do a full fsck - if you tried a full fsck it will require about a dozen GB of memory (or memory+swap) and take a really long time. If you're not scared of it, you should run 7-current and re-create the file system with gjournal, or even ZFS. 2. GELI unstable on big disks and/or AMD64? You're the first to complain :) 3. Why is Samba so slow? Search Google... Samba is notoriously slow on FreeBSD, but there are few ways to tune it which will help. 4. Does the crypto-framwork gain speed advantages from dual-core CPUs? No, and the same goes for most GEOM classes. 5. Will the GPT-stuff change over the next releases in a way I need to do DUMP/RESTORE? I don't think so, except if someone discovers an incompatibility in the way FreeBSD handles GPT wrt other OSs. Shouldn't happen. signature.asc Description: OpenPGP digital signature
Re: do i have to use all the security bulletins ?
On 4/11/07, Roelof Wobben [EMAIL PROTECTED] wrote: Hello, Im a newbie on Freebsd. I have read a lot but i can't find if a must do the security patches on my system. I did a ftp install yesterday. I hope someone can help me. # freebsd-update fetch # freebsd-update install # shutdown -r now ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Harddisk problem
Hi, Got a brand new Samsung 250 GB IDE harddisk, added it to my home PC running FreeBSD 5.3, created FreeBSD filesystem there. I have been using it for several months, keeping relatively large (5-10 GB) home video files there, and it has been working fine. But now suddenly got the following problem: pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# fsck -f /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, PARTIALLY TRUNCATED INODE I=4498435 SALVAGE? [yn] y INCORRECT BLOCK COUNT I=4498438 (673600 should be 667584) CORRECT? [yn] y INCORRECT BLOCK COUNT I=4498439 (467936 should be 459392) CORRECT? [yn] y INCORRECT BLOCK COUNT I=19595269 (838304 should be 829248) CORRECT? [yn] y PARTIALLY TRUNCATED INODE I=20843652 SALVAGE? [yn] y ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y SUMMARY INFORMATION BAD SALVAGE? [yn] y BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] y 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * FILE SYSTEM WAS MODIFIED * * PLEASE RERUN FSCK * pepe# fsck -f -y /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * PLEASE RERUN FSCK * pepe# fsck -f -y /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * PLEASE RERUN FSCK * pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error I'm not yet very familiar with harddisks, filesystems, and FreeBSD, but is there anything else i could try to make the disk usable again, or is it somehow physically damaged? -taavi k6ps tänavsuu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
do i have to use all the security bulletins ?
Hello, Thank you for your help but when i do : # bsd-update fetch I get unknown command error message Regards, Roelof _ De nieuwe Hotmail: Mis het niet en profiteer direct van de voordelen! http://get.live.com/mail/overview ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do i have to use all the security bulletins ?
Roelof Wobben wrote: Hello, Thank you for your help but when i do : # bsd-update fetch I get unknown command error message that was freebsd-update regards, Vince Regards, Roelof _ De nieuwe Hotmail: Mis het niet en profiteer direct van de voordelen! http://get.live.com/mail/overview ___ 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]
Re: Forbidding or not access to webpages of network users
DSA - JCR wrote: Hi all in this list I want to know if there is a way to forbid to network users the access to fixed webpages. Possibly. The example, I work in an enterprise in which several users are accesing to webpages others than the enterprise's own. I want that the users can only access to the the webpages and services of the enterprise, but also that 2 PC can access everywhere (the boss ones). Can I make it with FreeBSD? How? I have read the Firewall handbook pages, but i don't know exactly if i can do it with PF, IPF or IPFW (or something else). (examples?) A common solution is to install a proxy server (such as Squid [/usr/ports/www/squid]) and set the firewall to not allow traffic from any machines out to the WWW except the proxy server. Squid can utilize Access Control Lists; here's a statement from my squid.conf: acl banned_sites url_regex -i /etc/banned/porn http_access deny banned_sites acl banned_sites2 url_regex -i /etc/banned/games http_access deny banned_sites2 You can also have an allow only list and deny all other requests. My users are W2K. On the otherhand, I think this is a common problem, isn't it? ;D For many people, yes. Kevin Kinsey -- Rules for Academic Deans: (1) HIDE (2) If they find you, LIE -- Father Damian C. Fandal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Harddisk problem
Taavi Tänavsuu wrote: Hi, Got a brand new Samsung 250 GB IDE harddisk, added it to my home PC running FreeBSD 5.3, created FreeBSD filesystem there. I have been using it for several months, keeping relatively large (5-10 GB) home video files there, and it has been working fine. But now suddenly got the following problem: pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# fsck -f /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, PARTIALLY TRUNCATED INODE I=4498435 SALVAGE? [yn] y INCORRECT BLOCK COUNT I=4498438 (673600 should be 667584) CORRECT? [yn] y INCORRECT BLOCK COUNT I=4498439 (467936 should be 459392) CORRECT? [yn] y INCORRECT BLOCK COUNT I=19595269 (838304 should be 829248) CORRECT? [yn] y PARTIALLY TRUNCATED INODE I=20843652 SALVAGE? [yn] y ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y SUMMARY INFORMATION BAD SALVAGE? [yn] y BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] y 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * FILE SYSTEM WAS MODIFIED * * PLEASE RERUN FSCK * pepe# fsck -f -y /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * PLEASE RERUN FSCK * pepe# fsck -f -y /dev/ad3s1d ** /dev/ad3s1d ** Last Mounted on /mnt/suur_ketas ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups CANNOT READ BLK: 51184064 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 51184077, 51184080, 160 files, 53062183 used, 65193686 free (78 frags, 8149201 blocks, 0.0%fragmentation) * FILE SYSTEM STILL DIRTY * * PLEASE RERUN FSCK * pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error pepe# mount /dev/ad3s1d /mnt/suur_ketas/ mount: /dev/ad3s1d: Input/output error I'm not yet very familiar with harddisks, filesystems, and FreeBSD, but is there anything else i could try to make the disk usable again, or is it somehow physically damaged? -taavi k6ps tänavsuu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] . Taavi, I'm not an expert but the smartmontools port may help, I am installing it now to keep me informed of hdd status. I can remember reading in the documentation about repairing drives. http://smartmontools.sourceforge.net/ http://www.linuxjournal.com/article/6983 I hope this helps in some way, Ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Harddisk problem
Taavi Tänavsuu wrote: I'm not yet very familiar with harddisks, filesystems, and FreeBSD, but is there anything else i could try to make the disk usable again, or is it somehow physically damaged? There are two possibilities: 1) The disk is damaged. From your output that's what I'd think. Download the Samsung diagnostics for your disk and try them. If the disk fails those, then you should be able to get a warranty replacement. Before that, you could try installing the smartmontools port and running smartctl -a /dev/{your disk}. That will tell you if the disk itself thinks it is dying. 2) But before you do any of that, try changing the cable that connects your disk. It may be as simple as that, but your errors are a bit too specific for me to believe this is the problem. After changing the cable try your fsck again. But really, this looks like a long shot. 3) Before any of those things, copy your files somewhere else, if you can. Dying disks often get worse. Not quite sure how you'll manage that given that you don't seem to be able to mount the disk. Maybe someone here will have an idea. Something with dd ought to work, if you have somewhere to dd to. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No CD/DVD devices found after booting from FreeBSD 6.2 CD 1
Good morning, I am attempting to install FreeBSD 6.2-RELEASE on a Dell Dimension C521n (no Windows pre-installed) with a Sony model DDU1615S CD/DVD drive as the chosen boot media. Booting from the CD shows that the CD drive shows up as cd, and after doing the fdisk/disklabel stuff, trying to choose the CD drive as the chosen boot media gives me an error window with the message No CD/DVD devices found. I would include a dmesg output if I knew how to get to it during an install. Why can't FreeBSD see the CD drive after sysinstall starts when it can clearly see it before sysinstall starts? Thanks in advance, -- Isaac Grover, Owner Quality Computer Services of River Falls, Wisconsin Affordable I. T. Consulting, Web Design, and Web Hosting. Commercial and Residential Inquiries Welcomed. Web: http://www.qcs-rf.com Did you get the Fall 2006 Nibbles-n-Bits newsletter yet? Download it here: http://www.qcs-rf.com/newsletters/nibbles-n-bits-fall2006.pdf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot failure after installation
On Tue, Apr 10, 2007 at 07:48:07PM -0700, L Goodwin wrote: Is there a way to run the FDISK tool outside of the freebds installer? How do I change the disk configuration without reinstalling freebsd every @[EMAIL PROTECTED] time? Yes, all sysinstall does is collect the information and run fdisk for you. See the man page (enter man fdisk ) It can be a little hard to read at first. The fdisk and bsdlabel don't follow the normal man page form. One thing you must know; you cannot run fdisk on a drive that is in active use. If you booted from that drive or if you are CD-ed in to a file system on the drive, the system will not let you write to the drive using fdisk. You can only use fdisk to read the slice table and run prototype setups that do not actually write out to the disk. Trying to write to a drive that is active is a very popular mistake when attempting to use fdisk. So, read the fdisk man page and then come back with some more specific questions if you need. I really want to set up a FreeBSD server and appreciate the learning experience, but it's way past the point where I should have switched to an OS that will actually run on my client's server. If I don't get it going tonight, I'm going to install the first Linux distribution that says Hey, Sailor... =8-0 Guess you will need to follow the installation instructions in the FreeBSD handbook more carefully. BTW, I burned a freeSBIE 2.0.1 Live CD, but have no idea what to do with it. Yes, I am pathetically clueless. Thanks for your patience! Just boot it up and run it.It will give you a very basic working environment.Then do something like you might in a UNIX system, like ls or cd or df or whatever. Derek Ragona [EMAIL PROTECTED] wrote: One other thing that might be happening is if the geometry of the drive isn't allowing an extended translation because of the age of your hardware, you may need to keep the boot partition, that is the entire boot partition (not talking slices here) within the first 1024 cylinders. In the partition tool in sysinstall you can change the display to show different units, and one of those will be cylinders. The 1024 cylinder limit is from older BIOS translations and if the boot partition extended beyond 1024 the system will give that same error you are getting. If the machine is built any less than about 11 years ago, this doesn't apply. With older hardware you may need to use multiple partitions instead of slices. You can have 4 partitons on a drive (4 is hardcoded in the partition table size and a location) so you can add additional partitions for swap and /usr if you want. Any partitions you use for filesystems like /usr the boot manager will see and offer to boot them. They won't boot of course. Swap partitions are ignored by the boot manager. This is mostly incorrect and even backwards. First of all, there are 4 slices possible on a drive (or raid set for all that matters). Microsoft tends to call slices Primary Partitions. Slices are created and managed by the fdisk utility. Fdisk also writes the Master Boot Record (MBR) (but not the boot sector). In FreeBSD you can divide each slice up in to partitions which are identified as a..h, although 'c' is reserved. These partitions are created and managed by the FreeBSD bsdlabel utility (or disklabel in older versions). Bsdlabel also writes the boot sector. Otherwise, I'd suspect it is a problem with the 6.2 you are using then. If you try with a boot within the 1024 (I wouldn't push that to the limit I'd say try like 950 cylinders) then I would try an earlier version such as 6.1 or 6.0. The whole issue of 1024 cylinders limit for bootable file systems went away with improved BIOS about 11 years ago. If you have a system old enough to have the problem, you should be updating the BIOS rather than trying to accomodate the limit. jerry -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. - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. ___ 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]
Re: Locking SSH Users to $HOME
Using the SSHD server, how can I lock users SSH'ing into a box into their home directory, without having access to the /usr/home directory as a whole? You can try to use the security/ssh2 port to replace the base system's sshd(8). This version of ssh supports additional chroot configuration options which lets you do exactly what you're looking for. Here's a link to the port: http://www.freebsd.org/cgi/url.cgi?ports/security/ssh2/pkg-descr Here's an article which shows you how to do what your looking for: http://freebsdrocks.net/index.php?option=com_contenttask=viewid=51Itemid=1 Have fun, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about the /etc/hosts file
At 07:54 PM 4/10/2007, RW wrote: On Tue, 10 Apr 2007 15:52:43 -0500 Derek Ragona [EMAIL PROTECTED] wrote: At 03:48 PM 4/10/2007, L33T Networks wrote: What is the second line with 10.20.30.199, and the hostname ends in a period? I've never seen this in a host file previous to FBSD v.6. apollo# cat /etc/hosts #::1localhost.mydomain.com localhost 127.0.0.1 localhost.mydomain.com localhost 10.20.30.199apollo.mydomain.com apollo 10.20.30.199apollo.mydomain.com. Is this something that's required for other IP addresses that will be added to the hosts file in the future? Names ending in a dot represent the fully qualified domain name. You do it all on one line but it gets too long to easily see and edit. But that doesn't explain why apollo.mydomain.com. appears as both a FQDN and a PQDN Actually it does. The partial names are shortcut aliases for that name. On this system you can do things like: ping apollo ping apollo.mydomain.com ping apollo.mydomain.com. So can any of the network services. Just makes it easier for us humans. As names are just used so us humans don't need to memorize IP addresses. -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: do i have to use all the security bulletins ?
What version of FreeBSD are you running? freebsd-update was only introduced in 6.1 if i remember rightly. If you dont have it, its worth installing all the security updates by hand if they are for services you use. I'm re-including the list since there are plenty more people who can help there :) Vince Roelof Wobben wrote: oeps, a typo. I ment : freebsd-update Regards, Roelof From: Vince [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: do i have to use all the security bulletins ? Date: Wed, 11 Apr 2007 13:39:13 +0100 Roelof Wobben wrote: Hello, Thank you for your help but when i do : # bsd-update fetch I get unknown command error message that was freebsd-update regards, Vince Regards, Roelof _ De nieuwe Hotmail: Mis het niet en profiteer direct van de voordelen! http://get.live.com/mail/overview ___ 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] _ Windows Live Hotmail: Slim - Persoonlijk - Betrouwbaar en GRATIS! http://get.live.com/mail/overview ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1 244196000 39178084 205017916 16% /exthd !!! coool !!! Thanks ... -- ___ Get your free email from http://bsdmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing the CVS
Dhananjaya hiremath wrote: Hello sir, Please specifies how to get the CVS to FreeBSD.And some packages are not CVS is a part of FreeBSD and it's always installed. installing lile( samba,python etc) It is giving the error so how we can install this one. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html signature.asc Description: OpenPGP digital signature
Re: awk question
At 07:43 PM 4/10/2007, Gary Kline wrote: On Tue, Apr 10, 2007 at 06:35:33PM -0500, Derek Ragona wrote: At 06:17 PM 4/10/2007, Gary Kline wrote: On Mon, Apr 09, 2007 at 06:54:07PM -0700, Rick Olson wrote: I'm assuming you've already taken care of this, but to answer your original question in AWK form, you could have done the following: ls -l | awk '$8 == 2006 {system(rm $9)}' i'Ll save your snippet to my growing %%% awk file in my ~/HowTo, thankee much. I'm in the first stages on a months-long trial on system tuning. This, before I'd risk publishing anything. So far tho, by upping and lower the NICE prio of various binaries, I have been able to get more than 70% efficient use out of my older servers. ---This *ought* to carry over to my faster machines Is tthere a way of using ps -alx | ask to look at nice and if it is non-zero (the default), to reset it to zero? You can easily do some of this using top, such as: top -bS 200 | tail -n +9 | awk '{ print $5 }' If you want to tweak the nice value you'd need to examine the value and then renice it as long as you are root. You'd need the PID for that, so here's another example: top -bS 200 | tail -n +9 | awk '{ printf(Pid: %d has Nice: %d\n, $1,$5) }' Well, I knew there had to be a static way to read top. -bS is it. If NICE is 9, then renice-n -9 pid ought to reset it to 0; so in C, the check for nice or n would be trivial: if (n != 0) n = -n; In you example, would this be if ($1 != 0) $1 = -$1; then a '{system(renice -n $)}; or is this disallowed in awk? gary It is easier to redirect the output to a file then just execute that file. You'd usually have this in a shell script run by cron. top -bS 200 | tail -n +9 | awk '{ if ($1 != 0) printf(/usr/bin/renice %d %d\n, $1,-$5) }' /tmp/renice.scr sh -c /tmp/renice.scr But look at the file generated, you need to do more than just the check for 0 and then negate it. -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: mounting an external Hard Drive
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1 244196000 39178084 205017916 16% /exthd !!! coool !!! Thanks .. -- ___ Get your free email from http://bsdmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1
At 08:07 AM 4/11/2007, Isaac Grover wrote: Good morning, I am attempting to install FreeBSD 6.2-RELEASE on a Dell Dimension C521n (no Windows pre-installed) with a Sony model DDU1615S CD/DVD drive as the chosen boot media. Booting from the CD shows that the CD drive shows up as cd, and after doing the fdisk/disklabel stuff, trying to choose the CD drive as the chosen boot media gives me an error window with the message No CD/DVD devices found. I would include a dmesg output if I knew how to get to it during an install. Why can't FreeBSD see the CD drive after sysinstall starts when it can clearly see it before sysinstall starts? Thanks in advance, -- Isaac Grover, Owner Quality Computer Services of River Falls, Wisconsin Affordable I. T. Consulting, Web Design, and Web Hosting. Commercial and Residential Inquiries Welcomed. Web: http://www.qcs-rf.com What interface is the CD drive on? what interface is the hard drive using? Which version of FreeBSD are you installing i386 or amd64? -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: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1
Isaac Grover wrote: Good morning, I am attempting to install FreeBSD 6.2-RELEASE on a Dell Dimension C521n (no Windows pre-installed) with a Sony model DDU1615S CD/DVD drive as the chosen boot media. Booting from the CD shows that the CD drive shows up as cd, and after doing the fdisk/disklabel stuff, trying to choose the CD drive as the chosen boot media gives me an error window with the message No CD/DVD devices found. I would include a dmesg output if I knew how to get to it during an install. You may scroll back (with ScrollLock key) and see if it's detected. Why can't FreeBSD see the CD drive after sysinstall starts when it can clearly see it before sysinstall starts? Because before it starts it relies on BIOS to provide services (in 16-bit x86 mode), but after the kernel starts, it must use its own drivers (32-bit or 64-bit, depending on your choice) and it seems it doesn't have the right drivers. Most CD/DVD drives are standard and register as ATA or SCSI drives but, as you see now, there are those that require special support. signature.asc Description: OpenPGP digital signature
sysctl invalid argument
Hi list, When reading through my dmesg, I found this sysctl error/message : sysctl : hw.acpi.cpu.cx_lowest : Invalid argument. Now there is no mention what so ever of that option in my /etc/sysctl.conf, so I didn't set it to C1 or anything else that seems to be invalid. So my question is : why (and where) is it set 2 times and why is it the second time with an invalid argument ? Neither the C1 nor the invalid argument seems to be doing any harm to the (good) workings of the system... System : [EMAIL PROTECTED] ~]$ uname -a FreeBSD www.brinckman.info 6.2-STABLE FreeBSD 6.2-STABLE #37: Fri Mar 30 18:41:46 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BENI-60 i386 [EMAIL PROTECTED] ~]$ [...] pf enabled Additional routing options: . Starting devd. Configuring keyboard: . Starting ums0 moused: . hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest : Invalid argument Mounting NFS file systems: [...] Thanks, Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
test
-- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
test
-- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What am I not understanding about /etc/exports?
On Wed, 11 Apr 2007 12:04:15 +0400, Boris Samorodov wrote: On Wed, 11 Apr 2007 11:30:37 +0400 Boris Samorodov wrote: earth% df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 62963306 16456346 4146989628%/ So, / and /usr are parts of one slice. That's the problem [1]. One can have only one line per slice at /etc/exports. Sorry, not per slice but per filesystem. I.e. you should use one line per directories located at /dev/ad0s1a, etc. Okay, success! Thanks! It took several tries to get it quite right, with several reboots of *both* systems; I guess there's some handshaking that is tenuous rather than robust. The most recent version is: / -alldirs -maproot=root 127.0.0.1 192.168.19.1 66.93.170.243 #/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1 #/usr -alldirs -maproot=root 127.0.0.1 192.168.19.1 /public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1 /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0 I had to add 66.93.170.243, the external address of the system, because when I made the other change, I saw complaints from sfs stuff that I'd never gotten working. It is just possible we've now killed two birds with one stone. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpxiaYsco6go.pgp Description: PGP signature
Re: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1
Because before it starts it relies on BIOS to provide services (in 16-bit x86 mode), but after the kernel starts, it must use its own drivers (32-bit or 64-bit, depending on your choice) and it seems it doesn't have the right drivers. Most CD/DVD drives are standard and register as ATA or SCSI drives but, as you see now, there are those that require special support. It looks like the chipset on that particular Dell model is the NVIDIA nForce 430. Others have had success with that chipset, and even a similar Dell model according to this page: http://www.freebsd.org/platforms/amd64/motherboards.html You may want to try updating the BIOS. The entry for the Dell E521 mentions a BIOS update. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chroot/jail mechanism in ssh and sftp connections
Thanks for the suggestion. I intend to study about this possible solution but to save time I'd like to ask you some questions. With this software, can I control which accounts from the unix passwd file will be able to log in? If there is a symbolic link in the home directory(jail/chroot) that point to anywhere out of it, will the users be able to use this symlink? Will they go out from their jail/chroot directory this way? Derek Ragona wrote: At 10:28 AM 4/10/2007, Thiago Esteves de Oliveira wrote: Hello, I want to use the chroot/jail mechanism in user's ssh and sftp connections. I've read some tutorials and possible solutions to jail/chroot the users into their own home directories. One is to install the openssh-portable(with chroot option turned on) from the ports collection. I've installed the openssh-portable, but the jail/chroot mechanism didn't work. I think it requires some configuration in its sshd_config file, but I'm not sure because I have found nothing about jail/chroot in the openssh(sshd_config) man pages. I have implemented a similar setup using vsftpd from the ports. It works well for secure ftp when used with the filezilla client. You can limit the ftp command in the vsftpd configuration file so users cannot get out of their home directories, which chroots them there. You do need to add one thing to the accounts, which is to change their home directory in /etc/passwd adding an additional dot. For instance if a users home directory is: /home/user You'd need to change it to: /home/./user vsftpd is well documented and relatively easy to get setup and running. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysctl invalid argument
Beni wrote: Hi list, When reading through my dmesg, I found this sysctl error/message : sysctl : hw.acpi.cpu.cx_lowest : Invalid argument. Now there is no mention what so ever of that option in my /etc/sysctl.conf, so I didn't set it to C1 or anything else that seems to be invalid. So my question is : why (and where) is it set 2 times and why is it the second time with an invalid argument ? Neither the C1 nor the invalid argument seems to be doing any harm to the (good) workings of the system... Check /etc/defaults/rc.conf. HTH, Kevin Kinsey -- Few things are harder to put up with than the annoyance of a good example. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rm --clear-directory /home/me/another_dir
Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir rm * rm /home/me/another_dir/* // if cant traverse here But something that doesn't rely on the shell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chroot/jail mechanism in ssh and sftp connections
At 11:20 AM 4/11/2007, Thiago Esteves de Oliveira wrote: Thanks for the suggestion. I intend to study about this possible solution but to save time I'd like to ask you some questions. With this software, can I control which accounts from the unix passwd file will be able to log in? Yes just set the shell to a non-login shell for users you don't want to give shell access. Typically I set those user's shell to: /usr/bin/false If there is a symbolic link in the home directory(jail/chroot) that point to anywhere out of it, will the users be able to use this symlink? Will they go out from their jail/chroot directory this way? You can actually specify what ftp commands are allowed in the vsftpd.conf file in one server I manage I have set: cmds_allowed=PASV,RETR,QUIT,USER,PASS,STOR,CDDN,CWD,LIST,GET,PUT,DIR,PWD,SYST,LS,TYPE,DELE,FEAT,PBSZ,PROT But you'd probably want to remove any symlinks that shouldn't be there. Derek Ragona wrote: At 10:28 AM 4/10/2007, Thiago Esteves de Oliveira wrote: Hello, I want to use the chroot/jail mechanism in user's ssh and sftp connections. I've read some tutorials and possible solutions to jail/chroot the users into their own home directories. One is to install the openssh-portable(with chroot option turned on) from the ports collection. I've installed the openssh-portable, but the jail/chroot mechanism didn't work. I think it requires some configuration in its sshd_config file, but I'm not sure because I have found nothing about jail/chroot in the openssh(sshd_config) man pages. I have implemented a similar setup using vsftpd from the ports. It works well for secure ftp when used with the filezilla client. You can limit the ftp command in the vsftpd configuration file so users cannot get out of their home directories, which chroots them there. You do need to add one thing to the accounts, which is to change their home directory in /etc/passwd adding an additional dot. For instance if a users home directory is: /home/user You'd need to change it to: /home/./user vsftpd is well documented and relatively easy to get setup and running. -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: test
Please use the [EMAIL PROTECTED] mailing list for testing. It avoids spamming 1000s of inboxes with test messages. In response to Bill Hall [EMAIL PROTECTED]: -- Bill Hall Manager, Occupant Protection Program UNC Highway Safety Research Center 730 Martin Luther King Jr. Blvd., Suite 300 CB# 3430 Chapel Hill, NC 27599 919-962-8721 (Voice) 800-672-4527 (toll-free in NC) 919-962-8710 (fax) [EMAIL PROTECTED] http://www.hsrc.unc.edu http://www.buckleupnc.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rm --clear-directory /home/me/another_dir
On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir rm * rm /home/me/another_dir/* // if cant traverse here But something that doesn't rely on the shell. cd /some/dir find . -delete Cheers, Pieter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fetchmail checksum mismatch error
Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetchmail checksum mismatch error
At 11:50 AM 4/11/2007, Zbigniew Szalbot wrote: Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! -- Zbigniew Szalbot delete the downloaded bad file from /usr/ports/distfiles and then download a good file. -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: fetchmail checksum mismatch error
On Wed 11 Apr 2007 18:04, Zbigniew Szalbot wrote: Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! Remove the corrupted fetchmail file: rm -fr /usr/ports/distfiles/fetchmail* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetchmail checksum mismatch error
Zbigniew Szalbot wrote: Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! Possibly, delete the partially-downloaded fetchmail tarball in /usr/ports/distfiles and try again? HTH, Kevin Kinsey -- We are the people our parents warned us about. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
replacing failing drive
Hello, I've got a drive that i'm uncertain if it's failing. It is making an occational clicking noise, which is getting more frequent. I installed smartmontools and tried to start them, output below: #smartctl -a /dev/ad0 smartctl version 5.37 [i386-portbld-freebsd6.1] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. #/usr/local/etc/rc.d/smartd start Starting smartd. (pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 24 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 40 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout Does this mean this drive is failing? I've got another identical drive that i run smartd on and it doesn't have any issues picking up it's smart id or in running tests on it. This is on a 6.2 box. If this drive is failing i'd like to drop in another one with minimum downtime. Could someone check my procedure: 1. Install new drive as slave 2. Use sysinstall to partition the new drive (i only use a single partition) 3. Use sysinstall to create bsd labels and give them the same values as the master drive 4. Use sysinstall to install the boot manager on slave drive 5. Use dump/restore to copy all data on to the slave drive. 6. Power down the box, remove old master drive, set new drive to master, and reboot Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetchmail checksum mismatch error
Hello again, line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! delete the downloaded bad file from /usr/ports/distfiles and then download a good file. That was it! Folks - I just want to say that you are a very friendly and helpful community here. Thank you all very much! Warm regards, -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetchmail checksum mismatch error
O/H Zbigniew Szalbot έγραψε: Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! Make absolutely sure that there are no fetchmail instances delivering mail to your mail queue. Check your mail logs for this. When the traffic is stopped (daemon goes to sleep or all deliveries are done), make sure that fetchmail daemon is stopped (/usr/local/bin/fetchmail -q) or if it is run from cron, temporarily remove the entry. As a general rule of thumb, if a port download breaks at some point you should start over, but first you should clean up the mess. A make distclean and make clean inside the fetchmail port directory (/usr/ports/mail/fetchmail) will delete the half-downloaded file and clean up the work directory. The half-downloaded file is in /usr/ports/distfiles -- 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: replacing failing drive
Hi Dave, You could prepare the replacement drive offline and test it first, provided you have a generic kernel you can do this on any piece of hardware you have lying around. By the way there is no need to install anything, check out a previous answer I wrote, it's for changing RAID levels but the concept is pretty much the same : http://lists.freebsd.org/pipermail/freebsd-questions/2005-July/092529.html Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: April 11, 2007 7:02 PM To: freebsd-questions@freebsd.org Subject: replacing failing drive Hello, I've got a drive that i'm uncertain if it's failing. It is making an occational clicking noise, which is getting more frequent. I installed smartmontools and tried to start them, output below: #smartctl -a /dev/ad0 smartctl version 5.37 [i386-portbld-freebsd6.1] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. #/usr/local/etc/rc.d/smartd start Starting smartd. (pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 24 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 40 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout (pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass0:vpo0:0:5:0): CAM Status: Command timeout Does this mean this drive is failing? I've got another identical drive that i run smartd on and it doesn't have any issues picking up it's smart id or in running tests on it. This is on a 6.2 box. If this drive is failing i'd like to drop in another one with minimum downtime. Could someone check my procedure: 1. Install new drive as slave 2. Use sysinstall to partition the new drive (i only use a single partition) 3. Use sysinstall to create bsd labels and give them the same values as the master drive 4. Use sysinstall to install the boot manager on slave drive 5. Use dump/restore to copy all data on to the slave drive. 6. Power down the box, remove old master drive, set new drive to master, and reboot Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.2.0/756 - Release Date: 4/10/2007 10:44 PM -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.2.0/756 - Release Date: 04/10/2007 10:44 PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Error with make buildworld
Hello: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Frank Wissmann Sent: Tuesday, April 10, 2007 12:52 PM To: freebsd-questions@freebsd.org Subject: Error with make buildworld Hello all! I'm having serious trouble with getting my system up to date. I installed FreeBSD 6.2 as of January 13, 2007 and cvsup'ed it to the newest sources. When running make buildworld I got the error message which you can see below. This happened two or three times and always came the same error up. Though I'm not the greatest programmer I now seek help through the list. Are there any hints you can give? Greetings Frank This is from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 23.4.14.6. What do I do if something goes wrong? Make absolutely sure your environment has no extraneous cruft from earlier builds. This is simple enough. # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir Yes, make cleandir really should be run twice. Then restart the whole process, starting with make buildworld. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine on amd64
On 4/10/07, Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Apr 10, 2007 at 02:42:35PM +0200, Tijl Coosemans wrote: On Monday 09 April 2007 19:28:50 Kris Kennaway wrote: On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote: Why does the wine port complain that it will not build on my 6.2/amd64 machine? A quick search around winehq.com seems to indicate that the linux (kubuntu, debian) guys compile wine on their 64-bit platforms??? And you know how we *hate* to let them think they have something we bsd-ites do not ;) Extra patches, I guess. Why not look into it and see what needs to be added to our port? Wine runs win32 programs. It needs to be built as a 32bit program linked with 32bit libraries. The ports/package system can't handle 32bit code on amd64. Well it can, you just need to also have 32-bit versions of all the other ports too. It is true that no-one has really worked on this, but it's not technically difficult. Kris Is there already a means for building a particular port as 32 bits on a 64-bit machine? It seems that the infrastructure for having multiple versions of a particular port installed is already there. I know 6.2-64already has some 32-bit compatilibity infrastructure of some sort. As you say, it certainly doesn't seem beyond the realm of technical possibility. Since all my machines (even my crappy $400usd laptop) all have amd64 processors, why should I be locked into installing the x86 version just to run my CAD packages on wine? The qemu option sounds easy enough, but I moved to fbsd so I could ditch MS's unethical business practices and bugs - don't like the thought of installing it again on my pristine bsd server ;) Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
looking for something like an embedded ftp server
I've been given an old machine, and asked to turn it into an ftp server. It will got on its own IP, separate from the one our LAN uses. It will have three read-only users and maybe five read/write users. It will contain design data that we're transferring to the offices in China. That is, we will upload it from here in at the main office, and the China staff will download it to implement the little containers we're building. This does not need to be secure beyond password protection necessarily, though some sort of secure FTP would be fine. What I would really prefer is some sort of BSD based simple FTP server setup. I've found several BSD based router/firewall/whatever servers out there, such as m0n0wall and pfsense, among others, and I would like something that simple for an FTP server. That is, I want to be able to install the server and then only have to configure users, no mess with hardening things and setting up pf or so ... Does such a thing exist? Am I needlessly complicating things for myself in another way (often the case, I'm little more than a user when it comes to FreeBSD)? Any kind of guidance on this topic would be appreciated --- if what I want to do can be done with a custom install of FreeBSD, that'd be wonderful also. Thank you in advance for any guidance. Derrill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rm --clear-directory /home/me/another_dir
Pieter de Goeje wrote: On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir rm * rm /home/me/another_dir/* // if cant traverse here But something that doesn't rely on the shell. cd /some/dir find . -delete Cheers, Pieter Well, IMO, for aesthetical and logical purposes, /some/dir should point to the directory, and /some/dir/ should point to the inside of the directory (as in copy INTO or FROM). So: # cp /one /two/// this copies dir one into dir two, so there will be a dir named /one/two after this command # cp /one/ /two/ == Do you want to recursively overwrite contents of dir /two with the content of dir /one ? [n] y # cp /one /two == Do you want to recursively overwrite /two with /one ? [n] y # cp /one/ /two cp: error - overwrite a dir with some other contents? WTF? oh and of course: rm -R /dir// removes dir rm -R /dir/// clears dir How hard will it be to convince the developers to swich to this scheme? since all scripts will have to be reworked... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for something like an embedded ftp server
On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote: I've been given an old machine, and asked to turn it into an ftp server. It will got on its own IP, separate from the one our LAN uses. It will have three read-only users and maybe five read/write users. It will contain design data that we're transferring to the offices in China. That is, we will upload it from here in at the main office, and the China staff will download it to implement the little containers we're building. This does not need to be secure beyond password protection necessarily, though some sort of secure FTP would be fine. What I would really prefer is some sort of BSD based simple FTP server setup. I've found several BSD based router/firewall/whatever servers out there, such as m0n0wall and pfsense, among others, and I would like something that simple for an FTP server. That is, I want to be able to install the server and then only have to configure users, no mess with hardening things and setting up pf or so ... Does such a thing exist? Am I needlessly complicating things for myself in another way (often the case, I'm little more than a user when it comes to FreeBSD)? Any kind of guidance on this topic would be appreciated --- if what I want to do can be done with a custom install of FreeBSD, that'd be wonderful also. Thank you in advance for any guidance. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ftp.html David -- bureaucracy, n: A method for transforming energy into solid waste. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chroot/jail mechanism in ssh and sftp connections
Thanks, I think this is the solution for the sftp connections using jail/chroot mechanism. Derek Ragona wrote: At 11:20 AM 4/11/2007, Thiago Esteves de Oliveira wrote: Thanks for the suggestion. I intend to study about this possible solution but to save time I'd like to ask you some questions. With this software, can I control which accounts from the unix passwd file will be able to log in? Yes just set the shell to a non-login shell for users you don't want to give shell access. Typically I set those user's shell to: /usr/bin/false If there is a symbolic link in the home directory(jail/chroot) that points to anywhere out of it, will the users be able to use this symlink? Will they go out from their jail/chroot directory this way? You can actually specify what ftp commands are allowed in the vsftpd.conf file in one server I manage I have set: cmds_allowed=PASV,RETR,QUIT,USER,PASS,STOR,CDDN,CWD,LIST,GET,PUT,DIR,PWD,SYST,LS,TYPE,DELE,FEAT,PBSZ,PROT But you'd probably want to remove any symlinks that shouldn't be there. Derek Ragona wrote: At 10:28 AM 4/10/2007, Thiago Esteves de Oliveira wrote: Hello, I want to use the chroot/jail mechanism in user's ssh and sftp connections. I've read some tutorials and possible solutions to jail/chroot the users into their own home directories. One is to install the openssh-portable(with chroot option turned on) from the ports collection. I've installed the openssh-portable, but the jail/chroot mechanism didn't work. I think it requires some configuration in its sshd_config file, but I'm not sure because I have found nothing about jail/chroot in the openssh(sshd_config) man pages. I have implemented a similar setup using vsftpd from the ports. It works well for secure ftp when used with the filezilla client. You can limit the ftp command in the vsftpd configuration file so users cannot get out of their home directories, which chroots them there. You do need to add one thing to the accounts, which is to change their home directory in /etc/passwd adding an additional dot. For instance if a users home directory is: /home/user You'd need to change it to: /home/./user vsftpd is well documented and relatively easy to get setup and running. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rm --clear-directory /home/me/another_dir
In response to [EMAIL PROTECTED]: Pieter de Goeje wrote: On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir rm * rm /home/me/another_dir/* // if cant traverse here But something that doesn't rely on the shell. cd /some/dir find . -delete Cheers, Pieter Well, IMO, for aesthetical and logical purposes, /some/dir should point to the directory, and /some/dir/ should point to the inside of the directory (as in copy INTO or FROM). So: # cp /one /two/// this copies dir one into dir two, so there will be a dir named /one/two after this command # cp /one/ /two/ == Do you want to recursively overwrite contents of dir /two with the content of dir /one ? [n] y # cp /one /two == Do you want to recursively overwrite /two with /one ? [n] y # cp /one/ /two cp: error - overwrite a dir with some other contents? WTF? oh and of course: rm -R /dir// removes dir rm -R /dir/// clears dir How hard will it be to convince the developers to swich to this scheme? since all scripts will have to be reworked... All you have to do is change the POSIX standards and everyone will follow. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: get me off this list
I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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]
Re: Fw: get me off this list
In response to Ted Ims [EMAIL PROTECTED]: I'm incorrectly receiving the list as well and can't unsubscribe. What have you tried to do to unsubscribe? Can you please send as attachment a message that you get from the list, so we can see how you are receiving it? -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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] -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
On 2007-04-11 13:59, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. 'incorrectly' doesn't really explain how messages from the list end up in your INBOX. Can you please save the FULL text of a single message you get from the list, including any email headers, to a plain text file, and attach this text file to a message posted to me? I'll go through the headers and try to find out why messages from freebsd-questions end up in your INBOX and/or help you find out how to stop this from happening. Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: command to inentify the process that is listening in a port.
On 4/10/07, Jonathan McKeown [EMAIL PROTECTED] wrote: On Monday 09 April 2007 17:37, Martin Hudec wrote: Siju George wrote: How Do you actually Identify what process is listening on a TCP/IP port? nmap does not usually give the right answer. There should be some command that can be run on the local host for identification right? man lsof 5:35pm [amber] ~# lsof -i @localhost:123 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ntpd552 root 10u IPv4 0xc4c46000 0t0 UDP localhost:ntp Just out of interest, why do so many people recommend lsof, which is a port, when sockstat/fstat are in the base system and seem to cover the same ground? Am I missing something about lsof? Linux systems don't have sockstat, so people who got to FreeBSD via Linux are used to lsof and they tend to continue using it. Same result for those who read the many Linux howto websites. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
On Tue, Apr 10, 2007 at 09:06:15PM -0400, Jules Gilbert wrote: Boy, do I want answers too! We have HD's that run 24X7. And I don't want to turn them off, I just want them to sleep quietly until needed. We have lot's of RAM, thus plenty of cache space. Our machines are all blades. (Does this matter? I don't know.) IBMs and Super-Micros. We spend zillions of bucks on electricity; We use these machines 24X7 now, but soon will only need them about 12 hours a day. Is 24X7 operation the optimal strategy? What's the best course here, wrt electric costs, and wrt disk failures? Re disc failures, I recommend investing as many hours/days as necessay to decide what it (abs) critical. Config files from as many lcations as reqired, e.g. If you have a tape drive, copy the critical files there. Buy as many 200-300GB dics as required to cross-backup your important, but not necessarily critical files. And cron ssh backups N times daily... N =1. (I bup some files twice a day.) Power is not going to do anything but get more costly; at the same time, if you lost all your data in a *poof*, how much would you be willing to pay to have things back? --A parenthetical note: yes, cross-backing up does pay off. Recently, I mv'd a file (innocently, I thought) *over* another files and lost a few hour technical work. LUCKILY, I had the original file on my laptop {Whew} I almost lways save mods by RCS { ci -l foo}... but -- --jg On Apr 8, 2007, at 2:10 PM, Yuri Grebenkin wrote: Just wonder if it's better for an HDD not to spindown at all. Maybe it's safer to spin in peace than to park/launch? What do you think? Hello again all, I was wondering if there was an automatic, and possibly timed means to spin down disks available in either ports or the base system, by chance. Just trying to cut down on energy use, and increase my disks' lives :). TIA, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [maybe spam] Re: sysctl invalid argument
On Wednesday 11 April 2007 18:26:20 Kevin Kinsey wrote: Beni wrote: Hi list, When reading through my dmesg, I found this sysctl error/message : sysctl : hw.acpi.cpu.cx_lowest : Invalid argument. Now there is no mention what so ever of that option in my /etc/sysctl.conf, so I didn't set it to C1 or anything else that seems to be invalid. So my question is : why (and where) is it set 2 times and why is it the second time with an invalid argument ? Neither the C1 nor the invalid argument seems to be doing any harm to the (good) workings of the system... Check /etc/defaults/rc.conf. HTH, Kevin Kinsey It seems a bit more complicated than that (to me at least...). I suppose it is related to this : http://monkey.org/freebsd/archive/freebsd-stable/200512/msg00530.html Thanks for the pointer ! Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
On Wed, 11 Apr 2007 13:59:49 -0400 (GMT-04:00) Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. Welcome, Ted! To our little carnival. Wow! It's getting windy. Better to form some kind of strategy. For example to found a club for newcomers. Or just [EMAIL PROTECTED] And send everybody there to talk ;-) - Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
Well, Jonathan, since you asked, here are the things I've found cumbersome about freebsd-questions, some/all of which may be due to my own ignorance: 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. 2) To reply to an email, I have to copy/paste freebsd-questions@freebsd.org into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. Jonathan McKeown [EMAIL PROTECTED] wrote: On Wednesday 11 April 2007 05:12, L Goodwin wrote: For starters, how about getting this mail group on a proper list server? I'll gladly help if there is anything I can do other than get in the way... I normally try not to be rude, but... what on Earth are you talking about? What is it about a Mailman installation on a host within the freebsd.org domain that renders it less than proper? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
Are both of you getting the emails via mailanyone.net as well? Seems to me that someone compromised mailanyone.net -- anyone know for sure? In response to Jaymz Young [EMAIL PROTECTED]: Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
Hi, L-- On Apr 11, 2007, at 12:14 PM, L Goodwin wrote: 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. You can follow the link to Mailman at the bottom of every list message, log in using your email addr (boink on the button to have it send you your password, if you don't remember it), and change your delivery preference to digest mode or even disable delivery entirely: http://lists.freebsd.org/mailman/options/freebsd-questions In addition, Mailman sets the List-ID header recommended by the RFCs, which means you can easily filter email from the list to another mailbox, via procmail or your mail client's native filtering. 2) To reply to an email, I have to copy/paste freebsd- [EMAIL PROTECTED] into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} Most mail clients have both a reply and reply to all capability; the local convention on the FreeBSD mailing lists is to use reply-to- all, perhaps unless you know that the other person is subscribed. One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. Nothing stops you from sending private email to someone else directly, but normally you want to CC: the list so that everyone can benefit from the advice or suggestions being made. Taking a thread to private email tends to be done more when you need to discuss private config files which contain passwords or some such... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
It appears it's only coming from the freebsd distro list. I sent 2 emails to: [EMAIL PROTECTED] one blank and another with unsubscribe in the message and body of the email, but noting comes back from the server. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Are both of you getting the emails via mailanyone.net as well? Seems to me that someone compromised mailanyone.net -- anyone know for sure? In response to Jaymz Young [EMAIL PROTECTED]: Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
L Goodwin, Wrap your lines; To reply to both list and sender use Reply to all; To send a private message delete [EMAIL PROTECTED]; To and so on. Control everything yourself! But I think that the best is to use some normal mailer program that support simple list handling. It's not like some kind of forum and it's all about transparent architecture and freedom. - Yuri On Wed, 11 Apr 2007 12:14:54 -0700 (PDT) L Goodwin [EMAIL PROTECTED] wrote: Well, Jonathan, since you asked, here are the things I've found cumbersome about freebsd-questions, some/all of which may be due to my own ignorance: 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. 2) To reply to an email, I have to copy/paste freebsd-questions@freebsd.org into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. Jonathan McKeown [EMAIL PROTECTED] wrote: On Wednesday 11 April 2007 05:12, L Goodwin wrote: For starters, how about getting this mail group on a proper list server? I'll gladly help if there is anything I can do other than get in the way... I normally try not to be rude, but... what on Earth are you talking about? What is it about a Mailman installation on a host within the freebsd.org domain that renders it less than proper? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
On Wed, 11 Apr 2007 15:32:45 -0400 Bill Moran [EMAIL PROTECTED] wrote: Are both of you getting the emails via mailanyone.net as well? Seems to me that someone compromised mailanyone.net -- anyone know for sure? In response to Jaymz Young [EMAIL PROTECTED]: Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. Well, for whom it's an interest, there is another fire front on [EMAIL PROTECTED] There you can find new facts and other stuff like email headers etc. - Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
Say, I've been meaning to install ataidle for awhile, as my server handles approximately 3-5 requests for cvs per 24 hours, and I'm a pragmatic believer in the dangers of global warming, and I've never had a disk go bad on my old w2k systems, even though they spun up/down at least 20-50 times a day (on my desktop). It's non-obivous, however, from the docs/man wether ataide makes persistent changes, or if you need to run it from cron, rc, etc. Anyone know the 'proper' usage for ataidle? I found this: http://andreas.syndrom23.de/drupal/files/ataidle which might be of general interest to folks along these same lines. No idea if it's correct usage, however. Thanks, Steve On 4/9/07, Pieter de Goeje [EMAIL PROTECTED] wrote: On Sunday 08 April 2007, Garrett Cooper wrote: Hello again all, I was wondering if there was an automatic, and possibly timed means to spin down disks available in either ports or the base system, by chance. Just trying to cut down on energy use, and increase my disks' lives :). TIA, -Garrett Take a look at ataidle (sysutils/ataidle). Dunno if it helps with their life expectancy, but it certainly is quieter without the disks spinning :). HTH, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: command to inentify the process that is listening in a port.
In the last episode (Apr 11), Bob Johnson said: On 4/10/07, Jonathan McKeown [EMAIL PROTECTED] wrote: On Monday 09 April 2007 17:37, Martin Hudec wrote: Siju George wrote: How Do you actually Identify what process is listening on a TCP/IP port? nmap does not usually give the right answer. There should be some command that can be run on the local host for identification right? man lsof 5:35pm [amber] ~# lsof -i @localhost:123 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ntpd552 root 10u IPv4 0xc4c46000 0t0 UDP localhost:ntp Just out of interest, why do so many people recommend lsof, which is a port, when sockstat/fstat are in the base system and seem to cover the same ground? Am I missing something about lsof? Linux systems don't have sockstat, so people who got to FreeBSD via Linux are used to lsof and they tend to continue using it. Same result for those who read the many Linux howto websites. lsof can also go into more detail about the open handles (can display socket buffer sizes, for example), and has more filtering options. It also has a mode that generates easily machine-parsable output. For simple what's listening on this port questions, though, sockstat does just fine. -- 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]
Re: Fw: get me off this list
In response to Jaymz Young [EMAIL PROTECTED]: It appears it's only coming from the freebsd distro list. Right, but are they coming _through_ mailanyone.net? Have a look at the headers and see what server is passing the message on to gmail. If it's not a freebsd.org server, then somone is forwarding FreeBSD.org mail without your permission. I sent 2 emails to: [EMAIL PROTECTED] one blank and another with unsubscribe in the message and body of the email, but noting comes back from the server. On 4/11/07, Bill Moran [EMAIL PROTECTED] wrote: Are both of you getting the emails via mailanyone.net as well? Seems to me that someone compromised mailanyone.net -- anyone know for sure? In response to Jaymz Young [EMAIL PROTECTED]: Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Mon, 9 Apr 2007 5:28 PM Subject: RE: Verifying that I have SMP up and running Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran http://www.potentialtech.com -- Bill Moran http://www.potentialtech.com
Re: looking for something like an embedded ftp server
On Wednesday 11 April 2007, David J Brooks wrote: On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote: I've been given an old machine, and asked to turn it into an ftp server. It will got on its own IP, separate from the one our LAN uses. It will have three read-only users and maybe five read/write users. It will contain design data that we're transferring to the offices in China. That is, we will upload it from here in at the main office, and the China staff will download it to implement the little containers we're building. This does not need to be secure beyond password protection necessarily, though some sort of secure FTP would be fine. What I would really prefer is some sort of BSD based simple FTP server setup. I've found several BSD based router/firewall/whatever servers out there, such as m0n0wall and pfsense, among others, and I would like something that simple for an FTP server. That is, I want to be able to install the server and then only have to configure users, no mess with hardening things and setting up pf or so ... Does such a thing exist? Am I needlessly complicating things for myself in another way (often the case, I'm little more than a user when it comes to FreeBSD)? Any kind of guidance on this topic would be appreciated --- if what I want to do can be done with a custom install of FreeBSD, that'd be wonderful also. Thank you in advance for any guidance. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ftp.html You can also run ftpd without inetd: adding ftpd_enable=YES to /etc/rc.conf should do the trick. Cheers, Pieter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
On Wednesday 11 April 2007, Steve Franks wrote: Say, I've been meaning to install ataidle for awhile, as my server handles approximately 3-5 requests for cvs per 24 hours, and I'm a pragmatic believer in the dangers of global warming, and I've never had a disk go bad on my old w2k systems, even though they spun up/down at least 20-50 times a day (on my desktop). It's non-obivous, however, from the docs/man wether ataide makes persistent changes, or if you need to run it from cron, rc, etc. Anyone know the 'proper' usage for ataidle? I found this: http://andreas.syndrom23.de/drupal/files/ataidle which might be of general interest to folks along these same lines. No idea if it's correct usage, however. Thanks, Steve You only need to run it once at startup to set the various acoustic and idle time settings. If you know you won't be needing your disks after a specific time a cronjob (spinning down the disks immidiately) might be a good method too. Regards, Pieter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding keyboard after reboot with no keyboard ...
Derek Ragona wrote: At 09:55 AM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hate it when a subject doesn't easily present itself ... but ... Is there something that I'm missing, such that if I add a keyboard to a server *after* rebooting it with no keyboard, that will have that keyboard recognized? Basically, I have several remote servers, with no keyboards, but if I need a tech to check something on the console (ie. the ethernet went down for some reason), when they plug a keyboard back in again, there is no signal until they actually power cycle the machine ... which of course, is too late to do any diagnosis :( Thx ... This is a limitation of the hardware in the keyboards and the motherboards. The only solution I have found is to use a KVM switch which keeps the keyboard and mouse ports active during bootups. -Derek Aloha, KVM switch... This is the way I do it as well with 8 servers in a noc . ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://internetohana.org - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
Thanks, Chuck. Subscription Options has an option Which topic categories would you like to subscribe to? that has No topics defined, but I don't see any list of topic categories or a way to select them. Chuck Swiger [EMAIL PROTECTED] wrote: Hi, L-- On Apr 11, 2007, at 12:14 PM, L Goodwin wrote: 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. You can follow the link to Mailman at the bottom of every list message, log in using your email addr (boink on the button to have it send you your password, if you don't remember it), and change your delivery preference to digest mode or even disable delivery entirely: http://lists.freebsd.org/mailman/options/freebsd-questions In addition, Mailman sets the List-ID header recommended by the RFCs, which means you can easily filter email from the list to another mailbox, via procmail or your mail client's native filtering. 2) To reply to an email, I have to copy/paste freebsd- [EMAIL PROTECTED] into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} Most mail clients have both a reply and reply to all capability; the local convention on the FreeBSD mailing lists is to use reply-to- all, perhaps unless you know that the other person is subscribed. One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. Nothing stops you from sending private email to someone else directly, but normally you want to CC: the list so that everyone can benefit from the advice or suggestions being made. Taking a thread to private email tends to be done more when you need to discuss private config files which contain passwords or some such... -- -Chuck - Don't get soaked. Take a quick peak at the forecast with theYahoo! Search weather shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine on amd64
On Wed, Apr 11, 2007 at 10:37:03AM -0700, Steve Franks wrote: On 4/10/07, Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Apr 10, 2007 at 02:42:35PM +0200, Tijl Coosemans wrote: On Monday 09 April 2007 19:28:50 Kris Kennaway wrote: On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote: Why does the wine port complain that it will not build on my 6.2/amd64 machine? A quick search around winehq.com seems to indicate that the linux (kubuntu, debian) guys compile wine on their 64-bit platforms??? And you know how we *hate* to let them think they have something we bsd-ites do not ;) Extra patches, I guess. Why not look into it and see what needs to be added to our port? Wine runs win32 programs. It needs to be built as a 32bit program linked with 32bit libraries. The ports/package system can't handle 32bit code on amd64. Well it can, you just need to also have 32-bit versions of all the other ports too. It is true that no-one has really worked on this, but it's not technically difficult. Kris Is there already a means for building a particular port as 32 bits on a 64-bit machine? Not really, this is what I mean by work needed. Kris pgpos33L4RQUp.pgp Description: PGP signature
Re: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ...
Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a reasonably priced one? Our newer servers, we've been using HP servers, so that we have this built in, but I have 6 older servers that I'd love to be able to deal with remotely without headaches ... I only need to be able to access one at a time ... I've tried the 'serial console' route, but if the server crashes, logging in to the serial console doesn't show you anything, whereas, with the HP 'remote console' feature, its the same as a KVM, where running it does a screen refresh, so that I can see what is on the screen at the time of the crash ... - --On Tuesday, April 10, 2007 10:09:37 -0500 Derek Ragona [EMAIL PROTECTED] wrote: At 09:55 AM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hate it when a subject doesn't easily present itself ... but ... Is there something that I'm missing, such that if I add a keyboard to a server *after* rebooting it with no keyboard, that will have that keyboard recognized? Basically, I have several remote servers, with no keyboards, but if I need a tech to check something on the console (ie. the ethernet went down for some reason), when they plug a keyboard back in again, there is no signal until they actually power cycle the machine ... which of course, is too late to do any diagnosis :( Thx ... This is a limitation of the hardware in the keyboards and the motherboards. The only solution I have found is to use a KVM switch which keeps the keyboard and mouse ports active during bootups. -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] - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGG+F94QvfyHIvDvMRAkjPAJ4yR6MUTVjCSsPAhuip/EBDXoG2vgCg2HJo uC5J2RdkeqD1D8Lm92QHjpI= =Pn4r -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] Aloha, Reasonably priced in US $ You can get a KVM switch from Newegg.com for a little over $100. US. Hawking Technology CS168 8 Port is what we installed in our rack here. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://internetohana.org - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
On Apr 11, 2007, at 2:14 PM, L Goodwin wrote: Well, Jonathan, since you asked, here are the things I've found cumbersome about freebsd-questions, some/all of which may be due to my own ignorance: It's not so much your ignorance (well ultimately it is), but that you are using a webmail system (Yahoo!) to manage your mail. Quite simply, if you are going to be getting lots of mail (as happens when you subscribe to a mailing list or two) and communicating with people on discussion lists, you should use a proper mail client. I'm sure that there will be ways to doing the things you want with Yahoo!, but on the whole mailing lists were designed to work with real email clients. Anyway, here are comments on the original. 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. Sorting of incoming mail is essential if you belong to several mailing lists. I'm sure that Yahoo will have some way of doing this so that mail that matches a particular pattern will go into a designated mail folder. As others have pointed out, the best pattern to use is based on the List-Id header, which for this lists looks like List-Id: User questions freebsd-questions.freebsd.org I have a sorting rule that puts all of my freebsd.org lists (I subscribe to several) in a specific folder. Because I'm sorting mail with something called sieve (almost certainly not what Yahoo is doing) my rule looks like elsif header :contains [List-Id] freebsd.org { fileinto INBOX.LISTS.Comp.BSD; stop; } But don't worry, you won't have to edit such rules by hand. Yahoo will have a nice web interface for you. 2) To reply to an email, I have to copy/paste freebsd- [EMAIL PROTECTED] into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} Most mailers (and I assume Yahoo! as well) make a distinction between Reply and Reply to all. It might be called something else on Yahoo! but look for something that seems to mean the same thing. For some discussion lists, things are configured so that the Reply-To header in mail to the list will make a simple Reply to go just to the list. There are fierce debates among list managers about whether that is a good thing or a force for evil. I will not step into it here, except to note that the people who configured this discussion list made a conscious and informed choice about how to configure the list. (Mailman allows lists to be set up either way.) One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. That is what a simple Reply will do given how this list is set up. Use Reply to All to send the response to the list as well. I don't mean to present an argument from authority, but you are clearly new to email discussion lists. The people who made the choices about the configuration of this list have much more experience about what works and what doesn't work. I managed my first email list in 1986, and over the decades have formed some very strong opinions. It's good for you to query things and point out stuff that doesn't seem to work right. It wouldn't be the first time that the experts are wrong. But do keep in mind that most everything you encounter has been configured or designed the way it is for a reason. And so when you run into something that seems strange or annoying to you, the question to ask is not why can't we do it right? but why are things set up as they are? Once you get used to the way of doing things on proper email discussion lists, you'll never want to go back to anything like Yahoo! Groups. Cheers, -j
Re: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ...
Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a reasonably priced one? Our newer servers, we've been using HP servers, so that we have this built in, but I have 6 older servers that I'd love to be able to deal with remotely without headaches ... I only need to be able to access one at a time ... I've tried the 'serial console' route, but if the server crashes, logging in to the serial console doesn't show you anything, whereas, with the HP 'remote console' feature, its the same as a KVM, where running it does a screen refresh, so that I can see what is on the screen at the time of the crash ... - --On Tuesday, April 10, 2007 10:09:37 -0500 Derek Ragona [EMAIL PROTECTED] wrote: At 09:55 AM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hate it when a subject doesn't easily present itself ... but ... Is there something that I'm missing, such that if I add a keyboard to a server *after* rebooting it with no keyboard, that will have that keyboard recognized? Basically, I have several remote servers, with no keyboards, but if I need a tech to check something on the console (ie. the ethernet went down for some reason), when they plug a keyboard back in again, there is no signal until they actually power cycle the machine ... which of course, is too late to do any diagnosis :( Thx ... This is a limitation of the hardware in the keyboards and the motherboards. The only solution I have found is to use a KVM switch which keeps the keyboard and mouse ports active during bootups. -Derek - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 Aloha, Reasonably priced in US $ You can get a KVM switch from Newegg.com for a little over $100. US. Hawking Technology CS168 8 Port is what we installed in our rack here. Is it operable from a network connection? That seemed to be a main requirement.There are lots of KVMs that can be hooked up to a monitor and keyboard and even a few that have some special control port. But, the ones that take a plug-in with a network cable to login and control it tend to be quite expensive. I would like to find an inexpensive one that takes a net connection as well. jerry ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://internetohana.org - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol ___ 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]
Re: Proper list server? (was Re: Automatic means for spinning down disks available?)
Thanks, Jeff and others. Ok, I'll use Reply to All. FYI, I only use this Yahoo account for situations where I don't want to get spammed to death. I started using UNIX, email and the Internet in 1989, but for the last 15 years I've been stuck with Windows (not counting hosted Web servers) -- guess I'm getting a little soft. I'm having a hard time trying to implement a non-Microsoft OS for the first time in (literally) decades, and freely admit my ignorance. My prior experiences installing UNIX were with commercial versions (mainly AIX) using checklists prepared by folks who knew what to install. I live in the heart of Microsoft territory. No offense to Microsoft, but I'd like to see a little more competition around here. What I'm seeing is a trend towards Microsoft servers (even Web servers!). Other than (hosted) Web servers running FreeBSD/Apache, I work mainly with workstations. I'd like to gain some modest expertise in the non-Microsoft server arena. I appreciate any and all help in this endeavor. Jeffrey Goldberg [EMAIL PROTECTED] wrote: On Apr 11, 2007, at 2:14 PM, L Goodwin wrote: Well, Jonathan, since you asked, here are the things I've found cumbersome about freebsd-questions, some/all of which may be due to my own ignorance: It's not so much your ignorance (well ultimately it is), but that you are using a webmail system (Yahoo!) to manage your mail. Quite simply, if you are going to be getting lots of mail (as happens when you subscribe to a mailing list or two) and communicating with people on discussion lists, you should use a proper mail client. I'm sure that there will be ways to doing the things you want with Yahoo!, but on the whole mailing lists were designed to work with real email clients. Anyway, here are comments on the original. 1) I get all email posted to freebsd-questions in my inbox (actually, some end up in bulk mail folder). That's a lot of mail to wade through. I'm trying to get a system up and running so I can move on to the next task. I suppose I could set up some email filtering rules to limit what comes in. Sorting of incoming mail is essential if you belong to several mailing lists. I'm sure that Yahoo will have some way of doing this so that mail that matches a particular pattern will go into a designated mail folder. As others have pointed out, the best pattern to use is based on the List-Id header, which for this lists looks like List-Id: User questions I have a sorting rule that puts all of my freebsd.org lists (I subscribe to several) in a specific folder. Because I'm sorting mail with something called sieve (almost certainly not what Yahoo is doing) my rule looks like elsif header :contains [List-Id] freebsd.org { fileinto INBOX.LISTS.Comp.BSD; stop; } But don't worry, you won't have to edit such rules by hand. Yahoo will have a nice web interface for you. 2) To reply to an email, I have to copy/paste freebsd- [EMAIL PROTECTED] into the To field. If I forget to do this, my reply gets send to the sender only. See? I almost forgot to do it for this reply. :-} Most mailers (and I assume Yahoo! as well) make a distinction between Reply and Reply to all. It might be called something else on Yahoo! but look for something that seems to mean the same thing. For some discussion lists, things are configured so that the Reply-To header in mail to the list will make a simple Reply to go just to the list. There are fierce debates among list managers about whether that is a good thing or a force for evil. I will not step into it here, except to note that the people who configured this discussion list made a conscious and informed choice about how to configure the list. (Mailman allows lists to be set up either way.) One feature I like about (some) list servers is the ability to send a private message to another member. This comes in handy when one person is helping troubleshoot a problem, and you don't need everybody on the list to get involved. That is what a simple Reply will do given how this list is set up. Use Reply to All to send the response to the list as well. I don't mean to present an argument from authority, but you are clearly new to email discussion lists. The people who made the choices about the configuration of this list have much more experience about what works and what doesn't work. I managed my first email list in 1986, and over the decades have formed some very strong opinions. It's good for you to query things and point out stuff that doesn't seem to work right. It wouldn't be the first time that the experts are wrong. But do keep in mind that most everything you encounter has been configured or designed the way it is for a reason. And so when you run into something that seems strange or annoying to you, the question to ask is not why can't we do it right? but why are things set up as they are?
Re: strange mouse behaviour with xorg
On 4/11/07, freenity [EMAIL PROTECTED] wrote: Yes I tried this but it doesnt help, the same problem. Any suggestions? Did you also try to change moused_enable=YES to moused_enable=NO in /etc/rc.conf and set the device to /dev/psm0 in /etc/X11/xorg.conf? P.S. please don't top post. On 4/10/07, Pietro Cerutti [EMAIL PROTECTED] wrote: Please try with Option Protocol SysMouse instead. 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) -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org -- http://feudaltimes.com.ar - Feudal Times `s webmaster and programer. -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: get me off this list
On Wed, Apr 11, 2007 at 02:55:23PM -0400, Jaymz Young wrote: Add me to the list of folks who did not subscribe and can not unsubscribe??? On 4/11/07, Ted Ims [EMAIL PROTECTED] wrote: I'm incorrectly receiving the list as well and can't unsubscribe. -Forwarded Message- From: [EMAIL PROTECTED] Sent: Apr 9, 2007 7:27 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: get my off this list what is this list and why am i on it?!?! I do not know how you got on the list. Normally, as mentioned, there is a confirmation required before one actually gets on the list. As for having trouble getting off the list, here is one possibility. I manage a couple of lists and this is a frequent problem. A person subscribes an address or gets it put on the list somehow. Then along the way the person begins to use a different Email address. The old address still works so that person sets forwarding at old address to the new one and after a while, doesn't think about it any more. Messages from the list keep coming - now to the new address because of the automatic forwarding. Then the person decides to unsubscribe from the list and sends in an appropriate message -- but the message is sent from the new address rather than the old address which is the one actually subscribed. So, the Email list software tries to remove the new address, but, of course, that doesn't solve the issue. The list software does not know about the connection between the old address and the new one to which it is forwarded. The list administrator can guess about what is happening, but doesn't have a good way of discovering the address connection because the error messages from the failed unsubscribe attempts only show the new address, but nothing about the old one. I periodically run a routine that sends a message to each subscriber that contains the address of the subscriber it is being sent to. That way, if it bounces, I can get the original subscription address out of the message or if it does not bounce, but makes it through to the person's new address through the forward, then that person is essentially notified of the original subscription and can either log in to that old address and send an unsubscribe or if they can no longer get in to that old account, send a message to the list administrator with the additional information needed to identify the old address and take action. In this particular case, where the person does not believe they took any action to initiate the original subscription, it is unclear how it got that way. But, one possibility is someone trying to maliciously inflict mischief and abuse on some people. What some abuser could have done is to make a subscription for an address on some host and then make the necessary confirmation response. Then the person would go in to that account and set up forwarding to some innocent person or even to a large number of persons. It would be a type of attack. Those sort of attacks can also be traced to the original [fake] subscription by sending out a message to all subscribers with the address each message was sent to in it. Then, whoever receives it would need to help the list administrator remove it. There may also be some other tools to help trace it, but they are not always effective. I don't know if this is what has happened in these recent cases, but it is one possibility. Hopefully, if this is what has happened, it might be possible to track it down to the original juvenile brat that is doing it and get his daddy to ground him until age 35 or so. So, good luck getting this sorted out. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GLUT : OpenGL GLX extension not supported by display :: 1
Running FreeBSD 6.1 release, xorg.conf has Load GLX in it. Platform is a Dell with ATI graphics. I am running an OpenGL based app that runs fine from the console but refuses to run remotely using VNC. I had no problem running it remotely with 4.8 FreeBSD. This is probably the first time I've tried running it remotely using Xorg. Any help would be appreciated. Thanks, Rick -- ___ Get your free email from http://bsdmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind9 in a jail
On Tuesday 10 April 2007 22:09:54 Kimi Ostro wrote: Without seeing config, cant really help or maybe better on the BIND mailing list? no, you were correct. i actually fixed it a couple days ago, but it did in fact boil down to an error in my config file. as i migrated from one one server to another, the config needed to have the transfer-source ip updated. once that was corrected, it worked exactly as expected. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [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: Boot failure after installation
Will someone please explain in detail how to run the FreeBSD fdisk util outside of the freebsd installer? Please provide detailed steps. What would the experts do next in this situation? I've checked and double-checked BIOS (current version is same as what I have -- 1013, so did not re-flash), SCSI BIOS (reset defaults and low-level formatted da0). I've performed Minimal FreeBSD install per step-by-step directions, and always says it's installed successfully, but can never boot from da0 (since repartitioning using FreeBSD fdisk util). I've verified that I'm creating a single partition (slice) on da0, making it the active partition, then setting it Bootable. I booted the FreeSBIE LiveCD, and tried to mount da0: mount /dev/da0 /mnt mount: /dev/da0: Operation not permitted Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Apr 10, 2007 at 07:48:07PM -0700, L Goodwin wrote: Is there a way to run the FDISK tool outside of the freebds installer? How do I change the disk configuration without reinstalling freebsd every @[EMAIL PROTECTED] time? Yes, all sysinstall does is collect the information and run fdisk for you. See the man page (enter man fdisk ) It can be a little hard to read at first. The fdisk and bsdlabel don't follow the normal man page form. One thing you must know; you cannot run fdisk on a drive that is in active use. If you booted from that drive or if you are CD-ed in to a file system on the drive, the system will not let you write to the drive using fdisk. You can only use fdisk to read the slice table and run prototype setups that do not actually write out to the disk. Trying to write to a drive that is active is a very popular mistake when attempting to use fdisk. So, read the fdisk man page and then come back with some more specific questions if you need. I really want to set up a FreeBSD server and appreciate the learning experience, but it's way past the point where I should have switched to an OS that will actually run on my client's server. If I don't get it going tonight, I'm going to install the first Linux distribution that says Hey, Sailor... =8-0 Guess you will need to follow the installation instructions in the FreeBSD handbook more carefully. BTW, I burned a freeSBIE 2.0.1 Live CD, but have no idea what to do with it. Yes, I am pathetically clueless. Thanks for your patience! Just boot it up and run it.It will give you a very basic working environment.Then do something like you might in a UNIX system, like ls or cd or df or whatever. Derek Ragona wrote: One other thing that might be happening is if the geometry of the drive isn't allowing an extended translation because of the age of your hardware, you may need to keep the boot partition, that is the entire boot partition (not talking slices here) within the first 1024 cylinders. In the partition tool in sysinstall you can change the display to show different units, and one of those will be cylinders. The 1024 cylinder limit is from older BIOS translations and if the boot partition extended beyond 1024 the system will give that same error you are getting. If the machine is built any less than about 11 years ago, this doesn't apply. With older hardware you may need to use multiple partitions instead of slices. You can have 4 partitons on a drive (4 is hardcoded in the partition table size and a location) so you can add additional partitions for swap and /usr if you want. Any partitions you use for filesystems like /usr the boot manager will see and offer to boot them. They won't boot of course. Swap partitions are ignored by the boot manager. This is mostly incorrect and even backwards. First of all, there are 4 slices possible on a drive (or raid set for all that matters). Microsoft tends to call slices Primary Partitions. Slices are created and managed by the fdisk utility. Fdisk also writes the Master Boot Record (MBR) (but not the boot sector). In FreeBSD you can divide each slice up in to partitions which are identified as a..h, although 'c' is reserved. These partitions are created and managed by the FreeBSD bsdlabel utility (or disklabel in older versions). Bsdlabel also writes the boot sector. Otherwise, I'd suspect it is a problem with the 6.2 you are using then. If you try with a boot within the 1024 (I wouldn't push that to the limit I'd say try like 950 cylinders) then I would try an earlier version such as 6.1 or 6.0. The whole issue of 1024 cylinders limit for bootable file systems went away with improved BIOS about 11 years ago. If you have a system old enough to have the problem, you should be updating the BIOS rather than trying to accomodate the limit. jerry -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.
Re: strange mouse behaviour with xorg
On 4/12/07, freenity [EMAIL PROTECTED] wrote: yes i changet that, and it runs fine, but that problem with mouse is still there, it just changes randomly its position when i drag it. send in your /var/log/Xorg.0.log (assuming your're using your first display). And please, send it to the list, so that you can get help from more people, and not just from me... -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
On Wed, Apr 11, 2007 at 01:16:26PM -0700, Steve Franks wrote: Say, I've been meaning to install ataidle for awhile, as my server handles approximately 3-5 requests for cvs per 24 hours, and I'm a pragmatic believer in the dangers of global warming, and I've never had a disk go bad on my old w2k systems, even though they spun up/down at least 20-50 times a day (on my desktop). It's non-obivous, however, from the docs/man wether ataide makes persistent changes, or if you need to run it from cron, rc, etc. Anyone know the 'proper' usage for ataidle? I found this: http://andreas.syndrom23.de/drupal/files/ataidle which might be of general interest to folks along these same lines. No idea if it's correct usage, however. Yuri Grebenkin's commments up-queue were well put. My newest 2800 AMD runs Ubuntu mostly for things-fun. Tho it has evolution so I can just click-on a mail-embedded URL and have firefox come alive very easily. No mouse swipe and messing with broswer in my default mutt. (c.) Not *quite* like running a server just to have vi or another editor handy, but close. The Ubuntu runs my DVD/CD burner too. ---But it's still what I consider a toy. Every situation is unique, I think. Are you admin'ing a slew of server? are you running a few to several for a small business? Or just running two machines for your own fun and profit? Some things to consider (besides powering -down or -off drives) are battery backup system. Don't most UPS systems isolate your servers from the wall-socket? At what level do hard drives have identical circuitry so that they can be software lower-voltaged? *Except for consumer __cost__*, why don't all boxes have builtin batteries like latop? ...There are lots of things to consider. gary Thanks, Steve On 4/9/07, Pieter de Goeje [EMAIL PROTECTED] wrote: On Sunday 08 April 2007, Garrett Cooper wrote: Hello again all, I was wondering if there was an automatic, and possibly timed means to spin down disks available in either ports or the base system, by chance. Just trying to cut down on energy use, and increase my disks' lives :). TIA, -Garrett Take a look at ataidle (sysutils/ataidle). Dunno if it helps with their life expectancy, but it certainly is quieter without the disks spinning :). HTH, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: strange mouse behaviour with xorg
On 4/11/07, Pietro Cerutti [EMAIL PROTECTED] wrote: send in your /var/log/Xorg.0.log (assuming your're using your first display). And please, send it to the list, so that you can get help from more people, and not just from me... Thanks for your reply. Here is my Xorg.0.log file: http://feudaltimes.com.ar/Xorg.0.log I uploaded it because its very big. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
default shell behavior with aterm
I've had to solve a problem with unexpected shell behavior when using aterm (my favorite terminal emulator) a couple of times now. This seems to be limited to aterm -- the same problems do not arise at the TTY console or in xterm. Back when I first set up the workstation I'm currently using, with FreeBSD 6.1, one of the unexpected differences from what's familiar to me (having come from Debian GNU/Linux) was the fact that in aterm the open parenthesis character, (, would behave as a backspace. I solved the problem at the time, with a bit of searching around. Part of what I did to solve the problem involved entering the following command into the .bashrc file for my user account: stty erase2 '^?' Since then, something happened (I just wasn't careful enough with my edits that file, I guess) to that line. Last night, I found myself trying to remember how to solve the problem of REPLs like OCaml's toplevel and the interactive UCBLogo shell treating the open parenthesis character as a backspace. Another part of the solution the first time around -- and one that has not gone away and needed to be refixed -- is to comment out these lines in the file /usr/ports/x11/aterm/Makefile: .if !defined(WITH_BSDEL) CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key .endif My question is this: Is there some (good) reason that aterm's Makefile contains these lines? Is there some logically justified reason for causing aterm to break the principle of least surprise in this fashion -- since it obviously works differently (surprise!) from the behavior of other means of using the shell? Is this a bug I should submit? -- CD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Real ugliness is not harsh-looking syntax, but having to build programs out of the wrong concepts. - Paul Graham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: strange mouse behaviour with xorg
On 4/12/07, freenity [EMAIL PROTECTED] wrote: Thanks for your reply. Here is my Xorg.0.log file: http://feudaltimes.com.ar/Xorg.0.log I uploaded it because its very big. What Depth do you have in the Screen section of your /etc/X11/xorg.conf? Try setting it to a lower value. -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automatic means for spinning down disks available?
On Apr 11, 2007, at 3:32 PM, Gary Kline wrote: Some things to consider (besides powering -down or -off drives) are battery backup system. Don't most UPS systems isolate your servers from the wall-socket? The better grade of UPSes do exactly that-- they provide galvanic isolation by using an isolation transformer which has the primary and secondary windings completely separated, and ensuring in the design that you don't connect the service neutral line to the output or load's neutral line. The load can thus either be floating or tied to the local building ground. This type of design is known as double-conversion because they always feed the input AC line through the rectifier DC inverter, using more power but providing better PFC and can provide the load with an AC frequency which is different than the input AC frequency (ie, they can provide 60Hz output from 50Hz input, or vice versa). Cheaper UPSes, which include almost all consumer-grade models from APC, Tripplite, etc run in line interactive mode, which involves a self-tapping or ferro-resonant transformer, can adjust the voltage up or down within limits, but they do not perform PFC and cannot provide frequency conversion, and they pass the neutral line from AC line to load without isolation, thus passing common-mode noise through. This design is lighter and requires fewer components (an isolation transformer is heavier), and does not keep the DC section and inverter always under full load, so are somewhat more efficient, but cannot deal with frequency drift or significant voltage changes. At what level do hard drives have identical circuitry so that they can be software lower-voltaged? The boards within a drive family might be identical (WD200BB/WD400BB/ WD800BB/etc), but they don't deal with under-voltages at all well-- you'll either pull excessive current through the servo and spindle motor windings, or perhaps the drive will fail to spin up entirely. The spindle motors are designed to spin at the calibrated speed and won't spin at slower speeds. *Except for consumer __cost__*, why don't all boxes have builtin batteries like latop? ...There are lots of things to consider. Cost is the primary reason why boxes don't have built-in batteries. People flinch away from paying for real RAID systems which include battery-backup for the drives... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: default shell behavior with aterm
At 05:42 PM 4/11/2007, Chad Perrin wrote: I've had to solve a problem with unexpected shell behavior when using aterm (my favorite terminal emulator) a couple of times now. This seems to be limited to aterm -- the same problems do not arise at the TTY console or in xterm. Back when I first set up the workstation I'm currently using, with FreeBSD 6.1, one of the unexpected differences from what's familiar to me (having come from Debian GNU/Linux) was the fact that in aterm the open parenthesis character, (, would behave as a backspace. I solved the problem at the time, with a bit of searching around. Part of what I did to solve the problem involved entering the following command into the .bashrc file for my user account: stty erase2 '^?' Since then, something happened (I just wasn't careful enough with my edits that file, I guess) to that line. Last night, I found myself trying to remember how to solve the problem of REPLs like OCaml's toplevel and the interactive UCBLogo shell treating the open parenthesis character as a backspace. Another part of the solution the first time around -- and one that has not gone away and needed to be refixed -- is to comment out these lines in the file /usr/ports/x11/aterm/Makefile: .if !defined(WITH_BSDEL) CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key .endif My question is this: Is there some (good) reason that aterm's Makefile contains these lines? Is there some logically justified reason for causing aterm to break the principle of least surprise in this fashion -- since it obviously works differently (surprise!) from the behavior of other means of using the shell? Is this a bug I should submit? Actually you might want to have an entry added for this terminal to terminfo and termcap databases. I don't see an entry for it, and suspect it is using one of the generic definitions. -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]