Re: command line sound player?
On Thu, 24 Nov 2005 02:48:27 +0100 (CET) Wojciech Puchar <[EMAIL PROTECTED]> wrote: > look at ports/audio/wavplay Plays a sound - and that's it. Exactly what I wanted. Thanks! PS - I knew this existed, but could not find it on Freshports. I had no idea it was in my own ports. -- -Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How the heck do you burn a VCD?
best way to burn this. with the following: burncd -f /dev/acd1 -d vcd star_wreck_in_the_pirkinning_subtitled_xvid.avi you must first prepare VCD image - use vcdimager from ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to add a language to gtkspell
I use gtkspell in combination with sylpheed. I can choose from 20 different English dictionaries that, apparently, come with the package. I would like to add Dutch (just 1 will do), but have no idea how this can be done. Note that I do not want to make the entire OS bilingual - I just want to enable gtkspell to use the Dutch language. thanks, -- Johan Spee ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kernel panic question
i have 4.11-RELEASE-p13 on smp machine i've tested it with memtest and cpuburn for a day but with site with simple perl scripts it crashes every hour with errors: Nov 23 14:27:44 /kernel: panic: lockmgr: non-zero exclusive count Nov 23 14:33:27 /kernel: panic: pmap_release: non ptd page Nov 23 21:19:14 /kernel: panic: vm_page_free: freeing free page Nov 23 23:43:23 /kernel: panic: lockmgr: pid 43952, not exclusive lock holder -1 unlocking Nov 24 01:09:10 /kernel: panic: vm_page_remove(): page not found in hash i changed the memory but it didn't help tell me please -- is it problem with hadrware or i have to upgrade to 5 or 6 release or smth? thanks here is my dmesg: vm_page_free: pindex(67), busy(0), PG_BUSY(1), hold(0) panic: vm_page_free: freeing free page mp_lock = 0101; cpuid = 1; lapic.id = 0100 boot() called on cpu#1 syncing disks... 70 1 1 1 1 1 1 1 5 system full cpu_reset_proxy: Grabbed mp lock for BSP cpu_reset_proxy: Stopped CPU 1 Copyright (c) 1992-2005 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 4.11-RELEASE-p13 #1: Fri Nov 18 13:23:58 MSK 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/KU Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 3.06GHz (1600.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff real memory = 1073676288 (1048512K bytes) avail memory = 1041809408 (1017392K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee0 io0 (APIC): apic id: 7, version: 0x00178020, at 0xfec0 io1 (APIC): apic id: 8, version: 0x00178020, at 0xfec82000 io2 (APIC): apic id: 9, version: 0x00178020, at 0xfec82400 Preloaded elf kernel "kernel" at 0xc0308000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00f7980 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 19 -> irq 9 IOAPIC #0 intpin 18 -> irq 10 IOAPIC #0 intpin 17 -> irq 11 pci0: on pcib0 pcib1: at device 4.0 on pci0 pci2: on pcib1 pci2: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci2 IOAPIC #2 intpin 0 -> irq 16 IOAPIC #2 intpin 1 -> irq 17 pci4: on pcib2 em0: port 0xb800-0xb83f mem 0xefdc-0xefdd irq 16 at device 2.0 on pci4 em0: Speed:N/A Duplex:N/A em1: port 0xbc00-0xbc3f mem 0xefde-0xefdf irq 17 at device 3.0 on pci4 em1: Speed:N/A Duplex:N/A pci2: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci2 IOAPIC #1 intpin 2 -> irq 18 IOAPIC #1 intpin 3 -> irq 19 pci3: on pcib3 ahc0: port 0xac00-0xacff mem 0xefcff000-0xefcf irq 18 at device 6.0 on pci3 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xa800-0xa8ff mem 0xefcfe000-0xefcfefff irq 19 at device 6.1 on pci3 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pci0: at 29.0 irq 2 pci0: at 29.1 irq 9 pcib4: at device 30.0 on pci0 pci1: on pcib4 pci1: at 9.0 irq 10 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xff00-0xff0f,0-0x3,0-0x7,0-0x3,0-0x7 irq 10 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 11 orm0: at iomem 0xc-0xc7fff,0xcd800-0xcefff,0xcf000-0xd07ff on isa0 pmtimer0 on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, unlimited logging SMP: AP CPU #1 Launched! acd0: MODE_SENSE_BIG command timeout - resetting ata0: resetting devices .. done acd0: DVD-ROM at ata0-master PIO4 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) WARNING: / was not properly dismounted em0: Link is up 100 Mbps Full Duplex panic: lockmgr: pid 43952, not exclusive lock holder -1 unlocking mp_lock = 0001; cpuid = 0; lapic.id = boot() called on c
chinput or others...
Anybody can point me to the right direction regarding multi-language input in X11? I've installed chinput3 from port but lost on how to use it. -- Yours sincerely, Owen Jeremiah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade a firmware under FreeBSD
Hello Since a long time I've got a problem with my burner which is : cd0: . Cdrecord writes something like: "cannot load media" while there is a media inside which works find on another burner. So now I decided to use the last chance: the firmware. I found a newer than mine on the constructor website. The matter is that it's a .exe Does anyone know if it's possible in any way to upgrade a firmware under freebsd? Thx -- Powered by FreeBSD 6.O http://www.freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP stopped working :(
On Sun, Nov 20, 2005 at 09:31:32PM -0500, Matt Singerman wrote: > Hi, > > I am going to try a make clean and see how that works. I already tried it, > though, so I am not too hopeful at this point. > > The fact that sq. mail isn't loading is the very problem. PHP page aren't > working correctly. > > I am not seeing any relevant errors in httpd-errors. PHP 4.4.1 had a problem with Squirrelmail, check there: freebsd-questions@freebsd.org http://squirrelmail.org/ "PHP developers released PHP 4.4.1 version on 2005-10-31. Security fixes introduced bug, which affects three SquirrelMail functions. If your SquirrelMail install does not use server side sorting, PHP bug can create infinite loop in message display. If you are using PHP 4.4.1, you should update it to 4.4.x-dev or apply patch." Cheers, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using ifconfig to change channels using FreeBSD 6.0 on a Netgear WG311v3 wireless NIC
Hi, I have compiled the FreeBSD driver from the Windows 2000 files by running: ndisgen WG311v3.INF WG311v3.sys After working through the simple wizard and selecting the defaults, I ended up with a kernel module called: WG311v3_sys.ko Then I loaded it by running: kldload ndis kldload WG311v3_sys.ko I could then run: wicontrol -i ndis0 to see the following: NIC serial number: [ ] Station name: [ asc1 ] SSID for IBSS creation: [ my_net ] Current netname (SSID): [ ] Desired netname (SSID): [ my_net ] Current BSSID: [ 00:00:00:00:00:00 ] Channel list: [ 3fff ] IBSS channel: [ 3 ] Current channel:[ 1 ] Comms quality/signal/noise: [ 0 0 0 ] Promiscuous mode: [ Off ] Intersil-Prism2 based card: [ 1 ] Port type (1=BSS, 3=ad-hoc):[ 1 ] MAC address:[ 00:0f:b5:85:87:f0 ] TX rate (selection):[ 0 ] TX rate (actual speed): [ 1 ] RTS/CTS handshake threshold:[ 2346 ] Create IBSS:[ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 0 ] Encryption keys:[ ][ ][ ][ ] Now, if I try changing the current channel by using this command: ifconfig ndis0 channel 11 All this does is change the IBSS channel to 11, not the current channel. What am I missing here? Cheers, Paul Hamilton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
QUARANTINED: Returned mail: see transcript for details
The message "Returned mail: see transcript for details" from Bounced mail, sent on 11/24/2005 14:47 was quarantined because it contained either an executable file, a batch file or a screen saver file. All of these types of attachments are considered security risks. Please consult your mail administrator who can release the message. This message was checked by MailScan for WorkgroupMail. www.workgroupmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
on FreeBSD 5.3 live CD i have 100 not 2000 times per second isn't it too much?! Yes it is. That's why I have kern.hz="100" in my /boot/loader.conf . -- do you know why they set it too high in 6.0? there must be a reason! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
540 534 99 pdwak 2000 cpu0: time 16825 pdpgs 2000 cpu1: time on FreeBSD 5.3 live CD i have 100 not 2000 times per second isn't it too much?! No, it's just a consequence of HZ=1000 instead of HZ=100. I've so why 2000 not 1000? 2000 on each processor! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
growfs(8) - no fear!
i asked the question recently, no answers, but finally did it this way and all worked fine. i shifted my partition left with dd and resized with growfs. but can bsdlabel be forced to write label with overlapping slices? for temporary operations it will be useful if i know what i'm doing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
installing without sysinstall - question.
if i would like to install FreeBSD without sysinstall, what things should i do after: 1) dd if=/dev/zero of=/dev/ad0 bs=1m count=1 to clean up the disk (or da0 or else depending what king of disk is used) 2) bsdlabel -w ad0 3) bsdlabel -e ad0 and edit my slices 4) newfs my slices 5) boot0cfg&bsdlabel -B. CAN be just bsdlabel -B used with FreeBSD-only partitioning? 6) mount destination structure under /mnt & export DESTDIR=/mnt 7) in each distribution directory do ./install.sh 8) create /mnt/etc/fstab, edit rc.conf etc. what else must be done to install system this way? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote: >>> >>> on FreeBSD 5.3 live CD i have 100 not 2000 times per second >>> >>> isn't it too much?! >> >> Yes it is. >> That's why I have kern.hz="100" in my /boot/loader.conf . >> -- > > do you know why they set it too high in 6.0? there must be a reason! Check: http://groups.google.com/group/lucky.freebsd.cvs.all/browse_frm/thread/98c80113071ff35d/c37992b8ceab7de8?tvc=1&q=cvs+commit%3A+src%2Fsys%2Famd64%2Famd64+cpu_switch.S+machdep.c#c37992b8ceab7de8 for a in-depth discussion. -- Markus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: args to `make` within the ports tree
On Wednesday 23 November 2005 20:57, Russell Meek wrote: > Roland Smith wrote: > > >Try /usr/ports/KNOBS for the most common ones, and the Makefile of each > >port for specific ones. > > > >Roland > > Many ports fail if you try to use extravagant make flags like what you > would use with Gentoo. I can't say I've ever seen anything like that myself, but I tend to set most of them in make.conf like this: .if ${.CURDIR:M*/www/linuxpluginwrapper} WITH_PLUGINS=yes .endif Turning things on globally seems a bit dangerous to me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Serial console prob on amd64
Hello, I have a dual amd64 machine on which serial console is not working properly. I've configured dozens of Intel machines without a problem. I have set up boot.config and /etc/ttys. If I boot the machine some data is printed to console. Rather than paste the whole lot here, here's the last few lines: Timecounters tick every 1.000 msec ad0: 78167MB at ata0-master UDMA133 ad1: 78167MB at ata0-slave UDMA133 acd0: CDROM at ata1-master UDMA33 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a bge0: link state changed to DOWN bge1: link state changed to DOWN And that's it. Serial console is frozen, but the machine boots up and runs fine. Any suggestions? Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
using freebsd for a router
I dont want to start a flame/war here...but was *just* wondering... I currently use OpenBSD-3.8 for my router (T-1 with many statics) and then use FreeBSD-6.0 for my servers (web/mail/DNS...) I am debating on just standardizing to all FreeBSD. It seems the security is quite the same - but I dont know about performance pros/cons. It seems that the 'pf' that comes with FreeBSD 6.0 is equal to that within OBSD 3.8. So all things considered - is there any advantage to using FreeBSD for a router or just keeping things the way they are? Thanks for any comments or flames (I suppose). -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using freebsd for a router
JD Bronson wrote: I dont want to start a flame/war here...but was *just* wondering... I currently use OpenBSD-3.8 for my router (T-1 with many statics) and then use FreeBSD-6.0 for my servers (web/mail/DNS...) I am debating on just standardizing to all FreeBSD. It seems the security is quite the same - but I dont know about performance pros/cons. It seems that the 'pf' that comes with FreeBSD 6.0 is equal to that within OBSD 3.8. So all things considered - is there any advantage to using FreeBSD for a router or just keeping things the way they are? Thanks for any comments or flames (I suppose). -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" As a freebsd advocate, my first reponse is yes - go for it. T1 speeds not that huge to be routing anyhow, so performance really shouldn't be the key issue as stability and security... ah, now there's where I like OpenBSD. FreeBSD afaik will perform just as well in your situation (assuming nothing out of the ordinary), but just be sure to disable at startup any and all services you don't want/require (ie: sendmail). That's one thing I do like about OpenBSD, default install doesn't startup things like that, they're disabled by default from the get-go. Not to start any flames of my own, know one can do a custom install and have the same result with FreeBSD - just pointing out the 'simple' default install does enable things you'll probably want to disable if just using the machine as a router and/or packet filter/firewall. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using freebsd for a router
At 09:01 AM 11/24/2005, Nathan Vidican wrote: Not to start any flames of my own, know one can do a custom install and have the same result with FreeBSD - just pointing out the 'simple' default install does enable things you'll probably want to disable if just using the machine as a router and/or packet filter/firewall. Thanks for the comments. Yes, I always disable anything not absolutely needed on a router. Also, there are no other accounts on the machine but mine and root. :-) -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
defaultroute
Hi, Is there a way after changing the value defaultroute in /etc/rc.conf that freebsd accepts the change without restarting? Thanks... Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defaultroute
Is there a way after changing the value defaultroute in /etc/rc.conf that freebsd accepts the change without restarting? man route ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Does FreeBSD 6.0 fully support PCI-Express?
Ted Mittelstaedt wrote: Micah, Would you please list a cite that the nv driver is open source? > There is also another site here: http://news.com.com/2061-10795_3-5762319.html > although I will admit this is 5 months old - please cite a more recent article where nvidia has reversed their policy? As Mike Harris eloquently said a couple years ago: Nvidia doesn't release their technical specifications for their hardware to *anyone*, not even under NDA (non-disclosure agreements). One might be tempted to think "well you have the source code though right?", however the source code isn't enough. None of the video hardware registers are documented, instead they are programmed as a series of random "magic" numbers, so you have absolutely no idea what the purpose of a given register is, that is getting written seemingly random information into it in the driver. The driver is for all intents and purposes obfuscated unless you have the hardware documentation which turns numbers like 0x3432 into a useful name like NVIDIA_SUCH_AND_SUCH_REGISTER with documentation of WTH that register actually does. That's the long story, the short story is, that even though the "nv" driver is open source, it is more or less supplied as-is and the only way it gets updated is if Nvidia updates it, because nobody outside Nvidia has the foggiest clue how their hardware works. So if a card isn't supported, that's unfortunate. If 2D doesn't work, that's also unfortunate. By reporting bugs that occur in the "nv" driver to http://bugs.xfree86.org, the bug report will get assigned to Mark Vojkovich, who is the official driver maintainer, working at Nvidia, who has access to pretty much every Nvidia card ever made, and the technical specifications to go along with them. If he can't fix the bug, then more or less, nobody can. Not without getting hired by Nvidia to work on the 'nv' driver. ;o) Micah, if this has changed, please cite where. I myself also happen to have a system with an onboard nvidia card so I really am interested, not just trying to flame-bait. I think I understand your claim. Source code with an open source license is not Open Source unless it is actively maintained by someone and has freely available specs. Under that criteria, I guess NV isn't open source. Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defaultroute
Здравствуйте, On Thu, Nov 24, 2005 at 04:35:38PM +0100, Efren Bravo писал: > Hi, > > Is there a way after changing the value > defaultroute in /etc/rc.conf that freebsd accepts > the change without restarting? route delete default ; route add default 1.2.3.4 > __ > Renovamos el Correo Yahoo! > Nuevos servicios, m?s seguridad > http://correo.yahoo.es > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Evgenii V Davidov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mozilla Firefox - anyone succeeded in installing?
All attempts at compiling firefox on 5.4-STABLE fail at the same point: c++ -o nsDNSService2.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD5\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=00 -DIMPL_NS_NET -I./../../base/s rc -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/unicharutil -I../../../dist /include/necko -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I../../../dist/sdk/include -I/usr/X1 1R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconv ersion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-alia sing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -DMO ZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHostResolver.h: At global scope: nsHostResolver.h:209: error: `PRAddrInfo' has not been declared nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString_internal&)': nsDNSService2.cpp:98: error: 'class nsDerivedSafe' has no member named 'addr_info' nsDNSService2.cpp:99: error: 'class nsDerivedSafe' has no member named 'addr_info' nsDNSService2.cpp:99: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)': nsDNSService2.cpp:115: error: 'class nsDerivedSafe' has no member named 'addr_info' nsDNSService2.cpp:116: error: 'class nsDerivedSafe' has no member named 'addr_info' nsDNSService2.cpp:116: error: `PR_EnumerateAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString_internal&)': nsDNSService2.cpp:537: error: `PR_AF_UNSPEC' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox-devel. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ My theology, briefly, is that the universe was dictated but not signed. -- Christopher Morley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defaultroute
route change 0.0.0.0 new.ip.def.route IE: route change 0.0.0.0 10.0.0.254 This command changes the default route to 10.0.0.254, from the command line. This will immediately alter the systems routing tables, but will not survive a reboot; change the defaultroute parameter in the /etc/rc.conf file for that. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ Evgenii Davidov wrote: Здравствуйте, On Thu, Nov 24, 2005 at 04:35:38PM +0100, Efren Bravo писал: Hi, Is there a way after changing the value defaultroute in /etc/rc.conf that freebsd accepts the change without restarting? route delete default ; route add default 1.2.3.4 __ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es ___ 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 6.0 GENERIC Kernel perfomance
Dmytro, Instructions for updating the ports tree are in the handbook on freebsd.org Please understand that the ports directory tree distributed with the RELEASE cd's is always out of date. I never install it when I install a RELEASE. I always use cvsup to download the current ports tree after installation. I just setup a P4 3.2Ghz system with a gig of ram and mirrored SATA drives, and I ran the mysql benchmarks on it, and they are quite a bit faster than any other systems I have. Please post mysql benchmarks on your system, or post any other benchmarks that you think are indicative of kernel slowness? I will run the same and we can compare to see if there's a difference. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Dmytro >Surovtsev >Sent: Wednesday, November 23, 2005 3:31 AM >To: Kris Kennaway; freebsd-questions@freebsd.org >Subject: Re: FreeBSD 6.0 GENERIC Kernel perfomance > > >Kris, > >thanks for reply. I did not provide any special tests for >performance, I >catch it just working on my workstation - P-4, 3 GHz, 512 MB. >Long time ago (several monthes) I've used Gentoo Linux, but siwtched to >FreeBSD because of better performance especially when I work in X. >About the port set: what do you mean under "> upgrading your ports >properly"? I've downloaded the ports.tar.gz (about 30M) and untarred it >to /usr/ports. what else? > >Dmytro > >Kris Kennaway wrote: >> On Tue, Nov 22, 2005 at 05:32:12PM +, Dmytro Surovtsev wrote: >> >>>Hello, >>> >>>Maybe it's my own opinion but I've discovered that 6.0 kernel is much >>>slower than 5.4, I mean GENERIC in both cases. >> >> >> It's only your own opinion until you share with us the measurements >> that led you to conclude this. FreeBSD 6.0 is much faster than >> FreeBSD 5.4 in my measurements, especially in the area of filesystem >> performance. >> >> >>>And, as well, 6.0 works >>>right with the set of ports come with it in distribution inly. Nearly >>>any new port can not assemble with differnent errors, mostly >like: "The >>>version of library XXX is installed, it's conflict with >XXX-1, please do >>>pkg_delete, and pkg_add then". But after than nearly nothing works. >> >> >> This is not a FreeBSD 6.0 problem, it indicates that you aren't >> upgrading your ports properly. >> >> Look into the portupgrade tool, and if you have specific problems with >> using it, then post specific questions. >> >> Kris >___ >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.1.362 / Virus Database: 267.13.7/181 - Release Date: >11/24/2005 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Configuring For Cache Name Server
If I understand this correctly, if I want to enable a cache name server, all I have to do is the following: In /etc/rc.conf enter: named_enable="YES" named_flags="-u bind" Run this command: # cd /etc/namedb # sh make-localhost I enter the address: 127.0.0.1 in the /etc/resolv.conf file ahead of any other entries. I do not have to modify the /etc/namedb/named.conf in any way. I can then either reboot or start the program manually. Have I gotten that all correct? OK, then why is it that the nameserver 127.0.0.1 gets removed on every reboot of the system and the nameservers of my ISP are inserted. Actually, I never removed them, I just placed the new one ahead of them. There is also a search entry in the file. If I remove it, it also gets rewritten upon boot-up. Maybe I should mention that I am employing DHCP presently to obtain a lease from my ISP. Is there something I need to alter in order to get this to work. If I cannot be done, it is no great lose however. I can live with the system the way it is. -- Gerard Seibert [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: last try (anyone who here who has a working carp setup??)
Mark Jayson Alvarez wrote: Hi, Been trying to make this work for the past three days, yet still no luck. On host A (which is suppose to be the master): xl0: flags=8943 mtu 1500 options=9 inet6 fe80::201:2ff:fe88:d8c%xl0 prefixlen 64 scopeid 0x1 inet 10.10.8.144 netmask 0xff00 broadcast 10.10.8.255 ether 00:01:02:88:0d:8c media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 carp0: flags=41 mtu 1500 inet 10.10.8.146 netmask 0xff00 carp: MASTER vhid 1 advbase 1 advskew 0 On host B (which is supposed to be the backup) xl0: flags=8943 mtu 1500 options=9 inet6 fe80::201:2ff:fe90:1957%xl0 prefixlen 64 scopeid 0x1 inet 10.10.8.145 netmask 0xff00 broadcast 10.10.8.255 ether 00:01:02:90:19:57 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 carp0: flags=41 mtu 1500 inet 10.10.8.146 netmask 0xff00 carp: BACKUP vhid 1 advbase 1 advskew 100 Even host B with a higher advskew, both of them seems to be the BACKUP... no MASTER at all. pinging 10.10.8.146 won't reply however.. arping works? Now the big question... how am I going to use this virtual IP if I can't even ping it??? Thanks... Please post the commands you are using to set up carp on each machine? Also, can you connect to the machines via their unique IP addresses (ping .144 and .145)? Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring For Cache Name Server
On Thu, Nov 24, 2005 at 12:46:27PM -0500, Gerard Seibert wrote: > OK, then why is it that the nameserver 127.0.0.1 gets removed on every > reboot of the system and the nameservers of my ISP are inserted. > Actually, I never removed them, I just placed the new one ahead of them. > There is also a search entry in the file. If I remove it, it also gets > rewritten upon boot-up. Maybe I should mention that I am employing DHCP > presently to obtain a lease from my ISP. Is there something I need to > alter in order to get this to work. If I cannot be done, it is no great > lose however. I can live with the system the way it is. dhclient doesn't know that you want to use a local cache, so it does what it does - gets resolver addresses from your ISP. Put this in your /etc/dhclient.conf: interface "hme0" {<--- Change interface name accordingly... supersede domain-name-servers 127.0.0.1; } And try again. I believe, but haven't tested it, that you can use prepend instead of supersede is you wish to keep your ISP's resolvers in case your cache fails - but don't quote me on that! ;-) As for search order, use prepend: interface "hme0" { prepend domain-name "your.domain.here"; } HTH -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgplZLQK4lW39.pgp Description: PGP signature
how to see process in /proc filesystem???
Hello, I know that /proc filesystem provide an interface to see process in the computer but the problem is that mi /proc folder is empty and I don´t know how to enable it. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring For Cache Name Server
On Thursday, November 24, 2005 1:05:49 PM, Daniel Bye <[EMAIL PROTECTED]> Subject: Re: Configuring For Cache Name Server Wrote these words of wisdom: > On Thu, Nov 24, 2005 at 12:46:27PM -0500, Gerard Seibert wrote: > > OK, then why is it that the nameserver 127.0.0.1 gets removed on every > > reboot of the system and the nameservers of my ISP are inserted. > > Actually, I never removed them, I just placed the new one ahead of them. > > There is also a search entry in the file. If I remove it, it also gets > > rewritten upon boot-up. Maybe I should mention that I am employing DHCP > > presently to obtain a lease from my ISP. Is there something I need to > > alter in order to get this to work. If I cannot be done, it is no great > > lose however. I can live with the system the way it is. > > dhclient doesn't know that you want to use a local cache, so it does > what it does - gets resolver addresses from your ISP. > > Put this in your /etc/dhclient.conf: > > interface "hme0" {<--- Change interface name accordingly... > supersede domain-name-servers 127.0.0.1; > } > > > And try again. I believe, but haven't tested it, that you can use > prepend instead of supersede is you wish to keep your ISP's resolvers in > case your cache fails - but don't quote me on that! ;-) > > As for search order, use prepend: > > interface "hme0" { > prepend domain-name "your.domain.here"; > } > > HTH > > -- > Daniel Bye * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: Thanks. That is just the sort of information that I would have thought should have been listed somewhere on the man pages for setting up a cache name server. If it was there, I never noticed it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to see process in /proc filesystem???
On 11/24/05, Javier Matos <[EMAIL PROTECTED]> wrote: > Hello, I know that /proc filesystem provide an interface to see process in > the computer but the problem is that mi /proc folder is empty and I don´t > know how to enable it. You can mount /proc with: mount -t procfs /proc /proc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring For Cache Name Server
On Thu, Nov 24, 2005 at 01:22:21PM -0500, Gerard Seibert wrote: > On Thursday, November 24, 2005 1:05:49 PM, Daniel Bye <[EMAIL PROTECTED]> > > Thanks. That is just the sort of information that I would have thought > should have been listed somewhere on the man pages for setting up a > cache name server. If it was there, I never noticed it. Not sure it is there, but it is certainly in dhclient.conf(5). -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp96rALg0fgp.pgp Description: PGP signature
Re: Serial console prob on amd64
On Thu, 24 Nov 2005 15:28:54 +0100 Freminlins <[EMAIL PROTECTED]> wrote: > Hello, > > I have a dual amd64 machine on which serial console is not working > properly. I've configured dozens of Intel machines without a problem. > > I have set up boot.config and /etc/ttys. If I boot the machine some > data is printed to console. Rather than paste the whole lot here, > here's the last few lines: > > Timecounters tick every 1.000 msec > ad0: 78167MB at ata0-master UDMA133 > ad1: 78167MB at ata0-slave UDMA133 > acd0: CDROM at ata1-master UDMA33 > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad0s1a > bge0: link state changed to DOWN > bge1: link state changed to DOWN > > And that's it. Serial console is frozen, but the machine boots up and runs > fine. > > Any suggestions? > > Thanks, > Frem. has this ever worked? If its a new box could be a hardware prob could try a loop-back test if you have the wrap plugs Arden > ___ > 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: SCHED_ULE Scheduler FreeBSD 6 - Release
On Thu, Nov 24, 2005 at 12:16:04AM -0500, Russell E. Meek wrote: > Kris Kennaway wrote: > > >On Wed, Nov 23, 2005 at 05:11:02PM -0500, Russell Meek wrote: > > > > > >>Is anyone here currently using the *SCHED_ULE* scheduler in a server > >>enviroment, production or non? > >> > >>Pros? Cons? > >> > >> > > > >This question has been asked quite often, so you would have done well > >to research the answer before asking :) > > > >It's slower on the workloads I've tested and is not stable on machines > >with many CPUs (e.g. 12). > > > >Kris > > > > > Kris, > > This question has been asked quite often, so you would have done well > to research the answer before asking :) > > Shitty remark, not wise to jump to conclusions. > > > Common Sense would dictate that it would be highly retarded for me to > ask a question that I have not at least ever so slightly attempted to > look into. Since when has common sense ever been a guide to human behaviour? :-) Sorry for being snippy, it's just that I've answered this question about 24 times in public. Kris pgpV9v1ULuclJ.pgp Description: PGP signature
Windows/FreeBSD VPNs
I need to set up a VPN so a remote windows client can access some Samba shares. All of the documentation I've found are for FreeBSD to FreeBSD tunnels, not for a client connecting directly. Pointers to documentation? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serial console prob on amd64
Hello Arden, On 11/24/05, arden <[EMAIL PROTECTED]> wrote: > has this ever worked? If its a new box could be a hardware prob could try a > loop-back test if you have the wrap plugs Yes, on Solaris 10 before I wiped it today. I just can't see what I am doing wrong. During the boot up sequence I can see and choose from the FreeBSD "menu". It just stalls later on. When I say "what am I doing wrong" I don't really mean that as I know I've done it right! > Arden Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel panic question
On Thu, Nov 24, 2005 at 01:26:16PM +0300, Evgenii Davidov wrote: > > i have 4.11-RELEASE-p13 on smp machine > i've tested it with memtest and cpuburn for a day > but with site with simple perl scripts it crashes every hour with errors: > > Nov 23 14:27:44 /kernel: panic: lockmgr: non-zero exclusive count > Nov 23 14:33:27 /kernel: panic: pmap_release: non ptd page > Nov 23 21:19:14 /kernel: panic: vm_page_free: freeing free page > Nov 23 23:43:23 /kernel: panic: lockmgr: pid 43952, not exclusive lock holder > -1 unlocking > Nov 24 01:09:10 /kernel: panic: vm_page_remove(): page not found in hash > > i changed the memory but it didn't help > > tell me please -- is it problem with hadrware or i have to upgrade to 5 or 6 > release or smth? Could be a 4.11 bug..try 6.0, especially if you're running on an SMP machine (chances are SMP is actually slower than UP on 4.11, because SMP support was so primitive back then). Kris pgpnvrVg6v03p.pgp Description: PGP signature
USB mouse problem
problem USB mouse OS FreeBSD 6.0-RELEASE i maked command moused -p /dev/sysmouse -t auto vidcontrol -m on only make nothink. On 5.1-RELEASE no problem - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unresolved symbol in libdri.a (X.org)
Ok, I've done a good load of googling on this, and I've seen hundreds of reports of this problem with X.org, but not a single solution. I'm at a loss. First my config: OS: 5.4-RELEASE-p8 X.org version: xorg-6.8.2 (built from ports) video driver: nvidia-driver-1.0.7676_1 (built from ports) My xorg.conf (only including what I suspect is relevant: Section "Module" Load "dbe" Load "extmod" Load "dri" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection # Not compatible with glx, which nvidia wants, so no composite in KDE # Section "Extensions" # Option "Composite" "Enable" # EndSection ... Section "Device" Identifier "NV AGP TwinView" VendorName "nVidia Corporation" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. The BusID is usually optional when # only using one graphics card. BusID "PCI:1:0:0" BoardName "NV34 [GeForce FX 5200]" # These are extras that may need removal Option "NoLogo" "True" Option "RenderAccel" "True" Option "NvAGP" "1" # Use NVIDIAs agp Option "HWCursor" "True" # Option "CursorShadow" "True" # Option "EnableAGPFW" "1" # Use Fast Writes # twinview setup Option "TwinView" Option "SecondMonitorHorizSync" "31-80" Option "SecondMonitorVertRefresh" "56-75" Option "TwinViewOrientation""RightOf" Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" Option "ConnectedMonitor" "crt,crt" EndSection Now, the problem I'm seeing is in Xorg.0.log. It appears there is some kind of problem resolving a symbol somewhere, but I can't figure out exactly where the problem is. Here's an excerpt from Xorg.0.log: ... (**) NVIDIA(0): DPMS enabled (II) Loading extension NV-CONTROL (II) Loading extension XINERAMA (==) RandR enabled Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension ... There are a couple other "inappropriate ioctl" warnings related to the mouse and thumbball, though they are probably not related to this problem. Any ideas what the cause of this resolution problem is? TIA Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Beauty, n.: The power by which a woman charms a lover and terrifies a husband. -- Ambrose Bierce pgpR3sW3zud31.pgp Description: PGP signature
Re: so much clock interrupts?!
On Thu, Nov 24, 2005 at 07:40:40AM +, Markus Trippelsdorf wrote: > On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > > that's what i see in systat with FreeBSD 6.0/i386-SMP > > > > > >540 534 99 pdwak 2000 > > cpu0: time > > 16825 pdpgs 2000 > > cpu1: time > > > > > > on FreeBSD 5.3 live CD i have 100 not 2000 times per second > > > > isn't it too much?! > > Yes it is. > That's why I have kern.hz="100" in my /boot/loader.conf . Have you been able to measure a performance benefit from reducing it? Have you shown that reducing it does not cause your performance to *drop*? It was increased for a reason..it actually increases performance on some workloads. Kris pgp8EucOS0n2E.pgp Description: PGP signature
RE: defaultroute
> Is there a way after changing the value > defaultroute in /etc/rc.conf that freebsd accepts the change > without restarting? # /etc/netstart Should also reload network settings for you. Steve > > Thanks... > > Efren Bravo. > > > > __ > Renovamos el Correo Yahoo! > Nuevos servicios, más seguridad > http://correo.yahoo.es > ___ > 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: so much clock interrupts?!
On Thu, Nov 24, 2005 at 02:05:16PM +0100, Wojciech Puchar wrote: > >> 540 534 99 pdwak 2000 > >> cpu0: > >> time > >>16825 pdpgs 2000 > >>cpu1: > >>time > >> > >> > >>on FreeBSD 5.3 live CD i have 100 not 2000 times per second > >> > >>isn't it too much?! > > > >No, it's just a consequence of HZ=1000 instead of HZ=100. I've > > > so why 2000 not 1000? > > 2000 on each processor! Technical reasons..anyway, 2000 might look like a large number to you, but it's really not unless you're on a very slow machine (like a 486). Kris pgp8NHBaj4sLH.pgp Description: PGP signature
Re: Panic%3A%20No%20Init&In-Reply-To=20051121081032.7581.qmail%40web33201.mail.mud.yahoo.com
On Wed, Nov 23, 2005 at 11:38:49PM -0800, E.J Burritt wrote: > Hey Mike, thanks for the reply. I went ahead and tried that link, > but unfortunatley it didn't help. I also made a post over at the > FreeBSD forums, but also no reply. Not sure what to do now... For one thing, you omitted all context from your reply so none of us (except maybe the mysterious Mike :-) can tell what your problem was. Kris pgpuPgMj5LDup.pgp Description: PGP signature
FreeBSD Wireless Acces Point
I just picked up a LinkSys WMP55AG, and installed it. I added the wlan and ath options to the kernel and rebuilt it with out fail. I'm running 5.4-STABLE, and this machine is my gateway. It already had 2 NICs to handle this. I know want it to handle any wireless traffic as well. I've searched for Wireless Access Point HOW-TOs, and they all seem to have out dated information. Suggesting commands that are depreciated. None of them show how to set this up in /etc/rc.conf either, so everything runs at boot. Does anybody have a recent HOW-TO that will help me set this and wireless security up? Or any sort of notes anybody's used in the past. Thanks in advance for the help. Happy Holidays! tdh -- +- \./ | Tim Holmes -- [EMAIL PROTECTED]: [EMAIL PROTECTED] (0Y0) | UIN: 17021091 -- AIM: tdh004 -ooO--(_)--Ooo--+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Troubles getting firmware for ipw (wifi) driver to load
Hi list, I'm trying to setup wireless networking with WPA for my Dell Inspiron 510m, which is equipped with an Intel PRO/Wireless 2100 MiniPCI NIC on FreeBSD 6.0-RELEASE. I'm following this guide: http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html (Also with the handbook chapter on wireless networking on the side) I am encountering troubles when executing the command "ifconfig ipw0 up scan", it doesn't list any APs at all. Looking at my dmesg output, it seems that ipw0 needs a firmware. ipw0: mem 0xfcffe000-0xfcffefff irq 9 at device 3.0 on pci1 ipw0: Ethernet address: 00:0c:f1:52:fe:88 ipw0: Please load firmware Not knowing exactly what that meant I checked ipw(4) and it does indeed say I need ipwcontrol to load the firmware. I found this in the portstree at net/ipw-firmware, but it won't install saying: [EMAIL PROTECTED]:/usr/ports/net/ipw-firmware# make install clean ===> ipw-firmware-1.3_4 ipw(4) support is already included in your tree. ===> Cleaning for ipw-firmware-1.3_4 Yet ipwcontrol is nowhere to be found (tried to locate it with an updated DB, but no luck). It's not there in the output of pkg_version either. I did however CTRL+C right after the options screen when trying to install this port the first time because I forgot to check the option. Maybe this broke things, but I did try make clean / make distclean / make config to try ti fix it but alas.. maybe it really isn't supposed to install. So this leaves the question, how do I load the firmware? Should I manually download the thing, or is there some way I can make the port work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Windows/FreeBSD VPNs
> I need to set up a VPN so a remote windows client can access some > Samba shares. All of the documentation I've found are for FreeBSD to > FreeBSD tunnels, not for a client connecting directly. Pointers to > documentation? > David > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" - In your situation I tried openvpn and found it very comfortable to set up and maintain. There is a freebsd port and packages for some systems are avaiable. (that includes MS Windows) http://openvpn.net/ Regards Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defaultroute
> Hi, > Is there a way after changing the value > defaultroute in /etc/rc.conf that freebsd accepts > the change without restarting? > Thanks... > Efren Bravo. - I would guess that /etc/rc.d/routing ist he script oused to set the defaultroute during startup. So a restart to that could result in loading the new defaultroute. Ofcourse you could always delete the defaultroute with the "route" command and the insert the new one also with the route command. (remember to be extra sensitive when doing this on a remote machine) Regards Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
That's why I have kern.hz="100" in my /boot/loader.conf . Have you been able to measure a performance benefit from reducing it? Have you shown that reducing it does not cause your performance to *drop*? It was increased for a reason..it actually increases performance on some workloads. no i'm just asking. does hz=1000 means that if i run >1 CPU-bound process per processor it's switched 1000 times per second between them? or just 1000 times per second system call is issued that does many system duties, but switches processes with different frequency? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
No, it's just a consequence of HZ=1000 instead of HZ=100. I've so why 2000 not 1000? 2000 on each processor! Technical reasons..anyway, 2000 might look like a large number to you, but it's really not unless you're on a very slow machine (like a 486). i'm asking why it's 2000, not 1000. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
On Fri, Nov 25, 2005 at 01:09:08AM +0100, Wojciech Puchar wrote: > >>>No, it's just a consequence of HZ=1000 instead of HZ=100. I've > >> > >> > >>so why 2000 not 1000? > >> > >>2000 on each processor! > > > >Technical reasons..anyway, 2000 might look like a large number to you, > >but it's really not unless you're on a very slow machine (like a 486). > > i'm asking why it's 2000, not 1000. I don't remember off-hand. It should be apparent if you look at the code. Kris pgpq8JzZmn4Mx.pgp Description: PGP signature
mysql 5.0 on FreeBSD 5.3
I went to upgrade mysql from 4.1 to 5.0. I updated my ports (no problems), but when I ran: pkg_add -r mysql50-server I get: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/mysql50-server.tbz: File unavailable I looked at the ftp site, and there is a 5.4 directory, but not one for 5.3. So, I assume I need to upgrade to FreeBSD 5.4 before installing this port. Is that correct? If so, what is the easiest way to do this? I checked google and the docs, but all "guides" I've found seem to indicate you need access to the machine to put in CD's etc. My server is about 100 miles away at a colo, so I'd like to be able to do it via ssh, if possible. Is upgrading from 5.3 to 5.4 a big job? Or is there something simple I'm missing? I've read on the mailing list about just specifying RELENG_5_4 in your cvs-supfile file. I tried this using the following cvs-supfile: -- *default tag=RELENG_5_4 *default host=cvsup8.FreeBSD.org *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix compress ports-all -- And it just deleted all but a few of my ports in /usr/ports when I run cvsup. Help! I just want to install mysql 5.0! :-( Thanks, Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
On Fri, Nov 25, 2005 at 01:08:42AM +0100, Wojciech Puchar wrote: > >>That's why I have kern.hz="100" in my /boot/loader.conf . > > > >Have you been able to measure a performance benefit from reducing it? > >Have you shown that reducing it does not cause your performance to > >*drop*? It was increased for a reason..it actually increases > >performance on some workloads. > > > no i'm just asking. > > does hz=1000 means that if i run >1 CPU-bound process per processor it's > switched 1000 times per second between them? or just 1000 times per second > system call is issued that does many system duties, but switches processes > with different frequency? It's used to drive timers and periodic events, including scheduling. Keep in mind that modern computers are roughly 10 times faster than they were a few years ago. Something that runs every 1/100 of a second is actually waiting for 10 times as many CPU cycles as it was on the older machine, which means that it may be working proportionally less efficiently on the new machine. Kris pgpJWmiQ1B74q.pgp Description: PGP signature
proper way to create network devices at boot time.
Hi, How do you create a network device at boot time? I need to set up my carp devices at boot time. in Openbsd, it can be set in /etc/hostname.if like this. /etc/hostname.carp1 inet 172.16.0.100 255.255.255.0 172.16.0.255 vhid 1 carpdev em0 \ pass lanpasswd Thanks. - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pflog summary script?
Does anyone have a simple shell/perl script that can take /var/log/pflog and parse it into a simple txt or html? I would like to cron a script that can clean up the output of pflog and put it into something more readable... Basically something that looks like: Time - SourceIP - Destination Port or a count of these as well. Thanks! -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql 5.0 on FreeBSD 5.3
On Thu, Nov 24, 2005 at 04:16:49PM -0800, Ron wrote: > I went to upgrade mysql from 4.1 to 5.0. I updated my ports (no problems), > but when I ran: > > pkg_add -r mysql50-server > > I get: > > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/mysql50-server.tbz: > File unavailable > > I looked at the ftp site, and there is a 5.4 directory, but not one for > 5.3. > So, I assume I need to upgrade to FreeBSD 5.4 before installing this port. > Is that correct? No, you can just compile it yourself using ports (although the ports collection also doesn't support 5.3 any longer, most things will still work). Using packages with pkg_add -r is an *alternative* to compiling yourself using the ports system, and there's no point in updating your ports collection if you're not going to use it. Kris pgpNO1SW2HveE.pgp Description: PGP signature
kernel panic after loading ipvs.ko
Hi, I include these 2 lines in my loader.conf: ipvs_load="YES" ip_vs_rr_load="YES" However, the kernel(6.0) panic after rebooting.. Manually loading those modules is no problem.. I am trying to load the ipvs(FreeBSD version of LVS) module at boot time. Any idea? Thanks. - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql 5.0 on FreeBSD 5.3
No, you can just compile it yourself using ports (although the ports collection also doesn't support 5.3 any longer, most things will still work). Using packages with pkg_add -r is an *alternative* to compiling yourself using the ports system, and there's no point in updating your ports collection if you're not going to use it. Is there a way to update to 5.4 that doesn't involve reinstalling? Everything I can find about it makes it seem like a very complex process. If someone can point me to some step-by-step docs, I would appreciate it. (Yes, I have looked all over the freebsd site, and I don't see anything that is plain and simple instructions). Thanks, Ron Kris Kennaway wrote: On Thu, Nov 24, 2005 at 04:16:49PM -0800, Ron wrote: I went to upgrade mysql from 4.1 to 5.0. I updated my ports (no problems), but when I ran: pkg_add -r mysql50-server I get: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/mysql50-server.tbz: File unavailable I looked at the ftp site, and there is a 5.4 directory, but not one for 5.3. So, I assume I need to upgrade to FreeBSD 5.4 before installing this port. Is that correct? No, you can just compile it yourself using ports (although the ports collection also doesn't support 5.3 any longer, most things will still work). Using packages with pkg_add -r is an *alternative* to compiling yourself using the ports system, and there's no point in updating your ports collection if you're not going to use it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql 5.0 on FreeBSD 5.3
On Thu, Nov 24, 2005 at 06:09:32PM -0800, Ron wrote: > >No, you can just compile it yourself using ports (although the ports > >collection also doesn't support 5.3 any longer, most things will still > >work). Using packages with pkg_add -r is an *alternative* to > >compiling yourself using the ports system, and there's no point in > >updating your ports collection if you're not going to use it. > > Is there a way to update to 5.4 that doesn't involve reinstalling? > Everything I can find about it makes it seem like a very complex process. > If someone can point me to some step-by-step docs, I would appreciate it. > (Yes, I have looked all over the freebsd site, and I don't see anything > that is plain and simple instructions). It's explained in detail in the handbook. Kris pgp6tzROrUJYL.pgp Description: PGP signature
Re: using freebsd for a router
JD Bronson wrote: I dont want to start a flame/war here...but was *just* wondering... I currently use OpenBSD-3.8 for my router (T-1 with many statics) and then use FreeBSD-6.0 for my servers (web/mail/DNS...) I am debating on just standardizing to all FreeBSD. It seems the security is quite the same - but I dont know about performance pros/cons. It seems that the 'pf' that comes with FreeBSD 6.0 is equal to that within OBSD 3.8. So all things considered - is there any advantage to using FreeBSD for a router or just keeping things the way they are? Thanks for any comments or flames (I suppose). -JD If you want to push a serious amount of traffic though FreeBSD as router I recommend you use polling, after doing benchmarks I found polling helped push through many magnitudes more data when going past the 100mbit/sec point. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dvd-ripping to iso on freebsd ...
Hello, What is a tool I can use on FreeBSD to rip dvd movies to _iso_ ? Every document I see refers to vobcopy, which is not what I want, as I want single-file iso dumps of the dvd. Simply reading the device itself with `dd` (and perhaps piping it to libcss or whatever) is also not acceptable, because I want very much to remove macrovision and prohibited user actions (PUAs / PUOs) as well. I have always used dvd-decryptor under windows and it has worked great, but I would like to just do it in FreeBSD in the shell, with a command line. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pflog summary script?
On 2005-11-24 19:33, JD Bronson <[EMAIL PROTECTED]> wrote: > Does anyone have a simple shell/perl script that can take > /var/log/pflog and parse it into a simple txt or html? > > I would like to cron a script that can clean up the output of pflog > and put it into something more readable... > > Basically something that looks like: > > Time - SourceIP - Destination Port > > or a count of these as well. I think what you want is something like the scripts included in these posts: http://keramida.serverhive.com/weblog/archives/2004-12-28/switching-from-ipfilter-to-pf http://keramida.serverhive.com/weblog/archives/2005-01-04/more-fun-with-the-pf9-firewall They are far from perfect and definitely not what I'd call "production quality", but they will serve fine as a starting point while you write your own, I guess ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Panic: No Init
Just wanted to drop a line and let you know that I fixed the issue. It was actually the IDE cable that was causing the problem. I followed the link Mike gave me and did try swapping IDE cables... it didn't help though. For the hell of it I ended up trying again with a different IDE cable and it worked. Not sure why, but no complaints. Thanks for the help all. - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Panic: No Init
On 2005-11-24 19:44, "E.J Burritt" <[EMAIL PROTECTED]> wrote: > Just wanted to drop a line and let you know that I fixed the issue. It > was actually the IDE cable that was causing the problem. I followed > the link Mike gave me and did try swapping IDE cables... it didn't > help though. For the hell of it I ended up trying again with a > different IDE cable and it worked. Not sure why, but no > complaints. Thanks for the help all. That's truly fine. But you didn't have to post 3-4 new messages that are practically content-free and you certainly *don't* have to post to more than one list, unless there's a very good reason. The next time you post, try *replying* to the post this "Mike" has sent, instead of mailing a dozen messages that are all more or less equally useless. This way, most of the mailers, even the brain-dead Web interface of Yahoo or Gmail will include proper "reference" headers and let people track down the entire thread of messages, helping them when they want to find out what the original problem was. Make sure you include some of the original context too, i.e. something Mike has said, so people who read your post can actually *tell* what you're replying to. Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
doubts
Hi guys. This is Anirban. I have a doubt on crontab.The question is how to write a crontabwhich takes the back-up at 11:59 pm daily and every tuesday of the week Hope i will receive the answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql 5.0 on FreeBSD 5.3
Kris Kennaway wrote: On Thu, Nov 24, 2005 at 06:09:32PM -0800, Ron wrote: No, you can just compile it yourself using ports (although the ports collection also doesn't support 5.3 any longer, most things will still work). Using packages with pkg_add -r is an *alternative* to compiling yourself using the ports system, and there's no point in updating your ports collection if you're not going to use it. Is there a way to update to 5.4 that doesn't involve reinstalling? Everything I can find about it makes it seem like a very complex process. If someone can point me to some step-by-step docs, I would appreciate it. (Yes, I have looked all over the freebsd site, and I don't see anything that is plain and simple instructions). It's explained in detail in the handbook. Kris Under the title "cutting edge" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Note: it's geared towards -STABLE and -CURRENT users (hence the misleading title), just set your cvs tag to RELENG_5_4 to update to 5.4 Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCHED_ULE Scheduler FreeBSD 6 - Release
Kris Kennaway wrote: On Thu, Nov 24, 2005 at 12:16:04AM -0500, Russell E. Meek wrote: Kris Kennaway wrote: On Wed, Nov 23, 2005 at 05:11:02PM -0500, Russell Meek wrote: Is anyone here currently using the *SCHED_ULE* scheduler in a server enviroment, production or non? Pros? Cons? This question has been asked quite often, so you would have done well to research the answer before asking :) It's slower on the workloads I've tested and is not stable on machines with many CPUs (e.g. 12). Kris Kris, This question has been asked quite often, so you would have done well to research the answer before asking :) Shitty remark, not wise to jump to conclusions. Common Sense would dictate that it would be highly retarded for me to ask a question that I have not at least ever so slightly attempted to look into. Since when has common sense ever been a guide to human behaviour? :-) Sorry for being snippy, it's just that I've answered this question about 24 times in public. Kris Not a problem, you are right though, if more people used common sense I am sure the world would be a better place. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql 5.0 on FreeBSD 5.3
Micah wrote: Kris Kennaway wrote: On Thu, Nov 24, 2005 at 06:09:32PM -0800, Ron wrote: No, you can just compile it yourself using ports (although the ports collection also doesn't support 5.3 any longer, most things will still work). Using packages with pkg_add -r is an *alternative* to compiling yourself using the ports system, and there's no point in updating your ports collection if you're not going to use it. Is there a way to update to 5.4 that doesn't involve reinstalling? Everything I can find about it makes it seem like a very complex process. If someone can point me to some step-by-step docs, I would appreciate it. (Yes, I have looked all over the freebsd site, and I don't see anything that is plain and simple instructions). It's explained in detail in the handbook. Kris Under the title "cutting edge" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Note: it's geared towards -STABLE and -CURRENT users (hence the misleading title), just set your cvs tag to RELENG_5_4 to update to 5.4 Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Ron, The common way to upgrade would be to CVSUP, however I have found Colin Percivals update instructions quite useful. Here is the site for you to upgrade from 5.3 to 5.4: http://www.daemonology.net/freebsd-upgrade-5.3-to-5.4/ Try it out. Thanks, Russell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: doubts
On Fri, Nov 25, 2005 at 10:08:15AM +0530, Anirban Adhikary wrote: > Hi guys. This is Anirban. I have a doubt on crontab.The question is > > how to write a crontabwhich takes the back-up at 11:59 pm daily and every > tuesday of the week > Hope i will receive the answer soon. I don't quite understand what you want. The format of a line in a crontab file is as follows. There are five columns that specify the time to run the job at: Minutes Hours Day of Month Month Day of week 59 23 * * * /path/to/script Would run /path/to/script every day at 11:59 pm. If what you want to do is only run it on tuesday, 59 23 * * 2 /path/to/script The utility to install crontabs is called crontab. The format of entries is defined in the crontab(5) man page. 'man 5 crontab' will allow you to read that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: doubts
David Scheidt wrote: > On Fri, Nov 25, 2005 at 10:08:15AM +0530, Anirban Adhikary wrote: > >>Hi guys. This is Anirban. I have a doubt on crontab.The question is >> >>how to write a crontabwhich takes the back-up at 11:59 pm daily and every >>tuesday of the week >>Hope i will receive the answer soon. > > > I don't quite understand what you want. The format of a line in a > crontab file is as follows. There are five columns that specify the > time to run the job at: > > Minutes Hours Day of Month Month Day of week > > 59 23 * * * /path/to/script > > Would run /path/to/script every day at 11:59 pm. If what you want to > do is only run it on tuesday, > > 59 23 * * 2 /path/to/script > > The utility to install crontabs is called crontab. The format of > entries is defined in the crontab(5) man page. 'man 5 crontab' will > allow you to read that. Also note - in your scripts, have absoulte paths. IE: if you need to cat the /var/log/auth.log /bin/cat /var/log/auth.log -- Best regards, Chris If muprhy's law can go wrong, it will. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make: don't know how to make TARGET. Stop
I am going to recompile the source and I want to save the output from running make to a file. I run script /var/tmp/mw.out then get the following output: Script started, output file is /var/tmp/mw.out Then I run make TARGET and get the following error: make: don't know how to make TARGET. Stop What have I done wrong or am I missing something? Thank you, Jose __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make: don't know how to make TARGET. Stop
On 11/25/05, Jose Borquez <[EMAIL PROTECTED]> wrote: > I am going to recompile the source and I want to save > the output from running make to a file. > I run script /var/tmp/mw.out then get the following > output: > Script started, output file is /var/tmp/mw.out > > Then I run make TARGET and get the following error: > make: don't know how to make TARGET. Stop > > What have I done wrong or am I missing something? > > Thank you, > Jose What source are you recompiling? TARGET should be what you want to build, not what you put on the command line. So you should be entering something like: make clean or make build or make install or make distclean etc... Read the documentation for whatever you're trying to "make" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: so much clock interrupts?!
On Thu, Nov 24, 2005 at 03:43:59PM -0500, Kris Kennaway wrote: > On Thu, Nov 24, 2005 at 07:40:40AM +, Markus Trippelsdorf wrote: > > On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > > > that's what i see in systat with FreeBSD 6.0/i386-SMP > > > > > > > > >540 534 99 pdwak 2000 > > > cpu0: time > > > 16825 pdpgs 2000 > > > cpu1: time > > > > > > > > > on FreeBSD 5.3 live CD i have 100 not 2000 times per second > > > > > > isn't it too much?! > > > > Yes it is. > > That's why I have kern.hz="100" in my /boot/loader.conf . > > Have you been able to measure a performance benefit from reducing it? > Have you shown that reducing it does not cause your performance to > *drop*? It was increased for a reason..it actually increases > performance on some workloads. > Yes, I guess it increases performance on a high throughput webserver or router that uses polling. But on the Desktop it only increases the overhead without any benefits at all. 2000 interrupts per second per core for the timer is a ridiculous high number and I reduce it simply for aesthetic reasons. This may be a religious issue and everyone should use what he or she seems fitting. -- Markus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to have sshd log IP numbers instead of reverse lookups
I was looking at /var/log/auth.log and saw an entry of the form: Nov 24 18:41:37 ns sshd[58083]: error: PAM: authentication error for username from example.com I wish to have an IP number logged where sshd has instead logged 'example.com' Reading sshd's man page and sshd_config's man page, I don't find any way to control this. Since 'example.com' could have multiple IP numbers, how can I change sshd's configuration to log the IP number from whence the authentication error originated? Thanks! Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how do I feed a script conf file variables on the command line ?
Ok, let's say I have a shell script named script.sh, and script.sh sucks in a file /etc/file.conf that contains nothing but variable declarations like: SETTING1=setting1 SETTING2=setting2 and so on. Very simple. My question is, what if I want to feed the script a setting on the command line ? Normally I run the script: script.sh -x -v -e -r and it looks for /etc/file.conf and sucks in all the variables. But I want to: script.sh -x -v -e -r SETTING1='setting1' for some reason this is not working. I am in the FreeBSD csh shell when I attempt this (FWIW). I just want to be able to quickly bypass the conf file, using a single command line. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
License Question
Hi All I'm new to this forum. I am a bit confused about the FreeBSD license and keep getting conflicting answers from different people. Would like to know you guys think. Here goes. If I make modifications to FreeBSD and then distribute it (the modified FreeBSD) to others: 1. Must I provide the source code or can I choose not to? 2. Must I license it under the FreeBSD license? 3. Can I license it under my own terms/license? If so, must I reproduce the FreeBSD copyright notice and the disclaimer and if so, where? 4. Who owns the copyright to my modifications, me or FreeBSD? 5. Must I contribute my modifications back to the FreeBSD project or can I choose not to? Appreciate your feedback. Mano - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how do I feed a script conf file variables on the command line ?
On 2005-11-25 02:11, user <[EMAIL PROTECTED]> wrote: > Ok, let's say I have a shell script named script.sh, and > script.sh sucks in a file /etc/file.conf that contains nothing > but variable declarations like: > > SETTING1=setting1 > SETTING2=setting2 > > and so on. Very simple. > > My question is, what if I want to feed the script a setting on > the command line ? > > Normally I run the script: > > script.sh -x -v -e -r > > and it looks for /etc/file.conf and sucks in all the variables. > > But I want to: > > script.sh -x -v -e -r SETTING1='setting1' > > for some reason this is not working. I am in the FreeBSD csh > shell when I attempt this (FWIW). > > I just want to be able to quickly bypass the conf file, using a > single command line. Try env(1). env SETTING1='setting1' sh script.sh This should work much better. In fact, it's the same trick I use in my local networking setup scripts. Instead of hard-coding everything in /etc/rc.conf, I have something like this: flame# cat -n /root/netstart-home.sh 1 # 2 # Set up network interfaces for my home network. 3 # 4 5 export ifconfig_ath0="DHCP ssid "gker" \ 6 wepmode on weptxkey 1 wepkey '1:0xXX'" 7 export defaultrouter="192.168.1.2" 8 9 # 10 # Make sure the bge0 interface is brought down and then up again, 11 # with the new IP address. 12 # 13 /etc/rc.d/netif stop bge0 14 /etc/rc.d/netif stop ath0 15 /etc/rc.d/netif start ath0 You can see around lines 5-7 that I'm setting stuff in the environment, which will be picked up by the /etc/rc.d/netif system script. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"