From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 00:51:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F30071065670 for ; Sun, 20 Jun 2010 00:51:13 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7688FC13 for ; Sun, 20 Jun 2010 00:51:12 +0000 (UTC) Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1OQ8kh-0007CE-L5 for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 01:51:11 +0100 Received: from [94.168.170.153] (helo=Mercury.galaxy.lan.lcl) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1OQ8WK-00078U-Sj for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 01:36:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Sun, 20 Jun 2010 01:36:20 +0100 Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F7A4@Mercury.galaxy.lan.lcl> In-Reply-To: <4C1AFFF5.1070000@nrdx.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need help with SATA disk timing out in 8.1 Beta Thread-Index: AcsOpOIONFNcKLQ2TO6MgG+eWwZcOwBaYgdw References: <4C1AFFF5.1070000@nrdx.com> From: "Graeme Dargie" To: Subject: RE: Need help with SATA disk timing out in 8.1 Beta X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 00:51:14 -0000 -----Original Message----- From: Jerry Bell [mailto:jerry@nrdx.com]=20 Sent: 18 June 2010 06:11 To: freebsd-questions@freebsd.org Subject: Need help with SATA disk timing out in 8.1 Beta I am having all sorts of problems with drives in a new server. I have a 450G sata drive that hold my root partition, works great, no=20 issues. I have a second, 1TB drive that has been all sorts of trouble. When=20 writing to this disk, I occasionally see errors like this: Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1564898207 Jun 17 07:40:36 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1564898207 Jun 17 07:57:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1565052351 Jun 17 07:57:12 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1565052351 Jun 17 09:45:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1565983775 Jun 17 09:45:12 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1565983775 Jun 17 09:50:24 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1566082719 Jun 17 09:50:24 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1566082719 Jun 17 10:01:25 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1566358623 Jun 17 10:01:25 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1566358623 Jun 17 10:02:59 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error=20 (retrying request) LBA=3D1566387807 Jun 17 10:02:59 www3 kernel: ad8: FAILURE - WRITE_DMA48=20 status=3D51 error=3D10 LBA=3D1566387807 Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D43231 Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D57567 Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D773471 Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D786271 Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D810079 Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D76767 Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error=20 (retrying request) LBA=3D784479 Last week, I asked the datacenter to provide me with a new 1TB drive,=20 and they did. It formatted fine, no errors. I copied files to it, ran=20 bonnie, etc, and no signs of any DMA issues. Until this morning when I started having the errors again. If I run a tool like bonnie, I am very easily reproduce the errors. =20 After some research, I find that these errors are often indicative of=20 SATA cable problems. The datacenter replaced the cable, and the problem continues. The datacenter moved the sata cable to a new SATA port, and the problem=20 continues The datacenter adds a BRAND NEW 1TB drive (now the system has 3 drive),=20 and I am unable to format the drive because of these errors: ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D168172351 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D602334847 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D602334847 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D427014463 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D427014463 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D15425407 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D471408895 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D471408895 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D91422655 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D203161183 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)=20 LBA=3D1211817727 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D1211817727 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D37998847 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D309632575 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D309632575 ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3D24831007 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D59067391 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D497744575 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D497744575 ad10: FAILURE - WRITE_MUL status=3D51=20 error=3D84 LBA=3D1128895 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D13920511 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D547029919 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D547029919 So, the problem has occurred on 3 different drives. SATA ports and cables do not appear to impact the problem. The primary 450GB drive does not have any problems. I have used atacontrol to lower the speed all the way down to UDMA 33,=20 with the same result. I am at the end of my ability to troubleshoot this. Could this be a=20 problem with FreeBSD 8.1 beta and not the drives after all? I have seen a reference to a patch for previous versions that increase=20 the DMA timeout time to 10 or 15 seconds, which fixes problems, but I am not certain that would fix my particular issue. Here is the dmesg output: Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-PRERELEASE #1: Thu Jun 10 23:52:29 UTC 2010 jerry@www3.stelesys.com:/usr/obj/usr/src/sys/JERRY amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz (2674.98-MHz=20 K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x106e5 Family =3D 6 Model =3D 1e = =20 Stepping =3D 5 =20 Features=3D0xbfebfbff =20 Features2=3D0x98e3fd AMD Features=3D0x28100800 AMD Features2=3D0x1 TSC: P-state invariant real memory =3D 6442450944 (6144 MB) avail memory =3D 6138769408 (5854 MB) ACPI APIC Table: <020910 APIC2308> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <020910 RSDT2308> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bdf00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 0x86, should be 0x85=20 (20100331/tbutils-354) cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on=20 acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 3.0 on pci0 pci1: on pcib1 vgapci0: mem=20 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf9000000-0xf9ffffff irq 16 at device 0.0 on pci1 pci0: at device 8.0 (no driver attached) pci0: at device 8.1 (no driver attached) pci0: at device 8.2 (no driver attached) pci0: at device 8.3 (no driver attached) pci0: at device 16.0 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 22.0 (no driver attached) ehci0: mem 0xf8ffe000-0xf8ffe3ff=20 irq 16 at device 26.0 on pci0 ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: on ehci0 pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci6: on pcib2 atapci0: port=20 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f=20 irq 16 at device 0.0 on pci6 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] pcib3: irq 18 at device 28.2 on pci0 pci5: on pcib3 pcib4: irq 19 at device 28.3 on pci0 pci4: on pcib4 pcib5: irq 17 at device 28.4 on pci0 pci3: on pcib5 re0: port=20 0xd800-0xd8ff mem 0xf7fff000-0xf7ffffff,0xf7ff8000-0xf7ffbfff irq 16 at=20 device 0.0 on pci3 re0: Using 1 MSI messages re0: Chip rev. 0x28000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,=20 1000baseT-FDX, auto re0: Ethernet address: e0:cb:4e:ed:05:a0 re0: [FILTER] pcib6: irq 16 at device 28.5 on pci0 pci2: on pcib6 ehci1: mem 0xf8ffd000-0xf8ffd3ff=20 irq 23 at device 29.0 on pci0 ehci1: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci1 pcib7: at device 30.0 on pci0 pci7: on pcib7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port=20 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f,0x b080-0xb08f=20 irq 21 at device 31.2 on pci0 atapci1: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci2: port=20 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f,0x c080-0xc08f=20 irq 21 at device 31.5 on pci0 atapci2: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] orm0: at iomem 0xce800-0xcf7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 est4: on cpu4 p4tcc4: on cpu4 est5: on cpu5 p4tcc5: on cpu5 est6: on cpu6 p4tcc6: on cpu6 est7: on cpu7 p4tcc7: on cpu7 Timecounters tick every 1.000 msec IP Filter: v4.1.28 initialized. Default =3D pass all, Logging =3D = enabled usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ad7: 476940MB at ata3-slave UDMA100 SATA 3Gb/s ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 GEOM: ad7s1: geometry does not match label (255h,63s !=3D 16h,63s). ad9: 953869MB at ata4-slave UDMA100 SATA=20 3Gb/s ad10: 953869MB at ata5-master UDMA100=20 SATA 3Gb/s SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! Root mount waiting for: usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 uhub2: =20 on usbus0 ugen1.2: at usbus1 uhub3: =20 on usbus1 uhub2: 6 ports with 6 removable, self powered Root mount waiting for: usbus1 uhub3: 8 ports with 8 removable, self powered Trying to mount root from ufs:/dev/ad7s1a re0: link state changed to UP ugen1.3: at usbus1 ukbd0: on=20 usbus1 kbd2 at ukbd0 ums0: on usbus1 ums0: 3 buttons and [Z] coordinates ID=3D0 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D168172351 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D602334847 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D602334847 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D427014463 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D427014463 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D15425407 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D471408895 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D471408895 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D91422655 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D203161183 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)=20 LBA=3D1211817727 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D1211817727 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D37998847 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D309632575 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D309632575 ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3D24831007 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D59067391 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D497744575 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D497744575 ad10: FAILURE - WRITE_MUL status=3D51=20 error=3D84 LBA=3D1128895 ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3D13920511 ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=3D547029919 ad10: FAILURE - WRITE_DMA48 status=3D51=20 error=3D10 LBA=3D547029919 Please help. Thank you, Jerry _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I had a similar problem with FreeBSD 8.0 on one machine, granted it was just home hardware and not server class equipment. To cut to the chase, I replaced the cables the offending drive about 3 times and still did not cure it. I eventually purchased a 6 port sata raid card, which appeared to have solved the problem but eventually it too started to give time out errors, but it was the card itself and not the drives throwing up the errors.=20 I then ran memtest on the system, which threw up some really odd results, 1 x 1gb dimm fitted all tests passed 2 x 1gb fitted threw up 1 error I had 4 dimms so tried them in various combinations but I always got an error on the 2 slot, despite all the dimms passing hours of testing individually. I replaced the mainboard and the machine has been fine with the same disks and cables, I also transferred the sata raid card into a 1u rack and it has been fine. So you might want to have a look in the direction of the ram or the mainboard. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 01:18:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A5D106566B for ; Sun, 20 Jun 2010 01:18:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 216F88FC15 for ; Sun, 20 Jun 2010 01:18:52 +0000 (UTC) Received: by qyk11 with SMTP id 11so882154qyk.13 for ; Sat, 19 Jun 2010 18:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=BGT0VIZ5hNJLJq6uRDADv/Go09rpWNRlICKPhkMO1og=; b=jdILNGuNAPS/uFeKKUM/IFJ6cqATjNNfnoLuziBD+LAyjzwKvl5F/BBU2q1ZOfQ0IB lQ1Q7vUGcrvQSM6woH2BjihE51nkxYKu8z+ZWcdq1ff7Y1Ahht2kGCShMN/hZJprCTaD eUpCuxnOlpnN2JFvVifqkSzsmoWnpkFSKGeFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Tix5yA2EO+S0YmVLq63WE/jdOtCxTfnfb0/ljpNsl6ngNXo5KgePtz2MKASf+6WeMG CI1JotOuqHaENZQv/acb/ZK+XVAhoq9x99tXtz/wIbsqNROFSH4mN0xYrNpQU17OLjL1 BmazJ11zuEERA6BFDJ7NRgkHzFb4OhjXZOd3k= MIME-Version: 1.0 Received: by 10.224.8.80 with SMTP id g16mr2008938qag.274.1276996732138; Sat, 19 Jun 2010 18:18:52 -0700 (PDT) Received: by 10.229.82.70 with HTTP; Sat, 19 Jun 2010 18:18:52 -0700 (PDT) In-Reply-To: <4C1AFFF5.1070000@nrdx.com> References: <4C1AFFF5.1070000@nrdx.com> Date: Sat, 19 Jun 2010 20:18:52 -0500 Message-ID: From: Adam Vande More To: Jerry Bell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Need help with SATA disk timing out in 8.1 Beta X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 01:18:53 -0000 On Fri, Jun 18, 2010 at 12:11 AM, Jerry Bell wrote: > I am having all sorts of problems with drives in a new server. > I have a 450G sata drive that hold my root partition, works great, no > issues. > I have a second, 1TB drive that has been all sorts of trouble. When > writing to this disk, I occasionally see errors like this: > > Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error > (retrying request) LBA=1564898207 > > I am at the end of my ability to troubleshoot this. Could this be a > problem with FreeBSD 8.1 beta and not the drives after all? > I have seen a reference to a patch for previous versions that increase the > DMA timeout time to 10 or 15 seconds, which fixes problems, but I am not > certain that would fix my particular issue. > You could use ahci which might workaround the issue and give you better performance. load it from /boot/loader.conf beware it will change names of detected devices, you may want to consider using glabel. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 03:12:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA709106566B for ; Sun, 20 Jun 2010 03:12:55 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id A05488FC17 for ; Sun, 20 Jun 2010 03:12:55 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id E083AE043E; Sun, 20 Jun 2010 15:12:51 +1200 (NZST) Date: Sun, 20 Jun 2010 15:12:51 +1200 From: Jonathan Chen To: Caleb Stein Message-ID: <20100620031251.GA86068@osiris.chen.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "freebsd-questions@freebsd.org" Subject: Re: what is /usr/sbin/nmbd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 03:12:56 -0000 On Sat, Jun 19, 2010 at 07:33:16AM -0700, Caleb Stein wrote: > I constantly get messages telling me that it couldn't be executed. nmbd is part of the samba suite. However, in FreeBSD it lives in /usr/local/sbin. The fact that something is trying to execute it says that you've got some Linux shell script running without your knowledge. Check to see if you machine has got any funny scripts in /tmp or /var/tmp, indicating some incursion. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 04:47:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45BC6106566B for ; Sun, 20 Jun 2010 04:47:13 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8A48FC24 for ; Sun, 20 Jun 2010 04:47:12 +0000 (UTC) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o5K4JTZl000060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 Jun 2010 00:19:30 -0400 (EDT) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Free BSD Questions list Date: Sun, 20 Jun 2010 00:19:30 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 Subject: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 04:47:13 -0000 Any has had any success with getting floppies to work on VMware desktop 7 on a FreeBSD guest? Did the following to prepare the floppy #Create empty floppy image dd if=/dev/zero bs=1k count=1440 of=/data/tmp/boot.flp #create md0 and point it to floppy mdconfig -a -t vnode -f /data/tmp/boot.flp -u 0 #newfs newfs /dev/md0 #mount mount /dev/md0 /mnt #copy data here.... #unmount umount /mnt #delete md0 mdconfig -d -u 0 I am trying to create a floppy image with an install.cfg to learn how sysinstall automation works. The floppy gives the following error: Error mounting floppy fd0 (/dev/fd0) on /dist : device not configured. Just as a test I found a floopy for an old PicoBSD floppy to see if it could be read. It failed too. However, if the PicoBSD floppy image is first in the boot order it actually boots of the floppy image. Search for this issue show some old messages of people having simmilar problems, but given that they were old I wondered if the issue had been resolved. I am aware that in VMware one can create one VM and make a template. I am trying to learn sysinstall automation for the times when I will need to install FreeBSD on a physical machine instead of a VM. Any pointers will be greately appreciated. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 05:13:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2527F106564A for ; Sun, 20 Jun 2010 05:13:29 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id D254A8FC08 for ; Sun, 20 Jun 2010 05:13:28 +0000 (UTC) Received: by gwj20 with SMTP id 20so2231498gwj.13 for ; Sat, 19 Jun 2010 22:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dZtzzIOHjcQQXt7Iq4uPMF9cyD2owzPGlGQEaFlbg5w=; b=n9PhNMpLTR2ieNKsljLox1Ltc2TT77ZuxslfHtTVa6M9Fy0Q3ftI66OSb64ge2Rew1 1MNai3E0vI/VVbW1hu4HBm8K46IKKBGbw5X2KA9kLVZGu0uDxi/FNUioGj22mI+8Rzim YksN7KU6A0FZXsBwH/rb+EqgwalZloFo7M+54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b7jOIB/NHFKAmJO/ePPFDToTnG/F9TsFBHBFk6A9cATkzSbKT8LrdYzzarALBnvCpT Eab9OtO0aVbaK2zMHTdKG0dTUmpJtzoo1XMcwGrhWf6nxF6Z9rce6o5QFzBbpj9SeSQh Pp6TiggV8dDMdMtn/ivdsPwG0xyYXllNq5WRY= MIME-Version: 1.0 Received: by 10.229.187.82 with SMTP id cv18mr1724143qcb.83.1277010807953; Sat, 19 Jun 2010 22:13:27 -0700 (PDT) Received: by 10.229.82.70 with HTTP; Sat, 19 Jun 2010 22:13:27 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Jun 2010 00:13:27 -0500 Message-ID: From: Adam Vande More To: Francisco Reyes Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Free BSD Questions list Subject: Re: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 05:13:29 -0000 On Sat, Jun 19, 2010 at 11:19 PM, Francisco Reyes wrote: > Any has had any success with getting floppies to work on VMware desktop 7 > on a FreeBSD guest? > > > Any pointers will be greately appreciated. > I'm not sure that floppies are still working in this fashion, but even if they are it may be easier for you to do this via pxe or optical media. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 08:44:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0384106564A for ; Sun, 20 Jun 2010 08:44:37 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.23]) by mx1.freebsd.org (Postfix) with ESMTP id 720588FC16 for ; Sun, 20 Jun 2010 08:44:37 +0000 (UTC) Received: from [193.239.178.194] (helo=localhost) by fsm1.ukr.net with esmtps ID 1OQG8p-0003yl-AM for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 11:44:35 +0300 Date: Sun, 20 Jun 2010 11:44:34 +0300 From: Ivan Klymenko To: freebsd-questions@freebsd.org Message-ID: <20100620114434.5bdf54fc@ukr.net> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: GCD technology... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 08:44:37 -0000 Hi, folk. Why are not used is available GCD technology in the ports, where it can be used? Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 07:56:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 938EC106564A for ; Sun, 20 Jun 2010 07:56:47 +0000 (UTC) (envelope-from cisco_baz@yahoo.com) Received: from n58b.bullet.mail.sp1.yahoo.com (n58b.bullet.mail.sp1.yahoo.com [98.136.45.31]) by mx1.freebsd.org (Postfix) with SMTP id 570978FC19 for ; Sun, 20 Jun 2010 07:56:47 +0000 (UTC) Received: from [69.147.84.144] by n58.bullet.mail.sp1.yahoo.com with NNFMP; 20 Jun 2010 07:43:57 -0000 Received: from [69.147.65.157] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 20 Jun 2010 07:43:57 -0000 Received: from [127.0.0.1] by omp405.mail.sp1.yahoo.com with NNFMP; 20 Jun 2010 07:43:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 756154.58005.bm@omp405.mail.sp1.yahoo.com Received: (qmail 90651 invoked by uid 60001); 20 Jun 2010 07:43:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1277019837; bh=nkIBanHgbRy+aa22t8HrInFskfraa9JpuEXJC3JA/xA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=F3m7f+vEGrnYQzN9j9aGg3/ksSH/03+kUGJTNSJHaQMRNGxPk3vHkp96CGGFfDYR63a/8MLUibcX7fF71OpyH5V3TkLHLD3h80UKXficL8lea08mTy0WI6dJceZT8EPB7s0Dti8GOmfStiU5BRakvN1cH2bfWwJOaFNgUaa91Kk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tew/6U3YwzlsZHY+KdnC8EijkTrQ6r8LY3COntta2GumkzzFynozaIUKm7LrMTWRw56jSUwhrlhJheWXLjD/2a438vMDyP0APZGRzED3lUcnk5zOdaKybRdqRUxQ7lV+k/FuutXO/m+VyRuob3Voh9MqvPP4CzQc7iAht45bpEA=; Message-ID: <634820.90569.qm@web43415.mail.sp1.yahoo.com> X-YMail-OSG: ubB.TFwVM1lO1EaRqG8acNwywUYV0SbvP0vvXvz9XTUA9Fc kbLGS.guIzf5CGVT4LHcyykaLSgllb_7YCxipoh1PLWtdoabloZvOTE6WRvE UwUNiKsNABwpSIvP6CWxkW2eUfz276YmUvsqg8TrHbaKsKZNtp9JKq0.O2Q_ aIs.Evv09ExjYSgQ0qdJRGXqyJbKEl102HTM76XFi3goPEpcQwDbb30GuWKx JAFK6ruqzTrz9KdgfxHj2IEb9X0IrT5c- Received: from [91.194.91.87] by web43415.mail.sp1.yahoo.com via HTTP; Sun, 20 Jun 2010 00:43:57 PDT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Sun, 20 Jun 2010 00:43:57 -0700 (PDT) From: cisco Baz To: questions@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 20 Jun 2010 11:14:59 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: freebsd internal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 07:56:47 -0000 to whom it may concernim going to make=A0 a freebsd =A0such that it can act= as a web url filtering gateway but i dont want use tools such as dansguard= ian or squidguard or ... tools that use proxy to implement url web filterin= g , also dont want to use firewall package in freebsd such as pf , i want t= o write a program such as pf but such that can filter based on layer 7 info= rmation but independent of other package even if needed change kernel , ...= =A0 so can you please help me a little=A0 ? best regards=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 11:45:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDD41065670 for ; Sun, 20 Jun 2010 11:45:16 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id F006B8FC23 for ; Sun, 20 Jun 2010 11:45:15 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o5KBjAmi002776 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 20 Jun 2010 12:45:10 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C1DFF45.8090502@infracaninophile.co.uk> Date: Sun, 20 Jun 2010 12:45:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Ivan Klymenko References: <20100620114434.5bdf54fc@ukr.net> In-Reply-To: <20100620114434.5bdf54fc@ukr.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: GCD technology... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 11:45:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/06/2010 09:44:34, Ivan Klymenko wrote: > Why are not used is available GCD technology in the ports, where it can > be used? Do you mean Grand Central Dispatch? As described here: http://wiki.freebsd.org/GCD It's not generally used in the ports because it isn't supported in any released version yet -- the up and coming 8.1-RELEASE will be the first to have it. It's also still considered experimental. Additionally, the userland bits need to be compiled with llvm/clang to support a major chunk of useful functionality (blocks). If you want to try it out, the userland parts are available as devel/libdispatch, and you'll need 8-STABLE as of last November, or any more recent 8.x or 9.x. Options for enabling GCD support in ports that are capable of it will no doubt appear over time. Port maintainers will almost certainly be glad to receive patches to do that. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwd/0UACgkQ8Mjk52CukIwTWQCdE2Ja87bIPD2+fTflVCp2jdDl 0tAAn3AT/XunsUlvF2hODe+3j/QwOXqU =pDT6 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 12:28:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EFDF106564A for ; Sun, 20 Jun 2010 12:28:45 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6C88FC13 for ; Sun, 20 Jun 2010 12:28:44 +0000 (UTC) Received: by iwn7 with SMTP id 7so3225469iwn.13 for ; Sun, 20 Jun 2010 05:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=eaewAzUeb8z8uLCsNNnaiAlGV+uI+AUia+YvwB4iXF0=; b=bWpJcixwadjftXlQTrKHix+FAj3AcRxac17dKo/w3Q9+YGFvtnjUzo2cnNGw2ULmPI F76m5e1WuBRIbl3pmbv2qizl6Yx8JKDJKt0GeJfcAYjIFRNUKJ9Vd99VKdqEk3nlrzyM oN46oRfzbRGG+CPedKpyvih/vmfIHW5TYUyO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LYCe4zk0Tatf4Sn3ftWJID44rMnp+iNxwi2A1WDRq06v+28sHcy0Gn51YYUHqclCN8 cIJugePnyfokniP4BecOZ2iFi9zxCQ+SVJdZHw9ZCJkATdQpPa+DeKCn1bOYNUBaqukp cPsOlwiz5XeLRHV4d/haSuUcau1sY6cQ4xptE= MIME-Version: 1.0 Received: by 10.231.176.16 with SMTP id bc16mr4270408ibb.4.1277036924155; Sun, 20 Jun 2010 05:28:44 -0700 (PDT) Received: by 10.231.195.140 with HTTP; Sun, 20 Jun 2010 05:28:44 -0700 (PDT) Date: Sun, 20 Jun 2010 08:28:44 -0400 Message-ID: From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 12:28:45 -0000 I currently am using mail/thunderbird as my mail reader and it is just doing the job very well (even with heavy use of filters).... I use xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks ago).... I am looking for a good replacement suggestions.... here are the minimal features I need: * Gmail support * Filtering (either internal or via external tool) * Multiple accounts (2) * Ability to send via local sendmail (my ISP blocks incoming port 25 thats why I am using gmail) * Handle over 1000 messages a day * (optional) Plain text archives (unlike how Thunderbird does it) From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 13:41:09 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60E89106566B for ; Sun, 20 Jun 2010 13:41:09 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24BB88FC15 for ; Sun, 20 Jun 2010 13:41:08 +0000 (UTC) Received: by vws20 with SMTP id 20so468108vws.13 for ; Sun, 20 Jun 2010 06:41:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.16 with SMTP id ca16mr1876054qcb.88.1277041268096; Sun, 20 Jun 2010 06:41:08 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.232.207 with HTTP; Sun, 20 Jun 2010 06:41:08 -0700 (PDT) In-Reply-To: <634820.90569.qm@web43415.mail.sp1.yahoo.com> References: <634820.90569.qm@web43415.mail.sp1.yahoo.com> Date: Sun, 20 Jun 2010 09:41:08 -0400 X-Google-Sender-Auth: 2Bf5N-FrjUsHg4e3Ytnm1UILnig Message-ID: From: Alejandro Imass To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: freebsd internal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 13:41:09 -0000 On Sun, Jun 20, 2010 at 3:43 AM, cisco Baz wrote: > to whom it may concernim going to make=A0 a freebsd =A0such that it can a= ct as a web url filtering gateway but i dont want use tools such as dansgua= rdian or squidguard or ... tools that use proxy to implement url web filter= ing , also dont want to use firewall package in freebsd such as pf , i want= to write a program such as pf but such that can filter based on layer 7 in= formation but independent of other package even if needed change kernel , .= .. Please explain _why_ you don't want to use a proxy, and _why_ you won't/can't use packet filtering? HTTP __is in fact layer 7__, so why the need to write your own proxy? I mean, writing a layer 7 URL filtering is in a fact a proxy like Squid, so why do you want/need to craft you own proxy? Perhaps, you don't want your users to know that you are filtering them. or you don't want to set-up the proxy in each browser? That is called an "intercepting proxy" and filters all traffic on the gateway, and you would still use a combination of pf and squid. If you don't want to use squidguard, or dansguardian because of the messages they sent to the user, you can customize that to say or redirect to another form of not authorized page. Please explain the _why_ in your original post and perhaps it would be easier to help you > > so can you please help me a little=A0 ? > best regards > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 13:42:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E599106568A for ; Sun, 20 Jun 2010 13:42:26 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id D73F58FC17 for ; Sun, 20 Jun 2010 13:42:25 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 59F145D19; Sun, 20 Jun 2010 13:42:23 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Sun, 20 Jun 2010 14:41:48 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006201441.48351.bruce@cran.org.uk> Cc: Aryeh Friedman Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 13:42:26 -0000 On Sunday 20 June 2010 13:28:44 Aryeh Friedman wrote: > I currently am using mail/thunderbird as my mail reader and it is just > doing the job very well (even with heavy use of filters).... I use > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > ago).... I am looking for a good replacement suggestions.... here are > the minimal features I need: > > * Gmail support > * Filtering (either internal or via external tool) > * Multiple accounts (2) > * Ability to send via local sendmail (my ISP blocks incoming port 25 > thats why I am using gmail) > * Handle over 1000 messages a day > * (optional) Plain text archives (unlike how Thunderbird does it) I'd recommend Claws Mail as a replacement for Thunderbird - I've found it easier to use than Thunderbird 3 and it seems to understand more about mailing lists than Thunderbird, which is nice. There's also a win32 port available, so you even have a decent mail client on Windows too. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 13:49:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2AC8106566C for ; Sun, 20 Jun 2010 13:49:55 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id A7E198FC0C for ; Sun, 20 Jun 2010 13:49:55 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 54FA35D19; Sun, 20 Jun 2010 13:49:53 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Sun, 20 Jun 2010 14:49:18 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006201449.18659.bruce@cran.org.uk> Cc: Francisco Reyes Subject: Re: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 13:49:56 -0000 On Sunday 20 June 2010 05:19:30 Francisco Reyes wrote: > Any has had any success with getting floppies to work on VMware desktop 7 > on a FreeBSD guest? > > Did the following to prepare the floppy > > #Create empty floppy image > dd if=/dev/zero bs=1k count=1440 of=/data/tmp/boot.flp > > #create md0 and point it to floppy > mdconfig -a -t vnode -f /data/tmp/boot.flp -u 0 In case you don't know, you can achieve the same thing using some simpler commands: truncate -s 1440k /data/tmp/boot.flp mdconfig -a -f /data/tmp/boot.flp -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 16:00:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE21C106566C for ; Sun, 20 Jun 2010 16:00:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8A98FC0C for ; Sun, 20 Jun 2010 16:00:45 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id CABB01E71D; Sun, 20 Jun 2010 18:00:43 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5KG0hvo001450; Sun, 20 Jun 2010 18:00:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 20 Jun 2010 18:00:42 +0200 From: Polytropon To: Bruce Cran Message-Id: <20100620180042.7bb2d073.freebsd@edvax.de> In-Reply-To: <201006201441.48351.bruce@cran.org.uk> References: <201006201441.48351.bruce@cran.org.uk> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aryeh Friedman , freebsd-questions@freebsd.org Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 16:00:45 -0000 On Sun, 20 Jun 2010 14:41:48 +0100, Bruce Cran wrote: > On Sunday 20 June 2010 13:28:44 Aryeh Friedman wrote: > > I currently am using mail/thunderbird as my mail reader and it is just > > doing the job very well (even with heavy use of filters).... I use > > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > > ago).... I am looking for a good replacement suggestions.... here are > > the minimal features I need: > > > > * Gmail support > > * Filtering (either internal or via external tool) > > * Multiple accounts (2) > > * Ability to send via local sendmail (my ISP blocks incoming port 25 > > thats why I am using gmail) > > * Handle over 1000 messages a day > > * (optional) Plain text archives (unlike how Thunderbird does it) > > I'd recommend Claws Mail as a replacement for Thunderbird - I've found it > easier to use than Thunderbird 3 and it seems to understand more about mailing > lists than Thunderbird, which is nice. I would also suggest this solution, allthough I'm using Sylpheed (the "predecessor" of Claws). You can use either POP/SMTP or totally local transport (e. g. sendmail), and you can use mixed forms. Multiple accounts are no problem. Filterin is no problem. Messages are stored in the MH format (one file per message, one directory per box / folder). The program uses Gtk 2. It's also very fast - allthough the Gtk 1 version was faster, but... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 18:02:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 419C8106566B for ; Sun, 20 Jun 2010 18:02:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id BFB528FC18 for ; Sun, 20 Jun 2010 18:02:27 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so560702fgb.13 for ; Sun, 20 Jun 2010 11:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Hg7ASlWqrjkoClFEj9eMOag6PbXWcdREdOKa0jMp45E=; b=Ahx8FLJ7fGuVwfjVVppLPciVTRzr7ecXMn/x8w+x+fevJs4ZNAl8YTyETdFCmS7VOa dyC8iuwpcZAgux4wu8Jl9oKGaoQL7tqrJhJcKvnfQxRcMRwzZCwbD8X46EgzRO0HB8x4 ghXt+fEhyiH1kYRk2ytKGopk2sFeGxVrr9L/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZixCz3A8tanoZJ6sJjRVOa7+2XalVEIoW0cK+sSr6XvoqpcLFB2jEXNBXtHaodnszq aJK2Snu85WLaDkj79dMFhFfu72wf3U2pIIaa9C5BLdxTGfvxrWSUefMsu3LaUpGrrm0Y /Gtf7xWVJsGEdT+D9bKZUi2JhhcXOdK+TJ0eY= Received: by 10.87.67.8 with SMTP id u8mr6744035fgk.9.1277056946525; Sun, 20 Jun 2010 11:02:26 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id e3sm6678618fga.29.2010.06.20.11.02.25 (version=SSLv3 cipher=RC4-MD5); Sun, 20 Jun 2010 11:02:25 -0700 (PDT) Date: Sun, 20 Jun 2010 19:02:22 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100620190222.47df142a@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 18:02:28 -0000 On Sun, 20 Jun 2010 08:28:44 -0400 Aryeh Friedman wrote: > I currently am using mail/thunderbird as my mail reader and it is just > doing the job very well (even with heavy use of filters).... I use > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > ago).... I am looking for a good replacement suggestions.... here are > the minimal features I need: +1 on claws-mail > * Gmail support > * Filtering (either internal or via external tool) > * Multiple accounts (2) > * Ability to send via local sendmail (my ISP blocks incoming port 25 > thats why I am using gmail) What does your ISP blocking incoming port 25 have to do with your wanting to use local sendmail? > * Handle over 1000 messages a day > * (optional) Plain text archives (unlike how Thunderbird does it) You might also consider using a local imap server, so that your local mail store is completely independent of the client From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 20:21:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC74106566B for ; Sun, 20 Jun 2010 20:21:12 +0000 (UTC) (envelope-from meskio@noblezabaturra.org) Received: from heal.cauterized.net (heal.cauterized.net [89.140.131.167]) by mx1.freebsd.org (Postfix) with ESMTP id 393DC8FC08 for ; Sun, 20 Jun 2010 20:21:11 +0000 (UTC) Received: from localhost (AAnnecy-552-1-237-115.w83-197.abo.wanadoo.fr [83.197.245.115]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by heal.cauterized.net (Postfix) with ESMTPSA id 53A9C7016044 for ; Sun, 20 Jun 2010 22:02:54 +0200 (CEST) Date: Sun, 20 Jun 2010 22:02:52 +0200 From: Ruben Pollan To: freebsd-questions@freebsd.org Message-ID: <20100620200252.GA2030@blackspot> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: locale problems with STL (C++) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 20:21:12 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm new user of FreeBSD, using it as a desktop since a week. I develop an s= mall ncurses tool for manage todo lists[0]. Up to now I just used on GNU/Linux systems. I'm trying to compile it on FreeBSD, my original Makefiles seems to be too linux-like. I manage to compile it[1], but I have some problems with STL. I= read that there is a bug on libstdc++ and the locale[2] and gives a segfault, it seems to be still there. I try to compile it with stlport, it compiles without problems and runs wit= hout segfault. But don't works with wide characters. I'm using locale to read fi= les encoded on the local charset, like: wifstream file; file.imbue(locale("")); file.open(path); =2E.. This code reads wrongly the wide characters. My system locale is: [meskio@blackspot:~]$ echo $LANG es_ES.UTF-8 Am I missing something? I still don't understand well how locale works on C= ++, it=20 worked well on GNU/Linux. Any suggestion? Thank you. [0] http://cauterized.net/~meskio/tudu/ [1] I have a branch 'freebsd' on the git repository that compiles on freebs= d, needs devel/stlport: http://gitorious.org/tudu/tudu [2] http://gcc.gnu.org/ml/libstdc++/2005-04/msg00021.html --=20 Rub=E9n Poll=E1n | jabber:meskio@jabber.org -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D- Veo a un Mickey Mouse envejecido con=20 pasamonta=F1as tirando piedras a una oficina de=20 disney al grito, "Fui vuestro esclavo desde=20 1928 y he conquistado para vosotros millones=20 de corazones y ganado billones de d=F3lares,=20 =A1AHORA DEJADME SER LIBRE!" --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwec+sACgkQGKOQ92SwNMLa5QCggEB4LYyXCbt9bSwCsfRcmqOU W+UAmgNgPbnZ0vek7TDbJ2yaQ3dZpdUO =QG8I -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 21:35:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F52106564A for ; Sun, 20 Jun 2010 21:35:33 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id 05B898FC16 for ; Sun, 20 Jun 2010 21:35:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgFACYmHkxUXeb0/2dsb2JhbACSZowjccAbhRsE Received: from outmx03.plus.net ([84.93.230.244]) by relay.pcl-ipout01.plus.net with ESMTP; 20 Jun 2010 22:35:31 +0100 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx03.plus.net with esmtp (Exim) id 1OQSAt-0006zf-80 for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 22:35:31 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1OQSAs-000Fve-Ut for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 22:35:31 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 20 Jun 2010 22:35:30 +0100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201006202235.30812.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Updating ports - KDE3.5 and phonon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 21:35:33 -0000 I'm about to upgrade my ports, since it's over 3 months since the last upgrade I'm expecting this to be a mega upgrade. In preparation for this I've run portmaster -na to get all the configs up to date and avoid the need for frequent manual intervention when I run the upgrade. This highlighted a potential problem with multimedia/qt4-phonon > ===>>> Port directory: /usr/ports/multimedia/qt4-phonon > ===>>> This port is marked IGNORE > ===>>> conflicts with multimedia/phonon. You have defined > WITH_KDE_PHONON to override Qt4 phonon > > ===>>> If you are sure you can build it, remove the > IGNORE line in the Makefile and try again. > > ===>>> Update for qt4-phonon-4.6.1 failed > ===>>> Aborting update Well WITH_KDE_PHONON might have been defined somewhere, but not by me! Checking with UPDATING shows: > WITH_QT_PHONON global knob has been introduced to allow selection > between multimedia/qt4-phonon* ports (a bit outdated Phonon, which is > shipped with Qt4) and multimedia/phonon* ports. Since KDE SC 4.4 > requires fresh Phonon, multimedia/phonon* ports are installed by > default. > > If you don't use KDE, you may set WITH_QT_PHONON=yes in > /etc/make.conf and continue to use Qt4 Phonon implementation ports. > > If you want to use KDE SC 4.4 (or if you want the latest Phonon), > do not define WITH_QT_PHONON, delete multimedia/qt4-phonon* ports, > and install multimedia/phonon*: > > If you use portmaster: > > portmaster -o multimedia/phonon multimedia/qt4-phonon > portmaster -o multimedia/phonon-gstreamer > multimedia/qt4-phonon-gst I'm using KDE but it's version 3.5 which isn't mentioned above so am I right in assuming that in my case I put WITH_QT_PHONON=yes in /etc/make.conf because I'm not using KDE 4.4, even though I'm using KDE? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 23:57:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E493B1065670 for ; Sun, 20 Jun 2010 23:57:27 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id CE79D8FC0A for ; Sun, 20 Jun 2010 23:57:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64 ([76.121.184.98]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L4C005A57VIL460@asmtp026.mac.com> for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 16:57:19 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 spamscore=1 ipscore=0 phishscore=0 bulkscore=1 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006200146 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-20_05:2010-02-06, 2010-06-20, 2010-06-20 signatures=0 To: "freebsd-questions@freebsd.org" Date: Sun, 20 Jun 2010 16:57:17 -0700 From: Caleb Stein Message-id: User-Agent: Opera Mail/10.60 (Win32) Subject: /libexec/ld-elf.so.1: Shared boject "libpng.so.5" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 23:57:28 -0000 Whenever I try running an application that relies on GTK+ or QT, I get that error message. How should I fix this? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 00:35:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59804106564A for ; Mon, 21 Jun 2010 00:35:48 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 200818FC13 for ; Mon, 21 Jun 2010 00:35:45 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o5L0ZgJC090468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 Jun 2010 19:35:42 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o5L0Zgxv074637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 Jun 2010 19:35:42 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o5L0ZgbN074627; Sun, 20 Jun 2010 19:35:42 -0500 (CDT) (envelope-from dan) Date: Sun, 20 Jun 2010 19:35:41 -0500 From: Dan Nelson To: Caleb Stein Message-ID: <20100621003541.GA5799@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 20 Jun 2010 19:35:42 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: "freebsd-questions@freebsd.org" Subject: Re: /libexec/ld-elf.so.1: Shared boject "libpng.so.5" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 00:35:48 -0000 In the last episode (Jun 20), Caleb Stein said: > Whenever I try running an application that relies on GTK+ or QT, I get > that error message. How should I fix this? You must have upgraded your libpng port, and either the application or one of the shared libraries it uses hasn't been rebuilt since then. libpng.so.6 is the current version. Run "ldd -a myapplication", and rebuild anything that claims to depend on "libpng.so.5". One way to minimize damage like this is to use either portupgrade or portmaster to do updates for you. Those programs can back up old versions of shared libraries to /usr/local/lib/compat/pkg, so you won't get errors like that. Portupgrade will make a backup automatically, and so will portmaster if you add -w to the commandline. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 00:58:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E025D106566C for ; Mon, 21 Jun 2010 00:58:50 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id A46058FC12 for ; Mon, 21 Jun 2010 00:58:50 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 952B35D19; Mon, 21 Jun 2010 00:58:48 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Mon, 21 Jun 2010 01:58:11 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006210158.11141.bruce@cran.org.uk> Cc: Caleb Stein Subject: Re: /libexec/ld-elf.so.1: Shared boject "libpng.so.5" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 00:58:51 -0000 On Monday 21 June 2010 00:57:17 Caleb Stein wrote: > Whenever I try running an application that relies on GTK+ or QT, I get > that error message. How should I fix this? You must have upgraded libpng at some point and didn't notice or follow the instructions in /usr/ports/UPDATING which tells you to rebuild all affected ports. It's easy to forget, but then you find random applications start breaking. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 02:29:23 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D90F106564A for ; Mon, 21 Jun 2010 02:29:23 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D72C18FC12 for ; Mon, 21 Jun 2010 02:29:22 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o5L2TLOK030610 for ; Sun, 20 Jun 2010 19:29:21 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 20 Jun 2010 19:29:20 -0700 (PDT) Date: Sun, 20 Jun 2010 19:29:19 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100621022917.GA13733@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: OT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 02:29:23 -0000 happy father's day to every dad stateside. same wishes to all dads of course. my view is that both mother's and father's day should be held internationally. it well may be for all i know. AFAIC, fatherhood is the kind of trip that beats even programming in C. on the best OS on earth. 'sall, folks -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 02:52:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207F3106566C for ; Mon, 21 Jun 2010 02:52:47 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DBAB48FC15 for ; Mon, 21 Jun 2010 02:52:45 +0000 (UTC) Received: by iwn7 with SMTP id 7so3745367iwn.13 for ; Sun, 20 Jun 2010 19:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IS0wRWy9v92y4nvmf5lJ9yRX0azkXGjdh+D2g3m2qAI=; b=Sz6r8aMxaiMjcRJjPtS2Cp+wsp2He7qNSLwExyDDUETQUYBP8LuVb61+IOL6mkT84z +mCoornQ9P1WEZM2VlPtUWyuXFfD0xeePiuim8tfFIv210VYeOCvDHErc+eracXgCMea KT2ht9fcm184ozSsp6fPIpAlt9FHzLOq5rqkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SsXsyYYRsAnnV25VCV5xTn4IGIz6LhMQD4zbVYZz/XnifllSgx8hUYOe3cyB8mkKZl Da2Hep5HhKh3tImwbHthQR/h3ORUBqfyW+giD2EClSZXQDre0WbuCh22kPDu0ysb5GRw DxSDcjmj6kwZIJ/QBUxMz428gm5rURHZsouho= MIME-Version: 1.0 Received: by 10.231.187.29 with SMTP id cu29mr5075661ibb.70.1277088764377; Sun, 20 Jun 2010 19:52:44 -0700 (PDT) Received: by 10.231.182.212 with HTTP; Sun, 20 Jun 2010 19:52:44 -0700 (PDT) In-Reply-To: <20100621022917.GA13733@thought.org> References: <20100621022917.GA13733@thought.org> Date: Sun, 20 Jun 2010 21:52:44 -0500 Message-ID: From: Brandon Gooch To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: OT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 02:52:48 -0000 On Sun, Jun 20, 2010 at 9:29 PM, Gary Kline wrote: > happy father's day to every dad stateside. > > same wishes to all dads of course. =A0my view is that both mother's and > father's day should be held internationally. =A0it well may be for all i > know. =A0AFAIC, fatherhood is the kind of trip that beats even > programming in C. =A0on the best OS on earth. My sentiments exactly. Happy Father's Day to All the Dads! Thanks Gary :) -Brandon, Ava's Dad From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 02:56:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3064D106564A for ; Mon, 21 Jun 2010 02:56:01 +0000 (UTC) (envelope-from jerry@nrdx.com) Received: from www3.stelesys.com (www3.stelesys.com [69.61.23.66]) by mx1.freebsd.org (Postfix) with ESMTP id 016B88FC13 for ; Mon, 21 Jun 2010 02:56:00 +0000 (UTC) Received: from c-98-219-49-14.hsd1.ga.comcast.net ([98.219.49.14] helo=[192.168.0.108]) by www3.stelesys.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OQXB0-000LEY-Dj for freebsd-questions@freebsd.org; Sun, 20 Jun 2010 22:55:58 -0400 Message-ID: <4C1ED49B.2000709@nrdx.com> Date: Sun, 20 Jun 2010 22:55:23 -0400 From: Jerry Bell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - www3.stelesys.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - nrdx.com Subject: Ssh attack appears to be hanging ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 02:56:01 -0000 I am running 8.1 BETA. My server started getting hammered with brute force ssh login attacks recently. One thing I have noticed is that I see lots of these: Jun 18 23:26:47 www3 sshd[33171]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33169]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33172]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33176]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33175]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33170]: error: ssh_msg_send: write Jun 18 23:26:47 www3 sshd[33174]: error: ssh_msg_send: write Jun 18 23:28:30 www3 sshd[33254]: error: ssh_msg_send: write Jun 18 23:28:30 www3 sshd[33255]: error: ssh_msg_send: write in my logs, which roughly correlates to when the problems start. I have sshguard running, so I am thinking that the above messages are happening because ipf has cut off communication with the host. Anyhow, at some point, and for some reason, ssshd stops processing new requests. The sshed process continues to run, but simply does not work. From a the side of a system trying to log in, I see this (logging set to DEBUG in sshd_config: > ssh -v user@www3.stelesys.com OpenSSH_5.2p1 FreeBSD-20090522, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to www3.stelesys.com [69.61.23.66] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/identity type -1 debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: identity file /home/user/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host On the server side, I see this in the debug logs: Jun 20 22:43:11 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 22:43:11 www3 sshd[76171]: debug1: drop connection #10 I happened to catch one in the act... This log snipped starts with sshd being started, is "attacked" by one host and ends with the sshd server locking up: Jun 20 21:44:18 www3 sshd[76171]: debug1: Bind to port 22 on ::. Jun 20 21:44:18 www3 sshd[76171]: debug1: Bind to port 22 on 0.0.0.0. Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76179. Jun 20 21:44:53 www3 sshd[76179]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8 Jun 20 21:44:53 www3 sshd[76179]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76179]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76180. Jun 20 21:44:53 www3 sshd[76180]: debug1: rexec start in 5 out 5 newsock 5 pipe 8 sock 9 Jun 20 21:44:53 www3 sshd[76180]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76180]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76181. Jun 20 21:44:53 www3 sshd[76181]: debug1: rexec start in 5 out 5 newsock 5 pipe 9 sock 10 Jun 20 21:44:53 www3 sshd[76181]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76181]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76182. Jun 20 21:44:53 www3 sshd[76182]: debug1: rexec start in 5 out 5 newsock 5 pipe 10 sock 11 Jun 20 21:44:53 www3 sshd[76182]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76182]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76183. Jun 20 21:44:53 www3 sshd[76183]: debug1: rexec start in 5 out 5 newsock 5 pipe 11 sock 12 Jun 20 21:44:53 www3 sshd[76183]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76183]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76184. Jun 20 21:44:53 www3 sshd[76184]: debug1: rexec start in 5 out 5 newsock 5 pipe 12 sock 13 Jun 20 21:44:53 www3 sshd[76184]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76184]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76185. Jun 20 21:44:53 www3 sshd[76185]: debug1: rexec start in 5 out 5 newsock 5 pipe 13 sock 14 Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76186. Jun 20 21:44:53 www3 sshd[76186]: debug1: rexec start in 5 out 5 newsock 5 pipe 14 sock 15 Jun 20 21:44:53 www3 sshd[76185]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76185]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76186]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76186]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76187. Jun 20 21:44:53 www3 sshd[76187]: debug1: rexec start in 5 out 5 newsock 5 pipe 15 sock 16 Jun 20 21:44:53 www3 sshd[76187]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76187]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: Forked child 76188. Jun 20 21:44:53 www3 sshd[76188]: debug1: rexec start in 5 out 5 newsock 5 pipe 16 sock 17 Jun 20 21:44:53 www3 sshd[76188]: debug1: inetd sockets after dupping: 3, 3 Jun 20 21:44:53 www3 sshd[76188]: debug1: res_init() Jun 20 21:44:53 www3 sshd[76183]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76183]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76183]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76183]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76179]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76179]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76179]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76179]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:44:53 www3 sshd[76171]: debug1: drop connection #10 Jun 20 21:44:53 www3 sshd[76182]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76182]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76182]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76182]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76181]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76181]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76181]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76181]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76185]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76185]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76185]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76185]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76184]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76184]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76184]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76184]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:53 www3 sshd[76186]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76186]: debug1: no match: libssh-0.4.3 Jun 20 21:44:53 www3 sshd[76186]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:53 www3 sshd[76186]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:54 www3 sshd[76188]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:54 www3 sshd[76188]: debug1: no match: libssh-0.4.3 Jun 20 21:44:54 www3 sshd[76188]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:54 www3 sshd[76188]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:54 www3 sshd[76187]: debug1: Client protocol version 2.0; client software version libssh-0.4.3 Jun 20 21:44:54 www3 sshd[76187]: debug1: no match: libssh-0.4.3 Jun 20 21:44:54 www3 sshd[76187]: debug1: Enabling compatibility mode for protocol 2.0 Jun 20 21:44:54 www3 sshd[76187]: debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 Jun 20 21:44:56 www3 sshguard[71398]: Matched address 222.177.24.35:4 attacking service 100 Jun 20 21:44:56 www3 last message repeated 3 times Jun 20 21:44:56 www3 sshguard[71398]: First sight of offender '222.177.24.35:4', adding to offenders list. Jun 20 21:44:56 www3 sshguard[71398]: Setting environment: SSHG_ADDR=222.177.24.35;SSHG_ADDRKIND=4;SSHG_SERVICE=100. Jun 20 21:44:56 www3 sshd[76184]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76185]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76186]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76183]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76179]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76184]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76181]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76182]: debug1: PAM: initializing for "ircd" Jun 20 21:44:56 www3 sshd[76186]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76185]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76183]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76179]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76181]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshd[76182]: debug1: PAM: setting PAM_RHOST to "222.177.24.35" Jun 20 21:44:56 www3 sshguard[71398]: Run command "if test $SSHG_ADDRKIND != 4; then exit 1 ; fi ; TMP=`mktemp /tmp/ipfconf.XX` && awk '1 ; /^##sshguard-begin##$/ { print "block in quick proto tcp from '"$SSHG_ADDR"' to any" }' $TMP && mv $TMP /etc/ipf.rules && /sbin/ipf -Fa && /sbin/ipf -f /etc/ipf.rules": exited 0. Jun 20 21:44:56 www3 sshguard[71398]: Matched address 222.177.24.35:4 attacking service 100 Jun 20 21:44:56 www3 last message repeated 3 times Jun 20 21:44:56 www3 sshguard[71398]: Setting environment: SSHG_ADDR=222.177.24.35;SSHG_ADDRKIND=4;SSHG_SERVICE=100. Jun 20 21:44:56 www3 sshguard[71398]: Run command "if test $SSHG_ADDRKIND != 4; then exit 1 ; fi ; TMP=`mktemp /tmp/ipfconf.XX` && awk '1 ; /^##sshguard-begin##$/ { print "block in quick proto tcp from '"$SSHG_ADDR"' to any" }' $TMP && mv $TMP /etc/ipf.rules && /sbin/ipf -Fa && /sbin/ipf -f /etc/ipf.rules": exited 0. Jun 20 21:44:56 www3 sshguard[71398]: Matched address 222.177.24.35:4 attacking service 100 Jun 20 21:44:56 www3 last message repeated 3 times Jun 20 21:44:56 www3 sshguard[71398]: Setting environment: SSHG_ADDR=222.177.24.35;SSHG_ADDRKIND=4;SSHG_SERVICE=100. Jun 20 21:44:56 www3 sshguard[71398]: Run command "if test $SSHG_ADDRKIND != 4; then exit 1 ; fi ; TMP=`mktemp /tmp/ipfconf.XX` && awk '1 ; /^##sshguard-begin##$/ { print "block in quick proto tcp from '"$SSHG_ADDR"' to any" }' $TMP && mv $TMP /etc/ipf.rules && /sbin/ipf -Fa && /sbin/ipf -f /etc/ipf.rules": exited 0. Jun 20 21:44:56 www3 sshguard[71398]: Matched address 222.177.24.35:4 attacking service 100 Jun 20 21:44:56 www3 sshguard[71398]: Matched address 222.177.24.35:4 attacking service 100 Jun 20 21:45:33 www3 sshd[76171]: debug1: fd 5 clearing O_NONBLOCK Jun 20 21:45:33 www3 sshd[76171]: debug1: drop connection #10 After some period of time, it *sometimes* starts accepting connections again. Any ideas what is happening here? Thanks, Jerry From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 03:01:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968B9106566C for ; Mon, 21 Jun 2010 03:01:08 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2EAC28FC18 for ; Mon, 21 Jun 2010 03:01:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 7EE993A38C3 for ; Mon, 21 Jun 2010 10:01:06 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-transfer-encoding:content-type:content-type:mime-version :references:subject:subject:in-reply-to:from:from:message-id :date:date:received:received:received; s=selector1; t= 1277089266; x=1278903666; bh=ptDOEmx0JWic5WndEMMfqwvyB3FHVTam8mC BmbrhZqQ=; b=lDe69sh8AMT6dpkiU+KeyYYlgujffsYX/Lq2psWBXvh2YRHqtll n1fE/HiZbCHBmE9+NGMzVy2m/sFPg+TCYMPlEnMN1QnKM+m9OSANJ7m5hYYBX8SR dHeTpaRcGVs8L2eAZRPfn+RoxgZ2NZnUn11Rd0c8ZFhaFng0Q58RG19k= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id E14bNvEQoJGP for ; Mon, 21 Jun 2010 10:01:06 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 24EA83A38B6 for ; Mon, 21 Jun 2010 10:01:06 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o5L3151H014545; Mon, 21 Jun 2010 10:01:05 +0700 (ICT) (envelope-from on) Date: Mon, 21 Jun 2010 10:01:05 +0700 (ICT) Message-Id: <201006210301.o5L3151H014545@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: (message from Brandon Gooch on Sun, 20 Jun 2010 21:52:44 -0500) References: <20100621022917.GA13733@thought.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: OT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 03:01:08 -0000 Hi, > my view is that both mother's and father's day should be held > internationally.  it well may be for all i know.   Here in Thailand, father's day is on the King birthday, Dec 5th. Now how I see of father's day in France, it is a commercial thing only. Like one would need a special day to love his dad: send them wished on father's day and then let them die from heat exhaustion like it happened 2 or 3 years ago. > AFAIC, fatherhood is the kind of trip that beats even programming in > C. on the best OS on earth. Agreed, but would you accept to program only one day a year? :) Father's day must be everyday and save us this special day spam :) Olivier From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 05:50:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A36D2106566B for ; Mon, 21 Jun 2010 05:50:13 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id D2E068FC0A for ; Mon, 21 Jun 2010 05:50:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o5L5o5Ug063016; Mon, 21 Jun 2010 15:50:06 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 21 Jun 2010 15:50:05 +1000 (EST) From: Ian Smith To: Morgan Wesstr?m In-Reply-To: <20100618120030.D6CA7106581D@hub.freebsd.org> Message-ID: <20100621134020.X9227@sola.nimnet.asn.au> References: <20100618120030.D6CA7106581D@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20100621134351.G9227@sola.nimnet.asn.au> Cc: freebsd-questions@freebsd.org, Modulok Subject: Re: Online gaming and file downloads - latency hell! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 05:50:13 -0000 In freebsd-questions Digest, Vol 315, Issue 11, Message: 9 On Fri, 18 Jun 2010 12:11:48 +0200 Morgan Wesstr?m wrote: > On 2010-06-16 02:51, Modulok wrote: > > Yo, > > > > I have a FreeBSD box acting as a router between me and the Internet. > > Whenever someone on the local network downloads something, the other > > connections have a really high latency. A second or more. For people > > who like to download large files and play online games, it's not good. > > > > I tried traffic shaping with PF, which works - almost: I tried the > > home example in the PF book, but it doesn't work out so well. I can > > throttle users with no trouble, but even so that doesn't seem to help > > the latency issue unless I choke the 'big file download' users almost > > completely off. It's like nothing helps. I tried a priority based > > queue where all traffic on the gaming ports was placed in front of all > > other traffic, and while I saw a very mild improvement, latency was > > still really pitiful. > > > > Is there anything else I can do? Anyone have a similar setup and wish > > to share config files? Are there some sysctl's that would help this > > out or something. I'm almost ready to just buy a 'gaming' *gag* router > > which implements their own brand of QoS, but don't want to sink to > > that level if I don't have to. > > > > Help! > > -Modulok- > > Traffic shaping on your side when downloading unfortunately doesn't help > you. The data has already been transferred across your cable or DSL > connection by then and reordering any packets on your side will not > change the latency. Traffic shaping your download has to be performed at > your upstream router which you probably don't control. PF can help you > traffic shape your outgoing traffic. I have used it for this for the > past 6 years to help me maintain a low and stable ping while I play > online, even if I upload simultaneously. I've read about people trying > to throttle outgoing ACKs to slow down their download but that still > wouldn't rearrange any incoming data packets so I don't see how that > would help. I haven't tried it myself though but neither have I read > about anyone successfully accomplishing this. > > Regards > Morgan A short story: About 15 months ago, before becoming aware that Luigi and colleagues had been busy porting ipfw and dummynet to Linux, I was asked to implement a shaping solution for a very limited (512/512kbps) ADSL connection for a community radio station using a Linux firewall-in-a-box called IPCop as router, whose shaping was based on Bert Hubert's WonderShaper script, using Linux' tc module to prioritise and shape only outbound traffic. Having used ipfw+dummynet successfully for some years to shape traffic for a local voluntary organisation 'Community Technology Centre', I was staggered to find that all of the collective Linux wisdom on the subject chanted that same mantra .. that you can't prioritise download traffic, as the ISP will have 'gigantic queues' of TCP traffic that you can't control, and that prioritising ACKs, QoS and ICMP traffic and such is the best you can do. By this philosophy, tc only implements limiting total bandwidth of inbound traffic, shaping outbound by QoS and classes. To disprove this pervasive myth I had to implement inbound shaping by using tc to control the _outbound_ traffic to the _inside_ interface, where all sorts of random clients are doing big downloads, yootoobing and such plus some big uploads, while guaranteeing that the station's outbound audio stream had fully half the outbound-to-net bandwidth free without undue pressure and that remote ssh sessions etc remained snappy. This involves queuing inbound (mostly TCP) traffic on the local router, dropping any excess, which works most effectively to maintain a hard limit to downloads (at around 85% of 512kbps) while keeping the outbound (to-net) channel lightly loaded after streaming, ACKs, and uploads. I don't know how pf works (or can be made to work) in this regard, nor can I speculate about gaming latency particularly, but hope to find out soon by either replacing the old IPCop box with pfSense, or trying ipfw and dummynet on Linux .. I know, but they're still reluctant to shop other than Linux, and the idea of implementing a FreeBSD-derived firewall and shaping solution on Linux has a good deal of appeal .. HTH (or at least, doesn't hurt :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 05:59:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEA42106564A for ; Mon, 21 Jun 2010 05:59:55 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id E36778FC18 for ; Mon, 21 Jun 2010 05:59:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id DF4B33A3973; Mon, 21 Jun 2010 12:59:51 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1277099991; x= 1278914391; bh=k9m1iyCh7gIo/RowuizD4bga02F68Y9WzFWnOAK5Tqs=; b=d tp9GssMsWhli1q56mHJ3D4MjSNfllW1lOuLPptODJcFwG7fZLUFyJJ7Lc3GXR/Ho wcVwaHjRlKWg0T0tkmXnouLL396YpGBgD1TosNhwc+5mVY3UQlawWz4sIboa1pon NQIIeIN4psY7A048wnXDpdeughS5/qNJbQPU996mJA= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kjkrH8cKwtKM; Mon, 21 Jun 2010 12:59:51 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 650A63A3972; Mon, 21 Jun 2010 12:59:51 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o5L5xnL7016186; Mon, 21 Jun 2010 12:59:49 +0700 (ICT) (envelope-from on) Date: Mon, 21 Jun 2010 12:59:49 +0700 (ICT) Message-Id: <201006210559.o5L5xnL7016186@banyan.cs.ait.ac.th> From: Olivier Nicole To: smithi@nimnet.asn.au In-reply-to: <20100621134020.X9227@sola.nimnet.asn.au> (message from Ian Smith on Mon, 21 Jun 2010 15:50:05 +1000 (EST)) References: <20100618120030.D6CA7106581D@hub.freebsd.org> <20100621134020.X9227@sola.nimnet.asn.au> Cc: freebsd-questions@pp.dyndns.biz, freebsd-questions@freebsd.org, modulok@gmail.com Subject: Re: Online gaming and file downloads - latency hell! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 05:59:56 -0000 Hi, > I've read about people trying > to throttle outgoing ACKs to slow down their download but that still > wouldn't rearrange any incoming data packets so I don't see how that > would help. I haven't tried it myself though but neither have I read > about anyone successfully accomplishing this. TCP uses a window: the maximum number of packects that you can receive before you send an ACK. As long as ACK come flowing, the window size increases. Limit the ACK, you limit/reduce the size of the window, so you limit/reduce the incoming trafic. I beleive there could even be some nasty rewritting that would artifically change the window size so the TCP stream is slowed down. Bests, olivier From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 06:24:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C4161065670 for ; Mon, 21 Jun 2010 06:24:47 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp6.netcologne.de (smtp6.netcologne.de [194.8.194.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6081A8FC08 for ; Mon, 21 Jun 2010 06:24:46 +0000 (UTC) Received: from llea.celt.neu (xdsl-213-196-246-202.netcologne.de [213.196.246.202]) by smtp6.netcologne.de (Postfix) with ESMTP id BA4482A09CD; Mon, 21 Jun 2010 08:24:45 +0200 (CEST) Message-ID: <4C1F05AD.8000509@laposte.net> Date: Mon, 21 Jun 2010 08:24:45 +0200 From: =?ISO-8859-1?Q?Michael_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100226 SeaMonkey/2.0.3 MIME-Version: 1.0 To: Polytropon References: <473909.48600.qm@web36505.mail.mud.yahoo.com> <20100619121117.bc9480f8.freebsd@edvax.de> In-Reply-To: <20100619121117.bc9480f8.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD questions Subject: Re: PDF storage software recommendations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 06:24:47 -0000 Hi all, Polytropon wrote: > On Fri, 18 Jun 2010 19:24:52 -0700 (PDT), Bill Tillman wrote: >> But put me >> down for a vote on this method using simple text files and awk. > > It JUST WORKS - that's the goal. It can be developed and configured > very fast, can easily be extended (or limited), and data is stored > in a STANDARD (!!!) format which allows you to do ANYTHING with > it. You can even provide a web-driven interface for the database, > even that is possible. I use for my work a solution matching Polytopon's suggestion, it sounds very to natural to the UNIX user in me :) I am a scientist and have to daily deal with an increasing amount of electronic papers, made available in PDF, DJVU, PostScript or even Tiff. I organised my library so that each document get its own directory. Each directory then contains the document file(s) per itself and meta information, stored along in files whose names are fixed (for instance +INDEX for general information, +BIBTEX for BibTeX fata, etc.). I only need a couple of hours to write a program easing the addition of a document to the library and another one generating a HTML index out of the meta informations, and while my system is far from perfect, it exists, and helps me every day. I also had to help colleagues in various ways with their computer, sometimes giving them some (seemingly) very unfriendly scripts I wrote. My experience with this, is that, provided I show these people how it works and supervise their first steps with the program, they can actually use it and like it, despite the fact that the experience offered by the program is at first not as nice to them as the one offered by a GUI. However, being a scientist, I would not consider my working environment as `standard', whatever it means! >> We have a Windows based system at my current job which uses >> FileMaker Pro. It's amazing what we can do with this and it's >> like having a gigantic electronic filing cabinet. > > Oh, the paperless office... an utopia - at least in Germany, > bureaucracy's home country. :-) I thought France was that :) Rules are sometimes changing so often that administrative staff does not always has time to catch up them all! Nevertheless all of this bureaucracy is sometimes very useful too---but it is always a bit annoying ;) Cheers, Michael From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 10:38:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 802D31065676 for ; Mon, 21 Jun 2010 10:38:30 +0000 (UTC) (envelope-from cato.myhrhagen@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 17AEE8FC1E for ; Mon, 21 Jun 2010 10:38:29 +0000 (UTC) Received: by wwe15 with SMTP id 15so23357wwe.13 for ; Mon, 21 Jun 2010 03:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2fk0Mx9hX//eGf3BNsfi4HKbagk65s6fg2Yt0diSjxA=; b=C1f+/muk3tx0c8E3N8lXbSzo6QNJ75PxWbxARk5eKU2PKqk1FULPeqXrwjd1X/9qKd byfbiquHJNRw9YCG4TYDNeami81nzlqd1G4R72gxAKZsaEsIilFjJS5PZSrGr0RexLyQ FR2alg6e/CMLyi5z62JGysUk2+u9IfSOyd3p0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KToyOfbiEdy+dLsavQi9wPKkc2Vo182Nhp89xWCCkecJIZRWQyGkx2XqGh/YTgOAUU Vn7FmnuBhi1XHJjJ2bguajgA3vDLXoLLf0CTXrRvjEA1LrIM67f57HEv4YCv+SFxEu0e PiNhQxpSdpXFABHg7m+x9BS/oSpGHYdsbEJG0= MIME-Version: 1.0 Received: by 10.227.141.82 with SMTP id l18mr4491235wbu.109.1277116705583; Mon, 21 Jun 2010 03:38:25 -0700 (PDT) Received: by 10.216.154.204 with HTTP; Mon, 21 Jun 2010 03:38:25 -0700 (PDT) Date: Mon, 21 Jun 2010 12:38:25 +0200 Message-ID: From: Cato Myhrhagen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem startin Bacula-BAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 10:38:30 -0000 Hello I have som problems getting Bacula-Bat working. Here is what i have done so far: 1. Installed FreeBSD 8.0 rel 2. From the ports catalogue i have installed Gnome Lite 3. Uppgraded all the ports with CVsup 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports catalogue. 5. Installed BAT 5.0.0.1 I then tried to start Bat by opening Gnome, starting a teminalvindow and typing bat, but got error message (dont have it now becouse it stoped giving me this message). I also notised that bacula-dir prosess stopped when i tried to start Bat. Then i checked if MySQL was running, but it wasnt even installed (i thought it would be installed together with Bacula, but no) Therefor i installed MySQL-server 5.0.90, started it and tried to run BAT again. The program starts but dosent seem to work. It continues to try to connect to the database i think. In the lover left corner of the BAT Gui i continues to display the folloving: "Connecting to Direbtor Localhost:9010" and then says "Connection fails" Is there something i need to configure in BAT og Bacula to get BAT to connect correctly? Best regards Cato From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 10:42:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3A91106564A for ; Mon, 21 Jun 2010 10:42:19 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from smtprelay-b12.telenor.se (smtprelay-b12.telenor.se [62.127.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6BDD68FC14 for ; Mon, 21 Jun 2010 10:42:19 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 29517C951 for ; Mon, 21 Jun 2010 12:42:18 +0200 (CEST) X-SENDER-IP: [85.226.59.55] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ajc4AE7fHkxV4js3PGdsb2JhbACHb5cbDAEBAQE1LcB4hRsE X-IronPort-AV: E=Sophos;i="4.53,453,1272837600"; d="scan'208";a="93988311" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb1.telenor.se with ESMTP; 21 Jun 2010 12:42:17 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id o5LAgD6N027531 for ; Mon, 21 Jun 2010 12:42:13 +0200 (CEST) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4C1F4205.2020505@pp.dyndns.biz> Date: Mon, 21 Jun 2010 12:42:13 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100428 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100618120030.D6CA7106581D@hub.freebsd.org> <20100621134020.X9227@sola.nimnet.asn.au> In-Reply-To: <20100621134020.X9227@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Online gaming and file downloads - latency hell! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 10:42:20 -0000 On 2010-06-21 07:50, Ian Smith wrote: > In freebsd-questions Digest, Vol 315, Issue 11, Message: 9 > On Fri, 18 Jun 2010 12:11:48 +0200 > Morgan Wesstr?m wrote: > > On 2010-06-16 02:51, Modulok wrote: > > > Yo, > > > > > > I have a FreeBSD box acting as a router between me and the Internet. > > > Whenever someone on the local network downloads something, the other > > > connections have a really high latency. A second or more. For people > > > who like to download large files and play online games, it's not good. > > > > > > I tried traffic shaping with PF, which works - almost: I tried the > > > home example in the PF book, but it doesn't work out so well. I can > > > throttle users with no trouble, but even so that doesn't seem to help > > > the latency issue unless I choke the 'big file download' users almost > > > completely off. It's like nothing helps. I tried a priority based > > > queue where all traffic on the gaming ports was placed in front of all > > > other traffic, and while I saw a very mild improvement, latency was > > > still really pitiful. > > > > > > Is there anything else I can do? Anyone have a similar setup and wish > > > to share config files? Are there some sysctl's that would help this > > > out or something. I'm almost ready to just buy a 'gaming' *gag* router > > > which implements their own brand of QoS, but don't want to sink to > > > that level if I don't have to. > > > > > > Help! > > > -Modulok- > > > > Traffic shaping on your side when downloading unfortunately doesn't help > > you. The data has already been transferred across your cable or DSL > > connection by then and reordering any packets on your side will not > > change the latency. Traffic shaping your download has to be performed at > > your upstream router which you probably don't control. PF can help you > > traffic shape your outgoing traffic. I have used it for this for the > > past 6 years to help me maintain a low and stable ping while I play > > online, even if I upload simultaneously. I've read about people trying > > to throttle outgoing ACKs to slow down their download but that still > > wouldn't rearrange any incoming data packets so I don't see how that > > would help. I haven't tried it myself though but neither have I read > > about anyone successfully accomplishing this. > > > > Regards > > Morgan > > A short story: > > About 15 months ago, before becoming aware that Luigi and colleagues had > been busy porting ipfw and dummynet to Linux, I was asked to implement a > shaping solution for a very limited (512/512kbps) ADSL connection for a > community radio station using a Linux firewall-in-a-box called IPCop as > router, whose shaping was based on Bert Hubert's WonderShaper script, > using Linux' tc module to prioritise and shape only outbound traffic. > > Having used ipfw+dummynet successfully for some years to shape traffic > for a local voluntary organisation 'Community Technology Centre', I was > staggered to find that all of the collective Linux wisdom on the subject > chanted that same mantra .. that you can't prioritise download traffic, > as the ISP will have 'gigantic queues' of TCP traffic that you can't > control, and that prioritising ACKs, QoS and ICMP traffic and such is > the best you can do. By this philosophy, tc only implements limiting > total bandwidth of inbound traffic, shaping outbound by QoS and classes. > > To disprove this pervasive myth I had to implement inbound shaping by > using tc to control the _outbound_ traffic to the _inside_ interface, > where all sorts of random clients are doing big downloads, yootoobing > and such plus some big uploads, while guaranteeing that the station's > outbound audio stream had fully half the outbound-to-net bandwidth free > without undue pressure and that remote ssh sessions etc remained snappy. > > This involves queuing inbound (mostly TCP) traffic on the local router, > dropping any excess, which works most effectively to maintain a hard > limit to downloads (at around 85% of 512kbps) while keeping the outbound > (to-net) channel lightly loaded after streaming, ACKs, and uploads. > > I don't know how pf works (or can be made to work) in this regard, nor > can I speculate about gaming latency particularly, but hope to find out > soon by either replacing the old IPCop box with pfSense, or trying ipfw > and dummynet on Linux .. I know, but they're still reluctant to shop > other than Linux, and the idea of implementing a FreeBSD-derived > firewall and shaping solution on Linux has a good deal of appeal .. > > HTH (or at least, doesn't hurt :) > > cheers, Ian PF can handle the bandwidth limiting on the internal interface, no problem there. However, bandwidth limiting is only one part of traffic shaping. The other part is packet reordering. Even if you limit incoming bandwidth, your ISP may still have hundreds of packets of P2P traffic in it's queue to send before that vital packet from the online game. This will of course increase the latency of that packet which is exactly what the OP experience. There's unfortunately no way for you to reorder the packets in the ISP's router. Limiting incoming bandwidth may help enough depending on the game in question so I encourage the OP to test it but the latency would probably still fluctuate wildly which may still ruin the gaming experience. Regards Morgan From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 10:54:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE7761065670 for ; Mon, 21 Jun 2010 10:54:54 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9438FC12 for ; Mon, 21 Jun 2010 10:54:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o5LAsiRc077125; Mon, 21 Jun 2010 20:54:44 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 21 Jun 2010 20:54:44 +1000 (EST) From: Ian Smith To: Olivier Nicole In-Reply-To: <201006210559.o5L5xnL7016186@banyan.cs.ait.ac.th> Message-ID: <20100621185459.N9227@sola.nimnet.asn.au> References: <20100618120030.D6CA7106581D@hub.freebsd.org> <20100621134020.X9227@sola.nimnet.asn.au> <201006210559.o5L5xnL7016186@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@pp.dyndns.biz, freebsd-questions@freebsd.org, modulok@gmail.com Subject: Re: Online gaming and file downloads - latency hell! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 10:54:55 -0000 On Mon, 21 Jun 2010, Olivier Nicole wrote: > Hi, > > > I've read about people trying > > to throttle outgoing ACKs to slow down their download but that still > > wouldn't rearrange any incoming data packets so I don't see how that > > would help. I haven't tried it myself though but neither have I read > > about anyone successfully accomplishing this. > > TCP uses a window: the maximum number of packects that you can receive > before you send an ACK. As long as ACK come flowing, the window size > increases. > > Limit the ACK, you limit/reduce the size of the window, so you > limit/reduce the incoming trafic. Indeed. If you've an in-house router queueing through traffic against some bandwidth limit imposed on an inside clients' download, dropping any excess TCP packets arriving on top of a full queue or pipe (eg with ipfw/dummynet), there'll be a few packets requiring retransmission to continue the transfer, now and again, without need to throttle ACKs; in fact we're expediting ACKs uphill, after streaming, ssh and ICMP. I've been surprised by how few packets get dropped and so resent, way less than 1%, even when pulling large files from fast providers through a slow link (512/512 ADSL as mentioned) then further limited to clients. Which are mostly 'doze, a mac or two, a couple of linux boxes; all seem to use SACK but I haven't looked into negotiated window sizes. I don't know TCP in any depth but watch with awe as people enhance and tune the stack; all I can say is 'it seems to mostly work pretty well here' .. How UDP-based services cope with dropped packets is another matter; perhaps that's a big issue for some games that may need expediting? > I beleive there could even be some nasty rewritting that would > artifically change the window size so the TCP stream is slowed down. Quite a job, intervening and rewriting packets, and maintaining state on whole streams; I gather TCP is resistant to Man in the Middle attack .. Anyway, a lot harder than configuring a few dummynet pipes and queues :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 11:21:50 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06FE106566B for ; Mon, 21 Jun 2010 11:21:50 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 78BE28FC15 for ; Mon, 21 Jun 2010 11:21:50 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMWAK/oHkzKRa1mPGdsb2JhbAAHh2iXKQEBAQE1J8EohRsEg1I X-IronPort-AV: E=Sophos;i="4.53,453,1272816000"; d="scan'208";a="4675334" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp2.comclark.com with ESMTP; 21 Jun 2010 19:21:47 +0800 Message-ID: <4C1F4B4C.2000006@comclark.com> Date: Mon, 21 Jun 2010 19:21:48 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 11:21:51 -0000 In a script I have this code path="/usr/namelist" for name in "${path}/${group}"*; do found_list="${found_list} ${found_name}" done The "done" starts another loop. How do I code to know when the "for" has completed. I want to echo "results of for = ${found_list}" to see the accumulated contents. If I put the echo after the "done" I see it for each loop. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 11:42:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 476B31065670; Mon, 21 Jun 2010 11:42:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 684598FC0C; Mon, 21 Jun 2010 11:42:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o5LBgAnp079408; Mon, 21 Jun 2010 21:42:10 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 21 Jun 2010 21:42:10 +1000 (EST) From: Ian Smith To: Luigi Rizzo Message-ID: <20100621212134.K9227@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1718654167-1277120478=:9227" Content-ID: <20100621214150.B9227@sola.nimnet.asn.au> Cc: freebsd-ipfw@freebsd.org, Morgan Wesstr?m , freebsd-questions@freebsd.org, Modulok Subject: Re: Online gaming and file downloads - latency hell! (fwd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 11:42:17 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1718654167-1277120478=:9227 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100621214150.X9227@sola.nimnet.asn.au> Hi .. as suggested, posting this discussion to ipfw@ too .. thanks, Ian ---------- Forwarded message ---------- Date: Mon, 21 Jun 2010 13:00:14 +0200 From: Luigi Rizzo To: Ian Smith Subject: Re: Online gaming and file downloads - latency hell! (fwd) On Mon, Jun 21, 2010 at 10:25 AM, Ian Smith wrote: > Hi Luigi, > > thought you might be interested, seeing you and ipfw+dummynet rate a > mention .. maybe I'm ill-informed about the gaming latency aspect? > > cheers, Ian for responsive flows (e.g. tcp), it is actually effective to shape incoming traffic for the flows that you want slow down. In fact, even though it is true that packets have already traversed the bottleneck, you are slowing down their arrival to the receiving TCP, which has the side effect of slowing down outgoing acks and thus slowing down the source. Queues will build up at the remote end while the system settles, but after that (and if you make sure that the total rate is lower than link capacity) it will be the sources that do not generate traffic that saturates the link. Pretty trivial to implement, too: you just need a set of rules that match the incoming traffic that you want to slow down, pass it to one pipe, and let the other traffic go through without filtering. cheers luigi > > ---------- Forwarded message ---------- > Date: Mon, 21 Jun 2010 15:50:05 +1000 (EST) > From: Ian Smith > To: Morgan Wesstr?m > Cc: freebsd-questions@freebsd.org, Modulok > Subject: Re: Online gaming and file downloads - latency hell! > > In freebsd-questions Digest, Vol 315, Issue 11, Message: 9 > On Fri, 18 Jun 2010 12:11:48 +0200 > Morgan Wesstr?m wrote: >  > On 2010-06-16 02:51, Modulok wrote: >  > > Yo, >  > > >  > > I have a FreeBSD box acting as a router between me and the Internet. >  > > Whenever someone on the local network downloads something, the other >  > > connections have a really high latency. A second or more. For people >  > > who like to download large files and play online games, it's not good. >  > > >  > > I tried traffic shaping with PF, which works - almost: I tried the >  > > home example in the PF book, but it doesn't work out so well. I can >  > > throttle users with no trouble, but even so that doesn't seem to help >  > > the latency issue unless I choke the 'big file download' users almost >  > > completely off. It's like nothing helps. I tried a priority based >  > > queue where all traffic on the gaming ports was placed in front of all >  > > other traffic, and while I saw a very mild improvement, latency was >  > > still really pitiful. >  > > >  > > Is there anything else I can do? Anyone have a similar setup and wish >  > > to share config files? Are there some sysctl's that would help this >  > > out or something. I'm almost ready to just buy a 'gaming' *gag* router >  > > which implements their own brand of QoS, but don't want to sink to >  > > that level if I don't have to. >  > > >  > > Help! >  > > -Modulok- >  > >  > Traffic shaping on your side when downloading unfortunately doesn't help >  > you. The data has already been transferred across your cable or DSL >  > connection by then and reordering any packets on your side will not >  > change the latency. Traffic shaping your download has to be performed at >  > your upstream router which you probably don't control. PF can help you >  > traffic shape your outgoing traffic. I have used it for this for the >  > past 6 years to help me maintain a low and stable ping while I play >  > online, even if I upload simultaneously. I've read about people trying >  > to throttle outgoing ACKs to slow down their download but that still >  > wouldn't rearrange any incoming data packets so I don't see how that >  > would help. I haven't tried it myself though but neither have I read >  > about anyone successfully accomplishing this. >  > >  > Regards >  > Morgan > > A short story: > > About 15 months ago, before becoming aware that Luigi and colleagues had > been busy porting ipfw and dummynet to Linux, I was asked to implement a > shaping solution for a very limited (512/512kbps) ADSL connection for a > community radio station using a Linux firewall-in-a-box called IPCop as > router, whose shaping was based on Bert Hubert's WonderShaper script, > using Linux' tc module to prioritise and shape only outbound traffic. > > Having used ipfw+dummynet successfully for some years to shape traffic > for a local voluntary organisation 'Community Technology Centre', I was > staggered to find that all of the collective Linux wisdom on the subject > chanted that same mantra .. that you can't prioritise download traffic, > as the ISP will have 'gigantic queues' of TCP traffic that you can't > control, and that prioritising ACKs, QoS and ICMP traffic and such is > the best you can do.  By this philosophy, tc only implements limiting > total bandwidth of inbound traffic, shaping outbound by QoS and classes. > > To disprove this pervasive myth I had to implement inbound shaping by > using tc to control the _outbound_ traffic to the _inside_ interface, > where all sorts of random clients are doing big downloads, yootoobing > and such plus some big uploads, while guaranteeing that the station's > outbound audio stream had fully half the outbound-to-net bandwidth free > without undue pressure and that remote ssh sessions etc remained snappy. > > This involves queuing inbound (mostly TCP) traffic on the local router, > dropping any excess, which works most effectively to maintain a hard > limit to downloads (at around 85% of 512kbps) while keeping the outbound > (to-net) channel lightly loaded after streaming, ACKs, and uploads. > > I don't know how pf works (or can be made to work) in this regard, nor > can I speculate about gaming latency particularly, but hope to find out > soon by either replacing the old IPCop box with pfSense, or trying ipfw > and dummynet on Linux .. I know, but they're still reluctant to shop > other than Linux, and the idea of implementing a FreeBSD-derived > firewall and shaping solution on Linux has a good deal of appeal .. > > HTH (or at least, doesn't hurt :) > > cheers, Ian > --0-1718654167-1277120478=:9227-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 11:51:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A60B8106564A for ; Mon, 21 Jun 2010 11:51:45 +0000 (UTC) (envelope-from derek@csolve.net) Received: from mail.csolve.net (mail.csolve.net [207.164.80.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8378D8FC19 for ; Mon, 21 Jun 2010 11:51:45 +0000 (UTC) Received: from alpha.csolve.local ([10.10.18.126]) by mail.csolve.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OQfXU-000L2D-IT for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 07:51:44 -0400 From: Derek Buttineau Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Jun 2010 07:51:33 -0400 Message-Id: <0BDAD216-F38F-4F6E-9101-6557E59C0041@csolve.net> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Authenticated-Id: derek@csolve.net Subject: Areca ARC-1222 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 11:51:45 -0000 Does anyone have an experience using this card with FreeBSD? We're = trialling it in an HP DL380 G5 with FreeBSD 8 as a JBOD controller for = ZFS and ran into a weird situation. If we pull one of the drives in the = array, the card looses all attached drives. =20 Has anyone else ran into this, or can anyone offer any suggestions on = correcting that behaviour? http://yfrog.com/j3rc9zp Thanks, Derek=20= From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 12:13:41 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21007106566B for ; Mon, 21 Jun 2010 12:13:41 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id A20E58FC20 for ; Mon, 21 Jun 2010 12:13:40 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so661616fga.13 for ; Mon, 21 Jun 2010 05:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=sjMBrv9zI5rqG1my1pQI60X/zGkGqwjmSTr/CouwbIo=; b=voB1Y00slTfpgir4a/Z8rJchYrINqV4ABJsRZ9AYdUJdZjVFhHC1QmPJZHAV5KZsVY 0F1vJM4P+aC8X/wWmnrp9Qgz2h2ENBkjeR7wlhoSBBXlVcAvNzwlYxr0Bl+Vc5d4VacA XWE5V/cerTBg5L/sQZqL1rOI9erSBzxqd4LO0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=khEH9iY6S9ziYTYTsY5+dc/6KUZYkGO6brb0MFCOq0cy8bB4copKr7ClMSq5N0S4vC ZBId1XBYbl6+hWaZNEx6WAbpQF5aNxxwS9g3T8rp/sHQXIm7Zmk7nfiaISrxg9WVbjhx NcogkBgEs2PhAr618fiXTOi44cUAJeXbJKoPM= Received: by 10.204.136.87 with SMTP id q23mr2864794bkt.161.1277122419324; Mon, 21 Jun 2010 05:13:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.202 with HTTP; Mon, 21 Jun 2010 05:13:09 -0700 (PDT) In-Reply-To: <4C1F4B4C.2000006@comclark.com> References: <4C1F4B4C.2000006@comclark.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 21 Jun 2010 14:13:09 +0200 Message-ID: To: Aiza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 12:13:41 -0000 it seems to work your main error is to use ${found_name} instead of ${name}. also, you do not set ${group} in your example. and, not essential, but test -z before adding useless spaces. correcting that, I had it working perfectly. h2g2:~# cat test path=3D/dev group=3Dtty for name in "${path}/${group}"* do [ -z "${found_list}" ] && found_list=3D"${name}" || found_list=3D"${found_list} ${name}" done echo "found list: $found_list" h2g2:~# sh test found list: /dev/ttyU0 /dev/ttyU0.init /dev/ttyU0.lock /dev/ttyd0 /dev/ttyd0.init /dev/ttyd0.lock /dev/ttyp0 /dev/ttyp1 /dev/ttyp2 /dev/ttyp3 /dev/ttyp4 /dev/ttyp5 /dev/ttyp6 /dev/ttyp7 /dev/ttyv0 /dev/ttyv1 /dev/ttyv= 2 /dev/ttyv3 /dev/ttyv4 /dev/ttyv5 /dev/ttyv6 /dev/ttyv7 /dev/ttyv8 /dev/ttyv= 9 /dev/ttyva /dev/ttyvb /dev/ttyvc /dev/ttyvd /dev/ttyve /dev/ttyvf h2g2:~# Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Mon, Jun 21, 2010 at 1:21 PM, Aiza wrote: > for name in "${path}/${group}"*; do > found_list=3D"${found_list} ${found_name}" > done > From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 13:21:11 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F0D1065675 for ; Mon, 21 Jun 2010 13:21:11 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE718FC1B for ; Mon, 21 Jun 2010 13:21:11 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj8SAKMDH0zKRa1mPGdsb2JhbAAHh2iXKwEBAQE1wiiCWIJDBINS X-IronPort-AV: E=Sophos;i="4.53,453,1272816000"; d="scan'208";a="4686468" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 21 Jun 2010 21:21:09 +0800 Message-ID: <4C1F6746.4050400@comclark.com> Date: Mon, 21 Jun 2010 21:21:10 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= References: <4C1F4B4C.2000006@comclark.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "questions@freebsd.org" Subject: Re: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 13:21:11 -0000 Samuel Martín Moro wrote: > it seems to work > > your main error is to use ${found_name} instead of ${name}. > also, you do not set ${group} in your example. > and, not essential, but test -z before adding useless spaces. > correcting that, I had it working perfectly. > > h2g2:~# cat test > path=/dev > group=tty > for name in "${path}/${group}"* > do > [ -z "${found_list}" ] && found_list="${name}" || > found_list="${found_list} ${name}" > done > echo "found list: $found_list" > h2g2:~# sh test > found list: /dev/ttyU0 /dev/ttyU0.init /dev/ttyU0.lock /dev/ttyd0 > /dev/ttyd0.init /dev/ttyd0.lock /dev/ttyp0 /dev/ttyp1 /dev/ttyp2 > /dev/ttyp3 /dev/ttyp4 /dev/ttyp5 /dev/ttyp6 /dev/ttyp7 /dev/ttyv0 > /dev/ttyv1 /dev/ttyv2 /dev/ttyv3 /dev/ttyv4 /dev/ttyv5 /dev/ttyv6 > /dev/ttyv7 /dev/ttyv8 /dev/ttyv9 /dev/ttyva /dev/ttyvb /dev/ttyvc > /dev/ttyvd /dev/ttyve /dev/ttyvf > h2g2:~# > Ok lets say that group had a value in it that was not found. How do i identify that condition? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 14:49:40 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45EC1065670 for ; Mon, 21 Jun 2010 14:49:40 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2F97D8FC13 for ; Mon, 21 Jun 2010 14:49:39 +0000 (UTC) Received: by bwz8 with SMTP id 8so1603016bwz.13 for ; Mon, 21 Jun 2010 07:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=JpmbYYJA3837hYT17JJMRDA/tH+aTyaa0yV7JtIw3oA=; b=WJndSVIhrbwvKa7fnCH82tN1QBBzRd0ojawXyPNVl1pWeC0EKrBa9zNjKUtFogYsAb 0WTDWt+FFUHWRrK+cbO2hAQ+3fNv8Ulh6cK7le5wwoHyeLqxVhNJCKw01enXE68XYBhD VTKG7rv7eDu5N+4OiAYnSX2tlkJdP4S7wLR3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=S5oB2W+CiMxQW5Tlg1Byd9mbT2pwzcVCkoUV3Qga/40l/jaIWMDBWhKBGgbfUrAH3/ KWQ1YnKrKzNOSD+ODX5BmQTWE13LEmkGn29BZtSLNM+V7b6kqfDyoIHXdFpyRXZdwMZQ JomR9yxJOnoXCKaUiQbzj2o/5Hm4wLVfqgGxI= Received: by 10.204.162.129 with SMTP id v1mr3111574bkx.8.1277131775162; Mon, 21 Jun 2010 07:49:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.202 with HTTP; Mon, 21 Jun 2010 07:49:05 -0700 (PDT) In-Reply-To: <4C1F6746.4050400@comclark.com> References: <4C1F4B4C.2000006@comclark.com> <4C1F6746.4050400@comclark.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 21 Jun 2010 16:49:05 +0200 Message-ID: To: Aiza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 14:49:40 -0000 for name in "${path}/${group}"* do path=3D/dev group=3Dttypqfr for name in "${path}/${group}"* do test "$name" =3D "${path}/${group}*" && continue [ -z "${found_list}" ] && found_list=3D"${name}" || found_list=3D"${found_list} ${name}" done echo "found list: $found_list" Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Mon, Jun 21, 2010 at 3:21 PM, Aiza wrote: > path=3D/dev >> group=3Dtty >> for name in "${path}/${group}"* >> do >> [ -z "${found_list}" ] && found_list=3D"${name}" || >> found_list=3D"${found_list} ${name}" >> done >> echo "found list: $found_list" > > From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 15:45:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F028D1065740 for ; Mon, 21 Jun 2010 15:45:11 +0000 (UTC) (envelope-from a.huth@tmr.net) Received: from bo-uwka-srv01.de.tmr.net (bo-uwka-srv01.de.tmr.net [212.23.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id AD6C48FC08 for ; Mon, 21 Jun 2010 15:45:11 +0000 (UTC) Received: from localhost (localhost.de.tmr.net [127.0.0.1]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id EC1981DEABD for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Received: from bo-uwka-srv01.de.tmr.net ([127.0.0.1]) by localhost (bo-uwka-srv01.de.tmr.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 88677-01-15 for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Received: from localhost (ip-109-40-214-229.web.vodafone.de [109.40.214.229]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 16F9B1DEA99 for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Date: Mon, 21 Jun 2010 17:45:56 +0200 From: Alex Huth To: freebsd-questions@freebsd.org Message-ID: <20100621154556.GA1723@borusse.ewmr.base> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Problem startin Bacula-BAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 15:45:12 -0000 On Mon, Jun 21, 2010 at 12:38:25PM +0200, Cato Myhrhagen wrote: > Hello > > I have som problems getting Bacula-Bat working. Here is what i have done so > far: > > 1. Installed FreeBSD 8.0 rel > 2. From the ports catalogue i have installed Gnome Lite > 3. Uppgraded all the ports with CVsup > 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports > catalogue. > 5. Installed BAT 5.0.0.1 > > I then tried to start Bat by opening Gnome, starting a teminalvindow and > typing bat, but got error message (dont have it now becouse it stoped giving > me this message). I also notised that bacula-dir prosess stopped when i > tried to start Bat. Then i checked if MySQL was running, but it wasnt even > installed (i thought it would be installed together with Bacula, but no) > > Therefor i installed MySQL-server 5.0.90, started it and tried to run BAT > again. The program starts but dosent seem to work. It continues to try to > connect to the database i think. In the lover left corner of the BAT Gui i > continues to display the folloving: "Connecting to Direbtor Localhost:9010" > and then says "Connection fails" > > Is there something i need to configure in BAT og Bacula to get BAT to > connect correctly? You have to configure MySQL for Bacula and the conf-files of Bacula. There are create scripts for MySQL. You should read the very good doc at bacula.org. Greetings Alex From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 16:11:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03471106566B for ; Mon, 21 Jun 2010 16:11:14 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id D00A38FC08 for ; Mon, 21 Jun 2010 16:11:13 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OQjRx-0002XB-JO for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 09:02:18 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 21 Jun 2010 09:11:06 -0700 Date: Mon, 21 Jun 2010 09:11:06 -0700 From: Chip Camden To: FreeBSD Mailing List Message-ID: <20100621161106.GA6920@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 16:11:14 -0000 On Jun 20 2010 08:28, Aryeh Friedman wrote: > I currently am using mail/thunderbird as my mail reader and it is just > doing the job very well (even with heavy use of filters).... I use > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > ago).... I am looking for a good replacement suggestions.... here are > the minimal features I need: > > * Gmail support > * Filtering (either internal or via external tool) > * Multiple accounts (2) > * Ability to send via local sendmail (my ISP blocks incoming port 25 > thats why I am using gmail) > * Handle over 1000 messages a day > * (optional) Plain text archives (unlike how Thunderbird does it) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" You can do all of the above with mutt. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 17:29:03 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69C57106564A for ; Mon, 21 Jun 2010 17:29:03 +0000 (UTC) (envelope-from jnatola@familycareintl.org) Received: from mail.familycareintl.org (static-64-61-120-78.isp.broadviewnet.net [64.61.120.78]) by mx1.freebsd.org (Postfix) with ESMTP id 30F688FC1A for ; Mon, 21 Jun 2010 17:29:02 +0000 (UTC) Received: from FCIEXCHANGE1.FCI ([::1]) by FCIEXCHANGE1.FCI ([::1]) with mapi; Mon, 21 Jun 2010 13:28:56 -0400 From: Jean-Paul Natola To: "questions@FreeBSD.org" Thread-Topic: iptables equivaelnt Thread-Index: AcsRZslJrThlAZNcRKWL655EM2GLjg== Date: Mon, 21 Jun 2010 17:28:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: iptables equivaelnt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 17:29:03 -0000 I'm looking for FREEBSD's equivalent of iptables I'm particuclary trying to implement some type of rate control as we are g= etting hammered by spam. Any and all help would be graetly appreciated From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 17:34:49 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EFE51065670 for ; Mon, 21 Jun 2010 17:34:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 0782F8FC13 for ; Mon, 21 Jun 2010 17:34:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4D00DVIKTDSX40@asmtp029.mac.com> for questions@FreeBSD.org; Mon, 21 Jun 2010 10:34:26 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006210096 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-21_01:2010-02-06, 2010-06-21, 2010-06-20 signatures=0 From: Chuck Swiger In-reply-to: Date: Mon, 21 Jun 2010 10:34:25 -0700 Message-id: <29017079-55A2-406B-891B-6EEB239EF730@mac.com> References: To: Jean-Paul Natola X-Mailer: Apple Mail (2.1081) Cc: "questions@FreeBSD.org" Subject: Re: iptables equivaelnt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 17:34:49 -0000 Hi-- On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: > I'm looking for FREEBSD's equivalent of iptables > > I'm particuclary trying to implement some type of rate control as we are getting hammered by spam. The three major choices available with FreeBSD are documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 17:53:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C0931065679 for ; Mon, 21 Jun 2010 17:53:29 +0000 (UTC) (envelope-from meskio@noblezabaturra.org) Received: from heal.cauterized.net (heal.cauterized.net [89.140.131.167]) by mx1.freebsd.org (Postfix) with ESMTP id CDECD8FC0A for ; Mon, 21 Jun 2010 17:53:28 +0000 (UTC) Received: from localhost (AAnnecy-552-1-161-84.w83-201.abo.wanadoo.fr [83.201.57.84]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by heal.cauterized.net (Postfix) with ESMTPSA id D6F6770188B2 for ; Mon, 21 Jun 2010 19:53:26 +0200 (CEST) Date: Mon, 21 Jun 2010 19:53:20 +0200 From: Ruben Pollan To: FreeBSD Mailing List Message-ID: <20100621175320.GA2003@blackspot> References: <20100621161106.GA6920@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20100621161106.GA6920@libertas.local.camdensoftware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 17:53:29 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09:11, Mon 21 Jun 10, Chip Camden wrote: > On Jun 20 2010 08:28, Aryeh Friedman wrote: > > I currently am using mail/thunderbird as my mail reader and it is just > > doing the job very well (even with heavy use of filters).... I use > > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > > ago).... I am looking for a good replacement suggestions.... here are > > the minimal features I need: > >=20 > > * Gmail support > > * Filtering (either internal or via external tool) > > * Multiple accounts (2) > > * Ability to send via local sendmail (my ISP blocks incoming port 25 > > thats why I am using gmail) > > * Handle over 1000 messages a day > > * (optional) Plain text archives (unlike how Thunderbird does it) >=20 > You can do all of the above with mutt. >=20 I'm a big fan of mutt, it's my main mail client since a couple of years. Bu= t I'm not sure if is a good replacement for someone use to thunderbird. If you are searching for something in comand line, powerful and configurabl= e I recomend you mutt (plus fetchmain, procmail, crm114 and msmtp). You'll need= some time to configure it, but it's worth it. If you want something graphical without that much of configuration I recome= nd you mail/claws-mail. I didn't use it in years, but before I discover mutt f= or me was the best mail client. If you want to try other things I'm lately geeking with notmuch[0] a mail c= lient based on search trees and tags. Really interesting, but I didn't manage to compile it on FreeBSD jet (I didn't try hard). [0] http://notmuchmail.org/ --=20 Rub=E9n Poll=E1n | jabber:meskio@jabber.org -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D- Lo que pasa es que tienes envidia por que las vocecitas me hablan a mi. --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwfpw8ACgkQGKOQ92SwNMJwLQCgl7DyCtvqOw+QxqpPHPzF3Bii n1IAn0PE/6NUXY/RJNAcAW9bOLIGKofx =uz3b -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:06:57 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF5D4106567B for ; Mon, 21 Jun 2010 18:06:57 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 996DD8FC1F for ; Mon, 21 Jun 2010 18:06:57 +0000 (UTC) Received: by gyh20 with SMTP id 20so3214055gyh.13 for ; Mon, 21 Jun 2010 11:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gKPYAA/HbRzlNpR7ISeYEiw9sOgcWQtTXXOWdZIcqJo=; b=hiHWib3Bx+7fPWMkdo9fHfzCjv8QlcBOgaVZJhK1Rd35mvCNEAvpxvG0yfzvb37x/w qP1Cfpvz/zK83XoKZnePY9GcsMlIH/FuG8GUKuEgqVd5zrVjsSF9RgVTiSX8Qs4HAzue IeA46Z/MSrvDyx+1q6LX1jN1Pp8JXKCVz09I8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lIYubktalk9v+50v6fnPzwScgFWnkh/sY5hZ45LffBsChOuhf4cjcNrd25nm8wE4xC CaC0K93VHLsc5kT3s55rXls+51se9urzeGIcrXj/+Aj/ZyHKVaFrcIV6OD+Dkb1Dlovl RXBjoNrH81rMWwU7MHIQil2DNDHFNmDC7vq7Y= MIME-Version: 1.0 Received: by 10.151.33.37 with SMTP id l37mr4703604ybj.389.1277143616040; Mon, 21 Jun 2010 11:06:56 -0700 (PDT) Received: by 10.151.147.14 with HTTP; Mon, 21 Jun 2010 11:06:55 -0700 (PDT) In-Reply-To: <29017079-55A2-406B-891B-6EEB239EF730@mac.com> References: <29017079-55A2-406B-891B-6EEB239EF730@mac.com> Date: Mon, 21 Jun 2010 11:06:55 -0700 Message-ID: From: pete wright To: Chuck Swiger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jean-Paul Natola , "questions@FreeBSD.org" Subject: Re: iptables equivaelnt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:06:58 -0000 On Mon, Jun 21, 2010 at 10:34 AM, Chuck Swiger wrote: > Hi-- > > On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: >> I'm looking for FREEBSD's equivalent of iptables >> >> I'm particuclary trying to implement some =A0type of rate control as we = are getting hammered by spam. > > The three major choices available with FreeBSD are documented here: > > =A0http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.ht= ml > I'd humbly suggest pf + spamd if you are concerned specifically about stopping spam, both are supported by freebsd and i have had great success using these tools to combat spam. -pete --=20 pete wright www.nycbug.org From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:11:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 013141065672 for ; Mon, 21 Jun 2010 18:11:34 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBB48FC24 for ; Mon, 21 Jun 2010 18:11:33 +0000 (UTC) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o5LIBU4a031599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jun 2010 14:11:32 -0400 (EDT) References: Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Adam Vande More Date: Mon, 21 Jun 2010 14:11:31 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 Cc: Free BSD Questions list Subject: Re: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:11:34 -0000 Adam Vande More writes: > I'm not sure that floppies are still working in this fashion, but even if > they are it may be easier for you to do this via pxe or optical media. You mean to create a CD image and put the install.cfg instead of using a floppy image? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:19:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF451106566B for ; Mon, 21 Jun 2010 18:19:54 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 6ED088FC14 for ; Mon, 21 Jun 2010 18:19:54 +0000 (UTC) Received: (qmail 9078 invoked by uid 0); 21 Jun 2010 18:19:53 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 21 Jun 2010 18:19:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=H1MuOPFSfTRCqzuvqz2cZ1kLGs0LQzVcNqiJoyzplUsZASyakMPzJxXg9n/A1Wfk05KP0GV1WSVnMXvp8MH1EQ7hpleUdSw9l5DnQKKID8WFyHCbWwuvE7MD4i7bhS97; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OQlb6-0002h2-P6 for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 12:19:53 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 21 Jun 2010 12:18:51 -0600 Date: Mon, 21 Jun 2010 12:18:51 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20100621181851.GA94662@guilt.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20100621161106.GA6920@libertas.local.camdensoftware.com> <20100621175320.GA2003@blackspot> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20100621175320.GA2003@blackspot> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:19:55 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 21, 2010 at 07:53:20PM +0200, Ruben Pollan wrote: > On 09:11, Mon 21 Jun 10, Chip Camden wrote: > > On Jun 20 2010 08:28, Aryeh Friedman wrote: > > > I currently am using mail/thunderbird as my mail reader and it is just > > > doing the job very well (even with heavy use of filters).... I use > > > xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks > > > ago).... I am looking for a good replacement suggestions.... here are > > > the minimal features I need: > > >=20 > > > * Gmail support > > > * Filtering (either internal or via external tool) > > > * Multiple accounts (2) > > > * Ability to send via local sendmail (my ISP blocks incoming port 25 > > > thats why I am using gmail) > > > * Handle over 1000 messages a day > > > * (optional) Plain text archives (unlike how Thunderbird does it) > >=20 > > You can do all of the above with mutt. > >=20 >=20 > I'm a big fan of mutt, it's my main mail client since a couple of years. = But I'm > not sure if is a good replacement for someone use to thunderbird. That really depends on the person, I think. I switched from Thunderbird to Mutt years ago, and I'm much happier now. Of course, most people aren't me. I guess the person seeking advice should make the decision (and maybe give us more of an idea of what would be a suitable replacement in this case). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwfrQsACgkQ9mn/Pj01uKU14ACePmF2J4D5nyTqS9NGSzoAdAsP 3foAoKP3l/t2UZHPQQtNKO8a9AvRojHT =pYxX -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:31:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10A5D106564A for ; Mon, 21 Jun 2010 18:31:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2788FC21 for ; Mon, 21 Jun 2010 18:31:30 +0000 (UTC) Received: by yxs7 with SMTP id 7so7858yxs.13 for ; Mon, 21 Jun 2010 11:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=DxbgZ8zXAe5Wb8XNR0tIFtX8+EGFA2cI7tmB/x/5N5E=; b=hIC//jUEfaOkk3TXS9llr3f4ka4ofH3v8BMb/ZvOtcJQs9Wcii5lIRdb7sQNquo0Qy s7sq4M3+zMPjOTMRfeCoovDunb08NGwnD+2m06wxfYJNKAT8Zc8RT+e5l1MFE8FVhr5t sAzcr0S2uAM69oKaLHyTrTxAksCxOf+lSC3Gk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HCYUWcTa0Ocb9csmmLsSBra4CecC0FWWWfG5QDDkT0iA9N5MNO397I7zT6+8y2vxZY UXnbo5uEACjTzr7YbBPhQ7Z1SlGUMOEDnH9MiRIzl78qJxD3iwi3xfxy96JqMy8RwI/X pDUcwA5SjBt2K8ViMrXOx2B30/OL7cEZeIMNo= MIME-Version: 1.0 Received: by 10.224.27.93 with SMTP id h29mr3418645qac.101.1277145089719; Mon, 21 Jun 2010 11:31:29 -0700 (PDT) Received: by 10.229.82.70 with HTTP; Mon, 21 Jun 2010 11:31:29 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Jun 2010 13:31:29 -0500 Message-ID: From: Adam Vande More To: Francisco Reyes Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Free BSD Questions list Subject: Re: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:31:32 -0000 On Mon, Jun 21, 2010 at 1:11 PM, Francisco Reyes wrote: > Adam Vande More writes: > > I'm not sure that floppies are still working in this fashion, but even if >> they are it may be easier for you to do this via pxe or optical media. >> > > You mean to create a CD image and put the install.cfg instead of using a > floppy image? > Yes, you might be able to edit an existing image or use 'make release' to build your own. Or with pxe you can just put it on NFS. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:37:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3344C106566B for ; Mon, 21 Jun 2010 18:37:47 +0000 (UTC) (envelope-from amikkili@purdue.edu) Received: from mx04.ecn.purdue.edu (smtp.ecn.purdue.edu [128.46.117.253]) by mx1.freebsd.org (Postfix) with ESMTP id E16418FC18 for ; Mon, 21 Jun 2010 18:37:46 +0000 (UTC) Received: from delp-69-13.dhcp.ecn.purdue.edu (delp-69-13.dhcp.ecn.purdue.edu [128.46.69.240]) (authenticated bits=0) by smtp.ecn.purdue.edu (8.14.4/8.14.4) with ESMTP id o5LIL41I018823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 21 Jun 2010 14:21:05 -0400 From: "Aravind K. Mikkilineni" To: freebsd-questions@freebsd.org Date: Mon, 21 Jun 2010 14:19:03 -0400 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201006211419.03306.amikkili@purdue.edu> X-ECN-MailServer-VirusScanned: by amavisd-new X-ECN-MailServer-Origination: delp-69-13.dhcp.ecn.purdue.edu [128.46.69.240] X-ECN-MailServer-SpamScanAdvice: DoNotScan Subject: ZFS not returning correct data if checksum fails? (copies=2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:37:47 -0000 Hi, I may have experienced some odd behavior from ZFS running 8.0-STABLE-201004 amd64. I have a zpool 'zhome' on my laptop with checksum=on and copies=2. I was getting ready to burn a FreeBSD DVD today and was verifying the checkums of the image I downloaded (stored on zhome). I got a match on the md5 hash, but a mismatch on the sha256 hash. Rerunning the sha256 hash gave the correct result. I luckily just got in the office earlier and had a zpool status in my terminal buffer which indicated no errors on zhome. Running zpool status after the checksumming operations shows one checksum error. I was under the impression that ZFS, upon encountering a checksum error, would check the second copy of the block (since I have set copies=2) and send that data instead (assuming it was correct), that does not seem to have happened. I have run into checksum errors in the past where I had copies=1, in those cases ZFS would simply stop reading the file at that point and I would get a read error, which I did not in this case. Also I am fairly certain that the dvd image was not buffered in RAM between hashes (i.e. each hash read the data from disk). Perhaps the checksum was correct the first time around and some other part of my system corrupted the data? RAM has been tested many months ago using memtest86 and several other tools without problem (not that new problems couldn't have popped up). akm@moony:~$ zpool status zhome pool: zhome state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM zhome ONLINE 0 0 0 ad4p3.eli ONLINE 0 0 0 errors: No known data errors akm@moony:ISOs$ grep *8.0*amd64-dvd1* CHECKSUM.* | cut -d\= -f2 227adf4b4010aa1bc98baf50953ec2d0 4c087a9d23a53f861f3548461cde500a6db709ff704e972c51677531ea6d65b3 akm@moony:ISOs$ md5 FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2 227adf4b4010aa1bc98baf50953ec2d0 akm@moony:ISOs$ sha256 FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2 4fcbcaacf14ff7c0394f119b1ca93e645456241d5b7d42aaf8f92b5a70b279d4 akm@moony:ISOs$ sha256 FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2 4c087a9d23a53f861f3548461cde500a6db709ff704e972c51677531ea6d65b3 akm@moony:ISOs$ zpool status zhome pool: zhome state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scrub: none requested config: NAME STATE READ WRITE CKSUM zhome ONLINE 0 0 0 ad4p3.eli ONLINE 0 0 1 errors: No known data errors akm@moony:ISOs$ -akm From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:37:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D12CA106566B for ; Mon, 21 Jun 2010 18:37:51 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mx1.freebsd.org (Postfix) with ESMTP id 91C158FC1D for ; Mon, 21 Jun 2010 18:37:51 +0000 (UTC) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o5LIbnu6021129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jun 2010 14:37:50 -0400 (EDT) References: Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Adam Vande More Date: Mon, 21 Jun 2010 14:37:50 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 Cc: Free BSD Questions list Subject: Re: Floppies on VMware workstation FreeBSD guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:37:51 -0000 Adam Vande More writes: > Yes, you might be able to edit an existing image or use 'make release' to > build your own. Or with pxe you can just put it on NFS. I was thinking of something perhaps even simpler. Mount a second CD image with just install.cfg. Will try that and see how it works. If I was going to do lots of install PXE may be the way to go, but wondering if it is worth the effort for the handfull of times I would use it. For physicall install I will try USB. Right now jus trying to solve the issue with VMware just to get familiar with the install.cfg syntax. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 20:53:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21D3C106566C for ; Mon, 21 Jun 2010 20:53:16 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id CD1E08FC18 for ; Mon, 21 Jun 2010 20:53:15 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o5LKqlW9095437 for ; Mon, 21 Jun 2010 15:53:01 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <95435.1277153567.1@dc.cis.okstate.edu> Date: Mon, 21 Jun 2010 15:52:47 -0500 From: Martin McCormick Subject: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 20:53:16 -0000 I have a large number of home-grown applications that run under FreeBSD 6.3 and earlier. As we transition to FreeBSD8.0, is there a good single package to add which will provide the right libraries to allow these older binaries to run without surprises? Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 20:56:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7309106564A for ; Mon, 21 Jun 2010 20:56:33 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id CEFA78FC16 for ; Mon, 21 Jun 2010 20:56:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4D006L9U64L550@asmtp030.mac.com> for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 13:56:29 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006210125 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-21_01:2010-02-06, 2010-06-21, 2010-06-20 signatures=0 From: Chuck Swiger In-reply-to: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> Date: Mon, 21 Jun 2010 13:56:28 -0700 Message-id: References: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> To: Martin McCormick X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 20:56:34 -0000 Hi-- On Jun 21, 2010, at 1:52 PM, Martin McCormick wrote: > I have a large number of home-grown applications that > run under FreeBSD 6.3 and earlier. As we transition to > FreeBSD8.0, is there a good single package to add which will > provide the right libraries to allow these older binaries to run > without surprises? Yes, you want: /usr/ports/misc/compat6x It installs the libraries from FreeBSD-6.x under a compatibility location so that your older binaries should run without needing to be recompiled.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 21:05:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246D9106566B for ; Mon, 21 Jun 2010 21:05:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D8F628FC14 for ; Mon, 21 Jun 2010 21:05:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 272F11E0F9; Mon, 21 Jun 2010 23:05:18 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5LL5HK1002486; Mon, 21 Jun 2010 23:05:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 21 Jun 2010 23:05:17 +0200 From: Polytropon To: Martin McCormick Message-Id: <20100621230517.48cf46f8.freebsd@edvax.de> In-Reply-To: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> References: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 21:05:20 -0000 On Mon, 21 Jun 2010 15:52:47 -0500, Martin McCormick wrote: > I have a large number of home-grown applications that > run under FreeBSD 6.3 and earlier. As we transition to > FreeBSD8.0, is there a good single package to add which will > provide the right libraries to allow these older binaries to run > without surprises? Yes, compat_6x should do that. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 21:18:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F43D106566C for ; Mon, 21 Jun 2010 21:18:23 +0000 (UTC) (envelope-from martin@x.it.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 05EBB8FC0A for ; Mon, 21 Jun 2010 21:18:22 +0000 (UTC) Received: from x.it.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.3/8.14.3) with ESMTP id o5LL0Zap052792 for ; Mon, 21 Jun 2010 16:00:35 -0500 (CDT) (envelope-from martin@x.it.okstate.edu) Message-Id: <201006212100.o5LL0Zap052792@x.it.okstate.edu> cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <52790.1277154035.1@x.it.okstate.edu> Date: Mon, 21 Jun 2010 16:00:35 -0500 From: Martin McCormick Subject: Re: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 21:18:23 -0000 Chuck Swiger writes: > Yes, you want: > > /usr/ports/misc/compat6x > > It installs the libraries from FreeBSD-6.x under a compatibility location > so that your older binaries should run without needing to be > recompiled.... Perfect. Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:11:50 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 850331065673 for ; Mon, 21 Jun 2010 22:11:50 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 463268FC1A for ; Mon, 21 Jun 2010 22:11:49 +0000 (UTC) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 32BBEBF404 for ; Tue, 22 Jun 2010 00:11:47 +0200 (CEST) Received: by pwj1 with SMTP id 1so673983pwj.13 for ; Mon, 21 Jun 2010 15:11:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.196.5 with SMTP id t5mr4225916wff.54.1277158305081; Mon, 21 Jun 2010 15:11:45 -0700 (PDT) Received: by 10.142.14.13 with HTTP; Mon, 21 Jun 2010 15:11:45 -0700 (PDT) Date: Tue, 22 Jun 2010 00:11:45 +0200 Message-ID: From: Alexander Best To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:11:50 -0000 hi there, i can't remember where i read this the other day, but i found this to be a great idea. basically the idea was to have one code pool which all the *bsd flavours share and also to which every *bsd committer has access and can make changes. especially code in /bin, /sbin, usr/bin, /usr/sbin or /usr/share (probably other places too) would benefit from this a lot. right now most of the work that gets done in one of these places by lets say dragonfly won't make it into freebsd or netbsd for a long time. or what's even worse: sometimes people document problems or bugs which have already been fixed in some other *bsd. if somebody fixes the problem that's just wasted time because it's been done beforehand. would this be even possible or not at all? -- Alexander Best From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:13:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0F94106564A for ; Mon, 21 Jun 2010 22:13:45 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1E38FC18 for ; Mon, 21 Jun 2010 22:13:45 +0000 (UTC) Received: by bwz8 with SMTP id 8so1782076bwz.13 for ; Mon, 21 Jun 2010 15:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :reply-to:in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=4g51diBJMNXRD/8Gf09zN+LkE2IKHk98KWPB56JqrvU=; b=wBJBsa+ojp/v2nGS6NbowspZdeQ27MHagSr5JebY0qG0vElFBYEV2BxzDpqu2gqKEi GRcOvSuCMzVG/X/NPzzlyUgHaQIAavDp5Cr1ByfcrtY0DIgfdo7GzNtxOgYz+iSUumIe y8vmPeezgKxzsg1CFfHG8Z72MyByfvtsbNom0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=Ik93/2xgo8CbsIX5xVW2MU6NfxXJNS/8v+9mRo5/EMLFdzmvRnjLXIk0MTfOhTQIq/ uEaCYcPvtlbAAe+L0kMC2j35riZ3t5h7KGuIC7TOAa3S159o+OWVuvlC0VwiCo6Fjm85 IAnZnd728HdCp+vy/rWWVMHO3dCd+VWIIpw60= MIME-Version: 1.0 Received: by 10.204.8.5 with SMTP id f5mr3469048bkf.209.1277158424174; Mon, 21 Jun 2010 15:13:44 -0700 (PDT) Received: by 10.204.69.201 with HTTP; Mon, 21 Jun 2010 15:13:43 -0700 (PDT) Received: by 10.204.69.201 with HTTP; Mon, 21 Jun 2010 15:13:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Jun 2010 23:13:43 +0100 Message-ID: From: Chris Rees To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:13:45 -0000 Politics... Sorry for top-posting, Android won't let me quote. There's a bug report on it! On 21 Jun 2010 23:12, "Alexander Best" wrote: hi there, i can't remember where i read this the other day, but i found this to be a great idea. basically the idea was to have one code pool which all the *bsd flavours share and also to which every *bsd committer has access and can make changes. especially code in /bin, /sbin, usr/bin, /usr/sbin or /usr/share (probably other places too) would benefit from this a lot. right now most of the work that gets done in one of these places by lets say dragonfly won't make it into freebsd or netbsd for a long time. or what's even worse: sometimes people document problems or bugs which have already been fixed in some other *bsd. if somebody fixes the problem that's just wasted time because it's been done beforehand. would this be even possible or not at all? -- Alexander Best _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:20:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E561106566B for ; Mon, 21 Jun 2010 22:20:26 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 43F988FC13 for ; Mon, 21 Jun 2010 22:20:26 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o5LMKPUq088709 for ; Mon, 21 Jun 2010 15:20:26 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C1FE5A9.6030905@rawbw.com> Date: Mon, 21 Jun 2010 15:20:25 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100523 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Why gdb isn't updated from 2004? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:20:26 -0000 Current gdb version in 8.0 is 6.1.1. It was released in 2004. Current version is 7.1. Why it hasn't been updated? Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:33:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39E15106566C for ; Mon, 21 Jun 2010 22:33:53 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 22EF28FC16 for ; Mon, 21 Jun 2010 22:33:52 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4D008W7YOGET40@asmtp026.mac.com> for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 15:33:52 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006210139 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-21_01:2010-02-06, 2010-06-21, 2010-06-21 signatures=0 From: Chuck Swiger In-reply-to: <4C1FE5A9.6030905@rawbw.com> Date: Mon, 21 Jun 2010 15:33:51 -0700 Message-id: <1F624A05-30CA-4EE1-8AE0-6518051D01E3@mac.com> References: <4C1FE5A9.6030905@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: Why gdb isn't updated from 2004? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:33:53 -0000 On Jun 21, 2010, at 3:20 PM, Yuri wrote: > Current gdb version in 8.0 is 6.1.1. It was released in 2004. Current version is 7.1. > > Why it hasn't been updated? The latest versions of gdb are under GPLv3-- I believe starting from around Aug 2007 (aka gdb-6.7.1 or later). Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:42:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 258C9106566C for ; Mon, 21 Jun 2010 22:42:16 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id ED83C8FC14 for ; Mon, 21 Jun 2010 22:42:15 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o5LMgF9d093066; Mon, 21 Jun 2010 15:42:15 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C1FEAC7.4090108@rawbw.com> Date: Mon, 21 Jun 2010 15:42:15 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100523 Thunderbird/3.0.4 MIME-Version: 1.0 To: Chuck Swiger References: <4C1FE5A9.6030905@rawbw.com> <1F624A05-30CA-4EE1-8AE0-6518051D01E3@mac.com> In-Reply-To: <1F624A05-30CA-4EE1-8AE0-6518051D01E3@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Why gdb isn't updated from 2004? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:42:16 -0000 On 06/21/2010 15:33, Chuck Swiger wrote: > The latest versions of gdb are under GPLv3-- I believe starting from around Aug 2007 (aka gdb-6.7.1 or later). > I see. Then my question would morph into this one: Why gdb port isn't created for the latest gdb-7.1 ? I need gdb-7.1, GPL or not. After compiling from source I see an issue: it can't set breakpoints in the statically linked shared libraries (having debug info). Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 22:52:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B77E9106566B for ; Mon, 21 Jun 2010 22:52:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 9F39C8FC17 for ; Mon, 21 Jun 2010 22:52:43 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4D00M8YZJ4K950@asmtp028.mac.com> for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 15:52:17 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006210142 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-21_01:2010-02-06, 2010-06-21, 2010-06-21 signatures=0 From: Chuck Swiger In-reply-to: <4C1FEAC7.4090108@rawbw.com> Date: Mon, 21 Jun 2010 15:52:16 -0700 Message-id: References: <4C1FE5A9.6030905@rawbw.com> <1F624A05-30CA-4EE1-8AE0-6518051D01E3@mac.com> <4C1FEAC7.4090108@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: Why gdb isn't updated from 2004? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 22:52:43 -0000 On Jun 21, 2010, at 3:42 PM, Yuri wrote: > I see. Then my question would morph into this one: > Why gdb port isn't created for the latest gdb-7.1 ? Evidently, no one has submitted it. Perhaps the issue you've noted: > I need gdb-7.1, GPL or not. After compiling from source I see an issue: it can't set breakpoints in the statically linked shared libraries (having debug info). ...is part of the reason. If you do fix the issue, and feel motivated to submit these fixes with a gdb-7.1 port, well, I'm sure that would be appreciated. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 23:04:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6181E106564A for ; Mon, 21 Jun 2010 23:04:22 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (constellation.thenetnow.com [207.112.4.14]) by mx1.freebsd.org (Postfix) with ESMTP id 386EB8FC19 for ; Mon, 21 Jun 2010 23:04:21 +0000 (UTC) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANTLAPTOP) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1OQq2O-000H6T-Rb for freebsd-questions@freebsd.org; Mon, 21 Jun 2010 19:04:21 -0400 Message-ID: <71464EC2E1394FEA81D35EC1840B38F8@GRANTLAPTOP> From: "Grant Peel" To: Date: Mon, 21 Jun 2010 19:04:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 Subject: 8.1-rc1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 23:04:22 -0000 Hi all, I am updating all servers this comming July. Currently, I have a build of FreeBSD 8.0 and am wondering if anyone knows any showstoppers in it that should be fixed in 8.1-rc1. i.e shold I wait and update the build before deploying? Apache vm-pop3d mysql5 php5 Perl named exim ... -Grant From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 23:20:02 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FD201065670 for ; Mon, 21 Jun 2010 23:20:02 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id B8E578FC12 for ; Mon, 21 Jun 2010 23:20:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwUAEOQH0zKRa1mPGdsb2JhbAAHh2iXJAEBAQE1wwKFGwSDUg X-IronPort-AV: E=Sophos;i="4.53,456,1272816000"; d="scan'208";a="4712268" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 22 Jun 2010 07:20:00 +0800 Message-ID: <4C1FF3A0.7010902@comclark.com> Date: Tue, 22 Jun 2010 07:20:00 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= References: <4C1F4B4C.2000006@comclark.com> <4C1F6746.4050400@comclark.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "questions@freebsd.org" Subject: Re: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 23:20:02 -0000 Samuel Martín Moro wrote: > for name in "${path}/${group}"* > do > path=/dev > group=ttypqfr > for name in "${path}/${group}"* > do > test "$name" = "${path}/${group}*" && continue > [ -z "${found_list}" ] && found_list="${name}" || > found_list="${found_list} ${name}" > done > echo "found list: $found_list" > Thank You Samuel. Using the 'test' command solved my problem. I had not known about the 'test' command. You have taught me something new. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 01:03:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48C57106564A for ; Tue, 22 Jun 2010 01:03:14 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id C6BE68FC1A for ; Tue, 22 Jun 2010 01:03:13 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so824503fgb.13 for ; Mon, 21 Jun 2010 18:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=ZfvjCuWZkJTE5VtSA8ua9pQ4Oeg4JGRuiF6JScI4RL8=; b=fI65r0zkcqoHgsVYdE/dBgS0K8mDe7aL/QjTvTWk+F22UMjnu3FdUBaZcDfPTvZPnF wVSqHnVa0Bz6BPg3XOEayTg4fLbSu38maAbfSv3RhZzjbBKo8gLmSIyWWzOtJSb6iRP7 emkM7X5GJWwEYy7SLPvIUMxoU95SQ09oUpd5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Vh0GXXu0rwdvaII1qbvpuX/uNM02F40xL+6A1AxFGRZVtMEAAuoASD1vn6NCdicBWT 07v6HG78Bms17qlHmVnwwp/S5O0sY4jGTzScZTgYqc88f77YrlDu6msyemLSaqHIxLeW win/TWdHXF7B0ekrm+Wxnt5MWVLNTJfJxtR4Q= Received: by 10.87.5.30 with SMTP id h30mr9370208fgi.3.1277168592419; Mon, 21 Jun 2010 18:03:12 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id l12sm7511883fgb.2.2010.06.21.18.03.10 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 18:03:11 -0700 (PDT) Date: Tue, 22 Jun 2010 02:03:08 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100622020308.5615337c@gumby.homeunix.com> In-Reply-To: <4C1FF3A0.7010902@comclark.com> References: <4C1F4B4C.2000006@comclark.com> <4C1F6746.4050400@comclark.com> <4C1FF3A0.7010902@comclark.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: .sh for loop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 01:03:14 -0000 On Tue, 22 Jun 2010 07:20:00 +0800 Aiza wrote: > > test "$name" = "${path}/${group}*" && continue > > [ -z "${found_list}" ] && found_list="${name}" || > I had not known about the 'test' command. > You have taught me something new. In case you're not aware, [ -z "${found_list}" ] is also using test. /bin/test and /bin/[ are hard-linked. So the following are the same: test "$name" = "${path}/${group}*" && continue [ "$name" = "${path}/${group}*" ] && continue From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 01:36:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AB3C106566B for ; Tue, 22 Jun 2010 01:36:17 +0000 (UTC) (envelope-from clarkjp@charter.net) Received: from mail.cluebytwelve.org (clueby12.org [198.186.190.239]) by mx1.freebsd.org (Postfix) with ESMTP id 574198FC15 for ; Tue, 22 Jun 2010 01:36:17 +0000 (UTC) Received: from localdomain.local (24-158-157-74.dhcp.jcsn.tn.charter.com [24.158.157.74]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cluebytwelve.org (Postfix) with ESMTPSA id AD9A01B5CB for ; Mon, 21 Jun 2010 20:19:23 -0500 (CDT) Received: by localdomain.local (Postfix, from userid 1001) id 3FF4B4AC61; Mon, 21 Jun 2010 20:19:22 -0500 (CDT) Date: Mon, 21 Jun 2010 20:19:22 -0500 From: "J. Porter Clark" To: freebsd-questions@freebsd.org Message-ID: <20100622011922.GA2317@auricle.charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: http://www.angelfire.com/ego/porterclark/ User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Booting multiple choice, and pause to read bootup info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 01:36:17 -0000 1. I'd like to be able to expand the list of choices in the boot menu (the menu with single user mode, safe mode, etc.) to include booting in any of several different environments, e.g., home wired, home wireless, work wired, work wireless. Hacking the FORTH code isn't entirely out of the question, but before I even try it, I need to know how I could tell the system to switch among different rc.conf files (if that's even possible) from the loader. Offhand, I don't see a mechanism for doing so. Cleverer ideas welcome. 2. Usually, when the system boots, there are several lines showing the kernel and various modules loading, possibly with diagnostics. Is there a way to pause after that stage, so that those lines can be read? Or is there any way to retrieve them after the system has booted? -- J. Porter Clark From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 01:45:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C4A106566C for ; Tue, 22 Jun 2010 01:45:19 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 182C38FC17 for ; Tue, 22 Jun 2010 01:45:18 +0000 (UTC) Received: by bwz8 with SMTP id 8so1831305bwz.13 for ; Mon, 21 Jun 2010 18:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=6sZ+rrr0/+MnW0hE8a8g+Ull3+752/JERU7dMT4fsig=; b=TOWnH/EJi7gTu0JvstdZq4u2JBuED4O6zFzSoUUXadtcqxMYYkUSA+QBUU+bJvypHC aXvb3p0KhJ7iJxLhUmsWsiaSguoYFD60m+aQUdpSkXH3aLPEiYRfnVRIwYadMWScMp7l u+fjSruIp0j+QS2/D1l10HLB21KiA10JDp3q4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=tEoSdbpeGFfZ0OYDzmVKGYRcd5EhfIzbMkJHnXCtIwz9cavKQQFvyYscK+u4LJrL+6 9AfWIF/QwCE1C8fgpr/RVYGyf4kUAHsXFAsPllV1CtjMd1XyqAE1iTTWr/2EwIXdYUuU 3dQhYTAYghjDAh8Gc7JU6bWnTLebwG/8hW7zQ= Received: by 10.204.74.29 with SMTP id s29mr3621136bkj.97.1277171117850; Mon, 21 Jun 2010 18:45:17 -0700 (PDT) Received: from darklight.org.ru ([213.132.76.142]) by mx.google.com with ESMTPS id jr10sm8920022bkb.42.2010.06.21.18.45.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 18:45:17 -0700 (PDT) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.4/8.14.4) with ESMTP id o5M1jFIr008836; Tue, 22 Jun 2010 05:45:15 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.4/8.14.4/Submit) id o5M1jD9H008833; Tue, 22 Jun 2010 05:45:13 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 22 Jun 2010 05:45:13 +0400 From: Yuri Pankov To: "J. Porter Clark" Message-ID: <20100622014513.GA89205@darklight.org.ru> References: <20100622011922.GA2317@auricle.charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100622011922.GA2317@auricle.charter.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Booting multiple choice, and pause to read bootup info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 01:45:19 -0000 On Mon, Jun 21, 2010 at 08:19:22PM -0500, J. Porter Clark wrote: > 1. I'd like to be able to expand the list of choices in the > boot menu (the menu with single user mode, safe mode, etc.) to > include booting in any of several different environments, e.g., > home wired, home wireless, work wired, work wireless. Hacking > the FORTH code isn't entirely out of the question, but before > I even try it, I need to know how I could tell the system to > switch among different rc.conf files (if that's even possible) > from the loader. Offhand, I don't see a mechanism for doing so. > Cleverer ideas welcome. > > 2. Usually, when the system boots, there are several lines > showing the kernel and various modules loading, possibly with > diagnostics. Is there a way to pause after that stage, so that > those lines can be read? Or is there any way to retrieve them > after the system has booted? You are probably looking for /var/run/dmesg.boot. > > -- > J. Porter Clark Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 02:09:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BE4106566C for ; Tue, 22 Jun 2010 02:09:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24DD08FC16 for ; Tue, 22 Jun 2010 02:09:33 +0000 (UTC) Received: by fxm7 with SMTP id 7so2614710fxm.13 for ; Mon, 21 Jun 2010 19:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=JuXhgoO8SdOok3oMgF3B1hfnnWavTY9OL8iOAM7Hl2A=; b=TDQKocBr/kAr28zu/pNnvxSW6yf/aRNu+1uEQ8EkyboO1aOmd1YmwiU2yb1tAEu1nH 2pVr1nOkC+CB1Hh+hrvWz4O3LKnxmxEHMiFyx6l8jFv2xQIPOCVbKKClckKMzA/DrLE7 RSbwccjFBcdqPF10ZDkTQd0V2XquQ95FkEk/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=R6oQine4fVIEoS9qzptMOyuWWuvjaQXDiOnlFjHhwD4M+DJyJBooSGPvEE0X1IEvdC uSkFSPYE9qJcIrKuzvEZ1Jg9QIVR5jX4EktCHjlgHLpKOwPEsZ1fGl+USSAKf+IOoROr /SXUAbw+5UyK30B/3xtIfRc8Z22/hXNT7cZd8= Received: by 10.87.64.25 with SMTP id r25mr9401860fgk.20.1277172573100; Mon, 21 Jun 2010 19:09:33 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 4sm9358124fgg.17.2010.06.21.19.09.31 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 19:09:32 -0700 (PDT) Date: Tue, 22 Jun 2010 03:09:29 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100622030929.2d2e0814@gumby.homeunix.com> In-Reply-To: <20100622011922.GA2317@auricle.charter.net> References: <20100622011922.GA2317@auricle.charter.net> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Booting multiple choice, and pause to read bootup info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 02:09:34 -0000 On Mon, 21 Jun 2010 20:19:22 -0500 "J. Porter Clark" wrote: > 1. I'd like to be able to expand the list of choices in the > boot menu (the menu with single user mode, safe mode, etc.) to > include booting in any of several different environments, e.g., > home wired, home wireless, work wired, work wireless. Hacking > the FORTH code isn't entirely out of the question, but before > I even try it, I need to know how I could tell the system to > switch among different rc.conf files (if that's even possible) > from the loader. Offhand, I don't see a mechanism for doing so. > Cleverer ideas welcome. Perhaps you could have your menu in an rc script (or even auto-detect from one), and then have it touch a file or something to signal to other scripts. rc.conf is a shell script that sourced for each rc script so you could have entries like [ -f /tmp/home-wireless ] && enable_foo=yes to determine which daemons start. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 02:31:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB93E106564A for ; Tue, 22 Jun 2010 02:31:57 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8F118FC16 for ; Tue, 22 Jun 2010 02:31:57 +0000 (UTC) Received: by pwj1 with SMTP id 1so785860pwj.13 for ; Mon, 21 Jun 2010 19:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=iJJgW4noHCOf/Q/gCAAG0BTjq1/7ixSMQecqyNwFVI8=; b=K1IVuKsheA5e3LRElqUhKlnZrIQ4ECFBuHVCiahF5JCuuAboj4bHAIuwmhw/wrT0Ot 456qAAGYJ2/qbkotf4qJdj09zEAmYIYj3evSGnEegZaBOlXQtnxPMN3kGe1WysJ3eSMz H3Gw6MfV81atRkYUJOkrNrsI9OK34XkqZicSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=lE6aTmgPP5aSZl1bTsVtcj2ON0+KCgb7fea/pb7uVEVOYMNRkU1ceLF22zImyB3SKY qU2H/XqmJYIOJHt13bHuGqMOlWTYe1gHfUD9uL4huIZ35K+Jz0F5ICPgKdEHdgO0QvlI 06Qbbg/+SzzuvX6/Y6XYHe5KYEtWQWCEHL3FY= Received: by 10.143.177.5 with SMTP id e5mr4342810wfp.304.1277173915403; Mon, 21 Jun 2010 19:31:55 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id w39sm2675223wfh.3.2010.06.21.19.31.53 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 19:31:54 -0700 (PDT) Date: Tue, 22 Jun 2010 09:31:44 +0700 From: "Anh Ky Huynh" To: Chip Camden Message-ID: <20100622093144.2af3d437@icy.localdomain> In-Reply-To: <20100621161106.GA6920@libertas.local.camdensoftware.com> References: <20100621161106.GA6920@libertas.local.camdensoftware.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: thunderbird replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 02:31:58 -0000 On Mon, 21 Jun 2010 09:11:06 -0700 Chip Camden wrote: > On Jun 20 2010 08:28, Aryeh Friedman wrote: > > I currently am using mail/thunderbird as my mail reader and it is > > just doing the job very well (even with heavy use of filters).... > > I use xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed > > about 3 weeks ago).... I am looking for a good replacement > > suggestions.... here are the minimal features I need: > > > > * Gmail support > > * Filtering (either internal or via external tool) > > * Multiple accounts (2) > > * Ability to send via local sendmail (my ISP blocks incoming port > > 25 thats why I am using gmail) > > * Handle over 1000 messages a day > > * (optional) Plain text archives (unlike how Thunderbird does it) How about claws-mail? -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 02:46:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C785106566B for ; Tue, 22 Jun 2010 02:46:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 707638FC08 for ; Tue, 22 Jun 2010 02:46:34 +0000 (UTC) Received: by iwn7 with SMTP id 7so5140837iwn.13 for ; Mon, 21 Jun 2010 19:46:33 -0700 (PDT) Received: by 10.231.139.214 with SMTP id f22mr6104985ibu.141.1277174793489; Mon, 21 Jun 2010 19:46:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.180.86 with HTTP; Mon, 21 Jun 2010 19:46:13 -0700 (PDT) In-Reply-To: <20100622011922.GA2317@auricle.charter.net> References: <20100622011922.GA2317@auricle.charter.net> From: Eitan Adler Date: Mon, 21 Jun 2010 22:46:13 -0400 Message-ID: To: "J. Porter Clark" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Booting multiple choice, and pause to read bootup info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 02:46:34 -0000 > 2. Usually, when the system boots, there are several lines > showing the kernel and various modules loading, possibly with > diagnostics. =C2=A0Is there a way to pause after that stage, so that > those lines can be read? =C2=A0Or is there any way to retrieve them > after the system has booted? You have found the use of the "scroll lock" key ;) If you press it you can go up and down. Look at /var/run/dmesg.boot for after the system has booted ;) --=20 Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 02:56:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD5F2106564A for ; Tue, 22 Jun 2010 02:56:50 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4948FC0C for ; Tue, 22 Jun 2010 02:56:50 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.3) with ESMTP id o5M2unc9066656 for ; Mon, 21 Jun 2010 19:56:49 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id o5M2unXP080338; Mon, 21 Jun 2010 19:56:49 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id o5M2un5U080337; Mon, 21 Jun 2010 19:56:49 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Mon, 21 Jun 2010 19:56:49 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20100622025649.GA80151@marvin.optimis.net> References: <20100622011922.GA2317@auricle.charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100622011922.GA2317@auricle.charter.net> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: Booting multiple choice, and pause to read bootup info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 02:56:50 -0000 On Mon, Jun 21, 2010 at 08:19:22PM -0500, J. Porter Clark wrote: > 1. I'd like to be able to expand the list of choices in the > boot menu (the menu with single user mode, safe mode, etc.) to > include booting in any of several different environments, e.g., > home wired, home wireless, work wired, work wireless. Hacking > the FORTH code isn't entirely out of the question, but before > I even try it, I need to know how I could tell the system to > switch among different rc.conf files (if that's even possible) > from the loader. Offhand, I don't see a mechanism for doing so. > Cleverer ideas welcome. I did something similar for PXE scenarios but eventually decided I was spending more time coming up with clever ideas than I would have saved making use of any of them. The approach I took was to write a custom loader.rc (with an include for each of the possible options), but IIRC everything was presented via a rudimentary menu. For customising the existing menu, if you read through loader(8), and then have a look at what's provided in /usr/share/examples/bootforth, you should be able to figure things out without too much trouble. -- George From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 07:04:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5312106564A for ; Tue, 22 Jun 2010 07:04:02 +0000 (UTC) (envelope-from izaera@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 576768FC19 for ; Tue, 22 Jun 2010 07:04:02 +0000 (UTC) Received: by wwe15 with SMTP id 15so911633wwe.13 for ; Tue, 22 Jun 2010 00:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=dDITC1ft19z+Z3m+68jGdf0v3AHn+SF1vgWk7ks0FfU=; b=rc8tQrPB7TwfbVufMs3UNtR6DQvHepBmxy1sqw9U0qdnuMpR0gM+8Gphki50NsDdf4 hY0jJG48iWSEiXeChJ9+5e3fLSNFtVxxECXQ4/wfiXFvx9M/tdicReUBGiGlek+EHJJy 4RQwyAu28uMcjV2ATcKFOzQWVYhLDZJP+S0EM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cbIPGqU58Q6OsliU29aQRUlUMB8iISJCrt1p5uAd1QseGkNkaM0G9mQyCCttSu+zS0 +/Py/PXaaQwKg9rFWyLCZBWxinQJp+2QSv30+JlwGjhp9B2c6sFsdBXTySce3bLzYhcn TPpq3aWZE2gTt7H0SQO1Mph0VXZjhmOeEjZsY= MIME-Version: 1.0 Received: by 10.216.90.8 with SMTP id d8mr4245484wef.52.1277188780338; Mon, 21 Jun 2010 23:39:40 -0700 (PDT) Received: by 10.216.9.11 with HTTP; Mon, 21 Jun 2010 23:39:40 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Jun 2010 08:39:40 +0200 Message-ID: From: =?UTF-8?B?SXbDoW4gWmFlcmEgQXZlbGzDs24=?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with EeePC 1005HA wireless (Wireless Atheros 9285) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 07:04:02 -0000 Hello everybody. I sent this mail to freebsd-stable and didn't get any answer, so I'm retrying in freebsd-questions to see if I have more luck as the audience is supposed to be broader. <<<<<<<<<< I'm new to the list, so hello everybody and pleased to meet you all. I have installed the recent 8.1 BETA 1 on an Eee PC 1005HA and I'm experiencing problems with the wireless card. It is correctly recognized and configured. I have an ath0 device and I can create an wlan0 without problems. I can even scan with wlan0 and sometimes I see my wireless router. The problem is when wpa_supplicant tries to register with the network that it fails. BTW, I have a WEP system with long key (13 hex digits). I have sniffed the wireless network with another computer and the packets seem to be all correct: the Eee PC sends correct packets to the air, and the wifi router replies them correctly, but wpa_supplicant reports "registration timed out", as if it wasn't receiving the packets. It is nevertheless very strange because around 2-3 weeks ago I had the STABLE branch installed on the same Eee PC and the wifi worked (not always, but it succedeed always when it was near the router and the PC was just being rebooted). Does anybody experience the same problem or has any hint on what could be happening? I have compiled my kernel with AH_DEBUG and ATH_DEBUG so I can also send dmesg traces if anyone can analyze them. Thanks in advance for your help, >>>>>>>>>> -- Ivan Zaera http://www.factoria2.com/desde/correo From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 13:42:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D701D1065670; Tue, 22 Jun 2010 13:42:40 +0000 (UTC) (envelope-from cato.myhrhagen@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBE88FC17; Tue, 22 Jun 2010 13:42:39 +0000 (UTC) Received: by wyb33 with SMTP id 33so4202598wyb.13 for ; Tue, 22 Jun 2010 06:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=o11ecVgYuAqfRHPaDDcWP5KG7I3B0PS3fqqDXJc76iY=; b=LziCtD+uDm3XyA6HapmDTNsTLV0vBxCbFeeNvFZ0dbeoS92m/zCaxl8hlWcoi/Wnh9 o9oQslX/hWNij1BL6GYnDWYcy8Ri8noZ/oBG8CSyiYiqyz1Ti6DehHQz3ajhFFvW4+Wf DxUOW8lZxoJW39QkhYIVBvLqkhTwVs1aPOHHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nHhbDsuAJh6+RmwNFlsYgu64jb3dQxEL/X0zXDhlqbydRIH0CdrX+vBtV7qE4r7q4w S9VNZEs0idexhaAnjdZ/xEXI6GJiFbhmhVjCByNip6M5smMkcVhG6e7nxj1Wqbyx4UWf 69wBsLdH4sO8WPxZj8q4vJbyTWVtQILzkOkPo= MIME-Version: 1.0 Received: by 10.216.157.141 with SMTP id o13mr4626020wek.5.1277214157000; Tue, 22 Jun 2010 06:42:37 -0700 (PDT) Received: by 10.216.154.204 with HTTP; Tue, 22 Jun 2010 06:42:36 -0700 (PDT) Date: Tue, 22 Jun 2010 15:42:36 +0200 Message-ID: From: Cato Myhrhagen To: freebsd-questions@freebsd.org, freebsd-questions-request@freebsd.org, bacula-users-request@lists.sourceforge.net, bacula-users@lists.sourceforge.net Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Problems running Bacula BAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 13:42:40 -0000 Hello I still have som problems getting Bacula-Bat working. Here is what i have done so far: 1. Installed FreeBSD 8.0 rel 2. From the ports catalogue i have installed Gnome Lite 3. Uppgraded all the ports with CVsup 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports catalogue (/usr/ports/sysutils/bacula-server) 5. Installed BAT 5.0.0.1 (/usr/ports/sysutils/bacula-bat) 6. Installed MySql 5.0.90(/usr/ports/databases/mysql55-server) 7. Ran the 3 scripts to install the databases etc that is needed to run Bacula on the MySQL server # cd /usr/local/share/bacula/ # ./grant_mysql_privileges # ./create_mysql_database # ./make_mysql_tables I then tried to start Bat by opening Gnome, starting a terminalwindow and typing bat. Bat starts, but have som problems connecting. . It continues to try to connect to the database i think. In the lower left corner of the BAT Gui i continues to display the folloving: "Connecting to Director Localhost:9010" and then times out saying "Connection fails" Checked if bacula is running (ps =96aux | grep bacula) and it both the dir/= sd is running. bacula 746 0.0 0.1 9996 4508 ?? Ss 9:11AM 0:00.01 /usr/local/sbin/bacula-sd -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf bacula 1192 0.0 0.2 13364 6132 ?? Ss 10:23AM 0:00.03 /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf Also checked if MySQL was running (ps =96aux | grep mysql) Did not get any result on this, but when I tried to start the database, I got the message that the process was already running, so assuming that MySQ= L is running. Now I checked the log (/var/db/backula/log) and got the following error message: 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418 Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131. Also turned on de-bugging in BAT and get the following when I try to start BAT: backupserver# bat bat: bcomm/dircomm.cpp:188 DirComm 0 BAILING Connection failed backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 0 backupserver.domainname.no-dir bat: mainwin.cpp:105 Setting initial window to backupserver.domainname.no-dir bat: console/console.cpp:860 DirComm 1 About to Create and Connect backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:188 DirComm 1 BAILING Connection failed backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 1 backupserver.domainname.no-dir bat: console/console.cpp:868 DirComm 1 NOT Connected backupserver.domainname.no-dir bat: console/console.cpp:860 DirComm 2 About to Create and Connect backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:188 DirComm 2 BAILING Connection failed backupserver.domainname.no-dir Anybody have any idea on what could be wrong? Best Regards Cato From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 15:36:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC1A1065670 for ; Tue, 22 Jun 2010 15:36:14 +0000 (UTC) (envelope-from jbiquez@icsmx.com) Received: from krusty.intranet.com.mx (krusty.intranet.com.mx [200.33.246.3]) by mx1.freebsd.org (Postfix) with ESMTP id 259188FC1A for ; Tue, 22 Jun 2010 15:36:13 +0000 (UTC) Received: from PC1122.icsmx.com ([189.216.65.177]) by krusty.intranet.com.mx (8.14.4/8.14.4) with ESMTP id o5MFKKio032041 for ; Tue, 22 Jun 2010 10:20:20 -0500 (CDT) (envelope-from jbiquez@icsmx.com) Message-Id: <201006221520.o5MFKKio032041@krusty.intranet.com.mx> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 22 Jun 2010 10:18:10 -0500 To: freebsd-questions@freebsd.org From: Jorge Biquez In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Sendmail and spam/antivirus X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 15:36:14 -0000 Hello all. I have a small machine with Freebsd 7.3, it is running sendmail for a few email accounts. I'd like to implement, the easiest and most secure way to do it since machine is on a remote place where I have not access, I'd like to implement a spam filter and an antivirus. I installed from ports spamd but seems like it is not doing anything. What would be your advice on what to install to have and anivirus and an anti spam in the server? Sendmail is working fine and there are just a few email accounts there so no need to change it, since some of the accounts have been "public" in the last years they are in LOT of spammers lists and the spam and messages with virus has increased a lot in the last weeks so if possible to filter some will help. Thanks in advance. Jorge Biquez From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 15:50:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43A961065670 for ; Tue, 22 Jun 2010 15:50:37 +0000 (UTC) (envelope-from osp@aloha.com) Received: from relay.pixi.com (relay.pixi.com [206.127.224.101]) by mx1.freebsd.org (Postfix) with ESMTP id 209758FC17 for ; Tue, 22 Jun 2010 15:50:36 +0000 (UTC) Received: from yoda.pixi.com (yoda.pixi.com [206.127.224.41]) by relay.pixi.com (8.13.8+Sun/8.13.6) with ESMTP id o5MFoWir005794 for ; Tue, 22 Jun 2010 05:50:32 -1000 (HST) Received: from webmail.pixi.com (yoda.pixi.com [206.127.224.120] (may be forged)) by yoda.pixi.com (8.13.1/8.13.1) with SMTP id o5MFoWXs032320 for ; Tue, 22 Jun 2010 05:50:32 -1000 Message-Id: <201006221550.o5MFoWXs032320@yoda.pixi.com> To: freebsd-questions@freebsd.org From: osp@aloha.com Date: Tue, 22 Jun 2010 05:50:32 HST X-Posting-IP: 141.190.32.71 X-Mailer: Endymion MailMan Standard Edition v3.2.19 Subject: Fujitsu T1010 digitizer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 15:50:37 -0000 I am looking for help in getting a Fujitsu touch panel working with FreeBSD 8.0 and Gnome. I have here what I have so far, what I need is some advice on what to do next. Someone who goes by "zmiq2" has developed a basic but functional set of programs that do what I need, for Ubuntu. That code identifies the Fujitsu digitizer as vendor ID 0x0430 and device ID 0x0530. Here is some of that code: #include #include #include #include #include /* * Version Information */ #define DRIVER_VERSION "v0.3.5" #define DRIVER_DESC "Fujitsu usb touchscreen driver for u810, u820, p1620, t1010" #define DRIVER_LICENSE "GPL" #define DRIVER_AUTHOR "zmiq2 " .. #define USB_VENDOR_ID_FUJITSU 0x0430 #define USB_DEVICE_ID_U810TABLET 0x0530 .. My Fujitsu T1010 triple boots FreeBSD 8.0, Windows 7, and Ubuntu. I have this interface working in Ubuntu. Minimal but functional. This is from my FreeBSD /var/run/dmesg.boot (external USB mouse attached). Look closely at ugen4.2: .. uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen1.2: at usbus1 ums0: on usbus1 ums0: 8 buttons and [XYZ] coordinates ID=0 ugen4.2: at usbus4 Root mount waiting for: usbus7 ums1: on usbus4 ugen7.2: at usbus7 Trying to mount root from ufs:/dev/ad4s3a ugen4.3: at usbus4 ubt0: on usbus4 .. More info from usbconfig: $ sudo usbconfig dump_info ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen5.1: at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen4.2: at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen7.2: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON $ sudo usbconfig -u 4 -a 2 dump_device_desc ugen4.2: at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0430 idProduct = 0x0530 bcdDevice = 0x5001 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Here we see that idVendor and idProduct match the values used in the Ubuntu interface. Back in dmesg.boot we see that this device is assigned to ums1. $ ll /dev/um* crw-r--r-- 1 root operator - 0, 114 Jun 22 02:59 /dev/ums0 crw-r--r-- 1 root operator - 0, 116 Jun 22 02:59 /dev/ums1 (Yes, I was working at three in the morning!) Just for fun I tried cat /dev/ums1 but got "Device busy." So, how do I open this device and read what it is sending, and how do I send something useful to x.org? I don't think I can just read it as a mouse, it will need scaling, rotation, and some help generating button 2 and button 3 events. All help appreciated! Gary Dunn Open Slate Project osp@aloha.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 16:31:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B484106566C for ; Tue, 22 Jun 2010 16:31:36 +0000 (UTC) (envelope-from redtick@sbcglobal.net) Received: from web81202.mail.mud.yahoo.com (web81202.mail.mud.yahoo.com [68.142.199.106]) by mx1.freebsd.org (Postfix) with SMTP id 152B48FC0A for ; Tue, 22 Jun 2010 16:31:35 +0000 (UTC) Received: (qmail 91684 invoked by uid 60001); 22 Jun 2010 16:31:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1277224295; bh=p5Ht3LGg+QLu2W/YKe5drC/a13SN52AvvfY3687/Q9o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=k/YglHSXrachUfTVUI6aWoPE4z874phrkUNlfycEERDBYCWlGkbUbZFvIvgc5gyFA6zh2RJ49zQKtBw4A/8RhZi74YS5wLEadWn5XXVuKZ9TddE/1bfPRJ2nQot/br923w0rx4XzazUCvOA4UakVS6nga/M1TuDlIHDdUXYtCXw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jGqnF2ryTCY5w/nz/CqQBfnulc4H7NmIOI3d02YooHZmWEPfymko1twSin/0rDSuWiktwSveI+6I8a2EfcR4ziqW7hl9xG22hjES7ZVKIJ9TlemOFHHeTb4YUybSGKlNPctWXRJlea2OOdSlOUUaYnAu0HdjCNwrM91d5JMUd68=; Message-ID: <460402.91324.qm@web81202.mail.mud.yahoo.com> X-YMail-OSG: mlu4DzEVM1n8vgBQvJ.QQSIuTTAirdq1B8jlKHo4.e3_rFJ XiGs8CW2i3BO3wF2QZO_3ghQcuHNSA1TkJpTiniB3J0gedC0YLTcT6hx2280 afCLosjzXLfu0QhSzRUUSQ9iwmLv1ZDl_XE9mMcaVoQNbUvd1CVeSXGdmAmz sf2yPum0nxyP3zDENVixo02rUFuGey9dbFY8DM2xr_gNofBZ.m2ua5PK6tdC vvZ.tgsDgVDZ47QLsMCeYN3GjaaM0Z5OVECdRRbrXcjoq.TIByQkJ8ELLFu3 AtGQQWUH4LoX4mICoibdH6uzVbEjd9sJgNQqem_Z_9senAwHfqN49.q9W8UA fbnNRx08dI0RAdS4m.4RmToQi0S8KCQ-- Received: from [75.41.234.83] by web81202.mail.mud.yahoo.com via HTTP; Tue, 22 Jun 2010 09:31:35 PDT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.103.269680 Date: Tue, 22 Jun 2010 09:31:35 -0700 (PDT) From: Mark To: "Mr. Darren" In-Reply-To: <387690.28004.qm@web112019.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: help help Subject: Re: pvrxxx X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 16:31:36 -0000 If you do not have the card yet, an IP camera is an easy setup for a securi= ty cam. I have some Axis and off brand cameras doing this type of work. Loo= k into /usr/ports/multimedia/motion for a security camera system. HTH Mark People sleep peaceably in their beds at night only because rough men stand = ready to do violence on their behalf.=20 George Orwell --- On Tue, 6/22/10, Mr. Darren wrote: > From: Mr. Darren > Subject: pvrxxx > To: freebsd-multimedia@freebsd.org > Date: Tuesday, June 22, 2010, 4:17 AM > I noticed that usleepless had done > some work on this port recently.=A0 Though not > committed.=A0 I also noticed this archive http://www.mavetju.org/mail/vie= w_message.php?list=3Dfreebsd-multimedia&id=3D2565711 > describing the pvr150 and pvrxxx.=A0 I would like to get > this card to receive a single video signal from a security > cam.=A0 Or any other capable cheap card.=A0 It will be > run with motion(or other security software).=A0 I also > have a techwell(tw6802) that doesn't work.=A0 I'll take > hardware recomendations at this point.=A0 The box's sole > function will eventually be to watch that camera so it > wouldn't be a big deal to give a developer access.=A0 > rebuild kernels, etc.=20 > FreeBSD=A0 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Mon > Jun 21 18:55:16 MDT 2010=20 > downloaded and installed today. >=20 > Just so there is no confusion > none2@pci0:0:20:0:=A0 =A0 =A0 class=3D0x040000 > card=3D0x88010070 chip=3D0x00164444 rev=3D0x01 hdr=3D0x00 > =A0 =A0 vendor=A0 =A0=A0=A0=3D 'Conexant > Inc (Was: Globespan, ICompression Inc)' > =A0 =A0 device=A0 =A0=A0=A0=3D > 'iTVC16/CX23416 MPEG Codec' > =A0 =A0 class=A0 =A0 =A0 =3D multimedia > =A0 =A0 subclass=A0=A0=A0=3D video >=20 >=20 > Darren Johnston >=20 >=20 > _______________________________________________ > freebsd-multimedia@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" > From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 18:19:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BEFE1065670 for ; Tue, 22 Jun 2010 18:19:39 +0000 (UTC) (envelope-from andy@balholm.com) Received: from mail.my180.net (pop1-levy.go180.net [216.229.186.150]) by mx1.freebsd.org (Postfix) with ESMTP id 605128FC0A for ; Tue, 22 Jun 2010 18:19:39 +0000 (UTC) Received: (qmail 8454 invoked by uid 0); 22 Jun 2010 17:52:56 -0000 Received: from unknown (HELO ?192.168.0.2?) (andy@balholm.com@63.224.217.218) by mail.my180.net with ESMTPA; 22 Jun 2010 17:52:55 -0000 From: Andy Balholm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Jun 2010 10:52:54 -0700 Message-Id: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) Subject: X not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 18:19:39 -0000 I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1: When I type startx, the X server starts, and some xterm windows open, = but it will not respond to keyboard or mouse input. The mouse pointer = won't move, and the only keyboard input that does anything is = CTRL-ALT-F1 etc. to switch virtual terminals. If I install FreeBSD 7.1, which installs Xorg straight from the = installation CD, it works fine. Under version 8, I've tried installing = from ports and packages, and I get this problem. When I first had this problem, I was running it under VirtualBox, so I = thought maybe it was because VirtualBox's FreeBSD support is incomplete. = But now I've tried it on real PC hardware, and I have the same problem. Obviously some people must be running X under FreeBSD 8, so I must be = doing something wrong in my installation or configuration, but I can't = guess what it is. Andy Balholm (509) 276-2065 andy@balholm.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 18:40:02 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76BC41065674 for ; Tue, 22 Jun 2010 18:40:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 346B28FC1A for ; Tue, 22 Jun 2010 18:40:01 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o5MIe0Gf001094 for ; Tue, 22 Jun 2010 11:40:01 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 22 Jun 2010 11:40:00 -0700 (PDT) Date: Tue, 22 Jun 2010 11:39:59 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100622183957.GA79362@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: X11 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 18:40:02 -0000 guys, what do i need to rebuild to fix this problem to get X working on my server:: ethic# startx xauth: creating new authority file /root/.serverauth.1054 /libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required by "X" giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. ethic# -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 18:50:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7872F106566B for ; Tue, 22 Jun 2010 18:50:03 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 39CBA8FC18 for ; Tue, 22 Jun 2010 18:50:02 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o5MIo1P4074880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 22 Jun 2010 13:50:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o5MIo11r055706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 22 Jun 2010 13:50:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o5MIo099055705; Tue, 22 Jun 2010 13:50:00 -0500 (CDT) (envelope-from dan) Date: Tue, 22 Jun 2010 13:50:00 -0500 From: Dan Nelson To: Gary Kline Message-ID: <20100622185000.GA59719@dan.emsphone.com> References: <20100622183957.GA79362@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100622183957.GA79362@thought.org> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 22 Jun 2010 13:50:01 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: FreeBSD Mailing List Subject: Re: X11 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 18:50:03 -0000 In the last episode (Jun 22), Gary Kline said: > > guys, > what do i need to rebuild to fix this problem to get X working on my > server:: > > ethic# startx > xauth: creating new authority file /root/.serverauth.1054 > > /libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required by "X" giving up. > xinit: No such file or directory (errno 2): unable to connect to X server > xinit: No such process (errno 3): Server error. > ethic# Looks like you buid X with hal support, then deleted hal. Either install port/sysutils/hal, or run "make config" in ports/x11-servers/xorg-server, uncheck hal support, and reinstall. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 18:52:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83ACC106566C for ; Tue, 22 Jun 2010 18:52:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9A88FC0A for ; Tue, 22 Jun 2010 18:52:18 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so555862eye.3 for ; Tue, 22 Jun 2010 11:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=glvjlyR6cF7tFJZKG94vSpLm7Sc9h133mwJ8Ef3AF8s=; b=Ss/YqJynkWI2kNJ8obgoWjspPhw+vfCsRpfuWkiGOprq0pL2fhXRRhj+JLHaMujZ9l au/pe1/92LQAmo1kF0eEYqP0zIVpZ2xZXlL8SZbfo24XznhO5867uL1nkjyquyux9ijD ONKGY+4hk2O5fCgSBrH3YJxfXeVUo+FbcRNxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=MtTYNdTm1eGOUp8Ruh4ec6bEa7x3vjPdCrsYLohZQN7dx2wy2BDcQmb3i35bqIJm78 KQQzfee8McBy93bEKff3y2+5BatmH3Qz2VH7iBtHJ+1cUB5DzuQyZO6f+KyICm6rmNqf egGtWynjXxJo+zp2iSnpWFST1Lp9Z55YLdsAE= Received: by 10.213.2.81 with SMTP id 17mr1794156ebi.73.1277232737849; Tue, 22 Jun 2010 11:52:17 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id i40sm16225362vcr.8.2010.06.22.11.52.08 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 11:52:15 -0700 (PDT) Message-ID: <4C210657.7090207@gmail.com> Date: Tue, 22 Jun 2010 14:52:07 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Gary Kline References: <20100622183957.GA79362@thought.org> In-Reply-To: <20100622183957.GA79362@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: X11 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 18:52:19 -0000 On 6/22/10 2:39 PM, Gary Kline wrote: > > guys, > what do i need to rebuild to fix this problem to get X working on my > server:: > > > ethic# startx > xauth: creating new authority file /root/.serverauth.1054 > > /libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required by "X" > giving up. Have you tried rebuilding sysutils/hal? Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:00:21 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C27891065677 for ; Tue, 22 Jun 2010 19:00:21 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from mail.suszko.eu (suszko.eu [174.136.96.226]) by mx1.freebsd.org (Postfix) with ESMTP id AA83B8FC0A for ; Tue, 22 Jun 2010 19:00:21 +0000 (UTC) Received: from oxygen.suszko.eu (localhost [127.0.0.1]) by mail.suszko.eu (Postfix) with ESMTP id 82F793F474; Tue, 22 Jun 2010 18:52:29 +0000 (UTC) X-Virus-Scanned: amavisd-new using ClamaAV Received: from gda-arsenic (unknown [62.61.57.118]) by mail.suszko.eu (Postfix) with ESMTPSA id 836583F42B; Tue, 22 Jun 2010 18:52:28 +0000 (UTC) Date: Tue, 22 Jun 2010 21:00:15 +0200 From: Maciej Suszko To: FreeBSD Mailing List Message-ID: <20100622210015.467c4037@gda-arsenic> In-Reply-To: <20100622183957.GA79362@thought.org> References: <20100622183957.GA79362@thought.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/zO17qQnSea1TZEWbi_mm2Lp"; protocol="application/pgp-signature" Cc: Subject: Re: X11 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:00:21 -0000 --Sig_/zO17qQnSea1TZEWbi_mm2Lp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Gary Kline wrote: >=20 > guys, > what do i need to rebuild to fix this problem to get X working on my > server:: >=20 >=20 > ethic# startx > xauth: creating new authority file /root/.serverauth.1054 >=20 > /libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required > by "X" giving up. > xinit: No such file or directory (errno 2): unable to connect to X > server > xinit: No such process (errno 3): Server error. > ethic# =20 You can use ldd to find binaries/libraries linked against nonexistent libs: find /usr/local -type f | xargs ldd then check the output for "not found" string, find the file origin with pkg_info -W /path/to/file, finally rebuild the package. --=20 regards, Maciej Suszko. --Sig_/zO17qQnSea1TZEWbi_mm2Lp Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwhCEEACgkQCikUk0l7iGoPzwCfeK+klpJrmBwe14ehh3aOREzp EncAn1tN3hTonGZwil6qsMPdV4Ut1QOc =eymQ -----END PGP SIGNATURE----- --Sig_/zO17qQnSea1TZEWbi_mm2Lp-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:01:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B57631065670 for ; Tue, 22 Jun 2010 19:01:22 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.7]) by mx1.freebsd.org (Postfix) with ESMTP id 589838FC0A for ; Tue, 22 Jun 2010 19:01:19 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 2746 invoked from network); 22 Jun 2010 20:34:33 +0200 Received: from aazg153.neoplus.adsl.tpnet.pl (HELO [127.0.0.1]) (ipluta@[83.6.144.153]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 22 Jun 2010 20:34:33 +0200 Message-ID: <4C210233.6010405@wp.pl> Date: Tue, 22 Jun 2010 20:34:27 +0200 From: Ireneusz Pluta User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [0VMk] Subject: System hangs during heavy sequential write to mfi device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:01:22 -0000 Hello, I have the following LSI adapter: # mfiutil show adapter mfi0 Adapter: Product Name: MegaRAID SAS 84016E Serial Number: P709144809 Firmware: 7.0.1-0075 RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50 Battery Backup: present NVRAM: 32K Onboard Memory: 256M Minimum Stripe: 8K Maximum Stripe: 1M in my: # uname -a FreeBSD emu.xxx.xx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 with 48GB RAM, 2xXeon E The RAID controller has a volume of raid10, consisring of 16 2TB disks, 256K stripe, (more disk details, as well as full dmesg.boot are included at the end of this message): # mfiutil show volumes && mfiutil cache 0 mfi0 Volumes: Id Size Level Stripe State Cache Name mfid0 ( 15T) RAID-10 256K OPTIMAL Writes mfi0 volume mfid0 cache settings: I/O caching: writes write caching: write-back read ahead: none drive write cache: default The machine has not been put in production yet. It will be a dedicated PostgreSQL server. So far I am figuring out the best choice of raid and filesystem configuration. When I test sequential write performance by: # dd if=/dev/zero of=/path/to/mountpoint/bigfile bs=8k count=$bigcount, or an appropriate fio job, then system perioduically hangs, stops responding for a while, and then flushes series of garbled output to the system log like this: Jun 22 15:09:21 emu kernel: N NISAM NIM I II3SS0A,A N NE3MIMS0II3, N 0I ,ENSIMA NSI IEAMASI MI A IS3S A00 0, Jun 22 15:09:21 emu kernel: I Jun 22 15:09:21 emu kernel: A33 Jun 22 15:09:21 emu kernel: Jun 22 15:09:21 emu kernel: I Jun 22 15:09:21 emu kernel: Jun 22 15:09:21 emu kernel: < Jun 22 15:09:21 emu kernel: <<2>22< >00<, Jun 22 15:09:21 emu kernel: Jun 22 15:09:21 emu kernel: <>2>EI2S2A 0 Jun 22 15:09:21 emu kernel: 0> Jun 22 15:09:21 emu kernel: ,< SE2AI>S>A 0E 3IS0IA, S A0E Jun 22 15:09:21 emu kernel: I Jun 22 15:09:21 emu kernel: Jun 22 15:09:21 emu kernel: Jun 22 15:09:21 emu kernel: <<2>2S>A 300 Jun 22 15:09:21 emu kernel: , Jun 22 15:09:21 emu kernel: EISA 0 Jun 22 15:09:24 emu kernel: NMI ISA N3M0I, IESNISAAM 0I Jun 22 15:09:24 emu kernel: 3N Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: < Jun 22 15:09:24 emu kernel: <22<>0,EN I2IMI>SASA NM0> 2INI Jun 22 15:09:24 emu kernel: >MS I Jun 22 15:09:24 emu kernel: MMAE A II2S 0I, AI IE0SIS Jun 22 15:09:24 emu kernel: SS Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: < Jun 22 15:09:24 emu kernel: 2<<><>>A2 A200 , 22E>,0I ,SE EIASI SAA 00A2 Jun 22 15:09:24 emu kernel: 0 Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: Jun 22 15:09:24 emu kernel: <<22>>,0 Jun 22 15:09:24 emu kernel: E Jun 22 15:09:24 emu kernel: ISA 0 Sometimes, also the following messages can be seen around: Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 956 usec to 437 usec for pid 14834 (su) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 2013 usec to 921 usec for pid 14833 (bash) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 60 usec to 27 usec for pid 14831 (screen) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 1159 usec to 753 usec for pid 14830 (screen) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 5149 usec to 2792 usec for pid 12477 (bash) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 58987 usec to 37622 usec for pid 12477 (bash) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 26566 usec to 13431 usec for pid 12095 (bash) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 487938869 usec to 223259876 usec for pid 12095 (bash) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 1038 usec to 475 usec for pid 12094 (su) Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 2026 usec to 927 usec for pid 12076 (bash) (they do not seem to be caused just by the situation explained in the FAQ: http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#CALCRU-NEGATIVE-RUNTIME, as I already followed that tip and disabled the speed step option in BIOS) It also seems that with stripe sizes lower than 128k, like 64k, the problem does not appear. However I need to confirm that with some more extensive tests. Could anyone point me to a resolution of the problem? Thanks Irek. PS. more detailed raid config, and dmesg.boot follows: # mfiutil show config mfi0 Configuration: 8 arrays, 1 volumes, 0 spares array 0 of 2 drives: drive 16 ( 1863G) ONLINE SATA enclosure 1, slot 0 drive 24 ( 1863G) ONLINE SATA enclosure 2, slot 0 array 1 of 2 drives: drive 17 ( 1863G) ONLINE SATA enclosure 1, slot 1 drive 25 ( 1863G) ONLINE SATA enclosure 2, slot 1 array 2 of 2 drives: drive 18 ( 1863G) ONLINE SATA enclosure 1, slot 2 drive 26 ( 1863G) ONLINE SATA enclosure 2, slot 2 array 3 of 2 drives: drive 19 ( 1863G) ONLINE SATA enclosure 1, slot 3 drive 27 ( 1863G) ONLINE SATA enclosure 2, slot 3 array 4 of 2 drives: drive 20 ( 1863G) ONLINE SATA enclosure 1, slot 4 drive 28 ( 1863G) ONLINE SATA enclosure 2, slot 4 array 5 of 2 drives: drive 21 ( 1863G) ONLINE SATA enclosure 1, slot 5 drive 29 ( 1863G) ONLINE SATA enclosure 2, slot 5 array 6 of 2 drives: drive 22 ( 1863G) ONLINE SATA enclosure 1, slot 6 drive 30 ( 1863G) ONLINE SATA enclosure 2, slot 6 array 7 of 2 drives: drive 23 ( 1863G) ONLINE SATA enclosure 1, slot 7 drive 31 ( 1863G) ONLINE SATA enclosure 2, slot 7 volume mfid0 (15T) RAID-10 256K OPTIMAL spans: array 0 array 1 array 2 array 3 array 4 array 5 array 6 array 7 $ cat /var/run/dmesg.boot Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz (2266.65-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Stepping = 5 Features=0xbfebfbff Features2=0x9ce3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 51539607552 (49152 MB) avail memory = 49656578048 (47356 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 cpu4 (AP): APIC ID: 16 cpu5 (AP): APIC ID: 18 cpu6 (AP): APIC ID: 20 cpu7 (AP): APIC ID: 22 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 28 at device 1.0 on pci0 pci1: on pcib1 igb0: port 0x1020-0x103f mem 0xb1b20000-0xb1b3ffff,0xb1b44000-0xb1b47fff irq 40 at device 0.0 on pci1 igb0: Using MSIX interrupts with 3 vectors igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: Ethernet address: 00:15:17:d7:ca:50 igb1: port 0x1000-0x101f mem 0xb1b00000-0xb1b1ffff,0xb1b40000-0xb1b43fff irq 28 at device 0.1 on pci1 igb1: Using MSIX interrupts with 3 vectors igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: Ethernet address: 00:15:17:d7:ca:51 pcib2: irq 24 at device 3.0 on pci0 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 mfi0: mem 0xb1900000-0xb190ffff,0xb1a00000-0xb1a3ffff irq 35 at device 14.0 on pci3 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 6573 (330436349s/0x0020/info) - Shutdown command received from host mfi0: 6574 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0411/1000/1008/1000) mfi0: 6575 (boot + 0s/0x0020/info) - Firmware version 1.12.280-0826 mfi0: 6576 (boot + 45s/0x0008/info) - Battery temperature is normal mfi0: 6577 (boot + 45s/0x0008/info) - Battery Present mfi0: 6578 (boot + 45s/0x0020/info) - Board Revision ( mfi0: 6579 (boot + 93s/0x0002/info) - Inserted: PD 10(e0xff/s16) mfi0: 6580 (boot + 93s/0x0002/info) - Inserted: PD 10(e0xff/s16) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=91813c23a6a08faa,0000000000000000 mfi0: 6581 (boot + 93s/0x0002/info) - Inserted: PD 11(e0xff/s17) mfi0: 6582 (boot + 93s/0x0002/info) - Inserted: PD 11(e0xff/s17) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=91813c24a1a18ca8,0000000000000000 mfi0: 6583 (boot + 93s/0x0002/info) - Inserted: PD 12(e0xff/s18) mfi0: 6584 (boot + 93s/0x0002/info) - Inserted: PD 12(e0xff/s18) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=91813c24a29f8ca9,0000000000000000 mfi0: 6585 (boot + 93s/0x0002/info) - Inserted: PD 13(e0xff/s19) mfi0: 6586 (boot + 93s/0x0002/info) - Inserted: PD 13(e0xff/s19) Info: enclPd=ffff, scsiType=0, portMap=03, sasAddr=91813b24a5a591a3,0000000000000000 mfi0: 6587 (boot + 93s/0x0002/info) - Inserted: PD 14(e0xff/s20) mfi0: 6588 (boot + 93s/0x0002/info) - Inserted: PD 14(e0xff/s20) Info: enclPd=ffff, scsiType=0, portMap=04, sasAddr=918139229fa08fa4,0000000000000000 mfi0: 6589 (boot + 93s/0x0002/info) - Inserted: PD 15(e0xff/s21) mfi0: 6590 (boot + 93s/0x0002/info) - Inserted: PD 15(e0xff/s21) Info: enclPd=ffff, scsiType=0, portMap=05, sasAddr=91813c249fa68ca4,0000000000000000 mfi0: 6591 (boot + 93s/0x0002/info) - Inserted: PD 16(e0xff/s22) mfi0: 6592 (boot + 93s/0x0002/info) - Inserted: PD 16(e0xff/s22) Info: enclPd=ffff, scsiType=0, portMap=06, sasAddr=91813c1ea6a792a2,0000000000000000 mfi0: 6593 (boot + 93s/0x0002/info) - Inserted: PD 17(e0xff/s23) mfi0: 6594 (boot + 93s/0x0002/info) - Inserted: PD 17(e0xff/s23) Info: enclPd=ffff, scsiType=0, portMap=07, sasAddr=91813c23a6a092a6,0000000000000000 mfi0: 6595 (boot + 93s/0x0002/info) - Inserted: PD 18(e0xff/s24) mfi0: 6596 (boot + 93s/0x0002/info) - Inserted: PD 18(e0xff/s24) Info: enclPd=ffff, scsiType=0, portMap=08, sasAddr=91813b24a3a08da2,0000000000000000 mfi0: 6597 (boot + 93s/0x0002/info) - Inserted: PD 19(e0xff/s25) mfi0: 6598 (boot + 93s/0x0002/info) - Inserted: PD 19(e0xff/s25) Info: enclPd=ffff, scsiType=0, portMap=09, sasAddr=91813c23a6a08cab,0000000000000000 mfi0: 6599 (boot + 93s/0x0002/info) - Inserted: PD 1a(e0xff/s26) mfi0: 6600 (boot + 93s/0x0002/info) - Inserted: PD 1a(e0xff/s26) Info: enclPd=ffff, scsiType=0, portMap=0a, sasAddr=91813b24a5a094a8,0000000000000000 mfi0: 6601 (boot + 93s/0x0002/info) - Inserted: PD 1b(e0xff/s27) mfi0: 6602 (boot + 93s/0x0002/info) - Inserted: PD 1b(e0xff/s27) Info: enclPd=ffff, scsiType=0, portMap=0b, sasAddr=91813c21a0a88ca3,0000000000000000 mfi0: 6603 (boot + 93s/0x0002/info) - Inserted: PD 1c(e0xff/s28) mfi0: 6604 (boot + 93s/0x0002/info) - Inserted: PD 1c(e0xff/s28) Info: enclPd=ffff, scsiType=0, portMap=0c, sasAddr=91813c23a5a590a4,0000000000000000 mfi0: 6605 (boot + 93s/0x0002/info) - Inserted: PD 1d(e0xff/s29) mfi0: 6606 (boot + 93s/0x0002/info) - Inserted: PD 1d(e0xff/s29) Info: enclPd=ffff, scsiType=0, portMap=0d, sasAddr=91813b24a5a191a2,0000000000000000 mfi0: 6607 (boot + 93s/0x0002/info) - Inserted: PD 1e(e0xff/s30) mfi0: 6608 (boot + 93s/0x0002/info) - Inserted: PD 1e(e0xff/s30) Info: enclPd=ffff, scsiType=0, portMap=0e, sasAddr=91813c24a3a695a3,0000000000000000 mfi0: 6609 (boot + 93s/0x0002/info) - Inserted: PD 1f(e0xff/s31) mfi0: 6610 (boot + 93s/0x0002/info) - Inserted: PD 1f(e0xff/s31) Info: enclPd=ffff, scsiType=0, portMap=0f, sasAddr=91813a27a0a493a6,0000000000000000 mfi0: 6611 (330436454s/0x0020/info) - Time established as 06/21/10 11:54:14; (95 seconds since power on) mfi0: 6612 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0411/1000/1008/1000) mfi0: 6613 (boot + 0s/0x0020/info) - Firmware version 1.12.280-0826 mfi0: 6614 (boot + 48s/0x0008/info) - Battery temperature is normal mfi0: 6615 (boot + 48s/0x0008/info) - Battery Present mfi0: 6616 (boot + 48s/0x0020/info) - Board Revision ( mfi0: 6617 (boot + 95s/0x0002/info) - Inserted: PD 10(e0xff/s16) mfi0: 6618 (boot + 95s/0x0002/info) - Inserted: PD 10(e0xff/s16) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=91813c23a6a08faa,0000000000000000 mfi0: 6619 (boot + 95s/0x0002/info) - Inserted: PD 11(e0xff/s17) mfi0: 6620 (boot + 95s/0x0002/info) - Inserted: PD 11(e0xff/s17) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=91813c24a1a18ca8,0000000000000000 mfi0: 6621 (boot + 95s/0x0002/info) - Inserted: PD 12(e0xff/s18) mfi0: 6622 (boot + 95s/0x0002/info) - Inserted: PD 12(e0xff/s18) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=91813c24a29f8ca9,0000000000000000 mfi0: 6623 (boot + 95s/0x0002/info) - Inserted: PD 13(e0xff/s19) mfi0: 6624 (boot + 95s/0x0002/info) - Inserted: PD 13(e0xff/s19) Info: enclPd=ffff, scsiType=0, portMap=03, sasAddr=91813b24a5a591a3,0000000000000000 mfi0: 6625 (boot + 95s/0x0002/info) - Inserted: PD 14(e0xff/s20) mfi0: 6626 (boot + 95s/0x0002/info) - Inserted: PD 14(e0xff/s20) Info: enclPd=ffff, scsiType=0, portMap=04, sasAddr=918139229fa08fa4,0000000000000000 mfi0: 6627 (boot + 95s/0x0002/info) - Inserted: PD 15(e0xff/s21) mfi0: 6628 (boot + 95s/0x0002/info) - Inserted: PD 15(e0xff/s21) Info: enclPd=ffff, scsiType=0, portMap=05, sasAddr=91813c249fa68ca4,0000000000000000 mfi0: 6629 (boot + 95s/0x0002/info) - Inserted: PD 16(e0xff/s22) mfi0: 6630 (boot + 95s/0x0002/info) - Inserted: PD 16(e0xff/s22) Info: enclPd=ffff, scsiType=0, portMap=06, sasAddr=91813c1ea6a792a2,0000000000000000 mfi0: 6631 (boot + 95s/0x0002/info) - Inserted: PD 17(e0xff/s23) mfi0: 6632 (boot + 95s/0x0002/info) - Inserted: PD 17(e0xff/s23) Info: enclPd=ffff, scsiType=0, portMap=07, sasAddr=91813c23a6a092a6,0000000000000000 mfi0: 6633 (boot + 95s/0x0002/info) - Inserted: PD 18(e0xff/s24) mfi0: 6634 (boot + 95s/0x0002/info) - Inserted: PD 18(e0xff/s24) Info: enclPd=ffff, scsiType=0, portMap=08, sasAddr=91813b24a3a08da2,0000000000000000 mfi0: 6635 (boot + 95s/0x0002/info) - Inserted: PD 19(e0xff/s25) mfi0: 6636 (boot + 95s/0x0002/info) - Inserted: PD 19(e0xff/s25) Info: enclPd=ffff, scsiType=0, portMap=09, sasAddr=91813c23a6a08cab,0000000000000000 mfi0: 6637 (boot + 95s/0x0002/info) - Inserted: PD 1a(e0xff/s26) mfi0: 6638 (boot + 95s/0x0002/info) - Inserted: PD 1a(e0xff/s26) Info: enclPd=ffff, scsiType=0, portMap=0a, sasAddr=91813b24a5a094a8,0000000000000000 mfi0: 6639 (boot + 95s/0x0002/info) - Inserted: PD 1b(e0xff/s27) mfi0: 6640 (boot + 95s/0x0002/info) - Inserted: PD 1b(e0xff/s27) Info: enclPd=ffff, scsiType=0, portMap=0b, sasAddr=91813c21a0a88ca3,0000000000000000 mfi0: 6641 (boot + 95s/0x0002/info) - Inserted: PD 1c(e0xff/s28) mfi0: 6642 (boot + 95s/0x0002/info) - Inserted: PD 1c(e0xff/s28) Info: enclPd=ffff, scsiType=0, portMap=0c, sasAddr=91813c23a5a590a4,0000000000000000 mfi0: 6643 (boot + 95s/0x0002/info) - Inserted: PD 1d(e0xff/s29) mfi0: 6644 (boot + 95s/0x0002/info) - Inserted: PD 1d(e0xff/s29) Info: enclPd=ffff, scsiType=0, portMap=0d, sasAddr=91813b24a5a191a2,0000000000000000 mfi0: 6645 (boot + 95s/0x0002/info) - Inserted: PD 1e(e0xff/s30) mfi0: 6646 (boot + 95s/0x0002/info) - Inserted: PD 1e(e0xff/s30) Info: enclPd=ffff, scsiType=0, portMap=0e, sasAddr=91813c24a3a695a3,0000000000000000 mfi0: 6647 (boot + 95s/0x0002/info) - Inserted: PD 1f(e0xff/s31) mfi0: 6648 (boot + 95s/0x0002/info) - Inserted: PD 1f(e0xff/s31) Info: enclPd=ffff, scsiType=0, portMap=0f, sasAddr=91813a27a0a493a6,0000000000000000 mfi0: 6649 (330436590s/0x0020/info) - Time established as 06/21/10 11:56:30; (98 seconds since power on) mfi0: 6650 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0411/1000/1008/1000) mfi0: 6651 (boot + 0s/0x0020/info) - Firmware version 1.12.280-0826 mfi0: 6652 (boot + 46s/0x0008/info) - Battery temperature is normal mfi0: 6653 (boot + 46s/0x0008/info) - Battery Present mfi0: 6654 (boot + 47s/0x0020/info) - Board Revision ( mfi0: 6655 (boot + 94s/0x0002/info) - Inserted: PD 10(e0xff/s16) mfi0: 6656 (boot + 94s/0x0002/info) - Inserted: PD 10(e0xff/s16) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=91813c23a6a08faa,0000000000000000 mfi0: 6657 (boot + 94s/0x0002/info) - Inserted: PD 11(e0xff/s17) mfi0: 6658 (boot + 94s/0x0002/info) - Inserted: PD 11(e0xff/s17) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=91813c24a1a18ca8,0000000000000000 mfi0: 6659 (boot + 94s/0x0002/info) - Inserted: PD 12(e0xff/s18) mfi0: 6660 (boot + 94s/0x0002/info) - Inserted: PD 12(e0xff/s18) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=91813c24a29f8ca9,0000000000000000 mfi0: 6661 (boot + 94s/0x0002/info) - Inserted: PD 13(e0xff/s19) mfi0: 6662 (boot + 94s/0x0002/info) - Inserted: PD 13(e0xff/s19) Info: enclPd=ffff, scsiType=0, portMap=03, sasAddr=91813b24a5a591a3,0000000000000000 mfi0: 6663 (boot + 94s/0x0002/info) - Inserted: PD 14(e0xff/s20) mfi0: 6664 (boot + 94s/0x0002/info) - Inserted: PD 14(e0xff/s20) Info: enclPd=ffff, scsiType=0, portMap=04, sasAddr=918139229fa08fa4,0000000000000000 mfi0: 6665 (boot + 94s/0x0002/info) - Inserted: PD 15(e0xff/s21) mfi0: 6666 (boot + 94s/0x0002/info) - Inserted: PD 15(e0xff/s21) Info: enclPd=ffff, scsiType=0, portMap=05, sasAddr=91813c249fa68ca4,0000000000000000 mfi0: 6667 (boot + 94s/0x0002/info) - Inserted: PD 16(e0xff/s22) mfi0: 6668 (boot + 94s/0x0002/info) - Inserted: PD 16(e0xff/s22) Info: enclPd=ffff, scsiType=0, portMap=06, sasAddr=91813c1ea6a792a2,0000000000000000 mfi0: 6669 (boot + 94s/0x0002/info) - Inserted: PD 17(e0xff/s23) mfi0: 6670 (boot + 94s/0x0002/info) - Inserted: PD 17(e0xff/s23) Info: enclPd=ffff, scsiType=0, portMap=07, sasAddr=91813c23a6a092a6,0000000000000000 mfi0: 6671 (boot + 94s/0x0002/info) - Inserted: PD 18(e0xff/s24) mfi0: 6672 (boot + 94s/0x0002/info) - Inserted: PD 18(e0xff/s24) Info: enclPd=ffff, scsiType=0, portMap=08, sasAddr=91813b24a3a08da2,0000000000000000 mfi0: 6673 (boot + 94s/0x0002/info) - Inserted: PD 19(e0xff/s25) mfi0: 6674 (boot + 94s/0x0002/info) - Inserted: PD 19(e0xff/s25) Info: enclPd=ffff, scsiType=0, portMap=09, sasAddr=91813c23a6a08cab,0000000000000000 mfi0: 6675 (boot + 94s/0x0002/info) - Inserted: PD 1a(e0xff/s26) mfi0: 6676 (boot + 94s/0x0002/info) - Inserted: PD 1a(e0xff/s26) Info: enclPd=ffff, scsiType=0, portMap=0a, sasAddr=91813b24a5a094a8,0000000000000000 mfi0: 6677 (boot + 94s/0x0002/info) - Inserted: PD 1b(e0xff/s27) mfi0: 6678 (boot + 94s/0x0002/info) - Inserted: PD 1b(e0xff/s27) Info: enclPd=ffff, scsiType=0, portMap=0b, sasAddr=91813c21a0a88ca3,0000000000000000 mfi0: 6679 (boot + 94s/0x0002/info) - Inserted: PD 1c(e0xff/s28) mfi0: 6680 (boot + 94s/0x0002/info) - Inserted: PD 1c(e0xff/s28) Info: enclPd=ffff, scsiType=0, portMap=0c, sasAddr=91813c23a5a590a4,0000000000000000 mfi0: 6681 (boot + 94s/0x0002/info) - Inserted: PD 1d(e0xff/s29) mfi0: 6682 (boot + 94s/0x0002/info) - Inserted: PD 1d(e0xff/s29) Info: enclPd=ffff, scsiType=0, portMap=0d, sasAddr=91813b24a5a191a2,0000000000000000 mfi0: 6683 (boot + 94s/0x0002/info) - Inserted: PD 1e(e0xff/s30) mfi0: 6684 (boot + 94s/0x0002/info) - Inserted: PD 1e(e0xff/s30) Info: enclPd=ffff, scsiType=0, portMap=0e, sasAddr=91813c24a3a695a3,0000000000000000 mfi0: 6685 (boot + 94s/0x0002/info) - Inserted: PD 1f(e0xff/s31) mfi0: 6686 (boot + 94s/0x0002/info) - Inserted: PD 1f(e0xff/s31) Info: enclPd=ffff, scsiType=0, portMap=0f, sasAddr=91813a27a0a493a6,0000000000000000 mfi0: 6687 (330437870s/0x0020/info) - Time established as 06/21/10 12:17:50; (97 seconds since power on) mfi0: 6688 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0411/1000/1008/1000) mfi0: 6689 (boot + 0s/0x0020/info) - Firmware version 1.12.280-0826 mfi0: 6690 (boot + 51s/0x0008/info) - Battery temperature is normal mfi0: 6691 (boot + 51s/0x0008/info) - Battery Present mfi0: 6692 (boot + 51s/0x0020/info) - Board Revision ( mfi0: 6693 (boot + 98s/0x0002/info) - Inserted: PD 10(e0xff/s16) mfi0: 6694 (boot + 98s/0x0002/info) - Inserted: PD 10(e0xff/s16) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=91813c23a6a08faa,0000000000000000 mfi0: 6695 (boot + 98s/0x0002/info) - Inserted: PD 11(e0xff/s17) mfi0: 6696 (boot + 98s/0x0002/info) - Inserted: PD 11(e0xff/s17) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=91813c24a1a18ca8,0000000000000000 mfi0: 6697 (boot + 98s/0x0002/info) - Inserted: PD 12(e0xff/s18) mfi0: 6698 (boot + 98s/0x0002/info) - Inserted: PD 12(e0xff/s18) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=91813c24a29f8ca9,0000000000000000 mfi0: 6699 (boot + 98s/0x0002/info) - Inserted: PD 13(e0xff/s19) mfi0: 6700 (boot + 98s/0x0002/info) - Inserted: PD 13(e0xff/s19) Info: enclPd=ffff, scsiType=0, portMap=03, sasAddr=91813b24a5a591a3,0000000000000000 mfi0: 6701 (boot + 98s/0x0002/info) - Inserted: PD 14(e0xff/s20) mfi0: 6702 (boot + 98s/0x0002/info) - Inserted: PD 14(e0xff/s20) Info: enclPd=ffff, scsiType=0, portMap=04, sasAddr=918139229fa08fa4,0000000000000000 mfi0: 6703 (boot + 98s/0x0002/info) - Inserted: PD 15(e0xff/s21) mfi0: 6704 (boot + 98s/0x0002/info) - Inserted: PD 15(e0xff/s21) Info: enclPd=ffff, scsiType=0, portMap=05, sasAddr=91813c249fa68ca4,0000000000000000 mfi0: 6705 (boot + 98s/0x0002/info) - Inserted: PD 16(e0xff/s22) mfi0: 6706 (boot + 98s/0x0002/info) - Inserted: PD 16(e0xff/s22) Info: enclPd=ffff, scsiType=0, portMap=06, sasAddr=91813c1ea6a792a2,0000000000000000 mfi0: 6707 (boot + 98s/0x0002/info) - Inserted: PD 17(e0xff/s23) mfi0: 6708 (boot + 98s/0x0002/info) - Inserted: PD 17(e0xff/s23) Info: enclPd=ffff, scsiType=0, portMap=07, sasAddr=91813c23a6a092a6,0000000000000000 mfi0: 6709 (boot + 98s/0x0002/info) - Inserted: PD 18(e0xff/s24) mfi0: 6710 (boot + 98s/0x0002/info) - Inserted: PD 18(e0xff/s24) Info: enclPd=ffff, scsiType=0, portMap=08, sasAddr=91813b24a3a08da2,0000000000000000 mfi0: 6711 (boot + 98s/0x0002/info) - Inserted: PD 19(e0xff/s25) mfi0: 6712 (boot + 98s/0x0002/info) - Inserted: PD 19(e0xff/s25) Info: enclPd=ffff, scsiType=0, portMap=09, sasAddr=91813c23a6a08cab,0000000000000000 mfi0: 6713 (boot + 98s/0x0002/info) - Inserted: PD 1a(e0xff/s26) mfi0: 6714 (boot + 98s/0x0002/info) - Inserted: PD 1a(e0xff/s26) Info: enclPd=ffff, scsiType=0, portMap=0a, sasAddr=91813b24a5a094a8,0000000000000000 mfi0: 6715 (boot + 98s/0x0002/info) - Inserted: PD 1b(e0xff/s27) mfi0: 6716 (boot + 98s/0x0002/info) - Inserted: PD 1b(e0xff/s27) Info: enclPd=ffff, scsiType=0, portMap=0b, sasAddr=91813c21a0a88ca3,0000000000000000 mfi0: 6717 (boot + 99s/0x0002/info) - Inserted: PD 1c(e0xff/s28) mfi0: 6718 (boot + 99s/0x0002/info) - Inserted: PD 1c(e0xff/s28) Info: enclPd=ffff, scsiType=0, portMap=0c, sasAddr=91813c23a5a590a4,0000000000000000 mfi0: 6719 (boot + 99s/0x0002/info) - Inserted: PD 1d(e0xff/s29) mfi0: 6720 (boot + 99s/0x0002/info) - Inserted: PD 1d(e0xff/s29) Info: enclPd=ffff, scsiType=0, portMap=0d, sasAddr=91813b24a5a191a2,0000000000000000 mfi0: 6721 (boot + 99s/0x0002/info) - Inserted: PD 1e(e0xff/s30) mfi0: 6722 (boot + 99s/0x0002/info) - Inserted: PD 1e(e0xff/s30) Info: enclPd=ffff, scsiType=0, portMap=0e, sasAddr=91813c24a3a695a3,0000000000000000 mfi0: 6723 (boot + 99s/0x0002/info) - Inserted: PD 1f(e0xff/s31) mfi0: 6724 (boot + 99s/0x0002/info) - Inserted: PD 1f(e0xff/s31) Info: enclPd=ffff, scsiType=0, portMap=0f, sasAddr=91813a27a0a493a6,0000000000000000 mfi0: [ITHREAD] pcib4: at device 0.2 on pci2 pci4: on pcib4 pcib5: irq 26 at device 5.0 on pci0 pci5: on pcib5 pcib6: irq 30 at device 7.0 on pci0 pci6: on pcib6 pcib7: irq 32 at device 9.0 on pci0 pci7: on pcib7 pci0: at device 16.0 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 17.0 (no driver attached) pci0: at device 17.1 (no driver attached) pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) pci0: at device 22.0 (no driver attached) pci0: at device 22.1 (no driver attached) pci0: at device 22.2 (no driver attached) pci0: at device 22.3 (no driver attached) pci0: at device 22.4 (no driver attached) pci0: at device 22.5 (no driver attached) pci0: at device 22.6 (no driver attached) pci0: at device 22.7 (no driver attached) uhci0: port 0x20c0-0x20df irq 19 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x1f30 usbus0: on uhci0 uhci1: port 0x20a0-0x20bf irq 19 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x0f30 usbus1: on uhci1 uhci2: port 0x2080-0x209f irq 19 at device 26.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x0f30 usbus2: on uhci2 ehci0: mem 0xb1c21000-0xb1c213ff irq 19 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 pcib8: irq 16 at device 28.0 on pci0 pci8: on pcib8 pcib9: irq 16 at device 28.4 on pci0 pci9: on pcib9 vgapci0: mem 0xb0000000-0xb0ffffff,0xb1800000-0xb1803fff,0xb1000000-0xb17fffff irq 16 at device 0.0 on pci9 uhci3: port 0x2060-0x207f irq 16 at device 29.0 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x0f30 usbus4: on uhci3 uhci4: port 0x2040-0x205f irq 16 at device 29.1 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x0f30 usbus5: on uhci4 uhci5: port 0x2020-0x203f irq 16 at device 29.2 on pci0 uhci5: [ITHREAD] uhci5: LegSup = 0x0f30 usbus6: on uhci5 ehci1: mem 0xb1c20000-0xb1c203ff irq 16 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib10: at device 30.0 on pci0 pci10: on pcib10 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2110-0x211f,0x2100-0x210f irq 18 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0x2128-0x212f,0x2144-0x2147,0x2120-0x2127,0x2140-0x2143,0x20f0-0x20ff,0x20e0-0x20ef irq 21 at device 31.5 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] acpi_button0: on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] cpu0: on acpi0 ACPI Warning: \\_PR_.CPU0._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf0: invalid top level _PSS package device_attach: acpi_perf0 attach returned 6 acpi_perf0: invalid top level _PSS package device_attach: acpi_perf0 attach returned 6 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 ACPI Warning: \\_PR_.CPU1._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf1: invalid top level _PSS package device_attach: acpi_perf1 attach returned 6 acpi_perf1: invalid top level _PSS package device_attach: acpi_perf1 attach returned 6 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 ACPI Warning: \\_PR_.CPU2._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf2: invalid top level _PSS package device_attach: acpi_perf2 attach returned 6 acpi_perf2: invalid top level _PSS package device_attach: acpi_perf2 attach returned 6 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est2 attach returned 6 p4tcc2: on cpu2 cpu3: on acpi0 ACPI Warning: \\_PR_.CPU3._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf3: invalid top level _PSS package device_attach: acpi_perf3 attach returned 6 acpi_perf3: invalid top level _PSS package device_attach: acpi_perf3 attach returned 6 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est3 attach returned 6 p4tcc3: on cpu3 cpu4: on acpi0 ACPI Warning: \\_PR_.CPU4._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf4: invalid top level _PSS package device_attach: acpi_perf4 attach returned 6 acpi_perf4: invalid top level _PSS package device_attach: acpi_perf4 attach returned 6 est4: on cpu4 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est4 attach returned 6 p4tcc4: on cpu4 cpu5: on acpi0 ACPI Warning: \\_PR_.CPU5._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf5: invalid top level _PSS package device_attach: acpi_perf5 attach returned 6 acpi_perf5: invalid top level _PSS package device_attach: acpi_perf5 attach returned 6 est5: on cpu5 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est5 attach returned 6 p4tcc5: on cpu5 cpu6: on acpi0 ACPI Warning: \\_PR_.CPU6._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf6: invalid top level _PSS package device_attach: acpi_perf6 attach returned 6 acpi_perf6: invalid top level _PSS package device_attach: acpi_perf6 attach returned 6 est6: on cpu6 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est6 attach returned 6 p4tcc6: on cpu6 cpu7: on acpi0 ACPI Warning: \\_PR_.CPU7._PSS: Return type mismatch - found Integer, expected Package 20090521 nspredef-1051 acpi_perf7: invalid top level _PSS package device_attach: acpi_perf7 attach returned 6 acpi_perf7: invalid top level _PSS package device_attach: acpi_perf7 attach returned 6 est7: on cpu7 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 11 device_attach: est7 attach returned 6 p4tcc7: on cpu7 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd: unable to get the current command byte value. atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to get the current command byte value. ppc0: cannot reserve I/O port range Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 acd0: DVDR at ata0-master SATA150 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 ad1: 1907729MB at ata0-slave SATA300 ad2: 1907729MB at ata1-master SATA300 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered mfi0: 6725 (330438117s/0x0020/info) - Time established as 06/21/10 12:21:57; (101 seconds since power on) mfid0: on mfi0 mfid0: 15251152MB (31234359296 sectors) RAID volume '' is optimal lapic4: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! lapic16: Forcing LINT1 to edge trigger SMP: AP CPU #4 Launched! lapic6: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! lapic20: Forcing LINT1 to edge trigger SMP: AP CPU #6 Launched! lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic18: Forcing LINT1 to edge trigger SMP: AP CPU #5 Launched! lapic22: Forcing LINT1 to edge trigger SMP: AP CPU #7 Launched! Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Root mount waiting for: usbus7 uhub_reattach_port:370: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:456: device problem (USB_ERR_TIMEOUT), disabling port 1 Trying to mount root from ufs:/dev/ad1s1a WARNING: reducing size to maximum of 67108864 blocks per swap unit ugen2.2: at usbus2 ukbd0: on usbus2 kbd2 at ukbd0 ums0: on usbus2 ums0: 3 buttons and [Z] coordinates ID=0 ugen4.2: at usbus4 ukbd1: on usbus4 kbd3 at ukbd1 ums1: on usbus4 ums1: 5 buttons and [XYZ] coordinates ID=1 igb1: link state changed to UP From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:36:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BB7106566C for ; Tue, 22 Jun 2010 19:36:34 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id AD9938FC0A for ; Tue, 22 Jun 2010 19:36:33 +0000 (UTC) Received: from beta.local (gateway01.m3-connect.de [88.79.237.11]) by mail.locolomo.org (Postfix) with ESMTPSA id 9D3D21C0871 for ; Tue, 22 Jun 2010 21:36:31 +0200 (CEST) Message-ID: <4C2110BD.5060109@locolomo.org> Date: Tue, 22 Jun 2010 21:36:29 +0200 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <29017079-55A2-406B-891B-6EEB239EF730@mac.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: iptables equivaelnt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:36:34 -0000 On 21/06/10 20.06, pete wright wrote: >> On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: >>> I'm particuclary trying to implement some type of rate control as we are getting hammered by spam. > > I'd humbly suggest pf + spamd if you are concerned specifically about > stopping spam, both are supported by freebsd and i have had great > success using these tools to combat spam. spamd does not stop spam. It is intented to increase the cost of sending spam at little cost to your server by keeping the spammer busy trying. If you're concerned with blocking spam from a limited set of known sources, then you can create block lists in your firewall. If you know that you will not receive legitimate mails from certain countries, you can block their assigned IP ranges. If you're trying to block large number of unknown sources, then I suggest subscribing to spamhaus' lists and configure your server to adhere strictly to the protocols. You may wish to subscribe to lists of dynamic ip-ranges. These are often considered spam sources hosting a large number of bot-nets However, you may also block mail from legitimate servers run by people who like to run their own home server - such as FreeBSD users. There is only limited benefit of some kind of rate control and I believe that such controls must be implemented in your mail server. Implementing rate control mail also delay legitimate mail, and depending on how you do it, spammers may even cause a DOS against your server. Anyway, to avoid spammers eating up server resources, check your server config: 1. ensure that the spam decision is reached as fast as possible 2. consider early whitelisting of the most common legitimate mail sources 3. DNS block lists should be last as they add additional delay, possibly you can configure a local dns cache to shorten delay BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:40:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73E44106567A for ; Tue, 22 Jun 2010 19:40:49 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 208EC8FC12 for ; Tue, 22 Jun 2010 19:40:48 +0000 (UTC) Received: by vws14 with SMTP id 14so377855vws.13 for ; Tue, 22 Jun 2010 12:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=V4xt3PtQTadI5LWRQA97EKp4agXgI1Qr/z2BEuLPfoI=; b=oElRBxyAp19CbInFLNtV9parYG1r2VxrNNiRDN1YobZ0XZUxX30jwLAxUhFp92F7Ub OT71FTEv2sH4z7OCAoH+csHHMSC2MFZblQy/X0qhZHOMqORLShg4Bca6mTs10BP9PjG1 7l1JBXXC5BHxeEUUgE5yC6jxbeKab4e7290v8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=x3w/3XOuWwzwlER/fLnqiVKaNZcok4Evv6TtXP4rGADB+cvKHkh5NKcyOUYfw44WQI LqqylqSFkUcNA5ljU/YHZGBy/G4h/0wNT1x+QXqNK32gL9BmtByFME+jkUhh3U0QCCY9 fY+Eib1wfZNUWcNjZEAa21p075Ct1LvVk4T8U= Received: by 10.220.124.196 with SMTP id v4mr3454642vcr.175.1277233512711; Tue, 22 Jun 2010 12:05:12 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id w28sm16223130vcr.35.2010.06.22.12.05.10 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 12:05:11 -0700 (PDT) Message-ID: <4C210965.9040909@gmail.com> Date: Tue, 22 Jun 2010 15:05:09 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Andy Balholm References: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> In-Reply-To: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: X not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:40:49 -0000 On 6/22/10 1:52 PM, Andy Balholm wrote: > I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1: > > When I type startx, the X server starts, and some xterm windows open, but it will not respond to keyboard or mouse input. The mouse pointer won't move, and the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch virtual terminals. > > If I install FreeBSD 7.1, which installs Xorg straight from the installation CD, it works fine. Under version 8, I've tried installing from ports and packages, and I get this problem. > > When I first had this problem, I was running it under VirtualBox, so I thought maybe it was because VirtualBox's FreeBSD support is incomplete. But now I've tried it on real PC hardware, and I have the same problem. > > Obviously some people must be running X under FreeBSD 8, so I must be doing something wrong in my installation or configuration, but I can't guess what it is. > Try adding the following to xorg.conf: Section "ServerFlags" option "AllowEmptyInput" "off" option "AutoAddDevices" "off" EndSection Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:46:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782E0106566C for ; Tue, 22 Jun 2010 19:46:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 3520F8FC0A for ; Tue, 22 Jun 2010 19:46:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5MJkZ6u006590; Tue, 22 Jun 2010 13:46:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5MJkZqi006587; Tue, 22 Jun 2010 13:46:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Jun 2010 13:46:35 -0600 (MDT) From: Warren Block To: Andy Balholm In-Reply-To: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> Message-ID: References: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Tue, 22 Jun 2010 13:46:35 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: X not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:46:39 -0000 On Tue, 22 Jun 2010, Andy Balholm wrote: > I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1: > > When I type startx, the X server starts, and some xterm windows open, > but it will not respond to keyboard or mouse input. The mouse pointer > won't move, and the only keyboard input that does anything is > CTRL-ALT-F1 etc. to switch virtual terminals. Enable dbus and hal in rc.conf as shown here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html If you want to use X without hal for input device detection, add Option "AutoAddDevices" "Off" to the ServerLayout section. Do not set the AllowEmptyInput option, it is unnecessary and problematic. Or you can configure the xorg-server port without hal. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 19:57:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C0F1065677 for ; Tue, 22 Jun 2010 19:57:17 +0000 (UTC) (envelope-from andy@balholm.com) Received: from mail.my180.net (pop1-levy.go180.net [216.229.186.150]) by mx1.freebsd.org (Postfix) with ESMTP id A358C8FC1C for ; Tue, 22 Jun 2010 19:57:17 +0000 (UTC) Received: (qmail 4857 invoked by uid 0); 22 Jun 2010 19:57:17 -0000 Received: from unknown (HELO ?192.168.0.2?) (andy@balholm.com@63.224.217.218) by mail.my180.net with ESMTPA; 22 Jun 2010 19:57:17 -0000 Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Andy Balholm In-Reply-To: Date: Tue, 22 Jun 2010 12:57:15 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> To: Warren Block X-Mailer: Apple Mail (2.1078) Cc: freebsd-questions@freebsd.org Subject: Re: X not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 19:57:18 -0000 Thanks. That fixed it. I guess I should have read the handbook more. Andy Balholm (509) 276-2065 andy@balholm.com On Jun 22, 2010, at 12:46 PM, Warren Block wrote: > On Tue, 22 Jun 2010, Andy Balholm wrote: >=20 >> I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 = RC1: >>=20 >> When I type startx, the X server starts, and some xterm windows open, = but it will not respond to keyboard or mouse input. The mouse pointer = won't move, and the only keyboard input that does anything is = CTRL-ALT-F1 etc. to switch virtual terminals. >=20 > Enable dbus and hal in rc.conf as shown here: > = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html >=20 > If you want to use X without hal for input device detection, add > Option "AutoAddDevices" "Off" to the ServerLayout section. Do not set = the AllowEmptyInput option, it is unnecessary and problematic. Or you = can configure the xorg-server port without hal. >=20 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 02:31:53 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD236106566B for ; Wed, 23 Jun 2010 02:31:53 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0328FC18 for ; Wed, 23 Jun 2010 02:31:52 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuAVAHYPIUzKRa1mPGdsb2JhbAAHh2iXQgEBAQE1J8NbhRsEg1U X-IronPort-AV: E=Sophos;i="4.53,464,1272816000"; d="scan'208";a="4808684" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp2.comclark.com with ESMTP; 23 Jun 2010 10:31:50 +0800 Message-ID: <4C217217.5060104@comclark.com> Date: Wed, 23 Jun 2010 10:31:51 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh & ip address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 02:31:53 -0000 I looking to take the last group number in a ip address and bump the number by 1. BY the way is there some name for each group of numbers in the ip address? Something like. org_ip="10.0.10.2" short_ip=need command to strip off the 2 so short_ip contains 10.0.10. and ip_suffix= ends up holding the 2, then add 1 to the ip_suffix. ip_suffix=$(( ${ip_suffix + 1 )) org_ip="${short_ip}${ip_suffix}" Thinking there must be some common way of manipulating ip addresses that I just don't know about. Thanks for your help. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 02:36:52 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796A4106564A for ; Wed, 23 Jun 2010 02:36:52 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 21E9F8FC0A for ; Wed, 23 Jun 2010 02:36:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id A41163A388E; Wed, 23 Jun 2010 09:36:49 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1277260608; x= 1279075008; bh=WVmRWF/2SkUD9cxLL+/d8HbhCQRRkqEYdDx5GOFYxsA=; b=V pW5qN5PWIkSnWm6NFnFZpVLQ6ZeKt0JHaB/mc1rRyb6lHFciDwryhhsy1/PJ2UtD ZBDLe8N2tFCYIOBx5RouLYwJehTLKvD3YxDTjiJiARSG6yJCTZyKnBRoLv1iIA8R o6WjK4M/EZ9tTaf86klBczsmhJ3U2MLApKt5h4WSS0= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aOKheN3xEUEA; Wed, 23 Jun 2010 09:36:48 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id BD6FB3A3885; Wed, 23 Jun 2010 09:36:48 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o5N2akXd045365; Wed, 23 Jun 2010 09:36:46 +0700 (ICT) (envelope-from on) Date: Wed, 23 Jun 2010 09:36:46 +0700 (ICT) Message-Id: <201006230236.o5N2akXd045365@banyan.cs.ait.ac.th> From: Olivier Nicole To: aiza21@comclark.com In-reply-to: <4C217217.5060104@comclark.com> (message from Aiza on Wed, 23 Jun 2010 10:31:51 +0800) References: <4C217217.5060104@comclark.com> Cc: questions@freebsd.org Subject: Re: .sh & ip address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 02:36:52 -0000 Hi, > I looking to take the last group number in a ip address I would do that with cut(1), setting the dot as the feild delimiter. bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 02:47:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D9DA106566C for ; Wed, 23 Jun 2010 02:47:42 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id E34878FC18 for ; Wed, 23 Jun 2010 02:47:41 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.3) with ESMTP id o5N2lftG080220 for ; Tue, 22 Jun 2010 19:47:41 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id o5N2lenX089982; Tue, 22 Jun 2010 19:47:40 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id o5N2leQo089981; Tue, 22 Jun 2010 19:47:40 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Tue, 22 Jun 2010 19:47:40 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20100623024740.GA89047@marvin.optimis.net> References: <4C217217.5060104@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C217217.5060104@comclark.com> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: .sh & ip address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 02:47:42 -0000 On Wed, Jun 23, 2010 at 10:31:51AM +0800, Aiza wrote: > I looking to take the last group number in a ip address and bump the > number by 1. BY the way is there some name for each group of numbers in > the ip address? Octet. > Something like. > > org_ip="10.0.10.2" > short_ip=need command to strip off the 2 so short_ip contains 10.0.10. > and ip_suffix= ends up holding the 2, then add 1 to the ip_suffix. > ip_suffix=$(( ${ip_suffix + 1 )) > org_ip="${short_ip}${ip_suffix}" > > Thinking there must be some common way of manipulating ip addresses that > I just don't know about. man sh | less -p"Parameter Expansion" org_ip=10.0.10.2 ${org_ip##*.} # yields 2 ${org_ip%.*} # yields 10.0.10 Do read the manpage. -- George From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 02:52:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17390106566B for ; Wed, 23 Jun 2010 02:52:52 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id E3DEE8FC12 for ; Wed, 23 Jun 2010 02:52:51 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id C67821CCA5 for ; Tue, 22 Jun 2010 16:52:50 -1000 (HST) Message-ID: <4C217702.8080705@hdk5.net> Date: Tue, 22 Jun 2010 16:52:50 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Copy a FreeBSD 8* install to larger HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 02:52:52 -0000 Aloha, I am looking for the easiest way to copy a fresh working FreeBSD 8* HD install (Manolis version) to a bigger HD that I found. I plan to have the new HD in the same box for doing this copy. Can I use sysinstall to make the new default slices on the big HD and then move the OS and directories/files to them? What command (utility) do I use? dd or cp or some other to copy the files. Thanks.... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 03:12:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C46DB106564A for ; Wed, 23 Jun 2010 03:12:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 678A08FC16 for ; Wed, 23 Jun 2010 03:12:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5N3CUBT007959; Tue, 22 Jun 2010 21:12:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5N3CUX4007956; Tue, 22 Jun 2010 21:12:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Jun 2010 21:12:30 -0600 (MDT) From: Warren Block To: Al Plant In-Reply-To: <4C217702.8080705@hdk5.net> Message-ID: References: <4C217702.8080705@hdk5.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Tue, 22 Jun 2010 21:12:30 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" Subject: Re: Copy a FreeBSD 8* install to larger HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 03:12:31 -0000 On Tue, 22 Jun 2010, Al Plant wrote: > I am looking for the easiest way to copy a fresh working FreeBSD 8* HD > install (Manolis version) to a bigger HD that I found. > > I plan to have the new HD in the same box for doing this copy. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 03:13:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFE091065672 for ; Wed, 23 Jun 2010 03:13:35 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id BD6578FC1B for ; Wed, 23 Jun 2010 03:13:35 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id C3AA9B898 for ; Tue, 22 Jun 2010 23:11:53 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YDCjRdZi1ih1 for ; Tue, 22 Jun 2010 23:11:53 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id 2D11EB89B for ; Tue, 22 Jun 2010 23:11:53 -0400 (EDT) Message-ID: <4C217B77.3090609@netmusician.org> Date: Tue, 22 Jun 2010 23:11:51 -0400 From: Joe Auty User-Agent: Postbox 1.1.5 (Macintosh/20100613) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C1C3D04.2050101@netmusician.org> In-Reply-To: <4C1C3D04.2050101@netmusician.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: NFSv4 status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 03:13:36 -0000 Anybody? Joe Auty wrote: > Hello, > > I'm a little confused as to where NFSv4 is at... Is the client stable > and considered ready for production use? If so, as of what OS version? > The man page for nfsv4 listed here: > http://www.freebsd.org/cgi/man.cgi?query=nfsv4&sektion=4 still lists > this as experimental, however the bottom of this page has a signature > for FBSD 7.2 > > Can somebody kindly clarify as to where NFSv4 support is at, whether it > is still considered experimental, what the roadmap for it is (if > applicable), etc.? > > Thanks in advance! > > > -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 03:17:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 746AD1065687 for ; Wed, 23 Jun 2010 03:17:44 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2FC8FC27 for ; Wed, 23 Jun 2010 03:17:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o5N3HhXO089456; Tue, 22 Jun 2010 22:17:43 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8dzZok63F0Sg; Tue, 22 Jun 2010 22:17:41 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o5N3HZ8R089452; Tue, 22 Jun 2010 22:17:36 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4C217CCE.7030605@daleco.biz> Date: Tue, 22 Jun 2010 22:17:34 -0500 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: Al Plant References: <4C217702.8080705@hdk5.net> In-Reply-To: <4C217702.8080705@hdk5.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Copy a FreeBSD 8* install to larger HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 03:17:44 -0000 Al Plant wrote: > Aloha, > > I am looking for the easiest way to copy a fresh working FreeBSD 8* HD > install (Manolis version) to a bigger HD that I found. > > I plan to have the new HD in the same box for doing this copy. > > Can I use sysinstall to make the new default slices on the big HD and > then move the OS and directories/files to them? Last time I did this, it worked fine ... just make sure the "slices" (right term?) correspond with your /etc/fstab, or you'll end up in single user or even stuck at a boot prompt with the new drive the first time out. > What command (utility) do I use? dd or cp or some other to copy the files. I'd recommend dump and restore ... possibly piping dump *to* restore, something like: dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - ) HTH. > Thanks.... You're welcome :-) Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 03:59:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82B74106566C for ; Wed, 23 Jun 2010 03:59:10 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 199D08FC16 for ; Wed, 23 Jun 2010 03:59:09 +0000 (UTC) Received: by wwb24 with SMTP id 24so230920wwb.13 for ; Tue, 22 Jun 2010 20:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=AZSYS0O4mahCA2GkM71/rzJHUT1tQezmjervxy1bols=; b=HKqltDDKNEKpGV0McR2/wE8vFdH7bU2sxqJyGUMmXSsduw84EDefdbYcR8+Qg1IygX LIXVGwxhIJW3w5rB0fAgsmtCBtz2m3IrCD6onQJlzzhyH7m361qAo+vloypAX89h7SVb RORJdArC+QwbCx81A6G3rZJs5fRWHkOIbfYb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=irrh3d1oHS2uSuAtE8bykUO234532wPg8j3kvoiAckNdzROXDedGSkMHutPoUHHF58 GEaOqBsLLX4emdmA848qJNVwGf/VwJN7REfNA4gdHDRXVVUGVNaHBa2HnSWDpjoBtho7 z7utGM2Ps0A+UKcg1EqlSfNLRyLZbBra4xnYQ= MIME-Version: 1.0 Received: by 10.216.89.20 with SMTP id b20mr5383832wef.58.1277265548735; Tue, 22 Jun 2010 20:59:08 -0700 (PDT) Received: by 10.216.179.140 with HTTP; Tue, 22 Jun 2010 20:59:08 -0700 (PDT) In-Reply-To: <4C217CCE.7030605@daleco.biz> References: <4C217702.8080705@hdk5.net> <4C217CCE.7030605@daleco.biz> Date: Tue, 22 Jun 2010 22:59:08 -0500 Message-ID: From: Antonio Olivares To: Kevin Kinsey Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" , Al Plant Subject: Re: Copy a FreeBSD 8* install to larger HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 03:59:10 -0000 Al and others, One solution or way to do it would be to get Clonezilla Live CD http://clonezilla.org/clonezilla-live/ Connect both hard drives check carefully which one is the smaller one and select it as the source, and copy it exactly as it is. Let clonezilla do its thing. When finished, shutdown the machine and unplug the old/smaller hard drive and leave the other one plugged in and start the machine. Everything should work normally. HTH, Antonio On 6/22/10, Kevin Kinsey wrote: > Al Plant wrote: >> Aloha, >> >> I am looking for the easiest way to copy a fresh working FreeBSD 8* HD >> install (Manolis version) to a bigger HD that I found. >> >> I plan to have the new HD in the same box for doing this copy. >> >> Can I use sysinstall to make the new default slices on the big HD and >> then move the OS and directories/files to them? > > Last time I did this, it worked fine ... just make sure the "slices" (right > term?) > correspond with your /etc/fstab, or you'll end up in single user or even > stuck at a boot prompt with the new drive the first time out. > >> What command (utility) do I use? dd or cp or some other to copy the files. > > I'd recommend dump and restore ... possibly piping dump *to* restore, > something like: > > dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - ) > > HTH. > >> Thanks.... > > > You're welcome :-) > > Kevin Kinsey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 04:01:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3F5D1065670 for ; Wed, 23 Jun 2010 04:01:19 +0000 (UTC) (envelope-from martin.minkus@punz.co.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD558FC12 for ; Wed, 23 Jun 2010 04:01:18 +0000 (UTC) Received: from silver.pulse.local (www.pulseenergy.co.nz [203.167.138.163]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0L4G00H038HK3G50@smtp5.clear.net.nz> for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 16:00:58 +1200 (NZST) Received: from silver.pulse.local (localhost [127.0.0.1]) by silver.pulse.local (8.13.8/8.13.8) with ESMTP id o5N40qjO018905 for ; Wed, 23 Jun 2010 16:00:53 +1200 Content-return: prohibited Date: Wed, 23 Jun 2010 16:00:52 +1200 From: Martin Minkus To: freebsd-questions Message-id: MIME-version: 1.0 x-scalix-Hops: 1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on silver.pulse.local X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_MESSAGE autolearn=ham version=3.2.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sshd / tcp packet corruption ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 04:01:19 -0000 It seems this issue I reported below may actually be related to some kind of TCP packet corruption ? =20 Still same box. I=E2=80=99ve noticed my SSH connections into the box will= die randomly, with errors. =20 Sshd logs the following on the box itself: =20 Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:15:41 kinetic sshd[15746]: Accepted publickey for martinm from 10.64.10.251 port 56469 ssh2 Jun 18 11:15:58 kinetic su: nss_ldap: could not get LDAP result - Can't contact LDAP server Jun 18 11:15:58 kinetic su: martinm to root on /dev/pts/0 Jun 18 11:16:06 kinetic su: martinm to root on /dev/pts/1 Jun 18 11:16:29 kinetic sshd[15748]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:16:30 kinetic sshd[15746]: syslogin_perform_logout: logout() returned an error Jun 18 11:16:34 kinetic sshd[16511]: Accepted publickey for martinm from 10.64.10.251 port 56470 ssh2 Jun 18 11:16:41 kinetic sshd[16513]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:16:41 kinetic sshd[16511]: syslogin_perform_logout: logout() returned an error =20 Jun 23 15:52:59 kinetic sshd[56974]: Received disconnect from 10.64.10.209: 5: Message Authentication Code did not verify (packet #75658). Data integrity has been compromised.=20 Jun 23 15:53:12 kinetic sshd[57109]: Accepted publickey for martinm from 10.64.10.209 port 9494 ssh2 Jun 23 15:53:38 kinetic su: martinm to root on /dev/pts/3 Jun 23 15:56:36 kinetic sshd[57111]: Received disconnect from 10.64.10.209: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 23 15:56:44 kinetic sshd[57151]: Accepted publickey for martinm from 10.64.10.209 port 9534 ssh2 =20 My googlefu has failed me on this. =20 Any ideas what on earth this could be ? =20 Ethernet card? =20 em0: port 0xcc00-0xcc3f mem 0xfdfe0000-0xfdffffff,0xfdfc0000-0xfdfdffff irq 17 at device 7.0 on pci1 em0: [FILTER] em0: Ethernet address: 00:0e:0c:6b:d6:d3 =20 em0: flags=3D8843 metric 0 mtu 1500 =20 options=3D209b ether 00:0e:0c:6b:d6:d3 inet 10.64.10.10 netmask 0xffffff00 broadcast 10.64.10.255 media: Ethernet autoselect (1000baseT ) status: active =20 Thanks, Martin. =20 =20 From: Martin Minkus=20 Sent: Monday, 14 June 2010 11:21 To: freebsd-questions@freebsd.org Subject: FreeBSD+ZFS+Samba: open_socket_in: Protocol not supported - after a few days? =20 Samba 3.4 on FreeBSD 8-STABLE branch. After a few days I start getting weird errors and windows PC's can't access the samba share, have trouble accessing files, etc, and samba becomes totally unusable. Restarting samba doesn't fix it =E2=80=93 only a reboot does. =20 Accessing files on the ZFS pool locally is fine. Other services (like dhcpd, openldap server) on the box continue to work fine. Only samba dies and by dies I mean it can no longer service clients and windows brings up bizarre errors. Windows can access our other samba servers (on linux, etc) just fine. Kernel: =20 FreeBSD kinetic.pulse.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Wed May 26 18:09:14 NZST 2010 martinm@kinetic.pulse.local:/usr/obj/usr/src/sys/PULSE amd64 =20 Zpool status: =20 kinetic:~$ zpool status pool: pulse state: ONLINE scrub: none requested config: =20 NAME STATE READ WRITE CKSUM pulse ONLINE 0 =20 0 0 raidz1 ONLINE 0 =20 0 0 gptid/3baa4ef3-3ef8-0ac0-f110-f61ea23352 ONLINE 0 =20 0 0 gptid/0eaa8131-828e-6449-b9ba-89ac63729d ONLINE 0 =20 0 0 gptid/77a8da7c-8e3c-184c-9893-e0b12b2c60 ONLINE 0 =20 0 0 gptid/dddb2b48-a498-c1cd-82f2-a2d2feea01 ONLINE 0 =20 0 0 =20 errors: No known data errors kinetic:~$ log.smb: [2010/06/10 17:22:39, 0] lib/util_sock.c:902(open_socket_in) open_socket_in(): socket() call failed: Protocol not supported [2010/06/10 17:22:39, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Protocol not supported [2010/06/10 17:22:39, 2] smbd/server.c:676(smbd_parent_loop) waiting for connections log.ANYPC: [2010/06/08 19:55:55, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Socket is not connected read_fd_with_timeout: client 0.0.0.0 read error =3D Socket is not connected. The code in lib/util_sock.c, around line 902: /*********************************************************************** ***** Open a socket of the specified type, port, and address for incoming data. ************************************************************************ ****/ int open_socket_in(int type, uint16_t port, int dlevel, const struct sockaddr_storage *psock, bool rebind) { struct sockaddr_storage sock; int res; socklen_t slen =3D sizeof(struct sockaddr_in); sock =3D *psock; #if defined(HAVE_IPV6) if (sock.ss_family =3D=3D AF_INET6) { ((struct sockaddr_in6 *)&sock)->sin6_port =3D htons(port); slen =3D sizeof(struct sockaddr_in6); } #endif if (sock.ss_family =3D=3D AF_INET) { ((struct sockaddr_in *)&sock)->sin_port =3D htons(port); } res =3D socket(sock.ss_family, type, 0 ); if( res =3D=3D -1 ) { if( DEBUGLVL(0) ) { dbgtext( "open_socket_in(): socket() call failed: " ); dbgtext( "%s\n", strerror( errno ) ); } In other words, it looks like something in the kernel is exhausted (what?). I don=E2=80=99t know if tuning is required, or this is some kind= of bug? /boot/loader.conf: mvs_load=3D"YES" zfs_load=3D"YES" vm.kmem_size=3D"20G" #vfs.zfs.arc_min=3D"512M" #vfs.zfs.arc_max=3D"1536M" vfs.zfs.arc_min=3D"512M" vfs.zfs.arc_max=3D"3072M" I=E2=80=99ve played with a few sysctl settings (found these recommendatio= ns online, but they make no difference) /etc/sysctl.conf: kern.ipc.maxsockbuf=3D2097152 net.inet.tcp.sendspace=3D262144 net.inet.tcp.recvspace=3D262144 net.inet.tcp.mssdflt=3D1452 net.inet.udp.recvspace=3D65535 net.inet.udp.maxdgram=3D65535 net.local.stream.recvspace=3D65535 net.local.stream.sendspace=3D65535 Any ideas on what could possibly be going wrong? =20 Any help would be greatly appreciated! =20 Thanks, Martin From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 04:51:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE161065673 for ; Wed, 23 Jun 2010 04:51:27 +0000 (UTC) (envelope-from martin.minkus@punz.co.nz) Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by mx1.freebsd.org (Postfix) with ESMTP id 652848FC18 for ; Wed, 23 Jun 2010 04:51:27 +0000 (UTC) Received: from silver.pulse.local (mail.pulseenergy.co.nz [203.167.138.163]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0L4G00M9XASMF310@smtp4.clear.net.nz> for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 16:50:49 +1200 (NZST) Received: from silver.pulse.local (localhost [127.0.0.1]) by silver.pulse.local (8.13.8/8.13.8) with ESMTP id o5N4ogR7027139 for ; Wed, 23 Jun 2010 16:50:42 +1200 Content-return: prohibited Date: Wed, 23 Jun 2010 16:50:41 +1200 From: Martin Minkus In-reply-to: To: freebsd-questions Message-id: MIME-version: 1.0 x-scalix-Hops: 1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on silver.pulse.local X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_MESSAGE autolearn=ham version=3.2.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: sshd / tcp packet corruption ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 04:51:28 -0000 So definitely some kind of packet corruption; =20 Using netcat to send a single megabyte of binary data to a box with no known issues (from kinetic -> steel): =20 kinetic:/tmp$ dd if=3D/dev/urandom of=3Drandom.testfile bs=3D1k count=3D1= k 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.018347 secs (57152372 bytes/sec) =20 kinetic:/tmp$ md5 random.testfile=20 MD5 (random.testfile) =3D 9be700336ef81e8f89c60422fc795877 =20 kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$ nc steel 1234 -v -O 4096 < random.testfile Connection to steel 1234 port [tcp/*] succeeded! kinetic:/tmp$=20 =20 =20 whilst on steel: (a stable linux box kinetic is MEANT to be replacing) =20 ff8a336e2be0c5c645e9f8a2dea67eea random.testfile fae5da747c7857d1d87870c05db1f152 random.testfile a36c7166631ca10c460e323e39071094 random.testfile 50a8f005a772f9321243215d1ea1adb6 random.testfile 5da41b6f475f4655572df8c9bd81e181 random.testfile 3104dd30179bf870e8ec6ef91c34d78f random.testfile 274a16890cf39c3089d8f0eda253f5fd random.testfile e8d0bae998340252c6c67529d520feb4 random.testfile 6d5377ca4545f98a55c017f518567092 random.testfile 6b464f810fe1c2902694a7817f881906 random.testfile 8912007161ececdb3e23a0018af36c36 random.testfile 3f4e17d5a939cd8dfd0941c898c5ac5f random.testfile 9db926ba5f5f39dddcc0607983ed96f0 random.testfile 835de68b981bf6cb871ebb2ce81404e1 random.testfile a211a3260d9c8ae595782d254798cacf random.testfile 030e08f1d3d0fb761046f66c888fdea2 random.testfile =20 If I reboot kinetic and try one last time: =20 9be700336ef81e8f89c60422fc795877 random.testfile =20 Notice that is now the CORRECT checksum on steel. =20 Kinetic=E2=80=99s samba, sshd, etc will play nice for a day or so before returning to corrupting packets. =20 So any idea ? Why would my packets start getting corrupted after a couple days use? =20 This box just runs isc-dhcpd, openldap-server, samba34, and ZFS (the real reason its replacing the Linux box.) =20 Thanks, Martin. =20 From: Martin Minkus=20 Sent: Wednesday, 23 June 2010 16:01 To: freebsd-questions@freebsd.org Subject: sshd / tcp packet corruption ? =20 It seems this issue I reported below may actually be related to some kind of TCP packet corruption ? =20 Still same box. I=E2=80=99ve noticed my SSH connections into the box will= die randomly, with errors. =20 Sshd logs the following on the box itself: =20 Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:15:41 kinetic sshd[15746]: Accepted publickey for martinm from 10.64.10.251 port 56469 ssh2 Jun 18 11:15:58 kinetic su: nss_ldap: could not get LDAP result - Can't contact LDAP server Jun 18 11:15:58 kinetic su: martinm to root on /dev/pts/0 Jun 18 11:16:06 kinetic su: martinm to root on /dev/pts/1 Jun 18 11:16:29 kinetic sshd[15748]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:16:30 kinetic sshd[15746]: syslogin_perform_logout: logout() returned an error Jun 18 11:16:34 kinetic sshd[16511]: Accepted publickey for martinm from 10.64.10.251 port 56470 ssh2 Jun 18 11:16:41 kinetic sshd[16513]: Received disconnect from 10.64.10.251: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 18 11:16:41 kinetic sshd[16511]: syslogin_perform_logout: logout() returned an error =20 Jun 23 15:52:59 kinetic sshd[56974]: Received disconnect from 10.64.10.209: 5: Message Authentication Code did not verify (packet #75658). Data integrity has been compromised.=20 Jun 23 15:53:12 kinetic sshd[57109]: Accepted publickey for martinm from 10.64.10.209 port 9494 ssh2 Jun 23 15:53:38 kinetic su: martinm to root on /dev/pts/3 Jun 23 15:56:36 kinetic sshd[57111]: Received disconnect from 10.64.10.209: 2: Invalid packet header. This probably indicates a problem with key exchange or encryption.=20 Jun 23 15:56:44 kinetic sshd[57151]: Accepted publickey for martinm from 10.64.10.209 port 9534 ssh2 =20 My googlefu has failed me on this. =20 Any ideas what on earth this could be ? =20 Ethernet card? =20 em0: port 0xcc00-0xcc3f mem 0xfdfe0000-0xfdffffff,0xfdfc0000-0xfdfdffff irq 17 at device 7.0 on pci1 em0: [FILTER] em0: Ethernet address: 00:0e:0c:6b:d6:d3 =20 em0: flags=3D8843 metric 0 mtu 1500 =20 options=3D209b ether 00:0e:0c:6b:d6:d3 inet 10.64.10.10 netmask 0xffffff00 broadcast 10.64.10.255 media: Ethernet autoselect (1000baseT ) status: active =20 Thanks, Martin. =20 =20 From: Martin Minkus=20 Sent: Monday, 14 June 2010 11:21 To: freebsd-questions@freebsd.org Subject: FreeBSD+ZFS+Samba: open_socket_in: Protocol not supported - after a few days? =20 Samba 3.4 on FreeBSD 8-STABLE branch. After a few days I start getting weird errors and windows PC's can't access the samba share, have trouble accessing files, etc, and samba becomes totally unusable. Restarting samba doesn't fix it =E2=80=93 only a reboot does. =20 Accessing files on the ZFS pool locally is fine. Other services (like dhcpd, openldap server) on the box continue to work fine. Only samba dies and by dies I mean it can no longer service clients and windows brings up bizarre errors. Windows can access our other samba servers (on linux, etc) just fine. Kernel: =20 FreeBSD kinetic.pulse.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Wed May 26 18:09:14 NZST 2010 martinm@kinetic.pulse.local:/usr/obj/usr/src/sys/PULSE amd64 =20 Zpool status: =20 kinetic:~$ zpool status pool: pulse state: ONLINE scrub: none requested config: =20 NAME STATE READ WRITE CKSUM pulse ONLINE 0 =20 0 0 raidz1 ONLINE 0 =20 0 0 gptid/3baa4ef3-3ef8-0ac0-f110-f61ea23352 ONLINE 0 =20 0 0 gptid/0eaa8131-828e-6449-b9ba-89ac63729d ONLINE 0 =20 0 0 gptid/77a8da7c-8e3c-184c-9893-e0b12b2c60 ONLINE 0 =20 0 0 gptid/dddb2b48-a498-c1cd-82f2-a2d2feea01 ONLINE 0 =20 0 0 =20 errors: No known data errors kinetic:~$ log.smb: [2010/06/10 17:22:39, 0] lib/util_sock.c:902(open_socket_in) open_socket_in(): socket() call failed: Protocol not supported [2010/06/10 17:22:39, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Protocol not supported [2010/06/10 17:22:39, 2] smbd/server.c:676(smbd_parent_loop) waiting for connections log.ANYPC: [2010/06/08 19:55:55, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Socket is not connected read_fd_with_timeout: client 0.0.0.0 read error =3D Socket is not connected. The code in lib/util_sock.c, around line 902: /*********************************************************************** ***** Open a socket of the specified type, port, and address for incoming data. ************************************************************************ ****/ int open_socket_in(int type, uint16_t port, int dlevel, const struct sockaddr_storage *psock, bool rebind) { struct sockaddr_storage sock; int res; socklen_t slen =3D sizeof(struct sockaddr_in); sock =3D *psock; #if defined(HAVE_IPV6) if (sock.ss_family =3D=3D AF_INET6) { ((struct sockaddr_in6 *)&sock)->sin6_port =3D htons(port); slen =3D sizeof(struct sockaddr_in6); } #endif if (sock.ss_family =3D=3D AF_INET) { ((struct sockaddr_in *)&sock)->sin_port =3D htons(port); } res =3D socket(sock.ss_family, type, 0 ); if( res =3D=3D -1 ) { if( DEBUGLVL(0) ) { dbgtext( "open_socket_in(): socket() call failed: " ); dbgtext( "%s\n", strerror( errno ) ); } In other words, it looks like something in the kernel is exhausted (what?). I don=E2=80=99t know if tuning is required, or this is some kind= of bug? /boot/loader.conf: mvs_load=3D"YES" zfs_load=3D"YES" vm.kmem_size=3D"20G" #vfs.zfs.arc_min=3D"512M" #vfs.zfs.arc_max=3D"1536M" vfs.zfs.arc_min=3D"512M" vfs.zfs.arc_max=3D"3072M" I=E2=80=99ve played with a few sysctl settings (found these recommendatio= ns online, but they make no difference) /etc/sysctl.conf: kern.ipc.maxsockbuf=3D2097152 net.inet.tcp.sendspace=3D262144 net.inet.tcp.recvspace=3D262144 net.inet.tcp.mssdflt=3D1452 net.inet.udp.recvspace=3D65535 net.inet.udp.maxdgram=3D65535 net.local.stream.recvspace=3D65535 net.local.stream.sendspace=3D65535 Any ideas on what could possibly be going wrong? =20 Any help would be greatly appreciated! =20 Thanks, Martin From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 05:14:23 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 548C4106564A for ; Wed, 23 Jun 2010 05:14:23 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 176308FC13 for ; Wed, 23 Jun 2010 05:14:22 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o5N5EMul002313 for ; Tue, 22 Jun 2010 22:14:22 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 22 Jun 2010 22:14:21 -0700 (PDT) Date: Tue, 22 Jun 2010 22:14:20 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100623051418.GA80985@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: before i even =touch= my server again.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 05:14:23 -0000 a friend was over to help with things; among them was the fact that for unknown reasons, my KVM wired don't worse consistantly from my single keyboad to my [new{2009}] server. things happened so that we didn't double-check before my friend left. mail broke for unknown reasons. i KVM'd into ethic and fired up dovecot. no-joy. then i figured a theraputic reboot was in order. Disaster. all hell broke loose. i lost keyboard connection to ethic and coul not ssh in from tao. long-story-short, after bugging my wife to reboot umpteen time i got under desk four or five time and got ethic limping along. fsck seemed to fix most slices, but a check as root told me the /var was//IS still dirty. Q: how can i umount /var and run fsck -y without going single-user? remember that in order to regain keyboard control of ethic i have to crawl under deskm, muck around, etc. an hour+ ago i tried to umount /var AND umount /dev/ad4s2d and keep getting a busy. for obvious reasons that my logs are being written to constantly. how does fsck work, backgrounded? [[note that shutting of /etc/mail wouldn't work because my /var/log directory is constantly filling up with the kiddie cracker output.]] thanks for any ideas, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 07:29:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F8B1065781 for ; Wed, 23 Jun 2010 07:29:44 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 587F68FC21 for ; Wed, 23 Jun 2010 07:29:43 +0000 (UTC) Received: by bwz17 with SMTP id 17so149025bwz.13 for ; Wed, 23 Jun 2010 00:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bo24vx+EfzYpRoIRapJ/EX8bTzehvDhL1wiXF7DP368=; b=uV/eMY1xs+zBW31BGiGBdWhaLWvXTvzzVzTrgTJRJfhScf55Wqh4gqY5N/WXthgJAF c1aR+2Medoh1OKiMdAQVSF+O33GTq++J/epZo5R9/4V+GDc2mwWugq03tGNbC74FW0xN JpbdhxiSMomsI5qyYfscVCcCq/KON+xx42rwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q7h9EEAlyL5Y5DXrjKIHDuha6cF/nJjA+y6/ODQfWVu/lfeVgbV7UuouDyv+7yI+8n lRG+JYyKlVMhYUTq3htFBVg0H/rg4dGPscE8P88SYZgC6IODizKE95OSK+su9jIZL6gc U6VLdpmnFzNbcmcc/ZTPPu0s/wkoXIdwl45s0= MIME-Version: 1.0 Received: by 10.204.81.3 with SMTP id v3mr3658595bkk.115.1277278181976; Wed, 23 Jun 2010 00:29:41 -0700 (PDT) Received: by 10.204.47.224 with HTTP; Wed, 23 Jun 2010 00:29:41 -0700 (PDT) Date: Wed, 23 Jun 2010 09:29:41 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: portupgrade -af in FreeBSDupdate to 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 07:29:44 -0000 in the process of upgrading 7.2 -> 8.0, the last step is to recompile all ports (section 24.2.3 of freebsd manual) # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portugprade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did that for my 760 ports, but after 499 ports reinstalled (and 11 hours), it stopped with ... ===> Cleaning for ruby+nopthreads-1.8.7.248_2,1 ---> Removing temporary files and directories ---> Removing old package' ---> Installation of lang/ruby18 ended at: Wed, 23 Jun 2010 01:06:29 +0200 (con sumed 00:00:12) ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... Inappropriate file type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... - 760 packages found (-0 +760) ........ ........................................................700..................... ....................................... done] ---> Reinstallation of lang/ruby18 ended at: Wed, 23 Jun 2010 01:07:57 +0200 (c onsumed 00:04:09) ---> ** Upgrade tasks 748: 497 done, 12 ignored, 1 skipped and 0 failed ---> Session ended at: Wed, 23 Jun 2010 01:07:57 +0200 (consumed 10:28:19) /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:215:in `origin': /var/db/pkg/pkgdb.db : unexpected file type or format -- Invalid argument (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:205:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:245:in `config_includ e?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:215:in `config_ignore _moved?' from /usr/local/sbin/portupgrade:942:in `do_upgrade' from /usr/local/sbin/portupgrade:816:in `main' from /usr/local/sbin/portupgrade:812:in `each' from /usr/local/sbin/portupgrade:812:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2213 # # pkgdb -F ---> Checking the package registry database # Why does it stop? Can it be avoided? Or can I make portupgrade -af start from where it got so far in the first run ? I could do # portupgrade -af again, but this is again "everything" (11 hours)... I noticed on a different system (with only 64 ports), that it stopped at lang/ruby18 there as well, and after again # portugprade -af (which then continued past lang/ruby18), it stopped a second time in the same manner at ---> Reinstallation of databases/ruby-bdb ended at: Mon, 14 Jun 2010 13:01:25 +0200 (consumed 00:00:28) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 07:50:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F075B1065670 for ; Wed, 23 Jun 2010 07:50:54 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA228FC14 for ; Wed, 23 Jun 2010 07:50:54 +0000 (UTC) Received: by bwz17 with SMTP id 17so158208bwz.13 for ; Wed, 23 Jun 2010 00:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=yiQGeHTLaVyeXj+BngGPFSzJDn11fx0Ey2b2uULMHW0=; b=E6RqQ6U1RhqcBM1CRLb7WemIk5hmJ63n5psDZzcUzQap7Ph9KbzC0m5SS7c4NeCfy/ 7xjJNIp4ReUZVGsdyC1iTx0TQFAQHtQ1GVDoVXKkFd/tlgvh23PIJB4KcajyuhMy1yrZ ithW0YcvBMuoO21SQbWebPvaHra8cvtVkCW18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=Oi36Opg/5SXkWitHHZdDP6zmBjJIyXIfnlD/SwTa9u2b/QM/mr1TN8B3YAoxEnsPzC gf90r1b4mKWRiP7EKHZbGRRQvJ6hBHx3hcHoAEYkGFYb0tewzvaLByJf9+h5sOMX6rKG GTzuAX/PtE8k9Cl8und60gqaHLiN03BK0aYWo= Received: by 10.204.46.196 with SMTP id k4mr5181926bkf.72.1277279453246; Wed, 23 Jun 2010 00:50:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.69.201 with HTTP; Wed, 23 Jun 2010 00:50:23 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Wed, 23 Jun 2010 08:50:23 +0100 Message-ID: To: n dhert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade -af in FreeBSDupdate to 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 07:50:55 -0000 On 23 June 2010 08:29, n dhert wrote: > in the process of upgrading 7.2 -> 8.0, the last step is to recompile all > ports > (section 24.2.3 of freebsd manual) > # portupgrade -f ruby > # rm /var/db/pkg/pkgdb.db > # portugprade -f ruby18-bdb > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > > # portupgrade -af > > Did that for my 760 ports, but after 499 ports reinstalled (and 11 hours)= , > it stopped > Why does it stop? Can it be avoided? Or can I make portupgrade -af start > from where it got so far in the first run ? > > > I could do # portupgrade -af =A0again, but this is again "everything" (11 > hours)... > > I noticed on a different system (with only 64 ports), that it stopped at > lang/ruby18 there as well, > and after again # portugprade -af (which then continued past lang/ruby18)= , > it stopped a second time > in the same manner at > =A0---> =A0Reinstallation of databases/ruby-bdb ended at: Mon, 14 Jun 201= 0 > 13:01:25 > =A0+0200 (consumed 00:00:28) AFAICR, portupgrade is written in Ruby, so strange things can happen if you pull the carpet out from under it like that. Not really your fault... I suggest you look at the man page for pkg_glob, and look for the kind of glob to supply for portupgrade; for example: The following command line arguments are supported: pkgname_glob Specify one of these: a full pkgname, a pkgname wi= th- out version, or a shell glob pattern to match agai= nst pkgnames or their origins in which you can use wil= d- cards `*', `?', and `[..]', an extended regular expression preceded by a colon `:' to match agains= t pkgnames or their origins, or a date range specifi= ca- tion preceded by either `<' or `>'. So try [chris@amnesiac]~% sudo portupgrade -f '<2010-06-22' That should reinstall all the ports that were installed before yesterday. HTH Chris From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 08:58:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B574106566B for ; Wed, 23 Jun 2010 08:58:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 66FBA8FC26 for ; Wed, 23 Jun 2010 08:58:53 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o5N8wlVq042619 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 09:58:47 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C21CCC7.1060908@infracaninophile.co.uk> Date: Wed, 23 Jun 2010 09:58:47 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: n dhert References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade -af in FreeBSDupdate to 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 08:58:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/06/2010 08:29:41, n dhert wrote: > Why does it stop? Can it be avoided? Or can I make portupgrade -af start > from where it got so far in the first run ? portupgrade is written in ruby -- having its command interpreter ripped out from underneath it does tend to cramp its style somewhat. Actually, the specific reason it crashes is the ruby-18-dbXX module, which also needs to be recompiled. The best way around the problem is to delete portupgrade and everything it depends on, and then reinstall from the ports directly: # pkg_deinstall -Rf portupgrade-2.4.6_4,2 # cd /usr/ports/ports-mgmt/portupgrade # make install # make clean If you do this first, you can then run portupgrade -af, which will recompile ruby and dependencies, but because everything is already recompiled, its compatible and you don't get a crash. > I could do # portupgrade -af again, but this is again "everything" (11 > hours)... Fix portupgrade as shown above, then run something like this: # portupgrade -x ">=2010-06-23" -af This says: "upgrade everything, except those packages installed more recently than 2010-06-23." You should chose the date where you *started* your original portupgrade -af session. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwhzMcACgkQ8Mjk52CukIzDsACeNRckO4634CcnAKcBPDduooos afIAnRsAWncQzPAndKR7v6ulNYdHIEXF =oSps -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 09:08:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA611106564A for ; Wed, 23 Jun 2010 09:08:30 +0000 (UTC) (envelope-from prvs=78333ff8a=a@jenisch.at) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD488FC13 for ; Wed, 23 Jun 2010 09:08:29 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz2.oekb.co.at with ESMTP; 23 Jun 2010 10:39:12 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.2.234.1; Wed, 23 Jun 2010 10:39:11 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.4/8.14.4) with ESMTP id o5N8dBLh055349 for ; Wed, 23 Jun 2010 10:39:11 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.4/8.14.4/Submit) id o5N8dBQn055348 for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 10:39:11 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Wed, 23 Jun 2010 10:39:11 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20100623083911.GA32643@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: libneon.so: undefined reference to `SSL_SESSION_cmp' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 09:08:30 -0000 Hi, During upgrading my ports I run into very nasty problems compiling e.g. sound-juicer or libmisicbrainz3, or more generally, ports that depend on neon28: Compilatino of e.g sound-juicer stops with the following error: ------------------------------ < Cut here > ------------------------------ . . . gmake[3]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.2/libjuicer' gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.2/libjuicer' Making all in src gmake[2]: Entering directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.2/src' CC sound_juicer-sj-main.o CC sound_juicer-sj-prefs.o CC sound_juicer-sj-play.o CC sound_juicer-sj-about.o CC sound_juicer-sj-extracting.o CC sound_juicer-sj-inhibit.o CC sound_juicer-sj-genres.o CC sound_juicer-gedit-message-area.o CC sound_juicer-gconf-bridge.o CC sound_juicer-egg-play-preview.o CC sound_juicer-bacon-message-connection.o CXXLD sound-juicer /usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp' gmake[2]: *** [sound-juicer] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.2' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/audio/sound-juicer. ------------------------------ < Cut here > ------------------------------ /usr/local/lib/libneon.so comes from /usr/ports/www/neon28, so I did a de-install, make clean, make install of neon28. Compilation & installation went OK, however when I tried to compile sound-juicer again I got the error "/usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp'. Please note that I've got openssl installed from ports, i.e. /usr/ports/security/openssl. neon28 correctly lists it as dependency: # pkg_info -rx neon28 Information for neon28-0.28.6_1: Depends on: Dependency: expat-2.0.1_1 Dependency: openssl-1.0.0_2 Dependency: libiconv-1.13.1_1 Dependency: gettext-0.18_1 # I even tried to do a portupgrade -frR neon28 - again stops with the error above :-( So here are my questions: o) Has anybody out there seen this before? o) Any known cure against it? Thanks much in advance for any clue, -ewald From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 10:11:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D131065673; Wed, 23 Jun 2010 10:11:54 +0000 (UTC) (envelope-from a.huth@tmr.net) Received: from bo-uwka-srv01.de.tmr.net (bo-uwka-srv01.de.tmr.net [212.23.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id 21FA38FC1A; Wed, 23 Jun 2010 10:11:53 +0000 (UTC) Received: from localhost (localhost.de.tmr.net [127.0.0.1]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 1B1FC1DFAD2; Wed, 23 Jun 2010 12:11:52 +0200 (CEST) Received: from bo-uwka-srv01.de.tmr.net ([127.0.0.1]) by localhost (bo-uwka-srv01.de.tmr.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 70147-01-60; Wed, 23 Jun 2010 12:11:51 +0200 (CEST) Received: from localhost (bo-stwhv-fw02.de.tmr.net [212.23.140.253]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id A018B1DFAE6; Wed, 23 Jun 2010 12:11:51 +0200 (CEST) Date: Wed, 23 Jun 2010 12:12:48 +0200 From: Alex Huth To: freebsd-questions@freebsd.org, freebsd-questions-request@freebsd.org, bacula-users-request@lists.sourceforge.net, bacula-users@lists.sourceforge.net Message-ID: <20100623101248.GD1645@borusse.ewmr.base> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: Problems running Bacula BAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 10:11:54 -0000 On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote: > > Now I checked the log (/var/db/backula/log) and got the following error > message: > 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418 > Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131. > Try first to connect to the director using bconsole. It seems the passwords between director and fd or sd are different. Greetings Alex Huth From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 10:22:32 2010 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 000E0106564A for ; Wed, 23 Jun 2010 10:22:31 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 626898FC17 for ; Wed, 23 Jun 2010 10:22:30 +0000 (UTC) Received: from pulstar.local (athedsl-4362543.home.otenet.gr [79.130.1.31]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o5NAMPFI004541; Wed, 23 Jun 2010 13:22:28 +0300 Message-ID: <4C21E061.6080506@otenet.gr> Date: Wed, 23 Jun 2010 13:22:25 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Al Plant References: <4C217702.8080705@hdk5.net> In-Reply-To: <4C217702.8080705@hdk5.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD-questions@freebsd.org Subject: Re: Copy a FreeBSD 8* install to larger HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 10:22:32 -0000 On 23/06/2010 5:52 Ï€.μ., Al Plant wrote: > Aloha, > > I am looking for the easiest way to copy a fresh working FreeBSD 8* HD > install (Manolis version) to a bigger HD that I found. > > I plan to have the new HD in the same box for doing this copy. > > Can I use sysinstall to make the new default slices on the big HD and > then move the OS and directories/files to them? > > What command (utility) do I use? dd or cp or some other to copy the > files. > > Thanks.... > > Hey Al! Back to your FreeBSD adventures, heh ;) You can certainly use sysinstall to create the slice. I suggest you use the command line bsdlabel to create the partitions. On your current system, use dump/restore to dump /, /var and /usr to the new disk directly (or you can save the dumps to some external disk and use it via fixit if you don't wish to mount both drives on the same machine). It would be best to run dump/restore in single user mode, without mounting /usr and /var, or at least with the minimum number of processes running. If you do run on a live filesystem, use the -L flag in dump (I've had some problems with this on large filesystems). Email me if you need more detailed instructions, I am currently investigating this method as a quick installation system for my custom FreeBSD systems. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 10:26:57 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3303E1065672 for ; Wed, 23 Jun 2010 10:26:57 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id C4E6C8FC22 for ; Wed, 23 Jun 2010 10:26:56 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYZANV+IUzKRa1mPGdsb2JhbAAHh2iXRwEBAQE1J8FYhRsEg1k X-IronPort-AV: E=Sophos;i="4.53,466,1272816000"; d="scan'208";a="4828037" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 23 Jun 2010 18:26:42 +0800 Message-ID: <4C21E163.70003@comclark.com> Date: Wed, 23 Jun 2010 18:26:43 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: sparse image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 10:26:57 -0000 Is there an equivalent of the MAC sparseimage on FreeBSD? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 10:54:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 755B8106566B for ; Wed, 23 Jun 2010 10:54:52 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id B20028FC08 for ; Wed, 23 Jun 2010 10:54:51 +0000 (UTC) Received: from vhoffman.lon.namesco.net (2.67-246-213.ippool.namesco.net [213.246.67.2]) (authenticated bits=0) by unsane.co.uk (8.14.4/8.14.4) with ESMTP id o5NAsnpx029610 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 11:54:50 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4C21E7F8.2050802@unsane.co.uk> Date: Wed, 23 Jun 2010 11:54:48 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C21E163.70003@comclark.com> In-Reply-To: <4C21E163.70003@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: sparse image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 10:54:52 -0000 On 23/06/2010 11:26, Aiza wrote: > Is there an equivalent of the MAC sparseimage on FreeBSD? If you mean you would like to make a sparse file and attach it using mdconfg then dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0 This will give you a sparse file that reports a gig in size, but only uses whats actually in use. you can then use mdconfig(8) to allow this to be partitioned formatted and mounted. Example below. see also http://www.freebsd.org/doc/en/books/handbook/disks-virtual.html although that example doesnt use a spare file. [root@ostracod /scratch/media]# dd if=/dev/zero of=foo.img bs=1M seek=1024 count=0 0+0 records in 0+0 records out 0 bytes transferred in 0.000066 secs (0 bytes/sec) [root@ostracod /scratch/media]# ls -lh foo.img -rw-r--r-- 1 root wheel 1.0G Jun 23 11:45 foo.img [root@ostracod /scratch/media]# du -h foo.img 48K foo.img [root@ostracod /scratch/media]# mdconfig -a -t vnode -f foo.img md0 [root@ostracod /scratch/media]# gpart create -s gpt md0 md0 created [root@ostracod /scratch/media]# gpart add -t freebsd-ufs md0 md0p1 added [root@ostracod /scratch/media]# newfs /dev/md0p1 /dev/md0p1: 1024.0MB (2097084 sectors) block size 16384, fragment size 2048 using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376416, 752672, 1128928, 1505184, 1881440 [root@ostracod /scratch/media]# !ls ls -lh foo.img -rw-r--r-- 1 root wheel 1.0G Jun 23 11:46 foo.img [root@ostracod /scratch/media]# !du du -h foo.img 736K foo.img [root@ostracod /scratch/media]# mount /dev/md0p1 /mnt/foo/ [root@ostracod /scratch/media]# df -h | grep foo /dev/md0p1 989M 4.0K 910M 0% /mnt/foo [root@ostracod /scratch/media]# Hope this is helpful. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 11:07:01 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD182106564A for ; Wed, 23 Jun 2010 11:07:01 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 177528FC23 for ; Wed, 23 Jun 2010 11:07:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o5NB6n3q045948 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 12:06:49 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C21EAC8.50402@infracaninophile.co.uk> Date: Wed, 23 Jun 2010 12:06:48 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Aiza References: <4C21E163.70003@comclark.com> In-Reply-To: <4C21E163.70003@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.3 required=5.0 tests=BAYES_60,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: "questions@freebsd.org" Subject: Re: sparse image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 11:07:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/06/2010 11:26:43, Aiza wrote: > Is there an equivalent of the MAC sparseimage on FreeBSD? A filesystem image that only takes up as much space as the total of all the files within it? Not exactly. There are many archiving formats -- dump, tar, cpio, etc. etc. which fulfill the space usage criterion, but they aren't filesystem images in the sense that you could mount them on your system. Probably the closest thing is to create a .iso image using something like growisofs(1m) (from the sysutils/dvd+rw-tools port), but while you can mount a .iso as a file-backed metadevice you can't mount it read/write. There is the Union FS type -- see mount_unionfs(8) -- where the overlay layer just contains the changed files made since the filesystem was mounted. Which is sort-of what you're asking about, but not quite the same thing. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwh6sgACgkQ8Mjk52CukIwnygCff0nTR8a2JVstLTO02f3Fm48w IMAAnisQv09vAHlgaTRXvIKRgvNeh4Ga =ggfk -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 12:52:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA5A106567C for ; Wed, 23 Jun 2010 12:52:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3268FC08 for ; Wed, 23 Jun 2010 12:52:33 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1ORPRQ-0007jq-5x for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 13:52:32 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1ORPRQ-0000TI-1m for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 13:52:32 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o5NCqVqN063359 for ; Wed, 23 Jun 2010 13:52:31 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o5NCqVEI063356 for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 13:52:31 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 23 Jun 2010 13:52:31 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100623125231.GA55968@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: which /etc/src.conf options prevent moused rebuilding? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 12:52:33 -0000 I've an old slow i386 running -current r209398 Because it's slow I don't build everything. Here's my /etc/src.conf: WITHOUT_ACPI= WITHOUT_AT= WITHOUT_ATM= WITHOUT_AUTHPF= WITHOUT_BIND_DNSSEC= WITHOUT_BIND_ETC= WITHOUT_BIND_LIBS_LWRES= WITHOUT_BIND_MTREE= WITHOUT_BIND_NAMED= WITHOUT_BLUETOOTH= WITHOUT_BSNMP= WITHOUT_CALENDAR= WITHOUT_CDDL= WITHOUT_CLANG= WITHOUT_CTM= WITHOUT_CVS= WITHOUT_DICT= WITHOUT_FREEBSD_UPDATE= WITHOUT_GAMES= WITHOUT_HTML= WITHOUT_INFO= WITHOUT_IPFILTER= WITHOUT_IPFW= WITHOUT_IPX= WITHOUT_JAIL= WITHOUT_KERBEROS= WITHOUT_LEGACY_CONSOLE= WITHOUT_NDIS= WITHOUT_NIS= WITHOUT_NS_CACHING= WITHOUT_PF= WITHOUT_PORTSNAP= WITHOUT_PPP= WITHOUT_QUOTAS= WITHOUT_RCMDS= WITHOUT_RCS= WITHOUT_ROUTED= WITHOUT_SHAREDOCS= WITHOUT_WIRELESS= WITHOUT_WPA_SUPPLICANT_EAPOL= I did # svn up # svn diff # followed by the standard update procedure # make buildworld # make buildkernel # make installkernel # reboot (single user) # make installworld # mergemaster # make delete-old # make delete-old-libs I was left with old moused: # moused /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required by "moused" # So I had to manually do # cd /usr/src/usr.sbin/moused/ # make cleandir && make obj && make && make install and got moused updated: # ldd /usr/sbin/moused /usr/sbin/moused: libutil.so.9 => /lib/libutil.so.9 (0x28095000) libm.so.5 => /lib/libm.so.5 (0x280a6000) libc.so.7 => /lib/libc.so.7 (0x280c0000) So my question is: Is it one of my /etc/src.conf options that prevented moused from rebuilding? Or is this caused by something else? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 13:26:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46772106564A for ; Wed, 23 Jun 2010 13:26:49 +0000 (UTC) (envelope-from pdegoeje@service2media.com) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id D65A88FC08 for ; Wed, 23 Jun 2010 13:26:47 +0000 (UTC) Received: from pieter-dev.localnet ([10.0.1.91] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Jun 2010 15:26:44 +0200 From: Pieter de Goeje Organization: Service2Media To: freebsd-questions@freebsd.org Date: Wed, 23 Jun 2010 15:26:44 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32-3-amd64; KDE/4.4.4; x86_64; ; ) References: <4C21E163.70003@comclark.com> <4C21E7F8.2050802@unsane.co.uk> In-Reply-To: <4C21E7F8.2050802@unsane.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006231526.44300.pdegoeje@service2media.com> X-OriginalArrivalTime: 23 Jun 2010 13:26:44.0868 (UTC) FILETIME=[B9717440:01CB12D7] Cc: Vincent Hoffman Subject: Re: sparse image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 13:26:49 -0000 On Wednesday 23 June 2010 12:54:48 Vincent Hoffman wrote: > On 23/06/2010 11:26, Aiza wrote: > > Is there an equivalent of the MAC sparseimage on FreeBSD? > > If you mean you would like to make a sparse file and attach it using > mdconfg then > dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0 > This will give you a sparse file that reports a gig in size, but only > uses whats actually in use. Note that "truncate -s 1G file" will do the same with IMHO easier syntax. - Pieter From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 14:47:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3F571065673 for ; Wed, 23 Jun 2010 14:47:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id A9E6F8FC2A for ; Wed, 23 Jun 2010 14:47:29 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o5NElQ9o006850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 09:47:26 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o5NElPb8069252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 09:47:25 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o5NElP5Q069251; Wed, 23 Jun 2010 09:47:25 -0500 (CDT) (envelope-from dan) Date: Wed, 23 Jun 2010 09:47:25 -0500 From: Dan Nelson To: Anton Shterenlikht Message-ID: <20100623144725.GA72602@dan.emsphone.com> References: <20100623125231.GA55968@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623125231.GA55968@mech-cluster241.men.bris.ac.uk> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 23 Jun 2010 09:47:26 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: which /etc/src.conf options prevent moused rebuilding? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 14:47:30 -0000 In the last episode (Jun 23), Anton Shterenlikht said: > I've an old slow i386 running -current r209398 > > Because it's slow I don't build everything. Here's my > /etc/src.conf: > [...] > WITHOUT_LEGACY_CONSOLE= [...] > followed by the standard update procedure > > # make buildworld > # make buildkernel > # make installkernel > # reboot (single user) > # make installworld > # mergemaster > # make delete-old > # make delete-old-libs > > I was left with old moused: > > # moused > /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required by "moused" > # >From /usr/src/usr.sbin/Makefile : # XXX MK_SYSCONS # XXX is moused w/ usb useful? .if ${MK_LEGACY_CONSOLE} != "no" _kbdcontrol= kbdcontrol _kbdmap= kbdmap _moused= moused _vidcontrol= vidcontrol .endif Setting WITHOUT_LEGACY_CONSOLE= sets MK_LEGACY_CONSOLE=no, which disables moused. It should probably be removed and built unconditionally, since yes, moused is useful with usb :) -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 14:54:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74268106566C for ; Wed, 23 Jun 2010 14:54:49 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3348FC18 for ; Wed, 23 Jun 2010 14:54:48 +0000 (UTC) Received: by gwb11 with SMTP id 11so842315gwb.13 for ; Wed, 23 Jun 2010 07:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8bPlSvfdXGG7VwOquvoyD1OBIIzFfFyQkSv2tz7P8s0=; b=H/W7WHPgzXQ6TV9msxvQBNuiZuQIYBVbbl5klMsUVtSFlfNSMDYsz2am+MOdI3pwZL wDxCi1Ir1d2hlbegzhjphlyB3uCyUK28m/dCTFnBs+7rOEoYvBfrR8sT8kNGOXPuWOSc Hoy0B2ph0OgKrpIPdes52d0smVVHyAxqEhDpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h74cOtgI9UExtS2j6kqAhx3IoSzzzRZAmU+uD+rgwn9/LU8AJ1p7ObHIn7VKQ0OJUn ntJxTSXyLgNkTx+x9501J+1i/asxM7SjAQfO7tYBMmXloCGTlJ+1yBiJCVLChLaR/aw7 Sb7hEiAobsFow6EVFdlk+EgrcQq/UaewdT/8M= MIME-Version: 1.0 Received: by 10.90.8.1 with SMTP id 1mr4393155agh.35.1277304888113; Wed, 23 Jun 2010 07:54:48 -0700 (PDT) Received: by 10.90.98.5 with HTTP; Wed, 23 Jun 2010 07:54:48 -0700 (PDT) In-Reply-To: <4BFFAB30.8050307@cran.org.uk> References: <4BFFA988.7020807@stillbilde.net> <4BFFAB30.8050307@cran.org.uk> Date: Wed, 23 Jun 2010 10:54:48 -0400 Message-ID: From: Kevin Wilcox To: Bruce Cran Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Free BSD Questions list Subject: Re: FreeBSD router - large scale X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 14:54:49 -0000 On 28 May 2010 07:38, Bruce Cran wrote: > This is possibly the wrong place to be saying this, but isn't OpenBSD > usually recommended for > routers? I believe the version of pf, for example, is normally kept more > up-to-date than than > in FreeBSD. =C2=A0The major downside I know of is that it's not nearly as > user-friendly; for example > my recollection of its installer is that you have to input sector offsets > manually in the partition editor! Bruce - sorry for taking so long to reply, this project has been slow-movin= g. Yes, you are correct, OpenBSD is typically used in this situation and, if the project were strictly for a routing component, it may indeed be a better choice. My concern was that if we decided to add any proxy capability then we would need much more RAM than OpenBSD could address (this will front at least 8k users). I have found the OpenBSD installer to be quite friendly but that's probably because it is pretty minimal and just sort of "clicks" with me. As long as you're dedicating the system to *BSD, I generally prefer the OpenBSD installer for its flow but have found no particular allegiance with either their installer or sysinstall. As long as I can have a running system within four or five minutes of powering on with the install CD, I don't really care. kmw --=20 A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 15:06:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AD83106564A for ; Wed, 23 Jun 2010 15:06:41 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 182408FC2F for ; Wed, 23 Jun 2010 15:06:40 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1ORRXD-00045s-Qm; Wed, 23 Jun 2010 16:06:39 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1ORRXD-0007Fv-DG; Wed, 23 Jun 2010 16:06:39 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o5NF6dn8030904; Wed, 23 Jun 2010 16:06:39 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o5NF6ccF030899; Wed, 23 Jun 2010 16:06:38 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 23 Jun 2010 16:06:38 +0100 From: Anton Shterenlikht To: Dan Nelson Message-ID: <20100623150638.GA25240@mech-cluster241.men.bris.ac.uk> References: <20100623125231.GA55968@mech-cluster241.men.bris.ac.uk> <20100623144725.GA72602@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623144725.GA72602@dan.emsphone.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: which /etc/src.conf options prevent moused rebuilding? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 15:06:41 -0000 On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote: > In the last episode (Jun 23), Anton Shterenlikht said: > > I've an old slow i386 running -current r209398 > > > > Because it's slow I don't build everything. Here's my > > /etc/src.conf: > > > [...] > > WITHOUT_LEGACY_CONSOLE= > [...] > > followed by the standard update procedure > > > > # make buildworld > > # make buildkernel > > # make installkernel > > # reboot (single user) > > # make installworld > > # mergemaster > > # make delete-old > > # make delete-old-libs > > > > I was left with old moused: > > > > # moused > > /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required by "moused" > > # > > >From /usr/src/usr.sbin/Makefile : > > # XXX MK_SYSCONS > # XXX is moused w/ usb useful? > .if ${MK_LEGACY_CONSOLE} != "no" > _kbdcontrol= kbdcontrol > _kbdmap= kbdmap > _moused= moused > _vidcontrol= vidcontrol > .endif > > Setting WITHOUT_LEGACY_CONSOLE= sets MK_LEGACY_CONSOLE=no, which disables > moused. It should probably be removed and built unconditionally, since yes, > moused is useful with usb :) Dan, many thanks I wish src.conf(5) man page were more descriptive on this option. At present it only contains: WITHOUT_LEGACY_CONSOLE Set to not build programs that support a legacy PC console; e.g. kbdcontrol(8) and vidcontrol(8). so I though it doesn't affect moused. Maybe I should post to @doc about this.. thank you again anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 15:21:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44069106566B for ; Wed, 23 Jun 2010 15:21:28 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id F0E598FC08 for ; Wed, 23 Jun 2010 15:21:27 +0000 (UTC) Received: by mail-gx0-f182.google.com with SMTP id 3so754960gxk.13 for ; Wed, 23 Jun 2010 08:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QQ2G2aPhK36mue1FGDVCFa6uGxOAGe5cZg39Lb6I0N4=; b=Jwl0oMomN5eH2IdhL+Z32kw0D4klH/zuVaAuEj2x0EMU7gpfEb9Gzi2nKHFTcbV3fg u9rnVi76mF4bxw/C93sHgYZ+j6FdwU8BUDLqDeRdX17GiJWPfH8CkOPuTsGgcLHXWoda ArxX04FMXu3tIxeYy5JgoVR/JNwUliG7gTD34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HFu6tzLoXZS7Yl+K6gN+lltwoBZQ55lUCgAWa6ML7I1mWC5hGee9HPrgjCzRIlPSJ3 R1uDToq1DSG1BG5CRmsGJ6d92NmCoB9JHcnFNmtIxHUvGS9MkVdx5bglR9tRuKUeagQA buzV9wGE0039WVVB1DbivS/2uzcb8Y+uFDicY= MIME-Version: 1.0 Received: by 10.90.219.1 with SMTP id r1mr5201601agg.118.1277306487688; Wed, 23 Jun 2010 08:21:27 -0700 (PDT) Received: by 10.90.98.5 with HTTP; Wed, 23 Jun 2010 08:21:27 -0700 (PDT) In-Reply-To: <4BFE99EB.50208@infracaninophile.co.uk> References: <4BFE99EB.50208@infracaninophile.co.uk> Date: Wed, 23 Jun 2010 11:21:27 -0400 Message-ID: From: Kevin Wilcox To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Free BSD Questions list Subject: Re: FreeBSD router - large scale X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 15:21:28 -0000 On 27 May 2010 12:12, Matthew Seaman wrot= e: > The hardest job I've had an OpenBSD firewall do is actually as a > mid-level firewall between a DMZ full of web servers and a back-end > database layer. =C2=A0The thing to watch out for is running out of states= in > PF. =C2=A0It's trivial to change that in the config, and given a machine = with > 1GB or so RAM dedicated to running PF, you can up the number of states > by a factor of a hundred or more without problem. =C2=A0Also if you know = all > your connections are from directly attached networks and very low > latency, you can be a lot more aggressive about dropping old states. Matthew - thanks for the information! For other reasons I'm limited to about 500k states...since our typical hardware build has at least 4GB of RAM, I'm not overly concerned about RAM exhaustion when routing. As I stated in another post the potential for something like a squid cache does exist, in which case I'll take all the RAM I can get my hands on (a 16GB+ build is not out of the question at that point). Preliminary testing has been favorable. My big concerns have mostly been related to state and packets per second. The first test environment was as follows: | one NIC, 4 routable addresses | | ------------------------------ | FreeBSD 8 Router | ------------------------------ | | one NIC with aliases for | 10.10.10.254 | 10.10.20.254 | 10.10.30.254 | 10.10.40.254 | ---------------- | switch | ---------------- Attached to the switch are four workstations/laptops: 10.10.10.1/255.255.255.0 10.10.20.1/255.255.255.0 10.10.30.1/255.255.255.0 10.10.40.1/255.255.255.0 All connections are gigabit. The idea is that in a production environment, we'll have multiple /22 networks coming in so I wanted to test having multiple network aliases. There will be a pool of public addresses for the outside interface(s), possibly as large as a class C but probably 20 - 30 addresses. By using sticky-address on a NAT rule, we can watch each RFC-1918 address get mapped to a different outside address via round-robin while enforcing that all connections from one inside host are consistently mapped to the same external address. Generating 10k active pings on each of the workstations/laptops, we were able to get an idea of how the machine would respond with 80k active states (two per connection, one in each direction). Adding in a couple of BitTorrent and HTTP .iso downloads only supported the conclusions we were beginning to form. Currently I'm testing it with multiple BitTorrent downloads and a very lively World of Warcraft installer. While nowhere near an indication of what we could expect in production it is showing us RAM usage, processor usage and state maintenance behaviour that gives us pretty good indications that we can go ahead and test in a larger environment. Like I said, we are otherwise limited to approximately 500k states (actually 250k connections) and only about half of that will be allotted for the population this project is targeting so testing with 100k states is actually pretty realistic at this point. We will wait, of course, to attempt a production deployment until after we have tested with a larger sample of the target population. Thanks to everyone for their comments and suggestions, both on and off list= ! kmw --=20 A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 15:22:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A4161065677 for ; Wed, 23 Jun 2010 15:22:04 +0000 (UTC) (envelope-from stopeme@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 96F3A8FC17 for ; Wed, 23 Jun 2010 15:22:00 +0000 (UTC) Received: by fxm7 with SMTP id 7so3674996fxm.13 for ; Wed, 23 Jun 2010 08:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=QfLhkmM/ilmkDCPct/vRRJpScHC+GvUwhiub6FCsQa0=; b=aQSPz7pk7hpNSzKsX3xcqCBWjdyhIXyiV+zX1BJSkLXiUCesNqyfl0hOErk6kALTkZ MQkf2jPP1BncdTlxwNEE5/ZUtpQyuOfI8MqOifBKbCu1frt9oj5QpjiTqF7tejGddO+u eEwaKRCGcK+M1VaY6gt1ukV7loFksaomiTmkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=joH44DXjQC7LscOVN6qnDday8A+oYz1bdelqVyzMxVFrPB4jcT5+1tgfLp6VlJHZtY cpAOJoxe+bE38U9/8iakcHrCdCEiIrGCusIq/PzomS2TmPSEip3pSZzIVfC3FdCx3V54 ZjumLuF4geYdYbeX6cREYfigA7DJAYeR77izI= Received: by 10.102.226.3 with SMTP id y3mr2673393mug.101.1277306519297; Wed, 23 Jun 2010 08:21:59 -0700 (PDT) Received: from [192.168.110.20] ([87.120.162.65]) by mx.google.com with ESMTPS id y15sm13458822fkd.8.2010.06.23.08.21.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Jun 2010 08:21:58 -0700 (PDT) Message-ID: <4C22268F.4050100@gmail.com> Date: Wed, 23 Jun 2010 18:21:51 +0300 From: oklahoma User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201006212053.o5LKqlW9095437@dc.cis.okstate.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 15:22:04 -0000 Chuck Swiger wrote: > >> ises? >> > > Yes, you want: > > /usr/ports/misc/compat6x > is there any difference between the port and kernel options compat_freebsd6 beside compiling of kernel vs installing port? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 15:22:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3523106566B for ; Wed, 23 Jun 2010 15:22:24 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 997C08FC0C for ; Wed, 23 Jun 2010 15:22:24 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o5NFMNru011466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 10:22:23 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o5NFMMHX053942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 10:22:23 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o5NFMMAd053941; Wed, 23 Jun 2010 10:22:22 -0500 (CDT) (envelope-from dan) Date: Wed, 23 Jun 2010 10:22:22 -0500 From: Dan Nelson To: Anton Shterenlikht Message-ID: <20100623152222.GB72602@dan.emsphone.com> References: <20100623125231.GA55968@mech-cluster241.men.bris.ac.uk> <20100623144725.GA72602@dan.emsphone.com> <20100623150638.GA25240@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623150638.GA25240@mech-cluster241.men.bris.ac.uk> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 23 Jun 2010 10:22:24 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: which /etc/src.conf options prevent moused rebuilding? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 15:22:25 -0000 In the last episode (Jun 23), Anton Shterenlikht said: > On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote: > > In the last episode (Jun 23), Anton Shterenlikht said: > > > I've an old slow i386 running -current r209398 > > > > > > Because it's slow I don't build everything. Here's my > > > /etc/src.conf: > > > > > [...] > > > WITHOUT_LEGACY_CONSOLE= > > [...] > > > followed by the standard update procedure > > > > > > # make buildworld > > > # make buildkernel > > > # make installkernel > > > # reboot (single user) > > > # make installworld > > > # mergemaster > > > # make delete-old > > > # make delete-old-libs > > > > > > I was left with old moused: > > > > > > # moused > > > /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required by "moused" > > > # > > > > >From /usr/src/usr.sbin/Makefile : > > > > # XXX MK_SYSCONS > > # XXX is moused w/ usb useful? > > .if ${MK_LEGACY_CONSOLE} != "no" > > _kbdcontrol= kbdcontrol > > _kbdmap= kbdmap > > _moused= moused > > _vidcontrol= vidcontrol > > .endif > > > > Setting WITHOUT_LEGACY_CONSOLE= sets MK_LEGACY_CONSOLE=no, which > > disables moused. It should probably be removed and built > > unconditionally, since yes, moused is useful with usb :) > > Dan, many thanks > > I wish src.conf(5) man page were more descriptive on this option. > At present it only contains: > > WITHOUT_LEGACY_CONSOLE > Set to not build programs that support a legacy PC console; > e.g. kbdcontrol(8) and vidcontrol(8). > > so I though it doesn't affect moused. Also note that "legacy PC console" means syscons, so unless this is a headless machine you only connect to via a serial port or ssh, you probably want to leave it enabled. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 16:35:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9567D106566C for ; Wed, 23 Jun 2010 16:35:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 561B98FC21 for ; Wed, 23 Jun 2010 16:35:45 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 3B8341D96C; Wed, 23 Jun 2010 18:35:44 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5NGZguH001548; Wed, 23 Jun 2010 18:35:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Jun 2010 18:35:42 +0200 From: Polytropon To: Gary Kline Message-Id: <20100623183542.1d6aef45.freebsd@edvax.de> In-Reply-To: <20100623051418.GA80985@thought.org> References: <20100623051418.GA80985@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: before i even =touch= my server again.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 16:35:49 -0000 On Tue, 22 Jun 2010 22:14:20 -0700, Gary Kline wrote: > fsck seemed to fix most slices, but a check as root > told me the /var was//IS still dirty. Q: how can i umount /var > and run fsck -y without going single-user? remember that in order to > regain keyboard control of ethic i have to crawl under deskm, muck > around, etc. There is a way that can be used (allthough it usually should not): # umount -f /var # fsck /var Of course, all write attempts to /var will then fail. If /var is in a clean state again, run # mount /var to make it accessible again. Before you re-mount, make sure that there are no offending files in the mountpoint /var (which should be empty while unmounted). > how does fsck work, backgrounded? Bad. :-) No, seriously, I just don't trust it. I can stand downtine, so I better let fsck do its work on unmounted partitions than letting it run in the background, while the system boots up with possibly dirty partitions... and you never know what else can happen. I usually take the time neccessary for a foreground-fsck - it's not that it needs to be done twice a day. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 17:59:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B210106564A for ; Wed, 23 Jun 2010 17:59:56 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBEA8FC08 for ; Wed, 23 Jun 2010 17:59:55 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1264779fgb.13 for ; Wed, 23 Jun 2010 10:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/S2f0cIHXuFQdhvSEDRmflfNZAcWdyw8RuHgKneexXQ=; b=PGrM4B+NrF0dx5gY7WaMwul7BOtccFVrZzKmjn0u6yschASMn36wQ7GdDBOwRYDH/p stX5Hoda2F3ej/ihX01X0jHj7mRjfNWvOqIO40dToCDSQxmlsnSJCNr3hhbNOIQL3C3c N0jRa0D1LQm4ry8QBDjcZTvKbV2u2KXX01T+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UTdQGKLCnS0Pyg6k7lSLJ0WNxJE7lmBeQNTK1zNQVmFiVwDBEu34xbzWml+IbuqLni x7h2mMKs2FLxhsAi2MVAt4bLn19zP5/poY4dDhJUdpWHQeT+BKJLH301CZaD9f+ztQJE Jmoa8mCOD0KK6Ebw6uwds5ZVzh2MmP34oMWHE= MIME-Version: 1.0 Received: by 10.239.174.14 with SMTP id h14mr615342hbf.108.1277315993779; Wed, 23 Jun 2010 10:59:53 -0700 (PDT) Received: by 10.239.165.129 with HTTP; Wed, 23 Jun 2010 10:59:53 -0700 (PDT) In-Reply-To: <4C2110BD.5060109@locolomo.org> References: <29017079-55A2-406B-891B-6EEB239EF730@mac.com> <4C2110BD.5060109@locolomo.org> Date: Wed, 23 Jun 2010 18:59:53 +0100 Message-ID: From: krad To: Erik Norgaard Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: iptables equivaelnt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 17:59:56 -0000 On 22 June 2010 20:36, Erik Norgaard wrote: > On 21/06/10 20.06, pete wright wrote: > >> On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: >>> >>>> I'm particuclary trying to implement some type of rate control as we >>>> are getting hammered by spam. >>>> >>> >> I'd humbly suggest pf + spamd if you are concerned specifically about >> stopping spam, both are supported by freebsd and i have had great >> success using these tools to combat spam. >> > > spamd does not stop spam. It is intented to increase the cost of sending > spam at little cost to your server by keeping the spammer busy trying. > > If you're concerned with blocking spam from a limited set of known source= s, > then you can create block lists in your firewall. If you know that you wi= ll > not receive legitimate mails from certain countries, you can block their > assigned IP ranges. > > If you're trying to block large number of unknown sources, then I suggest > subscribing to spamhaus' lists and configure your server to adhere strict= ly > to the protocols. > > You may wish to subscribe to lists of dynamic ip-ranges. These are often > considered spam sources hosting a large number of bot-nets However, you = may > also block mail from legitimate servers run by people who like to run the= ir > own home server - such as FreeBSD users. > > There is only limited benefit of some kind of rate control and I believe > that such controls must be implemented in your mail server. Implementing > rate control mail also delay legitimate mail, and depending on how you do > it, spammers may even cause a DOS against your server. > > Anyway, to avoid spammers eating up server resources, check your server > config: > > 1. ensure that the spam decision is reached as fast as possible > 2. consider early whitelisting of the most common legitimate mail sources > 3. DNS block lists should be last as they add additional delay, possibly > you can configure a local dns cache to shorten delay > > BR, Erik > -- > Erik N=F8rgaard > Ph: +34.666334818/+34.915211157 http://www.locolomo.org > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > true spamd doesnt block spam it rates it. However these ratings on host can be used to build an ip list which can be applied to a pf table. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 18:03:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1192106566C for ; Wed, 23 Jun 2010 18:03:09 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id B28608FC12 for ; Wed, 23 Jun 2010 18:03:09 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id B680995E90 for ; Wed, 23 Jun 2010 13:03:08 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KD5fcLV9vTXV for ; Wed, 23 Jun 2010 13:03:05 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [10.45.12.8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id BF5A295E87 for ; Wed, 23 Jun 2010 13:03:05 -0500 (CDT) Message-ID: <4C224C57.6000801@strauser.com> Date: Wed, 23 Jun 2010 13:03:03 -0500 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100623051418.GA80985@thought.org> <20100623183542.1d6aef45.freebsd@edvax.de> In-Reply-To: <20100623183542.1d6aef45.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: before i even =touch= my server again.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 18:03:10 -0000 On 06/23/10 11:35, Polytropon wrote: > Of course, all write attempts to /var will then fail. Or even worse: they'll succeeded. And then when you re-mount /var, you'll lose access to all the files you've written in the mean time. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 18:10:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CC18106566C for ; Wed, 23 Jun 2010 18:10:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E05508FC15 for ; Wed, 23 Jun 2010 18:10:25 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id F2E173CBDD; Wed, 23 Jun 2010 20:10:13 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5NIADlv001805; Wed, 23 Jun 2010 20:10:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Jun 2010 20:10:13 +0200 From: Polytropon To: Kirk Strauser Message-Id: <20100623201013.07f68ad3.freebsd@edvax.de> In-Reply-To: <4C224C57.6000801@strauser.com> References: <20100623051418.GA80985@thought.org> <20100623183542.1d6aef45.freebsd@edvax.de> <4C224C57.6000801@strauser.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: before i even =touch= my server again.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 18:10:26 -0000 On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser wrote: > On 06/23/10 11:35, Polytropon wrote: > > Of course, all write attempts to /var will then fail. > > Or even worse: they'll succeeded. And then when you re-mount /var, > you'll lose access to all the files you've written in the mean time. True, an important advice. In case /var is not mounted, the /var directory on / will be just a "plain directory". Depending on program behaviour, it is possible that logging programs create a new file when missing a file to append. In this case, / will fill with such files in /var. It's important to remove them prior to re-mounting /var. It is possible to move them, e. g. to /tmp, and immediately append them to the correct files after re-mounting /var. But if (small) data loss is acceptable for the time needed to fix /var, it is an option. Another possibility is - but I never tried it - to force fsck to check a mounted partition that is in use. # fsck -yf /var This may (!) cause other forms of damage, allthough fsck should be able to correct most usual problems. It's a good approach to stop as many services as possible that could want to write to /var, and restart them after /var is clean and mounted again. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 18:31:38 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B1B106564A for ; Wed, 23 Jun 2010 18:31:38 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id EDD148FC28 for ; Wed, 23 Jun 2010 18:31:37 +0000 (UTC) Received: by wwb24 with SMTP id 24so965813wwb.13 for ; Wed, 23 Jun 2010 11:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=GANoPJ32XlsC3tNGVxv8FzhxRwOrWSUp7g89zIYaKQk=; b=c/PP+4V+WjrFtBcZRaJVT+6viUMuKD7EWHJbuewhBqY7A2cOebxY/DSU9CYScBJwfD Lj3IpG5MbH8T0EuPyfOvFnLUSt6LaGYeeXTbiSaeesNoroUHwCVtxsUpn7H/HEmazDf4 R5tGTmD8WBeuwX+mtEynyHOs/0KZuR4jFveLA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=Z/VQvIvG6pYv+gEsGn0QGpjbPxrrGnHNNK8vZpeHb4Sk8922LZfBWnHdQRIgBmsji6 WprUvmKRar+mR6Do7tCnSAvQ25HCzyqr5+rx4JSrssXhrvzmPtVytarfGCP6Nt6iCvCE ssWRf3MWET1srzRUl+bAwTs60L1TMnPLtp7K0= MIME-Version: 1.0 Received: by 10.227.152.194 with SMTP id h2mr8062080wbw.196.1277317896738; Wed, 23 Jun 2010 11:31:36 -0700 (PDT) Received: by 10.216.58.149 with HTTP; Wed, 23 Jun 2010 11:31:36 -0700 (PDT) Date: Wed, 23 Jun 2010 18:31:36 +0000 Message-ID: From: "b. f." To: oklahoma Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Running Older Binaries under 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 18:31:38 -0000 oklahoma wrote: >> /usr/ports/misc/compat6x >> >is there any difference between the port and kernel options >compat_freebsd6 beside compiling of kernel vs installing port? Yes. The kernel options provide kernel compatibility and the ports provide userland compatibility. You need both to run older binaries. b. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 21:00:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAB471065678 for ; Wed, 23 Jun 2010 21:00:47 +0000 (UTC) (envelope-from rcfarnes@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id A5F078FC0A for ; Wed, 23 Jun 2010 21:00:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([unknown] [80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L4H005LEJPA4SC0@thalia-smout.broadpark.no> for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 23:00:46 +0200 (CEST) Received: from unknown-00-11-09-ab-bf-c1.lan ([unknown] [80.202.87.101]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L4H00G2RJP9O1Q0@terra-smin.broadpark.no> for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 23:00:46 +0200 (CEST) From: Richard T C Farnes To: freebsd-questions@freebsd.org Date: Wed, 23 Jun 2010 23:00:44 +0200 User-Agent: KMail/1.9.7 References: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> In-reply-to: <6BBBA4BE-53BE-486E-B26C-0630A285763E@balholm.com> Message-id: <201006232300.44554.rcfarnes@broadpark.no> Subject: Re: X not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 21:00:48 -0000 On Tuesday 22 June 2010 19:52:54 Andy Balholm wrote: > I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1: > > When I type startx, the X server starts, and some xterm windows open, but > it will not respond to keyboard or mouse input. The mouse pointer won't > move, and the only keyboard input that does anything is CTRL-ALT-F1 etc. to > switch virtual terminals. > > If I install FreeBSD 7.1, which installs Xorg straight from the > installation CD, it works fine. Under version 8, I've tried installing from > ports and packages, and I get this problem. > > When I first had this problem, I was running it under VirtualBox, so I > thought maybe it was because VirtualBox's FreeBSD support is incomplete. > But now I've tried it on real PC hardware, and I have the same problem. > > Obviously some people must be running X under FreeBSD 8, so I must be doing > something wrong in my installation or configuration, but I can't guess what > it is. > > Andy Balholm > (509) 276-2065 > andy@balholm.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Here it looks like you have made some mistakes in the configuring file for X. You did not mention that you have configured it. After X has been installed you must go into the X configuration file and configure your keyboard and mouse etc for use with it. When I installed X on my version 7 BSD I had to use some time tuning this file so X would work properly. The file gives you alternatives like which language keyboard you use and how your mouse works and other settings. Regards Richard Farnes From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 21:40:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9511C106566C for ; Wed, 23 Jun 2010 21:40:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBCC8FC08 for ; Wed, 23 Jun 2010 21:40:51 +0000 (UTC) Received: (qmail 7915 invoked from network); 23 Jun 2010 21:40:50 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Jun 2010 21:40:50 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E52AC5084D; Wed, 23 Jun 2010 17:40:49 -0400 (EDT) From: Lowell Gilbert To: Martin Minkus References: Date: Wed, 23 Jun 2010 17:40:48 -0400 In-Reply-To: (Martin Minkus's message of "Wed, 23 Jun 2010 16:00:52 +1200") Message-ID: <44hbkt4ecf.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: sshd / tcp packet corruption ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 21:40:51 -0000 Martin Minkus writes: > It seems this issue I reported below may actually be related to some > kind of TCP packet corruption ? Possible. Or memory errors. Hard to say much at this point, when you don't even know which side is actually causing the errors. > Still same box. I=92ve noticed my SSH connections into the box will die > randomly, with errors. > >=20=20 > > Sshd logs the following on the box itself: > >=20=20 > > Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from > 10.64.10.251: 2: Invalid packet header. This probably indicates a > problem with key exchange or encryption.=20 > You might find more useful information by getting verbose messages from the other end.=20=20 I don't have time to check this in detail, but if I recall correctly, that message means that the other side closed the connection based on an apparent invalid header type in a packet that 'kinetic' received. Random corruption isn't likely in that case, because the error is always in the same place in the packet. Check the 'netstat -i' numbers to see if the drivers are picking up any packet errors. It's hard to debug network problems in ssh, though, because (obviously) you can't tell in general whether packet data is corrupt. If you can set up a test case with, say, UDP echo, that would be easier to see the damage to the packets if they are, in fact, being corrupted.=20=20 Unfortunately, I'm so used to having sophisticated test equipment in the lab to look at these kinds of problems that I'm probably missing what would be obvious to someone who deals with problems "in the field." Hope I've been somewhat helpful anyway. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 21:43:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E87106564A for ; Wed, 23 Jun 2010 21:43:46 +0000 (UTC) (envelope-from martin.minkus@punz.co.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 604388FC1A for ; Wed, 23 Jun 2010 21:43:45 +0000 (UTC) Received: from silver.pulse.local (mail.pulseenergy.co.nz [203.167.138.163]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0L4H004M2LOV6E20@smtp5.clear.net.nz> for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 09:43:44 +1200 (NZST) Received: from silver.pulse.local (localhost [127.0.0.1]) by silver.pulse.local (8.13.8/8.13.8) with ESMTP id o5NLhg5P006937 for ; Thu, 24 Jun 2010 09:43:43 +1200 Content-return: prohibited Date: Thu, 24 Jun 2010 09:43:42 +1200 From: Martin Minkus In-reply-to: <44hbkt4ecf.fsf@be-well.ilk.org> To: freebsd-questions Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline x-scalix-Hops: 1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on silver.pulse.local X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Subject: RE: sshd / tcp packet corruption ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 21:43:46 -0000 Thanks for the reply. I actually posted a response to this original=20 message with more details showing just raw tcp data sent from one box to=20 another box is getting corrupted. The culprit is definitely kinetic. Futhermore, i've determined both NICs are doing it. kinetic:~# netstat -i Name Mtu Network Address Ipkts Ierrs Idrop =20 Opkts Oerrs Coll em0 1500 00:0e:0c:6b:d6:d3 222249 0 0 =20 190062 0 0 em0 1500 10.64.10.0 kinetic 198516 - - =20 189315 - - nfe0 1500 00:24:1d:15:11:48 17932 0 0 =20 219 0 0 nfe0 1500 10.64.11.0 10.64.11.253 12675 - - =20 217 - - plip0 1500 0 0 0 =20 0 0 0 lo0 16384 592 0 0 =20 592 0 0 lo0 16384 fe80:4::1 fe80:4::1 0 - - =20 0 - - lo0 16384 localhost ::1 0 - - =20 0 - - lo0 16384 your-net localhost 552 - - =20 592 - - kinetic:~#=20 Perhaps it is ram, though.... good point. I'll do a memtest. Martin. -----Original Message----- From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org]=20 Sent: Thursday, 24 June 2010 09:41 To: Martin Minkus Cc: freebsd-questions Subject: Re: sshd / tcp packet corruption ? Martin Minkus writes: > It seems this issue I reported below may actually be related to some > kind of TCP packet corruption ? Possible. Or memory errors. Hard to say much at this point, when you don't even know which side is actually causing the errors. > Still same box. Ive noticed my SSH connections into the box will die > randomly, with errors. > > =20 > > Sshd logs the following on the box itself: > > =20 > > Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from > 10.64.10.251: 2: Invalid packet header. This probably indicates a > problem with key exchange or encryption.=20 > You might find more useful information by getting verbose messages from the other end. =20 I don't have time to check this in detail, but if I recall correctly, that message means that the other side closed the connection based on an apparent invalid header type in a packet that 'kinetic' received. Random corruption isn't likely in that case, because the error is always in the same place in the packet. Check the 'netstat -i' numbers to see if the drivers are picking up any packet errors. It's hard to debug network problems in ssh, though, because (obviously) you can't tell in general whether packet data is corrupt. If you can set up a test case with, say, UDP echo, that would be easier to see the damage to the packets if they are, in fact, being corrupted. =20 Unfortunately, I'm so used to having sophisticated test equipment in the lab to look at these kinds of problems that I'm probably missing what would be obvious to someone who deals with problems "in the field." Hope I've been somewhat helpful anyway. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 23:03:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B72D106566C for ; Wed, 23 Jun 2010 23:03:26 +0000 (UTC) (envelope-from nlmills@g.clemson.edu) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6349E8FC08 for ; Wed, 23 Jun 2010 23:03:26 +0000 (UTC) Received: by gwb11 with SMTP id 11so1333404gwb.13 for ; Wed, 23 Jun 2010 16:03:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.192.27 with SMTP id u27mr7212293anp.230.1277332435141; Wed, 23 Jun 2010 15:33:55 -0700 (PDT) Received: by 10.100.47.12 with HTTP; Wed, 23 Jun 2010 15:33:55 -0700 (PDT) Date: Wed, 23 Jun 2010 18:33:55 -0400 Message-ID: From: Nicholas Mills To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Network card attaching to the wrong driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nlmills@clemson.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 23:03:26 -0000 All, I am running 8.0-RELEASE and having trouble with the ed driver that is compiled by default into GENERIC. My machine is actually a VM running under Parallels Server Bare Metal 4. I would like my card to be attached to the Parallels driver in ports (pvmnet) instead of ed. Is there some boot option I could use? Both device drivers are looking for the same PCI vendor/device id in their probe routines, and both drivers return the same value from their probe functions (so they have equal priority). Thanks, Nick Mills From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 23:38:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B17E9106564A for ; Wed, 23 Jun 2010 23:38:54 +0000 (UTC) (envelope-from cheeks@swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id 769A38FC0A for ; Wed, 23 Jun 2010 23:38:54 +0000 (UTC) Received: from ame2.swcp.com (ame2.swcp.com [216.184.2.119]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5NNS3cV013448 for ; Wed, 23 Jun 2010 17:28:03 -0600 Received: from risu.swcp.com (risu.swcp.com [216.184.2.5]) by ame2.swcp.com (8.14.4/8.14.3) with ESMTP id o5NNReTB014070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 17:27:40 -0600 (MDT) (envelope-from cheeks@swcp.com) Received: from risu.swcp.com (localhost.swcp.com [127.0.0.1]) by risu.swcp.com (8.13.3/8.13.1) with ESMTP id o5NNS1N6006722 for ; Wed, 23 Jun 2010 17:28:01 -0600 (MDT) (envelope-from cheeks@risu.swcp.com) Received: (from cheeks@localhost) by risu.swcp.com (8.13.3/8.13.1/Submit) id o5NNS1ba006721 for freebsd-questions@freebsd.org; Wed, 23 Jun 2010 17:28:01 -0600 (MDT) (envelope-from cheeks) Date: Wed, 23 Jun 2010 17:28:01 -0600 From: Mark Costlow To: freebsd-questions@freebsd.org Message-ID: <20100623232801.GA5925@risu.swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 X-Scanned-By: MIMEDefang 2.67 on 216.184.2.127 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ame2.swcp.com [216.184.2.127]); Wed, 23 Jun 2010 17:27:40 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame2.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame2.swcp.com X-Spam-Level: X-Spam-Status: No, hits=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=no version=3.2.5 Subject: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 23:38:54 -0000 I hope this question isn't too stupid. I have a machine with a 3Ware RAID card, with 4 SATA drives attached. 2 drives are 250GB in a RAID1 volume, and act as the boot disk with a standard freebsd partiction map (/, /var, /usr, and swap on this disk). The other 2 drives are 1TB in a RAID1 volume, intended to be mounted as a separate data partition. At boot both volumes are recognized: Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 Jun 22 18:38:51 ebi7 kernel: da0: Fixed Direct Access SCSI-5 device Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte sectors: 255H 63S/T 30392C) Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 Jun 22 18:38:51 ebi7 kernel: da1: Fixed Direct Access SCSI-5 device Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte sectors: 255H 63S/T 121575C) da0 is fine, and the system boots off of it with no problem. When I try to add da1 to the system, I get the following: * Run systinstall, Configure, Fdisk, select da1 * Get the friendly warning about the large geometry, click "Yes" * Hit "A" to use entire disk. Hit "W" to save, click "Yes", select "None" for boot record. * Fdisk says: "Wrote FDISK partition information out successfully." * Per handbook, get out of sysinstall and re-run it, then try to Label. In the label editor, it knows nothing about da1 (the device can be selected when going into the label editor, but I can't create any partitions). At the time when Fdisk says "Wrote FDISK partition information out, successfully." this gets logged to /var/log/messages: Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT detected. Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be recoverable. I've tried several variations, including running the command-line equivalents, but keep hitting this same error (fdisk thinks everything is good, but the GPT error is logged). I've also noticed that /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm not sure when those should get created. And the final possibly-relevant tidbit: these drives used to be part of a different RAID on a linux system. They've been re-initialized into the RAID card on this system, and I've zero'd the first 1k of the volume with dd, so I don't *think* that should be a factor. I've worked with about a dozen systems with the same hardware in the configuration outlined above and haven't seen this problem before. But I'm usually using fresh new disks so maybe it matters. I've googled this issue and found several people reporting similar symptoms over the years, but haven't found any posted solutions aside from telling people to read geom(8). Any hints or clue-by-fours? Mark -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Shoe Pole - 2009-07-07 20:18:22 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 23:46:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F20106564A for ; Wed, 23 Jun 2010 23:46:41 +0000 (UTC) (envelope-from nlmills@g.clemson.edu) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 321AD8FC13 for ; Wed, 23 Jun 2010 23:46:40 +0000 (UTC) Received: by gwb11 with SMTP id 11so1357030gwb.13 for ; Wed, 23 Jun 2010 16:46:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.147.1 with SMTP id z1mr7176581ann.241.1277336798608; Wed, 23 Jun 2010 16:46:38 -0700 (PDT) Received: by 10.100.47.12 with HTTP; Wed, 23 Jun 2010 16:46:38 -0700 (PDT) In-Reply-To: <20100623232801.GA5925@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> Date: Wed, 23 Jun 2010 19:46:38 -0400 Message-ID: From: Nicholas Mills To: Mark Costlow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nlmills@clemson.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 23:46:41 -0000 Mark, I'm certainly no expert, but I think I can point you in the right direction. The system appears to be attempting to read from a GPT stored on the disk from when you used it on Linux. I'm not sure of the specifics, but I do know that some GPT info is stored near the end of the drive. The easy (but slow) solution would be to use dd to write zeros to the entire drive (da1). Hope this helps, Nick On Wed, Jun 23, 2010 at 7:28 PM, Mark Costlow wrote: > I hope this question isn't too stupid. > > I have a machine with a 3Ware RAID card, with 4 SATA drives attached. > > 2 drives are 250GB in a RAID1 volume, and act as the boot disk with > a standard freebsd partiction map (/, /var, /usr, and swap on this disk). > > The other 2 drives are 1TB in a RAID1 volume, intended to be mounted > as a separate data partition. At boot both volumes are recognized: > > Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 > Jun 22 18:38:51 ebi7 kernel: da0: Fixed Direct > Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte sectors: > 255H 63S/T 30392C) > Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 > Jun 22 18:38:51 ebi7 kernel: da1: Fixed Direct > Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte sectors: > 255H 63S/T 121575C) > > da0 is fine, and the system boots off of it with no problem. > > When I try to add da1 to the system, I get the following: > > * Run systinstall, Configure, Fdisk, select da1 > * Get the friendly warning about the large geometry, click "Yes" > * Hit "A" to use entire disk. Hit "W" to save, click "Yes", > select "None" for boot record. > * Fdisk says: "Wrote FDISK partition information out successfully." > * Per handbook, get out of sysinstall and re-run it, then > try to Label. In the label editor, it knows nothing about > da1 (the device can be selected when going into the label > editor, but I can't create any partitions). > > At the time when Fdisk says "Wrote FDISK partition information out, > successfully." this gets logged to /var/log/messages: > > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT detected. > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be > recoverable. > > > I've tried several variations, including running the command-line > equivalents, but keep hitting this same error (fdisk thinks everything > is good, but the GPT error is logged). I've also noticed that > /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm > not sure when those should get created. > > And the final possibly-relevant tidbit: these drives used to be > part of a different RAID on a linux system. They've been re-initialized > into the RAID card on this system, and I've zero'd the first 1k of > the volume with dd, so I don't *think* that should be a factor. > I've worked with about a dozen systems with the same hardware in > the configuration outlined above and haven't seen this problem > before. But I'm usually using fresh new disks so maybe it matters. > > I've googled this issue and found several people reporting similar > symptoms over the years, but haven't found any posted solutions > aside from telling people to read geom(8). > > Any hints or clue-by-fours? > > Mark > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 > > abq-strange.com -- Interesting photos taken in Albuquerque, NM > Last post: Shoe Pole - 2009-07-07 20:18:22 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 01:24:40 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9068E106566C for ; Thu, 24 Jun 2010 01:24:40 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9678FC16 for ; Thu, 24 Jun 2010 01:24:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMYAI9QIkzKRa1mPGdsb2JhbAAHh2iXUAEBAQE1J8MZhRsEg1k X-IronPort-AV: E=Sophos;i="4.53,470,1272816000"; d="scan'208";a="4890250" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 24 Jun 2010 09:24:38 +0800 Message-ID: <4C22B3D7.6070102@comclark.com> Date: Thu, 24 Jun 2010 09:24:39 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 01:24:40 -0000 Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? Thanks for for help. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:00:02 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07BF5106566B for ; Thu, 24 Jun 2010 02:00:02 +0000 (UTC) (envelope-from thomas.keusch@bsd-solutions-duesseldorf.de) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id BE36E8FC0A for ; Thu, 24 Jun 2010 02:00:01 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id BB15D1D32F4; Thu, 24 Jun 2010 03:37:55 +0200 (CEST) Date: Thu, 24 Jun 2010 03:37:55 +0200 From: Thomas To: questions@freebsd.org Message-ID: <20100624013755.GA5009@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C22B3D7.6070102@comclark.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:00:02 -0000 On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, > Receiving a variable from the command line that is suppose > to contain numeric values. > > How do I code a test to verify the content is numeric? http://www.google.com/search?q=shell+test+if+variable+numeric First link => http://www.unix.com/shell-programming-scripting/46276-check-variable-if-its-non-numeric.html Gosh, Google is full of answers these days.. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:11:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30BA106564A for ; Thu, 24 Jun 2010 02:11:55 +0000 (UTC) (envelope-from cheeks@same.swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id 75F5F8FC14 for ; Thu, 24 Jun 2010 02:11:55 +0000 (UTC) Received: from ame1.swcp.com (ame1.swcp.com [216.184.2.118]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5O1FGX0029543; Wed, 23 Jun 2010 19:15:16 -0600 Received: from same.swcp.com (same.swcp.com [216.184.2.4]) by ame1.swcp.com (8.14.4/8.14.3) with ESMTP id o5O1ExID078187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 19:15:00 -0600 (MDT) (envelope-from cheeks@same.swcp.com) Received: from same.swcp.com (localhost.swcp.com [127.0.0.1]) by same.swcp.com (8.14.2/8.14.2) with ESMTP id o5O1FDP3028218; Wed, 23 Jun 2010 19:15:13 -0600 (MDT) (envelope-from cheeks@same.swcp.com) Received: (from cheeks@localhost) by same.swcp.com (8.14.2/8.14.2/Submit) id o5O1FDhg028217; Wed, 23 Jun 2010 19:15:13 -0600 (MDT) (envelope-from cheeks) Date: Wed, 23 Jun 2010 19:15:13 -0600 From: Mark Costlow To: nlmills@clemson.edu Message-ID: <20100624011512.GA28133@same.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang 2.67 on 216.184.2.127 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ame1.swcp.com [216.184.2.127]); Wed, 23 Jun 2010 19:15:00 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame1.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame1.swcp.com X-Spam-Level: X-Spam-Status: No, hits=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=no version=3.2.5 Cc: freebsd-questions@freebsd.org, Mark Costlow Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:11:55 -0000 Since I don't have any other ideas yet, I'll give that a try. I'll let you know if it works tomorrow if it has finished by then :-) Mark On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote: > Mark, > I'm certainly no expert, but I think I can point you in the right > direction. The system appears to be attempting to read from a GPT > stored on the disk from when you used it on Linux. I'm not sure of the > specifics, but I do know that some GPT info is stored near the end of > the drive. The easy (but slow) solution would be to use dd to write > zeros to the entire drive (da1). > Hope this helps, > Nick > On Wed, Jun 23, 2010 at 7:28 PM, Mark Costlow <[1]cheeks@swcp.com> > wrote: > > I hope this question isn't too stupid. > I have a machine with a 3Ware RAID card, with 4 SATA drives > attached. > 2 drives are 250GB in a RAID1 volume, and act as the boot disk with > a standard freebsd partiction map (/, /var, /usr, and swap on this > disk). > The other 2 drives are 1TB in a RAID1 volume, intended to be mounted > as a separate data partition. At boot both volumes are recognized: > Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 > Jun 22 18:38:51 ebi7 kernel: da0: Fixed > Direct Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte > sectors: 255H 63S/T 30392C) > Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 > Jun 22 18:38:51 ebi7 kernel: da1: Fixed > Direct Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte > sectors: 255H 63S/T 121575C) > da0 is fine, and the system boots off of it with no problem. > When I try to add da1 to the system, I get the following: > * Run systinstall, Configure, Fdisk, select da1 > * Get the friendly warning about the large geometry, click "Yes" > * Hit "A" to use entire disk. Hit "W" to save, click "Yes", > select "None" for boot record. > * Fdisk says: "Wrote FDISK partition information out successfully." > * Per handbook, get out of sysinstall and re-run it, then > try to Label. In the label editor, it knows nothing about > da1 (the device can be selected when going into the label > editor, but I can't create any partitions). > At the time when Fdisk says "Wrote FDISK partition information out, > successfully." this gets logged to /var/log/messages: > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT > detected. > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be > recoverable. > I've tried several variations, including running the command-line > equivalents, but keep hitting this same error (fdisk thinks > everything > is good, but the GPT error is logged). I've also noticed that > /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm > not sure when those should get created. > And the final possibly-relevant tidbit: these drives used to be > part of a different RAID on a linux system. They've been > re-initialized > into the RAID card on this system, and I've zero'd the first 1k of > the volume with dd, so I don't *think* that should be a factor. > I've worked with about a dozen systems with the same hardware in > the configuration outlined above and haven't seen this problem > before. But I'm usually using fresh new disks so maybe it matters. > I've googled this issue and found several people reporting similar > symptoms over the years, but haven't found any posted solutions > aside from telling people to read geom(8). > Any hints or clue-by-fours? > Mark > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > [2]cheeks@swcp.com | Web: [3]www.swcp.com | Voice: +1-505-232-7992 > [4]abq-strange.com -- Interesting photos taken in Albuquerque, NM > Last post: Shoe Pole - 2009-07-07 20:18:22 > _______________________________________________ > [5]freebsd-questions@freebsd.org mailing list > [6]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[7]freebsd-questions-unsubscribe@freebsd.org" > > References > > 1. mailto:cheeks@swcp.com > 2. mailto:cheeks@swcp.com > 3. http://www.swcp.com/ > 4. http://abq-strange.com/ > 5. mailto:freebsd-questions@freebsd.org > 6. http://lists.freebsd.org/mailman/listinfo/freebsd-questions > 7. mailto:freebsd-questions-unsubscribe@freebsd.org -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Shoe Pole - 2009-07-07 20:18:22 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:20:50 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A3E106566C for ; Thu, 24 Jun 2010 02:20:50 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5185E8FC13 for ; Thu, 24 Jun 2010 02:20:50 +0000 (UTC) Received: by pvg6 with SMTP id 6so59217pvg.13 for ; Wed, 23 Jun 2010 19:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=y8iZui+8YQ8+kOSrABWd59E4pFC04qw18/9Qq8ZObW8=; b=H6m7/TztE6Jj1JnBXfNA0vjxF2EYdwRogTfS5Y8C+kva8Lncl9vlGRSzmt4cenT6b/ a/Ns0kamtxILTv1RImsUTjzFZvfHiu2M7pQQVoD1qYw9A4ICJ9lUMFcVPW3GLeAiovdW /LrbgnexHFtXRYlVDNK09bFxdxHWrp6mGJnFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=wv0SoVDIJAlUs8+OJdJrXW0pvRGn20GaWBmhHUmt8LD5R9NUMlDuUN5TG619ZJj12+ 1FZf4agMIz3K3PWsD1O5zK1FbdP1KchcB0J4AkTvezfJlh4/gC1cvfOQ8uUeixb6eQ5E yOIK5RmyLCyGca/107dApjfvTn2C0aDE15+8g= Received: by 10.142.74.6 with SMTP id w6mr8261599wfa.249.1277346049796; Wed, 23 Jun 2010 19:20:49 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id e16sm4030596wfg.14.2010.06.23.19.20.47 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Jun 2010 19:20:49 -0700 (PDT) Date: Thu, 24 Jun 2010 09:20:36 +0700 From: "Anh Ky Huynh" To: Aiza Message-ID: <20100624092036.6462fc1a@icy.localdomain> In-Reply-To: <4C22B3D7.6070102@comclark.com> References: <4C22B3D7.6070102@comclark.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:20:50 -0000 On Thu, 24 Jun 2010 09:24:39 +0800 Aiza wrote: > Receiving a variable from the command line that is suppose > to contain numeric values. > > How do I code a test to verify the content is numeric? echo "$your_variable" | grep -E "^[0-9]+(\.[0-9]*)*[0-9]+$" If $your_variable is numeric (123, or 123.123, etc), the return code should be 0. You can custom to script to support negative numbers. -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:44:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B67E81065670 for ; Thu, 24 Jun 2010 02:44:39 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 410598FC08 for ; Thu, 24 Jun 2010 02:44:38 +0000 (UTC) Received: by fxm7 with SMTP id 7so4057261fxm.13 for ; Wed, 23 Jun 2010 19:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=DEm+jzZ1HI7iP3zwiU7yHwLLNHXLrBZLphnD05UK79o=; b=EAET7r9VyNCyxZ/43QBvpPUdi5sf+wy0aWnzmhF4ARDfkMu9HJK4W3vNTbwkNxkt2u L/YtF56Yst5GHZRRdNwzB141OVlXGRFrqnZ05UOTL5zoDblqxMGoOgVkbnjAHIPDxXrU pRuoPqSANnVaovQ+OM4gDgappEsY/MejGt24k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=lu0I/OI075ojjOX9dx8rJJd6UzglJv7mqw037ptE7m6nQckjbty+Xg+NO0ptaQe/Ko 00nirSaH0NRv7BC70jKHfyQQb+KVXHbjFQXy0SCkVgyqI0cLrDVB5tSpPnV+Vf0yQLh9 QssJXSqNinrFo/D3egqknO/xlPBBPrFdQAxRw= Received: by 10.223.68.13 with SMTP id t13mr8535885fai.69.1277347477969; Wed, 23 Jun 2010 19:44:37 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id o19sm34029797fal.23.2010.06.23.19.44.36 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Jun 2010 19:44:37 -0700 (PDT) Date: Thu, 24 Jun 2010 03:44:34 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100624034434.7a6c2895@gumby.homeunix.com> In-Reply-To: <20100624013755.GA5009@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:44:39 -0000 On Thu, 24 Jun 2010 03:37:55 +0200 Thomas wrote: > On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: > > Hello, > > > Receiving a variable from the command line that is suppose > > to contain numeric values. > > > > How do I code a test to verify the content is numeric? > > http://www.google.com/search?q=shell+test+if+variable+numeric > > First link => > http://www.unix.com/shell-programming-scripting/46276-check-variable-if-its-non-numeric.html > > Gosh, Google is full of answers these days.. I'd suggest looking a bit further down the list since the quoted first link is patently wrong. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:51:03 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68AF6106566B for ; Thu, 24 Jun 2010 02:51:03 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 047378FC1A for ; Thu, 24 Jun 2010 02:51:02 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgRAGtlIkzKRa1mPGdsb2JhbAAHnzgBAQEBNcMBhRsEg1k X-IronPort-AV: E=Sophos;i="4.53,471,1272816000"; d="scan'208";a="4891505" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 24 Jun 2010 10:51:01 +0800 Message-ID: <4C22C816.3000105@comclark.com> Date: Thu, 24 Jun 2010 10:51:02 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Thomas References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> In-Reply-To: <20100624013755.GA5009@gothschlampen.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:51:03 -0000 Thomas wrote: > On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: > > Hello, > >> Receiving a variable from the command line that is suppose >> to contain numeric values. >> >> How do I code a test to verify the content is numeric? > > http://www.google.com/search?q=shell+test+if+variable+numeric > > First link => > http://www.unix.com/shell-programming-scripting/46276-check-variable-if-its-non-numeric.html > > Gosh, Google is full of answers these days.. > yea but none of them are for freebsd style .sh shell I'm, using [ "${dup_times}" != [0-9] ] && exerr "value not numeric" and get the errot messahe no mater what value is in dup_times. What is wrong with this code? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:59:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7115106566C for ; Thu, 24 Jun 2010 02:59:54 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0E88FC14 for ; Thu, 24 Jun 2010 02:59:54 +0000 (UTC) Received: by iwn3 with SMTP id 3so1031678iwn.13 for ; Wed, 23 Jun 2010 19:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=FDFMR7JMbPaQDi5XG7bSUjjGqBKYd777y9SZuAo7dBE=; b=yHJ95NxrVyWyjQtQUp04vqO7AeyZOk94B17Akjo7uvS4PsGt3ELKHD54d3osXmbIcC zwoLIWVGoWayVF37bc+cw+SBXKDg6Y6awSXLxBGdQpHDcQhKZe++geS9nUiAx7os68sN GyWSk9923ep6ki7dv/DWV0PRWpF9BLi6ECqOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j3VzP3+GBpB5Ah+2ujU/AfRHmKHYk4zJ3UT9hDblhnEx1KRwGgKjYJoB2pJJJSbUoi aOnMD+I18C6nd4/LdMuYstRi67llJKZ17o5f1s17fxAZpE44Z47ZVlLJAlIde5dGBXH5 IuN/NDispFCBRByDZC9WRrwv0kW6cUF4Fc4nM= MIME-Version: 1.0 Received: by 10.231.178.162 with SMTP id bm34mr9268822ibb.86.1277348393617; Wed, 23 Jun 2010 19:59:53 -0700 (PDT) Received: by 10.231.141.217 with HTTP; Wed, 23 Jun 2010 19:59:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Jun 2010 20:59:53 -0600 Message-ID: From: Tim Judd To: nlmills@clemson.edu Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: Network card attaching to the wrong driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 02:59:54 -0000 On 6/23/10, Nicholas Mills wrote: > All, > > I am running 8.0-RELEASE and having trouble with the ed driver that is > compiled by default into GENERIC. My machine is actually a VM running under > Parallels Server Bare Metal 4. I would like my card to be attached to the > Parallels driver in ports (pvmnet) instead of ed. Is there some boot option > I could use? Both device drivers are looking for the same PCI vendor/device > id in their probe routines, and both drivers return the same value from > their probe functions (so they have equal priority). > > Thanks, > > Nick Mills Disable it from the kernel config and make a custom kernel. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 03:20:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32A2E1065670 for ; Thu, 24 Jun 2010 03:20:16 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id EE6B58FC08 for ; Thu, 24 Jun 2010 03:20:15 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 916C41D32F3; Thu, 24 Jun 2010 05:19:53 +0200 (CEST) Date: Thu, 24 Jun 2010 05:19:53 +0200 From: Thomas Keusch To: RW Message-ID: <20100624031953.GA21766@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624034434.7a6c2895@gumby.homeunix.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 03:20:16 -0000 On Thu, Jun 24, 2010 at 03:44:34AM +0100, RW wrote: Hello, > On Thu, 24 Jun 2010 03:37:55 +0200 > Thomas wrote: > > > On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: > > > > Hello, > > > > > Receiving a variable from the command line that is suppose > > > to contain numeric values. > > > > > > How do I code a test to verify the content is numeric? > > > > http://www.google.com/search?q=shell+test+if+variable+numeric > > > > First link => > > http://www.unix.com/shell-programming-scripting/46276-check-variable-if-its-non-numeric.html > > > > Gosh, Google is full of answers these days.. > > I'd suggest looking a bit further down the list since the quoted first > link is patently wrong. tk@eternity:~$ b=5 tk@eternity:~$ case "$b" in > [0-9] ) > echo numeric > ;; > * ) > echo alpha > ;; > esac numeric tk@eternity:~$ Works for me. Another solution would be like this: if echo "$b" | egrep -q '^[0-9]+$'; then and eventual variants of it. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 03:46:58 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890E1106566B for ; Thu, 24 Jun 2010 03:46:58 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 522598FC14 for ; Thu, 24 Jun 2010 03:46:58 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o5O3YQeU012665 for ; Wed, 23 Jun 2010 23:34:26 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id o5O3YQsd012664; Wed, 23 Jun 2010 23:34:26 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 2D074BEA6; Wed, 23 Jun 2010 23:32:57 -0400 (EDT) To: questions@freebsd.org Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <4C22B3D7.6070102@comclark.com> Message-Id: <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> Date: Wed, 23 Jun 2010 23:32:57 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Cc: Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 03:46:58 -0000 >> On Thu, 24 Jun 2010 09:24:39 +0800, >> Aiza said: A> Receiving a variable from the command line that is suppose to contain A> numeric values. How do I code a test to verify the content is numeric? The script below will work with the Bourne or Korn shell. Results for "0 1 12 1234 .12 1.234 12.3 1a a1": 0 is numeric 1 is numeric 12 is numeric 1234 is numeric .12 is numeric 1.234 is numeric 12.3 is numeric 1a is NOT numeric a1 is NOT numeric -- Karl Vogel I don't speak for the USAF or my company I place economy among the first and most important virtues, and public debt as the greatest of dangers to be feared. To preserve our independence, we must not let our rulers load us with perpetual debt. --Thomas Jefferson --------------------------------------------------------------------------- #!/bin/sh # Test an argument to see if it's numeric. Handles decimals, but # a minus sign in the regex will throw an error: "expr: illegal option". PATH=/bin:/usr/bin:/usr/local/bin export PATH case "$#" in 0) echo need an argument. ; exit 1 ;; *) ;; esac for arg do if expr "$arg" : "[0-9]*[\.0-9]*$" > /dev/null then echo "$arg is numeric" else echo "$arg is NOT numeric" fi done exit 0 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 04:17:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B614106566B for ; Thu, 24 Jun 2010 04:17:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 10E368FC15 for ; Thu, 24 Jun 2010 04:17:51 +0000 (UTC) Received: by vws13 with SMTP id 13so1741219vws.13 for ; Wed, 23 Jun 2010 21:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=iquAhUxPrhAa0MOtPgpERho6VCzgQJTDa7exDzAw/2o=; b=TZ9b3XEEATSkFah928w/w9JJwVe0Tc8ZkRD1EBSrISD017wWgASbpXHICVTIRBCEGM 85zFay9l2mxXJDeB2aXTu45adi2fGH8AhDsTdYM4Fy5MWuGnIUdwfaDXUEs+2ArDygWQ NKCxzeZSWnRkcSRRfJLunkaflac5VlnyvEKWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HzQzURuejFDayzIk73iGO6vBnTXYoeOtRNJn1WrTcV8AJ/DUrFZcsFjDoaTGzhNjYa 3aQLoMK0lNiG6hrLlGOqEJkMZLeyIzq9Ao+gLWM68VY9Z3luef9X3/ND06JbaRnn36ya tnLbasEtIX/1h46vWmAZFFP2C2PNmrgxpAdxs= MIME-Version: 1.0 Received: by 10.229.211.68 with SMTP id gn4mr4859836qcb.79.1277353070859; Wed, 23 Jun 2010 21:17:50 -0700 (PDT) Received: by 10.229.82.70 with HTTP; Wed, 23 Jun 2010 21:17:50 -0700 (PDT) In-Reply-To: <20100623232801.GA5925@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> Date: Wed, 23 Jun 2010 23:17:50 -0500 Message-ID: From: Adam Vande More To: Mark Costlow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 04:17:52 -0000 On Wed, Jun 23, 2010 at 6:28 PM, Mark Costlow wrote: > I hope this question isn't too stupid. > > Any hints or clue-by-fours? > > What's the output of 'gpart show'? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 04:22:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F2C7106564A for ; Thu, 24 Jun 2010 04:22:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id A657F8FC08 for ; Thu, 24 Jun 2010 04:22:46 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o5O4MesZ001143; Wed, 23 Jun 2010 21:22:41 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 23 Jun 2010 21:22:40 -0700 (PDT) Date: Wed, 23 Jun 2010 21:22:38 -0700 From: Gary Kline To: Polytropon Message-ID: <20100624042238.GA64302@thought.org> References: <20100623051418.GA80985@thought.org> <20100623183542.1d6aef45.freebsd@edvax.de> <4C224C57.6000801@strauser.com> <20100623201013.07f68ad3.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623201013.07f68ad3.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: freebsd-questions@freebsd.org Subject: Re: before i even =touch= my server again.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 04:22:47 -0000 On Wed, Jun 23, 2010 at 08:10:13PM +0200, Polytropon wrote: > On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser wrote: > > On 06/23/10 11:35, Polytropon wrote: > > > Of course, all write attempts to /var will then fail. > > > > Or even worse: they'll succeeded. And then when you re-mount /var, > > you'll lose access to all the files you've written in the mean time. > > True, an important advice. In case /var is not mounted, the > /var directory on / will be just a "plain directory". Depending > on program behaviour, it is possible that logging programs > create a new file when missing a file to append. In this case, > / will fill with such files in /var. It's important to remove > them prior to re-mounting /var. It is possible to move them, > e. g. to /tmp, and immediately append them to the correct files > after re-mounting /var. But if (small) data loss is acceptable > for the time needed to fix /var, it is an option. > > Another possibility is - but I never tried it - to force fsck > to check a mounted partition that is in use. > > # fsck -yf /var > > This may (!) cause other forms of damage, allthough fsck should > be able to correct most usual problems. > > It's a good approach to stop as many services as possible that > could want to write to /var, and restart them after /var is clean > and mounted again. > yeah, ive had it; some 40 minutes ago i rebooted into [3][safe] and i think fsck resolved the inode troubles and since my email work, i'll wait until my pal gets back. i can't see under there so the KVM config will have to wait. .... > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 04:52:49 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66311106564A for ; Thu, 24 Jun 2010 04:52:49 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 015AE8FC13 for ; Thu, 24 Jun 2010 04:52:48 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEUAIuBIkzKRa1mPGdsb2JhbAAHkwKMOAEBAQE1wViFGwSDWw X-IronPort-AV: E=Sophos;i="4.53,472,1272816000"; d="scan'208";a="4896823" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 24 Jun 2010 12:52:47 +0800 Message-ID: <4C22E4A0.1040206@comclark.com> Date: Thu, 24 Jun 2010 12:52:48 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <4C22C816.3000105@comclark.com> In-Reply-To: <4C22C816.3000105@comclark.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 04:52:49 -0000 Aiza wrote: > Thomas wrote: >> On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: >> >> Hello, >> >>> Receiving a variable from the command line that is suppose >>> to contain numeric values. >>> >>> How do I code a test to verify the content is numeric? >> >> http://www.google.com/search?q=shell+test+if+variable+numeric >> >> First link => >> http://www.unix.com/shell-programming-scripting/46276-check-variable-if-its-non-numeric.html >> >> >> Gosh, Google is full of answers these days.. >> > > yea but none of them are for freebsd style .sh shell > > > I'm, using > > [ "${dup_times}" != [0-9] ] && exerr "value not numeric" > > and get the errot messahe no mater what value is in dup_times. > > What is wrong with this code? > > Tried this suggestion from a reply and it worked. Only valid numeric value is whole numbers. if expr "${dup_times}" : "[0-9]*$" then echo "value is numeric" else echo "value is not numeric" fi But when I tried this format [ expr "${dup_times}" : "[0-9]*$" ] || echo "value is not numeric" I get the error message no mater what the value is. What am I doing wrong? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 05:21:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4303F106564A for ; Thu, 24 Jun 2010 05:21:01 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id ABB198FC0C for ; Thu, 24 Jun 2010 05:20:57 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o5O5KTw9021576 Received: from kobe.laptop (178.128.23.44.dsl.dyn.forthnet.gr [178.128.23.44]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o5O5KTw9021576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Jun 2010 08:20:35 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o5O5KNZW009460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 08:20:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o5O5KM8H009457; Thu, 24 Jun 2010 08:20:22 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Thomas Keusch References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> <20100624031953.GA21766@gothschlampen.com> Date: Thu, 24 Jun 2010 08:20:22 +0300 In-Reply-To: <20100624031953.GA21766@gothschlampen.com> (Thomas Keusch's message of "Thu, 24 Jun 2010 05:19:53 +0200") Message-ID: <87fx0dvwfd.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: RW , freebsd-questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 05:21:01 -0000 On Thu, 24 Jun 2010 05:19:53 +0200, Thomas Keusch wrote: > tk@eternity:~$ b=5 > tk@eternity:~$ case "$b" in >> [0-9] ) >> echo numeric >> ;; >> * ) >> echo alpha >> ;; >> esac > numeric > tk@eternity:~$ > > Works for me. Depending on what "numeric" means, this may be ok. For other numeric values (e.g. floating point numbers) There are simple, fast and correct ways to check but you have to escape from the shell, e.g.: $ var=3.1415926535897931 $ python -c "$var + 0.0" >/dev/null 2>&1 ; echo $? 0 $ var=3a.1415926535897931 $ python -c "$var + 0.0" >/dev/null 2>&1 ; echo $? 1 The overhead of spawning a full-blown language interpreter like Perl or Python may be acceptable if you have to check "a few" values. Then it may be overkill if you want to check a million values. It's really up to you, as a programmer, to pick the right method. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 09:18:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CC2C1065672 for ; Thu, 24 Jun 2010 09:18:22 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f68.google.com (mail-vw0-f68.google.com [209.85.212.68]) by mx1.freebsd.org (Postfix) with ESMTP id D90D68FC12 for ; Thu, 24 Jun 2010 09:18:21 +0000 (UTC) Received: by vws16 with SMTP id 16so197522vws.7 for ; Thu, 24 Jun 2010 02:18:20 -0700 (PDT) Received: by 10.220.63.5 with SMTP id z5mr4940307vch.100.1277371100596; Thu, 24 Jun 2010 02:18:20 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id b5sm18508211vco.12.2010.06.24.02.18.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 02:18:19 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 683A2E5482F for ; Thu, 24 Jun 2010 05:08:33 -0400 (EDT) Date: Thu, 24 Jun 2010 05:08:32 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100624050832.06ef2a46@scorpio> In-Reply-To: <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 09:18:22 -0000 On Wed, 23 Jun 2010 23:32:57 -0400 (EDT) Karl Vogel articulated: > >> On Thu, 24 Jun 2010 09:24:39 +0800, > >> Aiza said: > > A> Receiving a variable from the command line that is suppose to > A> contain numeric values. How do I code a test to verify the > A> content is numeric? > > The script below will work with the Bourne or Korn shell. > Results for "0 1 12 1234 .12 1.234 12.3 1a a1": > > 0 is numeric > 1 is numeric > 12 is numeric > 1234 is numeric > .12 is numeric > 1.234 is numeric > 12.3 is numeric > 1a is NOT numeric > a1 is NOT numeric I had used this snippet in a script to test for numeric input. It was part of a function in a Bash script. case "${1}" in [[:digit:]] ) IS_DIGIT=1 ;; * ) IS_DIGIT=0 printf "\n\a\t *****WARNING***** \tYou must enter a digit\n\n" ;; esac -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Why do we want intelligent terminals when there are so many stupid users? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 09:32:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B002106566B for ; Thu, 24 Jun 2010 09:32:27 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id A87488FC13 for ; Thu, 24 Jun 2010 09:32:26 +0000 (UTC) Received: from [217.12.4.215] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 24 Jun 2010 09:32:25 -0000 Received: from [87.248.110.198] by t2.bullet.ukl.yahoo.com with NNFMP; 24 Jun 2010 09:32:25 -0000 Received: from [127.0.0.1] by omp238.mail.ukl.yahoo.com with NNFMP; 24 Jun 2010 09:32:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 349834.18650.bm@omp238.mail.ukl.yahoo.com Received: (qmail 98245 invoked by uid 60001); 24 Jun 2010 09:32:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1277371945; bh=EKRLRNnoFdReOEf/i+t8Q10n/eolRH88YvyauUBD09A=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NMPrYcIf3igCHuVFg6JGEWQFFCDhbehhyfJvTUMPy44OXkuXrG9h5ZCvuezKkD1qgh4piBDDs1AL9Z6u6XeAWmrg3nbakxB7jNG+0wpIgZ56kvyRvZZUwoGrhDH4cb2HWawjS+TO7kw+V7daWM+RVqWFs5NbmAxNfllKi9ynrV0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TMaF3Pto0mT6lD1HortyZU7IgbNWnnjcpwdVIRF0PvWseyVisjyArvQDC188KeZ1qRv7eyiLuer/yTTZnWVR6L+2zvChhNfALFU5eONb36UiDccN5A6z2KyISM9SyxxuAyWskvu0QZXrPbMivOpKrB6srTIM7aM4h1FX8dpVl7M=; Message-ID: <119796.97762.qm@web24819.mail.ird.yahoo.com> X-YMail-OSG: 3K30ilQVM1kCvUTVginfIQeyKDTrl.aRkAt1aVZZXvVGvY2 lwrYbBHJiIg8Ru5t2WRqxbHvD8fmk02GbEzL31YiuNbc1OvtXzxuYiNaxQcT kDivlAHiFvvrK.W8Jog.nNuviPK11OjgD9r3oYbYSPT0Ng3o_G87A7b8UgJR .h5VctkGF9fGSCib27xxsssyM7fdpAoE_DHLlI44WCNB2ASGI1ifm1_ObIUq gW8lgUYTiWWhM Received: from [193.57.110.171] by web24819.mail.ird.yahoo.com via HTTP; Thu, 24 Jun 2010 09:32:25 GMT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Thu, 24 Jun 2010 09:32:25 +0000 (GMT) From: "Alexandre L." To: FreeBSD Question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Problem using Portmaster to upgrade installed ports via packages only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 09:32:27 -0000 Hi,=0A=0AOn my FreeBSD box running 8.0-RELEASE-p3, I have tried to use PORT= MASTER tool to upgrade my ports via packages only.=0AThen I added the follo= wing line to my user's .cshrc file and root's .cshrc file, and re-opened us= er's session : =0Asetenv PACKAGESITE ftp://ftp.fr.freebsd.org/pub/FreeBSD/p= orts/i386/packages-8-stable/All/=0A=0AThen I typed this linde into a consol= e : =0A% sudo portmaster -PP -a -x openoffice=0A=0AI past the output : =0A= =3D=3D=3D>>> The following actions will be taken if you choose to proceed:= =0A Upgrade automounter-1.4.2 to automounter-1.4.3=0A Upgrade liveMed= ia-2010.05.29,1 to liveMedia-2010.06.11,1=0A Upgrade portmaster-2.29 to = portmaster-2.32=0A Upgrade bash-4.1.5_2 to bash-4.1.7=0A Upgrade iso-= codes-3.16_1 to iso-codes-3.17=0A Upgrade p5-libwww-5.834 to p5-libwww-5= .836=0A Upgrade tiff-3.9.3 to tiff-3.9.4=0A Upgrade filezilla-3.3.2.1= _2 to filezilla-3.3.3=0A Upgrade gnupg-2.0.14_2 to gnupg-2.0.15=0A Up= grade libassuan-1.0.5 to libassuan-2.0.0=0A Upgrade wine-1.2.r3,1 to win= e-1.2.r4,1=0A=0A=3D=3D=3D>>> Proceed? y/n [y]=0A=0A=3D=3D=3D>>> Starting in= stall for for ports that need updating <<<=3D=3D=3D=0A=0A=3D=3D=3D>>> Launc= hing child to update automounter-1.4.2=0A=0A=3D=3D=3D>>> Port directory: /u= sr/ports/sysutils/automounter=0A=3D=3D=3D>>> Checking package repository fo= r latest available version=0A=0A=3D=3D=3D>>> The newest available package (= automounter-1.3.4)=0A is older than the version in ports (automounter= -1.4.3)=0A=0A=3D=3D=3D>>> Try --packages-if-newer, or do not use -PP/--pack= ages-only=0A=3D=3D=3D>>> Aborting update=0A=0A=3D=3D=3D>>> Update for autom= ounter-1.4.2 failed=0A=3D=3D=3D>>> Aborting update=0A=0AThe strange thing i= s the 'automounter-1.4.3' package is available on the FTP repository config= ured for PACKAGESITE.=0A=0AElsewhere, I have tested these FTP repositories = (for PACKAGESITE variable) without success : =0Aftp://ftp.fr.freebsd.org/pu= b/FreeBSD/ports/i386/packages-8-stable/Lastest/=0Aftp://ftp.freebsd.org/pub= /FreeBSD/ports/i386/packages-8-stable/Lastest/=0Aftp://ftp.fr.freebsd.org/p= ub/FreeBSD/ports/i386/packages-8-stable/All/=0A=0AThanks in advance for you= r help.=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 10:07:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65657106566C for ; Thu, 24 Jun 2010 10:07:01 +0000 (UTC) (envelope-from maurovale@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EDBD68FC0A for ; Thu, 24 Jun 2010 10:07:00 +0000 (UTC) Received: by fxm7 with SMTP id 7so4299937fxm.13 for ; Thu, 24 Jun 2010 03:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=QXO8/BqxcmxK9dML4dbPOuyiwkSgIy3b+vFKI+/c5/Y=; b=WFCxJuH8Gf7hDvTNKWYYuQxB8/4GYSNbCAmX7niRdjluFjxJqRNbavuwdZjj8SnQ6c rofZX3nfiH5u09lP/96IkzbeaKz+xdohM3eEQXkNRJDbYOiKRfp9Ooe1ccKgdUodFJPh Ll+GzT+V1xWdHGxYNfj4vBq+PDct7X2bZd6V8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q3gT439al6nmnEL/dFD1A6qnwimupDJ3cpo99e3rSDtp80GJABeCbwAPXE3BRgnLNF I5eJyB693IjYUowdyFKRJ9vOWL+j6r5Pi9o/AcCUCGExDRjpGDe62wZriKlaAnnl8Ubv 72ACVGFEM8KTfNPigbhNEeaHbQ3/6jzPZ8a8U= MIME-Version: 1.0 Received: by 10.204.162.194 with SMTP id w2mr6465145bkx.11.1277374019736; Thu, 24 Jun 2010 03:06:59 -0700 (PDT) Received: by 10.204.163.147 with HTTP; Thu, 24 Jun 2010 03:06:59 -0700 (PDT) Date: Thu, 24 Jun 2010 11:06:59 +0100 Message-ID: From: "M. Vale" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD and UDF DVD/CDrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 10:07:01 -0000 Hi, I'm trying to install Windows 7 on Virtualbox for testing, but the W7 is a DVD in UDF format. On this computer booting gentoo and ubuntu I can mount the DVD without any problem, but on FreeBSD 8.0 after kldloading udf and trying to mount udf using: mount_udf /dev/acd0t0s1 /cdrom or mount -t udf /dev/acd0t0s1 /cdrom: mount_udf: /dev/acd0t01: Invalid argument And running dmesg: kernel: FSD does not lie within the partition! So my question is is possible to mount an UDF disk on FreeBSD or is me that is doing something wrong ? Thank You MV From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 10:31:36 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA38106566B for ; Thu, 24 Jun 2010 10:31:36 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 815918FC0A for ; Thu, 24 Jun 2010 10:31:36 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id EB7331F6B7E; Thu, 24 Jun 2010 12:31:13 +0200 (CEST) Date: Thu, 24 Jun 2010 12:31:13 +0200 From: Thomas To: Aiza Message-ID: <20100624103113.GA27123@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <4C22C816.3000105@comclark.com> <4C22E4A0.1040206@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C22E4A0.1040206@comclark.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 10:31:36 -0000 On Thu, Jun 24, 2010 at 12:52:48PM +0800, Aiza wrote: Hello, > But when I tried this format > [ expr "${dup_times}" : "[0-9]*$" ] || echo "value is not numeric" > > I get the error message no mater what the value is. > > What am I doing wrong? Even if "[" at first glance seems like a special syntax of the shell, it really is just an alternative name or way of calling test(1): $ ls -l $(which test [) -rwxr-xr-x 1 root root 42584 2009-10-06 13:07 /usr/bin/[ -rwxr-xr-x 1 root root 30284 2009-10-06 13:07 /usr/bin/test (this actually is from a Linux system) You can read about the checks test(1) can perform and its syntax in its manual page. It will give you a nice and concise overview of what can be archived in this "[ $EXPRESSION ]" syntax, and what checks are left to be performed in other ways. Hope this helps. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 10:58:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEFA31065673 for ; Thu, 24 Jun 2010 10:58:09 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA318FC1B for ; Thu, 24 Jun 2010 10:58:08 +0000 (UTC) Received: by fxm7 with SMTP id 7so4343221fxm.13 for ; Thu, 24 Jun 2010 03:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=HD6VtDOz8E4cRWGT1JhmpsWleby19BYxxGfdJdfgUWE=; b=hK2g1GKDIZPTo/spTG6JXBXcCaU1UYwP58N0LKZrV8kV4Nz64ze/ahfD/MadLk7h5y e45M67wXo1AJfULi+q20O3bDGLnZIXLxbYHC13CLcym7im5bGdT/pcSF5t1Nbf/JVJp6 t4rLJaAZpxnOAm3eyxBHHjOshUkZ66TqWL+to= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=M4C0kMWLYTo5QZrQack3KG+fLPGMUPPRdpzd5BZUgl/1Vtaio+IT2eUSDMK9jAPoyA AeWM1W0DiGXWadJa1SThXu5vES2U3iforX0mkfiXi5tyYnzzouuMMgM1FgUWUEz7ZYhK sepxr+CGYeiyFF+sSYSZ+rnHgWQAppKienw6k= Received: by 10.223.98.83 with SMTP id p19mr9181262fan.27.1277377088166; Thu, 24 Jun 2010 03:58:08 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id a3sm34910187fak.16.2010.06.24.03.58.06 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 03:58:07 -0700 (PDT) Date: Thu, 24 Jun 2010 11:58:05 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100624115805.7b8b0c44@gumby.homeunix.com> In-Reply-To: <20100624031953.GA21766@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> <20100624031953.GA21766@gothschlampen.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 10:58:09 -0000 On Thu, 24 Jun 2010 05:19:53 +0200 Thomas Keusch wrote: > tk@eternity:~$ b=5 > tk@eternity:~$ case "$b" in > > [0-9] ) > > echo numeric > > ;; > > * ) > > echo alpha > > ;; > > esac > numeric > tk@eternity:~$ > > Works for me. Now try it with 10. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 11:02:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 523671065689 for ; Thu, 24 Jun 2010 11:02:15 +0000 (UTC) (envelope-from dfunk6@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id F41218FC27 for ; Thu, 24 Jun 2010 11:02:14 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao107.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100624110213.QMQC23683.eastrmmtao107.cox.net@eastrmimpo02.cox.net> for ; Thu, 24 Jun 2010 07:02:13 -0400 Received: from [127.0.0.1] ([68.0.73.73]) by eastrmimpo02.cox.net with bizsmtp id Zn2D1e00C1asDc402n2DQz; Thu, 24 Jun 2010 07:02:14 -0400 X-VR-Score: -190.00 X-Authority-Analysis: v=1.1 cv=9hqMks3O5GNLj/qlJOa2Pir5HjFKYRx/CqtbUNZ5PAg= c=1 sm=1 a=mI6YO6ZdSLUA:10 a=IkcTkHD0fZMA:10 a=cldQwrSUzPq7T4OJ8kWhDA==:17 a=6I5d2MoRAAAA:8 a=-rnbJlfrAuO8kkxMNSoA:9 a=dKJ5VsoXdujpu-AnngsA:7 a=TgtEWTQIVuvpSE6iQt1mn5TOPGQA:4 a=QEXdDO2ut3YA:10 a=SV7veod9ZcQA:10 a=cldQwrSUzPq7T4OJ8kWhDA==:117 X-CM-Score: 0.00 Message-ID: <4C233B4A.7070303@cox.net> Date: Thu, 24 Jun 2010 06:02:34 -0500 From: Derek Funk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 100623-1, 06/23/2010), Outbound message X-Antivirus-Status: Clean Subject: Re: FreeBSD and UDF DVD/CDrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 11:02:15 -0000 On 6/24/2010 5:06 AM, M. Vale wrote: > Hi, I'm trying to install Windows 7 on Virtualbox for testing, but the W7 is > a DVD in UDF format. > > On this computer booting gentoo and ubuntu I can mount the DVD without any > problem, but on FreeBSD 8.0 after kldloading udf and trying to mount udf > using: > > mount_udf /dev/acd0t0s1 /cdrom or mount -t udf /dev/acd0t0s1 /cdrom: > > mount_udf: /dev/acd0t01: Invalid argument > > And running dmesg: > > kernel: FSD does not lie within the partition! > > So my question is is possible to mount an UDF disk on FreeBSD or is me that > is doing something wrong ? > > Thank You > > MV > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Try using mount_cd9660 instead... it worked for me even on a udf disk Derek From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 11:15:51 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 084EE106566B for ; Thu, 24 Jun 2010 11:15:51 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id C32FC8FC1F for ; Thu, 24 Jun 2010 11:15:50 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 23A011D32F8; Thu, 24 Jun 2010 13:15:29 +0200 (CEST) Date: Thu, 24 Jun 2010 13:15:29 +0200 From: Thomas To: Aiza Message-ID: <20100624111529.GA30312@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <4C22C816.3000105@comclark.com> <4C22E4A0.1040206@comclark.com> <20100624103113.GA27123@gothschlampen.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624103113.GA27123@gothschlampen.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 11:15:51 -0000 On Thu, Jun 24, 2010 at 12:31:13PM +0200, Thomas wrote: Hello, > Even if "[" at first glance seems like a special syntax of the shell, > it really is just an alternative name or way of calling test(1): > > $ ls -l $(which test [) > -rwxr-xr-x 1 root root 42584 2009-10-06 13:07 /usr/bin/[ > -rwxr-xr-x 1 root root 30284 2009-10-06 13:07 /usr/bin/test I just noticed how this snippet doesn't prove my point very well :) Hope this did not confuse you too much, just ignore the ls part. >From now on I'll refrain from posting until I've had my coffee and am fully awake.. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 11:18:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DAC71065670 for ; Thu, 24 Jun 2010 11:18:13 +0000 (UTC) (envelope-from stephan@theched.org) Received: from mail.theched.org (theched.org [91.121.149.80]) by mx1.freebsd.org (Postfix) with ESMTP id 8EABA8FC1E for ; Thu, 24 Jun 2010 11:18:12 +0000 (UTC) Received: from mail.theched.org (localhost [127.0.0.1]) by mail.theched.org (Postfix) with ESMTP id 4F8FA46144E for ; Thu, 24 Jun 2010 10:58:25 +0000 (UTC) Received: by mail.theched.org (Postfix, from userid 58) id 279C3461448; Thu, 24 Jun 2010 10:58:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ks357537.kimsufi.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_50 autolearn=ham version=3.3.1 X-Spam-DCC: EATSERVER ks357537.kimsufi.com 1166; Body=1 Fuz1=1 Fuz2=1 X-Spam-SCL: 1 Received: from www.theched.org (localhost [127.0.0.1]) by mail.theched.org (Postfix) with ESMTP id CBC3A46143E for ; Thu, 24 Jun 2010 10:58:19 +0000 (UTC) Received: from 118.143.43.6 (SquirrelMail authenticated user stephan) by www.theched.org with HTTP; Thu, 24 Jun 2010 18:58:19 +0800 Message-ID: <6edba1895fc4c337d6f7d9ef0229dd9d.squirrel@www.theched.org> In-Reply-To: References: Date: Thu, 24 Jun 2010 18:58:19 +0800 From: stephan@theched.org To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: Virtualization with USB on Freebsd 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 11:18:13 -0000 Good morning/afternoon/evening, Do you know of any virtualisation solution that would allow USB devices when using Freebsd-8 as host ? We do indeed have virtualbox-OSE, but without USB support.... Basically I would use that to fire-up a WinXP session allowing my to sync various USB devices that I cannot sync using my Freebsd box (iPod, GPS etc.) Thanks in advance, -Steven From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 11:50:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EA74106566C for ; Thu, 24 Jun 2010 11:50:37 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 13ED18FC15 for ; Thu, 24 Jun 2010 11:50:36 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 732A21D32FB; Thu, 24 Jun 2010 13:50:14 +0200 (CEST) Date: Thu, 24 Jun 2010 13:50:14 +0200 From: Thomas Keusch To: RW Message-ID: <20100624115014.GB30312@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> <20100624031953.GA21766@gothschlampen.com> <20100624115805.7b8b0c44@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624115805.7b8b0c44@gumby.homeunix.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 11:50:37 -0000 On Thu, Jun 24, 2010 at 11:58:05AM +0100, RW wrote: > On Thu, 24 Jun 2010 05:19:53 +0200 > Thomas Keusch wrote: > > > tk@eternity:~$ b=5 > > tk@eternity:~$ case "$b" in > > > [0-9] ) > > > echo numeric > > > ;; > > > * ) > > > echo alpha > > > ;; > > > esac > > numeric > > tk@eternity:~$ > > > > Works for me. > > Now try it with 10. "10" is not valid input according to the problem/pseudocode (in the forum) that the above code was posted as a solution for. I tend to lend a hand, not the whole arm. If this doesn't solve the problem 100% for the OP, it surely enables him to quickly spot a solution (at least using the case statement) when he sees it, be it in results from researching via google, or in actual system scripts installed on his system. "Give a man a fish, ..." and all that. Don't get me wrong, I'm not at all against posting more complete solutions for more complex problems, but I do indeed think that lending a hand while still requiring a little thought and maybe tinkering on the side of the OP is what ultimately enables him (& newcomers in general) to learn and grow. Spoonfeeding solutions to trivial (and trivially researched questions) is counterproductive on so many levels. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 12:11:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B2541065672 for ; Thu, 24 Jun 2010 12:11:49 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AEF0E8FC14 for ; Thu, 24 Jun 2010 12:11:44 +0000 (UTC) Received: by fxm7 with SMTP id 7so4407863fxm.13 for ; Thu, 24 Jun 2010 05:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition; bh=q6YA4w5VLrGg99tT4uPZ4gqJUONx4NCqTuCT9KJwCFA=; b=FA4j+TyKqgsjRkP/kYmYNmAgNUV6EXLnJuz1e+irnuuj11xL0WbHes71+RzlI1qn9C ewb4QHaxEZ4jOOkY+RarAo7PHXWupHlVmBjoMoiHZeuoBkRdhUYv7huNf/EjVSwlcUjy h06AcvMwQFtDMrTfjW9mKLJ0oFBBFc4Dhwnew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=Ng4YLY9DEBtP/oPzivLi9QbxMbJ8Smry65KIamCnsQS6LGJUayNtVFRnK+zZdL6ffA FKPApF2NhfPf/cWYORqyie6W3YjQ+cSjTWpnZv4RNn79vwBYVLEwwT2v2MW02t7aMh3E SaS3T3b34AN9Z4w1h5s6dxdF/S1kl+DjXVRQU= Received: by 10.223.113.20 with SMTP id y20mr600928fap.83.1277381503699; Thu, 24 Jun 2010 05:11:43 -0700 (PDT) Received: from viper.internal.network (dsl78-143-224-50.in-addr.fast.co.uk [78.143.224.50]) by mx.google.com with ESMTPS id u12sm40641743fah.4.2010.06.24.05.11.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Jun 2010 05:11:43 -0700 (PDT) Received: by viper.internal.network (Postfix, from userid 11001) id C8BC74AC0A; Thu, 24 Jun 2010 12:11:41 +0000 (UTC) Date: Thu, 24 Jun 2010 12:11:41 +0000 From: xorquewasp@googlemail.com To: freebsd-questions@freebsd.org Message-ID: <20100624121141.GA40498@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: i386 wine on amd64 - DRI a lost cause? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 12:11:49 -0000 I have a full i386 tree installed at /jail/wine (ignore the 'jail' in the name, I'll run it as a plain chroot if necessary) created with 'make buildworld TARGET=i386'. I've built and installed wine into the jail/chroot and it works fine. The problem: I can't get any kind of DRI to work in the jail/chroot. DRI is working fine on the host system. Any program that attempts to use DRI in the chroot/jail immediately segfaults. I built and installed a 32 bit version of graphics/dri into the jail/chroot as glxinfo reported that direct rendering was disabled due to missing files. I then made /dev/dri visible in the jail/chroot. Can an i386 version of DRI not talk to an amd64 kernel? Is there some other way I should be doing this? I'm using a radeon card that uses r300_dri.so, if that's at all significant. Regards, xw PS: Please CC as I'm not subscribed. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 13:05:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F114106564A for ; Thu, 24 Jun 2010 13:05:41 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 0428A8FC1A for ; Thu, 24 Jun 2010 13:05:40 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id E32EE5D19; Thu, 24 Jun 2010 13:05:42 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Thu, 24 Jun 2010 14:05:29 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006241405.29562.bruce@cran.org.uk> Cc: "M. Vale" Subject: Re: FreeBSD and UDF DVD/CDrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:05:41 -0000 On Thursday 24 June 2010 11:06:59 M. Vale wrote: > So my question is is possible to mount an UDF disk on FreeBSD or is me that > is doing something wrong ? FreeBSD doesn't support the most recent UDF specification which is why it won't work -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 13:10:39 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF3D1065673; Thu, 24 Jun 2010 13:10:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D1F788FC14; Thu, 24 Jun 2010 13:10:38 +0000 (UTC) Received: by wyf22 with SMTP id 22so316468wyf.13 for ; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=D/31bUWI0bcW4SpzCtWBbOlvbTtttVG1kAPpT9k+toY=; b=BCR1lvc2ODJ81cODqn23kba2je+PP2kWPNqGxfLpaRx75YPjmrtj+CMqTiGjfvDHfk urOBazjw3pdWOhnzVO6RHyRBVVWWhIrAEdhCxVkbvmYBOhKoMr4m+iMUoAxmH8KuvphY GXzLhFwpjmlKURgKjM7BypmVPl2xPTcFLwXZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=L3aM9TysZtnmik/EU9XzM7E6LFvQ9+yla1LU0UIVeuLH1ADVs5SooTSTY4gSpvFTCA uB3GV9xEZqpy5FlXQQ/rjY8vs5m6dWsZfJ3w95GNFzeqxOcbTh+zpsLo+lSCoODmDZfz 4IpDDpZ29R3lPEQuHEI4Dged09pCOkOo3e5tA= MIME-Version: 1.0 Received: by 10.216.87.145 with SMTP id y17mr7343514wee.9.1277385037586; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) Received: by 10.216.58.149 with HTTP; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) Date: Thu, 24 Jun 2010 13:10:37 +0000 Message-ID: From: "b. f." To: "Alexandre L." Content-Type: text/plain; charset=ISO-8859-1 Cc: dougb@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Problem using Portmaster to upgrade installed ports via packages only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:10:39 -0000 > Hi, > > On my FreeBSD box running 8.0-RELEASE-p3, I have tried to use PORTMASTER tool to upgrade my ports via packages only. > Then I added the following line to my user's .cshrc file and root's .cshrc file, and re-opened user's session : > setenv PACKAGESITE ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ > > Then I typed this linde into a console : > % sudo portmaster -PP -a -x openoffice > > I past the output : > ===>>> The following actions will be taken if you choose to proceed: > Upgrade automounter-1.4.2 to automounter-1.4.3 > Upgrade liveMedia-2010.05.29,1 to liveMedia-2010.06.11,1 > Upgrade portmaster-2.29 to portmaster-2.32 > Upgrade bash-4.1.5_2 to bash-4.1.7 > Upgrade iso-codes-3.16_1 to iso-codes-3.17 > Upgrade p5-libwww-5.834 to p5-libwww-5.836 > Upgrade tiff-3.9.3 to tiff-3.9.4 > Upgrade filezilla-3.3.2.1_2 to filezilla-3.3.3 > Upgrade gnupg-2.0.14_2 to gnupg-2.0.15 > Upgrade libassuan-1.0.5 to libassuan-2.0.0 > Upgrade wine-1.2.r3,1 to wine-1.2.r4,1 > > ===>>> Proceed? y/n [y] > > ===>>> Starting install for for ports that need updating <<<=== > > ===>>> Launching child to update automounter-1.4.2 > > ===>>> Port directory: /usr/ports/sysutils/automounter > ===>>> Checking package repository for latest available version > > ===>>> The newest available package (automounter-1.3.4) > is older than the version in ports (automounter-1.4.3) > > ===>>> Try --packages-if-newer, or do not use -PP/--packages-only > ===>>> Aborting update > > ===>>> Update for automounter-1.4.2 failed > ===>>> Aborting update > > The strange thing is the 'automounter-1.4.3' package is available on the FTP repository configured for PACKAGESITE. > > Elsewhere, I have tested these FTP repositories (for PACKAGESITE variable) without success : > ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ > ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ > > Thanks in advance for your help. > > You should be able to use: ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable portmaster will trim trailing /, /Latest, /All. But be aware that as 8-STABLE gets farther away from 8.0-RELEASE, some of the packages there may not work with your 8.0-RELEASE-pX version, because your version only incorporates critical fixes to 8.0-RELEASE, and not all of the changes in 8-STABLE. Do you have any old packages for automounter in your local package directory? If so, remove them and then re-try the update. It's possible that an old local package may confuse portmaster into thinking that the local package is the latest available package. If the problem still occurs, send a verbose output to the list, using portmaster -v .... b. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 13:23:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CEDB1065679 for ; Thu, 24 Jun 2010 13:23:22 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id DCEC28FC23 for ; Thu, 24 Jun 2010 13:23:21 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1493840fgb.13 for ; Thu, 24 Jun 2010 06:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=OjByZrIrZiXivvfKEXrrSb9vyXakyY6HFSM6Te9vYhI=; b=vrY/IRx9PBCC9GCepS6viV+JLsPd/OICkzsdqGw0yGa04Tis5LfJkbfta5+SfJC1yj eEbFyGDb9WxrU64xTiAHY9S1XYSD71zBueyZOZC+WkKtjf2E1TEl6ibD8MU5UZ5j0Slj XYbdZ+NtyDkG4PnBB/Kt2Sp+CHqSIIVThmrrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=jeC+7JFMHzTXZGOEJ5WjDcjezGdmvTFOlj+5NIW2C+b1wv/IzuL04CXeNoiAiu0zIr D0VyKE9DMDnvJHrMXDQVeR+D+rXsiir+frOVMKjDJXX66An54lOAK3qhAAp/MH7Fk6yB VRkfMbfT41DZb0q+NPeiBGqTkE+V4L49XHE7k= Received: by 10.87.70.7 with SMTP id x7mr15703205fgk.77.1277385800421; Thu, 24 Jun 2010 06:23:20 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id d6sm16488327fga.3.2010.06.24.06.23.18 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 06:23:19 -0700 (PDT) Date: Thu, 24 Jun 2010 14:23:17 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100624142317.1eb31efc@gumby.homeunix.com> In-Reply-To: <20100624115014.GB30312@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> <20100624031953.GA21766@gothschlampen.com> <20100624115805.7b8b0c44@gumby.homeunix.com> <20100624115014.GB30312@gothschlampen.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:23:22 -0000 On Thu, 24 Jun 2010 13:50:14 +0200 Thomas Keusch wrote: > "10" is not valid input according to the problem/pseudocode (in the > forum) that the above code was posted as a solution for. And if you were answering in that forum that would be a good point. > Spoonfeeding solutions to trivial (and trivially researched questions) > is counterproductive on so many levels. You gave him an answer to a different question. When I suggested he skip it, you countered with a test-case that you apparently knew was misleading. There's a diffence between not spoon-feeding and deliberately sending someone off in the wrong direction. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 14:50:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D70FB106564A for ; Thu, 24 Jun 2010 14:50:29 +0000 (UTC) (envelope-from nekoexmachina@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 672F88FC1C for ; Thu, 24 Jun 2010 14:50:29 +0000 (UTC) Received: by fxm7 with SMTP id 7so4509296fxm.13 for ; Thu, 24 Jun 2010 07:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3YTWBXDtiqzKt/1IdpOxpMi5cT8o+3CcDLBYns1bGhw=; b=PiqtBf7HTra1WXLQKujhSF34Yqh3gRJunnGrFK9vpLETNXrqzLfeABMe7ITdjr4qOO DTVisyy/aVwRGYGgk9ba3zqU5fMMWS85JV85xRgvIf6kFD3MbE2DrBU7beIvzI6p2CL5 N7yuM76FgLoma24Odn0IKbl3EGCora3TuReds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PzsG2Ix5HicpfiC6UMgdbCmdCq/SZFvAwTk9IXWs8gsapNdAn7PPuoYQwRUgrQ0Vw7 yWr08kGo6MFyiJgblfuCCAIjAte1cMOShYtTjBUDGY5AxEzwsY0yfO/uLRGevVQQegXs W3zySz3kx7ZtzOrUrchDmsh3KG+gzugFS/MUY= MIME-Version: 1.0 Received: by 10.102.237.8 with SMTP id k8mr3172694muh.41.1277391028190; Thu, 24 Jun 2010 07:50:28 -0700 (PDT) Received: by 10.103.174.8 with HTTP; Thu, 24 Jun 2010 07:50:28 -0700 (PDT) In-Reply-To: <201006241405.29562.bruce@cran.org.uk> References: <201006241405.29562.bruce@cran.org.uk> Date: Thu, 24 Jun 2010 18:50:28 +0400 Message-ID: From: Mikle Krutov To: Bruce Cran Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and UDF DVD/CDrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 14:50:29 -0000 Why do you want to mount your Windows DVD image? Why not using /dev/cd0 in your VirtualBox? P.s. Bruce, sorry for doubled mail, did not see that i haven't sent it to the mailing list till the last moment. 2010/6/24, Bruce Cran : > On Thursday 24 June 2010 11:06:59 M. Vale wrote: > >> So my question is is possible to mount an UDF disk on FreeBSD or is me >> that >> is doing something wrong ? > > FreeBSD doesn't support the most recent UDF specification which is why it > won't work > > -- > Bruce Cran > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- with best regards, Krutov Mikle From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 14:57:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790C91065670 for ; Thu, 24 Jun 2010 14:57:37 +0000 (UTC) (envelope-from nekoexmachina@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 09E488FC19 for ; Thu, 24 Jun 2010 14:57:36 +0000 (UTC) Received: by fxm7 with SMTP id 7so4514530fxm.13 for ; Thu, 24 Jun 2010 07:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=DVqvEkn/D5MKgjoAim3UyuotC+AMxzBg6+75GqYFp20=; b=WEPodWK96TtuBRjP8Upr5OQKnUuz6Q3pJ71E59i4FaOn8t5zKiW9C5OZJLJJZ1j4FQ F0B28uGmSgZCsuES0qRJR6cyyeq6JQY2/PPtYwKGmAoTjGeC5N9RZeeWKPTD7qaxkpdt oCx45y/upaMdHr1Wd089xBBKq6VWQLMtnO4D8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=yF3Fom2AlB+32bH4Wf48/c1ZRABe9XWMEx/FOj9hbrlEUWx6KVE23BcrkkkCr2EcX+ 2E0I1rohMi4i0Xa6dVPD8ApZb53pcnhhkvm9EkAM0km7d/xkmE+TPVkQQFYjNJipijvL gNLssxTXSOKTrgj/DoThh+6Tg2Ly3m15798cs= MIME-Version: 1.0 Received: by 10.103.78.10 with SMTP id f10mr3193612mul.126.1277391455118; Thu, 24 Jun 2010 07:57:35 -0700 (PDT) Received: by 10.103.174.8 with HTTP; Thu, 24 Jun 2010 07:57:35 -0700 (PDT) In-Reply-To: <20100624121141.GA40498@logik.internal.network> References: <20100624121141.GA40498@logik.internal.network> Date: Thu, 24 Jun 2010 18:57:35 +0400 Message-ID: From: Mikle Krutov To: xorquewasp@googlemail.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: i386 wine on amd64 - DRI a lost cause? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 14:57:37 -0000 You need 32bit libGL and all mesa stuff to have dri with i386 apps on amd64 system. Also i've used http://msnp.ru/file/wine-fbsd64.zip port, not the by-hand-way while using amd64. Worked for me on both radeon and nvidia card. 2010/6/24, xorquewasp@googlemail.com : > I have a full i386 tree installed at /jail/wine (ignore the 'jail' in > the name, I'll run it as a plain chroot if necessary) created with 'make > buildworld TARGET=i386'. > > I've built and installed wine into the jail/chroot and it works fine. > The problem: I can't get any kind of DRI to work in the jail/chroot. DRI > is working fine on the host system. Any program that attempts to use DRI > in the chroot/jail immediately segfaults. > > I built and installed a 32 bit version of graphics/dri into the > jail/chroot as glxinfo reported that direct rendering was disabled due > to missing files. I then made /dev/dri visible in the jail/chroot. > > Can an i386 version of DRI not talk to an amd64 kernel? Is there some > other way I should be doing this? > > I'm using a radeon card that uses r300_dri.so, if that's at all > significant. > > Regards, xw > > PS: Please CC as I'm not subscribed. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- with best regards, Krutov Mikle From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:04:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F0EF106566C for ; Thu, 24 Jun 2010 16:04:38 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 39CCC8FC14 for ; Thu, 24 Jun 2010 16:04:37 +0000 (UTC) Received: by gyh20 with SMTP id 20so5798105gyh.13 for ; Thu, 24 Jun 2010 09:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=jLA4HfBhqu+Dg2mCpaYZkZKfnJynbUg4qwYskhloBdo=; b=tM1l1NDomqsgq7815/8krfsRAOuT6tw8jPiV8JZ8X77B5vWQLcS1BiX5QDRTAMwES7 4YZ2LRNHVJPZVgiGDWQo7/4gKQ+e8JInxqCBfCvs7Kffkzc+nzeE9KQZvZdkA5Y1hG/7 zDBlD1u2jGvIa8ZMqTdOItkr02J7+Oin1u768= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=T/JBBXXYLNFh/wsJjdsOL4v/5y2XxOw25r/RhteiANbC2ckoZ1IFf8+CqU9iQngYCu 09YqIDA3ia3iHRUdu0WV+CRBCytoehAsIwdpzYu+XUX1hTtopmV2DCirxpxsjGnTouZi y2M52nbRgJLLi9jz558fc63v89bquh5o7xYw8= Received: by 10.229.185.11 with SMTP id cm11mr5492558qcb.274.1277395476782; Thu, 24 Jun 2010 09:04:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.84.71 with HTTP; Thu, 24 Jun 2010 09:04:16 -0700 (PDT) In-Reply-To: <20100622210015.467c4037@gda-arsenic> References: <20100622183957.GA79362@thought.org> <20100622210015.467c4037@gda-arsenic> From: "Jack L." Date: Thu, 24 Jun 2010 09:04:16 -0700 Message-ID: To: Maciej Suszko Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: X11 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:04:38 -0000 On Tue, Jun 22, 2010 at 12:00 PM, Maciej Suszko wrote: > Gary Kline wrote: >> >> guys, >> what do i need to rebuild to fix this problem to get X working on my >> server:: >> >> >> ethic# startx >> xauth: =C2=A0creating new authority file /root/.serverauth.1054 >> >> /libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required >> by "X" giving up. >> xinit: =C2=A0No such file or directory (errno 2): =C2=A0unable to connec= t to X >> server >> xinit: =C2=A0No such process (errno 3): =C2=A0Server error. >> ethic# > Or just reinstall hal From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:09:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEC02106566C for ; Thu, 24 Jun 2010 16:09:57 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id A554E8FC1B for ; Thu, 24 Jun 2010 16:09:57 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ORor6-0003GH-Id for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 09:00:45 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 24 Jun 2010 09:09:52 -0700 Date: Thu, 24 Jun 2010 09:09:52 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100624160952.GC557@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <6edba1895fc4c337d6f7d9ef0229dd9d.squirrel@www.theched.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6edba1895fc4c337d6f7d9ef0229dd9d.squirrel@www.theched.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Virtualization with USB on Freebsd 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:09:57 -0000 On Jun 24 18:58, stephan@theched.org wrote: > Good morning/afternoon/evening, > > Do you know of any virtualisation solution that would allow USB devices > when using Freebsd-8 as host ? > > We do indeed have virtualbox-OSE, but without USB support.... > > Basically I would use that to fire-up a WinXP session allowing my to sync > various USB devices that I cannot sync using my Freebsd box (iPod, GPS > etc.) > > Thanks in advance, > > -Steven Not sure about other USB devices, but I use virtualbox-ose on FreeBSD host, and Windows 7 sees the USB wireless keyboard and mouse without any fiddling. But perhaps that's because FreeBSD also sees them and virtualizes them. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:14:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FA52106564A for ; Thu, 24 Jun 2010 16:14:49 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4718FC13 for ; Thu, 24 Jun 2010 16:14:48 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ORovj-0004UY-US for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 09:05:35 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 24 Jun 2010 09:14:39 -0700 Date: Thu, 24 Jun 2010 09:14:39 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100624161439.GD557@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <20100624050832.06ef2a46@scorpio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624050832.06ef2a46@scorpio> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:14:49 -0000 On Jun 24 05:08, Jerry wrote: > On Wed, 23 Jun 2010 23:32:57 -0400 (EDT) > Karl Vogel articulated: > > > > >> On Thu, 24 Jun 2010 09:24:39 +0800, > > >> Aiza said: > > > > A> Receiving a variable from the command line that is suppose to > > A> contain numeric values. How do I code a test to verify the > > A> content is numeric? > > > > The script below will work with the Bourne or Korn shell. > > Results for "0 1 12 1234 .12 1.234 12.3 1a a1": > > > > 0 is numeric > > 1 is numeric > > 12 is numeric > > 1234 is numeric > > .12 is numeric > > 1.234 is numeric > > 12.3 is numeric > > 1a is NOT numeric > > a1 is NOT numeric > > I had used this snippet in a script to test for numeric input. It was > part of a function in a Bash script. > > case "${1}" in > [[:digit:]] ) > IS_DIGIT=1 > ;; > * ) > IS_DIGIT=0 > printf "\n\a\t *****WARNING***** > \tYou must enter a digit\n\n" > ;; > esac That [[:digit:]] pattern only works if your shell supports POSIX character classes in the case statement. > > -- > Jerry ??? > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > > Why do we want intelligent terminals > when there are so many stupid users? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:28:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93162106564A for ; Thu, 24 Jun 2010 16:28:47 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 55E1A8FC1C for ; Thu, 24 Jun 2010 16:28:47 +0000 (UTC) Received: by qyk10 with SMTP id 10so511397qyk.13 for ; Thu, 24 Jun 2010 09:28:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.102.202 with SMTP id h10mr6206539qao.49.1277396926394; Thu, 24 Jun 2010 09:28:46 -0700 (PDT) Received: by 10.229.215.79 with HTTP; Thu, 24 Jun 2010 09:28:46 -0700 (PDT) In-Reply-To: <6edba1895fc4c337d6f7d9ef0229dd9d.squirrel@www.theched.org> References: <6edba1895fc4c337d6f7d9ef0229dd9d.squirrel@www.theched.org> Date: Thu, 24 Jun 2010 12:28:46 -0400 Message-ID: From: Jorge Medina To: stephan@theched.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Virtualization with USB on Freebsd 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:28:47 -0000 On Thu, Jun 24, 2010 at 6:58 AM, wrote: > Good morning/afternoon/evening, > > Do you know of any virtualisation solution that would allow USB devices > when using Freebsd-8 as host ? > > We do indeed have virtualbox-OSE, but without USB support.... > > Basically I would use that to fire-up a WinXP session allowing my to sync > various USB devices that I cannot sync using my Freebsd box (iPod, GPS > etc.) > you can't access to them from vm :( --=20 Jorge Andr=E9s Medina Oliva. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:38:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFC7D106566C for ; Thu, 24 Jun 2010 16:38:20 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5809B8FC12 for ; Thu, 24 Jun 2010 16:38:20 +0000 (UTC) Received: by vws13 with SMTP id 13so2628481vws.13 for ; Thu, 24 Jun 2010 09:38:19 -0700 (PDT) Received: by 10.220.125.23 with SMTP id w23mr5221297vcr.142.1277397499400; Thu, 24 Jun 2010 09:38:19 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id y7sm12671793vcx.46.2010.06.24.09.38.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 09:38:18 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 8C7AEE5482F for ; Thu, 24 Jun 2010 12:38:16 -0400 (EDT) Date: Thu, 24 Jun 2010 12:38:15 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100624123815.01307f51@scorpio> In-Reply-To: <20100624161439.GD557@libertas.local.camdensoftware.com> References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <20100624050832.06ef2a46@scorpio> <20100624161439.GD557@libertas.local.camdensoftware.com> Followup-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:38:20 -0000 On Thu, 24 Jun 2010 09:14:39 -0700 Chip Camden articulated: [snip] > That [[:digit:]] pattern only works if your shell supports POSIX > character classes in the case statement. I use Bash myself. I am not sure what other shells support this context. In any case, I simply supplied a possible solution. I leave it up to the OP to determine if it is suitable for his/her environment. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:38:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67EC31065673 for ; Thu, 24 Jun 2010 16:38:36 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3698FC0A for ; Thu, 24 Jun 2010 16:38:35 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100624163835372 for ; Thu, 24 Jun 2010 16:38:35 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o5OGcYu4050627 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 24 Jun 2010 09:38:34 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1ORpRh-0004qk-T6 for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 09:38:33 -0700 To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> From: Carl Johnson Date: Thu, 24 Jun 2010 09:38:33 -0700 In-Reply-To: <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> (Karl Vogel's message of "Wed\, 23 Jun 2010 23\:32\:57 -0400 \(EDT\)") Message-ID: <87lja4mlme.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:38:36 -0000 vogelke+unix@pobox.com (Karl Vogel) writes: >>> On Thu, 24 Jun 2010 09:24:39 +0800, >>> Aiza said: > > A> Receiving a variable from the command line that is suppose to contain > A> numeric values. How do I code a test to verify the content is numeric? > > The script below will work with the Bourne or Korn shell. > Results for "0 1 12 1234 .12 1.234 12.3 1a a1": > > 0 is numeric > 1 is numeric > 12 is numeric > 1234 is numeric > .12 is numeric > 1.234 is numeric > 12.3 is numeric > 1a is NOT numeric > a1 is NOT numeric You might want to try testing "123..45". I tried changing: > if expr "$arg" : "[0-9]*[\.0-9]*$" > /dev/null to: if expr "$arg" : "[0-9]*\.*[0-9]*$" > /dev/null but it still claims that it is numeric, so *I* must be missing something. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:41:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D6E1065670 for ; Thu, 24 Jun 2010 16:41:12 +0000 (UTC) (envelope-from cheeks@swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id 83A9F8FC1A for ; Thu, 24 Jun 2010 16:41:12 +0000 (UTC) Received: from ame3.swcp.com (ame3.swcp.com [216.184.2.120]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5OGf3aO022884; Thu, 24 Jun 2010 10:41:03 -0600 Received: from risu.swcp.com (risu.swcp.com [216.184.2.5]) by ame3.swcp.com (8.14.4/8.14.3) with ESMTP id o5OGeoRw037776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 10:40:51 -0600 (MDT) (envelope-from cheeks@swcp.com) Received: from risu.swcp.com (localhost.swcp.com [127.0.0.1]) by risu.swcp.com (8.13.3/8.13.1) with ESMTP id o5OGf0jd040561; Thu, 24 Jun 2010 10:41:01 -0600 (MDT) (envelope-from cheeks@risu.swcp.com) Received: (from cheeks@localhost) by risu.swcp.com (8.13.3/8.13.1/Submit) id o5OGf0kI040553; Thu, 24 Jun 2010 10:41:00 -0600 (MDT) (envelope-from cheeks) Date: Thu, 24 Jun 2010 10:41:00 -0600 From: Mark Costlow To: Mark Costlow Message-ID: <20100624164100.GA40297@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> <20100624011512.GA28133@same.swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624011512.GA28133@same.swcp.com> User-Agent: Mutt/1.5.12-2006-07-14 X-Scanned-By: MIMEDefang 2.67 on 216.184.2.127 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ame3.swcp.com [216.184.2.127]); Thu, 24 Jun 2010 10:40:51 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame3.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame3.swcp.com X-Spam-Level: X-Spam-Status: No, hits=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=no version=3.2.5 Cc: nlmills@clemson.edu, freebsd-questions@freebsd.org Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:41:12 -0000 Nick, that worked! I zero'd the whole disk, then everything worked like normal. Thanks, Mark On Wed, Jun 23, 2010 at 07:15:13PM -0600, Mark Costlow wrote: > Since I don't have any other ideas yet, I'll give that a try. I'll > let you know if it works tomorrow if it has finished by then :-) > > Mark > > On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote: > > Mark, > > I'm certainly no expert, but I think I can point you in the right > > direction. The system appears to be attempting to read from a GPT > > stored on the disk from when you used it on Linux. I'm not sure of the > > specifics, but I do know that some GPT info is stored near the end of > > the drive. The easy (but slow) solution would be to use dd to write > > zeros to the entire drive (da1). > > Hope this helps, > > Nick > > On Wed, Jun 23, 2010 at 7:28 PM, Mark Costlow <[1]cheeks@swcp.com> > > wrote: > > > > I hope this question isn't too stupid. > > I have a machine with a 3Ware RAID card, with 4 SATA drives > > attached. > > 2 drives are 250GB in a RAID1 volume, and act as the boot disk with > > a standard freebsd partiction map (/, /var, /usr, and swap on this > > disk). > > The other 2 drives are 1TB in a RAID1 volume, intended to be mounted > > as a separate data partition. At boot both volumes are recognized: > > Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 > > Jun 22 18:38:51 ebi7 kernel: da0: Fixed > > Direct Access SCSI-5 device > > Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers > > Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte > > sectors: 255H 63S/T 30392C) > > Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 > > Jun 22 18:38:51 ebi7 kernel: da1: Fixed > > Direct Access SCSI-5 device > > Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers > > Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte > > sectors: 255H 63S/T 121575C) > > da0 is fine, and the system boots off of it with no problem. > > When I try to add da1 to the system, I get the following: > > * Run systinstall, Configure, Fdisk, select da1 > > * Get the friendly warning about the large geometry, click "Yes" > > * Hit "A" to use entire disk. Hit "W" to save, click "Yes", > > select "None" for boot record. > > * Fdisk says: "Wrote FDISK partition information out successfully." > > * Per handbook, get out of sysinstall and re-run it, then > > try to Label. In the label editor, it knows nothing about > > da1 (the device can be selected when going into the label > > editor, but I can't create any partitions). > > At the time when Fdisk says "Wrote FDISK partition information out, > > successfully." this gets logged to /var/log/messages: > > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT > > detected. > > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be > > recoverable. > > I've tried several variations, including running the command-line > > equivalents, but keep hitting this same error (fdisk thinks > > everything > > is good, but the GPT error is logged). I've also noticed that > > /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm > > not sure when those should get created. > > And the final possibly-relevant tidbit: these drives used to be > > part of a different RAID on a linux system. They've been > > re-initialized > > into the RAID card on this system, and I've zero'd the first 1k of > > the volume with dd, so I don't *think* that should be a factor. > > I've worked with about a dozen systems with the same hardware in > > the configuration outlined above and haven't seen this problem > > before. But I'm usually using fresh new disks so maybe it matters. > > I've googled this issue and found several people reporting similar > > symptoms over the years, but haven't found any posted solutions > > aside from telling people to read geom(8). > > Any hints or clue-by-fours? > > Mark > > -- > > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > > [2]cheeks@swcp.com | Web: [3]www.swcp.com | Voice: +1-505-232-7992 > > [4]abq-strange.com -- Interesting photos taken in Albuquerque, NM > > Last post: Shoe Pole - 2009-07-07 20:18:22 > > _______________________________________________ > > [5]freebsd-questions@freebsd.org mailing list > > [6]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[7]freebsd-questions-unsubscribe@freebsd.org" > > > > References > > > > 1. mailto:cheeks@swcp.com > > 2. mailto:cheeks@swcp.com > > 3. http://www.swcp.com/ > > 4. http://abq-strange.com/ > > 5. mailto:freebsd-questions@freebsd.org > > 6. http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > 7. mailto:freebsd-questions-unsubscribe@freebsd.org > > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 > > abq-strange.com -- Interesting photos taken in Albuquerque, NM > Last post: Shoe Pole - 2009-07-07 20:18:22 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Shoe Pole - 2009-07-07 20:18:22 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:50:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A66106566B for ; Thu, 24 Jun 2010 16:50:30 +0000 (UTC) (envelope-from cheeks@swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id D7B2F8FC14 for ; Thu, 24 Jun 2010 16:50:29 +0000 (UTC) Received: from ame2.swcp.com (ame2.swcp.com [216.184.2.119]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5OGoTl1026619; Thu, 24 Jun 2010 10:50:29 -0600 Received: from risu.swcp.com (risu.swcp.com [216.184.2.5]) by ame2.swcp.com (8.14.4/8.14.3) with ESMTP id o5OGo2Bu018348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 10:50:03 -0600 (MDT) (envelope-from cheeks@swcp.com) Received: from risu.swcp.com (localhost.swcp.com [127.0.0.1]) by risu.swcp.com (8.13.3/8.13.1) with ESMTP id o5OGoQ1f040827; Thu, 24 Jun 2010 10:50:26 -0600 (MDT) (envelope-from cheeks@risu.swcp.com) Received: (from cheeks@localhost) by risu.swcp.com (8.13.3/8.13.1/Submit) id o5OGoQE0040826; Thu, 24 Jun 2010 10:50:26 -0600 (MDT) (envelope-from cheeks) Date: Thu, 24 Jun 2010 10:50:26 -0600 From: Mark Costlow To: Adam Vande More Message-ID: <20100624165026.GB40297@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 X-Scanned-By: MIMEDefang 2.67 on 216.184.2.127 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ame2.swcp.com [216.184.2.127]); Thu, 24 Jun 2010 10:50:03 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame2.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame2.swcp.com X-Spam-Level: X-Spam-Status: No, hits=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=no version=3.2.5 Cc: freebsd-questions@freebsd.org, Mark Costlow Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:50:30 -0000 On Wed, Jun 23, 2010 at 11:17:50PM -0500, Adam Vande More wrote: > > On Wed, Jun 23, 2010 at 6:28 PM, Mark Costlow <[1]cheeks@swcp.com> > wrote: > > I hope this question isn't too stupid. > Any hints or clue-by-fours? > > What's the output of 'gpart show'? Zeroing the whole drive fixed the problem. Before that, "gpart show" displayed info for da0, but nothing at all for da1. Thanks, Mark -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Shoe Pole - 2009-07-07 20:18:22 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:55:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DA0106567C for ; Thu, 24 Jun 2010 16:55:23 +0000 (UTC) (envelope-from nlmills@g.clemson.edu) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC738FC19 for ; Thu, 24 Jun 2010 16:55:22 +0000 (UTC) Received: by yxs7 with SMTP id 7so299838yxs.13 for ; Thu, 24 Jun 2010 09:55:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.210.31 with SMTP id m31mr8369262anq.205.1277398520540; Thu, 24 Jun 2010 09:55:20 -0700 (PDT) Received: by 10.100.255.5 with HTTP; Thu, 24 Jun 2010 09:55:20 -0700 (PDT) In-Reply-To: <20100624164100.GA40297@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> <20100624011512.GA28133@same.swcp.com> <20100624164100.GA40297@risu.swcp.com> Date: Thu, 24 Jun 2010 12:55:20 -0400 Message-ID: From: Nicholas Mills To: Mark Costlow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem running fdisk via sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nlmills@clemson.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:55:23 -0000 Excellent, I'm glad everything worked out. It may have been a leftover secondary GPT. From g_part_gpt.c: /* No primary? Check that there's a secondary. */ buf = g_read_data(cp, pp->mediasize - pp->sectorsize, pp->sectorsize, &error); This would seem to suggest that the secondary GPT is stored in the last block of the drive. Zeroing that block would probably have worked too. On Thu, Jun 24, 2010 at 12:41 PM, Mark Costlow wrote: > Nick, that worked! I zero'd the whole disk, then everything worked > like normal. > > Thanks, > > Mark > > On Wed, Jun 23, 2010 at 07:15:13PM -0600, Mark Costlow wrote: > > Since I don't have any other ideas yet, I'll give that a try. I'll > > let you know if it works tomorrow if it has finished by then :-) > > > > Mark > > > > On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote: > > > Mark, > > > I'm certainly no expert, but I think I can point you in the right > > > direction. The system appears to be attempting to read from a GPT > > > stored on the disk from when you used it on Linux. I'm not sure of > the > > > specifics, but I do know that some GPT info is stored near the end > of > > > the drive. The easy (but slow) solution would be to use dd to write > > > zeros to the entire drive (da1). > > > Hope this helps, > > > Nick > > > On Wed, Jun 23, 2010 at 7:28 PM, Mark Costlow <[1]cheeks@swcp.com> > > > wrote: > > > > > > I hope this question isn't too stupid. > > > I have a machine with a 3Ware RAID card, with 4 SATA drives > > > attached. > > > 2 drives are 250GB in a RAID1 volume, and act as the boot disk > with > > > a standard freebsd partiction map (/, /var, /usr, and swap on this > > > disk). > > > The other 2 drives are 1TB in a RAID1 volume, intended to be > mounted > > > as a separate data partition. At boot both volumes are > recognized: > > > Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 > > > Jun 22 18:38:51 ebi7 kernel: da0: > Fixed > > > Direct Access SCSI-5 device > > > Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers > > > Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte > > > sectors: 255H 63S/T 30392C) > > > Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 > > > Jun 22 18:38:51 ebi7 kernel: da1: > Fixed > > > Direct Access SCSI-5 device > > > Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers > > > Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte > > > sectors: 255H 63S/T 121575C) > > > da0 is fine, and the system boots off of it with no problem. > > > When I try to add da1 to the system, I get the following: > > > * Run systinstall, Configure, Fdisk, select da1 > > > * Get the friendly warning about the large geometry, click "Yes" > > > * Hit "A" to use entire disk. Hit "W" to save, click "Yes", > > > select "None" for boot record. > > > * Fdisk says: "Wrote FDISK partition information out > successfully." > > > * Per handbook, get out of sysinstall and re-run it, then > > > try to Label. In the label editor, it knows nothing about > > > da1 (the device can be selected when going into the label > > > editor, but I can't create any partitions). > > > At the time when Fdisk says "Wrote FDISK partition information > out, > > > successfully." this gets logged to /var/log/messages: > > > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT > > > detected. > > > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be > > > recoverable. > > > I've tried several variations, including running the command-line > > > equivalents, but keep hitting this same error (fdisk thinks > > > everything > > > is good, but the GPT error is logged). I've also noticed that > > > /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm > > > not sure when those should get created. > > > And the final possibly-relevant tidbit: these drives used to be > > > part of a different RAID on a linux system. They've been > > > re-initialized > > > into the RAID card on this system, and I've zero'd the first 1k of > > > the volume with dd, so I don't *think* that should be a factor. > > > I've worked with about a dozen systems with the same hardware in > > > the configuration outlined above and haven't seen this problem > > > before. But I'm usually using fresh new disks so maybe it > matters. > > > I've googled this issue and found several people reporting similar > > > symptoms over the years, but haven't found any posted solutions > > > aside from telling people to read geom(8). > > > Any hints or clue-by-fours? > > > Mark > > > -- > > > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > > > [2]cheeks@swcp.com | Web: [3]www.swcp.com | Voice: > +1-505-232-7992 > > > [4]abq-strange.com -- Interesting photos taken in Albuquerque, NM > > > Last post: Shoe Pole - 2009-07-07 20:18:22 > > > _______________________________________________ > > > [5]freebsd-questions@freebsd.org mailing list > > > [6]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "[7]freebsd-questions-unsubscribe@freebsd.org" > > > > > > References > > > > > > 1. mailto:cheeks@swcp.com > > > 2. mailto:cheeks@swcp.com > > > 3. http://www.swcp.com/ > > > 4. http://abq-strange.com/ > > > 5. mailto:freebsd-questions@freebsd.org > > > 6. http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > 7. mailto:freebsd-questions-unsubscribe@freebsd.org > > > > -- > > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > > cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 > > > > abq-strange.com -- Interesting photos taken in Albuquerque, NM > > Last post: Shoe Pole - 2009-07-07 20:18:22 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 > > abq-strange.com -- Interesting photos taken in Albuquerque, NM > Last post: Shoe Pole - 2009-07-07 20:18:22 > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 17:09:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10E611065673 for ; Thu, 24 Jun 2010 17:09:28 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB77A8FC1C for ; Thu, 24 Jun 2010 17:09:27 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20100624170927117 for ; Thu, 24 Jun 2010 17:09:27 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o5OH9PLn071020 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 24 Jun 2010 10:09:25 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1ORpvZ-00031w-4j for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 10:09:25 -0700 To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> From: Carl Johnson Date: Thu, 24 Jun 2010 10:09:25 -0700 In-Reply-To: <87lja4mlme.fsf@cjlinux.localnet> (Carl Johnson's message of "Thu\, 24 Jun 2010 09\:38\:33 -0700") Message-ID: <87hbksmk6y.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 17:09:28 -0000 Carl Johnson writes: > vogelke+unix@pobox.com (Karl Vogel) writes: > >>>> On Thu, 24 Jun 2010 09:24:39 +0800, >>>> Aiza said: >> >> A> Receiving a variable from the command line that is suppose to contain >> A> numeric values. How do I code a test to verify the content is numeric? >> >> The script below will work with the Bourne or Korn shell. >> Results for "0 1 12 1234 .12 1.234 12.3 1a a1": >> >> 0 is numeric >> 1 is numeric >> 12 is numeric >> 1234 is numeric >> .12 is numeric >> 1.234 is numeric >> 12.3 is numeric >> 1a is NOT numeric >> a1 is NOT numeric > > You might want to try testing "123..45". > I tried changing: >> if expr "$arg" : "[0-9]*[\.0-9]*$" > /dev/null > to: > if expr "$arg" : "[0-9]*\.*[0-9]*$" > /dev/null > but it still claims that it is numeric, so *I* must be missing > something. I just realized that I had a stupid mistake there and should have used: if expr "$arg" : "[0-9]*\.[0-9]*$" > /dev/null -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 17:34:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23DC1065672 for ; Thu, 24 Jun 2010 17:34:09 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id AB7648FC0A for ; Thu, 24 Jun 2010 17:34:09 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100624173408887 for ; Thu, 24 Jun 2010 17:34:08 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o5OHY7Ln081962 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 24 Jun 2010 10:34:08 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1ORqJT-00074G-M0 for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 10:34:07 -0700 To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> From: Carl Johnson Date: Thu, 24 Jun 2010 10:34:07 -0700 In-Reply-To: <87hbksmk6y.fsf@cjlinux.localnet> (Carl Johnson's message of "Thu\, 24 Jun 2010 10\:09\:25 -0700") Message-ID: <87d3vgmj1s.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 17:34:10 -0000 Carl Johnson writes: > Carl Johnson writes: > >> vogelke+unix@pobox.com (Karl Vogel) writes: >> >>>>> On Thu, 24 Jun 2010 09:24:39 +0800, >>>>> Aiza said: >>> >>> A> Receiving a variable from the command line that is suppose to contain >>> A> numeric values. How do I code a test to verify the content is numeric? >>> >>> The script below will work with the Bourne or Korn shell. >>> Results for "0 1 12 1234 .12 1.234 12.3 1a a1": >>> >>> 0 is numeric >>> 1 is numeric >>> 12 is numeric >>> 1234 is numeric >>> .12 is numeric >>> 1.234 is numeric >>> 12.3 is numeric >>> 1a is NOT numeric >>> a1 is NOT numeric >> >> You might want to try testing "123..45". >> I tried changing: >>> if expr "$arg" : "[0-9]*[\.0-9]*$" > /dev/null >> to: >> if expr "$arg" : "[0-9]*\.*[0-9]*$" > /dev/null >> but it still claims that it is numeric, so *I* must be missing >> something. > > I just realized that I had a stupid mistake there and should have > used: > if expr "$arg" : "[0-9]*\.[0-9]*$" > /dev/null And of course that was another stupid mistake that I didn't test properly. I really wanted 0 or 1 decimal points, so I wanted '\.\?', except that FreeBSD expr doesn't recognize '\?'. I finally ended up with the following which seems to work as *I* expected it to work: if expr "$arg" : "[1-9]*\.\{0,1\}[0-9]*$" > /dev/null -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:31:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84DE1065674 for ; Thu, 24 Jun 2010 18:31:01 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 6E2C58FC18 for ; Thu, 24 Jun 2010 18:31:01 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=fhltGCNqn7I0vuW4QMEj3LCOhQQl14bnXIhcDW1W0Bg= c=1 sm=0 a=RWmFJ1rmKfAA:10 a=UBIxAjGgU1YA:10 a=kj9zAlcOel0A:10 a=64iin7ZDX+lUS8OB6KzQoA==:17 a=U9OQpdHBAAAA:8 a=ybZZDoGAAAAA:8 a=3__i-afVAAAA:8 a=8R6w6CTjIbAZaoM_jhwA:9 a=c5T5GmNZp82TPUEiBudZmM6EfkEA:4 a=CjuIK1q_8ugA:10 a=cUBdl-qfu3MA:10 a=qIVjreYYsbEA:10 a=YC5Rd9BSHxcA:10 a=eUwidNU-FBG3U93j:21 a=SqtkuudyxkkbMT3A:21 a=64iin7ZDX+lUS8OB6KzQoA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.150.184.250 Received: from [98.150.184.250] ([98.150.184.250:49630] helo=localhost.hawaii.res.rr.com) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id B8/61-05913-364A32C4; Thu, 24 Jun 2010 18:31:00 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id F0E5E5CB0; Thu, 24 Jun 2010 08:34:08 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o5OIY8SS050310; Thu, 24 Jun 2010 08:34:08 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Thu, 24 Jun 2010 08:34:07 -1000 From: parv@pair.com To: Carl Johnson Message-ID: <20100624183407.GA49923@holstein.holy.cow> Mail-Followup-To: Carl Johnson , freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> <87d3vgmj1s.fsf@cjlinux.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d3vgmj1s.fsf@cjlinux.localnet> Cc: freebsd-questions@freebsd.org Subject: Re: check for numeric content in a shell script (FreeBSD sh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:31:01 -0000 in message <87d3vgmj1s.fsf@cjlinux.localnet>, wrote Carl Johnson thusly... > > Carl Johnson writes: > > > Carl Johnson writes: > > > >> vogelke+unix@pobox.com (Karl Vogel) writes: > >> > >>>>> On Thu, 24 Jun 2010 09:24:39 +0800, > >>>>> Aiza said: > >>> > >>> A> Receiving a variable from the command line that is suppose > >>> A> to contain > >>> A> numeric values. How do I code a test to verify the content > >>> A> is numeric? > >>> > >>> The script below will work with the Bourne or Korn shell. > >>> Results for "0 1 12 1234 .12 1.234 12.3 1a a1": > >>> > >>> 0 is numeric > >>> 1 is numeric > >>> 12 is numeric > >>> 1234 is numeric > >>> .12 is numeric > >>> 1.234 is numeric > >>> 12.3 is numeric > >>> 1a is NOT numeric > >>> a1 is NOT numeric > >> > >> You might want to try testing "123..45". > >> I tried changing: > >>> if expr "$arg" : "[0-9]*[\.0-9]*$" > /dev/null > >> to: > >> if expr "$arg" : "[0-9]*\.*[0-9]*$" > /dev/null > >> but it still claims that it is numeric, so *I* must be missing > >> something. > > > > I just realized that I had a stupid mistake there and should > > have used: > > if expr "$arg" : "[0-9]*\.[0-9]*$" > /dev/null > And of course that was another stupid mistake that I didn't test > properly. I really wanted 0 or 1 decimal points, so I wanted > '\.\?', except that FreeBSD expr doesn't recognize '\?'. I > finally ended up with the following which seems to work as *I* > expected it to work: > if expr "$arg" : "[1-9]*\.\{0,1\}[0-9]*$" > /dev/null That regex considers "." a number but not "0.9" (this one seems to be due to typo) nor a negative number. I would personally to use egrep or awk (printf "%s" "${arg}" | egrep "${regex}" [0]) instead of expr. - parv [0] Compact regex .... # Matches a number, either positive (without '+' sign) or # negative, which is either a whole number; or a real number # ending with decimal point, or a real number with or without # leading digits before the decimal point. ^ -? ( [0-9] [.]? [0-9]* | [0-9]? [.] [0-9]+ ) $ ...by removing whitespace before use. -- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:36:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24B5D106564A for ; Thu, 24 Jun 2010 18:36:27 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id CF1A88FC13 for ; Thu, 24 Jun 2010 18:36:26 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=CRXretTPUtnO3YxfLBAQPdv2BUzevxUrVWgTW+Y28TY= c=1 sm=0 a=RWmFJ1rmKfAA:10 a=UBIxAjGgU1YA:10 a=kj9zAlcOel0A:10 a=64iin7ZDX+lUS8OB6KzQoA==:17 a=Ymsr-CWnAAAA:8 a=tHB4x23FF1AwFI97W9wA:9 a=xjUztwTl4C8du947itl-k2lY7p8A:4 a=CjuIK1q_8ugA:10 a=v2EulsF24l4A:10 a=q_AVK7wWYXBlsR9C:21 a=DjvlHwd8xbxnmBwo:21 a=64iin7ZDX+lUS8OB6KzQoA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.150.184.250 Received: from [98.150.184.250] ([98.150.184.250:26998] helo=localhost.hawaii.res.rr.com) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id A5/36-25793-9A5A32C4; Thu, 24 Jun 2010 18:36:26 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id BF4355CB0; Thu, 24 Jun 2010 08:39:34 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o5OIdXbv050460; Thu, 24 Jun 2010 08:39:33 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Thu, 24 Jun 2010 08:39:33 -1000 From: Parv To: Carl Johnson , freebsd-questions@freebsd.org Message-ID: <20100624183933.GA50443@holstein.holy.cow> Mail-Followup-To: Carl Johnson , freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> <87d3vgmj1s.fsf@cjlinux.localnet> <20100624183407.GA49923@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624183407.GA49923@holstein.holy.cow> Cc: Subject: Re: check for numeric content in a shell script (FreeBSD sh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:36:27 -0000 in message <20100624183407.GA49923@holstein.holy.cow>, wrote parv@pair.com thusly... > > # Matches a number, either positive (without '+' sign) or > # negative, which is either a whole number; or a real number > # ending with decimal point, or a real number with or without > # leading digits before the decimal point. . ^ . ^ plural > ^ > -? > ( > [0-9] [.]? [0-9]* > | > [0-9]? [.] [0-9]+ . ^ . ^ oops Please change the immediately above regex portion to ... [0-9]* [.] [0-9]+ - parv > ) > $ -- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:37:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0246C1065673 for ; Thu, 24 Jun 2010 18:37:26 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id B6BB58FC21 for ; Thu, 24 Jun 2010 18:37:25 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 8A84B29089 for ; Thu, 24 Jun 2010 20:37:24 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cQf-9qxqfDVM for ; Thu, 24 Jun 2010 20:37:24 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 2B51429088 for ; Thu, 24 Jun 2010 20:37:24 +0200 (CEST) From: bsd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Thu, 24 Jun 2010 20:37:24 +0200 Message-Id: <987C501A-EFE8-4800-9B3D-F0C79EFB08DE@todoo.biz> To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: Problem with system install with Toshiba MK2565GSX SATA disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:37:26 -0000 Hello,=20 I am trying to install a toshiba HD on an appliance, the Toshiba is a = MK2565GSX of 250GB described = here:http://www3.toshiba.co.jp/storage/english/spec/hdd25/65.htm#spec02 The system I am trying to install is pfSense (FBSD 7.2).=20 I am not a 100% sure about the disk geometry=85 as It is not quite = clear.=20 What is sure is that disk has 488 397 168 sectors=85=20 Normally It should have 484 521 cylinder 16 heads and 63 sectors, but I = am not certain this setting is ok=85=20 If I have a look at the BIOS setting after install, It tells me that = disk has 65535 cylinder, 16 head, 255 sector which is not quite the same = as the above=85=20 If I use a "simple install" I generally end up with an error on my HD = after boot, once he tries to mount the disk=85=20 Kernel is loaded ok, up until he reaches the disk da0 then there is an = error:=20 ad1: FAILURE - READ_DMA48 status=3D51 = error=3D10 LBA=3D18446744073709551553 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad1s1a Trying to mount root from ufs:/dev/ad1s1a=20 Trying to mount root from ufs:/dev/ad1s1a Trying to mount root from ufs:/dev/ad1s1a Trying to mount root from ufs:/dev/ad1s1a Trying to mount root from ufs:/dev/ad1s1a [=85] Then I do not have access to the device using manual system mounting=85=20= What would be your advise? =20 Any idea what is precisely going wrong?=20 Thank you very much.=20 G.B. =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:41:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA27106566C for ; Thu, 24 Jun 2010 18:41:30 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 68B698FC17 for ; Thu, 24 Jun 2010 18:41:29 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o5OIf4BU089418 for ; Thu, 24 Jun 2010 13:41:04 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Thu, 24 Jun 2010 13:41:04 -0500 From: Martin McCormick Subject: sudo "last login" message and how to turn it off FreeBSD8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:41:30 -0000 I have actually seen this on some FreeBSD6.3 systems and thought it was a querk. It may still be a querk but it has started again on an 8.0 system. I think I am doing something to cause it, but I am not sure. When one executes a sudo command, I get a "last login" message which reflects the last time I ran sudo. Example: [martin@pilot ~]$ sudo whoami Password: Last login: Thu Jun 24 13:07:20 from pilot.it.okstate root There is another FreeBSD8.0 system here that has not yet behaved this way so I did something to the test system to make it start. Any ideas as to what to look at? Thank you. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:57:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C282D1065672 for ; Thu, 24 Jun 2010 18:57:39 +0000 (UTC) (envelope-from dougs@dawnsign.com) Received: from mailfilter.dawnsign.com (cetus.dawnsign.com [216.70.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id A2AE18FC1B for ; Thu, 24 Jun 2010 18:57:39 +0000 (UTC) Received: from mailfilter.dawnsign.com (localhost [127.0.0.1]) by mailfilter.dawnsign.com (Postfix) with ESMTP id 3ACF395827 for ; Thu, 24 Jun 2010 11:57:39 -0700 (PDT) Received: from pyxis.dawnsign.com (unknown [192.168.101.22]) by mailfilter.dawnsign.com (Postfix) with ESMTP id 2016395818 for ; Thu, 24 Jun 2010 11:57:39 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 24 Jun 2010 11:57:38 -0700 Message-ID: <292C3F1D7ADD164EA6A058A4C3C8081A015726@pyxis.dawnsign.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot start smartd on Quantum drive Thread-Index: AcsTzx3Vd6ZGGGNkTcucksTVc5moqw== From: "Doug Sampson" To: X-Virus-Scanned: ClamAV using ClamSMTP Subject: Cannot start smartd on Quantum drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:57:39 -0000 Hello, Running FreeBSD 8.0. I cloned using 'dump' a very old and failing Fujitsu drive that was mounted as /dev/ad0 to a Quantum drive that was mounted at the time of dumping as /dev/ad3. I used the method of cloning described in http://forums.freebsd.org/showthread.php?t=3D11680. There is a second drive that was mounted as /dev/ad2. After the clone was completed and the system was reconfigured taking out the failing drive and inserting the replacement drive as a master drive. Upon booting in the new drive configuration, I received the following message that it couldn't boot from /dev/ad0s1a: ,---- | Timecounter "TSC" frequency 1294237239 Hz quality 80 | Timecounters tick every 1.000 msec | Trying to mount root from ufs:/dev/ad0s1a | ROOT MOUNT ERROR | If you have invalid mount options, reboot, and first try the following | from the loader prompt: | | set vfs.root.mountfrom.options=3Drw | | and then remove invalid entries from /etc/fstab | | Loader variables: | vfs.root.mountfrom=3Dufs:/dev/ad0s1a | vfs.root.mountfrom.options=3Drw `---- I found from dmesg that I had the following mounted disks: ad2: 26147MB at ata1-master UDMA66 ad3: 76293MB at ata1-slave UDMA100 I ended up with a mountroot command prompt. After fiddling around, I finally was able to change the boot order so that it boots from /dev/ad2s1. I also had to edit the /etc/fstab. After rebooting, I was able to boot up the system successfully except that I now received an error message that smartd couldn't start monitoring /dev/ad2 as follows: ad2: FAILURE - SMART status=3D51 error=3D4 Ok, check log: root@ftp:/root# tail /var/log/messages <..snip..> Jun 24 10:26:48 ftp kernel: Trying to mount root from ufs:/dev/ad2s1a Jun 24 10:26:48 ftp kernel: GEOM: ufsid/47336891c9952d8a: geometry does not match label (255h,63s !=3D 16h,63s). Jun 24 10:26:52 ftp kernel: ad2: FAILURE - SMART status=3D51 error=3D4 Jun 24 10:26:52 ftp smartd[786]: Unable to register ATA device /dev/ad2 at line 41 of file /usr/local/etc/smartd.conf Jun 24 10:26:52 ftp smartd[786]: Unable to register device /dev/ad2 (no Directive -d removable). Exiting. Jun 24 10:26:52 ftp root: /etc/rc: WARNING: failed to start smartd <..snip..> root@ftp:/root# Listing relevant info in smartd.conf: # First (primary) ATA/IDE hard disk. Monitor all attributes, enable # automatic online data collection, automatic Attribute autosave, and # start a short self-test every day between 2-3am, and a long self test # Saturdays between 3-4am. #/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) /dev/ad2 -a -o on -S on -s (S/../.././02|L/../../6/03) /dev/ad3 -a -o on -S on -s (S/../.././02|L/../../6/03) fsck'ing all volumes on /dev/ad2 comes up clean. Trying to start smartd from command prompt: root@ftp:/root# smartctl -s on /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 =3D=3D=3D START OF ENABLE/DISABLE COMMANDS SECTION =3D=3D=3D Error SMART Enable failed Smartctl: SMART Enable Failed. =20 A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. root@ftp:/root# smartctl -s on -T verypermissive /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 =3D=3D=3D START OF ENABLE/DISABLE COMMANDS SECTION =3D=3D=3D Error SMART Enable failed Smartctl: SMART Enable Failed. root@ftp:/root# smartctl -i /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family: Quantum Fireball Plus KX series Device Model: QUANTUM FIREBALLP KX27.3 Serial Number: 158002833918 Firmware Version: A1S.3700 User Capacity: 27,417,755,648 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 4 ATA Standard is: ATA/ATAPI-4 T13 1153D revision 15 Local Time is: Thu Jun 24 11:12:35 2010 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled =20 SMART Disabled. Use option -s with argument 'on' to enable it. root@ftp:/root# smartctl -t short /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 SMART Disabled. Use option -s with argument 'on' to enable it. root@ftp:/root# smartctl -a /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family: Quantum Fireball Plus KX series Device Model: QUANTUM FIREBALLP KX27.3 Serial Number: 158002833918 Firmware Version: A1S.3700 User Capacity: 27,417,755,648 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 4 ATA Standard is: ATA/ATAPI-4 T13 1153D revision 15 Local Time is: Thu Jun 24 11:16:54 2010 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled =20 SMART Disabled. Use option -s with argument 'on' to enable it. root@ftp:/root# smartctl -s on /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net =20 =3D=3D=3D START OF ENABLE/DISABLE COMMANDS SECTION =3D=3D=3D Error SMART Enable failed Smartctl: SMART Enable Failed. =20 A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. What do I need to do in order to enable smartd support? ~Doug From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:59:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB081106566B for ; Thu, 24 Jun 2010 18:59:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2D8258FC14 for ; Thu, 24 Jun 2010 18:59:27 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o5OIx3Wo083960 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 19:59:04 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C23AAF7.1080600@infracaninophile.co.uk> Date: Thu, 24 Jun 2010 19:59:03 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Martin McCormick References: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu> In-Reply-To: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: sudo "last login" message and how to turn it off FreeBSD8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:59:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/06/2010 19:41:04, Martin McCormick wrote: > When one executes a sudo command, I get a "last login" > message which reflects the last time I ran sudo. Example: > Any ideas as to what to look at? /usr/local/etc/pam.d/sudo probably. The 'last login' message usually comes from login(1), but I don't see why sudo(8) would invoke login unless you were running 'sudo -i ...' Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwjqvcACgkQ8Mjk52CukIwujgCeMHtly4qM+OBb0DeuqkhEW6se syAAniA6VgJ86bUgWHS90TVDb9d73i1k =gz+A -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 19:23:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60209106566B for ; Thu, 24 Jun 2010 19:23:02 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 361668FC14 for ; Thu, 24 Jun 2010 19:23:02 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ORrrw-0004ug-3I; Thu, 24 Jun 2010 12:13:49 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 24 Jun 2010 12:22:56 -0700 Date: Thu, 24 Jun 2010 12:22:56 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100624192256.GF557@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org, Carl Johnson References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> <87d3vgmj1s.fsf@cjlinux.localnet> <20100624183407.GA49923@holstein.holy.cow> <20100624183933.GA50443@holstein.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624183933.GA50443@holstein.holy.cow> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Carl Johnson Subject: Re: check for numeric content in a shell script (FreeBSD sh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 19:23:02 -0000 On Jun 24 08:39, Parv wrote: > in message <20100624183407.GA49923@holstein.holy.cow>, > wrote parv@pair.com thusly... > > > > # Matches a number, either positive (without '+' sign) or > > # negative, which is either a whole number; or a real number > > # ending with decimal point, or a real number with or without > > # leading digits before the decimal point. > . ^ > . ^ plural > > ^ > > -? > > ( > > [0-9] [.]? [0-9]* > > | > > [0-9]? [.] [0-9]+ > . ^ > . ^ oops > > Please change the immediately above regex portion to ... > > [0-9]* [.] [0-9]+ > > > - parv We still need to be able to handle numbers without a decimal. Try this: [0-9]*\.?[0-9]+ The question mark says "0 or 1" > > > ) > > $ > > -- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 19:23:21 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01651065688 for ; Thu, 24 Jun 2010 19:23:21 +0000 (UTC) (envelope-from mariangela@mundo.com.br) Received: from paris.mundo.com.br (nice.mundo.com.br [200.185.51.71]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF838FC12 for ; Thu, 24 Jun 2010 19:23:20 +0000 (UTC) Received: (qmail 38336 invoked by uid 89); 24 Jun 2010 18:55:50 -0000 Received: from unknown (HELO pcfernando) (mariangela@mundo.com.br@189.100.90.164) by paris.mundo.com.br with SMTP; 24 Jun 2010 15:55:50 -0300 From: "Mariangela Meirelles" To: Date: Thu, 24 Jun 2010 15:56:20 -0300 Message-ID: <00df01cb13ce$f232fe50$d698faf0$@com.br> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsTzuyefPWC6CUdS12T1UrIHOksBA== Content-Language: pt-br Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: disk controllers - FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 19:23:21 -0000 Dear FreeBSD Support Dept., I'm buying a Dell PowerEdge R210 server to install FreeBSD. The server may have the following disk controllers: - PERC H200 (6 Gb/s) OR - SAS6iR (6 Gb/s) I wonder if the disk drive controllers are compatible with FreeBSD? Thanks in advance for your attention. Atenciosamente / Best Regards, Mariangela S Meirelles Mundo Provedor Fone +55 11 3884-4301 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 19:37:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84310106566C for ; Thu, 24 Jun 2010 19:37:39 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF0F8FC1F for ; Thu, 24 Jun 2010 19:37:38 +0000 (UTC) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 7572FBF423 for ; Thu, 24 Jun 2010 21:37:37 +0200 (CEST) Received: by gxk3 with SMTP id 3so1727294gxk.13 for ; Thu, 24 Jun 2010 12:37:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.245.68 with SMTP id lt4mr5700555qcb.71.1277408255930; Thu, 24 Jun 2010 12:37:35 -0700 (PDT) Received: by 10.229.215.196 with HTTP; Thu, 24 Jun 2010 12:37:35 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jun 2010 21:37:35 +0200 Message-ID: From: Alexander Best To: utisoft@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 19:37:39 -0000 On Tue, Jun 22, 2010 at 12:13 AM, Chris Rees wrote: > Politics... too bad politics get in the way of progress. :( > > Sorry for top-posting, Android won't let me quote. There's a bug report on > it! > > On 21 Jun 2010 23:12, "Alexander Best" wrote: > > hi there, > > i can't remember where i read this the other day, but i found this to > be a great idea. basically the idea was to have one code pool which > all the *bsd flavours share and also to which every *bsd committer has > access and can make changes. especially code in /bin, /sbin, usr/bin, > /usr/sbin or /usr/share (probably other places too) would benefit from > this a lot. right now most of the work that gets done in one of these > places by lets say dragonfly won't make it into freebsd or netbsd for > a long time. or what's even worse: sometimes people document problems > or bugs which have already been fixed in some other *bsd. if somebody > fixes the problem that's just wasted time because it's been done > beforehand. > > would this be even possible or not at all? > > -- > Alexander Best > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Alexander Best From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 21:17:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02D7C106564A for ; Thu, 24 Jun 2010 21:17:10 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C01238FC08 for ; Thu, 24 Jun 2010 21:17:09 +0000 (UTC) Received: by iwn3 with SMTP id 3so2093332iwn.13 for ; Thu, 24 Jun 2010 14:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Diy/IJsEiZt10TO6TbVWYQD2s3kx9oebFvXU8L7cAMY=; b=RhuOtmU7Ch4Ycr/XY0eqAEIR//eNrUHVUyvaT5D95bsqSXZvoRtOefgk0KR45nYixf K1VK2hjONCg6gmBJG0txbIugx3dRGauRUE9fIktrSJfDja9tStPRXDUKg2csW/ef3Jj2 jHTN/oqbOVCNnBtk9C2Es0UD9tXLx2VgVc9AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IRx/rBrQ7n09stXa3t58OpCk48y9JuXeQBRsJT7vce9J1CrvPdtpd5F1C0VU2XlgJg 8BsDBIzi0ar2jinPDS3FCKvmBLX7mmVLCUxdOllX3RnU62bp8bbd8d1FeMsXcz0QptAt Q9fhQSu0vLbPAJaIyQfB2ZC9VldDKcWVtpkaM= MIME-Version: 1.0 Received: by 10.231.124.229 with SMTP id v37mr10992535ibr.184.1277414228801; Thu, 24 Jun 2010 14:17:08 -0700 (PDT) Received: by 10.231.157.144 with HTTP; Thu, 24 Jun 2010 14:17:08 -0700 (PDT) Date: Thu, 24 Jun 2010 14:17:08 -0700 Message-ID: From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 21:17:10 -0000 I thought it was the kludged state of my desktop, but the 8-release server I just brought up fresh yesterday is doing it too: alt-tab works, alt-shift-tab does not. For those of us who are not into gnome/kde/cutesy menus & panels, this is a major PITA. No doubt it came in from linux-land with the latest xorg revision, and I'm going to have to add another esoteric knob to my xorg.conf... Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 21:17:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D1B11065695 for ; Thu, 24 Jun 2010 21:17:17 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id CBBC78FC12 for ; Thu, 24 Jun 2010 21:17:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUXAGdoI0zKRa1mPGdsb2JhbAAHgxaEUosdjDkBAQEBNbFTkSSBKYMIcASDXA X-IronPort-AV: E=Sophos;i="4.53,476,1272816000"; d="scan'208";a="5008640" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp2.comclark.com with ESMTP; 25 Jun 2010 05:17:15 +0800 Message-ID: <4C23CB5D.1030902@comclark.com> Date: Fri, 25 Jun 2010 05:17:17 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <20100624050832.06ef2a46@scorpio> <20100624161439.GD557@libertas.local.camdensoftware.com> <20100624123815.01307f51@scorpio> In-Reply-To: <20100624123815.01307f51@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 21:17:17 -0000 Jerry wrote: > On Thu, 24 Jun 2010 09:14:39 -0700 > Chip Camden articulated: > > [snip] > >> That [[:digit:]] pattern only works if your shell supports POSIX >> character classes in the case statement. > > I use Bash myself. I am not sure what other shells support this > context. In any case, I simply supplied a possible solution. I leave it > up to the OP to determine if it is suitable for his/her environment. > The subject clearly tells you what shell the o/p is using. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 21:51:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8418106564A for ; Thu, 24 Jun 2010 21:51:26 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB538FC1F for ; Thu, 24 Jun 2010 21:51:26 +0000 (UTC) Received: by vws13 with SMTP id 13so3033859vws.13 for ; Thu, 24 Jun 2010 14:51:25 -0700 (PDT) Received: by 10.220.121.233 with SMTP id i41mr5429905vcr.143.1277416285268; Thu, 24 Jun 2010 14:51:25 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id s20sm19360115vcr.4.2010.06.24.14.51.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 14:51:24 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id CEDBCE5482F for ; Thu, 24 Jun 2010 17:51:21 -0400 (EDT) Date: Thu, 24 Jun 2010 17:51:20 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100624175120.08ecd1ee@scorpio> In-Reply-To: <4C23CB5D.1030902@comclark.com> References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <20100624050832.06ef2a46@scorpio> <20100624161439.GD557@libertas.local.camdensoftware.com> <20100624123815.01307f51@scorpio> <4C23CB5D.1030902@comclark.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 21:51:27 -0000 On Fri, 25 Jun 2010 05:17:17 +0800 Aiza articulated: > Jerry wrote: > > On Thu, 24 Jun 2010 09:14:39 -0700 > > Chip Camden articulated: > > > > [snip] > > > >> That [[:digit:]] pattern only works if your shell supports POSIX > >> character classes in the case statement. > > > > I use Bash myself. I am not sure what other shells support this > > context. In any case, I simply supplied a possible solution. I > > leave it up to the OP to determine if it is suitable for his/her > > environment. > > > The subject clearly tells you what shell the o/p is using. Actually, ".sh" does not appear to be a definitive declaration of the scripting language. However, if you deemed that to be a definitive declaration for the scripting language the OP was using, then fine. In any case, as I previously posted, it was left up to the OP to decide if the proposed solution was suitable for their needs. After reading all of the babble concerning what should be a relatively easy operation, perhaps the OP might want to consider switching to Bash. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Q: What's the difference between an Irish wedding and an Irish wake? A: One more drunk. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 22:16:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8714F106566B for ; Thu, 24 Jun 2010 22:16:07 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7FC8FC15 for ; Thu, 24 Jun 2010 22:16:07 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ORuZR-0006SZ-3z for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 15:06:54 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 24 Jun 2010 15:16:02 -0700 Date: Thu, 24 Jun 2010 15:16:02 -0700 From: Chip Camden To: FreeBSD Mailing List Message-ID: <20100624221602.GA2507@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 22:16:07 -0000 On Jun 24 14:17, Steve Franks wrote: > I thought it was the kludged state of my desktop, but the 8-release > server I just brought up fresh yesterday is doing it too: alt-tab > works, alt-shift-tab does not. For those of us who are not into > gnome/kde/cutesy menus & panels, this is a major PITA. No doubt it > came in from linux-land with the latest xorg revision, and I'm going > to have to add another esoteric knob to my xorg.conf... > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" What window manager are you using? With xmonad, you have complete control over those keystrokes. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 22:16:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15DF106566C for ; Thu, 24 Jun 2010 22:16:50 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 909F98FC1F for ; Thu, 24 Jun 2010 22:16:50 +0000 (UTC) Received: by vws13 with SMTP id 13so3065920vws.13 for ; Thu, 24 Jun 2010 15:16:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.78.155 with SMTP id l27mr6770755qak.124.1277417809068; Thu, 24 Jun 2010 15:16:49 -0700 (PDT) Received: by 10.229.215.79 with HTTP; Thu, 24 Jun 2010 15:16:49 -0700 (PDT) In-Reply-To: <00df01cb13ce$f232fe50$d698faf0$@com.br> References: <00df01cb13ce$f232fe50$d698faf0$@com.br> Date: Thu, 24 Jun 2010 18:16:49 -0400 Message-ID: From: Jorge Medina To: Mariangela Meirelles Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: disk controllers - FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 22:16:50 -0000 I have PERC and works fine! On Thu, Jun 24, 2010 at 2:56 PM, Mariangela Meirelles wrote: > Dear FreeBSD Support Dept., > > > > I'm buying a Dell PowerEdge R210 server to install FreeBSD. The server ma= y > have the following disk controllers: > > > > - PERC H200 (6 Gb/s) > > > > OR > > > > - SAS6iR (6 Gb/s) > > > > I wonder if the disk drive controllers are compatible with FreeBSD? > > > > Thanks in advance for your attention. > > > > Atenciosamente / Best Regards, > > Mariangela S Meirelles > > Mundo Provedor > > Fone +55 11 3884-4301 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20 Jorge Andr=E9s Medina Oliva. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 22:24:48 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082D4106566B for ; Thu, 24 Jun 2010 22:24:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id ACEBF8FC1D for ; Thu, 24 Jun 2010 22:24:47 +0000 (UTC) Received: (qmail 23534 invoked by uid 399); 24 Jun 2010 22:24:46 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 24 Jun 2010 22:24:46 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C23DB2D.9030904@FreeBSD.org> Date: Thu, 24 Jun 2010 15:24:45 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: bf1783@gmail.com References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org, "b. f." , "Alexandre L." Subject: Re: Problem using Portmaster to upgrade installed ports via packages only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 22:24:48 -0000 On 06/24/10 06:10, b. f. wrote: >> Hi, >> >> On my FreeBSD box running 8.0-RELEASE-p3, I have tried to use >> PORTMASTER tool to upgrade my ports via packages only. Then I added >> the following line to my user's .cshrc file and root's .cshrc file, >> and re-opened user's session : setenv PACKAGESITE >> ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ >> >> >> Then I typed this linde into a console : >> % sudo portmaster -PP -a -x openoffice There is a procedure for using sudo with portmaster described in the man page. That procedure is preferable because it uses your user environment for everything except where root privileges are actually necessary. What I suspect is happening here is that sudo is stripping your environment which means that portmaster never sees the PACKAGESITE variable. I tried it just now with csh, setting the environment variable as you did, but using portmaster with sudo in the way described in the man page and it worked fine. If you would prefer to continue using 'sudo portmaster' that's fine, but you'll need to place the relevant information (such as PACKAGESITE) in ~/.portmasterrc or /usr/local/etc/portmaster.rc. BTW, if you're going to go this route, you're probably better off with PACKAGEROOT, but either way should work. See the man page for more information. >> Elsewhere, I have tested these FTP repositories (for PACKAGESITE >> variable) without success : >> ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ >> >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ Spelling counts. :) hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 23:02:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F0F4106564A for ; Thu, 24 Jun 2010 23:02:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3418FC1E for ; Thu, 24 Jun 2010 23:02:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5ON2Vd2050669; Thu, 24 Jun 2010 17:02:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5ON2Vjk050666; Thu, 24 Jun 2010 17:02:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 24 Jun 2010 17:02:31 -0600 (MDT) From: Warren Block To: Steve Franks In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Thu, 24 Jun 2010 17:02:31 -0600 (MDT) Cc: FreeBSD Mailing List Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 23:02:32 -0000 On Thu, 24 Jun 2010, Steve Franks wrote: > I thought it was the kludged state of my desktop, but the 8-release > server I just brought up fresh yesterday is doing it too: alt-tab > works, alt-shift-tab does not. What, exactly, do you mean by "does not work"? It "works" here by moving backward through the list of open windows, instead of forward as with alt-tab. Or are you talking about a console? > For those of us who are not into gnome/kde/cutesy menus & panels, this > is a major PITA. No doubt it came in from linux-land with the latest > xorg revision, and I'm going to have to add another esoteric knob to > my xorg.conf... Or maybe change settings in your (unspecified) window manager. It's really hard to tell without any detail about the problem or the environment. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 23:28:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A394106564A for ; Thu, 24 Jun 2010 23:28:46 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id A94C48FC0A for ; Thu, 24 Jun 2010 23:28:45 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1644441fgb.13 for ; Thu, 24 Jun 2010 16:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to; bh=zLEhVpfXxZJDzmyteu2tOgDRvjt8DETKbnzc1XO1Nhw=; b=jE4sywCJBvEk2JnqYUiPWT/ofU0NOUMyRUQNFELwTxQtHTmd9cNbYK5Yz2YvYemTKa HLCc89omrG+OCCbnT8CEArRFbZtw55saHQzHzE0JezoOntzlZMOGiPb+C+HZDjp0IqI8 zeqJxbxq8r39npoNh/SjUoY/A0pjU60C+oVfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=caE3aAohyFRy+LapDAbWOU+W8et/XfH+kFP1ZEYSPn1evdNPNe4gz+qBsn8qKTCKiH P+M347JISEWsNcBe8IHJ03BdKV/TMh3vCzNBBO7pr6OEe5KVJnPDmbWDuNR4p2PJyCDI uimmm5viNyMnz8rIWKGW9SSQZmaafa9O7Dr6E= Received: by 10.87.35.20 with SMTP id n20mr16852442fgj.0.1277422122999; Thu, 24 Jun 2010 16:28:42 -0700 (PDT) Received: from viper.internal.network (dsl78-143-224-50.in-addr.fast.co.uk [78.143.224.50]) by mx.google.com with ESMTPS id 12sm16263750fgg.29.2010.06.24.16.28.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Jun 2010 16:28:41 -0700 (PDT) Received: by viper.internal.network (Postfix, from userid 11001) id 47C094AC0A; Thu, 24 Jun 2010 23:28:39 +0000 (UTC) Date: Thu, 24 Jun 2010 23:28:39 +0000 From: xorquewasp@googlemail.com To: Mikle Krutov Message-ID: <20100624232839.GA53471@logik.internal.network> References: <20100624121141.GA40498@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: i386 wine on amd64 - DRI a lost cause? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 23:28:46 -0000 On 2010-06-24 18:57:35, Mikle Krutov wrote: > You need 32bit libGL and all mesa stuff to have > dri with i386 apps on amd64 system. Also i've used > http://msnp.ru/file/wine-fbsd64.zip port, not the > by-hand-way while using amd64. > Worked for me on both radeon and nvidia card. Yes, I have those. Here's a list of all ports installed in the i386 jail (they were built in the jail itself so are definitely 32 bit): bash-4.0.35 The GNU Project's Bourne Again SHell damageproto-1.1.0_2 Damage extension headers dri-7.4.4,2 OpenGL hardware acceleration drivers for the DRI dri2proto-2.1 DRI2 prototype headers expat-2.0.1_1 XML 1.0 parser written in C fixesproto-4.0 Fixes extension headers fontconfig-2.8.0,1 An XML-based font configuration API for X Windows freetype2-2.3.11 A free and portable TrueType font rendering engine gettext-0.17_1 GNU gettext package inputproto-1.5.0 Input extension headers jpeg-8_1 IJG's jpeg compression utilities kbproto-1.0.3 KB extension headers lcms-1.19_1,1 Light Color Management System -- a color management library libGL-7.4.4 OpenGL library that renders using GLX or DRI libGLU-7.4.4 OpenGL utility library libICE-1.0.4_1,1 Inter Client Exchange library for X11 libSM-1.1.0_1,1 Session Management library for X11 libX11-1.2.1_1,1 X11 library libXau-1.0.4 Authentication Protocol library for X11 libXdamage-1.1.1 X Damage extension library libXdmcp-1.0.2_1 X Display Manager Control Protocol library libXext-1.0.5,1 X11 Extension library libXfixes-4.0.3_1 X Fixes extension library libXi-1.2.1,1 X Input extension library libXmu-1.0.4,1 X Miscellaneous Utilities libraries libXpm-3.5.7 X Pixmap library libXrender-0.9.4_1 X Render extension library libXt-1.0.5_1 X Toolkit library libXxf86vm-1.0.2 X Vidmode Extension libdrm-2.4.12 Userspace interface to kernel Direct Rendering Module servi libglut-7.4.4 OpenGL utility toolkit libiconv-1.13.1_1 A character set conversion library libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions libxcb-1.5 The X protocol C-language Binding (XCB) library libxml2-2.7.6_1 XML parser library for GNOME mesa-demos-7.4.4 OpenGL demos distributed with Mesa pkg-config-0.23_1 A utility to retrieve information about installed libraries png-1.2.43 Library for manipulating PNG images renderproto-0.9.3 RenderProto protocol headers wine-1.1.40,1 Microsoft Windows compatibility layer for Unix-like systems xextproto-7.0.5 XExt extension headers xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers xproto-7.0.15 X11 protocol headers This is sort of worrying then: Why am I seeing segfaults? I'd expect to see executable format errors if there were 64 bit binaries being used somewhere rather than straight crashes. Regards, xw From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 23:50:09 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCCA61065670 for ; Thu, 24 Jun 2010 23:50:09 +0000 (UTC) (envelope-from svavar.hermannsson@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 67D7D8FC12 for ; Thu, 24 Jun 2010 23:50:08 +0000 (UTC) Received: by bwz17 with SMTP id 17so873984bwz.13 for ; Thu, 24 Jun 2010 16:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=lPc8ZPMms4lK16ZEuEgWr1xpaYC4iQalfXT7sJ9TI2M=; b=cBNZpDqZI5GVYx3zmzqNO7qF2hB0G3nQ8rQDM/5XJD2fMbOEe/CVPJBfyroDrQqJZS KiIGi4BdRlX4u6uwDmNdxs4GrKV9/5jqixeXuRtuB8NXOxix9cH4iueQ70fQt11BZx2z YzOKDGh77uMbN4/OyZdDe/VvMzFDLdZtX6pNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=UXf3rU/WoSlPjk3o5bR5mIsydsksu3F4TOXkfvK8bEnMo5SFpE+qt2LYSW+dkb6Xqq ztLqwo5+ZhXm+8emJfcO2YRfxfjeW55Zb4macih0HbDbV72mg5iJvjmuFsu1yTUEQvvF KrwSQfEUG7GHFNMbr7Pw+/mAg3s/3EEhX0Wj4= MIME-Version: 1.0 Received: by 10.204.139.218 with SMTP id f26mr6980853bku.180.1277422107463; Thu, 24 Jun 2010 16:28:27 -0700 (PDT) Sender: svavar.hermannsson@gmail.com Received: by 10.204.117.211 with HTTP; Thu, 24 Jun 2010 16:28:27 -0700 (PDT) Date: Thu, 24 Jun 2010 23:28:27 +0000 X-Google-Sender-Auth: i6xNyvmSFzTEO7nB-Jmf25_plak Message-ID: From: Svavar Ingi Hermannsson To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Icelandic FTP server doesn't work? I don't think it's been up for a while? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 23:50:10 -0000 Hi, I just wanted to notify you that the Icelandic ftp mirror site doesn't seam to be working. ftp.is.freebsd.org Best regards, Svavar Ingi --=20 Bestu kve=F0jur / Best regards, Svavar Ingi Hermannsson, R=E1=F0gjafi - Senior Consultant BSc. CS, LA 27001, CISA, CISM, SCSA, MCP svavar@security.is http://www.linkedin.com/in/SvavarIngiHermannsson http://www.xing.com/profile/SvavarIngi_Hermannsson From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 00:50:56 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87A9A1065670 for ; Fri, 25 Jun 2010 00:50:56 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 767CC8FC08 for ; Fri, 25 Jun 2010 00:50:56 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.102]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Jun 2010 17:50:56 -0700 Message-ID: <4C23FD6E.10702@a1poweruser.com> Date: Fri, 25 Jun 2010 08:50:54 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jun 2010 00:50:56.0328 (UTC) FILETIME=[786EE480:01CB1400] X-Sender: fbsd1@a1poweruser.com Cc: Subject: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 00:50:56 -0000 I checked the pkg_add manpage for where does pkg_add look for the named pkg distribution file? It says the env PKG_PATH holds it but env command does not show that variable. Is it /usr/packages or /usr/ports/packages? How can I see the value of PKG_PATH? What is the path of where the pkg distribution file are suppose to reside. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:01:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA5D106564A for ; Fri, 25 Jun 2010 01:01:53 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DE4D18FC1D for ; Fri, 25 Jun 2010 01:01:52 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ORxIm-0000Yn-8S for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 18:01:52 -0700 Message-ID: <28988141.post@talk.nabble.com> Date: Thu, 24 Jun 2010 18:01:52 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org In-Reply-To: <4C23FD6E.10702@a1poweruser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com References: <4C23FD6E.10702@a1poweruser.com> Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 01:01:53 -0000 >uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 2= 7 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL=20 i386 >echo $PKG_PATH PKG_PATH: Undefined variable. >cat .cshrc |grep -i package setenv PACKAGESITE ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/ So you should use PACKAGESITE instead of PKG_PATH you mentioned . Fbsd1 wrote: >=20 > I checked the pkg_add manpage for where does pkg_add look for the named= =20 > pkg distribution file? It says the env PKG_PATH holds it but env command= =20 > does not show that variable. Is it /usr/packages or /usr/ports/packages? >=20 > How can I see the value of PKG_PATH? > What is the path of where the pkg distribution file are suppose to reside= . > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >=20 >=20 ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/pkg_add-tp28988075p2898= 8141.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:23:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA46106566B for ; Fri, 25 Jun 2010 01:23:11 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1784F8FC14 for ; Fri, 25 Jun 2010 01:23:10 +0000 (UTC) Received: by vws13 with SMTP id 13so3290443vws.13 for ; Thu, 24 Jun 2010 18:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=7+4e3kNQJSBzBsmB+zAxW97J0/6tdUKtjmDJ1PHrMkw=; b=qLBjSdTSlr7cc63aW6cT+QIVng/ykG35v4SUcTla3tbe/jU4f28hb5mNCQN+hy542L 6Nsjeoo0CrSRI3AchlghawNSsxlaLvx8aJYsvLmm2utWgcHPIrYWEHRrYjo+ezCtps7I YPb8QKoW+e68G0jxpNjfASPvlEu1ZnrkR5tUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZXUK13hBcRLzou7l3M0FDLeSJj8qnFGxVpF15rYy1z6ODiKH/BKP3RKSEHDyJa5w7Q qPRe8kkrKyCYpEb6D3NHVIk97X1ulZ3/nrjzeh2KHksorN/dmuvyUNzEmbBt1cfnFwaO HNK/6JgdFdQrBT7WFUQ9ONKjELaGZSEkSq3Ts= Received: by 10.220.88.158 with SMTP id a30mr5454777vcm.18.1277428989754; Thu, 24 Jun 2010 18:23:09 -0700 (PDT) Received: from schism.local (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id n1sm19577115vcf.40.2010.06.24.18.23.07 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 18:23:08 -0700 (PDT) Message-ID: <4C2404FA.5050202@gmail.com> Date: Thu, 24 Jun 2010 21:23:06 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: zaxis References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> In-Reply-To: <28988141.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 01:23:11 -0000 On 6/24/10 9:01 PM, zaxis wrote: > >> uname -a > FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27 > 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL > i386 > >> echo $PKG_PATH > PKG_PATH: Undefined variable. > >> cat .cshrc |grep -i package > setenv PACKAGESITE > ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/ > > So you should use PACKAGESITE instead of PKG_PATH you mentioned . > > Not entirely true. Using the above FTP URL, PKG_PATH will look for ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:36:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD9A3106566B for ; Fri, 25 Jun 2010 01:36:13 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD508FC1F for ; Fri, 25 Jun 2010 01:36:13 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ORxq1-0003DK-1G for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 18:36:13 -0700 Message-ID: <28988313.post@talk.nabble.com> Date: Thu, 24 Jun 2010 18:36:13 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com Subject: Is it appropriate to mount /var and /usr on ext2fs partition ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 01:36:13 -0000 >df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s3a 496M 119M 337M 26% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s3e 496M 6.7M 449M 1% /tmp /dev/ad4s3f 14G 7.8G 5.4G 59% /usr /dev/ad4s3d 1.4G 171M 1.1G 13% /var /dev/ad4s7 30G 3.5G 26G 12% /media/F /dev/ad4s8 30G 172M 28G 1% /media/G >mount /dev/ad4s3a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s3e on /tmp (ufs, local, soft-updates) /dev/ad4s3f on /usr (ufs, local, soft-updates) /dev/ad4s3d on /var (ufs, local, soft-updates) /dev/ad4s7 on /media/F (msdosfs, local) /dev/ad4s8 on /media/G (ext2fs, local) The /dev/ad4s8 is an empty partition. Now i want to move /var and /usr to it. Do i need to format /dev/ad4s8 to UFS ? Sincerely! ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/Is-it-appropriate-to-mo= unt--var-and--usr-on-ext2fs-partition---tp28988313p28988313.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:49:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C071106566B for ; Fri, 25 Jun 2010 01:49:51 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 580648FC0A for ; Fri, 25 Jun 2010 01:49:51 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.102]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Jun 2010 18:49:50 -0700 Message-ID: <4C240B38.6060508@a1poweruser.com> Date: Fri, 25 Jun 2010 09:49:44 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Glen Barber References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> <4C2404FA.5050202@gmail.com> In-Reply-To: <4C2404FA.5050202@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jun 2010 01:49:51.0305 (UTC) FILETIME=[B3719390:01CB1408] X-Sender: fbsd1@a1poweruser.com Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 01:49:51 -0000 Glen Barber wrote: > On 6/24/10 9:01 PM, zaxis wrote: >> >>> uname -a >> FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat >> Mar 27 >> 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL >> i386 >> >>> echo $PKG_PATH >> PKG_PATH: Undefined variable. >> >>> cat .cshrc |grep -i package >> setenv PACKAGESITE >> ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/ >> >> So you should use PACKAGESITE instead of PKG_PATH you mentioned . >> >> > > Not entirely true. > > Using the above FTP URL, PKG_PATH will look for > > ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ > > > Regards, > No I am not looking for the remote path to fetch the package distribution file from. When doing pkg_add -Kr pkgname will save the downloaded distribution pkg file. My question is where is this file saved at on my host by default. /usr/packages maybe???? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 02:01:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79CBD106566B for ; Fri, 25 Jun 2010 02:01:57 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 47DB38FC16 for ; Fri, 25 Jun 2010 02:01:57 +0000 (UTC) Received: by pxi11 with SMTP id 11so644040pxi.13 for ; Thu, 24 Jun 2010 19:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=DCn1rXzJsfgqEhVoxxu+QG1Jo5WMU2MWZf6abOF9Ncg=; b=TT+rsHYFD6HiJw2atF4vBXaxL/jVZyxno8SmWrEwxfH0QtQdWQUlH/jabUSFgeLxpN W/Gip5DHeNVU8w0JgWorIKym6Caecx4zlhu0bEjUSa3WYr59D1HW6ZL2AM0b+aAy8JUG u1gZ3nZQjCoZXClLuaarA+qSgZyPTxgg9zMPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=qLnW/XxAA8IRj9OdTWJrZQmeND4XJq895iKiuhk4/Y/XuTm2B+XZWPnGsFWg3srbzD XN3hGN+Vng54BAg8cs5VyUMYv2/k980qB6SXWjfE0rdRJzs1cTGpVl5NPD3MPGtWoOEt v0c0xJkIffuECgl5u32SvOl8TdEJWHkc7W9A8= Received: by 10.115.132.40 with SMTP id j40mr10657838wan.21.1277431316606; Thu, 24 Jun 2010 19:01:56 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id c22sm61011763wam.6.2010.06.24.19.01.54 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 19:01:56 -0700 (PDT) Date: Fri, 25 Jun 2010 09:01:46 +0700 From: "Anh Ky Huynh" To: Martin McCormick Message-ID: <20100625090146.367c67d5@icy.localdomain> In-Reply-To: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu> References: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sudo "last login" message and how to turn it off FreeBSD8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 02:01:57 -0000 On Thu, 24 Jun 2010 13:41:04 -0500 Martin McCormick wrote: > I have actually seen this on some FreeBSD6.3 systems and thought > it was a querk. It may still be a querk but it has started again > on an 8.0 system. I think I am doing something to cause it, but > I am not sure. > > When one executes a sudo command, I get a "last login" > message which reflects the last time I ran sudo. Example: > > [martin@pilot ~]$ sudo whoami > Password: > Last login: Thu Jun 24 13:07:20 from pilot.it.okstate > root > > There is another FreeBSD8.0 system here that has not yet > behaved this way so I did something to the test system to make > it start. > > Any ideas as to what to look at? I experienced the same problem and I just disabled /var/log/{userlog,lastlog}: # ls -ltro /var/log/|grep uchg -rw------- 1 root wheel uappnd,uchg,uunlnk 1 May 9 08:59 userlog -rw-r--r-- 1 root wheel uappnd,uchg,uunlnk 1 May 9 18:50 lastlog Hope this helps. Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 02:02:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 597B0106564A for ; Fri, 25 Jun 2010 02:02:09 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 04A3E8FC1C for ; Fri, 25 Jun 2010 02:02:08 +0000 (UTC) Received: by vws13 with SMTP id 13so3337171vws.13 for ; Thu, 24 Jun 2010 19:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IofdEDvAAy37g5Qcx7xlapP/863RkuZn0cB22mOHvMs=; b=Zlr2LWifguqzHQeYQyVL6ffrGdHYo2Y2wNQ9NyoyCso5zUOawvDf5oftRsHa90TbiT 3H04r9rGTpzBNNwfejF3p6BmnOZcHR+0jOZnAScI3IYYTtk2FDb6FPm7HGW3Iqa6Dr2j zuD3wuy/QfqxCxnC1vrGjnZLH3ILMTnn4gdPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JFYH6Z02lzFUT21xRP/+fnTVGhYuA/4+0DuEW9ib3MaRiF7ZBR1KU/xMELUYhGassg TemKjdloeug0a2+vQFnAM+pMvAPJpK2HRde0ugxstD3ZvTxJeNBW6+AXw3EDhjn5QvX4 Gavc80ECoJAHGXloVuvQUDLSFPV/YYwjGpi1c= Received: by 10.220.48.80 with SMTP id q16mr5401795vcf.231.1277431328006; Thu, 24 Jun 2010 19:02:08 -0700 (PDT) Received: from schism.local (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id s20sm19625469vcr.4.2010.06.24.19.02.05 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 19:02:06 -0700 (PDT) Message-ID: <4C240E1C.9060706@gmail.com> Date: Thu, 24 Jun 2010 22:02:04 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Fbsd1 References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> <4C2404FA.5050202@gmail.com> <4C240B38.6060508@a1poweruser.com> In-Reply-To: <4C240B38.6060508@a1poweruser.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 02:02:09 -0000 On 6/24/10 9:49 PM, Fbsd1 wrote: > Glen Barber wrote: >> >> Using the above FTP URL, PKG_PATH will look for >> >> ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ >> >> >> Regards, >> > No I am not looking for the remote path to fetch the package > distribution file from. When doing pkg_add -Kr pkgname > will save the downloaded distribution pkg file. > My question is where is this file saved at on my host by default. > /usr/packages maybe???? > /usr/ports/packages, assuming it exists. If not, it will save to the port directory. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 02:08:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7CCA1065672 for ; Fri, 25 Jun 2010 02:08:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 570FB8FC15 for ; Fri, 25 Jun 2010 02:08:03 +0000 (UTC) Received: by vws13 with SMTP id 13so3344220vws.13 for ; Thu, 24 Jun 2010 19:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sxayNpbzbOdmCqMPrWMISFwTO6Ah83nPQWcnB7cIC7E=; b=lXLxenlcdL1RH6sC88v/ZhQ80u4Zm7q8VG2NrTUYVA2K/9/Ljc5cIbfAR3oCoyVzod hpaz2Soi3lCsGEFLMVkpfOjnVhTyhKBdMmfTjJJdltmORoYGV0UIEtmxv1E7DwubO61N 1ZyU5D/shuR+p1UTXFiwttCLpp8w9EHNsVpo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=u2k3msGBwB6/lRX9XnfcvajLJ0R7xoQwhlEDLRv1kZ3vtDLF9CEKYWTBGQWKcJiblu UyKLQWkuEoeqIpEjkHmU8uLTX6+6immDZyF9O1TnbiJ42slScZck5mX67qAOcxiV2TTl H8uCC75YdtBKXRWg6lCB0kT/wpSdkMurLW05E= Received: by 10.220.122.3 with SMTP id j3mr5517808vcr.256.1277431682123; Thu, 24 Jun 2010 19:08:02 -0700 (PDT) Received: from schism.local (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id y13sm15044538vch.10.2010.06.24.19.07.59 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 19:08:00 -0700 (PDT) Message-ID: <4C240F7E.2080803@gmail.com> Date: Thu, 24 Jun 2010 22:07:58 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Fbsd1 References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> <4C2404FA.5050202@gmail.com> <4C240B38.6060508@a1poweruser.com> <4C240E1C.9060706@gmail.com> In-Reply-To: <4C240E1C.9060706@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 02:08:03 -0000 On 6/24/10 10:02 PM, Glen Barber wrote: > On 6/24/10 9:49 PM, Fbsd1 wrote: >> Glen Barber wrote: >>> >>> Using the above FTP URL, PKG_PATH will look for >>> >>> ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ >>> >>> >>> >>> Regards, >>> >> No I am not looking for the remote path to fetch the package >> distribution file from. When doing pkg_add -Kr pkgname >> will save the downloaded distribution pkg file. >> My question is where is this file saved at on my host by default. >> /usr/packages maybe???? >> > > /usr/ports/packages, assuming it exists. If not, it will save to the > port directory. Actually, to quote pkg_add(1): -K, --keep Keep any downloaded package in PKGDIR if it is defined or in current directory by default. Therefore, if PKGDIR is not defined, it should use $PWD. PKGDIR and PKG_PATH are two entirely different environment variables. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 04:42:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C0B106564A for ; Fri, 25 Jun 2010 04:42:48 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id B9EA18FC19 for ; Fri, 25 Jun 2010 04:42:48 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20100625044247919 for ; Fri, 25 Jun 2010 04:42:47 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o5P4ghu4028713 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 24 Jun 2010 21:42:47 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OS0kP-0003BF-N4 for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 21:42:37 -0700 To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> <87d3vgmj1s.fsf@cjlinux.localnet> <20100624183407.GA49923@holstein.holy.cow> From: Carl Johnson Date: Thu, 24 Jun 2010 21:42:37 -0700 In-Reply-To: <20100624183407.GA49923@holstein.holy.cow> (parv@pair.com's message of "Thu\, 24 Jun 2010 08\:34\:07 -1000") Message-ID: <878w63n2o2.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: check for numeric content in a shell script (FreeBSD sh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 04:42:49 -0000 parv@pair.com writes: >> if expr "$arg" : "[1-9]*\.\{0,1\}[0-9]*$" > /dev/null > > That regex considers "." a number but not "0.9" (this one seems to > be due to typo) nor a negative number. I had been pointing out an error in the regular expression that someone else had posted, but I obviously didn't do any better. > I would personally to use egrep or awk (printf "%s" "${arg}" | egrep > "${regex}" [0]) instead of expr. I would probably just perl for the whole thing, especially seeing the limitations in trying to use expr. Thanks for pointing out another approach. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 04:44:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5091065674 for ; Fri, 25 Jun 2010 04:44:18 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 0441B8FC15 for ; Fri, 25 Jun 2010 04:44:17 +0000 (UTC) Received: (qmail 4857 invoked by uid 0); 25 Jun 2010 04:44:17 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 25 Jun 2010 04:44:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=SKOiYMabVnB850LxH6Mj6UX9qTBjH1a3bsjKQc5qQGWUNcTpmxiPMp7KSCK94CN35iGEuAAoV8xhGhcb2sDqwy90snGtnmbFWFCa5FpXzWufv/zDJQQhPbchLc8PFZ7m; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OS0m0-0006SN-6b for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 22:44:17 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 24 Jun 2010 22:43:06 -0600 Date: Thu, 24 Jun 2010 22:43:06 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100625044306.GB9228@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <20100624050832.06ef2a46@scorpio> <20100624161439.GD557@libertas.local.camdensoftware.com> <20100624123815.01307f51@scorpio> <4C23CB5D.1030902@comclark.com> <20100624175120.08ecd1ee@scorpio> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <20100624175120.08ecd1ee@scorpio> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 04:44:18 -0000 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 24, 2010 at 05:51:20PM -0400, Jerry wrote: >=20 > In any case, as I previously posted, it was left up to the OP to decide > if the proposed solution was suitable for their needs. After reading > all of the babble concerning what should be a relatively easy operation, > perhaps the OP might want to consider switching to Bash. If we're going to start telling him what language to use, we might as well tell him to use an actual *programming* language (e.g. Perl). Otherwise, perhaps we should try to stick to what he wants to use. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwkM9kACgkQ9mn/Pj01uKXZ+QCfRU304LsQlf40g9jaQZ/pWhRg uYYAoJ2ZpDtdmhsVhXki7xf2lUD9JFA8 =iYH4 -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 05:02:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ABB3106564A for ; Fri, 25 Jun 2010 05:02:37 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id F301F8FC0C for ; Fri, 25 Jun 2010 05:02:36 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 1C1B828811 for ; Fri, 25 Jun 2010 07:02:36 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Edhp0d0xekUS for ; Fri, 25 Jun 2010 07:02:35 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id A9C2728515 for ; Fri, 25 Jun 2010 07:02:35 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1081) From: bsd In-Reply-To: <987C501A-EFE8-4800-9B3D-F0C79EFB08DE@todoo.biz> Date: Fri, 25 Jun 2010 07:02:35 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7AE5457D-3EB5-432D-9C66-3A54A3C38A7E@todoo.biz> References: <987C501A-EFE8-4800-9B3D-F0C79EFB08DE@todoo.biz> To: Liste FreeBSD X-Mailer: Apple Mail (2.1081) Subject: Re: Problem with system install with Toshiba MK2565GSX SATA disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 05:02:37 -0000 Looks like the problem was related to BIOS setting.=20 I have changed the setting of disk detection from "AUTO" to "LBA" and = this has allowed me to boot on the disk. One more question:=20 With the disk I am using FBSD seems to have two possibility for the = partition table size (or at least depending on different boot, It is = offering me sometimes the 1st option and other time the second one):=20 1. 30401 cylinders | 255 heads | 63 sectors=20 2. 484521 cylinders | 16 heads | 63 sectors Global dis size is 250GB (LBA 488397168) Le 24 juin 2010 =E0 20:37, bsd a =E9crit : > Hello,=20 >=20 > I am trying to install a toshiba HD on an appliance, the Toshiba is a = MK2565GSX of 250GB described = here:http://www3.toshiba.co.jp/storage/english/spec/hdd25/65.htm#spec02 >=20 > The system I am trying to install is pfSense (FBSD 7.2).=20 >=20 > I am not a 100% sure about the disk geometry=85 as It is not quite = clear.=20 >=20 > What is sure is that disk has 488 397 168 sectors=85=20 >=20 > Normally It should have 484 521 cylinder 16 heads and 63 sectors, but = I am not certain this setting is ok=85=20 > If I have a look at the BIOS setting after install, It tells me that = disk has 65535 cylinder, 16 head, 255 sector which is not quite the same = as the above=85=20 >=20 > If I use a "simple install" I generally end up with an error on my HD = after boot, once he tries to mount the disk=85=20 > Kernel is loaded ok, up until he reaches the disk da0 then there is an = error:=20 >=20 > ad1: FAILURE - READ_DMA48 status=3D51 = error=3D10 LBA=3D18446744073709551553 > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad1s1a > Trying to mount root from ufs:/dev/ad1s1a=20 > Trying to mount root from ufs:/dev/ad1s1a > Trying to mount root from ufs:/dev/ad1s1a > Trying to mount root from ufs:/dev/ad1s1a > Trying to mount root from ufs:/dev/ad1s1a > [=85] >=20 > Then I do not have access to the device using manual system mounting=85=20= >=20 > What would be your advise? =20 > Any idea what is precisely going wrong?=20 >=20 >=20 > Thank you very much.=20 >=20 > G.B. >=20 >=20 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 08:12:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C758C106566C for ; Fri, 25 Jun 2010 08:12:31 +0000 (UTC) (envelope-from ags18@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [77.88.46.9]) by mx1.freebsd.org (Postfix) with ESMTP id 76E838FC13 for ; Fri, 25 Jun 2010 08:12:31 +0000 (UTC) Received: from web18.yandex.ru (web18.yandex.ru [213.180.223.231]) by forward4.mail.yandex.net (Yandex) with ESMTP id AFA936AD8665 for ; Fri, 25 Jun 2010 12:12:29 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1277453549; bh=/KqUKgaKaFw0OizOCbllSKBnLq789BJXGNpXYeqLN7Q=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=lsic2J911dhkkUpmCShMMU+9pm4c9uVzTHaB5IA0pQS840OeVXH8pjNSdvEtTjrWz lfYI6hBvnXXcrZHNOFUG0kQdvbncM9tecUnM8rOBiGpf+4VnezlgbjSgWSVEt23Tzf YzAcexruHYOsizbQCkFwt+kbE3Jtse44rMjXc4nI= Received: from localhost (localhost.localdomain [127.0.0.1]) by web18.yandex.ru (Yandex) with ESMTP id AA7F73DB8070 for ; Fri, 25 Jun 2010 12:12:29 +0400 (MSD) X-Yandex-Spam: 1 X-Yandex-Front: web18.yandex.ru X-Yandex-TimeMark: 1277453549 Received: from [79.122.189.242] ([79.122.189.242]) by mail.yandex.ru with HTTP; Fri, 25 Jun 2010 12:12:28 +0400 From: Alexender To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <117041277453548@web18.yandex.ru> Date: Fri, 25 Jun 2010 12:12:28 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: USB-boot flash memory stick - Fixit mode do not start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 08:12:31 -0000 I try both 8.0-RELEASE and 8.1-RC official memstick images. I try write them to memory stick by that commands: # dd if=memstick.img of=/dev/da0 bs=10240 # dd if=memstick.img of=/dev/da0 bs=512 I also try to write image from Windows by win32diskimager-RELEASE-0.2-r23-win32 I think all was writen well in all cases - in /dev appear /dev/da0a - i try to mount it - all was fine. I try to boot from it - all was fine too - appear sysinstall. But when I try to go to Fixit mode and choose USB - sysinstall tell me that there is no USB-device. I try that on 3 different PC - all the same. What I did wrong? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 08:29:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5FF41065674 for ; Fri, 25 Jun 2010 08:29:34 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 64DB58FC13 for ; Fri, 25 Jun 2010 08:29:34 +0000 (UTC) Received: by bwz17 with SMTP id 17so1006596bwz.13 for ; Fri, 25 Jun 2010 01:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=d/S+bIei+KYHHUzcXo2Sys0oRkbeVdoKcDviEtURSbw=; b=NQ7bAzZHzpTROUJ032k1U7fm0PbRGfo8WxYl/QnPDL38Jm7Kjm9V0RTLZg40x7wd9e gWsK989+MWz5slNKmu9/At8SXwd52UB9gKIRRWADh+jdppnSG9kX1uJf5Z8yxXlIMWA5 CN1UDpwDYZKyT0s82OJu87tYMGza1jePRbwvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=w7KEeh/foDkh4ewabmcZ6FJGE7n57XzPzZ9yZEVXv6Y09F8oTCnHIOBa23hwYJUhyQ A3x+a1S6tBp98YuhDCyuaSWQsRt89r4NjTqQ7W8jQaAsJqsQfcBezAlY1drQgSLOPwE4 MZGbc64sNOFxgt+yX1GUgF+UMYYJy8Sbr9AJQ= MIME-Version: 1.0 Received: by 10.204.42.21 with SMTP id q21mr224530bke.179.1277454573375; Fri, 25 Jun 2010 01:29:33 -0700 (PDT) Received: by 10.204.47.224 with HTTP; Fri, 25 Jun 2010 01:29:33 -0700 (PDT) Date: Fri, 25 Jun 2010 10:29:33 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mod_proxy_html upgrade/reinstall outcomments line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 08:29:34 -0000 upgrading or reinstalling port www/mod_proxy_htmlevery time outcomments the line LoadModule proxy_html_module libexec/apache22/mod_proxy_html.so if you had it previously in your apache.conf file ... At your next run of # apachectl graceful, httpd gives an error and doesn't start ... I've noticed this a few times.. Can't this be fixed ? BTW how to know the e-mail address of the maintainer of a freebsd port? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 09:57:52 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 866721065672 for ; Fri, 25 Jun 2010 09:57:52 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (86.78.187.81.in-addr.arpa [81.187.78.86]) by mx1.freebsd.org (Postfix) with ESMTP id 9E59D8FC08 for ; Fri, 25 Jun 2010 09:57:51 +0000 (UTC) Received: (qmail 73325 invoked by uid 98); 25 Jun 2010 10:50:11 +0100 Received: from 192.168.50.10 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.50.10):. Processed in 0.089707 secs); 25 Jun 2010 09:50:11 -0000 Received: from unknown (HELO ?192.168.50.10?) (192.168.50.10) by lerwick.hopto.org with SMTP; 25 Jun 2010 10:50:10 +0100 From: Craig Butler To: Svavar Ingi Hermannsson In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 25 Jun 2010 10:31:03 +0100 Message-ID: <1277458263.4788.8.camel@x60.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: questions@FreeBSD.org Subject: Re: Icelandic FTP server doesn't work? I don't think it's been up for a while? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 09:57:52 -0000 On Thu, 2010-06-24 at 23:28 +0000, Svavar Ingi Hermannsson wrote: > Hi, > > I just wanted to notify you that the Icelandic ftp mirror site doesn't seam > to be working. > > ftp.is.freebsd.org > > Best regards, > Svavar Ingi > Seems to be working ok from here - [craig@x60:~] $ ftp ftp.is.freebsd.org Trying 130.208.16.26... Connected to ftp1.is.freebsd.org. 220- Velkomin(n) á FTP þjón Rannsóknar og Háskólanets Íslands (RHnet) Þeir sem hafa aðgang að rsync ættu að prófa "rsync ftp.rhnet.is::" Eftirfarandi söfn eru á þessum þjóni: Nafn: Slóð: Upprunastaður: ############################################################################ FreeBSD /pub/FreeBSD (ftp.freebsd.org) NetBSD /pub/NetBSD (ftp.netbsd.org) OpenBSD /pub/OpenBSD (ftp.openbsd.org) Fedora /pub/fedora (fedora.redhat.com) Debian /pub/debian (ftp.debian.org) Debian-non-US /pub/debian-non-US (ftp.debian.org) SuSE /pub/suse (ftp.suse.com) Linux-Kernel /pub/kernel.org (ftp.kernel.org) GNU /pub/gnu (ftp.gnu.org) PHP /pub/php (www.php.net) XFree86 /pub/XFree86 (ftp.xfree.org) X11 /pub/X11 (ftp.x.org) X11-Contrib /pub/X11-Contrib (ftp.x.org) KDE /pub/kde (ftp.kde.org) CPAN /pub/CPAN (ftp.funet.fi) perl /pub/CPAN/src (ftp.funet.fi) OpenSSH /pub/OpenSSH (ftp.openbsd.org) SSH /pub/ssh (ftp.ssh.com) rsync /pub/rsync (rsync.samba.org) Samba /pub/samba (rsync.samba.org) proFTPD /pub/proftpd (ftp.proftpd.org) Bind /pub/bind (ftp.isc.org) Bind-9 /pub/bind9 (ftp.isc.org) DHCP /pub/dhcp (ftp.isc.org) INN /pub/inn (ftp.isc.org) Sendmail /pub/sendmail (ftp.sendmail.org) Squid /pub/squid (ftp.squid-cache.org) PostgreSQL /pub/postgresql (ftp.postgresql.org) MySQL /pub/mysql (mysql.com) OpenOffice /pub/OpenOffice (openoffice.org) RFC /pub/rfc (ftp.isi.edu) Internet-Drafts /pub/internet-drafts (ftp.isi.edu) noattach /pub/noattach ############################################################################ Tenging þín hefur verið skráð frá 93.141.187.81.in-addr.arpa Heildarfjöldi notenda er 1 Allar aðgerðir eru skráðar. ftpadm@rhnet.is 220 ftp.rhnet.is FTP server (tnftpd 20061204) ready. Name (ftp.is.freebsd.org:craig): anonymous 331 Guest login ok, type your name as password. Password: 230- Please read the file README it was last modified on Sun May 13 23:22:44 2007 - 1138 days ago 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd pub/FreeBSD 250- Please read the file README.TXT it was last modified on Sat Jun 19 01:54:21 2004 - 2195 days ago 250 CWD command successful. ftp> ls 229 Entering Extended Passive Mode (|||61008|) 150 Opening ASCII mode data connection for '/bin/ls'. total 50 -rw-rw-r-- 1 cvsupin cvsupin 262 Jan 28 05:41 .message -r--rw-r-- 1 cvsupin cvsupin 0 Nov 7 1996 .notar drwxrwxr-x 6 cvsupin cvsupin 512 May 11 14:57 CERT lrwxrwxr-x 1 cvsupin cvsupin 15 Oct 26 2006 CTM -> development/CTM lrwxrwxr-x 1 cvsupin cvsupin 17 Oct 26 2006 CVSup -> development/CVSup drwxrwxr-x 4 cvsupin cvsupin 512 Oct 26 2006 ERRATA lrwxrwxr-x 1 cvsupin cvsupin 17 Oct 26 2006 FreeBSD-current -> branches/-current lrwxrwxr-x 1 cvsupin cvsupin 19 Oct 26 2006 FreeBSD-stable -> branches/4.0-stable lrwxrwxr-x 1 cvsupin cvsupin 25 Oct 26 2006 ISO-IMAGES-alpha -> releases/alpha/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 25 Oct 26 2006 ISO-IMAGES-amd64 -> releases/amd64/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 24 Oct 26 2006 ISO-IMAGES-i386 -> releases/i386/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 24 Oct 26 2006 ISO-IMAGES-ia64 -> releases/ia64/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 24 Oct 26 2006 ISO-IMAGES-pc98 -> releases/pc98/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 27 Jan 20 2007 ISO-IMAGES-powerpc -> releases/powerpc/ISO-IMAGES lrwxrwxr-x 1 cvsupin cvsupin 27 Oct 26 2006 ISO-IMAGES-sparc64 -> releases/sparc64/ISO-IMAGES -rw-rw-r-- 1 cvsupin cvsupin 6430 Jun 19 2004 README.TXT drwxrwxr-x 3 cvsupin cvsupin 512 Oct 26 2006 SOC2005 -rw-rw-r-- 1 cvsupin cvsupin 11 May 21 15:55 TIMESTAMP drwxrwxr-x 2 cvsupin cvsupin 512 May 11 14:57 TrustedBSD drwxrwxr-x 6 cvsupin cvsupin 512 Oct 31 2006 branches drwxrwxr-x 10 cvsupin cvsupin 512 Jun 4 2008 development -rw-r--r-- 1 cvsupin cvsupin 51880 May 21 05:48 dir.sizes lrwxrwxr-x 1 cvsupin cvsupin 15 Oct 26 2006 distfiles -> ports/distfiles drwxrwxr-x 24 cvsupin cvsupin 1024 May 11 15:05 doc -rw-r--r-- 1 cvsupin cvsupin 25848994 May 21 05:14 ls-lR.gz drwxrwxr-x 3 cvsupin cvsupin 512 May 11 15:05 misc drwxrwxr-x 9 cvsupin cvsupin 512 Jun 9 2007 ports drwxrwxr-x 9 cvsupin cvsupin 512 May 10 13:13 releases drwxrwxr-x 5 cvsupin cvsupin 1024 May 23 07:09 tools drwxrwxr-x 2 cvsupin cvsupin 512 May 10 13:13 tools.NEW drwxrwxr-x 3 cvsupin cvsupin 512 Oct 26 2006 torrents drwxrwxr-x 2 cvsupin cvsupin 512 May 11 15:05 updates 226 Transfer complete. ftp> get README.TXT local: README.TXT remote: README.TXT 229 Entering Extended Passive Mode (|||61009|) 150 Opening BINARY mode data connection for 'README.TXT' (6430 bytes). 100% |*************************************| 6430 35.34 KB/s 00:00 ETA 226 Transfer complete. 6430 bytes received in 00:00 (30.04 KB/s) From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 10:07:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 162D0106566B for ; Fri, 25 Jun 2010 10:07:33 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id 74F5F8FC16 for ; Fri, 25 Jun 2010 10:07:32 +0000 (UTC) Received: from [217.146.182.179] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 25 Jun 2010 10:07:31 -0000 Received: from [87.248.110.17] by t5.bullet.ukl.yahoo.com with NNFMP; 25 Jun 2010 10:07:31 -0000 Received: from [127.0.0.1] by omp101.mail.ukl.yahoo.com with NNFMP; 25 Jun 2010 10:07:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 288018.13171.bm@omp101.mail.ukl.yahoo.com Received: (qmail 78225 invoked by uid 60001); 25 Jun 2010 10:07:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1277460451; bh=IYnx3INnPt5H6woU5o0xd974O+tdXVK4JwXbZ9trSdU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5aRv8SGe4qBkFWad9YKSfomEVSY0yA7rw05PccmiJENhTehXZku/zO+pDDXTdmCz+uSPrtKeR6LTbeSHbar0MyJueIg3bQvVcHRwYmltClXawGJLR+sja2XfgDRvrWPe7caE5TbdPgMQa9XPEuGdrFqsjJQ7j812kfSbaInRFPw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ti36WmG88wktRDhO3zlKVlfojTTil+/42K4pgF0tEPBLAoaFRq+T9VM+ugIflzkatCmcmKrebY+3r8UE5OQWynCMMZQVA2XSaAXjS1HPHktehdDlJ7JU9vFLj+MuO93sabHOWxI4zQnvca880Y1xdInGQClpjyOCk8X6LkyoIo8=; Message-ID: <97872.77796.qm@web24810.mail.ird.yahoo.com> X-YMail-OSG: UTK8qDQVM1noLHC1bgGn6U0t8IzQcX2DVDS6E2ZLs.HTq_m 1Xi0YvmrozxQgFkNdxhjyzDhbQI3y3PsYKL5jW5IZnZScioR_Nx9MvDxlijx r0n2UpttHjr2TZRlbKsYUqWHpqqpHjdYQHd6sQNQfaX8i2F8N4aK2f4Sv964 F6wCtQcgwMIlOO9AU9X8Cq7gx.Zo_qwERiJ9uGs9eKHq3pU2tm7uN22z8iT8 oKVnTmHfmpYOi3GPfUnOuXAZUyL7ZKw-- Received: from [193.57.110.171] by web24810.mail.ird.yahoo.com via HTTP; Fri, 25 Jun 2010 10:07:31 GMT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Fri, 25 Jun 2010 10:07:31 +0000 (GMT) From: "Alexandre L." To: freebsd-questions@freebsd.org, n dhert In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re : mod_proxy_html upgrade/reinstall outcomments line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 10:07:33 -0000 I don't know how to fix this, but you can find information about the mainta= iner on this website : http://www.freshports.org/www/mod_proxy_html/=0A=0AH= ave you updated your tree port ?=0AThe port has been updated : 03 June 2010= =0A=0A--- En date de=A0: Ven 25.6.10, n dhert a =E9cr= it=A0:=0A=0A> De: n dhert =0A> Objet: mod_proxy_html u= pgrade/reinstall outcomments line=0A> =C0: freebsd-questions@freebsd.org=0A= > Date: Vendredi 25 juin 2010, 8h29=0A> upgrading or reinstalling port=A0= =0A> www/mod_proxy_htmlevery time outcomments the=0A> line=0A> LoadModule p= roxy_html_module=A0=0A> libexec/apache22/mod_proxy_html.so=0A> if you had i= t previously in your apache.conf file ...=0A> At your next run of # apachec= tl graceful, httpd gives an=0A> error and doesn't=0A> start ...=0A> I've no= ticed this a few times..=0A> Can't this be fixed ?=0A> =0A> BTW how to know= the e-mail address of the maintainer of a=0A> freebsd port?=0A> __________= _____________________________________=0A> freebsd-questions@freebsd.org=0A>= mailing list=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-questio= ns=0A> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@free= bsd.org"=0A> =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 11:47:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506991065670 for ; Fri, 25 Jun 2010 11:47:35 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from extmail-01.people.net.au (extmail-01.people.net.au [202.154.123.98]) by mx1.freebsd.org (Postfix) with SMTP id 8EC468FC12 for ; Fri, 25 Jun 2010 11:47:34 +0000 (UTC) Received: (qmail 1634 invoked from network); 25 Jun 2010 11:47:32 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.158.249) by extmail-01.people.net.au with SMTP; 25 Jun 2010 11:47:32 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id 3AE41171B3; Fri, 25 Jun 2010 21:47:31 +1000 (EST) Date: Fri, 25 Jun 2010 21:47:31 +1000 From: andrew clarke To: zaxis Message-ID: <20100625114731.GA51575@ozzmosis.com> References: <28988313.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28988313.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Is it appropriate to mount /var and /usr on ext2fs partition ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 11:47:35 -0000 On Thu 2010-06-24 18:36:13 UTC-0700, zaxis (z_axis@163.com) wrote: > /dev/ad4s8 on /media/G (ext2fs, local) > > The /dev/ad4s8 is an empty partition. Now i want to move /var and /usr to > it. Do i need to format /dev/ad4s8 to UFS ? I would reformat it as UFS unless you plan on dual-booting Linux on the same machine. You can use the -U argument with the newfs command to enable softupdates. AFAIK the default is off. Alternatively you can use tunefs to do this after you run newfs, but before you mount it. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 11:50:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105FA106567E for ; Fri, 25 Jun 2010 11:50:20 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3258FC17 for ; Fri, 25 Jun 2010 11:50:19 +0000 (UTC) Received: by wyf22 with SMTP id 22so1260530wyf.13 for ; Fri, 25 Jun 2010 04:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=mT4V1SSmDcD+lbE4Cj2JxTwgy9t1/j3Ll1AAwwb4DwU=; b=jGXETyGC77H+xrgogjcZo0+kNa1ecH19boNCyTsk1TfN3L9BEoVN+67gkz5Zb/1SGs wNU7s3O8L3GHuNBaAtuUyVe5a/INxONrN0X2T96UrS5niI6+XrH4RpjFxrr3YmyNLS6I TifdaofXJy49KdRXwNvqbNMadXL1fKn0wRM2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=OzlFdAbACvYz7vKKcxSpHjh9X5eZOSyYyk75U4J94e70CRxbZcACJIKBH28xKbH7uO oTxaSERTNhJcKZ+CgeUbSaF0JqEkcnVvNKp5Twt58raXhfz8QTRLn7IO+tmgZ4ha8JqK 2rSda9tPNG09vJYEzepGHbeMSsDIVEGn3FHQs= Received: by 10.227.69.142 with SMTP id z14mr459739wbi.195.1277466618379; Fri, 25 Jun 2010 04:50:18 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id k33sm27973314wbn.0.2010.06.25.04.50.17 (version=SSLv3 cipher=RC4-MD5); Fri, 25 Jun 2010 04:50:17 -0700 (PDT) Date: Fri, 25 Jun 2010 12:50:15 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100625125015.64cf3751@gumby.homeunix.com> In-Reply-To: <28988313.post@talk.nabble.com> References: <28988313.post@talk.nabble.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Is it appropriate to mount /var and /usr on ext2fs partition ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 11:50:20 -0000 On Thu, 24 Jun 2010 18:36:13 -0700 (PDT) zaxis wrote: > The /dev/ad4s8 is an empty partition. Now i want to move /var > and /usr to it. Do i need to format /dev/ad4s8 to UFS ? I would, there are FreeBSD specific file flags, that I don't think are supported by ext2fs. UFS with soft-updates is going to be faster than synchronously mounted ext2. And it's very easy to do. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 11:51:18 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60E101065673 for ; Fri, 25 Jun 2010 11:51:18 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from extmail-01.people.net.au (extmail-01.people.net.au [202.154.123.98]) by mx1.freebsd.org (Postfix) with SMTP id 9DDDE8FC1C for ; Fri, 25 Jun 2010 11:51:17 +0000 (UTC) Received: (qmail 5312 invoked from network); 25 Jun 2010 11:51:16 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.158.249) by extmail-01.people.net.au with SMTP; 25 Jun 2010 11:51:16 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id A758F171B3; Fri, 25 Jun 2010 21:51:13 +1000 (EST) Date: Fri, 25 Jun 2010 21:51:13 +1000 From: andrew clarke To: Svavar Ingi Hermannsson Message-ID: <20100625115113.GB51575@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@FreeBSD.org Subject: Re: Icelandic FTP server doesn't work? I don't think it's been up for a while? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 11:51:18 -0000 On Thu 2010-06-24 23:28:27 UTC+0000, Svavar Ingi Hermannsson (svavar@security.is) wrote: > I just wanted to notify you that the Icelandic ftp mirror site doesn't seam > to be working. > > ftp.is.freebsd.org 21:48 ozzmosis@blizzard [~]host ftp.is.freebsd.org ftp.is.freebsd.org is an alias for ftp1.is.freebsd.org. ftp1.is.freebsd.org has address 130.208.16.26 ftp1.is.freebsd.org has address 130.208.16.31 ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::31 ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::26 ftp1.is.freebsd.org mail is handled by 10 durinn.rhnet.is. I get "Connection refused" with 130.208.16.31. 130.208.16.26 is OK. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 14:10:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC34D106566C for ; Fri, 25 Jun 2010 14:10:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 3ACF38FC15 for ; Fri, 25 Jun 2010 14:10:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o5PEAEbk058853; Sat, 26 Jun 2010 00:10:14 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 26 Jun 2010 00:10:14 +1000 (EST) From: Ian Smith To: Alexender In-Reply-To: <20100625120020.BF98310656C1@hub.freebsd.org> Message-ID: <20100625235038.I9227@sola.nimnet.asn.au> References: <20100625120020.BF98310656C1@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: USB-boot flash memory stick - Fixit mode do not start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 14:10:21 -0000 In freebsd-questions Digest, Vol 316, Issue 8, Message: 18 On Fri, 25 Jun 2010 12:12:28 +0400 Alexender wrote: > I try both 8.0-RELEASE and 8.1-RC official memstick images. I try > write them to memory stick by that commands: > # dd if=memstick.img of=/dev/da0 bs=10240 > # dd if=memstick.img of=/dev/da0 bs=512 > I also try to write image from Windows by win32diskimager-RELEASE-0.2-r23-win32 > > I think all was writen well in all cases - in /dev appear /dev/da0a - > i try to mount it - all was fine. I try to boot from it - all was > fine too - appear sysinstall. Looks good. > But when I try to go to Fixit mode and choose USB - sysinstall tell > me that there is no USB-device. I try that on 3 different PC - all > the same. What I did wrong? This is a known bug that only happens with some, mostly older systems, and/or with some (slower?) types of USB stick, including mine. I don't know if this just-informational patch might make it into 8.1-RELEASE .. --- media.c.1.128 Mon Dec 14 20:04:38 2009 +++ media.c Mon Dec 14 20:50:14 2009 @@ -241,7 +241,8 @@ cnt = deviceCount(devs); if (!cnt) { - msgConfirm("No USB devices found!"); + msgConfirm("No USB devices found!\n" + "(try Options menu: Rescan devices)"); return DITEM_FAILURE | DITEM_CONTINUE; } else if (cnt > 1) { .. ie running 'Options menu: Rescan devices' fixes this issue for some. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 14:19:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83F01065675 for ; Fri, 25 Jun 2010 14:19:58 +0000 (UTC) (envelope-from pg.devbsd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC458FC1D for ; Fri, 25 Jun 2010 14:19:57 +0000 (UTC) Received: by wyf22 with SMTP id 22so1393163wyf.13 for ; Fri, 25 Jun 2010 07:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=O58UOBWmkG542N8W+XVQ+5rtbN/adlBDFxFoOk6CJ/c=; b=QRdB+NGn9065vv5dSh9Vh7cyh2Fz6dsoqSlN1NNenjPE5nykOmDU3HomoGahLTBaGY 9f7xkaFGI0nw2WK+akd0KIf7/bXDb+lbOFXXNY1V8yXaPDtp55VwAPSwrXB8PpZTcXCW Po6G3JVeI2WGYTVLqAnDgFDgyfWhIZ26OTBwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wf7roU24RbbpKsHRzTJ5jYzi+Kpp1p4xhjFRZCLOcrfhkyr9GcGJJS5njsskGzhhBN F17lokLqy70c8tgx3Sc7TH7OBh/zR+xFdKmNK8ntTMIIG33BPKbWweaTmWOL/SnMafuL Y8VXqGiSByvBFZVHRNqnpI4G8eQxfOkADMr8o= MIME-Version: 1.0 Received: by 10.216.159.20 with SMTP id r20mr616340wek.62.1277475596959; Fri, 25 Jun 2010 07:19:56 -0700 (PDT) Received: by 10.216.172.6 with HTTP; Fri, 25 Jun 2010 07:19:56 -0700 (PDT) Date: Fri, 25 Jun 2010 16:19:56 +0200 Message-ID: From: =?ISO-8859-2?Q?Pawe=B3_Grzyb?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: partition / is full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 14:19:58 -0000 My dear friends, Tool "df" showed me that the partition / has 102% of the occupied space (102% Capacity). Added a file=A3 rc.conf --> clear_tmp_enable=3D"YES" but nothing that could not (although it has been emptied tmp). Personally, I think that you need to remove the old kernel (I did freebsd-update fetch an= d install), but I do not know how. Perhaps the reason is quite different - I'= m just guessing. Do you know how to fix it? Sorry for my english Best regards, Pawel From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 14:29:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EFA9106566B for ; Fri, 25 Jun 2010 14:29:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id C941D8FC17 for ; Fri, 25 Jun 2010 14:29:53 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o5PEPcg8088518; Fri, 25 Jun 2010 10:25:38 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o5PEPcWu088517; Fri, 25 Jun 2010 10:25:38 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 25 Jun 2010 10:25:38 -0400 From: Jerry McAllister To: Pawe? Grzyb Message-ID: <20100625142538.GD88325@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: partition / is full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 14:29:54 -0000 On Fri, Jun 25, 2010 at 04:19:56PM +0200, Pawe? Grzyb wrote: > My dear friends, > > Tool "df" showed me that the partition / has 102% of the occupied space > (102% Capacity). Added a file? rc.conf --> clear_tmp_enable="YES" but > nothing that could not (although it has been emptied tmp). Personally, I > think that you need to remove the old kernel (I did freebsd-update fetch and > install), but I do not know how. Perhaps the reason is quite different - I'm > just guessing. Do you know how to fix it? That could fill up your root (/) partition. Getting rid of obsolete kernels could help. Another thing is to think out what you have in root. Does it include such things as /var, /tmp, /home, /usr (including /usr/local maybe) You may wany to move something like /home or /var or /usr/local to another large partition and make a syn link. Another option is just making separate partitions for /tmp, /home /var and /usr or at least /usr/local. Of course, that would require taking the system down, backing up all affected partitions with dump(8), revising the partition structure, editing /etc/fstab and then restoring everything with restore(8). ////jerry > > Sorry for my english > Best regards, > Pawel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 14:49:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50B9F106564A for ; Fri, 25 Jun 2010 14:49:02 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 14C448FC14 for ; Fri, 25 Jun 2010 14:49:01 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 25 Jun 2010 10:49:01 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.8-GA) with ESMTP id LTE94793; Fri, 25 Jun 2010 10:48:42 -0400 (EDT) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 25 Jun 2010 10:48:42 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19492.49609.97272.875526@jerusalem.litteratus.org> Date: Fri, 25 Jun 2010 10:48:41 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20100625142538.GD88325@gizmo.acns.msu.edu> References: <20100625142538.GD88325@gizmo.acns.msu.edu> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: partition / is full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 14:49:02 -0000 Jerry McAllister writes: > > Tool "df" showed me that the partition / has 102% of the occupied space > > (102% Capacity). Added a file? rc.conf --> clear_tmp_enable="YES" but > > nothing that could not (although it has been emptied tmp). Personally, I > > think that you need to remove the old kernel (I did freebsd-update fetch and > > install), but I do not know how. Perhaps the reason is quite different - I'm > > just guessing. Do you know how to fix it? > > That could fill up your root (/) partition. Getting rid of obsolete kernels > could help. Try: du -x / | sort -nr | head -n 30 and then figure out whether each of those directories is the correct size. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 16:11:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F15FB106566C for ; Fri, 25 Jun 2010 16:11:40 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B78638FC0C for ; Fri, 25 Jun 2010 16:11:40 +0000 (UTC) Received: by iwn8 with SMTP id 8so317101iwn.13 for ; Fri, 25 Jun 2010 09:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mUNRhzR2x1MZE+CKL1D5+IKl9dM5/6EVzPRcDDFq04U=; b=Ix68F+VGmXIZDvYbyUCA2uzuNCrWDmwKflcStHegLrCEYirnC4wwwy5HEs7lF3tQQ9 vpGqQhvHRR3JLcqdiDbuMNHagIVR//WlHkzN684URM0bbL6IYrSPdil4/WCJUvwUPgW5 C93XLCPv+Tn1aBF3B2wHqOo27HYsbRHwaS61I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XMw+xwx/HIw/XqeIqfx1FM7AyDYUi/jE+zECifaVvhxA78sGntAzKxTE2BeBQaseCk V1s3E3QZGSbLh5VFolZZJNh7UT8kBm2uvLVO/yOzazJxHTF2sJiOJmkxbe0ID4vaMJhp 2xnGWyLrfTTeRPNOfZUBUCS+BPgPskRV+ytZ4= MIME-Version: 1.0 Received: by 10.231.114.144 with SMTP id e16mr931242ibq.188.1277482300023; Fri, 25 Jun 2010 09:11:40 -0700 (PDT) Received: by 10.231.157.144 with HTTP; Fri, 25 Jun 2010 09:11:39 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Jun 2010 09:11:39 -0700 Message-ID: From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 16:11:41 -0000 > Or maybe change settings in your (unspecified) window manager. =A0It's re= ally > hard to tell without any detail about the problem or the environment. Yes, forgot that was an aspect of the wm, not xorg. It's xfwm4, and now it only alt-tabs thru windows in one direction, which is alot of fun when you have 20 windows open. Steve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 17:06:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC15F1065680 for ; Fri, 25 Jun 2010 17:06:26 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id A7D9D8FC1B for ; Fri, 25 Jun 2010 17:06:26 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OSCDD-0004kq-5W for freebsd-questions@freebsd.org; Fri, 25 Jun 2010 09:57:08 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 25 Jun 2010 10:06:21 -0700 Date: Fri, 25 Jun 2010 10:06:21 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100625170621.GB5554@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: ports issue with gegl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 17:06:26 -0000 Greetings. uname -a: FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010 sterling@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC amd64 As of a portsnap fetch update this morning, the gegl port will not build ===> gegl-0.1.2_1 is marked as broken: ffmpeg support is currently broken. gimp depends on gegl, so the latest update to gimp will not build. Known problem? -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 17:21:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7CDB1065672 for ; Fri, 25 Jun 2010 17:21:21 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.23]) by mx1.freebsd.org (Postfix) with ESMTP id 660FF8FC16 for ; Fri, 25 Jun 2010 17:21:21 +0000 (UTC) Received: from [193.239.178.194] (helo=localhost) by fsm1.ukr.net with esmtps ID 1OSCac-000AFf-Lk ; Fri, 25 Jun 2010 20:21:18 +0300 Date: Fri, 25 Jun 2010 20:21:17 +0300 From: Ivan Klymenko To: Chip Camden Message-ID: <20100625202117.209d18b5@ukr.net> In-Reply-To: <20100625170621.GB5554@libertas.local.camdensoftware.com> References: <20100625170621.GB5554@libertas.local.camdensoftware.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: ports issue with gegl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 17:21:21 -0000 =D0=92 Fri, 25 Jun 2010 10:06:21 -0700 Chip Camden =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Greetings. >=20 > uname -a: >=20 > FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD > 8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010 > sterling@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC > amd64 >=20 > As of a portsnap fetch update this morning, the gegl port will not > build >=20 > =3D=3D=3D> gegl-0.1.2_1 is marked as broken: ffmpeg support is currently > broken. >=20 > gimp depends on gegl, so the latest update to gimp will not build. >=20 > Known problem? >=20 reconfigure graphics/gegl whit out ffmpeg support cd /user/ports/graphics/gegl && make WITHOUT_FFMPEG=3Dyes config From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 17:43:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DEAE1065672 for ; Fri, 25 Jun 2010 17:43:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id DA1888FC16 for ; Fri, 25 Jun 2010 17:43:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5PHhtv3054563; Fri, 25 Jun 2010 11:43:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5PHhtsN054560; Fri, 25 Jun 2010 11:43:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 Jun 2010 11:43:55 -0600 (MDT) From: Warren Block To: Steve Franks In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-393390258-1277487835=:54545" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Fri, 25 Jun 2010 11:43:55 -0600 (MDT) Cc: FreeBSD Mailing List Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 17:43:56 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-393390258-1277487835=:54545 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 25 Jun 2010, Steve Franks wrote: >> Or maybe change settings in your (unspecified) window manager.  It's really >> hard to tell without any detail about the problem or the environment. > > Yes, forgot that was an aspect of the wm, not xorg. It's xfwm4, and > now it only alt-tabs thru windows in one direction, which is alot of > fun when you have 20 windows open. Check Settings/Window Manager/Keyboard for Cycle windows Tab Cycle windows (Reverse) Tab Might also need to check Settings/Keyboard for that combination. ---902635197-393390258-1277487835=:54545-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 17:59:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBBBE1065676 for ; Fri, 25 Jun 2010 17:59:48 +0000 (UTC) (envelope-from bsd4michelle@tamay-dogan.net) Received: from mail.tamay-dogan.net (mail.tamay-dogan.net [88.168.69.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3CEC08FC17 for ; Fri, 25 Jun 2010 17:59:47 +0000 (UTC) Received: from michelle1.private.tamay-dogan.net (router.private.tamay-dogan.net [::ffff:192.168.0.65]) (AUTH: LOGIN michelle.konzack) by mail.tamay-dogan.net with esmtp; Fri, 25 Jun 2010 19:59:45 +0200 id 0002BC4A.4C24EE91.000073A3 Received: by michelle1.private.tamay-dogan.net (sSMTP sendmail emulation); Fri, 25 Jun 2010 19:59:45 +0200 Date: Fri, 25 Jun 2010 19:59:45 +0200 From: Michelle Konzack To: freebsd-questions@freebsd.org Message-ID: <20100625175945.GJ21273@tamay-dogan.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Message-Flag: Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. X-Disclaimer-DE: Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. Organization: Tamay Dogan Network X-Operating-System: Linux michelle1 2.6.26-1-686 X-Uptime: 11:18:37 up 35 days, 10:50, 15 users, load average: 1.37, 2.06, 1.97 X-Homepage: http://www.debian.tamay-dogan.net/ User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 17:59:48 -0000 Hello Steve Franks, Am 2010-06-24 14:17:08, hacktest Du folgendes herunter: > I thought it was the kludged state of my desktop, but the 8-release > server I just brought up fresh yesterday is doing it too: alt-tab > works, alt-shift-tab does not. For those of us who are not into > gnome/kde/cutesy menus & panels, this is a major PITA. No doubt it > came in from linux-land with the latest xorg revision, and I'm going > to have to add another esoteric knob to my xorg.conf... I use FVWM under FreeBSD and Debian GNU/Linux and have the problem on both installations since I switched from XFree86 to X.org (first version was working and then it was gone). Exactly, both "alt-tab" AND "alt-shift-tab" do not more work. For me it is not ony a PITA it is a nighmare exspecialy if you use 6 Desktop pages or more Thanks, Greetings and nice Day/Evening Michelle Konzack --=20 ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstra=DFe 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix Jabber linux4michelle@jabber.ccc.de ICQ #328449886 Linux-User #280138 with the Linux Counter, http://counter.li.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 18:01:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28CDC1065673 for ; Fri, 25 Jun 2010 18:01:56 +0000 (UTC) (envelope-from bsd4michelle@tamay-dogan.net) Received: from mail.tamay-dogan.net (mail.tamay-dogan.net [88.168.69.36]) by mx1.freebsd.org (Postfix) with ESMTP id CAC878FC15 for ; Fri, 25 Jun 2010 18:01:55 +0000 (UTC) Received: from michelle1.private.tamay-dogan.net (router.private.tamay-dogan.net [::ffff:192.168.0.65]) (AUTH: LOGIN michelle.konzack) by mail.tamay-dogan.net with esmtp; Fri, 25 Jun 2010 20:01:53 +0200 id 0002BF8A.4C24EF11.00001AE1 Received: by michelle1.private.tamay-dogan.net (sSMTP sendmail emulation); Fri, 25 Jun 2010 20:01:53 +0200 Date: Fri, 25 Jun 2010 20:01:53 +0200 From: Michelle Konzack To: freebsd-questions@freebsd.org Message-ID: <20100625180153.GK21273@tamay-dogan.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Message-Flag: Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. X-Disclaimer-DE: Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. Organization: Tamay Dogan Network X-Operating-System: Linux michelle1 2.6.26-1-686 X-Uptime: 11:18:37 up 35 days, 10:50, 15 users, load average: 1.37, 2.06, 1.97 X-Homepage: http://www.debian.tamay-dogan.net/ User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: since when did alt-shift-tab quit working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 18:01:56 -0000 Hello Steve Franks, Am 2010-06-25 09:11:39, hacktest Du folgendes herunter: > > Or maybe change settings in your (unspecified) window manager.  It's really > > hard to tell without any detail about the problem or the environment. > Yes, forgot that was an aspect of the wm, not xorg. It's xfwm4, and > now it only alt-tabs thru windows in one direction, which is alot of > fun when you have 20 windows open. Me currently 48... :-/ Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstraße 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix Jabber linux4michelle@jabber.ccc.de ICQ #328449886 Linux-User #280138 with the Linux Counter, http://counter.li.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 18:50:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40E291065673 for ; Fri, 25 Jun 2010 18:50:52 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id E90798FC19 for ; Fri, 25 Jun 2010 18:50:51 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=CRXretTPUtnO3YxfLBAQPdv2BUzevxUrVWgTW+Y28TY= c=1 sm=0 a=RWmFJ1rmKfAA:10 a=UBIxAjGgU1YA:10 a=kj9zAlcOel0A:10 a=64iin7ZDX+lUS8OB6KzQoA==:17 a=ePsyhcdrAAAA:8 a=Ymsr-CWnAAAA:8 a=2HPld2HDaiCIpCuGDsIA:9 a=c8jR33Z-LgVyLZMjUUgN1icxsckA:4 a=CjuIK1q_8ugA:10 a=v2EulsF24l4A:10 a=O_fR4ZySa72RO1si:21 a=FXADqR1PTEihRDX1:21 a=64iin7ZDX+lUS8OB6KzQoA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.150.184.250 Received: from [98.150.184.250] ([98.150.184.250:54596] helo=localhost.hawaii.res.rr.com) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 23/4E-25793-A8AF42C4; Fri, 25 Jun 2010 18:50:51 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id D75965C94; Fri, 25 Jun 2010 08:54:00 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o5PIrxor005687; Fri, 25 Jun 2010 08:53:59 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Fri, 25 Jun 2010 08:53:59 -1000 From: parv@pair.com To: freebsd-questions@freebsd.org, Carl Johnson Message-ID: <20100625185359.GA1821@holstein.holy.cow> Mail-Followup-To: freebsd-questions@freebsd.org, Carl Johnson References: <4C22B3D7.6070102@comclark.com> <20100624033257.2D074BEA6@kev.msw.wpafb.af.mil> <87lja4mlme.fsf@cjlinux.localnet> <87hbksmk6y.fsf@cjlinux.localnet> <87d3vgmj1s.fsf@cjlinux.localnet> <20100624183407.GA49923@holstein.holy.cow> <20100624183933.GA50443@holstein.holy.cow> <20100624192256.GF557@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624192256.GF557@libertas.local.camdensoftware.com> Cc: Subject: Re: check for numeric content in a shell script (FreeBSD sh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 18:50:52 -0000 in message <20100624192256.GF557@libertas.local.camdensoftware.com>, wrote Chip Camden thusly... > > On Jun 24 08:39, Parv wrote: > > in message <20100624183407.GA49923@holstein.holy.cow>, > > wrote parv@pair.com thusly... > > > > > > # Matches a number, either positive (without '+' sign) or > > > # negative, which is either a whole number; or a real number > > > # ending with decimal point, or a real number with or without > > > # leading digits before the decimal point. > > . ^ > > . ^ plural > > > ^ > > > -? > > > ( > > > [0-9] [.]? [0-9]* > > > | > > > [0-9]? [.] [0-9]+ > > . ^ > > . ^ oops > > > > Please change the immediately above regex portion to ... > > > > [0-9]* [.] [0-9]+ ... > We still need to be able to handle numbers without a decimal. First alternative above handles that ... [0-9] # Match 1 digit, [.]? # followed by an optional decimal, [0-9]* # followed by any number of optional digits. > Try this: > > [0-9]*\.?[0-9]+ If it is really /^[0-9]*\.?[0-9]+$/, then it does not match a negative number or a number ending with a decimal (e.g. 8.). > The question mark says "0 or 1" > > > > > ) > > > $ Annotated regex now is ... ^ # Anchor at the beginning of string; -? # followed by an optional -ve sign; ( # start grouping|alternatives; [0-9] # match 1 digit, [.]? # followed by an optional decimal, [0-9]* # followed by any number of optional digits; | # OR, [0-9]* # match any number of optional digits, [.] # followed by 1 decimal point, [0-9]+ # followed by 1 or more digits; ) # end of grouping; $ # anchor at the end of the string. - parv -- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 19:24:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A2B3106564A for ; Fri, 25 Jun 2010 19:24:15 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 6A10D8FC17 for ; Fri, 25 Jun 2010 19:24:15 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o5PJO50P002895 for ; Fri, 25 Jun 2010 14:24:05 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201006251924.o5PJO50P002895@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2893.1277493845.1@dc.cis.okstate.edu> Date: Fri, 25 Jun 2010 14:24:05 -0500 From: Martin McCormick Subject: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 19:24:15 -0000 I have been attempting to shut off that "last login" message that occurs on some FreeBSD systems every time one runs a sudo command. I decided to bring back the last kernel which was the original Generic kernel from the FreeBSD distribution disk for FreeBSD8.0 to see if the problem went away. If it did, that would indicate that the problem starts after one applies the latest patches and rebuilds the kernel. The handbook covers building a new kernel very well, but I appear to be missing something. In /boot is loader and loader.old. Isn't loader.old the image of the previous kernel? I copied loader to loader.new since it should be the current image and then copied loader.old to loader and rebooted. The "last login" message was still there and dmesg still showed the production date of the new kernel. In other words, nothing changed. Shouldn't I have seen the production date of the original kernel? Thank you. I have actually built many kernels and most were simply a rebuild of the generic kernel after applying patches so I don't roll back a kernel very often. Fortunately, both the old and new kernels work. I think the "last login" nuisance started right after installing the patched kernel. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 20:19:31 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81AA31065673 for ; Fri, 25 Jun 2010 20:19:31 +0000 (UTC) (envelope-from spooky130u@gmail.com) Received: from fed1rmmtao105.cox.net (fed1rmmtao105.cox.net [68.230.241.41]) by mx1.freebsd.org (Postfix) with ESMTP id 586DE8FC12 for ; Fri, 25 Jun 2010 20:19:31 +0000 (UTC) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao102.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100625200601.EGIB20234.fed1rmmtao102.cox.net@fed1rmimpo01.cox.net> for ; Fri, 25 Jun 2010 16:06:01 -0400 Received: from n5ial-1.pn.at.cox.net ([68.109.99.225]) by fed1rmimpo01.cox.net with bizsmtp id aL611e00J4rmS0c03L61ET; Fri, 25 Jun 2010 16:06:02 -0400 X-VR-Score: -80.00 X-Authority-Analysis: v=1.1 cv=hCXpzsuHKVmzGSGmPIALYC6E+lN0INrSD/Mr2Rpwm1M= c=1 sm=1 a=hmqzQiHi4PwA:10 a=0qYQvVkOOIcA:10 a=kj9zAlcOel0A:10 a=wVSkus2gC08B95IUojpySA==:17 a=DUdPJsNKAAAA:8 a=pGLkceISAAAA:8 a=CU1OpSPKQrSunL3TIHoA:9 a=ezhB29Zsx7JBC7ZyUaru0fsEcVcA:4 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=wVSkus2gC08B95IUojpySA==:117 X-CM-Score: 0.00 Received: (from jim@localhost) by n5ial-1.pn.at.cox.net (8.14.1/8.13.6/Submit) id o5PK60V5093290 for questions@freebsd.org; Fri, 25 Jun 2010 15:06:00 -0500 (CDT) (envelope-from spooky130u@gmail.com) X-Authentication-Warning: n5ial-1.pn.at.cox.net: jim set sender to spooky130u@gmail.com using -f Date: Fri, 25 Jun 2010 15:06:00 -0500 From: Jim Graham To: questions@freebsd.org Message-ID: <20100625200600.GA93267@n5ial.pn.at.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: free software for FreeBSD (JStrack and GTbrew2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 20:19:31 -0000 Question: I'd like to have these two applications that I wrote, and continue to build and maintain as/when needed, and would like to have them listed (no real need for a port, except, perhaps, to make sure Tcl/Tk 8.4.x, various Tcl/Tk libs, and the netpbm/pbmplus/whatever utils are available) as freeware that's available for FreeBSD. JStrack is a hurricane tracking system: see http://www.jstrack.org/jstrack/ GTbrew2 is a brewer's recipe formulation program: see http://www.jstrack.org/brewing/ Any suggestions? Thanks, --jim -- 73 DE N5IAL (/4) | Peter da Silva: No, try "rm -rf /" spooky130u@gmail.com | Dave Aronson: As your life flashes before < Running FreeBSD 7.0 > | your eyes, in the unit of time known as an ICBM / Hurricane: | ohnosecond.... (alt.sysadmin.recovery) 30.56226N 86.52008W | From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 21:01:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D7551065673 for ; Fri, 25 Jun 2010 21:01:17 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id D98548FC08 for ; Fri, 25 Jun 2010 21:01:16 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OSFsS-00018a-FU for freebsd-questions@freebsd.org; Fri, 25 Jun 2010 13:51:57 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 25 Jun 2010 14:01:11 -0700 Date: Fri, 25 Jun 2010 14:01:11 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100625210111.GB14578@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions References: <20100625170621.GB5554@libertas.local.camdensoftware.com> <20100625202117.209d18b5@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100625202117.209d18b5@ukr.net> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: ports issue with gegl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 21:01:17 -0000 On Jun 25 20:21, Ivan Klymenko wrote: > ?? Fri, 25 Jun 2010 10:06:21 -0700 > Chip Camden ??????????: > > > Greetings. > > > > uname -a: > > > > FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD > > 8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010 > > sterling@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC > > amd64 > > > > As of a portsnap fetch update this morning, the gegl port will not > > build > > > > ===> gegl-0.1.2_1 is marked as broken: ffmpeg support is currently > > broken. > > > > gimp depends on gegl, so the latest update to gimp will not build. > > > > Known problem? > > > > reconfigure graphics/gegl whit out ffmpeg support > > cd /user/ports/graphics/gegl && make WITHOUT_FFMPEG=yes config > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Cheers! I should have figured that was an option, so sorry about the noise. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 21:35:37 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAF01065672 for ; Fri, 25 Jun 2010 21:35:37 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 176178FC1C for ; Fri, 25 Jun 2010 21:35:36 +0000 (UTC) Received: by wyf22 with SMTP id 22so1740512wyf.13 for ; Fri, 25 Jun 2010 14:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=zrCgWpEjySoEaAa/CaG+57ndkRwVHcCtyk0RruoqRp0=; b=mhfH2KsVg/RWRfJZr8ZrNn4NpgED1oTofyBVpAoAJqxz7iPXLubbyVg+iDaiTJp4Pf E2+DsilIfWyxWt8tPOFOPM9d1sRXppOXb+nDDUMegYGyuAQKS/mcsOALqftHD3Xlqn/C U43f4S90v14XSqYPP+Cfjw42OImO8u9YuxNsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=rvGyuqB2WDGhiw/M8g3dTJkf6fdPWBiVJEtvoYxA9jk/Eb4DLvVE1Tm9yw7qpIpTba 1YvdBSJ2oXAcm9M23oxFSQoZppugS+3n+2RzEFGP5xDIxLDSCO1egNTsmAvucXz8v6ia MK//dEIbBoJSkZGx0Lc8NdggeTVDbtotzH5qU= MIME-Version: 1.0 Received: by 10.227.127.83 with SMTP id f19mr1077389wbs.83.1277501735987; Fri, 25 Jun 2010 14:35:35 -0700 (PDT) Received: by 10.216.230.71 with HTTP; Fri, 25 Jun 2010 14:35:35 -0700 (PDT) Date: Fri, 25 Jun 2010 17:35:35 -0400 Message-ID: From: "b. f." To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 21:35:37 -0000 Martin McCormick wrote: > I have been attempting to shut off that "last login" message > that occurs on some FreeBSD systems every time one runs a sudo > command. I decided to bring back the last kernel which was the > original Generic kernel from the FreeBSD distribution disk for > FreeBSD8.0 to see if the problem went away. If it did, that > would indicate that the problem starts after one applies the > latest patches and rebuilds the kernel. > > The handbook covers building a new kernel very well, but > I appear to be missing something. In /boot is loader and > loader.old. Isn't loader.old the image of the previous kernel? I > copied loader to loader.new since it should be the current image > and then copied loader.old to loader and rebooted. > I don't think you've read the sections regarding kernel very carefully. The loader is built and installed as part of buildworld and installworld, not buildkernel or installkernel. It is not the kernel, which is usually installed in /boot/kernel, with the old kernel usually being moved to /boot/kernel.old when a new kernel is installed. > The "last login" message was still there and dmesg still > showed the production date of the new kernel. In other words, > nothing changed. > > Shouldn't I have seen the production date of the > original kernel? Thank you. > > I have actually built many kernels and most were simply > a rebuild of the generic kernel after applying patches so I > don't roll back a kernel very often. Fortunately, both the old > and new kernels work. I think the "last login" nuisance started > right after installing the patched kernel. > Why on earth are you tinkering with your kernels in order to change sudo output? You should instead be editing configuration files associated with sudo and related base system utilities, or patching sudo. b. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 22:16:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033E91065672 for ; Fri, 25 Jun 2010 22:16:58 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2568FC21 for ; Fri, 25 Jun 2010 22:16:57 +0000 (UTC) Received: by wwb24 with SMTP id 24so3117450wwb.13 for ; Fri, 25 Jun 2010 15:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=WuouIPv9h4/oAYy/Id278ziPcDlT+yL+H4258sVfPAI=; b=rmkNzLjXTE0EG7qC1Zd0m4WjwM0t/1CYC2W5LiSVO+BnMIUk1UbFe2VuhwPeiSAjKK tw6/ylSdLSavRJNW7hbwtnxq1UeYZ0x/yzqpwGtQrV8cP40hjE1vFIdbdzCVTRFwLKcO OZh9MyZ9+nd64MvlnaBaoY+SURJRrXT2GAkuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=HoB4m3oGfr/1fNbUvg4W9gq9pa8qhSpKjCj0ct2bdTU9c6BI3OEeKp9NCb2fY+5JtR kr1ArIfdpGCHCEvzjoVIMRYZ8Nx7zdLFb+ZbiUU4De3yTtzwXkND+Jx/oN21rDvfZ3JA X2oTYjJKXD1v+N+P4qWr9kd3QEXjiHYh13rRE= MIME-Version: 1.0 Received: by 10.216.86.199 with SMTP id w49mr1025394wee.84.1277504216684; Fri, 25 Jun 2010 15:16:56 -0700 (PDT) Received: by 10.216.230.71 with HTTP; Fri, 25 Jun 2010 15:16:56 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Jun 2010 18:16:56 -0400 Message-ID: From: "b. f." To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 22:16:58 -0000 On 6/25/10, b. f. wrote: > Martin McCormick wrote: >> I have been attempting to shut off that "last login" message >> that occurs on some FreeBSD systems every time one runs a sudo >> command. I decided to bring back the last kernel which was the ... > Why on earth are you tinkering with your kernels in order to change > sudo output? You should instead be editing configuration files > associated with sudo and related base system utilities, or patching > sudo. I should be more specific: I think you should be able to disable the message by commenting out the lines that refer to pam_lastlog.so in /etc/pam.d/system, /etc/pam.d/xdm, and /etc/pam.d/telnetd. But in doing so, you will lose some of the security and accounting benefits of last(1) and friends. Is it really worth it, just to silence some console messages? In any event, don't tinker with your kernel because of this. It won't help, and it may break your system. b. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 23:22:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D9CB106566B for ; Fri, 25 Jun 2010 23:22:24 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id EAC7B8FC23 for ; Fri, 25 Jun 2010 23:22:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64 ([76.121.184.98]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L4L00BQCFLAAJ50@asmtp026.mac.com> for freebsd-questions@freebsd.org; Fri, 25 Jun 2010 16:22:23 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006250127 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-25_09:2010-02-06, 2010-06-25, 2010-06-25 signatures=0 To: "freebsd-questions@freebsd.org" Date: Fri, 25 Jun 2010 16:22:16 -0700 From: Caleb Stein Message-id: User-Agent: Opera Mail/10.60 (Win32) Subject: Is it safe to modify Wine's makefile to allow it to install on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 23:22:24 -0000 Wine is configured to install only on i386, and I use amd64. I don't want to reinstall with i386, so I would like to know if it is safe to modify Wine's makefile and install it on amd64. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 23:46:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA641065675 for ; Fri, 25 Jun 2010 23:46:24 +0000 (UTC) (envelope-from martin@x.it.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFB18FC19 for ; Fri, 25 Jun 2010 23:46:24 +0000 (UTC) Received: from x.it.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.3/8.14.3) with ESMTP id o5PNk9Tk098676 for ; Fri, 25 Jun 2010 18:46:09 -0500 (CDT) (envelope-from martin@x.it.okstate.edu) Message-Id: <201006252346.o5PNk9Tk098676@x.it.okstate.edu> to: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <98674.1277509569.1@x.it.okstate.edu> Date: Fri, 25 Jun 2010 18:46:09 -0500 From: Martin McCormick Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 23:46:24 -0000 "b. f." writes: > Why on earth are you tinkering with your kernels in order to change > sudo output? You should instead be editing configuration files > associated with sudo and related base system utilities, or patching > sudo. Absolutely. I couldn't remember if this happened with the original kernel so I wanted to put it back long enough to see if the problem went away. If it is gone under the original kernel and here with the patched kernel, this might tell me something useful. I have a 8.0 system here that has a patched kernel that is a little older and it does not exhibit that behavior. Sudo is configured exactly the same way on both systems. The environment looks the same. This really makes no sense so there is something different on the system with the problem and I just have not found it yet. Martin From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 01:18:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6920F106566C for ; Sat, 26 Jun 2010 01:18:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id F28098FC1A for ; Sat, 26 Jun 2010 01:18:38 +0000 (UTC) Received: by wwb24 with SMTP id 24so3189830wwb.13 for ; Fri, 25 Jun 2010 18:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=pahorUmki1dot7zC5JMEsb7mVi8nfmyWo4X/kjRGrNA=; b=PBGVLBgV2SrXfK4fpoUys+3NxftYRaswzWUJJPzKBj99KRMwi2cbyFZRMv5o1ONtYl 8K5m3OGdE+j/12wpQUCrZR/K2Q5oLDpRWuIM9s4erObybwKfmUT8FW+AQD7xsnoEUPHt 4Q0o6UlXdUQS7fPi9T+Abw+wlRLOweM0uUzN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=H07cUa2Wle5TMYTPbkZjnkKPN0FN3E8WyqTGozxN2KRGAv+VWuNeHPayRsVJ7BcX5W Ow52QljB2uAJ5IInvjXcXqylloQ3lqSD3HHcTnrfzivNWU5wMH5Tb96NuslAa/9dLn7d So7E+mqpTj1KHNiVb4HU5pAINYUvcrF6ZSy+o= MIME-Version: 1.0 Received: by 10.216.158.147 with SMTP id q19mr5672926wek.64.1277515117631; Fri, 25 Jun 2010 18:18:37 -0700 (PDT) Received: by 10.216.230.71 with HTTP; Fri, 25 Jun 2010 18:18:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Jun 2010 21:18:37 -0400 Message-ID: From: "b. f." To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 01:18:39 -0000 On 6/25/10, b. f. wrote: > On 6/25/10, b. f. wrote: >> Martin McCormick wrote: >>> I have been attempting to shut off that "last login" message >>> that occurs on some FreeBSD systems every time one runs a sudo >>> command. I decided to bring back the last kernel which was the > ... >> Why on earth are you tinkering with your kernels in order to change >> sudo output? You should instead be editing configuration files >> associated with sudo and related base system utilities, or patching >> sudo. > > I should be more specific: I think you should be able to disable the > message by commenting out the lines that refer to pam_lastlog.so in > /etc/pam.d/system, /etc/pam.d/xdm, and /etc/pam.d/telnetd. But in > doing so, you will lose some of the security and accounting benefits > of last(1) and friends. Is it really worth it, just to silence some > console messages? In any event, don't tinker with your kernel because > of this. It won't help, and it may break your system. Looking at Matthew Seaman's earlier response, I find that his suggestion to make changes to ${PREFIX}/etc/pam.d/sudo is more appropriate than my guess above. But you probably need to look into the details, because judging from the comments in the ${PREFIX}/etc/pam.d/sudo.default file, there seems to be some subtleties involving sudo and pam_lastlog. Look at the pertinent manpages, the sudo docs, and: http://www.freebsd.org/doc/en/articles/pam/index.html b. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 02:08:59 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E21106566B for ; Sat, 26 Jun 2010 02:08:59 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 450278FC12 for ; Sat, 26 Jun 2010 02:08:58 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.102]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 25 Jun 2010 19:08:58 -0700 Message-ID: <4C256135.5030708@a1poweruser.com> Date: Sat, 26 Jun 2010 10:08:53 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Jun 2010 02:08:59.0188 (UTC) FILETIME=[8A0C5F40:01CB14D4] X-Sender: fbsd1@a1poweruser.com Cc: Subject: size suffix w x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 02:08:59 -0000 I have a script I am hacking. The code has a check for a size suffix. I know what m|mb|g|gb|k|kb| and the upper case version of the same letters mean. But the code also has an w|x size options. Is this a valid size type and what does it mean? From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 02:12:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62716106566B for ; Sat, 26 Jun 2010 02:12:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB7128FC08 for ; Sat, 26 Jun 2010 02:12:05 +0000 (UTC) Received: by wyb40 with SMTP id 40so64672wyb.13 for ; Fri, 25 Jun 2010 19:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PzWl1QHDmYeZ5nTOMjeMUbvg//mOcC726S0VxKMXg7M=; b=eSbXLjYpDBds1uBypvDiF/swB2skOOo/VZfYUqQatFDQDtIvve943TaG98584Io1Ze MExLweyHWh8gVzzCZ1oL+aGNjyw1/m0doo1GCqqDX3KmOnpBALy1/YpnXKnpdizurAhy 0z0SOKuzvPkEi05rh1t72HZISNED+VT5HSioc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YrAkMSctBKW/90eC/CVmQWNlpnTJaGT3eCsnZz/48QIMyn3Xtgb7Th6C6OdnnHSFYu Y7DhHtUbcBcu9tEpAil4JSdHm1oRvS6hN6KM7AEJnzgtcJ37IcA1AUF2JUiwf7IffVxj AWJZ7czhwVYaKQGSQxRjpT2QRo8DDLHGx5oZQ= MIME-Version: 1.0 Received: by 10.216.155.2 with SMTP id i2mr5697455wek.61.1277518324580; Fri, 25 Jun 2010 19:12:04 -0700 (PDT) Received: by 10.216.5.21 with HTTP; Fri, 25 Jun 2010 19:12:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Jun 2010 22:12:04 -0400 Message-ID: From: "illoai@gmail.com" To: utisoft@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, Alexander Best Subject: Re: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 02:12:06 -0000 On 21 June 2010 18:13, Chris Rees wrote: >> >> On 21 Jun 2010 23:12, "Alexander Best" wrote: >> >> hi there, >> >> i can't remember where i read this the other day, but i found this to >> be a great idea. basically the idea was to have one code pool which >> all the *bsd flavours share and also to which every *bsd committer has >> access and can make changes. especially code in /bin, /sbin, usr/bin, >> /usr/sbin or /usr/share (probably other places too) would benefit from >> this a lot. right now most of the work that gets done in one of these >> places by lets say dragonfly won't make it into freebsd or netbsd for >> a long time. or what's even worse: sometimes people document problems >> or bugs which have already been fixed in some other *bsd. if somebody >> fixes the problem that's just wasted time because it's been done >> beforehand. >> >> would this be even possible or not at all? > Politics... > There are architectural issues. You would think that a Ford 302 V8 would be a fairly simple swap into an old 305 engined 1979 Impala, given that they use the same fuel, the same lubricant, the same coolant, the same basic voltage, are within 1% displacement, and turn at similar RPMs, but the case is simply not so. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 02:17:27 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A07C2106566C for ; Sat, 26 Jun 2010 02:17:27 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 37C828FC0A for ; Sat, 26 Jun 2010 02:17:26 +0000 (UTC) Received: by wyb40 with SMTP id 40so66234wyb.13 for ; Fri, 25 Jun 2010 19:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Kwve0ovyswBR0xueZ5dYhd8ypKwQkyW9gSFbTydgA+M=; b=aDU5Zhl52XrJ0Ze49tc/5vK9q/VHb/7C/p4KSe7GapNLPNkbO1NeE5gkasOnXGV2OY 8vTHojg0zTGpoujZzzrNvNXCgcMIUr6KrU8f86bYOFGcsrp3dJmhHOP2AP82WfD6QBhU Nb5bC/hr0KwGTJqs39uUTiFQU97VLMFDlrgyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TjVwurvvMy8/BLC3R9PUg01GsYRtAYOA4kuxaISFuplZP7YloEW2/4ByMh6+iN1Dsh QYeylaMmKOWGibdSdL55qRjR9WsAT8i7kdc1FXa12hEQEyTo7VVcm9yrgCtWLo6gT16B O8fYWzj04vxSHCt9+itmp43kB2ZFKp2UOEWVA= MIME-Version: 1.0 Received: by 10.216.185.198 with SMTP id u48mr5734911wem.8.1277518646091; Fri, 25 Jun 2010 19:17:26 -0700 (PDT) Received: by 10.216.5.21 with HTTP; Fri, 25 Jun 2010 19:17:26 -0700 (PDT) In-Reply-To: <4C256135.5030708@a1poweruser.com> References: <4C256135.5030708@a1poweruser.com> Date: Fri, 25 Jun 2010 22:17:26 -0400 Message-ID: From: "illoai@gmail.com" To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Cc: "questions@freebsd.org" Subject: Re: size suffix w x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 02:17:27 -0000 On 25 June 2010 22:08, Fbsd1 wrote: > I have a script I am hacking. The code has a check for a size suffix. > I know what m|mb|g|gb|k|kb| and the upper case version of the same letters > mean. But the code also has an w|x size options. > Is this a valid size type and what does it mean? Is it at all explicated within the script, or is this a silly game? I would guess w=word and x=no-affix, so either bit or byte. That is if I were scribing the accursed thing. Or w=wotan meaning the greatest possible in every dimension, and x=meaning pornography. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 08:56:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B7E7106564A for ; Sat, 26 Jun 2010 08:56:37 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id DF3A68FC1D for ; Sat, 26 Jun 2010 08:56:36 +0000 (UTC) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 0EB82BF41E for ; Sat, 26 Jun 2010 10:56:34 +0200 (CEST) Received: by qwg5 with SMTP id 5so1052120qwg.13 for ; Sat, 26 Jun 2010 01:56:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.27.142 with SMTP id i14mr1394682qac.272.1277542593365; Sat, 26 Jun 2010 01:56:33 -0700 (PDT) Received: by 10.229.215.196 with HTTP; Sat, 26 Jun 2010 01:56:33 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Jun 2010 10:56:33 +0200 Message-ID: From: Alexander Best To: "illoai@gmail.com" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, utisoft@gmail.com Subject: Re: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 08:56:37 -0000 On Sat, Jun 26, 2010 at 4:12 AM, illoai@gmail.com wrote: > On 21 June 2010 18:13, Chris Rees wrote: > >>> >>> On 21 Jun 2010 23:12, "Alexander Best" wrote: >>> >>> hi there, >>> >>> i can't remember where i read this the other day, but i found this to >>> be a great idea. basically the idea was to have one code pool which >>> all the *bsd flavours share and also to which every *bsd committer has >>> access and can make changes. especially code in /bin, /sbin, usr/bin, >>> /usr/sbin or /usr/share (probably other places too) would benefit from >>> this a lot. right now most of the work that gets done in one of these >>> places by lets say dragonfly won't make it into freebsd or netbsd for >>> a long time. or what's even worse: sometimes people document problems >>> or bugs which have already been fixed in some other *bsd. if somebody >>> fixes the problem that's just wasted time because it's been done >>> beforehand. >>> >>> would this be even possible or not at all? > >> Politics... >> > > There are architectural issues. > > You would think that a Ford 302 V8 would be a fairly > simple swap into an old 305 engined 1979 Impala, > given that they use the same fuel, the same lubricant, > the same coolant, the same basic voltage, are within > 1% displacement, and turn at similar RPMs, but the > case is simply not so. i don't think you can compare BSD to cars. of course i'm not talking about kernel code or something like that. but if you take a look at most of the userland manuals or certain applications the code differs only by a few lines in all the BSDs. or think about spelling issues in manual pages. most of the time these changes won't make it into other BSDs for years or not at all. cheers. > > -- > -- > -- Alexander Best From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 12:40:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83E2106566C for ; Sat, 26 Jun 2010 12:40:13 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 635118FC19 for ; Sat, 26 Jun 2010 12:40:13 +0000 (UTC) Received: by bwz17 with SMTP id 17so1501303bwz.13 for ; Sat, 26 Jun 2010 05:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; bh=e3UnDDRShnre4MPy/FydlVJZOiRWf8NmoObLY8uharU=; b=gKSXTkgD8EYh9KbahCrzWlUh7j8xcXDd0HtTRImHjtgDgUhDxlUd3KZioAysAUjME8 ZP388ec2COiw7fMc3D52bpGuUEbK+Ls5eeic/C2v+ZmohcAIYbTkYhmQHl7z9jMS2F/I BNP0DFlr+eZvDoXe55disF4iizTa2zA/LmS38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=O3FTqXA3zLXoQsSZLfeSBJaE5F6VxWcRSCkDpwiECDfHfuvvSGo1G39cx9UyNvuuHf DT0HHYi+zKl6p1saApG2/C+WKD5RNL0G1WZPZTX2OUsiDxvMwvdChOR7BwgViYAgqK8v BFmdA20+e7J8lMJKCav2qgR27+f5DqGK741LE= Received: by 10.204.157.24 with SMTP id z24mr1393762bkw.187.1277556012142; Sat, 26 Jun 2010 05:40:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.115.68 with HTTP; Sat, 26 Jun 2010 05:39:42 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sat, 26 Jun 2010 13:39:42 +0100 Message-ID: To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: "illoai@gmail.com" , freebsd-questions@freebsd.org Subject: Re: sharing code between the various *BSDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 12:40:14 -0000 On 26 June 2010 09:56, Alexander Best wrote: > On Sat, Jun 26, 2010 at 4:12 AM, illoai@gmail.com wrote: >> On 21 June 2010 18:13, Chris Rees wrote: >> >>>> >>>> On 21 Jun 2010 23:12, "Alexander Best" wrote: >>>> >>>> hi there, >>>> >>>> i can't remember where i read this the other day, but i found this to >>>> be a great idea. basically the idea was to have one code pool which >>>> all the *bsd flavours share and also to which every *bsd committer has >>>> access and can make changes. especially code in /bin, /sbin, usr/bin, >>>> /usr/sbin or /usr/share (probably other places too) would benefit from >>>> this a lot. right now most of the work that gets done in one of these >>>> places by lets say dragonfly won't make it into freebsd or netbsd for >>>> a long time. or what's even worse: sometimes people document problems >>>> or bugs which have already been fixed in some other *bsd. if somebody >>>> fixes the problem that's just wasted time because it's been done >>>> beforehand. >>>> >>>> would this be even possible or not at all? >> >>> Politics... >>> >> >> There are architectural issues. >> >> You would think that a Ford 302 V8 would be a fairly >> simple swap into an old 305 engined 1979 Impala, >> given that they use the same fuel, the same lubricant, >> the same coolant, the same basic voltage, are within >> 1% displacement, and turn at similar RPMs, but the >> case is simply not so. > > i don't think you can compare BSD to cars. of course i'm not talking > about kernel code or something like that. but if you take a look at > most of the userland manuals or certain applications the code differs > only by a few lines in all the BSDs. or think about spelling issues in > manual pages. most of the time these changes won't make it into other > BSDs for years or not at all. > > cheers. > >> I would respectfully disagree. Anything of virtue done to the BSDs is generally shared as people see it. That's the great thing about their existence, they all borrow code from each other to suit their interests, while pursuing their own relentlessly. Far better to have a choice, after all they're all Free. Chris From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 13:04:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14F27106564A for ; Sat, 26 Jun 2010 13:04:45 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtao103.cox.net (fed1rmmtao103.cox.net [68.230.241.43]) by mx1.freebsd.org (Postfix) with ESMTP id CD3B28FC15 for ; Sat, 26 Jun 2010 13:04:44 +0000 (UTC) Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao103.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100626130444.SQGV20088.fed1rmmtao103.cox.net@fed1rmimpo02.cox.net> for ; Sat, 26 Jun 2010 09:04:44 -0400 Received: from asus64 ([72.220.91.10]) by fed1rmimpo02.cox.net with bizsmtp id ad4k1e0050DQbeo04d4kP8; Sat, 26 Jun 2010 09:04:44 -0400 X-VR-Score: -60.00 X-Authority-Analysis: v=1.1 cv=rlHGbvcq2pKF69+MP/lEF7+5o9lexHp1PP73J/oCzQY= c=1 sm=1 a=wbKXeunVgZ0A:10 a=kj9zAlcOel0A:10 a=/nTdwXoUaSOHzX6NQnbKNQ==:17 a=Oy95aUF1snKjAtkR7mkA:9 a=0nzD2wkAyHtTT4qat3MA:7 a=8tiKNV8JVwpUWokgwcjcvVCJKsAA:4 a=CjuIK1q_8ugA:10 a=/nTdwXoUaSOHzX6NQnbKNQ==:117 X-CM-Score: 0.00 Date: Sat, 26 Jun 2010 06:04:39 -0700 From: Robert To: freebsd-questions@freebsd.org Message-ID: <20100626060439.576e2a09@asus64> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Gnumeric w/network printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 13:04:45 -0000 Good Morning, I have been having a problem for awhile and I need some help with it. I have a Samsung network printer SCX-4725FN. It is a postscript printer. I am running FreeBSD 8 stable. FreeBSD asus64.shasta204.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #34: Fri Jun 25 21:17:41 PDT 2010 root@asus64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 I have a simple printcap file: lp|samsung|Samsung SCX-4725N:\ :lp=:rp=samsung:rm=192.168.2.2:\ :sh:mx#0:\ :sd=/var/spool/samsung:\ :lf=/var/log/printer.log: The printer works fine with most all of the programs I use with the exception of Gnumeric. If I try to print a spreadsheet, I get dozens of pages with between one and four lines of garbled information. On my wifes computer running the XP version of the Redmond OS, Gnumeric will print the same spreadsheet with out any problems. Is there a problem with my printcap file or is this a bug. I can supply any other information needed. TIA Robert From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 13:44:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B2B106566C for ; Sat, 26 Jun 2010 13:44:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDF38FC1E for ; Sat, 26 Jun 2010 13:44:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5QDiVCa058335; Sat, 26 Jun 2010 07:44:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5QDiVKc058332; Sat, 26 Jun 2010 07:44:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 26 Jun 2010 07:44:31 -0600 (MDT) From: Warren Block To: Robert In-Reply-To: <20100626060439.576e2a09@asus64> Message-ID: References: <20100626060439.576e2a09@asus64> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Sat, 26 Jun 2010 07:44:31 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" Subject: Re: Gnumeric w/network printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 13:44:34 -0000 On Sat, 26 Jun 2010, Robert wrote: > I have been having a problem for awhile and I need some help with it. I > have a Samsung network printer SCX-4725FN. It is a postscript printer. > > I am running FreeBSD 8 stable. > > FreeBSD asus64.shasta204.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE > #34: Fri Jun 25 21:17:41 PDT 2010 > root@asus64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 > > I have a simple printcap file: > > lp|samsung|Samsung SCX-4725N:\ > :lp=:rp=samsung:rm=192.168.2.2:\ > :sh:mx#0:\ > :sd=/var/spool/samsung:\ > :lf=/var/log/printer.log: rp should be the name of the queue on the printer. Some printers have a queue named "raw" that doesn't do any translation on incoming print jobs while other queues translate things like lf to cr. Some printers just ignore the queue name. rm should be the printer's DNS hostname, but since it prints it's probably resolvable. > The printer works fine with most all of the programs I use with the > exception of Gnumeric. If I try to print a spreadsheet, I get dozens of > pages with between one and four lines of garbled information. First guess: the printer's auto language switching is misidentifying the Gnumeric input as text. There may be a menu setting on the printer to make it accept everything as PS, or even a different queue to use. Second guess: the printer's PS engine can't quite handle the PS output of Gnumeric. Print to a .ps file, run that through ps2ps, and see if the result prints. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 14:02:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A7A91065673 for ; Sat, 26 Jun 2010 14:02:32 +0000 (UTC) (envelope-from martin@x.it.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADD88FC17 for ; Sat, 26 Jun 2010 14:02:31 +0000 (UTC) Received: from x.it.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.3/8.14.3) with ESMTP id o5QE2RWQ003556 for ; Sat, 26 Jun 2010 09:02:27 -0500 (CDT) (envelope-from martin@x.it.okstate.edu) Message-Id: <201006261402.o5QE2RWQ003556@x.it.okstate.edu> to: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3554.1277560947.1@x.it.okstate.edu> Date: Sat, 26 Jun 2010 09:02:27 -0500 From: Martin McCormick Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 14:02:32 -0000 "b. f." writes: > On 6/25/10, b. f. wrote: > Looking at Matthew Seaman's earlier response, I find that his > suggestion to make changes to ${PREFIX}/etc/pam.d/sudo is more > appropriate than my guess above. But you probably need to look into > the details, because judging from the comments in the > ${PREFIX}/etc/pam.d/sudo.default file, there seems to be some > subtleties involving sudo and pam_lastlog. Look at the pertinent > manpages, the sudo docs, and: > > http://www.freebsd.org/doc/en/articles/pam/index.html I do not believe any longer that this has anything to do with the FreeBSD version or patch level or the kernel. I have not solved the problem yet, but someone sent me a message off list with several good suggestions for comparing files on one system to those on another. I began to test to see which of our existing systems show the last login message and which do not. The fortunate thing is that there are several FreeBSD systems spread out over 3 campuses. All run FreeBSD6.3 at the same patch level. Three out of the 6 work normally. The other 3 also work normally except for that "last login" message. The FreeBSD8.0 system that also shows the message is patterned after one of the systems that is also displaying the unwanted message. The 3 systems that show the message are all essentially copies of each other so I am unwittingly copying the behavior even across FreeBSD versions. I expect to find the corruption in /usr/local as that is the one directory tree in which many files and scripts from the old system are copied to the new system. I may be accidentally getting some libraries or some of /usr/local/bin that should not come across. I will post a message when I find out because this behavior should not be happening. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 14:24:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A577106566B for ; Sat, 26 Jun 2010 14:24:16 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtao105.cox.net (fed1rmmtao105.cox.net [68.230.241.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3528FC0A for ; Sat, 26 Jun 2010 14:24:16 +0000 (UTC) Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao105.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100626142415.XOKL20564.fed1rmmtao105.cox.net@fed1rmimpo02.cox.net>; Sat, 26 Jun 2010 10:24:15 -0400 Received: from asus64 ([72.220.91.10]) by fed1rmimpo02.cox.net with bizsmtp id aeQF1e00E0DQbeo04eQFde; Sat, 26 Jun 2010 10:24:15 -0400 X-VR-Score: -260.00 X-Authority-Analysis: v=1.1 cv=rlHGbvcq2pKF69+MP/lEF7+5o9lexHp1PP73J/oCzQY= c=1 sm=1 a=mI6YO6ZdSLUA:10 a=kj9zAlcOel0A:10 a=/nTdwXoUaSOHzX6NQnbKNQ==:17 a=s1O25tkdAAAA:8 a=rEmbmAB3FZrqBRsDTKcA:9 a=lhx1yVKx78Dxm2Uo9AoA:7 a=FVgzLsciA5hcKnS4MexYhrJjIoMA:4 a=CjuIK1q_8ugA:10 a=OyOq_G8mXAEA:10 a=/nTdwXoUaSOHzX6NQnbKNQ==:117 X-CM-Score: 0.00 Date: Sat, 26 Jun 2010 07:24:10 -0700 From: Robert To: Warren Block Message-ID: <20100626072410.7a2f7c16@asus64> In-Reply-To: References: <20100626060439.576e2a09@asus64> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Gnumeric w/network printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 14:24:16 -0000 On Sat, 26 Jun 2010 07:44:31 -0600 (MDT) Warren Block wrote: > On Sat, 26 Jun 2010, Robert wrote: > > > I have been having a problem for awhile and I need some help with > > it. I have a Samsung network printer SCX-4725FN. It is a postscript > > printer. > > > > I am running FreeBSD 8 stable. > > > > FreeBSD asus64.shasta204.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE > > #34: Fri Jun 25 21:17:41 PDT 2010 > > root@asus64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 > > > > I have a simple printcap file: > > > > lp|samsung|Samsung SCX-4725N:\ > > :lp=:rp=samsung:rm=192.168.2.2:\ > > :sh:mx#0:\ > > :sd=/var/spool/samsung:\ > > :lf=/var/log/printer.log: > > rp should be the name of the queue on the printer. Some printers > have a queue named "raw" that doesn't do any translation on incoming > print jobs while other queues translate things like lf to cr. Some > printers just ignore the queue name. > > rm should be the printer's DNS hostname, but since it prints it's > probably resolvable. > Warren, Thank you for responding so quickly. Your answers got me thinking and I added an entry into /etc/hosts for samsung and now it will print Gnumeric. It is always simple when you figure it out. :-) Thanks again. You are one of the reasons that FreeBSD is the best OS. Robert From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 16:39:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4AE81065676 for ; Sat, 26 Jun 2010 16:39:07 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 71B528FC1A for ; Sat, 26 Jun 2010 16:39:07 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAFAE7JJUxbsdLE/2dsb2JhbACSfIwucsA8hSQE Received: from 196.210-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.210.196]) by relay.skynet.be with ESMTP; 26 Jun 2010 18:39:05 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id o5QGd5xo005448; Sat, 26 Jun 2010 18:39:05 +0200 (CEST) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Sat, 26 Jun 2010 18:39:04 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.1-PRERELEASE; KDE/4.4.4; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006261839.04637.tijl@coosemans.org> Cc: Caleb Stein Subject: Re: Is it safe to modify Wine's makefile to allow it to install on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 16:39:07 -0000 On Saturday 26 June 2010 01:22:16 Caleb Stein wrote: > Wine is configured to install only on i386, and I use amd64. I don't > want to reinstall with i386, so I would like to know if it is safe to > modify Wine's makefile and install it on amd64. If you want to run 32 bit Windows programs you should have a look at: http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d Support for 64 bit Windows programs has been added in Wine 1.2, but as far as I know, nobody has ported or even tested that on FreeBSD yet. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 16:48:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF03F106566C for ; Sat, 26 Jun 2010 16:48:53 +0000 (UTC) (envelope-from ap1-10@wanadoo.fr) Received: from smtpfb2-g21.free.fr (smtpfb2-g21.free.fr [212.27.42.10]) by mx1.freebsd.org (Postfix) with ESMTP id 56E398FC17 for ; Sat, 26 Jun 2010 16:48:51 +0000 (UTC) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id AE153D1A482 for ; Sat, 26 Jun 2010 18:30:22 +0200 (CEST) Received: from [127.0.0.1] (unknown [88.176.109.74]) by smtp6-g21.free.fr (Postfix) with ESMTP id 08BBFE0808D for ; Sat, 26 Jun 2010 18:30:14 +0200 (CEST) Message-ID: <4C262B13.4090707@wanadoo.fr> Date: Sat, 26 Jun 2010 18:30:11 +0200 From: Olivier GARNIER User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Antivirus: avast! (VPS 100626-0, 26/06/2010), Outbound message X-Antivirus-Status: Clean X-Mailman-Approved-At: Sat, 26 Jun 2010 17:45:09 +0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Dell workstation / server Freebsd's compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 16:48:53 -0000 Hi, I've got an old workstation wich i use to have FreeBSD server on it (http/samba/ 4 disk on RAID) It's summer time and the old workstation will not work at the end the summer time (too warm for it) So ii wish to change it. I don't need a big server, a tiny workstation will be enough. I wish a inter CPU and dell construction (i'm use to use there work) So herre is the question : If you have dell computer (wich is still sold by dell) and if you're working with FreeBSD on it with no more problem, can you tell me witch computer you have ? (it would be great to have the same list as laptop (*laptop*.bsdgroup.de) For workstation and server ...) Thanks Olivier From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 19:16:03 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 614271065673 for ; Sat, 26 Jun 2010 19:16:03 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E40D08FC1A for ; Sat, 26 Jun 2010 19:16:02 +0000 (UTC) Received: by bwz17 with SMTP id 17so1606844bwz.13 for ; Sat, 26 Jun 2010 12:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=NEU8oDGkHvZ6MN/Olqyi+5umKW6eNPMahjlKADWL+J0=; b=r91zyloZyla1EA5DPjK888Aqq6P7y380S492IeqWT58t4YvAgxUzGeDoIigQLwuybA s7GV3Xuc/kQHF/f5UzLQ+jDCBZ1BblsAsUNw+9GP2qbuu5EK6pJEYo8rRfy1h+g4Iwdl zYJhrLOe5UIaO4N+xWx2xwfa3j1BHAHwykq1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=e5ssnC1MkTFrx0WJOFgLruAfVUZcgVXyBh53k6hQpjel1A3xULuoN0tMW/qLUkfxfc NiL0exdRivd5WIz5xjD61BrD/g9x2RR4fyK+6s8KnX0im9SgfKk8GAokKhdbCC89S3xb VsR4za0jc8cCOJ49H3i7ILAxDOw1uYxLCjETo= Received: by 10.204.160.66 with SMTP id m2mr1761435bkx.69.1277578059609; Sat, 26 Jun 2010 11:47:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.115.68 with HTTP; Sat, 26 Jun 2010 11:47:09 -0700 (PDT) In-Reply-To: <20100625200600.GA93267@n5ial.pn.at.cox.net> References: <20100625200600.GA93267@n5ial.pn.at.cox.net> From: Chris Rees Date: Sat, 26 Jun 2010 19:47:09 +0100 Message-ID: To: Jim Graham Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: free software for FreeBSD (JStrack and GTbrew2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 19:16:03 -0000 On 25 June 2010 21:06, Jim Graham wrote: > Question: =A0I'd like to have these two applications that I wrote, and > continue to build and maintain as/when needed, and would like to have > them listed (no real need for a port, except, perhaps, to make sure > Tcl/Tk 8.4.x, various Tcl/Tk libs, and the netpbm/pbmplus/whatever > utils are available) as freeware that's available for FreeBSD. > > JStrack is a hurricane tracking system: > see http://www.jstrack.org/jstrack/ > > GTbrew2 is a brewer's recipe formulation program: > see http://www.jstrack.org/brewing/ > > Any suggestions? > > Thanks, > =A0 --jim > I'm offering to port these for you tomorrow, but first let's sort out your terminology. Freeware !=3D free software. http://en.wikipedia.org/wiki/Free_software Which is it? I'll port free software for you, but you need to let me know what the distribution terms are. Chris From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 22:07:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963A4106564A for ; Sat, 26 Jun 2010 22:07:38 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C90B8FC0A for ; Sat, 26 Jun 2010 22:07:38 +0000 (UTC) Received: by pvg6 with SMTP id 6so1453248pvg.13 for ; Sat, 26 Jun 2010 15:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=cJLHqeztQ9SkTPAG2bel08stQ0YG7EHaCOEE1DfH93c=; b=Y7vST8fR3giJ5/37BlMk2KG7DjGPSHgKW2w1YoY1OSR4aEn7heenod3Kw2Gy4mFvRI 0PCWwsfEq5+Okg+iEu2qqn3ukfAyZdQAe8/HnT7fVqr1lph1vCTOLjvxloZRrSmHWdRM y77VJQDpRl77cNPrnQylUWyTjfaeXjKmM0iG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=re2fIWj4vg80f7QL1vmYzB3sjNV0eTDL4m7R2p9P7OBgJYA/inrsr8jxLEpCuXmOVQ 23HAD3yopZfBMGokh+85zGwgMxMSub0tKe6K3SZehDr4VKSrfmYcwCjLB529utSXG2T9 Cziqt3Yt5LeEelT2QTQEd4mO/mhB2ppb5fA9I= MIME-Version: 1.0 Received: by 10.114.45.1 with SMTP id s1mr3031994was.18.1277590057625; Sat, 26 Jun 2010 15:07:37 -0700 (PDT) Received: by 10.114.145.11 with HTTP; Sat, 26 Jun 2010 15:07:37 -0700 (PDT) In-Reply-To: <4C262B13.4090707@wanadoo.fr> References: <4C262B13.4090707@wanadoo.fr> Date: Sat, 26 Jun 2010 16:07:37 -0600 Message-ID: From: Tim Judd To: Olivier GARNIER Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Dell workstation / server Freebsd's compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 22:07:38 -0000 On 6/26/10, Olivier GARNIER wrote: > Hi, > > > I've got an old workstation wich i use to have FreeBSD server on it > (http/samba/ 4 disk on RAID) > It's summer time and the old workstation will not work at the end the > summer time (too warm for it) > > So ii wish to change it. > I don't need a big server, a tiny workstation will be enough. > I wish a inter CPU and dell construction (i'm use to use there work) > So herre is the question : > > If you have dell computer (wich is still sold by dell) and if you're > working with FreeBSD on it with no more problem, can you tell me witch > computer you have ? > (it would be great to have the same list as laptop > (*laptop*.bsdgroup.de) For workstation and server ...) You have more people with success on generic hardware you buy at newegg.com for example than you will with Dell or any other OEM. Moreover, you won't get support from Dell or an OEM for support issues, including hardware replacements because they didn't sell the machine with BSD. If you want a company that supports BSD, use iXsystems. If you want general compatibility that generally works better than any OEM, use general parts from newegg, etc. iXsystems is the exception because they test and support BSD on the parts they sell. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 22:11:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD282106566B for ; Sat, 26 Jun 2010 22:11:37 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9478FC19 for ; Sat, 26 Jun 2010 22:11:37 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkGAJYXJkxbsXsw/2dsb2JhbACSeYwucr50hSQE Received: from 48.123-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.123.48]) by relay.skynet.be with ESMTP; 27 Jun 2010 00:11:35 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id o5QMBYrv007701 for ; Sun, 27 Jun 2010 00:11:34 +0200 (CEST) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Sun, 27 Jun 2010 00:11:33 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.1-PRERELEASE; KDE/4.4.4; i386; ; ) References: <201006261839.04637.tijl@coosemans.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006270011.33974.tijl@coosemans.org> Subject: Re: Is it safe to modify Wine's makefile to allow it to install on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 22:11:37 -0000 On Saturday 26 June 2010 18:41:06 Caleb Stein wrote: > On Sat, 26 Jun 2010 09:39:04 -0700, Tijl Coosemans wrote: >> On Saturday 26 June 2010 01:22:16 Caleb Stein wrote: >>> Wine is configured to install only on i386, and I use amd64. I >>> don't want to reinstall with i386, so I would like to know if it is >>> safe to modify Wine's makefile and install it on amd64. >> >> If you want to run 32 bit Windows programs you should have a look >> at: >> http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d >> >> Support for 64 bit Windows programs has been added in Wine 1.2, but >> as far as I know, nobody has ported or even tested that on FreeBSD >> yet. > > Umm, wouldn't it be a lot easier to just modify the makefile and > change ONLY_FOR_ARCHS to amd64 instead of i386? I need to know if > that will destroy my system. You would end up with an amd64 version of Wine that only runs 64 bit programs, which is untested on FreeBSD and probably not what you want.