Re: ionice in FreeBSD?
On 3/02/2010 10:52 PM, Jordi Espasa Clofent wrote: On 02/03/2010 12:12 PM, Bruce Simpson wrote: On 02/02/2010 17:19, Jordi Espasa Clofent wrote: In FreeBSD we've nice(1), renice(8) and even rtprio, idprio(1) but if I'm understanding correctly, they're related to CPU priorty only, not to I/O. That's not entirely true. A thread's CPU priority is still going to affect its ability to be scheduled on the CPU, and if it's waiting in the read() or write() syscalls, then this will make a difference to how quickly it can complete the next call. Yes. I've already supposed it. However, it doesn't explicitly affect relative I/O prioritization. This is another story entirely. I suspect in a lot of cases adding a weight to per thread I/O, isn't going to make much difference for disk I/Os which are being sorted for the geometry (e.g. AHCI NCQ). So I guess my question is, 'why do you need I/O scheduling, and what aspect of system performance are you trying to solve with it' ? Some shell-scripts based on dd or rsync, for example. Even a daily antivirus (ClamAV) scanner means an extensive I/O. Programs like Rsync do provide --bwlimit= which work great in slowing it down to a desired level. I can't help but think every program that can use too much IO should have it's own IO/speed switch of some sort. I can only hope that in general nix evolution that all programs that can over use IO will offer a switch to slow it down like Rsync does. Using a while ionice can be a useful feature it can also be said that there are too many instances where it's being used as a hack to deal with a program that isn't offering all the functionality that it should. Cheers, Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: how to get more logging from GEOM?
Jo Rhett wrote: About 10 days ago one of my personal machines started hanging at random. This is the first bit of instability I've ever experienced on this machine (2+ years running) FreeBSD triceratops.netconsonance.com 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11 #0: Wed Feb 13 06:44:57 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 After about 2 weeks of watching it carefully I've learned almost nothing. It's not a disk failure (AFAIK) it's not cpu overheat (now running healthd without complaints) it's not based on any given network traffic... however it does appear to accompany heavy cpu/disk activity. It usually dies when indexing my websites at night (but not always) and it sometimes dies when compiling programs. Just heavy disk isn't enough to do the job, as backups proceed without problems. Heavy cpu by itself isn't enough to do it either. But if I start compiling things and keep going a while, it will eventually hang. My best guess is that geom is having a problem and locking up. There's no log entry before failure to back this idea up, but I think this because during boot I see the following: ad0: 286168MB Seagate ST3300622A 3.AAH at ata0-master UDMA100 GEOM_MIRROR: Device gm0 created (id=575427344). GEOM_MIRROR: Device gm0: provider ad0 detected. ad1: 286168MB Seagate ST3300622A 3.AAH at ata0-slave UDMA100 GEOM_MIRROR: Device gm0: provider ad1 detected. GEOM_MIRROR: Device gm0: provider ad1 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. GEOM_MIRROR: Device gm0: rebuilding provider ad0. Every time it is rebuilding ad0. Every single boot in the last two weeks. Is this any way to get more logging from geom, to confirm or deny this theory? Just a guess but try kern.geom.debugflags 0 This certainly spews out far more geom info, as to how helpful this will be... Vince Is there anything else I should be looking at? FWIW, this never happened before the p11 patch to 6.2. I don't know if that is related or not. Obviously, I can't upgrade to 6.3 if heavy cpu/disk activity kills the system. No, I don't have any other insights. I'm not prone to posting duh help me please! posts, so I'm quite a bit frustrated by this one. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automounting USB sticks - questions
Bruce M Simpson wrote: I got this working quite easily with the amd daemon. Thanks to Alfred for your excellent work on this. I wonder what the status of autofs is? It would be great if we could ship FreeBSD out of the box, ready to automount removable media. This would be useful to all users, but particularly for novices and people who just wanna get on and use the beast. Since the move to /media for a place to put removable mount points I'd imagine all of this gets a lot easier. However I can understand there are real issues with this: * /etc/amd.conf. We don't ship one in /etc by default. Maybe we should? Speaking as someone who's never looked at amd before last week, this would be great, or at least in /usr/share/examples/etc. * /etc/amd.map. We ship one which contains defaults and nothing more. Perhaps commented out examples? Again I'd find that helpful. I spent 5 or 10 minutes looking into setting up amd (Hardly indepth I know) and gave up because at the moment its easier to manually mount my devices ;) * There doesn't appear to be a tool to tell amd about new maps at runtime. Is there such a beast? UPDATE: I just read code, and it seems SIGHUP can be sent, but this isn't in the man page and I haven't tried it. * devd doesn't have any hooks into GEOM, which makes it difficult to generate mount lines without retroactively parsing dmesg output. devd as I understand it sits on top of NEWBUS. Is there any way I can get a list of the disk devices, from userland, in the default install, which correspond to a given NEWBUS device? * I wonder if there's any way we can get a notification about media being inserted into a CDROM drive, without polling it? I had a brief discussion online with phk@ about doing dynamic mounts, and it seems that there are still problems dealing with blowing away mounts when the device goes away. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS deadlock
It depends a lot on your workload I'd say. for me its pretty stable on a amd64 7-STABLE box that just does a little light mail and web and package building. for others not so much. info on my system below if anyones interested. Vince (20:12:28 /usr/home/jhary) 0 $ more /boot/loader.conf geom_mirror_load=YES vm.kmem_size=768M vm.kmem_size_max=768M snd_emu10k1_load=YES [EMAIL PROTECTED] (20:12:39 /usr/home/jhary) 0 $ uptime 8:12PM up 13 days, 19:16, 5 users, load averages: 1.21, 0.86, 0.44 [EMAIL PROTECTED] (20:12:50 /usr/home/jhary) 0 $ zfs list NAME USED AVAIL REFER MOUNTPOINT data 164G 64.8G18K /data data/usr 163G 64.8G 163G /usr data/var 306M 64.8G 306M /var [EMAIL PROTECTED] (20:13:00 /usr/home/jhary) 0 $ zpool status pool: data state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM dataONLINE 0 0 0 mirrorONLINE 0 0 0 ad6s2 ONLINE 0 0 0 ad4s2 ONLINE 0 0 0 errors: No known data errors relevent bits from dmesg: CPU: AMD Opteron(tm) Processor 242 (1594.18-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xf5a Stepping = 10 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow!+,3DNow! usable memory = 3210489856 (3061 MB) avail memory = 3103461376 (2959 MB) ACPI APIC Table: A M I OEMAPIC FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 Jisakiel wrote: ¿So no chances of ZFS stable on FBSD7? I was actually considering debian over freebsd on a dual AMD64, but if there are no settings that will make it stable... Nevertheless I'd be willing to help debugging ZFS on that machine (Dell T105) as soon as I receive it in a couple of weeks, as I'm in no rush to getting it into production (just tell me what to do ;) ). - Mensaje original De: Spike Ilacqua [EMAIL PROTECTED] Para: Ender [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; freebsd-stable@freebsd.org; Johan Ström [EMAIL PROTECTED] Enviado: martes, 8 de abril, 2008 18:13:32 Asunto: Re: ZFS deadlock Depending on your work load you are just buying more time, so reasonable is a matter of perspective. :( I didn't see if you said you are on 32bit or 64bit? Keep in mind the kmem max is 1.5-2G on amd64 regardless of how much memory you have. If 512M arcsize crashes too soon for your tastes you can always lower it down to 256M, or 128M, etc. I tried for several weeks to get ZFS stable on a 64bit system with a 1.5G kernel. The best uptime I ever got was 72 hours, the worst was 2, the average about 24. Interestingly, most of the hangs were at off hours, when the system was lightly loaded, had lots of free memory, etc. That suggests to me a slow leak of some sort. Anyway, ZFS is not ready for production. Some people may get lucky, but you can't count on it. Spike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] __ ¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QA on textdumps (fwd)
Norberto Meijome wrote: On Wed, 02 Apr 2008 21:51:52 +0200 Volker [EMAIL PROTECTED] wrote: while the system is experiencing a panic, it does not have any knowledge about filesystems and also does not know about the GELI swap space anymore. In this situation the geli encrypted swap will be overwritten by a dump (either minidump or the classical one). When the system boots up again, it will check $dumpdev for a dump and save it to $savecore before geli swap is brought up again. Or in short: geli backed swap should not do you any harm. Hi Volker, That is what I had thought. But I clearly remember, back in 6.x the dump would be written to swap, then on restart, geli would kick in before savedump , therefore obliterating anything saved from the previous session. I will need to retest this...luckily 7-STABLE has been rock solid and haven't experienced many crashes. btw, how do I trigger a panic manually? :D sysctl debug.kdb.panic=1 according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-ddb.html anyway :) Vince cheers, B _ {Beto|Norberto|Numard} Meijome A fanatic is one who can't change his mind and won't change the subject. Sir Winston Churchill I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Kostik Belousov wrote: On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: Kostik Belousov wrote: On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: Kostik Belousov wrote: Compile the ddb into the kernel (instructions are provided at the same web page) and post the output of the console on the panic I tried this but other than the fact I can drop into ddb and step though stuff I'm not sure what I can do with it. Since I cant (obviously) get a serial console on my laptop I have done it the other way and taken a picture of the console on panic. When I have more time I'll carry on reading up on ddb but I think I have a steep learning curve since my previous looks at programing stopped at 'hello world':) Panic console at: http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg Thanks, this is enough. Two chunks were missed from the rev. 1.210. Please, try the patch below. diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index 843498e..7e6e048 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread if (dsw == NULL) return (ENXIO); mtx_lock(Giant); - retval = dev-si_devsw-d_gianttrick- - d_ioctl(dev, cmd, data, fflag, td); + retval = dsw-d_gianttrick-d_ioctl(dev, cmd, data, fflag, td); mtx_unlock(Giant); dev_relthread(dev); return (retval); @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int ioflag) if (dsw == NULL) return (ENXIO); mtx_lock(Giant); - retval = dev-si_devsw-d_gianttrick- - d_read(dev, uio, ioflag); + retval = dsw-d_gianttrick-d_read(dev, uio, ioflag); mtx_unlock(Giant); dev_relthread(dev); return (retval); Hi Kostik, Yes this stops the panic. I do still get the console spammed with informational messages Apr 2 10:36:30 prawn kernel: ucom0: FTDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on uhub2 Apr 2 10:36:33 prawn login: ROOT LOGIN (toor) ON ttyv0 Apr 2 10:36:56 prawn kernel: ucom0: ucomreadcb: IOERROR Apr 2 10:36:56 prawn kernel: ucom0: at uhub2 port 1 (addr 3) disconnected Apr 2 10:36:57 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:16 prawn last message repeated 188 times Apr 2 10:37:16 prawn login: ROOT LOGIN (toor) ON ttyv1 Apr 2 10:37:16 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:47 prawn last message repeated 303 times Apr 2 10:37:55 prawn last message repeated 85 times but I can live with that. I had opened PR usb/122287 for this, and I have updated this with the relevent information from this thread. Thanks, Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Kostik Belousov wrote: On Wed, Apr 02, 2008 at 10:50:39AM +0100, Vince Hoffman wrote: Kostik Belousov wrote: On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: Kostik Belousov wrote: On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: Kostik Belousov wrote: Compile the ddb into the kernel (instructions are provided at the same web page) and post the output of the console on the panic I tried this but other than the fact I can drop into ddb and step though stuff I'm not sure what I can do with it. Since I cant (obviously) get a serial console on my laptop I have done it the other way and taken a picture of the console on panic. When I have more time I'll carry on reading up on ddb but I think I have a steep learning curve since my previous looks at programing stopped at 'hello world':) Panic console at: http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg Thanks, this is enough. Two chunks were missed from the rev. 1.210. Please, try the patch below. diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index 843498e..7e6e048 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread if (dsw == NULL) return (ENXIO); mtx_lock(Giant); - retval = dev-si_devsw-d_gianttrick- - d_ioctl(dev, cmd, data, fflag, td); + retval = dsw-d_gianttrick-d_ioctl(dev, cmd, data, fflag, td); mtx_unlock(Giant); dev_relthread(dev); return (retval); @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int ioflag) if (dsw == NULL) return (ENXIO); mtx_lock(Giant); - retval = dev-si_devsw-d_gianttrick- - d_read(dev, uio, ioflag); + retval = dsw-d_gianttrick-d_read(dev, uio, ioflag); mtx_unlock(Giant); dev_relthread(dev); return (retval); Hi Kostik, Yes this stops the panic. I do still get the console spammed with informational messages Apr 2 10:36:30 prawn kernel: ucom0: FTDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on uhub2 Apr 2 10:36:33 prawn login: ROOT LOGIN (toor) ON ttyv0 Apr 2 10:36:56 prawn kernel: ucom0: ucomreadcb: IOERROR Apr 2 10:36:56 prawn kernel: ucom0: at uhub2 port 1 (addr 3) disconnected Apr 2 10:36:57 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:16 prawn last message repeated 188 times Apr 2 10:37:16 prawn login: ROOT LOGIN (toor) ON ttyv1 Apr 2 10:37:16 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:47 prawn last message repeated 303 times Apr 2 10:37:55 prawn last message repeated 85 times but I can live with that. I had opened PR usb/122287 for this, and I have updated this with the relevent information from this thread. I committed the fix to the HEAD. I tested the patch with the uark(4) cable, and simply running the tip over the ttyU0 did not produced the Still -1 threads in ttyU0 message. Are you running tip, or something else over the port ? Just tip. [~](12:30:32) [EMAIL PROTECTED] usb0 /etc/remote usb0:dv=/dev/ttyU0:br#9600:pa=none: then [~](12:31:20) [EMAIL PROTECTED] usb0 connected Router then unplugged the usb adapter Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Kostik Belousov wrote: On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: Kostik Belousov wrote: Compile the ddb into the kernel (instructions are provided at the same web page) and post the output of the console on the panic I tried this but other than the fact I can drop into ddb and step though stuff I'm not sure what I can do with it. Since I cant (obviously) get a serial console on my laptop I have done it the other way and taken a picture of the console on panic. When I have more time I'll carry on reading up on ddb but I think I have a steep learning curve since my previous looks at programing stopped at 'hello world':) Panic console at: http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Marcin Cieslak wrote: Vince wrote: Jeremy Chadwick wrote: Regarding the USB serial adapter, I was supplied it though work a while back. I believe from my rather fuzzy memory we got it though these guys http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html Although I wouldn't swear to it. I'll have an ask if anyone remembers on monday. Can you post a fragment of dmesg output? I am interested whether you attach it to the ohci or uhci controller. --Marcin Sure, Please not this is now a different usb adapter as I left mine at home :( but I just tested and it exhibits the same behavior, (only difference I can see is this says its FIDI while my one says its FTDI, possibly a typo?) [EMAIL PROTECTED] | grep uhub uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3 uhub3: 2 ports with 2 removable, self powered uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4 uhub4: 8 ports with 8 removable, self powered umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev 2.00/0.01, addr 2 on uhub4 ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2 on uhub2 ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on uhub2 And for what its worth: [EMAIL PROTECTED] /var/crash/info.14 Dump header from device /dev/ad0s3b Architecture: i386 Architecture Version: 2 Dump Length: 154411008B (147 MB) Blocksize: 512 Dumptime: Mon Mar 31 09:25:54 2008 Hostname: prawn.unsane.co.uk Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 [EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE Panic String: page fault Dump Parity: 1302845723 Bounds: 14 Dump Status: good Happy to provide more information but I'm not a programmer so you'll probably have to ask me slowly and in words of one syllable ;) Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Kostik Belousov wrote: On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote: Marcin Cieslak wrote: Vince wrote: Jeremy Chadwick wrote: Regarding the USB serial adapter, I was supplied it though work a while back. I believe from my rather fuzzy memory we got it though these guys http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html Although I wouldn't swear to it. I'll have an ask if anyone remembers on monday. Can you post a fragment of dmesg output? I am interested whether you attach it to the ohci or uhci controller. --Marcin Sure, Please not this is now a different usb adapter as I left mine at home :( but I just tested and it exhibits the same behavior, (only difference I can see is this says its FIDI while my one says its FTDI, possibly a typo?) [EMAIL PROTECTED] | grep uhub uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3 uhub3: 2 ports with 2 removable, self powered uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4 uhub4: 8 ports with 8 removable, self powered umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev 2.00/0.01, addr 2 on uhub4 ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2 on uhub2 ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on uhub2 And for what its worth: [EMAIL PROTECTED] /var/crash/info.14 Dump header from device /dev/ad0s3b Architecture: i386 Architecture Version: 2 Dump Length: 154411008B (147 MB) Blocksize: 512 Dumptime: Mon Mar 31 09:25:54 2008 Hostname: prawn.unsane.co.uk Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 [EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE Panic String: page fault Dump Parity: 1302845723 Bounds: 14 Dump Status: good Happy to provide more information but I'm not a programmer so you'll probably have to ask me slowly and in words of one syllable ;) I need two things: 1. The revision of the sys/kern/kern_conf.c file; in particular, I need to know whether you have rev. 1.208.2.1 or 1.208.2.2. 2. Regardless of the outcome of the question 1, please show the output of the bt full from the kgdb loaded with your kernel and crash dump. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html for details on how to obtain useful information from the crash dump. 1) [EMAIL PROTECTED] kern_conf.c sys/kern/kern_conf.c __FBSDID($FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24 13:09:55 kib Exp $); 2) [/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33) [EMAIL PROTECTED] kernel.debug /var/crash/vmcore.14 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. There is no member named pathname. (kgdb) bt full #0 doadump () at pcpu.h:195 No locals. #1 0xc05ae391 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 _giantcnt = Variable _giantcnt is not available. (kgdb) This isnt what I was expecting from the article referenced. Would it be helpful me to update to the latest stable then reproduce (assuming i still can.) Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Panic with usb serial
Hi all, Is it expected that removing a usb serial adapter while you have a connection (eg tip) using it will panic a -stable system? I know it is expected if you remove a mounted umass device so wanted to see if its known behavior for serial before I file a pr. (adapter is FTDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3) -stable version as of the 25th march, (may have existed before but the first time I forgot to close tip before removing the device was on this version.) cheer, Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing manual pages (e.g. aio_fsync)
Carlos A. M. dos Santos wrote: Hello, It seems that the manual page of aio_fsync is missing, at least in FreeBSD 7.0-STABLE. I have some questions regarding this: 1. Is there somebody working on a man page for aio_fsync? 2. Is there a list of missing manual pages? http://wiki.freebsd.org/MissingManpages no idea how complete that is though. 3. What is the current status of POSIX and Unix Specification? Is there any agreement with IEEE or Open Group allowing to cut-and-paste from, say, http://www.opengroup.org/onlinepubs/009695399/functions/aio_fsync.html? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic with usb serial
Jeremy Chadwick wrote: On Sat, Mar 29, 2008 at 10:11:04PM +, Vince wrote: Is it expected that removing a usb serial adapter while you have a connection (eg tip) using it will panic a -stable system? I know it is expected if you remove a mounted umass device so wanted to see if its known behavior for serial before I file a pr. (adapter is FTDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3) -stable version as of the 25th march, (may have existed before but the first time I forgot to close tip before removing the device was on this version.) I would expect that the problem is identical in the sense that with a connection established, you have an open file descriptor which is associated with a serial device that uses USB. So, yes, I would expect this behaviour based on the track record. Should it happen? The answer is no. File a PR? Also, I'd like to know what USB serial adapter you're using (brand, model, and a website of it if possible), for unrelated reasons. Thanks! About what I was expecting but just thought I'd check. Will file a PR tomorrow when my wife isnt browsing facebook on that laptop :) Regarding the USB serial adapter, I was supplied it though work a while back. I believe from my rather fuzzy memory we got it though these guys http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html Although I wouldn't swear to it. I'll have an ask if anyone remembers on monday. Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting devfs over to ZFS from fstab fails
Attila Nagy wrote: Hello, I have some jails running on ZFS, so I have to mount devfs's into them. For this purpose, I have some similar lines in /etc/fstab: devfs /pool/jail/ldap/dev devfs rw 0 0 Where /pool is a ZFS filesystem. I'm not sure if it will have any adverse effects but changing this to devfs /pool/jail/ldap/dev devfs rw,late 0 0 Will probably fix it. My guess is that the error checking correction in the latest version in -stable picked up an error that was being incorrectly ignored before. see http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/mountcritlocal.diff?only_with_tag=RELENG_7r1=texttr1=1.14.2.2r2=texttr2=1.14 which i believe is the MFC for http://www.freebsd.org/cgi/getmsg.cgi?fetch=1314016+1316331+/usr/local/www/db/text/2008/cvs-all/20080309.cvs-all Although I cant seen a commit message in cvsweb (i'm still learning that though :) Vince This has worked until today -when I upgraded from a previous 7-STABLE (FreeBSD 7.0-STABLE #16: Fri Mar 7 14:30:08 CET 2008) to today's STABLE- but not anymore. The boot process fails with something like WARNING: $true wasn't set, see man rc.conf (or something similar, I don't have the exact error message, but I can reproduce if it's needed), and the problem is that the rc scripts try to mount the devfs (and nullfs) stuff to the yet unmounted ZFS, so /pool/jail/ldap/dev doesn't exist. If I create them on the root filesystem, the OS boots up fine, but of course I don't have the devfs's mounted onto ZFS, they are beneath it (umount and mount -a solves the issue). There is a similar problem with nullfs's as well. AFAIK only the following has been changed in rc.d: ./dhclient ./mountcritlocal ./mountlate neither of them seems to be able to produce this kind of malfunction. Any ideas? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: connection timed out on freebsd 7.0
Krassimir Slavchev wrote: Hi, try 'sysctl -w net.inet.tcp.rfc1323=0' Thanks for that, I was having issues connecting to www.freebsd.org from a 7.0-PRERELEASE box and this fixed it for me. Vince Yi Wang wrote: Hi, My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ). My problem is I can't connect to the network outside the router. eg. www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can assure you that DNS works fine and the firewall is turned off. Here's some diagnostic messages: # uname -a FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct 17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386 # ifconfig -a le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0c:29:3c:47:47 inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255 inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:bd:e4:45:00:01 inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255 PS: This is the result in vmware. I made a dual boot system and run it in vmware using raw disk. Actually, the real interface is nfe0. Sorry for my poor English. Thanks very much! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd.org is down
On Fri, 14 Sep 2007, Charles Sprickman wrote: On Fri, 14 Sep 2007, Gary Palmer wrote: On Fri, Sep 14, 2007 at 01:26:33PM -0700, Jon wrote: Check the freebsd-questions list for more info For those, like me, who are not subscribed to freebsd-questions, the list archives can be accessed at: http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/thread.html#158022 I'll save you all some trouble... The thread basically consists of people noting that it does not work. That's pretty much it. There's no post yet stating what the trouble is or what the ETR is. Of note is that portaudit relies on www.freebsd.org being up to fetch it's info. Oh and fetching the ports index via portsdb -F seems to be broken too, I'd imagine it uses the website too. Vince Charles That URL appears to still be answering presently. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd just sits there and does nothing
Can you send the output of ntp.conf? [LoN]Kamikaze wrote: Stefan Lambrev wrote: Hi, [LoN]Kamikaze wrote: Doug Hardie wrote: On Jul 19, 2007, at 10:08, [LoN]Kamikaze wrote: As the subject says, on my 6-stable systems ntpd just sits there and does nothing. The logs only mention when the daemon gets started or shut down. It complains when servers are not reachable, but does nothing when they are available. The drift file always contains 0.00. ntpdate and openntpd both successfully manage to set the time, so I suppose it's a problem with ntpd. Are you on a static IP address? If not, ntpd obtains its IP address when it starts up and uses it forever. If your IP address changes then it will not be able to communicate with the upstream ntp servers. It has to be restarted everytime your IP address changes. I have a static address. The trouble is it seems to operate fine, only it forgets to change the time when it differs from the time servers too much. Sometimes my clock goes wrong more than 1 second within a day. ntpd will not change time if the difference is too big - I think it should be less then 1000s. ntpdate will :) Also if you have increased your kernel secure level 2+ : In addition, kernel time changes are restricted to less than or equal to one second. Attempts to change the time by more than this will log the message ``Time adjustment clamped to +1 second''. So grep for ntpd in /var/log/messages and I'm sure you will find the problem. Other problem that I see is if you are behind NAT/firewall. Because ntpd make a request and wait for response on different port, so check your firewall configuration and blocked packets. My securelevel is -1, even starting with an accurate clock ntpd just slowly lets it drift away. I'm behind a 2 NATs, one of which I have no access to. However openntpd and ntpdate don't seem to be troubled by this. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/security/vpnc vs built-in IPSec?
Andrew Reilly wrote: Hi there, I used ports/security/vpnc with some success some time ago, but then stopped because I didn't need it. Since then I've upgraded my -STABLE many times, and portupgrade has upgraded vpnc at least once, and now it doesn't seem to work anymore. I've been poking it quite vigerously, this afternoon, without much success: I can start it from the command line, with debugging turned on and no-disconnect from the control terminal, and can see from the debug trace that connection, authentication and network route setup all seem perfect. Just no packets ever seem to get through the tun0 link. I'm running -CURRENT so the situation isnt identical but vpnc works fine here. this is though NAT with vpnc-0.4.0_1 [EMAIL PROTECTED] add host 80.169.168.42: gateway 192.168.10.2 add net 10.49.11.0: gateway 10.100.223.50 add net 10.44.19.0: gateway 10.100.223.50 VPNC started in background (pid: 24376)... [~](14:19:30) [EMAIL PROTECTED] -su: !ftp: event not found [~](14:19:32) [EMAIL PROTECTED] 10.49.11.252 Connected to 10.49.11.252. 220 Access to this system is restricted to authorised users only. If you are not authorised please disconnect now. All transfers are logged. Name (10.49.11.252:jhary): ^C [~](14:20:07) [EMAIL PROTECTED] Terminating vpnc daemon (pid: 24376) Now, I remember from long ago that vpnc does not like IPSec in the kernel, because (from memory) the kernel gets to the esp packets before vpnc (which handles them in user-space), and the wrong thing happens. The difference, now, seems to be that there is no longer a config option to disable IPSEC. Or is there? Is there any way to disable kernel IPSEC in 6-STABLE? Its not enabled in GENERIC, so you wont have IPSEC Unless you have built a custom kernel. Cant offer much beyond that though I'm afraid. Has it setup the routing correctly? sorry i cant help more, Vince There doesn't seem to be anything in kldstat to indicate that any ipsec foo has been dynamically loaded. Indeed, there doesn't seem to be anything in sysctl -a relating to ipsec either: does that mean that it somehow *is* disabled? Any other thoughts on how to improve my situation? Cheers, ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW TO: Enabling root on a new server?
For most versions of plesk i've come across (I look after a load of linux servers with it installed,) if you have the plesk admin then you have root. Look for the modules option, then look for the add modules, this should let you upload a shell script which is then run as root (horribly insecure but thats plesk, and if you fiddle with their setting enough you can change the css of the webapp not to display the page) If this is the same on FreeBSD as on linux you can create a new UID 0 user if need be using pw in a shell script, or you can put a ssh public key in to roots authorized_keys file. I'd definitely advise you get plesk removed if you intend to administrate the box by hand though. If thats no help, when you log into the box by ssh, what is the output of grep root /etc/passwd it should be something like root:*:0:0:Charlie :/root:/bin/csh if not then they have renamed/removed root so try looking in /etc/passwd for a user with uid of 0 (third field.) This should at least get you a username to ask their support about. If they have actually removed the root user your a bit stuffed and Hope some of thats some help. Vince Michael Williams wrote: Tom, Again, Plesk just came with the server config we asked for. We didn't ask for Plesk, we *asked* for the specific hardware. Plesk was free. *rolls eyes* Regards, Michael On Jul 16, 2007, at 3:17 AM, Tom Samplonius wrote: - Michael Williams [EMAIL PROTECTED] wrote: No, I don't necessarily need Plesk; although we will be selling hosting. It simply came with the default configuration for the server. My plan is to manage most everything from the Unix shell. I just figured I might find a morsel inside Plesk somewhere for enabling root access. FYI, logging in as admin didn't work. Any other suggestions? You are probably better off just asking the hosting company for the password. You need the root password, and you need to have an account that is a member of the wheel group (use groups when you ssh to see if your account is ok). They might have flagged you as a newbie, and think you are better off inside the padded confines of Plesk. I work at a hosting company, and a whole bunch of our dedicated server customers are in over their heads with their servers as it is. Given that you asked for Plesk, and are now asking for root, they are probably has made them worried that the next call from you will be that you deleted /etc, and your server won't boot anymore. If you are planning to do any admin via ssh with root, you will not want Plesk. Plesk manages all of your software installs. Plesk includes Plesk specific versions of Apache, PHP, and MySQL. All patches and updates can only come from SWSoft, or the Plesk universe will crash. And Plesk ties you to a specific FreeBSD version too. Plesk versions lag big time for FreeBSD. But on the other hand, it is big GUI thing, and people like it. Tom ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW TO: Enabling root on a new server?
Amusing to hear they are more secure on FreeBSD than linux although its a shame that didnt work for you. They didnt enable you to use sudo instead of su or something like that did they? I'm afraid i cant recommend any FreeBSD hosting companies though personal experience, (work only does linux and windows,) but i'm sure an ask on or a search of the archives of the freebsd-questions@ , freebsd-net@ or freebsd-isp@ lists will throw up some suggestions. Vince Michael Williams wrote: First, the output of the grep is: root:*:0:0:Charlie :/root:/bin/csh toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin . . .that said, the Plesk Module Loader only allows for .tgz and .tbz files and is anal about them being of a module format, whatever structure may be. I've tried what I thought were appropriate modules, and it rejected them saying they were not true modules. I'm going to call one more time today. If I get no better assistance, I will seek out a different company. If you all have any recommendations let me know. Obviously, the best solution would be to have my ISP set me up with a static IP and massive amounts of bandwidth. But, seeing as how that's at least a good 30 years off. . . Regards, Michael On Jul 16, 2007, at 11:03 AM, Vince wrote: For most versions of plesk i've come across (I look after a load of linux servers with it installed,) if you have the plesk admin then you have root. Look for the modules option, then look for the add modules, this should let you upload a shell script which is then run as root (horribly insecure but thats plesk, and if you fiddle with their setting enough you can change the css of the webapp not to display the page) If this is the same on FreeBSD as on linux you can create a new UID 0 user if need be using pw in a shell script, or you can put a ssh public key in to roots authorized_keys file. I'd definitely advise you get plesk removed if you intend to administrate the box by hand though. If thats no help, when you log into the box by ssh, what is the output of grep root /etc/passwd it should be something like root:*:0:0:Charlie :/root:/bin/csh if not then they have renamed/removed root so try looking in /etc/passwd for a user with uid of 0 (third field.) This should at least get you a username to ask their support about. If they have actually removed the root user your a bit stuffed and Hope some of thats some help. Vince Michael Williams wrote: Tom, Again, Plesk just came with the server config we asked for. We didn't ask for Plesk, we *asked* for the specific hardware. Plesk was free. *rolls eyes* Regards, Michael On Jul 16, 2007, at 3:17 AM, Tom Samplonius wrote: - Michael Williams [EMAIL PROTECTED] wrote: No, I don't necessarily need Plesk; although we will be selling hosting. It simply came with the default configuration for the server. My plan is to manage most everything from the Unix shell. I just figured I might find a morsel inside Plesk somewhere for enabling root access. FYI, logging in as admin didn't work. Any other suggestions? You are probably better off just asking the hosting company for the password. You need the root password, and you need to have an account that is a member of the wheel group (use groups when you ssh to see if your account is ok). They might have flagged you as a newbie, and think you are better off inside the padded confines of Plesk. I work at a hosting company, and a whole bunch of our dedicated server customers are in over their heads with their servers as it is. Given that you asked for Plesk, and are now asking for root, they are probably has made them worried that the next call from you will be that you deleted /etc, and your server won't boot anymore. If you are planning to do any admin via ssh with root, you will not want Plesk. Plesk manages all of your software installs. Plesk includes Plesk specific versions of Apache, PHP, and MySQL. All patches and updates can only come from SWSoft, or the Plesk universe will crash. And Plesk ties you to a specific FreeBSD version too. Plesk versions lag big time for FreeBSD. But on the other hand, it is big GUI thing, and people like it. Tom ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD amd64 apache + mod_perl
Yeah I have only been able to use that Perl module for Oracle on FreeBSD with i386 which is a bit frustrating. I believe because it uses i386 binary drivers which don't work on AMD64. Mike Stefan Lambrev wrote: Hello list, Is there any way to have apache + mod_perl on FreeBSD amd64 and to connect to oracle 10g server? Can I use something different then ports/databases/p5-DBD-Oracle or get it working? All my attempts to get p5-DBD-Oracle to work for me failed miserably :( uname -srm : FreeBSD 6.2-STABLE amd64 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tap device at boot time
Willy Offermans wrote: Dear FreeBSD friends, Is it possible to add and configure a tap device at boot time of FreeBSD? I mean the same as a normal NIC. In my rc.conf: snip ... ifconfig_xl0=inet 192.168.0.2 promisc netmask 255.255.255.0 ifconfig_rl0=inet 192.168.4.2 netmask 255.255.255.0 ifconfig_tap0=inet 10.8.0.1 netmask 255.255.255.0 ... /snip try adding cloned_interfaces=tap0 to your rc.conf Vince and in my /boot/loader.conf: snip ... if_tap_load=YES ... /snip if_xl0 and if_rl0 are compiled into the kernel. Maybe it is even possible to set the MAC address of the tap device!? The tap device should be available before named and dhcpd have been started. In that way I can provide IP addresses over the tap device and add appropriate DNS entries. I like to run openvpn with tap devices and want to use the dhcpd server to provide IP addresses and update the named. This works quite well. However after reboot I always have to restart named and dhcpd again since the tap device becomes available after these services have started during boot. I guess this problem will be solved if the tap device is already available and configured before named and dhcpd have started. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Don't buy AMD products (was Re: Xorg and ATI card query.)
Sean Bryant wrote: Andrew Reilly wrote: On Tue, 13 Mar 2007 14:17:00 -0800 (PST) Doug Ambrisko [EMAIL PROTECTED] wrote: One thing that is a plus with nv is that X has some support for it, whereas, the newer ati cards have no support :-( I was a fan of ati since it was easier to get support. Now I'm starting to lean towards Nvidia :-( Does anyone know if there are *any* contemporary graphics cards that have 3D acceleration supported by some flavour of open-source x.org? Doesn't have to be a super-fast 'leet gamer system to be better than a non-accelerated frame buffer. I never thought I'd actually recommend it but The Intel 82945GM controller in my laptop has semi ok 3d acceleration. I'm running the experimental xorg 7.2.r3 server with beryl and its running quite nicely. output of glinfo below if anyones interested. The performance doesnt compare to the nvidia drivers on my desktop at home but it does its job, wouldnt want to game on it though. glxgears output: libGL warning: 3D driver claims to not support visual 0x5b 3235 frames in 5.0 seconds = 646.998 FPS 3610 frames in 5.0 seconds = 721.937 FPS 3525 frames in 5.0 seconds = 704.861 FPS -- glinfo output: libGL warning: 3D driver claims to not support visual 0x5b GL_VERSION: 1.3 Mesa 6.5.2 GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_AR B_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_t exture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_te xture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_text ure_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_tran spose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EX T_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volu me_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EX T_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_E XT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon _offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_co lor GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_ EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_en v_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_textu re_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array G L_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels G L_ATI_blend_equation_separate GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repe at GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA _window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read _format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_t exture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth _texture GL_SUN_multi_draw_arrays GL_RENDERER: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2 GL_VENDOR: Tungsten Graphics, Inc GLU_VERSION: 1.3 GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess GLUT_API_VERSION: 5 GLUT_XLIB_IMPLEMENTATION: 15 Vince Try the 'vesa' xorg driver. It may not be fancy or all that accelerated but it works quite well. I have an nvidia card and cannot get it to work for the life of me. the drive attached, but nothing happens after that. It might be the fact that I have a PCI express card. But the vesa driver is working just fine for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get sound to work!
Karl Denninger wrote: Is there any intent to backport that into -STABLE? How ugly would that be to do? -- Almost certainly I hope :) if not the patch is available at http://people.freebsd.org/~ariff/snd_RELENG_6_20070305_148_lowlatency.diff.gz doesnt look too ugly for me, and worked well too. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get sound to work!
Karl Denninger wrote: Tried to apply that, and got a mess. Did you put that on RELENG_6 cleanly? It drops a bunch of files in the top level SRC directory (NOT under /sys!) if applied against /usr/src; it appears to apply cleanly but a kernel build subsequent to that fails. -- Actually i just checked properly and thats a newer patch than the one i had been using (i switched to current on a whim and havent switched back yet) The command i was using to apply the previous version was patch -d /usr/src -p0 /root/src/snd_RELENG_6_20070111_139_lowlatency.diff (excuse line wrap) which worked fine against a clean cvsup of -STABLE until at least the end of January. My guess is you didnt patch with the -p0 option to create missing directories. The README at http://people.freebsd.org/~ariff/README gives Ariffs instructions for applying. The other option is the binaries in http://people.freebsd.org/~ariff/lowlatency/ again read the README Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal patch
Václav Haisman wrote: Hi, yesterday, I tried to build kernel and world with the gjournal patch. It does not apply cleanly. This brings me to question, are there some outstanding issues that prevent it from being commited to RELENG_6? I tried to search ml archives but I did not find any. -- Vaclav Haisman I run it on a 6.2-release server, no problems as yet but its only been a month. The original ptach broke back in november see [http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030803.html] However because of [http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/vnode.h.diff?r1=1.304.2.7r2=1.304.2.8f=h] This doesnt quite apply cleanly but very close to and its easy to manually do the minor diff manually basically add the line #define VV_DELETED 0x0400 /* should be removed */ After #define VV_MD 0x0800 /* vnode backs the md device */ No other issues I'm aware of but i'm not following -STABLE on that box any more. Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsupgrade problem on 6.2-RELEASE
I see this has been also added to UPDATING now which should remove some queries from here and questions@ Vince Dominic Marks wrote: On Fri, 02 Feb 2007 14:31:28 +0100 Georg Bege [EMAIL PROTECTED] wrote: Hi Got a big problem today with portupgrade: ... Look at the other recent posts discussing this problem. The solution is manually upgrade portupgrade, see the other posts for more information. Dominic ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsupgrade problem on 6.2-RELEASE
Georg Bege wrote: Hi Sry I dont get it, I searched now again and didnt find much. There is nothing about this on freebsd.org. If so then tell me where? Please be more clearer and give me an URL or so where its pointed out how to manual upgrade. from the latest portsnap update: more /usr/ports/UPDATING 20070102: AFFECTS: users of sysutils/portupgrade AUTHOR: [EMAIL PROTECTED] If you have a problem with upgrading the tools from version 2.2.1 and less, remove the package with pkg_delete portupgrade\* command and reinstall it from scratch. Remove /usr/ports/INDEX*.db and run portsdb -u. Hope that helps. (reinstalling it from scratch involves cd /usr/ports/sysutils/portupgrade make install clean ) Vince thanks Vince wrote: I see this has been also added to UPDATING now which should remove some queries from here and questions@ Vince Dominic Marks wrote: On Fri, 02 Feb 2007 14:31:28 +0100 Georg Bege [EMAIL PROTECTED] wrote: Hi Got a big problem today with portupgrade: ... Look at the other recent posts discussing this problem. The solution is manually upgrade portupgrade, see the other posts for more information. Dominic ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed hunks, however adding options GEOM_JOURNAL options UFS_GJOURNAL to my kernel config then doing a make buildkernel KERNCONF=MYKERNELCONF errors out with /journal/g_journal.c /usr/src/sys/geom/journal/g_journal.c: In function `g_journal_do_switch': /usr/src/sys/geom/journal/g_journal.c:2872: error: structure has no member named `mnt_gjprovider' /usr/src/sys/geom/journal/g_journal.c:2885: error: structure has no member named `mnt_gjprovider' /usr/src/sys/geom/journal/g_journal.c:2890: error: structure has no member named `mnt_gjprovider' *** Error code 1 This is on a recent 6-stable system 6.2-PRERELEASE #1: Fri Nov 10 14:31:47 GMT 2006 any idea what ive done wrong ? Cheers, Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal on 6.x wont build
Philippe Pegon wrote: Vince wrote: Hi all, Hi, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed hunks, however adding options GEOM_JOURNAL options UFS_GJOURNAL to my kernel config then doing a make buildkernel KERNCONF=MYKERNELCONF errors out with /journal/g_journal.c /usr/src/sys/geom/journal/g_journal.c: In function `g_journal_do_switch': /usr/src/sys/geom/journal/g_journal.c:2872: error: structure has no member named `mnt_gjprovider' /usr/src/sys/geom/journal/g_journal.c:2885: error: structure has no member named `mnt_gjprovider' /usr/src/sys/geom/journal/g_journal.c:2890: error: structure has no member named `mnt_gjprovider' *** Error code 1 This is on a recent 6-stable system 6.2-PRERELEASE #1: Fri Nov 10 14:31:47 GMT 2006 any idea what ive done wrong ? the latest patch (gjournal6_20061024.patch) doesn't apply cleanly on fresh RELENG_6 due to the last commit on mount.h : http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/mount.h?only_with_tag=RELENG_6 I have slightly modified the patch so that it works (see attach) That works a treat. Thanks for the prompt response and patch. i'll start playing with it when i get home. Vince -- Philippe Pegon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 with PAE on a recent server (HP DL380 G5 or Dell PE 1950) ?
Olivier Mueller wrote: Hello, I will soon get some new servers with more than 4 GB of RAM, and I am wondering if they will work fine even with the PAE option activated: are all the required drivers (RAID mfid, bce on the Dell, ciss0 on the HP) 100% compatible, or should I expect trouble? If you have a working /usr/src/sys/i386/conf/ with active PAE on one of these servers, I'd be interested :) Btw, when will we see these new servers listed under: http://www.freebsd.org/platforms/amd64/motherboards.html ? Or should I use send-pr ? :) Thanks regards, Olivier ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] I have one of these. The ethernet device (bce) kept falling over on release as well as other stability problems (forget them all now) I am running stable from September the 8th on it which appears to be a good time as it was before any new funkier ethernet device commits where a lot of people started complaining about em and bce timeout probs. I posted a basic Ethernet speed of this machine a while back, 92mbytes/sec is bad but its not as fast with my Dells with em devices on 6.1 release. Bce HP to Em Dell HPDL380# cat /dev/zero | dd bs=1m | nc dell2 3000 ^C0+19648 records in 0+19648 records out 1287606272 bytes transferred in 13.926151 secs (92,459,594 bytes/sec) I don't really like these machines at all compared to the Dells, mainly because the bios is very disappointing and even 'stupid' in my opinion. Its important to note that in key areas its actually quite different from from the G4 and older generations, its hard to navigate/use and isn't as remotely useful compared to Dells bios, that said again is my opinion! They also skimp on a bunch of things that they know most people don't know about, like battery backed write cache in their controller cards, any of the mid to high end servers you see on the Dell web site specs list the battery backed controller card quite clearly. So with a default setup of these HP's you don't get any write cache from the 256meg controller cache unless you want to go down a more dodgey road manually enable it and risk data loss if you loose sudden power. I am also considering using PAE on it over its current AMD64 mode as I have special requirements. I had to get one of these as we needed a machine fast which they did come through on. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
usb serial lockup
Hi All, I have a bit of a wierd problem, My laptop has no serial ports, as is the norm these days, so i have a FTDI based usb serial connector which is very handy and works well. However, what i have found is that freebsd still detects a serial port anyway sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled and if i'm careless and type tip com1 ( or use minicom on /dev/{ttyd0, cuad0} as root or as a user I hard lock my laptop, nothing responding and i have to powercycle it. this is 100% reproducable. I'm pretty sure this isnt expected behaviour, and it has happened from 6.1 through 6-Stable to my latest update (possibly before but i havent tested:) 6.2-PRERELEASE #12: Mon Nov 6 15:01:21 GMT 2006 any suggestions as to what i can do about it? (other than watch my typing, if thats the only answer i can live with it though;) Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb serial lockup
Ian Smith wrote: On Fri, 10 Nov 2006, Vince wrote: I have a bit of a wierd problem, My laptop has no serial ports, as is the norm these days, so i have a FTDI based usb serial connector which is very handy and works well. However, what i have found is that freebsd still detects a serial port anyway sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled and if i'm careless and type tip com1 ( or use minicom on /dev/{ttyd0, cuad0} as root or as a user I hard lock my laptop, nothing responding and i have to powercycle it. this is 100% reproducable. add to /boot/loader.conf (ditto for sio.1 wouldn't hurt): hint.sio.0.disabled=1 Yeah that would work. didnt even think to look there. Doh. cheers, Vince Ian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems compiling stable
Nenhum _de_Nos wrote: On 11/7/06, Matthew Herzog [EMAIL PROTECTED] wrote: I should add that I am using a Sun Ultrasparc machine for FreeBSD. It takes at least 8 hours to get to the point of breakage. On 11/7/06, Nenhum _de_Nos [EMAIL PROTECTED] wrote: On 11/7/06, Matthew Herzog [EMAIL PROTECTED] wrote: My attempts always end in gbde. I have posted the error before. I should be giving up by now. It's prolly been 12 attempts. i must confess i'm not too far from this ... :( as far as i cant see i'll have to way till 6.2-R comes ... matheus well, the make buildkernel this time passed ! not such good luck for buildworld :( matheus Have you tried cd /usr/obj/usr/src/usr.bin/vi rm -rf * rm .depend (make clean doesnt delete .depend and rm -rf * doesnt either.) then try cd /usr/src/usr.bin make just in case you have something stale lying around ? Vince PS try installing ccache to speed up your compiles. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: probs on 6.2-prerelease
Danny Braniss wrote: [...] Hey all, I don't know if this is pre 6.2 specific but I changed my /etc/tty for device ttyd0 to 'on' from 'off' and when I rebooted the pc I couldn't login via regular KVM console, just don't get a login. The more alarming thing was that while it appeared everything was booting up from the boot up messages on the screen, I couldn't remotely log into the server in fact it appears the machine didn't bring up the Ethernet device as I couldn't even ping it. As soon as I switched the ttyd0 back to 'off' and rebooted it I could ssh back into the server etc. I have a regular kernel and 1 jail and samba on this machine. This might just be a ports thing but on another 6.2 server I setup a jailed mail server with courier imap and I have noticed that it fails to build the courier-imap port with FAM support. I tried also installing the gamin FAM alternative which builds ok but I get signal 11 when I try to login to the imap server. Does anyone else have these problems? I've been having this for a very long time, if the serial port does not realy exist - i don't know the technical wording for this -, if the kernel detected the sio hardare, but it's not realy wired, then it the kernel will hang when getty will try to open it. danny OK good then its not just me, yes I haven't checked if the serial port is actually enabled in the bios, still I think its quite ordinary to have a machine basically fully hang up just because theres no active serial port. With no network or serial (unless you can enable/find it hardware side) I had to boot from the Freebsd install cdrom in fix it mode and mount the installed setup and revert the tty change. next time, just boot single user, do a fsck / then mount -u / at which point you will be able to fix /etc/ttys or any other screwup. danny Yeah for some reason I couldn't do that, I can't even remember all the reasons now but the main reason is because I have a USB keyboard, for some reason I can use the USB keyboard in the BIOS but as soon as the boot loader starts with the 10sec menu I loose all control of the keyboard. Booting into fixit mode from the CDROM loads the USB drivers (as well as not hanging up the OS anywhere) so I could mount the filesystem and fix it. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: probs on 6.2-prerelease
Danny Braniss wrote: Hey all, I don't know if this is pre 6.2 specific but I changed my /etc/tty for device ttyd0 to 'on' from 'off' and when I rebooted the pc I couldn't login via regular KVM console, just don't get a login. The more alarming thing was that while it appeared everything was booting up from the boot up messages on the screen, I couldn't remotely log into the server in fact it appears the machine didn't bring up the Ethernet device as I couldn't even ping it. As soon as I switched the ttyd0 back to 'off' and rebooted it I could ssh back into the server etc. I have a regular kernel and 1 jail and samba on this machine. This might just be a ports thing but on another 6.2 server I setup a jailed mail server with courier imap and I have noticed that it fails to build the courier-imap port with FAM support. I tried also installing the gamin FAM alternative which builds ok but I get signal 11 when I try to login to the imap server. Does anyone else have these problems? I've been having this for a very long time, if the serial port does not realy exist - i don't know the technical wording for this -, if the kernel detected the sio hardare, but it's not realy wired, then it the kernel will hang when getty will try to open it. danny OK good then its not just me, yes I haven't checked if the serial port is actually enabled in the bios, still I think its quite ordinary to have a machine basically fully hang up just because theres no active serial port. With no network or serial (unless you can enable/find it hardware side) I had to boot from the Freebsd install cdrom in fix it mode and mount the installed setup and revert the tty change. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
probs on 6.2-prerelease
Hey all, I don't know if this is pre 6.2 specific but I changed my /etc/tty for device ttyd0 to 'on' from 'off' and when I rebooted the pc I couldn't login via regular KVM console, just don't get a login. The more alarming thing was that while it appeared everything was booting up from the boot up messages on the screen, I couldn't remotely log into the server in fact it appears the machine didn't bring up the Ethernet device as I couldn't even ping it. As soon as I switched the ttyd0 back to 'off' and rebooted it I could ssh back into the server etc. I have a regular kernel and 1 jail and samba on this machine. This might just be a ports thing but on another 6.2 server I setup a jailed mail server with courier imap and I have noticed that it fails to build the courier-imap port with FAM support. I tried also installing the gamin FAM alternative which builds ok but I get signal 11 when I try to login to the imap server. Does anyone else have these problems? Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Polling and em0
Bill Blue wrote: polling(4) says that supported devices include em(4) and that polling support is turned on and off with ifconfig's 'polling' option. But ifconfig doesn't seem to recognize that option either as a standalone request or with the initial em0 setup at boot. This is after a source cvsup (releng=6 for the frozen for 6.2 sources) yesterday and buildworld + buildkernel. em support is compiled in the kernel rather than loaded. Mobo is a Supermicro P4SCT-0 with Intel 875 chipset. Is this a known issue that I haven't found references to, or perhaps something related to my specific configuration? FreeBSD v2.netoldies.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Sep 15 15:14:07 PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/V2KERNEL i386 Thanks --Bill Since 6.1 I have stopped using polling as a regular kernel seems to give good performance as compared to polling mode. In fact I used to get anything between 55-75megs/sec on 6.1 with regular cables but since upgraded to cat6 quality Ethernet cable I get practically full gigabit speed with no polling. Close to 97megs/sec is the performance I get out of my Dells with the em driver, and apparently the new em driver in 6-stable 6.2 is even faster. em(4) Dell to em(4) Dell dell1# cat /dev/zero | dd bs=1m | nc dell2 3000 ^C0+18456 records in 0+18455 records out 1209466880 bytes transferred in 12.459299 secs (97,073,429 bytes/sec) Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1-RELEASE -FreeBSD 6.1-Stable
Eric wrote: S. M. Ibrahim (Lavlu) wrote: Now i am using FreeBSD 6.1-RELEASE. Now want to upgrade to FreeBSD 6.1-Stable. What is the easy process ? this works well http://mikestammer.com/dokuwiki/doku.php?id=bsd:updateos the cvsup part looks ok but for the actual build then read /usr/src/Makefile for the recommended procedure. Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: speedstep / cpu frequency control on 6-stable?
Torfinn Ingolfsen wrote: Hello, What ids the current way to control cpu speed (and power consumption) in FreeBSD 6-stable? Before, est was one way, but all traces of est has disappeared from /etc/defaults/rc.conf and thereabouts. I find something about powerd and power_profile, but they don't seem to work, and I can't seem to find out what variables / configuration items to set. 'man cpufreq' isn't much help in that regard either. In what way does powerd not work for you? ([EMAIL PROTECTED])$grep powerd /etc/defaults/rc.conf powerd_enable=NO # Run powerd to lower our power usage. powerd_flags= # Flags to powerd (if enabled). read man powerd for flags and try powerd -v this should give an indication of what happens, for example I get [EMAIL PROTECTED] -v idle time 90%, decreasing clock speed from 1666 MHz to 1457 MHz idle time 90%, decreasing clock speed from 1457 MHz to 1249 MHz idle time 90%, decreasing clock speed from 1249 MHz to 1041 MHz idle time 90%, decreasing clock speed from 1041 MHz to 833 MHz idle time 90%, decreasing clock speed from 833 MHz to 624 MHz idle time 90%, decreasing clock speed from 624 MHz to 416 MHz idle time 90%, decreasing clock speed from 416 MHz to 208 MHz idle time 65%, increasing clock speed from 208 MHz to 624 MHz idle time 90%, decreasing clock speed from 624 MHz to 416 MHz idle time 90%, decreasing clock speed from 416 MHz to 208 MHz idle time 65%, increasing clock speed from 208 MHz to 624 MHz idle time 90%, decreasing clock speed from 624 MHz to 416 MHz which is a pain if i'm running X on mains so I tend to use -a maximum -b adaptive as my powerd flags as it defaults to adaptive even if your on mains power. Do I need working acpi to use a power control method? Umm not sure as mine works, but probably, since my dmesg says I have acpi_throttle0: ACPI CPU Throttling [EMAIL PROTECTED] | grep -i cpu CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1662.51-MHz 686-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 SMP: AP CPU #1 Launched! Vince ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell Server 2900 with the new Intel processor Woodcrest
[EMAIL PROTECTED] wrote: Thomas Agersborg wrote: I want to purchase a Dell Server 2900 with these specifications ... Dual-Core 64-bit Intel Xeon processor 5160 ... 4GB (4x1GB) 667MHz FBD memory (max 32GB) ... is there any issues which I need to be aware of in regard to the server and FreeBSD? You'll want (need) to run amd64 instead of i386. You can run i386, but the 64-bit capabilities will go to waste. You also won't get to use all of your 4 GB of RAM due to memory-mapping of hardware I/O addresses. The amd64 version does not have these problems. All the major software is now 64-bit clean, but you may have trouble with some desktop-type software (mplayer) and other less-common ports. Beyond that, all is good--PowerEdge+FreeBSD is an excellent combination. We even have IPMI support! ___ Just a few extra notes I could add. Its possible to use just the PAE kernel config with i386 to get access to all your ram, I only do it because I need 1.4 Java which is only really available on i386 but most people would use the 1.5 Java instead, also I need the i386 Perl Oracle driver as there is no AMD64 version of that. Other then those I would just use the AMD64 FreeBSD. I did see a commit on that new Perc5 Raid card somewhere I don't know if its in 6.1Release or just 6stable so I guess the only risk is that may have to run 6-Stable till 6.2 Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: em(4) update for 6-STABLE
Gleb Smirnoff wrote: On Thu, Aug 03, 2006 at 04:14:35PM -0700, Nikolas Britton wrote: N First, it significantly improves perfromance of the driver N under high pps load. N Second, it adds support for few new chips. N N You need to update your system to fresh RELENG_6. The driver N will not compile on 6.1-RELEASE. N N Why will it not compile on 6.1? Because it uses new taskqueue API not yet present in 6.1-RELEASE. Sounds good, I will have to wait till 6.2release before using it, Stable just isn't as stable as it used to be. I look forward to em benchmarking. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: em device hangs on ifconfig alias ...
Robert Watson wrote: On Fri, 7 Jul 2006, User Freebsd wrote: I think that I have patched, built and loaded the em(4) kernel module correctly. After applying the patch there were no rejects, before building the module I intentionally appended (patched) to its version string in if_em.c, and could see that in dmesg every time I loaded the module: em1: Intel(R) PRO/1000 Network Connection Version - 3.2.18 (patched) Is it possible that we're going at this issue backwards? It isn't the lack of ARP packet going out that is causing the problems with moving IPs, but that delay that we're seeing when aliasing a new IP on the stack? The ARP packet *is* being attempted, but is timing out before the re-init is completing? Yes -- basically, there are two problems: (1) A little problem, in which an arp announcement is sent before the link has settled after reset. (2) A big problem, in which the interface is gratuitously recent requiring long settling times. I thought I remember a developer working on the em driver saying just before 6.1 was released that this reset was needed and couldn't be avoided to ensure performance of the device to work at its best, I can't remember his explanation, but this topic has come up before, of course anything is possible to fix. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: em device hangs on ifconfig alias ...
Atanas wrote: Dan Nelson said the following on 6/28/06 3:52 PM: In the last episode (Jun 28), User Freebsd said: has anyone figured out why the em device 'hangs' for about 30-45 seconds whenever you ifconfig alias a new IP on to the device? The em driver resets the card when you add an IP to it, and unless you've configured your switch not to autodetect fancy features on that port, it may very well take 45 seconds for it to come up. For me the em reset actually takes about a second or so per single IP alias. But more aliases you got, longer the timeout becomes. In case you have hundreds (like I do), a single reboot might cost you something like 10-15 minutes of downtime, just for the aliases to come up. Does anybody know a better NIC driver alternative when dealing with lots of IP aliases? Regards, Atanas ___ For me its IP alias additions take 1 or maybe 2secs, but it is noticeable, but really isn't an issue for me. As far as I have noticed the em driver in 6.1 after being rebuilt is at its peak of driver quality, so much in fact that since 6.1 its recommended not to even bother with polling with em if you need maximum network performance as it won't go any faster, the em driver for 6.1 got very large performance improvement compared to older em driver versions before 6.1-release, which I suspect got over hacked over time. I am pretty sure I used to only be able to get 200,300mbits/sec max but now I can get up to 850mbits on some and on the lowest side 500mbits/sec on others which I suspect is due to cable quality etc. I am just thankful for it working as it is. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: em device hangs on ifconfig alias ...
User Freebsd wrote: On Thu, 29 Jun 2006, Peter Jeremy wrote: On Thu, 2006-Jun-29 17:30:07 +1000, Michael Vince wrote: For me its IP alias additions take 1 or maybe 2secs, but it is noticeable, but really isn't an issue for me. But it obviously is for Atanas, who has 100's of aliases. In my case, it isn't 100's, but the problem is noticeable ... I have my start up scripts, right now, do the ifconfig, sleep for 45 seconds, and then start up the jail ... and even then, apache doesn't *always* start up, since sometimes that isn't long enough for the network to come back up for DNS to be reachable :( Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) The thing that have to ask is if Atanas has 100's why can't he just boot Freebsd have have them all prebound to the interface at startup, why would you need to add and remove them constantly by the hundreds during normal server uptime? I do restart my jails now and then, but because the IPs are already bound to the interface I don't have any pause issues. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gigabit ethernet very slow.
Nikolas Britton wrote: On 6/25/06, Nikolas Britton [EMAIL PROTECTED] wrote: On 6/25/06, Sean Bryant [EMAIL PROTECTED] wrote: /dev/zero not exactly the best way to test sending data across the network. Especially since you'll be reading a 8k chunks. I could be wrong, strong possibility that I am. I only got 408mb when doing a /dev/zero test. I've managed to saturate though. Using other software that I wrote. On 6/25/06, Nikolas Britton [EMAIL PROTECTED] wrote: What's up with my computer, it's only getting 30MB/s? hostB: nc -4kl port /dev/null hostA: nc host port /dev/zero 408MByte/s or 408Mbit/s and what measuring stick are you using? I'm trying to rule in/out problems with the disks, I'm only getting ~25MB/s on a 6 disk RAID0 over the network... would it be better to setup an memory backed disk, md(4) , to read from? Now I'm getting 523.2Mbit/s (65.4MB/s) with netcat, I wiped out the FreeBSD 6.1/amd64 install with FreeBSD 6.1/i386... and... After a kernel rebuild (recompiled nc too): CPUTYPE?=athlon-mp CFLAGS+= -mtune=athlon64 COPTFLAGS+= -mtune=athlon64 I'm up to 607.2Mbit/s (75.9MB/s). What else can I do to get that number higher, and how can I get interrupts lower? Before recompile: load averages: 0.94, 0.91, 0.66 CPU states: 2.6% user, 0.0% nice, 21.5% system, 64.6% interrupt, 11.3% idle --- After recompile: load averages: 0.99, 0.96, 0.76 CPU states: 3.0% user, 0.0% nice, 33.7% system, 58.2% interrupt, 5.1% idle Out of interested I tried the same test with nc but with dd in the pipe or by watching it by pftop. According to pftop (with modulate state rules) I am able to get about 85megs/sec when I don't have dd running. dd does indeed eats a fair amount of cpu (40%) on the AMD64 6-stable machine. With a dd pipe I am able to get roughly 70megs/sec between 2 Dell machines, one of them being AMD64 (I ran dd on this one as its has 2 CPUs). pftop confirms this figure as well. cat /dev/zero | dd | nc host 3000 2955297+0 records in 2955297+0 records out 1513112064 bytes transferred in 20.733547 secs (72978930 bytes/sec) These machines are also doing regular work and not idle. I tested on another remote network setup as well, with a 3 FreeBSD setup, 1 client one FreeBSD gateway and 3rd server. (host-A host-Bhost-C) HostA is the only one using 6-stable all others are 6.1. None of these machines have polling and are all em devices (Dell servers). Going from C to A (via B) gives 50megs/sec host-C#cat /dev/zero | dd | nc host-A 3000 15000154+0 records in 15000153+0 records out 7680078336 bytes transferred in 152.320171 secs (50420626 bytes/sec) Between them directly they all appear to give around 55-85megs/sec. The shocker I found was sending data from hostA to hostC which appears to only give 1 meg/sec host-A#cat /dev/zero | dd | nc host-C 3000 40135+0 records in 40134+0 records out 20548608 bytes transferred in 19.250176 secs (1067450 bytes/sec) Host-A to Host-B. Actually all tests sending data from outside into anything past Host-B's internal network interface caused a massive drop in performance 800kbytes/sec host-A#cat /dev/zero | dd | nc host-B(internal interface ip) 3000 58041+0 records in 58040+0 records out 29716480 bytes transferred in 36.137952 secs (822307 bytes/sec) Going from Host-A to Host-B's external interface gives still gives fast results around 60megs/sec host-A#cat /dev/zero | dd | nc host-B(external interface ip) 3000 4984545+0 records in 4984544+0 records out 2552086528 bytes transferred in 40.569696 secs (62906227 bytes/sec) Speed from host-B (gateway) to Host-A is still ok at around 50megs/sec host-B#cat /dev/zero | dd | nc host-A 3000 8826036+0 records in 8826035+0 records out 4518929920 bytes transferred in 80.471211 secs (56155858 bytes/sec) Connecting from the internal server to the internal gateway ip gives a good speed around 70megs/sec host-C#cat /dev/zero | dd | nc host-B(internal interface ip) 3000 6176688+0 records in 6176688+0 records out 3162464256 bytes transferred in 42.100412 secs (75117181 bytes/sec) Interestingly connecting to the external interface of the gateway from the internal machine still gave good speeds around 70megs/sec host-C# cat /dev/zero | dd | nc nc host-B(external interface ip) 3000 7107351+0 records in 7107351+0 records out 3638963712 bytes transferred in 49.451670 secs (73586265 bytes/sec) I used to run the gateway with polling but ditched it when upgrading from 6.0 to 6.1 since the improved em driver came into 6.1 Would any one have any explaination as to why incomming data from Host A thru B to its most distant interface from Host-A would give such poor performance (1meg/sec) while going the other way seems to be fine? Obviously its something going on inside the FreeBSD kernel as interface to interface tests are fine. Its a its a Dell 1850 with 6.1-release-amd64 with pf rules enabled. The only only special kernel changes are
Re: 6.1 Stable keeps hanging
Are you running tcpdump at all? that practically switches off ethernet for some reason on most of my Dell 6.x servers, and via ssh it feels like the machine has fully halted but it isn't, i normally serial in and manually kill the tcpdump to get back in control. The behavior is different in jails though, if you tcpdump inside a jail, only the main host server stops responding but you can watch packets as normal inside the jail. I don't know if this is a em driver thing or generic. tcpdump related problems have been mounting up, first it was annoying that the -A option stopped working for seeing packets an ascii form, now machines ethernet locks up. For machines that are past 4gigs, I run them in i386 with PAE, which I think works well but my biggest reason for doing this is the need for stable Java. But they are also affected by the ethernet lockup problems. If your machine just started doing this and its not related to packet spying then its a different problem. Mike Denny wrote: no, i m not running any gui on it. when i did scp of some big size files from other place to this machine, it will freeze after a while and i cant press anything on keyboard. | | Kaiwai Gardiner wrote on Fri, Jun 02, 2006 at 06:09:07PM SGT : | | Just out of curiosity, when you mean 'hang' you mean the gui? have you | | tried disabling DRI? | | | | Matty | | | | On 6/2/06, Denny [EMAIL PROTECTED] wrote: | | here are my kernconf and dmesg | | | | | | Alexey Karagodov wrote on Fri, Jun 02, 2006 at 02:51:35PM SGT : | | | any way, post your configs (kernel's too) and etc etc etc ... | | | | | | i have a computer, it's doesn't work. what's the problem? ... | | | | | | | | | 2006/6/2, Denny [EMAIL PROTECTED]: | | | | | | Hi, | | | | | | I am running 6.1 stable, AMD64 on Dell 2850, Intel Xeon. It keeps | | hanging | | | for no reason, no panic message or core and I have to reboot the system | | | whenever it freezes. | | | | | | Any idea where to check? | | | | | | Denny | | | ___ | | | freebsd-stable@freebsd.org mailing list | | | http://lists.freebsd.org/mailman/listinfo/freebsd-stable | | | To unsubscribe, send any mail to | | [EMAIL PROTECTED] | | | | | | | | | | | | | | | -- | | | ? ?, ??? ?. ??, ??, | | | ? ? ? ?? ??. | | | | | ___ | | | freebsd-stable@freebsd.org mailing list | | | http://lists.freebsd.org/mailman/listinfo/freebsd-stable | | | To unsubscribe, send any mail to [EMAIL PROTECTED] | | | | | | ___ | | freebsd-stable@freebsd.org mailing list | | http://lists.freebsd.org/mailman/listinfo/freebsd-stable | | To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH debug messages
Hey all, Since using 6-stable for the last few months I keep getting these ssh client/server? debug messages, I wasn't that annoyed with them at first I figured it was just something part of 6.1 betas but now its just getting annoying, and I am still getting them on the latest rc1 build. Here is a copy and paste of what I get, I get them almost all the time in programs like 'mc' debug2: channel 0: window 31272 sent adjust 34264 Anyone know how to make these go away? Cheers, Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH debug messages
Michael Vince wrote: Hey all, Since using 6-stable for the last few months I keep getting these ssh client/server? debug messages, I wasn't that annoyed with them at first I figured it was just something part of 6.1 betas but now its just getting annoying, and I am still getting them on the latest rc1 build. Here is a copy and paste of what I get, I get them almost all the time in programs like 'mc' debug2: channel 0: window 31272 sent adjust 34264 Anyone know how to make these go away? Cheers, Mike OK I know what is now, its because I am putting -v on my ssh command, silly me. Thanks for those who emailed me to let me know. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde
Steinberg, Michael wrote: im compiling kde from the ports for about the hundreth time and something always goes wrong this time its more simple than most but i can't seem to find what im looking for. It attempted to fetch a library called tiff.4 in several places and found nothing. It asked me to find it and ive been looking all over google and got nothing. Does anybody know where i can find this library? Thanx, Max ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Maybe you just got to get more down and dirty. If its really getting tough and there seems no end in sight try a portupgrade -kfa which I have always assumed stands for (along with the old doom cheat codes) Kick F**ken Ass :) Also try with the -p switch to create packages which might save some time on mass package nukes and retrys, or even a -O to ignore dependencies. Also if you get stuck on something small like tiff try just installing it as a package over the internet. pkg_add -r tiff to install a binary package of it, you could also do a -f on that to force it, which is something that should be considered to at the top of your list. I almost always have a good look through my /var/db/pkg before and after even the most ruthless portupgrade I usually find it remarkably clean. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
6-stable and Tcpdump problems
I am using the latest FreeBSD 6-stable and I am still having trouble dumping tcpdump in clear text data. In FreeBSD 5.x using 'tcpdump -A -s 0 -i sk0' I would always give me a full screen Ascii dump of current network data to the screen but now it just shows everything in Hex. I submitted a send-pr on this sometime around 6.0 release but it never got anywhere. If you use the same command on 5.x it works fine. I found the closest thing I can get is using tcpdump -XX -s 0 -i sk0 which dumps both Hex and Acsii anything with the '-A' which is normally the important flag always results in Hex dumps. Installing ngrep from ports and doing 'ngrep -d sk0' gives me the result I want but I have found over time that ngrep often fails to work depending on when I track 6-stable, I would prefer to use tcpdump always working. Can any one agree with me there is a bug here? I have the same result on multiple machines. Cheers, Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6-stable hosts.allow and samba
Hi Guys, I have been stuffing around for a silly amount of time trying to connect to a test samba install on a 6-stable box with from WinXP with no success. I checked the logs like hell on (enabled all.log) and saw nothing, no server rejections nothing. In log.nmbd I did see a bunch of nice messages like host resolution and master browser successful elections etc. After trying just about everything to connect to the Samba I enabled ALL : ALL : allow in hosts.allow as a last resort and boom there comes up my samba server via MS windows. This is what I had in hosts.allow below. ALL : localhost 127.0.0.1 : allow ALL : 192.168.0. : allow ALL : ALL \ : severity auth.info \ : twist /bin/echo You are not welcome to use %d from %h. Looking at the example hosts.allow I can see why this would fail as IP based address are always fully netmasked unlike my short handed ALL : 192.168.0. : allow The examples and hostnames like .evil.cracker.example.com are used through me off a bit as I just assumed it would work, and also because such terminology is used in the smb.conf I think its a bit ordinary that nothing comes up in any of the logs in /var/log when samba rejects with no warning via tcpwrappers and I believe there should be something in hosts.allow to say that something like ALL : 192.168.0. : allow doesn't work at all such as # This does not work # ALL : 192.168.0. : allow # Use full sub-netting terminology instead # ALL : 192.168.0.0/255.255.255.0 : allow I think this is needed as I believe I have been burned by this before and I can only assume other people have as well. Just my thoughts Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6-stable hosts.allow and samba
Hajimu UMEMOTO wrote: Hi, On Tue, 28 Feb 2006 22:07:52 +1100 Michael Vince [EMAIL PROTECTED] said: mv I checked the logs like hell on (enabled all.log) and saw nothing, no mv server rejections nothing. In log.nmbd I did see a bunch of nice mv messages like host resolution and master browser successful elections etc. mv After trying just about everything to connect to the Samba I enabled mv ALL : ALL : allow in hosts.allow as a last resort and boom there comes mv up my samba server via MS windows. mv This is what I had in hosts.allow below. mv ALL : localhost 127.0.0.1 : allow mv ALL : 192.168.0. : allow mv ALL : ALL \ mv : severity auth.info \ mv : twist /bin/echo You are not welcome to use %d from %h. It's strange. I've just tested it on my box but with ftp. It seems working fine. Sincerely, -- Actually I think jumped the gun a bit and may have to retract some of what I said. It appears I failed to look at the samba.sh init script properly which is created in a way where 'samba_enable=YES' only loads the nmbd daemon and not the more important smbd daemon for actual shares, I should of had this in my rc.conf nmbd_enable=YES smbd_enable=YES Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.0 on Dell 1850 with PERC4e/DC RAID?
Scott Mitchell wrote: Hi all, I may be getting a new Dell PE1850 soon, to replace our ancient CVS server (still running 4-STABLE). The new machine will ideally run 6.0 and have a PERC4e/DC RAID card - the one with battery-backed cache. This is listed as supported by amr(4), but I'm wondering how well it actually works in the case of a disk failure. Will the driver tell me that disk has failed (a syslog message would be enough) or will I have to make a daily trip into the server room to check the front panel lights? Presumably it handles hot-swapping a replacement drive OK? I found some posts mentioning some management/monitoring tools for these controllers that were allegedly available from the www.lsilogic.com website, but I can't find anything on there for FreeBSD. Do the Linux tools work? FYI there also has been a big update to the amr driver which claims to dramatically increase performance among other things, interestingly enought it was augmented by Yahoo, I can only assume they are moving to Dell, yahoo for me (and now you :). The updates are still in -current but it will be MFC'ed into stable sooner or later. http://lists.freebsd.org/pipermail/cvs-src/2005-December/056814.html Log: Mega update to the LSI MegaRAID driver: 1. Implement a large set of ioctl shims so that the Linux management apps from LSI will work. This includes infrastructure to support adding, deleting and rescanning arrays at runtime. This is based on work from Doug Ambrosko, heavily augmented by LSI and Yahoo. 2. Implement full 64-bit DMA support. Systems with more than 4GB of RAM can now operate without the cost of bounce buffers. Cards that cannot do 64-bit DMA will automatically revert to using bounce buffers. This option can be forced off by setting the 'hw.amr.force_sg32 tunable in the loader. It should only be turned off for debugging purposes. This work was sponsored by Yahoo. 3. Streamline the command delivery and interrupt handler paths after much discussion with Dell and LSI. The logic now closely matches the intended design, making it both more robust and much faster. Certain i/o failures under heavy load should be fixed with this. 4. Optimize the locking. In the interrupt handler, the card can be checked for completed commands without any locks held, due to the handler being implicitely serialized and there being no need to look at any shared data. Only grab the lock to return the command structure to the free pool. A small optimization can still be made to collect all of the completions together and then free them together under a single lock. Items 3 and 4 significantly increase the performance of the driver. On an LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my testing with these changes. However, these changes are still fairly experimental and shouldn't be merged to 6.x until there is more testing. Thanks to Doug Ambrosko, LSI, Dell, and Yahoo for contributing towards this. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_6: Which scheduler for SMP?
Mark Ovens wrote: I've never had any success with the ULE scheduler on my dual Athlon box running RELENG_5; it was so unstable it made Windows 3.1 look stable. In fact my current build, cvsup'd a couple of days ago, won't even boot with ULE. From what I remember, ULE was intended to become the default scheduler during the life of 5.0 but that hasn't happened. I've just cvsup'd the source for RELENG_6 and I'm surprised to find in the GENERIC config file: #optionsSCHED_ULE# ULE scheduler options SCHED_4BSD# 4BSD scheduler so it seems 4BSD is still the default scheduler. Is ULE _still_ considered to be in development/experimental? Even the SMP config file doesn't use ULE. Also in GENERIC: options PREEMPTION# Enable kernel thread preemption [] options ADAPTIVE_GIANT # Giant mutex is adaptive. Yet in src/sys/conf/NOTES, ADAPTIVE_GIANT is listed under SMP Options and PREEMPTION is listed under SMP Debugging Options which makes it surprising that they are in the GENERIC config file. What I am trying to decide is whether there any point in making the jump from a very stable RELENG_5 system to RELENG_6. AIUI the ULE scheduler and it's associated options optimize the use of multiple CPUs and by staying with 4BSD I'm not getting the best performance from my system. Can anyone offer any advice on this please? The machine has dual Athlon MP2800s on a Asus A7M266-D mobo, 1Gbyte ECC RAM and all SCSI disks and optical drives. I have been benchmarking a Java servlet under ULE, and I couldn't get result scores as high under ULE as I could under the regular the 4BSD (although it wasn't far off) and when I left the machine benchmarking all night under ULE I came back in the morning to find the machine unresponsive and in need of a hard reboot. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reduced java/tomcat performance 6-beta3 - 6-stable ?
Some apps that use of frequent queries of the system time for example MySQL are well known in FreeBSD to be slower then Linux because its more expensive to call compared to Linux, maybe Tomcat is also another such app this can also be double the case depending on on your jsp and servlet code. If you are on good hardware, are using 6 and keep your systems time updated via ntp you might want to try changing from kern.timecounter.hardware: ACPI-fast to TSC(-100) and doing a benchmark this has already proven to increase performance of MySQL by a significantly amount. Also some new experimental low-precision time code has been added to current source tree to see how much performance increases can be gained, weirdly enough some people have argued against it for I guess a wide range of reasons such as they just have crap hardware and don't care about performance, don't like the extra maintenance of code or just like Red Hat fanatics having an easy way to bad mouth FreeBSD performance. I think most people would agree though that it has to be done, or have to choose to believe FreeBSD isn't about performance among other goals. With 6 you can also use the new thr threading library, try your libmap.conf to libthr for testing, for example [/usr/local/jdk1.4.2/] libpthread.so.2 libthr.so.2 libpthread.so libthr.so I been doing some 'ab' testing libthr with Apache2 compiled for worker MPM and have some really interesting differences on server load, loads of about 40 for pthread and around 5 thr under certain tests with ab with the exact same test. Mike Eirik Øverby wrote: Update: The diff below was made after making sure both systems are running the exact same kernel. Behavior is the same. Building new kernels (6-STABLE) now to get out of the BETA stage. /Eirik On Nov 28, 2005, at 22:53 , Eirik Øverby wrote: Firmware versions are equal. BIOS settings are equal. However, a diff of the dmesgs show (apart from MAC address differences): 30c30 Timecounter ACPI-safe frequency 3579545 Hz quality 1000 --- Timecounter ACPI-fast frequency 3579545 Hz quality 1000 What on earth is that all about? The slow box has the ACPI-fast timecounter... /Eirik On Nov 28, 2005, at 22:14 , Kris Kennaway wrote: On Mon, Nov 28, 2005 at 09:54:30PM +0100, Eirik ?verby wrote: Hi, I think I have found the culprit. There must be some sort of difference between the machines after all (BIOS revision?), because while on one machine the interrupt rate for the bge card stays very low (2 to be exact) during maximum load, the other machine goes beyond 1000 and keeps rising constantly. This might also explain why performance slowly degrades over time on that machine, and response times vary wildly, while the fast machine responds nicely within 1-2 seconds no matter the load and testing time. I will have to investigate this more closely. Is there a way to force the NIC to polling mode (I'm assuming that is the difference, an IRQ rate of 2 is too low for a heavily loaded server if the NIC is interrupt-driven)? Anything else I could look at? BIOS update. Kris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rotating web server logs without restarting Apache
Ladislav Bodnar wrote: Hi, Every time my httpd-access.log file is rotated I need to restart Apache, otherwise it won't write into the new httpd-access.log file. Is there a way for Apache (version 2.0.55 on FreeBSD 6.0) to write to the new log file without the need to restart it? I restart it routinely from a cron job, but occasionally Apache fails to restart (or more precisely, if fails to shutdown completely before it is told to come up again). Thank you very much for your help. ___ Maybe I am missing something here but can't you use rotatelogs? I use it to rotate logs every day with apache2 and I never restart Apache. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user confused by need to do huge upgrade
Alistair wrote: Hello, All I am a user of Linux for many years (and an aged BSD sysadmin from 1985-1989), but laterly mainly use Gentoo. FreeBSD seemed to be a good alternative, so I get the 6.0 release a few days after it was released. Being a Gentoo person, I like the ports system, but with limited time on my hands, I also like the compiled packages. I can get a working system from packages then compile my own ports as need or want be. Or so I thought. I installed from two CDs, and got a working KDE system. Now, I want to do Firefox from ports with my own make.conf for P4 optimisation. Good! So, I sync with the sources using cvsup (just like emerge --sync) change to the Firefox ports directory, type make and enter dependency hell like has never been known before. Everything that depends upon GTK2 must be updated before Firefox can be compiled! I thought that FreeBSD would be more stable than Gentoo and Linux distros in general. I now find that there is the most major release step (5.4 to 6.0) and within a matter of a few days later, both Gnome and KDE are subject to huge updates that require many hours (or maybe days - it's not done yet) of CPU time. Maybe I am missing something. However, I just cannot see why this is right. What I thought that FreeBSD would give me that Gentoo did not is a coherent system within which deveopment was co-ordinated. Instead, I seem to find the opposite. The core group can offer a major release of the OS, while missing the fact that two hugely important development groups are just days off their own major releases. Maybe there is a level of sanity I am missing as a newcomer to BSD, but I would really like someone to tell me where to find it so that I can stop having to use this bloody Windows laptop to post here ;-) Check out the UPDATING notes for anything about KDE cat /usr/ports/UPDATING | grep -A 13 -B 3 kde | grep -A 14 20051105 Update your ports tree, then portupgrade your KDE packages, portupgrade -Rk /var/db/pkg/kde-3.4.2 Go to sleep and wake up with the latest KDE and feel good about the fact that you aren't stealing from SCO compared to using Gentoo Linux :) Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network performance 6.0 with netperf
Here is my probably final round of tests that I thought could possible be useful to others. I have enabled polling on the interfaces and discovered some of the master secret holy grail sysctls that really make this stuff work. I now get over 900mbits/sec router performance with polling. Having sysctl either net.isr.direct=1 or net.inet.ip.fastforwarding=1 gave roughly an extra 445mbits performance increase according to netperf tests, because my tests aren't really lab strict enough I still haven't been able to easily see a difference between having net.isr.direct=1 or 0 while also having net.inet.ip.fastforwarding set to 1, it does appear that having net.isr.direct=1 might be stealing the job of the net.inet.ip.fastforwarding sysctl because when net.inet.ip.fastforwarding=0 and net.isr.direct=1 on the gateway I still get the 905.48mbit/sec route speed listed below. From the client machine (A) through the gateway (B with polling enabled) to the server (C) With net.isr.direct=1 and net.inet.ip.fastforwarding=1 A /usr/local/netperf/netperf -l 10 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 Elapsed Throughput - 10^6bits/sec: 905.48 With net.isr.direct=0 and net.inet.ip.fastforwarding=0 Elapsed Throughput - 10^6bits/sec: 460.15 Apache get 'fetch' test. A fetch -o - /dev/null http://server-C/file1gig.iso - 100% of 1055 MB 67 MBps 00m00s Interestingly when testing from the gateway it self (B) direct to server (C) having 'net.isr.direct=1' slowed down performance to 583mbits/sec B /usr/local/netperf/netperf -l 10 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 Elapsed Throughput - 10^6bits/sec: 583.57 Same test with 'net.isr.direct=0' Elapsed Throughput - 10^6bits/sec: 868.94 I have to ask how can this be possible if when its being used as a router with net.isr.direct=1 it passes traffic at over 900mbits/sec Having net.inet.ip.fastforwarding=1 doesn't affect the performance in these B to C tests. I believe faster performance may still be possible as another rack of gear I have that has another AMD64 6.0 RC1 Dell 2850 (Kes) gives me up to 930mbits/sec in apache fetch tests, I believe its even faster here because its an AMD64 Apache server or its possible it could just have a bit better quality ether cables, as I mentioned before the Apache server for box C in above tests is i386 on 6.0RC1. This fetch test is only on a switch with no router between them. spin fetch -o - /dev/null http://kes/500megs.zip - 100% of 610 MB 93 MBps So far from this casual testing I have discovered these things on my servers. Using 6.0 on SMP servers gives a big boost in network performance over 5.x SMP using i386 or AMD64 FreeBSD as router on gigabit ethernet with the use of polling gives over x2 performance with the right sysctls. Needs more testing but it appears using AMD64 FreeBSD might be better then i386 for Apache2 network performance on SMP kernels. Single interface speeds tests from the router with polling enabled and with 'net.isr.direct=1' appears to affect performance. Regards, Mike Michael VInce wrote: Robert Watson wrote: On Fri, 14 Oct 2005, Michael VInce wrote: I been doing some network benchmarking using netperf and just simple 'fetch' on a new network setup to make sure I am getting the most out of the router and servers, I thought I would post some results in case some one can help me with my problems or if others are just interested to see the results. Until recently (or maybe still), netperf was compiled with -DHISTOGRAM by our port/package, which resulted in a significant performance drop. I believe that the port maintainer and others have agreed to change it, but I'm not sure if it's been committed yet, or which packages have been rebuilt. You may want to manually rebuild it to make sure -DHISTOGRAM isn't set. You may want to try setting net.isr.direct=1 and see what performance impact that has for you. Robert N M Watson I reinstalled the netperf to make sure its the latest. I have also decided to upgrade Server-C (the i386 5.4 box) to 6.0RC1 and noticed it gave a large improvement of network performance with a SMP kernel. As with the network setup ( A --- B --- C ) with server B being the gateway, doing a basic 'fetch' from the gateway (B) to the Apache server (C) it gives up to 700mbits/sec transfer performance, doing a fetch from server A thus going through the gateway gives slower but still decent performance of up to 400mbits/sec. B fetch -o - /dev/null http://server-c/file1gig.iso - 100% of 1055 MB 69 MBps 00m00s A fetch -o - /dev/null http://server-c/file1gig.iso - 100% of 1055 MB 39 MBps 00m00s Netperf from the gateway directly to the apache server (C) 916mbits/sec B /usr
Re: Network performance 6.0 with netperf
Sten Daniel Sørsdal wrote: Michael VInce wrote: I reinstalled the netperf to make sure its the latest. I have also decided to upgrade Server-C (the i386 5.4 box) to 6.0RC1 and noticed it gave a large improvement of network performance with a SMP kernel. As with the network setup ( A --- B --- C ) with server B being the gateway, doing a basic 'fetch' from the gateway (B) to the Apache server (C) it gives up to 700mbits/sec transfer performance, doing a fetch from server A thus going through the gateway gives slower but still decent performance of up to 400mbits/sec. Are you by any chance using PCI NIC's? PCI Bus is limited to somewhere around 1 Gbit/s. So if you consider; Theoretical maxium = ( 1Gbps - pci_overhead ) The 4 ethernet ports on the Dell server are all built-in so I am assuming they are on the best bus available. Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network performance 6.0 with netperf
On Thu, Oct 20, 2005 at 04:26:31PM +0200, Brad Knowles wrote: At 10:49 PM +1000 2005-10-20, Michael VInce wrote: The 4 ethernet ports on the Dell server are all built-in so I am assuming they are on the best bus available. In my experience, the terms Dell and best available very rarely go together. Dell has made a name for themselves by shipping the absolutely cheapest possible hardware they can, with the thinnest possible profit margins, and trying to make up the difference in volume. Issues like support, ease of management, freedom from overheating, etc... get secondary or tertiary consideration, if they get any consideration at all. But maybe that's just me. -- Brad Knowles, [EMAIL PROTECTED] I think that's unfair. I have a couple of Dell machines and my biggest complaint with them has been their use of proprietary bolt patterns for their motherboards and similar tomfoolery, preventing you from migrating their hardware as your needs grow. This also guarantees that your $75 power supply becomes a $200 one once the warranty ends - good for them, not good for you. Other than that, I've been pretty happy with their stuff. Sure beats a lot of other PC vendors out there in terms of reliability, heat management, BIOS updates, etc. -- -- Karl Denninger ([EMAIL PROTECTED]) Internet Consultant Kids Rights Activist I have to agree Karl, Those slots aren't proprietary there PCI Express. When I went to open the machine up to put in a PCI multi serial card all I saw were those little modern mean looking PCI Express slots which have the ability to scare any techie, there are no old PCI slots on it, I had to dump my serial card and change over to usb2serial converters by loading the ucom and uplcom as kernel modules so I could use tip to serial out of usb into the single serial port on the Dell machines when the ethernet is down which ended up working out great, I will never need clunky old (and price) multi port PCI serial cards again. If you look at the chipset Intel E7520 of the Dell 1850/2850 (The 2850 is really just a bigger case machine to hold more drives) http://www.intel.com/design/chipsets/embedded/e7520.htm You will see it just only has PCI Express as a minimum which is 64bit/133mhz which does a minimum of 2.5GBs/sec in 1 direction and its a switched based bus technology where there is no sharing of the lanes, there is no old school PCI 32bit/33mhz buses. http://www.pcstats.com/articleview.cfm?articleid=1087page=3 As for service, I actually ordered two much smaller Dell 750's but because there were out of them for a couple of weeks due to some big company ordering 500 of them I had a bit of an argue with the Dell guy on the phone and got 1850s with scsi raid 1 out of him for the same price. Its been Dell that has shown me how good (and maybe a bit evil) big companies can be. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network performance 6.0 with netperf
Robert Watson wrote: On Fri, 14 Oct 2005, Michael VInce wrote: I been doing some network benchmarking using netperf and just simple 'fetch' on a new network setup to make sure I am getting the most out of the router and servers, I thought I would post some results in case some one can help me with my problems or if others are just interested to see the results. Until recently (or maybe still), netperf was compiled with -DHISTOGRAM by our port/package, which resulted in a significant performance drop. I believe that the port maintainer and others have agreed to change it, but I'm not sure if it's been committed yet, or which packages have been rebuilt. You may want to manually rebuild it to make sure -DHISTOGRAM isn't set. You may want to try setting net.isr.direct=1 and see what performance impact that has for you. Robert N M Watson I reinstalled the netperf to make sure its the latest. I have also decided to upgrade Server-C (the i386 5.4 box) to 6.0RC1 and noticed it gave a large improvement of network performance with a SMP kernel. As with the network setup ( A --- B --- C ) with server B being the gateway, doing a basic 'fetch' from the gateway (B) to the Apache server (C) it gives up to 700mbits/sec transfer performance, doing a fetch from server A thus going through the gateway gives slower but still decent performance of up to 400mbits/sec. B fetch -o - /dev/null http://server-c/file1gig.iso - 100% of 1055 MB 69 MBps 00m00s A fetch -o - /dev/null http://server-c/file1gig.iso - 100% of 1055 MB 39 MBps 00m00s Netperf from the gateway directly to the apache server (C) 916mbits/sec B /usr/local/netperf/netperf -l 20 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 Elapsed Throughput - 10^6bits/sec: 916.50 Netperf from the client machine through the gateway to the apache server (C) 315mbits/sec A /usr/local/netperf/netperf -l 10 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 Elapsed Throughput - 10^6bits/sec: 315.89 Client to gateway netperf test shows the direct connection between these machines is fast. 912mbits/sec A /usr/local/netperf/netperf -l 30 -H server-B -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 5734 Elapsed Throughput - 10^6bits/sec: 912.11 The strange thing now is in my last post I was able to get faster speeds from server A to C with 'fetch' tests on non-smp kernels and slower speeds with netperf tests. Now I get speeds a bit slower with fetch tests but faster netperf speed tests with or without SMP on server-C. I was going to test with 'net.isr.dispatch' but the sysctl doesn't appear to exist, doing this returns nothing. 'sysctl -a | grep 'net.isr.dispatch' I also tried polling but its also like that doesn't exist either. ifconfig em3 inet 192.168.1.1 netmask 255.255.255.224 polling ifconfig: polling: Invalid argument When doing netperf tests there was high interrupt usage. CPU states: 0.7% user, 0.0% nice, 13.5% system, 70.0% interrupt, 15.7% idle Also the server B is using its last 2 gigabit ethernet ports which are listed from pciconf -lv as '82547EI Gigabit Ethernet Controller' While the first 2 are listed as 'PRO/1000 P' Does any one know if the PRO/1000P would be better? [EMAIL PROTECTED]:4:0: class=0x02 card=0x118a8086 chip=0x108a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/1000 P' [EMAIL PROTECTED]:8:0: class=0x02 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = '82547EI Gigabit Ethernet Controller' Cheers, Mike The network is currently like this, where machines A and B are the Dell 1850s and C is the 2850 x 2 CPU (Server C has Apache2 worker MPM on it) and server B is the gateway and A is acting as a client for fetch and netperf tests. A --- B --- C The 2 1850s are running AMD64 Freebsd 6.0rc1 (A and B) while C is running 5.4-stable i386 from Oct 12 My main problem is that if I compile SMP into the machine C (5.4stable) the network speed goes down to a range between 6mbytes/sec to 15mbytes/sec on SMP. If I use GENERIC kernel the performance goes up to what I have show below which is around 65megabytes/sec for a 'fetch' get test from Apache server and 933mbits/sec for netperf. Does any know why why network performance would be so bad on SMP? Does any one think that if I upgrade the i386 SMP server to 6.0RC1 the SMP network performance would improve? This server will be running java so I need it to be stable and is the the reason I am using i386 and Java 1.4 I am happy with performance of direct machine to machine (non SMP) which is pretty much full 1gigabit/sec speeds. Going through the gateway server-B seems to drop its speed down a bit for in and out direction tcp speed tests using netperf I get around 266mbits/sec from server A through
Network performance 6.0 with netperf
Hey all, I been doing some network benchmarking using netperf and just simple 'fetch' on a new network setup to make sure I am getting the most out of the router and servers, I thought I would post some results in case some one can help me with my problems or if others are just interested to see the results. The network is currently like this, where machines A and B are the Dell 1850s and C is the 2850 x 2 CPU (Server C has Apache2 worker MPM on it) and server B is the gateway and A is acting as a client for fetch and netperf tests. A --- B --- C The 2 1850s are running AMD64 Freebsd 6.0rc1 (A and B) while C is running 5.4-stable i386 from Oct 12 My main problem is that if I compile SMP into the machine C (5.4stable) the network speed goes down to a range between 6mbytes/sec to 15mbytes/sec on SMP. If I use GENERIC kernel the performance goes up to what I have show below which is around 65megabytes/sec for a 'fetch' get test from Apache server and 933mbits/sec for netperf. Does any know why why network performance would be so bad on SMP? Does any one think that if I upgrade the i386 SMP server to 6.0RC1 the SMP network performance would improve? This server will be running java so I need it to be stable and is the the reason I am using i386 and Java 1.4 I am happy with performance of direct machine to machine (non SMP) which is pretty much full 1gigabit/sec speeds. Going through the gateway server-B seems to drop its speed down a bit for in and out direction tcp speed tests using netperf I get around 266mbits/sec from server A through gateway Server-B to server-C which is quite adequate for the link I currently have for it. Doing a 'fetch' get for a 1gig file from the Apache server gives good speeds of close to 600mbits/sec but netperf shows its weakness with 266mbits/sec. This is as fast as I need it to be but does any one know the weak points on the router gateway to make it faster? Is this the performance I should expect for FreeBSD as a router with gigabit ethers? I have seen 'net.inet.ip.fastforwarding' in some peoples router setups on the list but nothing about what it does or what it can affect. I haven't done any testing with polling yet but if I can get over 900mbits/sec on the interfaces does polling help with passing packets from one interface to the other? All machines have PF running other then that they don't really have any sysctls or special kernel options. Here are some speed benchmarks using netperf and 'fetch' gets. Server A to server C with server C using SMP kernel and just GENERIC kernel further below B# /usr/local/netperf/netperf -l 10 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 TCP STREAM TEST to server-C : +/-2.5% @ 99% conf. : histogram Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 57344 409610.06 155.99 tank# fetch -o - /dev/null http://server-C/file1gig.iso - 100% of 1055 MB 13 MBps 00m00s # Using generic non SMP kernel Server A to server C with server C using GENERIC kernel. A# fetch -o - /dev/null http://server-C/file1gig.iso - 100% of 1055 MB 59 MBps 00m00s A# ./tcp_stream_script server-C /usr/local/netperf/netperf -l 60 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 57344 409660.43 266.92 ### Connecting from server-A to B (gateway) A# ./tcp_stream_script server-B /usr/local/netperf/netperf -l 60 -H server-B -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 TCP STREAM TEST to server-B : +/-2.5% @ 99% conf. : histogram Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 57344 409661.80 926.82 ## Connecting from server B (gateway) to server C Fetch and Apache2 test B# fetch -o - /dev/null http://server-C/file1gig.iso - 100% of 1055 MB 74 MBps 00m00s Netperf test B# /usr/local/netperf/tcp_stream_script server-C /usr/local/netperf/netperf -l 60 -H server-C -t TCP_STREAM -i 10,2 -I 99,5 -- -m 4096 -s 57344 -S 57344 TCP STREAM TEST to server-C : +/-2.5% @ 99% conf. : histogram Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 57344 409662.20 933.94 Cheers, Mike
Re: FYI - RELENG_6 branch has been created.
Wow thats a big jump from what I got in a test I did a couple of months ago, here is a copy and paste of an older email Are you using AMD64 mode or i386? Dell 1850 Dual CPU with 4 Gigs of ram, thats in idle CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.23-MHz 686-class CPU) FreeBSD 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Sun May 22 12:23:00 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 Ubench CPU: 170748 Ubench MEM: 172775 Ubench AVG: 171761 Claus Guttesen wrote: As a further FYI, a variety of debugging features are still enabled by default in RELENG_6, including INVARINTS, WITNESS, and user space malloc debugging. These will remain enabled through the first snapshot from the Not very scientific but here is my ubench on a dual nocona @ 2.8 GHz and 4 GB RAM on a Dell 2850: Sched_ule: Current from July 6'th 2005: Ubench CPU: 241149 Ubench MEM: 182695 Ubench AVG: 211922 6.0 stable pr. July 12'th 2005: Ubench CPU: 243058 Ubench MEM: 186918 Ubench AVG: 214988 So slight increase in both cpu and ram in stable. SCHED_4BSD and 6.0 stable pr. July 12'th 2005: Ubench CPU: 260315 Ubench MEM: 189686 Ubench AVG: 225000 Here sched_4bsd performs approx. 5 % better on ubench. regards Claus ___ [EMAIL PROTECTED] mailing list [2]http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [3][EMAIL PROTECTED] References 1. mailto:freebsd-stable@freebsd.org 2. http://lists.freebsd.org/mailman/listinfo/freebsd-stable 3. mailto:[EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DELL PowerEdge 2850 and FreeBSD 5.4
I have numerous Dell 1850s all with 4gigs of ram and SCSI in mirror 1 raid. I feel I must of been very lucky because I have never had a single problem with these machines, 1 of them is under severe load. I setup these machines in a different way then most people. Because I run the machines in a remote hosting complex I order the Dell machines to the hosting complex and get the 'remote smart hands' to put the server in the my rack, enable the serial via bios then get them to plug in a serial cable into its single serial port and get them to drop in a i386 FreeBSD install disk so I can install remotely. They use a generic kernel and have usbd_enable=YES set. I have one 1850 thats got an uptime of 125 days and thats only since I last rebooted it. Maybe because the USB ports have never really been used I have had better luck? Mike David Barnett wrote: Gary, I'm fighting the same battle on two new 2850's and two 1850's; Interrupt storm detected on irq18:uhci2; throttling interrupt source. These machines have 2GB of ram and I using the i386 5.4Rel. version. This happens right after the reboot at the end of an install from CD. I've chosen to install all, and bring up the ethernet interface. When I get the message, the machine is unresponsive to keyboard input or pings; basically frozen. I also tried 5.3 Rel. with the same results. From searching the lists I concluded disabling USB might be worth trying, so I did that in the BIOS. I'm still getting the same message and freeze. How are you disabling USB? It seems that has worked for you. One tidbit, they have the DRAC 4/I remote access controller cards in them, but I have no reason to believe they're involved at this point. Oh, and firmware is current throughout. Thanks for any hints. Dave Barnett Gary Schrock wrote: At 05:05 AM 6/1/2005, you wrote: I have checked on the DELL site for any updates to the BIOS/Firmware and the 2 PE2850's are running the latest versions. BIOS A02 Dell Backplane Firmware, v.1.00, A00 Dell BMC Firmware, v.1.23, A03 LSI Logic Perc 4e/Di, v.516A, A01 Both machines have the same symptoms or the reboots at random times. I have now disabled the USB via rc.conf to see if the reboots still occur. On one machine I shall drop the PAE kernel and see if that increases the stability We've been running a 2850 with dual processors for a while now, although we're only running 2G of ram. I'm also running the i386 verson of freebsd instead of amd64 (since I couldn't decide whether I'd really gain anything by running that version, especially with my low ram amount). We did initially have a problem with our add-on perc4 controller, but that was obviously a problem with that controller, but after that was resolved, the only issue I've had with it is the usb interrupt storms. Since we don't use usb on that system, I've just completely disabled it. After that, it's run flawlessly for about 6 months now. Regards Danny -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vinny Abello Sent: 01 June 2005 05:10 To: Danny Cooper Cc: freebsd-stable@freebsd.org Subject: RE: DELL PowerEdge 2850 and FreeBSD 5.4 What BIOS revision are you running in your 2850? Make sure all your firmware is up to date. I had problems with an slightly older Dell 2650 trying to install FreeBSD until I flashed the latest RAID controller firmware. If this doesn't help, try running some diagnostics on the hardware. Dell has some pretty extensive utilities. I think you can boot a Dell diagnostic CD you download from their web site. It's possible you have bad RAM. At 11:50 AM 5/31/2005, Danny Cooper wrote: With the kernel I removed all non-required devices Firewire, usb all the NIC's except em and removed all RAID and SCSI controllers to make sure nothing would interfere. I tried to boot with the AMD64 CD but with no success, the machine just hangs when it tries to load the CD, still trying to work out a solution to the problem, but it just seems these DELL 2850 machines are for Windows or RedHat!!! DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claus Guttesen Sent: 31 May 2005 16:15 To: Danny Cooper Cc: freebsd-stable@freebsd.org Subject: Re: DELL PowerEdge 2850 and FreeBSD 5.4 I have installed FreeBSD 5.4 RELEASE and upgraded to -STABLE on a DELL PE2850. FreeBSD 5.4-STABLE #1: Wed May 25 23:43:12 BST 2005 CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.22-MHz 686-class CPU) real memory = 5100273664 (4864 MB) avail memory = 4189892608 (3995 MB) MPTable: DELL PE 016D FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 amr0: LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM I have disabled ACPI HTT and enabled PAE to make the whole system memory available. However the problem I have is the system can crash at any moment, and is
Re: FreeBSD 5.3 SMP freezes with MySQL 4.1
I am running 1 mildly busy new MySQL server thats running fine on 5.3-RELEASE-p5 #5: Sat Jan 22 04:54:07 EST 2005 from the generic conf kernel Its a Dell 1850 Dual P4 Xeon CPU 3.00GHz EMT64 with HTT enabled FYI I actually have a Dell 2650 thats not doing anything at the moment because it had sluggish performance when I started to put some serious burden on it. I recently updated to the latest MySQL to 4.1.10a from 4.1.5 with using this set of settings (I hate using ports manually) portupgrade -Rfri -m 'BUILD_OPTIMIZED=yes BUILD_STATIC=yes' /var/db/pkg/mysql-server-4.1* I copied the default large.cnf file to /var/db/mysql/my.cnf for better performance but thats about it, I am still evaluating MySQL performance. To give you a remote idea how busy this MySQL server is, here are some bits running mysqladmin extended-status | Bytes_received | 49227436 | | Bytes_sent | 71933703 | | Threads_connected| 25 | | Threads_created | 42 | | Uptime | 101775 | According to MySQL manual Threads_created gives an idea of the load on the MySQL server. phpMyAdmin lists MySQL status in a much nicer way This MySQL server has been running for 1 days, 4 hours, 38 minutes and 28 seconds. Query statistics: Since its startup, 335,544 queries have been sent to the server. Total ø per hour ø per minute ø per second 335,54411,715.47 195.26 3.25 select 204,621 7,144.31 61.04 % insert 29,149 1,017.73 8.70 % show keys 85,395 2,981.55 25.48 % This server is doing more things then I originally planned it to do, its also running a Postgres 7.4 server that has over 500megs of data and almost constant 100% usage of disk IO according to top via m, I have statistics enabled on postgres but no way to show some simple summaries. I run Apache2 in prefork mode and currently has around 350 average apache daemons ps -auxww | grep -c httpd 356 Its doing over 1 million dynamic page loads a day (some page loads don't use database) This server also is running 12 separate Java processes each at around 200megs of size. Since cvsuping to the latest 5_3 for release security patches and critical updates the server is been perfectly stable, before that I did have kernel panic reboot problems that I believe were caused be massive thread usage from the java processes. Although I have rebooted just a little while ago the servers uptime is currently 33days. With your server how have you been updating your server to 5.3-P5 release? Its possible you have a similar problem. I am emailing this in HTML format in the hope the tables come out more nicely. Regards, Mike Young Lee wrote: I have try your solution yesterday, so far it is stable, and will observe the stability for some days. btw, i turn debug.mpsafenet=0 in /boot/loader.conf to evade the possible network stack deadlock under SMP. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Fetchyahoo does not get message IDs
Greetings I would like some help with this. I am trying to use fetchyahoo to get mail from Yahoo. It logs in OK, but never gets the message IDs and so does not download any email messges. I am using the latest version, fetchyahoo-2.8.6, all p5 mods are up-to-date as of a cvsup done on 29-Oct-2004, on a FBSD4.10,p3 machine. The fetchyahoo output is: Logging in securely via SSL as xxx on Fri Oct 29 19:54:49 2004 You are using 5% of your 100.0MB limit. Country Code 'au' not found. We will try the translation for 'us'. Successfully logged in as xxx. Country code : au Folder: Inbox Version: 2.8.6 Only retrieving new messages Getting Message ID(s) for message(s) 1 - 26. Got 0 Message IDs Finished downloading 0 messages. 0 message(s) have been deleted. Logged out. My .fetchyahoorc is as follows: # FetchYahoo configuration file # values in this file override values specified in the script itself # but are in turn overridden by values specified on the commandline # lines starting with # are ignored # do NOT use any quotes around values # values can include whitespace, but not at the end. ## SHOULD configure these ## username = xxx # this can be a password or an md5_hex hashed password password = xxx # set this to 0 to turn off HTTPS and login insecurely via plaintext instead use-https = 1 ## mail spool, mbox file and procmail configs ## # set use-spool to 0 to disable outputting to a file/filter use-spool = 1 # if spoolName ends with a / we output in maildir format to that directory spool = /home/xxx/Mail/Inbox # spool-mode must be either append, pipe or overwrite # use pipe for procmail or other filter and append for a normal spool # ignored if spoolName is a maildir directory spool-mode = append ## proxy configuration ## # set use-proxy to 1 to enable use of a web proxy use-proxy = 0 proxy-host = proxy.example.com proxy-port = 80 proxy-username = proxyAuthenicationUserName proxy-password = proxyAuthenicationPassword ## IMAP configuration ## # set use-imap to 1 to enable output to an IMAP mailbox use-imap = 0 imap-host = imap.example.com imap-port = 143 imap-username = imap-user-name imap-password = imap-password imap-mailbox = INBOX ## mail forwarding configuration ## # set use-forward to 1 to enable mail forwarding use-forward = 0 # set mail-host to your smtp outgoing mail server mail-host = outgoing.example.com # the e-mail addresses you want mail forwarded to send-to = [EMAIL PROTECTED] , [EMAIL PROTECTED] # the e-mail address used as the from address, this should probably be at the # same ISP as the outgoing smtp mailhost specified above send-from = [EMAIL PROTECTED] # set this to 1 if you want to use sendmail to deliver messages use-sendmail = 0 # set this to the location of your sendmail binary if you set the above to 1 sendmail = /usr/sbin/sendmail ## other configuration ## # IMPORTANT Yahoo gives trouble when downloading over 100 messages at a time # Setting this to more than 100 (or 0 for unlimited) may cause problems. # max number of messages to download in one go max-messages = 100 # set no-download to 1 to to not download messages # e.g. if this conf file is for removing Bulk Folder msgs without downloading no-download = 0 # set new-messages-only to 1 to download only unread messages new-messages-only = 1 # set this to N to not download messages larger than N kb # setting this to 0 turns off this check max-size = 0 # set no-delete to 1 to not delete messages after dowloading # i.e. they will be left on Yahoo!'s mail servers no-delete = 0 # set this to the folder you want to download from eg Bulk folder = Inbox # set quiet to 1 to not output any regular (non-error) messages quiet = 0 # set this to 1 to retrieve messages from external mailboxes too get-external = 0 # set no-errors to 1 to not output any error messages no-errors = 0 # list the messages seen in the mail folder list-messages = 1 # set either of these to 1 to enable mail checking before or after downloading msgs empty-trash-after = 0 empty-trash-before = 0 # set this to 1 to enable emptying the Bulk folder before fetching messages empty-bulk = 0 # if this is 0, the program runs once and terminates # Otherwise this is the number of minutes between successive mail checks. repeat-interval = 0 # to leave messages as unread on the server, set this to 1 # this is only useful if no-delete is also set to 1 leave-unread = 0 # if you are using a program/filter which does not expect a From_ line # at the start of the message, set this to 1 no-from-line = 0 # set logout to 1 to make fetchyahoo logout after downloading messages logout = 1 # set status-only to 1 to only get the number of messages status-only = 0 # set warning-level to 0 to not warn # if 0, will print a warning if mailbox is = N% full warning-level = 0 Thank you in advance Vince ___ [EMAIL PROTECTED] mailing list http
Re: sk(4), 3C940 unknown reason hang
Interestingly I just put on 5.3Beta 7 on an AMD64 based machine and my sk0 interface hangs when I do some file transfers over to the machine via scp I just put an intel pci card in to fix the problem Rong-En Fan wrote: [I'm not on list, so please CC me thanks] Hi, It is a 4.10-RELEASE-p2 on IBM e225 (Dual P3-1G) and have a 3COM 3C940 installed on. Since it's installed one year ago, it has 3 or 4 times unknown reason network hang (no console messages) and I have changed 3C940 to another one. The situation is still the same. The solution is just `ifconfig down up' then sk(4) goes back to work. It's our main nfs server and this problem really annoying. I look at the cvsweb, seems no major problem fix for RELENG_4 (HEAD fixs a LOR, and I suppose it's only for 5.x and HEAD). Is there any known problems? (I can't find one similar to me on -net and -stable). The recently once happened this morning, according to mrtg, it has a high network traffic (both in and out). Not sure if it is related. Here is the dmesg: skc0: 3Com 3C940 Gigabit Ethernet port 0x2100-0x21ff mem 0xfeb78000-0xfeb7bfff irq 5 at device 9.0 on pci0 skc0: 3Com Gigabit NIC (3C2000) sk0: Marvell Semiconductor, Inc. Yukon on skc0 sk0: Ethernet address: 00:0a:5e:19:b6:3c Any suggestion and kernel debugging I would like to try. Regards, Rong-En Fan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
That makes sense ... My last kernel build was to cover a new nic. Im not that familiar with modules yet , nor am I convinced they do any better than compiling the code into the kernel. It was only after the last kernel that I noticed this problem. ThankYou Vince - Original Message - From: Jonathan Chen [EMAIL PROTECTED] To: qwix [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 10:56 PM Subject: Re: your mail On Sat, Feb 15, 2003 at 08:29:36PM -0500, qwix wrote: Hi , I am having a problem with sockstat. Im not sure exactly what is causing it. I dont beleive I should be seeing all these question marks. [...] Any help would be much appreciated . My last build was from source cvsup'd on jan 19, 03 . My last kernel build was with source cvsup'd on feb 2, 03. Your userland and kernel is out of sync. When you install a kernel using one set of sources, you *must* install the userland that came with it. -- Jonathan Chen [EMAIL PROTECTED] -- You can get farther with a kind word and a gun than you can with a kind word alone - Al Capone To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
scp/sftp large file transfers always fail
I have been trying to transfer large files over scp and sftp but they always stall / time out and fail. If they are small its ok like around 10megs its ok. But when they are like 50megs or 300megs they ALWAYS fail! I have tryed everything SSH built into freebsd. ssh v3 and v2 from ssh.com. SSH from /usr/ports/security/openssh-portable I have tryed every cipher in ssh1 and ssh V2 and I had more luck transfering files to the machine its connecting to but if I connect to a machine and scp the file back it always files. I use key based authentication. EG -rw-r--r-- 1 michael michael 331808388 Jul 25 17:51 file.tar.gz These are the typical commands I have used scp -C [EMAIL PROTECTED]:/home/michael/file.tar.gz /usr/home/michael/backups2/file.tar.gz scp [EMAIL PROTECTED]:/home/michael/file.tar.gz /usr/home/michael/backups2/file.tar.gz And all the different possible ciphers Then I will end up with this file.tar.gz6% | | 20392 KB - stalled - And then a timeout. ssh 192.168.1.77 tar -cz -g $tardata $backupdirs -f - | dd of=$path/today/$servername-FULL-$date.tar.gz or even sftp, they all fail. I am using new hardware.. intel 100mbit cards on pentium 3 /celeron machines. Tryed on machine different machines and many different versions of stable 4.3 I just want to make it work! but everything I try fails, I am going crazying trying to make this work! I dont want to have to make a compromise and use something else I mean scp and sftp are for transfering files right? And also why doesn't OpenSSH have DSA support for scp and sftp like ssh.com's scp2 and sftp2? I would really appreciate some help. Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: printer question
On Fri, 25 Feb 2000, Adam D. Marks wrote: Has anyone had any luck printing to a remote printer using jetdirect. I have a HP 2100 on a JetDirect EX Plus 3. The closest I got is with using rlpr but the format that is printed is messed up. I'm using LPRng and printing to port 9100 (I think) on the printer. Works quite well on a number of different printer models. IIRC there's a couple of examples in the LPRng docs and they give the correct port number if I guessed wrong. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com == To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: -lc vs. -lc_r (building Apache-PHP)
On 27-Dec-99 Chris Malayter wrote: Along this line of problems, I am having serious problems compileing a usable apache binary when compileing modphp with IMAP support. It works fine for me when I just compile any other service or combination of services. Here's the error: Configuring for Apache, Version 1.3.9 + using installation path layout: Apache (config.layout) + activated php3 module (modules/php3/libphp3.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 3.4 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php3_module uses ConfigStart/End + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. This is most likely because your C compiler ** is not ANSI. Apache requires an ANSI C Compiler, such ** as gcc. The above error message from your compiler ** will also provide a clue. Aborting! venus# Trying this again, hopefully that last one didn't go out (it was content free). I've seen this many times. Part of the problem is that apache's configure script won't pass --verbose to it's helper scripts which only leaves you clueless as to what's happening. If you go into the src directory and and run the following: $ ./helpers/TestCompile -v sanity you'll see the reason why it won't compile. 9 times out of 10 it's caused by a header file in the wrong place - or apache not knowing where it is. I don't recall what I did to fix it, but it was probably something like copying the file to a standard directory or creating a symlink. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com == To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message