Re: why is this script failing?
why is this script not finding them? wav=/tmp/kde-kline/\*wav\* why you put \ before * if [ -s $wav ] then echo "Wav files found"; ls -l $wav; /bin/rm ${wav}; else echo "No wav files in /tmp/kde-kline"; exit 0; fi do i have to cd to /tmp/kde-kline and examine every file in a loop? tia, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ 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: OT-ish: fedora->crash->single user fsck; FreeBSD->crash->smooth recovery
Just unacceptable for a laptop. No flash in firefox, I hate flash, but it's crippling not to have. i don't have. nothing lost. Lots of unsupported hardware, etc. [I simply buy COMPATIBLE hardware like IBM/Lenovo. observe, it just doesn't crash (unless I plug in a weird flash drive, camera, etc., and I shouldn't be plugging those things into my servers anyway). Yea FreeBSD! Fedora has crashed at least 5 times in one Just once a day is considered "stable" in linux world today. One other thought on FreeBSD vs. Fedora: dudes, rpm dependencies are junk (or put differently, our ports maintainers are saints)! Every at least when i used linux some years ago there was many distros and every usable distro (like debian or slackware) used other package format, yes rpm was (is?) unusable. engender riddicule - linux is dumbbed down almost as bad as windows, i would object this. linux goal is to compete with windows. and it competes excellent. it is even worse. linux is for people that want to show they are "better" than his/her friends so they use "better" operating system. at least in Poland, where linux users often presents themselves as "experts" to others. Ok, I'll quit ranting and actually ask a question: The real big thing that suprised me (about Fedora), is that every damn time it crashes, I have to sit through 20 minutes of fsck when it boots, then it cries, gags, and throws me into a root console to run fsck again, manually, for 20 more minutes. I'm thinking about symlinking fsck to a rather dirtier word on the Fedora box. yes it is normal. linux filesystem works like in -o async mode, is just caches what it have to write and write whenever it likes at whatever sequence. in linux it is always presented as feature not bug. another very stupid thing is TOO delayed writes, i mean linux simply caches things as long as there are free memory then just starts lots of writes at once efectively halting the system for a while. probably crashed my FreeBSD boxes 10-50 times, and it always boots right up and does an fsck in the background. So compare, one manual same on my systems. UFS is designed to survive crashes. to ditch Fedora and spend the time sending logs to freebsd-acpi, manually configuring amd, etc, etc... Is ext2/3 really that bad? i don't know ext3, it in theory does journalling, are you using ext3 or ext2? hint: ext3 is actually ext2 with extra file created, there is no need to convert, just run fsck_ext3 to convert to ext3, and delete that file to convert to ext2. if this journalling really work i don't know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calculating disk space with ZFS
In the last episode (Jul 14), Steve Bertrand said: > I'm configuring Amanda over ZFS, with plans for a five 'tape' > diskless cycle. > > When I'm calculating the size of each 'tape', should I divide up my > dedicated backup space based on a 'df -h', or a 'zpool list'? > > Assume that if I go by the 'zpool list' command, I'd like to allocate > 1.8TB, divided by five to tapes. Should I use this number, or would > it be more appropriate to slice up the space based on the 'df -h' > below? I'm assuming the latter, but I'd just like to ask for > clarification. > > amanda# zpool list > NAMESIZEUSED AVAILCAP HEALTH ALTROOT > storage1.82T 2.86G 1.82T 0% ONLINE - zfs list will give you a more accurate number, I think. At least all the posts matching this search seem to say so: http://www.google.com/search?q=site:mail.opensolaris.org+"zpool+list"+"zfs+list"; > amanda# df -h > FilesystemSizeUsed Avail Capacity Mounted on > storage 1.3T2.1G1.3T 0%/ > devfs 1.0K1.0K 0B 100%/dev -- 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: aterm whacked?
On Sat, Jul 12, 2008 at 07:59:03PM -0700, Neil Short wrote: > > Any ideas? My choice would be rxvt-unicode instead of aterm. I used to use aterm, then one day decided I wanted unicode support. . . . and rxvt-unicode (aka urxvt) supports pseudo-transparency, much the way aterm does, too. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Anne McClintock, University of Wisconsin: "The decisions that really matter are made outside the democratic process." pgpiwAQqZyPuV.pgp Description: PGP signature
Re: Windows Firefox in Wine: Ugly Fonts
On Sun, 13 Jul 2008 19:00:49 +0300 Razmig K <[EMAIL PROTECTED]> wrote: > Ross Cameron a __crit : > > You have two options to resolve this issue: > >Copy the fonts folder over from a WinXP/Vista install to the > > relevant wine bottle.or > >Install the winetricks tool and let it install all the Windows > > fonts for you. > > > > Hope this helps. > > Unfortunately neither works; I copied the fonts directory in a > Windows XP installation to .wine/drive_c/windows/ to no avail, > removed it and used winetricks to install allfonts (corefonts, > tahoma, liberation) with similar results. > Further suggestions? I found that running winecfg and playing around with screen resolution slider fixed it. This was after I installed the fonts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Continuing problems with Xorg 7.3
I'm still trying to sort out my problems since I changed my old Gateway E-1400 from 6.3 to 7.0. Everything worked fine under 6.3. I decided however that I would do a clean install and overwrite the old partition. Everything installed and seemed to work fine, until I tried to configure X. Regardless of the settings, I cannot seem to get the image to lock. Xorg reads all the equipment correctly with PCIscan. I also reads the H and V setting on my SyncMaster 910T monitor correctly. The graphics chip is the Intel 82810 dc-100. Before it used the i810 driver, though under 7.0 I also tried the "intel" and "vesa" drivers. Still no luck. The only error I notice in Xorg.0.log is the following: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed [drm] failed to load kernel module "1810" (EE) [drm] drmOpen failed. There is no "dri" device in my /dev directory, but I don't know if that matters. I've tried to comment out the "load dri" option, but no luck, it tries to load it anyway. I also tried option NoDRI, but that doesn't seem to work either. Anyone have any ideas, as I still am unable to run X? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT-ish: fedora->crash->single user fsck; FreeBSD->crash->smooth recovery
So, after much tough consideration, I've put Fedora on my laptop. FreeBSD just won't do a large-ish number of desktop things (I have 5 FreeBSD systems from 1-10 years old and not a single one will suspend correctly, even after following the instructions in the handbook. Just unacceptable for a laptop. No flash in firefox, I hate flash, but it's crippling not to have. Lots of unsupported hardware, etc. [I know, should have bought a thinkpad, not a bloody compaq]). Having ran it for about a week, I've got to say, I've really been taking for granted the stability of FreeBSD. As people frequently observe, it just doesn't crash (unless I plug in a weird flash drive, camera, etc., and I shouldn't be plugging those things into my servers anyway). Yea FreeBSD! Fedora has crashed at least 5 times in one week. I guess the demands of running user applications are just too much (interestingly, it never crashes doing wine, which seems to run everything these days; most crashes seem related to abusing X (i.e. changing resolution, dual monitors, etc)). One other thought on FreeBSD vs. Fedora: dudes, rpm dependencies are junk (or put differently, our ports maintainers are saints)! Every 3rd install I have to manually find some .so file. Worse yet, try linking libc.a! What joker took it out of the path! I've got to install an rpm to rebuild the kernel!? What about exporting a default CFLAGS? FreeBSD was built to compile, not just serve! Now I understand why dumb questions on the FreeBSD list occasionally engender riddicule - linux is dumbbed down almost as bad as windows, whereas FreeBSD gives me a sense of freedom from stuff I don't need, and quick builds for that which I do (except acpi ;). Ok, I'll quit ranting and actually ask a question: The real big thing that suprised me (about Fedora), is that every damn time it crashes, I have to sit through 20 minutes of fsck when it boots, then it cries, gags, and throws me into a root console to run fsck again, manually, for 20 more minutes. I'm thinking about symlinking fsck to a rather dirtier word on the Fedora box. This has only once ever happened on FreeBSD and I had a gmirror on a bad disk controller. What with the crappy usb sticks & such, I've probably crashed my FreeBSD boxes 10-50 times, and it always boots right up and does an fsck in the background. So compare, one manual fsck in, say, 10 computer-years, vs. 5 in one week. I'm about ready to ditch Fedora and spend the time sending logs to freebsd-acpi, manually configuring amd, etc, etc... Is ext2/3 really that bad? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and its hourly reports
On Tue, Jul 15, 2008 at 12:22:06PM +1000, jonathan michaels wrote: [...] > named now reports hourly > > Jul 15 06:55:10 hid named[617]: could not listen on UDP socket: permission > denied > Jul 15 06:55:10 hid named[617]: creating IPv4 interface tun0 failed; > interface ignored > Jul 15 07:55:10 hid named[617]: could not listen on UDP socket: permission > denied > Jul 15 07:55:10 hid named[617]: creating IPv4 interface tun0 failed; > interface ignored > Jul 15 08:55:10 hid named[617]: could not listen on UDP socket: permission > denied > Jul 15 08:55:10 hid named[617]: creating IPv4 interface tun0 failed; > interface ignored > Jul 15 09:55:10 hid named[617]: could not listen on UDP socket: permission > denied > Jul 15 09:55:10 hid named[617]: creating IPv4 interface tun0 failed; > interface ignored [...] http://www.isc.org/sw/bind/arm95/Bv9ARM.ch06.html#id2576660 Check interface-interval: The server will scan the network interface list every interface-interval minutes. The default is 60 minutes. The maximum value is 28 days (40320 minutes). If set to 0, interface scanning will only occur when the configuration file is loaded. After the scan, the server will begin listening for queries on any newly discovered interfaces (provided they are allowed by the listen-on configuration), and will stop listening on interfaces that have gone away. If you don't need bind to listen on tun0, just set interface interval to 0. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_hda(freebsd 7.0 rc1) doesn't work on dell latitude D630
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank Staals wrote: [...] | I have a similar problem (also with a D630 ) ; I only get sound when | plugging in a headset or similar. Sound won't work over the internal | speakers. I also tried the oss drivers, without | success though: at the time ( about a month ago ) it even locked up my | system. | | [EMAIL PROTECTED] uname -a | FreeBSD Rena.FStaals.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Fri Dec 21 | 11:48:15 CET 2007 | [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL i386 I have just committed a changeset as 180532 which are essentially quirks that recognize and sets some parameters for D630. With Ariff's latest work on -CURRENT, it should make D630's audio work. If you use -STABLE, please do the following: 1. Checkout /sys/dev/sound from -HEAD, either svn or cvs should work; 2. Do a s,kproc_,kthread_,g replace over the code; 3. Recompile /sys/modules/sound. My plan is to MFC all these changes next week. Please let me know if you have any problems. Cheers, - -- Xin LI <[EMAIL PROTECTED]>http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkh8Di8ACgkQi+vbBBjt66BqnwCguuLtg7mT5Nxn80T2Ci8eNrkw HW0An3m3qhcIZCImGsTQY/FS4/vsH2NX =hrAP -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]"
named and its hourly reports
first, i am not subscribed to teh list .. tooo much volume please use the Reply-To: for reply. i've just upgraded to freebsd v6.2 from a decade of using freebsd v2.2.5-release .. most reliably most stable, by comparison this v6.2 has been a nightmare over this last year .. so many changes so many things different from 2.2.5 stuff that was taken for granted that never tirned up as part of teh ansers to the few questions i'v managed to ask. so frustrating .. moan mode off! named now reports hourly Jul 15 06:55:10 hid named[617]: could not listen on UDP socket: permission denied Jul 15 06:55:10 hid named[617]: creating IPv4 interface tun0 failed; interface ignored Jul 15 07:55:10 hid named[617]: could not listen on UDP socket: permission denied Jul 15 07:55:10 hid named[617]: creating IPv4 interface tun0 failed; interface ignored Jul 15 08:55:10 hid named[617]: could not listen on UDP socket: permission denied Jul 15 08:55:10 hid named[617]: creating IPv4 interface tun0 failed; interface ignored Jul 15 09:55:10 hid named[617]: could not listen on UDP socket: permission denied Jul 15 09:55:10 hid named[617]: creating IPv4 interface tun0 failed; interface ignored Jul i've tried teh hand book, even muddled my way through google, teh only reference that has surfaced is a pointer to the fact the this error message is because named is running in a sandbox ??? d'ont know when that happened but freebsd now runs named from a sandbox .. this machine is a router/gateway and old 486 with a small scsi hdd that is rapidly filling up from this and others, to my mind silly error messages. is there some way to fix thins, is it a hard error, can i run named not in a sandbox, i'm also seeing other errors that seem (to my mind) to be related to this, but i am not sure so i'm keeping my mouth shut untill i can work it out and find teh real culprit .. i have mild brain damage that impinges on my cognitive process, ergo the poor typing (neurological damage) and problems with language/understanding. some pointers would be most appreciated .. i've been struggling with this for aover a year now and do not know where else to go ?? sorry for teh whinge most kind regards and gracious appreciations. jonathan -- powered by .. QNX, OS9 and freeBSD -- http://caamora com au/operating system === appropriate solution in an inappropriate world === ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Change email header .....
On Mon, Jul 14, 2008, Agus wrote: >Hi guys, > >All i wanna do this time is change the mail from: header to another >address...As my system is named after an internal network name and doesnt >resolv from outside my LAN..when i send an email, for instance when a user >registers, they received it with the systems internal address and they cant >reply it cause of course it will get bouncedSo i wanna change the from >header to an address where i have a mail redirection accountI know how >to do it from telnet for instance..its simple..but as i send emails from a >script using the mail program.. > >I basically do cat welcome_msg|mail -s "Welcome..." [EMAIL PROTECTED] > >So i was wondering if there is a way to send this automated emails changing >the header from: >Perhaps theres another program or way...Im open to suggestions... Mutt allows one to specify any headers you like, even being able to tailor them to the recipient. One could also contruct your own headers, and feed it through sendmail: cat << DONE From: [EMAIL PROTECTED] Subject: anything you like Reply-To: [EMAIL PROTECTED] There is a blank line separating this message body from the headers above. Bill DONE || /usr/lib/sendmail [EMAIL PROTECTED] Substitute the appropriate path for sendmail if necessary. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Government spending? I don't know what it's all about. I don't know any more about this thing than an economist does, and, God knows, he doesn't know much. -- Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Calculating disk space with ZFS
Hi all, I'm configuring Amanda over ZFS, with plans for a five 'tape' diskless cycle. When I'm calculating the size of each 'tape', should I divide up my dedicated backup space based on a 'df -h', or a 'zpool list'? Assume that if I go by the 'zpool list' command, I'd like to allocate 1.8TB, divided by five to tapes. Should I use this number, or would it be more appropriate to slice up the space based on the 'df -h' below? I'm assuming the latter, but I'd just like to ask for clarification. amanda# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT storage1.82T 2.86G 1.82T 0% ONLINE - amanda# df -h FilesystemSizeUsed Avail Capacity Mounted on storage 1.3T2.1G1.3T 0%/ devfs 1.0K1.0K 0B 100%/dev Regards, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Old FreeBSD CD's looking for a good home
Hello, I have a large number of FreeBSD distribution CD's that I would like to find a good home for. If anybody is interested in the set, I would be glad to send them to you for the cost of shipping. I have almost every distribution from 2.1.7 up to 7.0. Kim -- Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED] Remote Unix Network Admin, Security, Internet Software Development Tinker Internet Services - Superior FreeBSD-based Web Hosting http://www.tinker.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: options WITNESS and locks
Yony Yossef wrote: Hi all. I'm trying to debug a "spinlock held too long" error. Therefore I thought compiling my kernel with "options WITNESS" would be a good idea. Using the WITNESS kernel I cannot load my driver with any MTX_SPIN mutex. I had to change it all to MTX_DEF since every MTX_SPIN got me this error: panic: lock (network driver) spin mutex does not match earlier (sleep mutex) lock It means that somewhere you are treating a mutex with that name as a sleep mutex and in other places as a spin mutex. WITNESS works on the lock name so this may or may not be a bug. However, default mutexes should be used in most cases anyway (bear in mind that default mutexes will also spin when it makes sense for them to do so). So I changed it all to MTX_DEF, just to see if things will work. Now I can load my driver, but calling ifconfig shows a new crash: mtnic0: Activating port:1 mtnic0: Ethernet address: 00:00:00:00:08:88 mtnic0: Activating port:2 mtnic1: Ethernet address: 00:00:00:00:08:89 lock order reversal: (sleepable after non-sleepable) 1st 0x81379010 MTNIC state semaphore (MTNIC state semaphore) @ mtnic_netdev.c:1855 2nd 0x809eee00 ACPI root bus (ACPI root bus) @ /usr/src/sys/dev/acpica/acpi.c:1022 You are acquiring a lock that is "sleepable" (i.e. legal for consumers to sleep while holding it), after first acquiring another lock that is not sleepable. The danger is that if some code sleeps while holding both the first and second lock, then other code that tries to acquire the first lock will deadlock indefinitely. This is often due to a programming or design error. Kris KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a witness_checkorder() at witness_checkorder+0x559 _sx_xlock() at _sx_xlock+0x32 acpi_alloc_resource() at acpi_alloc_resource+0x9a pci_alloc_resource() at pci_alloc_resource+0x81 resource_list_alloc() at resource_list_alloc+0x17a pci_alloc_resource() at pci_alloc_resource+0x81 bus_alloc_resource() at bus_alloc_resource+0x89 mtnic_start_port() at mtnic_start_port+0x4f1 mtnic_open() at mtnic_open+0xb2 ether_ioctl() at ether_ioctl+0xb5 mtnic_ioctl() at mtnic_ioctl+0x3e in_ifinit() at in_ifinit+0x8d in_control() at in_control+0xc66 ifioctl() at ifioctl+0xea kern_ioctl() at kern_ioctl+0xa3 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b5 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x800824cfc, rsp = 0x7fffe3b8, rbp = 0x7fffee10 --- KDB: enter: witness_checkorder [thread pid 1051 tid 100069 ] Stopped at kdb_enter+0x31: leave db> Can anybody please tell me what is going on here? -Yony ___ 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: freebsd-update says -p3, but i've got -p2
Mark Boolootian wrote: Hi folks, I've done a couple of fresh installs on 7.0-RELEASE today, and subsequently run freebsd-update. freebsd-update reports: The following files will be updated as part of updating to 7.0-RELEASE-p3: /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/bin/dig /usr/bin/host /usr/bin/nslookup /usr/bin/nsupdate /usr/include/netinet/tcp.h /usr/lib/libssh.a /usr/lib/libssh.so.4 /usr/lib/libssh_p.a /usr/sbin/dnssec-signzone /usr/sbin/lwresd /usr/sbin/named /usr/sbin/named-checkconf /usr/sbin/named-checkzone /usr/sbin/named-compilezone /usr/sbin/sshd /usr/src/sys/conf/newvers.sh /usr/src/sys/netinet/tcp.h /usr/src/sys/netinet/tcp_output.c which leads me to conclude I've got -p3, including the BIND update. However 'uname -a' says something else: FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 And although /usr/sbin/named has been updated, it appears not to have been upgraded: $ /usr/sbin/named -v BIND 9.4.2 Thoughts? You've got p3, don't worry. There was no kernel update in p3, hence you got the p2 GENERIC kernel. If you want uname to actually show p3, you will have to recompile your kernel, using something like this (assuming you got the kernel sources installed and intend to keep using GENERIC): cd /usr/src make buildkernel installkernel KERNCONF=GENERIC and then reboot However the only difference will be in the -p number, nothing else so you don't have to do it. FWIW, the /usr/src/sys/conf/newvers.sh contains the -p number you see in uname, and this changes everytime freebsd-update fetches updates - whether they include kernel updates or not. Some people (especially those responsible for large number of machines) will recompile the kernel anyway, so they can easily see their patchlevel using uname. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update says -p3, but i've got -p2
The only thing uname will give you is the currently running kernel. The update must not have changed the kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
On Mon, 14 Jul 2008 14:56:27 -0700 Gary Kline <[EMAIL PROTECTED]> wrote: > You're right of course, and for the most bothersome hundreds > of wav and log files this works: You might also consider adding clear_tmp_enable=yes to rc.conf, and daily_clean_tmps_enable=yes to periodic.conf, to delete old files under /tmp automatically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update says -p3, but i've got -p2
On Mon, 14 Jul 2008 16:35:42 -0700 Mark Boolootian <[EMAIL PROTECTED]> wrote: > which leads me to conclude I've got -p3, including the BIND update. > However 'uname -a' says something else: > > FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed I don't use freebsd-update myself, but as I understand it, the kernel doesn't get modified just to change the versioning infomation, so if an update doesn't affect the kernel, you don't see a change in uname -a. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-update says -p3, but i've got -p2
Hi folks, I've done a couple of fresh installs on 7.0-RELEASE today, and subsequently run freebsd-update. freebsd-update reports: The following files will be updated as part of updating to 7.0-RELEASE-p3: /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/bin/dig /usr/bin/host /usr/bin/nslookup /usr/bin/nsupdate /usr/include/netinet/tcp.h /usr/lib/libssh.a /usr/lib/libssh.so.4 /usr/lib/libssh_p.a /usr/sbin/dnssec-signzone /usr/sbin/lwresd /usr/sbin/named /usr/sbin/named-checkconf /usr/sbin/named-checkzone /usr/sbin/named-compilezone /usr/sbin/sshd /usr/src/sys/conf/newvers.sh /usr/src/sys/netinet/tcp.h /usr/src/sys/netinet/tcp_output.c which leads me to conclude I've got -p3, including the BIND update. However 'uname -a' says something else: FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 And although /usr/sbin/named has been updated, it appears not to have been upgraded: $ /usr/sbin/named -v BIND 9.4.2 Thoughts? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Change email header .....
On Jul 14, 2008, at 4:15 PM, Agus wrote: All i wanna do this time is change the mail from: header to another address... You didn't mention which mail server software you are using, but I'll assume sendmail. Look in /usr/share/sendmail/cf/README for MASQUERADE_AS and entries about masquerade_entire_domain & masquerade_envelope... Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Change email header .....
Hi guys, All i wanna do this time is change the mail from: header to another address...As my system is named after an internal network name and doesnt resolv from outside my LAN..when i send an email, for instance when a user registers, they received it with the systems internal address and they cant reply it cause of course it will get bouncedSo i wanna change the from header to an address where i have a mail redirection accountI know how to do it from telnet for instance..its simple..but as i send emails from a script using the mail program.. I basically do cat welcome_msg|mail -s "Welcome..." [EMAIL PROTECTED] So i was wondering if there is a way to send this automated emails changing the header from: Perhaps theres another program or way...Im open to suggestions... Thanks and cheers, Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
On Mon, Jul 14, 2008 at 02:56:27PM -0700, Gary Kline wrote: > > But as you point out, the followingisthat much more effective. > or at least lesss typing. > > > > > But why do it the hard way? > > > > #!/bin/sh > > /bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1 > > with this, > > > > /bin/rm /tmp/kde-kline/*log > /dev/null 2>&1 The other advantage of the simple version above is that it handles spaces in the file name. The others need a bit more care to make sure spaces are quoted else they will separate arguments in the shell interpreter. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dell's PERC6i
Patrick C wrote: The 6i will work on FreeBSD, however realize that a much better choice for a production machine is a card which "really" supports FreeBSD... just due to the availability and reliability of the tools required for maintaining the system while running. Have you considered SuperMicro machines with 3ware (AMCC) cards? I'm not affiliated either, but it seems to be a great combo. AMCC still supports FreeBSD pretty well, and the cards perform well. I'm using the Perc 6I in production on 2950s with RAID1+0 with SAS drives. Also, the Apache Software Foundation (ASF) is using the same card with ZFS of FreeBSD with SATA drives for svn.apache.org. I won't comment on what card is better or worse, or faster, b/c I don't know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
On Mon, Jul 14, 2008 at 04:09:24PM -0500, David Kelly wrote: > On Mon, Jul 14, 2008 at 01:12:47PM -0700, Gary Kline wrote: > > > > why is this script not finding them? > > > > > > wav=/tmp/kde-kline/\*wav\* > > > > if [ -s $wav ] > > As others have pointed out because if "/tmp/kde-kline/file1.wav > /tmp/kde-kline/file2.wav" is found the -s will fail because $wav isn't a > single file. Or it could be that your escaped wildcards are staying > escaped. > > I use something like this to move files out of a Maildir: > > #!/bin/sh > for i in /tmp/kde-kline/*wav > do > # if nothing or nonsense was found then $i won't exist > if [ -e $i ] > then > echo "Found " $i > /bin/rm $i > fi > done You're right of course, and for the most bothersome hundreds of wav and log files this works: log=/tmp/kde-kline/\*log; wav=/tmp/kde-kline/\*wav\*; for f in $wav do if [ -e $f ] then ###echo "Wav files found"; ls -l $f; /bin/rm ${f}; fi done for f in $log do if [ -e $f ] then ###echo "log files found"; ls -l $f; /bin/rm ${f}; fi done But as you point out, the followingisthat much more effective. or at least lesss typing. > > But why do it the hard way? > > #!/bin/sh > /bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1 with this, > > /bin/rm /tmp/kde-kline/*log > /dev/null 2>&1 thanks much:-) gary > -- > David Kelly N4HHE, [EMAIL PROTECTED] > > Whom computers would destroy, they must first drive mad. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
On Mon, Jul 14, 2008 at 01:12:47PM -0700, Gary Kline wrote: > > why is this script not finding them? > > > wav=/tmp/kde-kline/\*wav\* > > if [ -s $wav ] As others have pointed out because if "/tmp/kde-kline/file1.wav /tmp/kde-kline/file2.wav" is found the -s will fail because $wav isn't a single file. Or it could be that your escaped wildcards are staying escaped. I use something like this to move files out of a Maildir: #!/bin/sh for i in /tmp/kde-kline/*wav do # if nothing or nonsense was found then $i won't exist if [ -e $i ] then echo "Found " $i /bin/rm $i fi done But why do it the hard way? #!/bin/sh /bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1 -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between loading kernel module during boot and after boot manually?
On Monday 14 July 2008 20:29:07 Vincent Barus wrote: > On Tue, Jul 8, 2008 at 8:11 PM, Mel <[EMAIL PROTECTED]> wrote: > > On Tuesday 08 July 2008 16:48:26 Vincent Barus wrote: > >> does anyone have an idea what's the difference or what _could_ be the > >> difference on loading a kernel module during boot or manually? > > > > There's one major difference. File systems aren't mounted at loader > > stage, so any reference to modules/libraries that exist on a different > > partition, will fail. > Right now i have only one partition and the same problem occurs. Other > modules e.g. for sound or the nvidia module work as a charm. > So I think that's not the only difference. > I can live with a module loaded at the end of the boot process/after > login but I don't think that's the real solution. Hmm, I can only guess here. Is the machine booting to xorg? As in, is the nvidia card actually initialized, not just in VGA mode? If so, does it work when it stays in console mode and/or when nvidia.ko is removed from the loaded modules? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
On Monday 14 July 2008 14:47:26 tethys ocean wrote: > pid 835 (httpd), uid 80: exited on signal 4 > pid 743 (httpd), uid 80: exited on signal 4 > pid 741 (httpd), uid 80: exited on signal 4 > pid 1047 (httpd), uid 80: exited on signal 4 > pid 14778 (httpd), uid 80: exited on signal 4 > pid 1043 (httpd), uid 80: exited on signal 4 > pid 739 (httpd), uid 80: exited on signal 4 > pid 769 (httpd), uid 80: exited on signal 4 > pid 1042 (httpd), uid 80: exited on signal 4 > pid 894 (httpd), uid 80: exited on signal 4 > pid 14773 (httpd), uid 80: exited on signal 4 > pid 1027 (httpd), uid 80: exited on signal 4 Aside from the noted problems with one cpu, you are also using miscompiled binaries: $ grep SIGILL /usr/include/sys/signal.h #define SIGILL 4 /* illegal instr. (not reset when caught) */ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
On Monday 14 July 2008 22:12:47 Gary Kline wrote: > people, > > for reasons i don't understand completely, i wind up with > *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk > files. > > why is this script not finding them? > > > wav=/tmp/kde-kline/\*wav\* > > if [ -s $wav ] Hint: this works, if there's only 1 wav file. The way to do it: if test ! -z "$wav"; then for f in $wav; do rm $f done else echo "No wav files" fi -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
Written by Gary Kline on 07/14/08 15:12>> > people, > > for reasons i don't understand completely, i wind up with > *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk > files. > > why is this script not finding them? > > > wav=/tmp/kde-kline/\*wav\* > > if [ -s $wav ] > then > echo "Wav files found"; > ls -l $wav; > > /bin/rm ${wav}; > else > echo "No wav files in /tmp/kde-kline"; > exit 0; > > fi > > do i have to cd to /tmp/kde-kline and examine every file in a > loop? > > tia, > > gary > > Could you give a listing of files you expect to be found and deleted by this script? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
why is this script failing?
people, for reasons i don't understand completely, i wind up with *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk files. why is this script not finding them? wav=/tmp/kde-kline/\*wav\* if [ -s $wav ] then echo "Wav files found"; ls -l $wav; /bin/rm ${wav}; else echo "No wav files in /tmp/kde-kline"; exit 0; fi do i have to cd to /tmp/kde-kline and examine every file in a loop? tia, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MPD5 + dhclient: Problem adding dns and search domain
Hi list, I finally managed to establish a PPTP VPN connection to my employer using mpd5. My problem now is that in order for the setup to work properly I need to supersede search domain and dns'es in "/etc/resolv.conf" either by hand or by editing "dhclient.conf". If I use "dhclient.conf" the VPN stuff is added way too soon, as I don't want to run mpd5 all the time, and consequently do it by hand. A couple of things slow down noticeably when being unable to reach the search domain. I can't imagine I'll have to edit "resolv.conf" by hand every time - also it's being overwritten once in a while anyway - probably by the dhcp daemon. What's a good man to do here?? thanks - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between loading kernel module during boot and after boot manually?
On Tue, Jul 8, 2008 at 8:11 PM, Mel <[EMAIL PROTECTED]> wrote: > On Tuesday 08 July 2008 16:48:26 Vincent Barus wrote: > >> does anyone have an idea what's the difference or what _could_ be the >> difference on loading a kernel module during boot or manually? > > There's one major difference. File systems aren't mounted at loader stage, so > any reference to modules/libraries that exist on a different partition, will > fail. > > -- > Mel > > Problem with today's modular software: they start with the modules >and never get to the software part. > Right now i have only one partition and the same problem occurs. Other modules e.g. for sound or the nvidia module work as a charm. So I think that's not the only difference. I can live with a module loaded at the end of the boot process/after login but I don't think that's the real solution. Regards, Vincent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache 2 in 6.0 jails: Connection refused: connect to listener on0.0.0.0:80
Yes that is what I did. Change the jail Listen directive to have the actual IP address of the jail Chad On Jul 13, 2008, at 11:13 PM, Rudy wrote: Philippe, Ha, I had the same problem in 7.0 jails. :) So, here is a response to your email from 2 years ago: I made this change in httpd.conf and the problem seems gone: -Listen 80 +Listen 208.69.40.119:80 Rudy Your message from 2 years ago: > Hi, > > Every now and then, Apache 2.2.2 starts filling my > httpd-error.log with thousands of lines like: > > [Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused: > connect to listener on 0.0.0.0:80 --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
Pufz I ve check all my server and I ve realize all my server is running only one CPU :( all is 6.3 stable How must I add another CPU on running server. and 7.0 will have to be stable heyoo :D * 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 14 21:59:07 EEST 2008* On Mon, Jul 14, 2008 at 6:38 PM, Jos Chrispijn <[EMAIL PROTECTED]> wrote: > Josh Carroll wrote: > >> Is SMP in GENERIC now in 6.3-STABLE then? >> >> > Nope, you have to add that line to it b4 you compile your Kernel again... > > -- Jos > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nagios - check_by_ssh problem
Solved it: when running check_by_ssh don't use the hostname, but the IP of the host and that takes care of it. Thanks __ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Would ZFS and gmirror work well together in a two-node failover cluster?
Which type of connection do you intend to use for the shared storage JBOD? SAN or direct attached SCSI? Don't forget to change the SCSI On each server, there would be a SATA JBOD attached internally with a 3Ware or Areca card. Which means your two node cluster won't be active/active. You'll have an active node and a failover node. That may be alright or it may not. Right, there would be a primary server,which contains the mounted drives and the failover, where only the ggated and gmirror see the drives (until a primary failure occurs and presumably something like heartbeat would then mount these drives and take over as the new primary). Now if we come back to the problem at hand, mainly using zfs under gmirror. I've never heard of anyone using this. It does sound a bit strange to me since both zfs and gmirror will do mirroring. I would gmirror would be doing mirroring, but ZFS would be doing RAIDZ2. So altogether it's RAIDZ2 + RAID 1. Under Linux, such an arrangement is fairly easy to do with an ordinary filesystem and the local RAID would be handled at another layer, either in hardware or in software with md. DRBD would do the mirroring. -- Maurice Volaski, [EMAIL PROTECTED] Computing Support, Rose F. Kennedy Center Albert Einstein College of Medicine of Yeshiva University ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
options WITNESS and locks
Hi all. I'm trying to debug a "spinlock held too long" error. Therefore I thought compiling my kernel with "options WITNESS" would be a good idea. Using the WITNESS kernel I cannot load my driver with any MTX_SPIN mutex. I had to change it all to MTX_DEF since every MTX_SPIN got me this error: panic: lock (network driver) spin mutex does not match earlier (sleep mutex) lock So I changed it all to MTX_DEF, just to see if things will work. Now I can load my driver, but calling ifconfig shows a new crash: mtnic0: Activating port:1 mtnic0: Ethernet address: 00:00:00:00:08:88 mtnic0: Activating port:2 mtnic1: Ethernet address: 00:00:00:00:08:89 lock order reversal: (sleepable after non-sleepable) 1st 0x81379010 MTNIC state semaphore (MTNIC state semaphore) @ mtnic_netdev.c:1855 2nd 0x809eee00 ACPI root bus (ACPI root bus) @ /usr/src/sys/dev/acpica/acpi.c:1022 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a witness_checkorder() at witness_checkorder+0x559 _sx_xlock() at _sx_xlock+0x32 acpi_alloc_resource() at acpi_alloc_resource+0x9a pci_alloc_resource() at pci_alloc_resource+0x81 resource_list_alloc() at resource_list_alloc+0x17a pci_alloc_resource() at pci_alloc_resource+0x81 bus_alloc_resource() at bus_alloc_resource+0x89 mtnic_start_port() at mtnic_start_port+0x4f1 mtnic_open() at mtnic_open+0xb2 ether_ioctl() at ether_ioctl+0xb5 mtnic_ioctl() at mtnic_ioctl+0x3e in_ifinit() at in_ifinit+0x8d in_control() at in_control+0xc66 ifioctl() at ifioctl+0xea kern_ioctl() at kern_ioctl+0xa3 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b5 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x800824cfc, rsp = 0x7fffe3b8, rbp = 0x7fffee10 --- KDB: enter: witness_checkorder [thread pid 1051 tid 100069 ] Stopped at kdb_enter+0x31: leave db> Can anybody please tell me what is going on here? -Yony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: weird restarts when compiling
Aggelidis Nikos wrote: The voltages as the BIOS reports them: Vcore = 1.258 V +3.30 V = 3.274V +5.00 V = 5.121V +12.00 V = 11.870V Not very useful here, since these may change under load I am afraid. i hope by the end of the day i will be able to test the system with a 1100watt Tagan PSU {a friend just bought a monster pc!}. Nice, this will help you eliminate one factor. I will then run: make buildworld... -nikos PS: i can interup the process of builworld without causing any problems to the system correct? Certainly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading from p2 to p3 on 7.0
Schiz0 wrote: Hey, I'm running 7.0-RELEASE-p2 on a production box. I'm aware that -p3 was released, which is a security patch for BIND. Is there any way to compile and install the changed files without restarting the system? I do run BIND as a caching daemon, so I would like to keep it up to date. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You do not have to restart the system, this is not a kernel update (and FreeBSD is not windows ;) ). It is sufficient to restart bind (if you are actually using it): /etc/rc.d/named restart will do it. As for getting the update, just do: freebsd-update fetch install ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading from p2 to p3 on 7.0
On Mon, Jul 14, 2008 at 11:42:32AM -0400, Schiz0 wrote: > Hey, > > I'm running 7.0-RELEASE-p2 on a production box. I'm aware that -p3 was > released, which is a security patch for BIND. Is there any way to > compile and install the changed files without restarting the system? I > do run BIND as a caching daemon, so I would like to keep it up to > date. > > Thanks. Check http://security.freebsd.org/advisories/FreeBSD-SA-08:06.bind.asc section "V. Solution" for instructions. Or you could just use freebsd-update and restart bind afterwards. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading from p2 to p3 on 7.0
Hey, I'm running 7.0-RELEASE-p2 on a production box. I'm aware that -p3 was released, which is a security patch for BIND. Is there any way to compile and install the changed files without restarting the system? I do run BIND as a caching daemon, so I would like to keep it up to date. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
Josh Carroll wrote: Is SMP in GENERIC now in 6.3-STABLE then? Nope, you have to add that line to it b4 you compile your Kernel again... -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: weird restarts when compiling
The voltages as the BIOS reports them: Vcore = 1.258 V +3.30 V = 3.274V +5.00 V = 5.121V +12.00 V = 11.870V i hope by the end of the day i will be able to test the system with a 1100watt Tagan PSU {a friend just bought a monster pc!}. I will then run: make buildworld... -nikos PS: i can interup the process of builworld without causing any problems to the system correct? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
Josh Carroll wrote: He is already running with SMP, look at this part of his dmesg: ad10: 343399MB at ata5-master SATA300 ad12: 343399MB at ata6-master SATA300 acd0: DVDR at ata7-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! His problem lies elsewhere I'm afraid... Is SMP in GENERIC now in 6.3-STABLE then? I don't know, mptable looks fine, as does dmesg, but hw.ncpu is 1 - very odd. Josh 6.X has a GENERIC and an SMP prebuilt kernel on CD, and I believe sysinstall selects the correct one to install as default. Having said that, I always compile my own kernel very soon after the basic install and I can't remember more specifics. But dmesg would not lie. Another good indication is to see if there is a "C" column in top. Then you are definitely running SMP. PS: Ivan just posted, noticing there are several dmesg outputs in the OP post. We' ve been looking at different configurations :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
tethys ocean wrote: > Hi all > > I have new server(webserver) quad core but performans is not well (according > our old webserver pent IV ). Maybe its performans depends on our web page > sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. There are a bazillion factors that can influence performance on web servers. If you use PHP, do you use APC or similar pre-compiler? Do you use memcached? If you use a database (most likely MySQL or PostgreSQL) is the database optimized in the same way? In case of PostgreSQL, do you VACUUM the database regularly? You need to give more information about performance "before" and "after". The CPU you are using is very fast and FreeBSD can use it very well, especially FreeBSD 7.x. It looks like you posted several different dmesg boot message buffers; The first looks like a recent 6_STABLE or 7.0-RELEASE and uses all 4 CPUs. The others are 6.3 with a single-processor kernel. You also seem to have a problem with apache (signal 4). If you're using mod_php, you might have a problem there, most likely with the ordering of extensions in extensions.ini - search for it, it's a common problem. > > > 1-I wonder in my TOP output can I see all CPU or not? > > > last pid: 19887; load averages: 0.13, 0.04, 0.01 up 2+21:18:18 > 16:53:16 > 48 processes: 1 running, 47 sleeping > CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > Mem: 119M Active, 352M Inact, 126M Wired, 48K Cache, 112M Buf, 1401M Free > Swap: 5120M Total, 5120M Free > > > and also another question is > > 2-FreeBSD 7.0 has got default multiprocessor generic kernel??? since during > installations only one generic kernel shown As others said, the default kernel in 7.x and all newer releases is SMP. > > CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (2499.97-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x10677 Stepping = 7 > > Features=0xbfebfbff > > Features2=0x8e3fd> > AMD Features=0x2010 > AMD Features2=0x1 > Cores per package: 4 > real memory = 2146959360 (2047 MB) > avail memory = 2091646976 (1994 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 04:43:12) > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_hpet0: iomem 0xfed0-0xfed003ff on > acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > uhci0: port 0xc800-0xc81f irq 16 at device > 26.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xc880-0xc89f irq 21 at device > 26.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xcc00-0xcc1f irq 18 at device > 26.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem 0xfbfffc00-0xfbff irq 18 > at device 26.7 on pci0 > ehci0: [GIANT-LOCKED] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub3: 6 ports with 6 removable, self powered > pci0: at device 27.0 (no driver attached) > pcib2: irq 17 at device 28.0 on pci0 > pci4: on pcib2 > pcib3: irq 17 at device 28.4 on pci0 > pci3: on pcib3 > atapci0: port > 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem > 0xfeafe000-0xfeaf irq 16 at device 0.0 on pci3 > atapci0: AHCI called from vendor specific driver > atapci0: AHCI Version 01.00 controller with 2 ports detected > ata2: on atapci0 > ata3: on atapci0 > ata4: on atapci0 > pcib4: irq 16 at device 28.5 on pci0 > pci2: on pcib4 > pci2: at device 0.0 (no driver attached) > uhci3: port 0xc080-0xc09f irq 23 at device > 29.0 on pci0 > uhci3: [GIANT-LOCKED] > usb4: on uhci3 > usb4: USB revision 1.0 > uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub4: 2 ports with 2 removable, self powered > uhci4: port 0xc400-0xc41f irq 19 at device > 29.1 on pci0 > uhci4: [GIANT-LOCKED] > usb5: on uhci4 > usb5: USB
Re: Would ZFS and gmirror work well together in a two-node failover cluster?
> I am looking to put together a two-node high-availability cluster > where each node has identical data storage consisting of a set of > internal data drives (separate from the boot drive). I want ZFS to > manage the drives as a JDBOD in a RAIDZ2 configuration. Thus, if an > individual drive misbehaves or fails, ZFS detects and handles the > fault. > > But I'm also looking to mirror this entire setup in real time to a > second identical server. > > Basically, my question is can this work well on FreeBSD while taking > full advantage of ZFS? > > Specifically, my understanding is that the only way to handle the > real time mirror is with gmirror and ggated, but it's not clear how > gmirror would interact with ZFS. > > I am assuming that gmirror operates only on individual drives, so if > I had a set of 24 drives on each server, there would be 24 mirrored > drive pairs. > > One concern I have is that this setup could run into trouble with > gmirror's potentially sabotaging ZFS's RAIDZ2. For example, when a > drive starts failing, won't gmirror see it before ZFS does and take > the unfavorable action of substituting the corresponding drive in the > failover server in subsequent I/O, leaving ZFS's RAIDZ2 out of the > loop? > > This is just one particular scenario, but in general, it's not > entirely clear that it's possible to have fine-grained control of > when, how much and in what direction gmirror manages synchronization > among drive pairs. Hello Maurice, Which type of connection do you intend to use for the shared storage JBOD? SAN or direct attached SCSI? Don't forget to change the SCSI initiator ID on one of the nodes if you go the direct attached SCSI road. I had this setup running back in 1999 with two Solaris boxes using Solstice Disk Suite with shared disks. Both nodes knew about the existance of the other and hence it worked quite well. But I don't know if it can work with two FreeBSD nodes? Now for the filesystem choice, keep in mind that ZFS is not a native cluster, distributed, or parallel file system and cannot provide concurrent access from multiple hosts as ZFS is a local file system. Which means your two node cluster won't be active/active. You'll have an active node and a failover node. That may be alright or it may not. Depends on your application, how deep your pockets are and your the level of risk your organization is willing to live with. You might want to take a look at clustered file systems for your setup. Check out Lustre (http://wiki.lustre.org/) or OpenGFS (http://opengfs.sourceforge.net/) for instance. If your cluster requires mostly reads and not much write, check out OpenAFS (http://www.openafs.org/) which is a distributed filesystem. You could always use NFS too, but then it depends on where you want to deploy the cluster, as NFS is rather hard to secure. Now if we come back to the problem at hand, mainly using zfs under gmirror. I've never heard of anyone using this. It does sound a bit strange to me since both zfs and gmirror will do mirroring. I would advise to test and retest very carefully before you go into production with such a setup. If you do try it, I'd be interested in reading what you've tried and what conclusions you came to. Good luck! HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
> He is already running with SMP, look at this part of his dmesg: > > ad10: 343399MB at ata5-master SATA300 > ad12: 343399MB at ata6-master SATA300 > acd0: DVDR at ata7-master SATA150 > SMP: AP CPU #1 Launched! > SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > > His problem lies elsewhere I'm afraid... Is SMP in GENERIC now in 6.3-STABLE then? I don't know, mptable looks fine, as does dmesg, but hw.ncpu is 1 - very odd. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
Josh Carroll wrote: I'm sorry, I completely missed that you were running 6.3 and not a 7.x release. You are running the GENERIC kernel then, and while the processors are visible, it's only using one since you are not running with SMP support. You can build the SMP kernel (basically, GENERIC + options needed for SMP) by doing the following: cd /usr/src make kernel KERNCONF=SMP Then reboot, and it should pick up the newly installed kernel with SMP support. Note that this backs up your old kernel to /boot/kernel.old, so if the new one fails to boot, at the beastie menu, you can boot with the old kernel if necessary. Josh He is already running with SMP, look at this part of his dmesg: ad10: 343399MB at ata5-master SATA300 ad12: 343399MB at ata6-master SATA300 acd0: DVDR at ata7-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! His problem lies elsewhere I'm afraid... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: saslauthd on AMD64
On Mon, 14 Jul 2008, Yuri Pankov wrote: On Sun, Jul 13, 2008 at 04:58:56PM +, Duane Hill wrote: On Sun, 13 Jul 2008, Martin Schweizer wrote: Hello Duane Do you have some inputs (config files etc.)? $ ls -l /usr/local/lib/sasl2/ -rw-r--r-- 1 root wheel 26 Jun 17 22:11 Sendmail.conf -rw-r--r-- 1 root wheel 22834 Jun 11 19:16 libcrammd5.a -rwxr-xr-x 1 root wheel815 Jun 11 19:16 libcrammd5.la lrwxr-xr-x 1 root wheel 15 Jun 11 19:16 libcrammd5.so -> libcrammd5.so.2 -rwxr-xr-x 1 root wheel 24482 Jun 11 19:16 libcrammd5.so.2 -rw-r--r-- 1 root wheel 63976 Jun 11 19:16 libdigestmd5.a -rwxr-xr-x 1 root wheel838 Jun 11 19:16 libdigestmd5.la lrwxr-xr-x 1 root wheel 17 Jun 11 19:16 libdigestmd5.so -> libdigestmd5.so.2 -rwxr-xr-x 1 root wheel 57212 Jun 11 19:16 libdigestmd5.so.2 -rw-r--r-- 1 root wheel 20046 Jun 11 19:16 liblogin.a -rwxr-xr-x 1 root wheel809 Jun 11 19:16 liblogin.la lrwxr-xr-x 1 root wheel 13 Jun 11 19:16 liblogin.so -> liblogin.so.2 -rwxr-xr-x 1 root wheel 20895 Jun 11 19:16 liblogin.so.2 -rw-r--r-- 1 root wheel 19894 Jun 11 19:16 libplain.a -rwxr-xr-x 1 root wheel809 Jun 11 19:16 libplain.la lrwxr-xr-x 1 root wheel 13 Jun 11 19:16 libplain.so -> libplain.so.2 -rwxr-xr-x 1 root wheel 20749 Jun 11 19:16 libplain.so.2 -rw-r--r-- 1 root wheel 68 Jun 17 15:17 smtpd.conf $ cat /usr/local/lib/sasl2/smtpd.conf pwcheck_method: saslauthd mechlist: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 $ cat /usr/local/etc/saslauthd.conf ldap_servers: ldap://ldap.example.com ldap_bind_dn: [EMAIL PROTECTED] ldap_bind_pw: password ldap_search_base: cn=%d ldap_filter: mail=%u ldap_timeout: 60 ldap_time_limit: 60 Really just a guess as you are using LDAP. Try the attached patch and rebuild cyrus-sasl2-saslauthd. If it doesn't help, try rebuilding sasl* and openldap-client using WITH_DEBUG defined and post backtrace. Thanks much! It works now. -d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
>> > I have new server(webserver) quad core but performans is not well >> > (according >> > our old webserver pent IV ). Maybe its performans depends on our web >> > page >> > sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. I'm sorry, I completely missed that you were running 6.3 and not a 7.x release. You are running the GENERIC kernel then, and while the processors are visible, it's only using one since you are not running with SMP support. You can build the SMP kernel (basically, GENERIC + options needed for SMP) by doing the following: cd /usr/src make kernel KERNCONF=SMP Then reboot, and it should pick up the newly installed kernel with SMP support. Note that this backs up your old kernel to /boot/kernel.old, so if the new one fails to boot, at the beastie menu, you can boot with the old kernel if necessary. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nagios - check_by_ssh problem
> From: Andrew D <[EMAIL PROTECTED]> > To: Car Laza <[EMAIL PROTECTED]> > Sent: Monday, 14 July, 2008 2:41:00 PM > Subject: Re: Nagios - check_by_ssh problem > > Car Laza wrote: > > Hello, > > > > Summary: running check_by_ssh command, but it is still failing. > > > > What do the logs at the server end say? The sshd server is a solaris machine. Modifed LogLevel directive in /etc/ssh/sshd_config to DEBUG, restarted sshd, but I'm still not getting anything in the logs. What else can I try ? Thanks, Alex __ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
> I have new server(webserver) quad core but performans is not well (according > our old webserver pent IV ). Maybe its performans depends on our web page > sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. Can you provide some more detail here? How is it slower? Serving less clients? The load (from your top snapshot) is nearly 0 and there isn't much of a memory load on the box either. > 1-I wonder in my TOP output can I see all CPU or not? > > > last pid: 19887; load averages: 0.13, 0.04, 0.01 up 2+21:18:18 > 16:53:16 > 48 processes: 1 running, 47 sleeping > CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > Mem: 119M Active, 352M Inact, 126M Wired, 48K Cache, 112M Buf, 1401M Free > Swap: 5120M Total, 5120M Free Run top with the -S option, and you will see the "idle" process for each core/CPU. The CPU: line there is an aggregate of all processors in the system. If you're in doubt: sysctl hw.ncpu Or run: mptable > 2-FreeBSD 7.0 has got default multiprocessor generic kernel??? since during > installations only one generic kernel shown Yes, 7.0 includes SMP by default in GENERIC. > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 There you go, it's seeing all 4 cores. The system is seeing all of them, so your real question is likely - why is this not performing as well as my old box? We need more details to answer that. Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Nagios - check_by_ssh problem
Hello, Summary: running check_by_ssh command, but it is still failing. I'm not subscribed to this list, so please include my address explicitly in your replies. :) OS: FreeBSD 7.0-STABLE grep nag /etc/passwd nagios:*:181:181:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin Command being run as root: su -m nagios -c "/usr/local/libexec/nagios/check_by_ssh -t 60 -l nagios -H bifllive.stellatravel.co.uk -C /usr/nagios/bin/check-ati.sh -i /var/spool/nagios/boxlive.ssh-key" define command { command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -t $ARG1$ -l $ARG2$ -C $ARG3$ -i $ARG4$ } define service{ use generic-service nameATI check service_description ATI feed check_command check_by_ssh!60!nagios!/usr/nagios/bin/check-ati.sh!/var/spool/nagios/boxlive.ssh-key host_name boxlive normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until its final/hard state is determine notification_optionsc,r } /var/spool/nagios is owned by nagios user, see: [EMAIL PROTECTED] /var/spool/nagios]# ls -la .ssh total 6 drwx-- 2 nagios nagios 512 Jul 14 13:32 . drwxrwxr-x 6 nagios nagios 512 Jul 14 14:01 .. -rw-r--r-- 1 nagios nagios 617 Jul 14 13:32 known_hosts boxlive.ssh-key was generated by me, and it works. When running this command, as above, it works perfectly, yet when running from nagios, as a service check, I get: Remote command execution failed: Host key verification failed. So, on the remote host: [boxlive@/usr/nagios/.ssh]# pwd /usr/nagios/.ssh [boxlive@/usr/nagios/.ssh]# ls -la total 10 drwx-- 2 nagios other512 May 28 11:21 . drwxr-xr-x 4 nagios other512 May 28 13:30 .. -rw-r--r-- 1 nagios other 1194 Jul 11 09:35 authorized_keys -rw--- 1 nagios other887 May 28 11:10 id_rsa What am I doing wrong ? How do I get this to work correctly ? Nagios was installed from /usr/ports/net-mgmt/nagios-devel, which is nagios-3.0.3. Thank you for your time, Lazar __ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core(TM)2 Quad and TOP output
tethys ocean wrote: Hi all I have new server(webserver) quad core but performans is not well (according our old webserver pent IV ). Maybe its performans depends on our web page sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. 1-I wonder in my TOP output can I see all CPU or not? last pid: 19887; load averages: 0.13, 0.04, 0.01 up 2+21:18:18 16:53:16 48 processes: 1 running, 47 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 119M Active, 352M Inact, 126M Wired, 48K Cache, 112M Buf, 1401M Free Swap: 5120M Total, 5120M Free You can. There is a "C" column in the output of top, indicating which process runs in which CPU. Your dmesg already shows all your CPUs are activated. and also another question is 2-FreeBSD 7.0 has got default multiprocessor generic kernel??? since during installations only one generic kernel shown In 6.X versions, there were two different GENERIC kernels, one for SMP, the other for single CPU. Starting with 7.0, there is only one GENERIC kernel that supports both SMP and single processor systems. AFAIK, in 7.0 using an SMP-enabled kernel in a single CPU system does not introduce any real performance penalty, so no need to recompile just for this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Core(TM)2 Quad and TOP output
Hi all I have new server(webserver) quad core but performans is not well (according our old webserver pent IV ). Maybe its performans depends on our web page sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. 1-I wonder in my TOP output can I see all CPU or not? last pid: 19887; load averages: 0.13, 0.04, 0.01 up 2+21:18:18 16:53:16 48 processes: 1 running, 47 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 119M Active, 352M Inact, 126M Wired, 48K Cache, 112M Buf, 1401M Free Swap: 5120M Total, 5120M Free and also another question is 2-FreeBSD 7.0 has got default multiprocessor generic kernel??? since during installations only one generic kernel shown CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (2499.97-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x10677 Stepping = 7 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x2010 AMD Features2=0x1 Cores per package: 4 real memory = 2146959360 (2047 MB) avail memory = 2091646976 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 04:43:12) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed0-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0xc800-0xc81f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc880-0xc89f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xcc00-0xcc1f irq 18 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfbfffc00-0xfbff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci4: on pcib2 pcib3: irq 17 at device 28.4 on pci0 pci3: on pcib3 atapci0: port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfeafe000-0xfeaf irq 16 at device 0.0 on pci3 atapci0: AHCI called from vendor specific driver atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 pcib4: irq 16 at device 28.5 on pci0 pci2: on pcib4 pci2: at device 0.0 (no driver attached) uhci3: port 0xc080-0xc09f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] usb4: on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xc400-0xc41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] usb5: on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered uhci5: port 0xc480-0xc49f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] usb6: on uhci5 usb6: USB revision 1.0 uhub6: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xfbfff800-0xfbfffbff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub7: 6 ports with 6 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 rl0: port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 18 at device 2.0 on pci5 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:e0:4c:f0:bf:a5 fwohci0: port 0xec00-0xec7f mem 0xfebff000-0xfebff7ff irq 16 at device 3.0 on pci5 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:1e:8c:00:01:25:6a:b7 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci
Make Free Calls Worldwide - Invitation From Mohd. Aijaz
Dear TringMe User, Mohd. Aijaz has invited you to join TringMe and make worldwide calls FREE from your mobile and web. TringMe is the simplest way make and receive worldwide calls from the web for FREE* just click & call !! No software to download, No software to install. Break free from the traditional telephony paradigm and embrace the next generation telephony: - Make and receive calls between Web, Instant Messengers, Phones, SIP URIs etc !! - Retrieve voicemails from any device or directly from the web. Have it mailed to you as text !! Reduce your dependency on the expensive cellular minutes - Access the same set services from TringMe's powerful MobileVoIP client - Use WiFi, 2.5G/3G data networks to make and receive cheap calls, retrieve voicemails and much more !! Join TringMe by clicking on the following link (or copy/paste in your browser) http://tringme.com/myinvite.php?e=freebsd-questions%40freebsd.org&f=13847-2483659572&ic=4c7e0a380ff8aa1a Feel free to write to us at [EMAIL PROTECTED] if you need any assistance. Regards, TringMe Support http://www.tringme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using RocketRAID 1810A (hptmv) as an ordinary controller?
I'd like to use my HighPoint RocketRAID 1810A as an ordinary SATA controller without any RAID functionality. This works fine out of the box for all sectors of the disk except the last ten, which are hidden. The controller is identified as: hptmv0: mem 0xfbf0-0xfbf7 irq 18 at device 2.0 on pci1 RocketRAID 182x SATA Controller driver Version v1.12 (Sep 17 2007 18:32:12) I believe the 1810A is identical to the 1820A, except that it has four channels less. There's a new driver out (v1.16, CVS has v1.12) but I don't think the changes are relevant to the issue at hand. The setup I'm using is GELI inside a GEOM label, that is: glabel label mylabel /dev/da1 geli init ... /dev/label/mylabel Due to the fact that the hptmv driver hides the last ten sectors I can't move disks between the 1810A and an ordinary controller: a disk configured on an ordinary controller will have its metadata (and more) hidden, and a disk configured on the 1810A will have its "last two sectors" (one for the label, one for GELI) ten sectors away from the end of the disk. Questions: 1. Looking at the src/sys/dev/hptmv/array.h there's a SAVE_FOR_RAID_INFO which is set to 0 if ARRAY_V2_ONLY is defined, otherwise it's set to 10. The only other references to ARRAY_V2_ONLY are in gui_lib.c, where the capacity is once again reduced by 10 sectors if the option is in place. There is a SUPPORT_ARRAY option, but it doesn't seem to affect SAVE_FOR_RAID_INFO. Compiling with '#undef SUPPORT_ARRAY' seems to be terribly broken and I don't know how to fix it. Some of the errors can be fixed with a little '#ifdef SUPPORT_ARAY':ing, others are less obvious to me. I also tried compiling with ARRAY_V2_ONLY=1 and also with SAVE_FOR_RAID_INFO=0 forced, but neither seems to work, the capacity is still ten sectors short. Anyone have ANY ideas on how to get access to the last sectors when the disk is connected to the 1810A, or is it prevented by the hardware? It's OK if it sacrifices RAID functionality for all channels. 2. If a disk has been formatted while connected to the 1810A, how would one use it in a different controller, one which does not hide the last ten sectors? The disk has no bsdlabel. I suppose I could chain ten glabels, but that's just silly. 3. Should it be impossible to access the last sectors using 1810A, do you have any recommendations of an ordinary SATA controller, or a RAID one which optionally does not hide any sectors, and works fine with 1TB disks on FreeBSD (ideally on 6.x)? All ideas and comments are appreciated. Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Windows Firefox in Wine: Ugly Fonts
Any chance you can mail me a screenshot so I can have a look see? On Sun, Jul 13, 2008 at 6:00 PM, Razmig K <[EMAIL PROTECTED]> wrote: > Ross Cameron a écrit : > >> You have two options to resolve this issue: >> Copy the fonts folder over from a WinXP/Vista install to the relevant >> wine bottle.or >> Install the winetricks tool and let it install all the Windows fonts for >> you. >> >> Hope this helps. >> > > Unfortunately neither works; I copied the fonts directory in a Windows XP > installation to .wine/drive_c/windows/ to no avail, removed it and used > winetricks to install allfonts (corefonts, tahoma, liberation) with similar > results. > Further suggestions? > > > //rk > -- Vince Lombardi - "Winning is habit. Unfortunately, so is losing." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"