From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 02:35: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 4D0A2106564A for ; Sun, 21 Nov 2010 02:35:51 +0000 (UTC) (envelope-from af300wsm@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 D14618FC0A for ; Sun, 21 Nov 2010 02:35:50 +0000 (UTC) Received: by fxm19 with SMTP id 19so4039643fxm.13 for ; Sat, 20 Nov 2010 18:35:49 -0800 (PST) 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=+9S50qQkETJdQ9qGsqopRefoS073KVEvqs+myI4ekvs=; b=ugsqe3zPjLc3FcU99Rk/73t8BZzcaFQldNSZdJAIB6yiIbMWTRvI3DQopQg0WEQYBz FjBcgU5eDSOiuQFreizggA9GucEhtNLUlijbLQEnfXfCxBrRw7bAMdYjesQchgRjq4jI Fevo/lJmoXJ8XfP9gJ19lMwevYImumzU962n4= 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=Rw+WgMJ7yWSi2EOKj8czF8Dowiqw6FWmbrb71TLQDTcyccTuYl1Q/4BZqYhvMFCCUO xeMCXdd9kgEz62Mvgada2AsOF7kGJWJfIJdFwXdKSHndzK82e+nkPdaDuS/atSasSvZU I78Xr//MX0F+UqwTRIVp2QwnQV4/k+v7F0/ms= MIME-Version: 1.0 Received: by 10.223.87.6 with SMTP id u6mr533957fal.84.1290305330074; Sat, 20 Nov 2010 18:08:50 -0800 (PST) Received: by 10.223.123.79 with HTTP; Sat, 20 Nov 2010 18:08:49 -0800 (PST) In-Reply-To: References: Date: Sat, 20 Nov 2010 19:08:49 -0700 Message-ID: From: Andrew Falanga To: =?ISO-8859-1?Q?Jos=E9_Silveira?= 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: Why do you use a devil as a mascot? 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, 21 Nov 2010 02:35:51 -0000 2010/11/11 Jos=E9 Silveira > Why do you use a devil as a mascot? > > For me it is nonsense... It makes Christians, Jwishes and Muslins run awa= y! > > Jose, So many have replied already and I truthfully haven't read each post. I di= d want to say something about this though since I am a Christian. Early on I was a little troubled. However, this was due, not to some tennent of the faith but rather to my ignorance of my own faith and immaturity. The reality is, that mascot for FreeBSD has nothing whatsoever to do with Satan= . Andy From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 06:13: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 94248106566B for ; Sun, 21 Nov 2010 06:13:06 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5778FC0A for ; Sun, 21 Nov 2010 06:13:06 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAL6D5fB071756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 20 Nov 2010 22:13:05 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAL6D5lG071755 for freebsd-questions@freebsd.org; Sat, 20 Nov 2010 22:13:05 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06098; Sat, 20 Nov 10 22:10:24 PST Date: Sat, 20 Nov 2010 22:10:22 -0800 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: a gmirror disappears after adding gjournals to its partitions 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, 21 Nov 2010 06:13:06 -0000 Is there something wrong with this sequence, in Fixit: * create a mirror * partition it with disklabel * create journals on the partitions * install * reboot? After rebooting, the mirror had disappeared and the journals seemed to exist directly on partitions of the mirror's provider rather than on the mirror itself. Details: Using Fixit# from the 8.1-RELEASE memstick I defined a gmirror (initially containing only one provider; the other to be added later), partitioned it using disklabel, added a journal to each of the partitions, ran newfs -J on them, and installed FreeBSD using http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror as a guide (with a few differences due to this installation being UFS rather than ZFS). In Fixit the /dev tree contained entries for both the mirror and the journal devices, but when I rebooted the mirror did not show up -- even though geom_mirror.ko was loaded. What would cause this sort of mixup, and how do I fix it? Is any more info needed? ==== contents of /dev/mirror before creating the journals Fixit# ls -la /dev/mirror total 1 dr-xr-xr-x 2 root 0 512 Nov 14 00:17 . dr-xr-xr-x 9 root 0 512 Nov 14 00:11 .. crw-r----- 1 root operator 0, 80 Nov 14 00:36 gm0 crw-r----- 1 root operator 0, 126 Nov 14 00:36 gm0a crw-r----- 1 root operator 0, 128 Nov 14 00:36 gm0d crw-r----- 1 root operator 0, 129 Nov 14 00:36 gm0e ==== corresponding disklabel report Fixit# disklabel /dev/mirror/gm0 # /dev/mirror/gm0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 8388608 16 4.2BSD 1024 8192 16 c: 619907517 0 unused 0 0 d: 25165824 8388624 4.2BSD 0 0 0 e: 586353069 33554448 4.2BSD 0 0 0 ==== journal creation, with resulting dmesg reports Fixit# gjournal label -s 2G /dev/mirror/gm0a GEOM_JOURNAL: Journal 1098378706: mirror/gm0a contains data. GEOM_JOURNAL: Journal 1098378706: mirror/gm0a contains journal. GEOM_JOURNAL: Journal mirror/gm0a clean. Fixit# gjournal label -s 2G /dev/mirror/gm0d GEOM_JOURNAL: Journal 3795372090: mirror/gm0d contains data. GEOM_JOURNAL: Journal 3795372090: mirror/gm0d contains journal. GEOM_JOURNAL: Journal mirror/gm0d clean. Fixit# gjournal label -s 2G /dev/mirror/gm0e GEOM_JOURNAL: Journal 2063379813: mirror/gm0e contains data. GEOM_JOURNAL: Journal 2063379813: mirror/gm0e contains journal. GEOM_JOURNAL: Journal mirror/gm0e clean. ==== contents of /dev/mirror after creating the journals Fixit# ls -la /dev/mirror total 1 dr-xr-xr-x 2 root 0 512 Nov 14 00:17 ./ dr-xr-xr-x 9 root 0 512 Nov 14 00:11 ../ crw-r----- 1 root operator 0, 80 Nov 14 02:01 gm0 crw-r----- 1 root operator 0, 78 Nov 14 02:06 gm0a crw-r----- 1 root operator 0, 126 Nov 14 02:06 gm0a.journal crw-r----- 1 root operator 0, 125 Nov 14 02:07 gm0d crw-r----- 1 root operator 0, 128 Nov 14 02:07 gm0d.journal crw-r----- 1 root operator 0, 130 Nov 14 02:07 gm0e crw-r----- 1 root operator 0, 129 Nov 14 02:07 gm0e.journal ==== newfs commands Fixit# newfs -J /dev/mirror/gm0a.journal Fixit# newfs -J /dev/mirror/gm0d.journal Fixit# newfs -J /dev/mirror/gm0e.journal ==== mount the resulting filesystems (and one ordinary partition, ==== neither mirrored nor journalled, to be used as /tmp -- I figure ==== /tmp is expendable), resulting in this FS configuration Fixit# mount /dev/md0 on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/da1a on /dist (ufs, local, read-only) /dev/mirror/gm0a.journal on /mnt (ufs, local, gjournal) /dev/ad8s2d on /mnt/tmp (ufs, local) /dev/mirror/gm0d.journal on /mnt/var (ufs, local, gjournal) /dev/mirror/gm0e.journal on /mnt/usr (ufs, local, gjournal) ==== install per http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror, ==== no detailed log kept ==== manually-created config files, while still in chroot after install Fixit# cat /boot/loader.conf geom_mirror_load="YES" geom_journal_load="YES" vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" vfs.root.mountfrom.options="rw" Fixit# cat /etc/fstab /dev/mirror/gm0a.journal / ufs rw 0 1 /dev/ad0s2b none swap sw 0 0 /dev/ad8s2b none swap sw 0 0 /dev/ad8s2d /tmp ufs rw 0 2 /dev/mirror/gm0d.journal /var ufs rw 0 3 /dev/mirror/gm0e.journal /usr ufs rw 0 4 /dev/da1a /dist ufs ro 0 0 devfs /dev devfs multilabel 0 0 ==== output from kldstat, after booting the newly-installed system -- ==== and manually mounting the root FS -- showing that geom_mirror.ko ==== did get loaded. Id Refs Address Size Name 1 6 0xc0400000 bb5504 kernel 2 1 0xc0fb6000 14540 geom_journal.ko 3 1 0xc0fcb000 16ed4 geom_mirror.ko ==== dmesg from booting the newly-installed system (long) ==== /dev/mirror does not exist and the journals are now ==== found on the ad0s2* 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-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (731.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Family = 6 Model = 8 Stepping = 3 Features=0x383fbff real memory = 536870912 (512 MB) avail memory = 510218240 (486 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 1ef9e000 (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 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xf4000000-0xf5ffffff,0xfcffc000-0xfcffffff,0xfc000000-0xfc7fffff irq 16 at device 0.0 on pci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xf8fffc00-0xf8fffc7f irq 16 at device 4.0 on pci2 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:b0:d0:22:5a:14 xl0: [ITHREAD] pci2: at device 6.0 (no driver attached) atapci0: port 0xdc70-0xdc7f,0xdc50-0xdc5f,0xdc30-0xdc3f,0xdc10-0xdc1f,0xd8e0-0xd8ff,0xd400-0xd4ff irq 19 at device 11.0 on pci2 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pcib3: at device 14.0 on pci2 pci3: on pcib3 ahc0: port 0xec00-0xecff mem 0xfafff000-0xfaffffff irq 18 at device 10.0 on pci3 ahc0: [ITHREAD] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 19 at device 10.1 on pci3 ahc1: [ITHREAD] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 pci0: at device 31.3 (no driver attached) atrtc0: port 0x70-0x7f irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 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] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xcffff pnpid ORM0000 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 Timecounter "TSC" frequency 731470456 Hz quality 800 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 ad0: 305245MB at ata0-master UDMA66 ugen0.1: at usbus0 uhub0: on usbus0 ad1: 32253MB at ata0-slave UDMA66 uhub0: 2 ports with 2 removable, self powered GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s). GEOM: ad0s2: media size does not match label. GEOM_JOURNAL: Journal 1098378706: ad0s2a contains data. GEOM_JOURNAL: Journal 1098378706: ad0s2a contains journal. GEOM_JOURNAL: Journal ad0s2a clean. GEOM_JOURNAL: Journal 3795372090: ad0s2d contains data. GEOM_JOURNAL: Journal 3795372090: ad0s2d contains journal. GEOM_JOURNAL: Journal ad0s2d clean. GEOM_JOURNAL: Journal 2063379813: ad0s2e contains data. GEOM_JOURNAL: Journal 2063379813: ad0s2e contains journal. GEOM_JOURNAL: Journal ad0s2e clean. device_attach: afd0 attach returned 6 ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 acd0: CDROM at ata1-slave PIO4 ad4: 61136MB at ata2-master UDMA100 SATA 1.5Gb/s acd1: DVDR at ata3-master UDMA66 SATA 1.5Gb/s ad8: 305245MB at ata4-master UDMA133 umass0:2:0:-1: Attached to scbus2 GEOM: ad8s2: geometry does not match label (255h,63s != 16h,63s). da0 at ahc0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit) da0: Command Queueing enabled da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da1 at umass-sim0 bus 0 scbus2 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) GEOM: da1: geometry does not match label (255h,63s != 64h,32s). GEOM: da1: media size does not match label. Trying to mount root from ufs:/dev/mirror/gm0a.journal ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/mirror/gm0a.journal vfs.root.mountfrom.options=rw Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: da1a ext2fs// ext2fs//boot da1 da0s3 da0s2 da0s1 da0 ufsid/4cdf4dff8de0837d ufsid/4c830a972b034290 ad8s2d ad8s2b ad8s2a ad8s2 ad8s1 ad8 iso9660/FreeBSD_Packages acd1t01 acd1 ad4 acd0 ufsid/4cdf45a2759357b0 ufsid/4cdf4594fac31a50 ufsid/4cdf4582119b5b07 ad0s2e.journal ad0s2d.journal ad0s2a.journal ad0s2e ad0s2d ad0s2a ad0s2 ad0s1 ad1 ad0 fd0 Loader variables: vfs.root.mountfrom=ufs:/dev/mirror/gm0a.journal vfs.root.mountfrom.options=rw Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices Abort manual input mountroot> ufs:ad0s2a.journal Trying to mount root from ufs:ad0s2a.journal ==== output from df, after manually mounting /usr & /var read-only ==== -- I don't want to try writing to them until the mirror mess ==== is cleaned up -- and /tmp read-write (so I have someplace to ==== save stuff like dmesg and this output) Filesystem 512-blocks Used Avail Capacity Mounted on ad0s2a.journal 4052056 345948 3381944 9% / devfs 2 2 0 100% /dev /dev/ad0s2e.journal 563842072 2371628 516363080 0% /usr /dev/ad0s2d.journal 20308312 392 18683256 0% /var /dev/ad8s2d 2001180 36 1841052 0% /tmp ==== result of "ls -alR /dev" -- incl a mysterious line on stderr ls: : No such file or directory total 10 dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 . drwxr-xr-x 18 root wheel 512 Jul 18 19:57 .. crw-r----- 1 root operator 0, 98 Nov 13 20:21 acd0 crw-r----- 1 root operator 0, 100 Nov 13 20:21 acd1 crw-r----- 1 root operator 0, 101 Nov 13 20:21 acd1t01 crw-r--r-- 1 root wheel 0, 34 Nov 13 20:21 acpi crw-r----- 1 root operator 0, 80 Nov 13 20:21 ad0 crw-r----- 1 root operator 0, 82 Nov 13 20:21 ad0s1 crw-r----- 1 root operator 0, 83 Nov 13 20:21 ad0s2 crw-r----- 1 root operator 0, 84 Nov 13 20:21 ad0s2a crw-r----- 1 root operator 0, 87 Nov 13 20:21 ad0s2a.journal crw-r----- 1 root operator 0, 85 Nov 13 20:21 ad0s2d crw-r----- 1 root operator 0, 88 Nov 13 20:21 ad0s2d.journal crw-r----- 1 root operator 0, 86 Nov 13 20:21 ad0s2e crw-r----- 1 root operator 0, 89 Nov 13 20:21 ad0s2e.journal crw-r----- 1 root operator 0, 81 Nov 13 20:21 ad1 crw-r----- 1 root operator 0, 99 Nov 13 20:21 ad4 crw-r----- 1 root operator 0, 103 Nov 13 20:21 ad8 crw-r----- 1 root operator 0, 104 Nov 13 20:21 ad8s1 crw-r----- 1 root operator 0, 105 Nov 13 20:21 ad8s2 crw-r----- 1 root operator 0, 106 Nov 13 20:21 ad8s2a crw-r----- 1 root operator 0, 107 Nov 13 20:21 ad8s2b crw-r----- 1 root operator 0, 108 Nov 13 20:21 ad8s2d crw------- 1 root wheel 0, 35 Nov 13 20:21 agpgart crw------- 1 root operator 0, 33 Nov 13 20:21 ata crw------- 1 root wheel 0, 36 Nov 13 20:21 atkbd0 crw------- 1 root kmem 0, 21 Nov 13 20:21 audit crw------- 1 root wheel 0, 14 Nov 13 20:21 bpf lrwxr-xr-x 1 root wheel 3 Nov 13 20:21 bpf0 -> bpf crw-rw-rw- 1 root wheel 0, 39 Nov 13 20:21 bpsm0 crw------- 1 root wheel 0, 5 Nov 13 20:55 console crw------- 1 root wheel 0, 71 Nov 13 20:21 consolectl crw-rw-rw- 1 root wheel 0, 11 Nov 13 20:21 ctty crw-rw---- 1 uucp dialer 0, 43 Nov 13 20:21 cuau0 crw-rw---- 1 uucp dialer 0, 44 Nov 13 20:21 cuau0.init crw-rw---- 1 uucp dialer 0, 45 Nov 13 20:21 cuau0.lock crw-rw---- 1 uucp dialer 0, 49 Nov 13 20:21 cuau1 crw-rw---- 1 uucp dialer 0, 50 Nov 13 20:21 cuau1.init crw-rw---- 1 uucp dialer 0, 51 Nov 13 20:21 cuau1.lock crw-r----- 1 root operator 0, 113 Nov 13 20:21 da0 crw-r----- 1 root operator 0, 114 Nov 13 20:21 da0s1 crw-r----- 1 root operator 0, 115 Nov 13 20:21 da0s2 crw-r----- 1 root operator 0, 116 Nov 13 20:21 da0s3 crw-r----- 1 root operator 0, 117 Nov 13 20:21 da1 crw-r----- 1 root operator 0, 120 Nov 13 20:21 da1a crw------- 1 root wheel 0, 17 Nov 13 20:21 dcons crw------- 1 root wheel 0, 4 Nov 13 20:21 devctl cr-------- 1 root wheel 0, 75 Nov 13 20:21 devstat crw------- 1 root wheel 0, 18 Nov 13 20:21 dgdb dr-xr-xr-x 3 root wheel 512 Nov 13 20:21 ext2fs dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 fd crw-r----- 1 root operator 0, 79 Nov 13 20:21 fd0 crw------- 1 root wheel 0, 19 Nov 13 20:21 fido crw-r----- 1 root operator 0, 3 Nov 13 20:21 geom.ctl crw------- 1 root wheel 0, 28 Nov 13 20:21 io dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 iso9660 lrwxr-xr-x 1 root wheel 6 Nov 13 20:21 kbd0 -> atkbd0 lrwxr-xr-x 1 root wheel 7 Nov 13 20:21 kbd1 -> kbdmux0 crw------- 1 root wheel 0, 29 Nov 13 20:21 kbdmux0 crw------- 1 root wheel 0, 8 Nov 13 20:21 klog crw-r----- 1 root kmem 0, 32 Nov 13 20:21 kmem crw------- 1 root wheel 0, 52 Nov 13 20:21 lpt0 crw------- 1 root wheel 0, 53 Nov 13 20:21 lpt0.ctl crw------- 1 root wheel 0, 74 Nov 13 20:21 mdctl crw-r----- 1 root kmem 0, 31 Nov 13 20:21 mem crw------- 1 root kmem 0, 20 Nov 13 20:21 nfslock crw-rw-rw- 1 root wheel 0, 6 Nov 13 20:23 null crw------- 1 root operator 0, 111 Nov 13 20:21 pass0 crw------- 1 root operator 0, 112 Nov 13 20:21 pass1 crw-r--r-- 1 root wheel 0, 9 Nov 13 20:21 pci crw------- 1 root wheel 0, 54 Nov 13 20:21 ppi0 crw-rw-rw- 1 root wheel 0, 38 Nov 13 20:21 psm0 crw-rw-rw- 1 root wheel 0, 10 Nov 13 20:21 ptmx crw-rw-rw- 1 root wheel 0, 12 Nov 13 20:23 random lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stderr -> fd/2 lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stdin -> fd/0 lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stdout -> fd/1 crw------- 1 root wheel 0, 16 Nov 13 20:21 sysmouse crw------- 1 root wheel 0, 40 Nov 13 20:21 ttyu0 crw------- 1 root wheel 0, 41 Nov 13 20:21 ttyu0.init crw------- 1 root wheel 0, 42 Nov 13 20:21 ttyu0.lock crw------- 1 root wheel 0, 46 Nov 13 20:21 ttyu1 crw------- 1 root wheel 0, 47 Nov 13 20:21 ttyu1.init crw------- 1 root wheel 0, 48 Nov 13 20:21 ttyu1.lock crw------- 1 root wheel 0, 55 Nov 13 20:21 ttyv0 crw------- 1 root wheel 0, 56 Nov 13 20:21 ttyv1 crw------- 1 root wheel 0, 57 Nov 13 20:21 ttyv2 crw------- 1 root wheel 0, 58 Nov 13 20:21 ttyv3 crw------- 1 root wheel 0, 59 Nov 13 20:21 ttyv4 crw------- 1 root wheel 0, 60 Nov 13 20:21 ttyv5 crw------- 1 root wheel 0, 61 Nov 13 20:21 ttyv6 crw------- 1 root wheel 0, 62 Nov 13 20:21 ttyv7 crw------- 1 root wheel 0, 63 Nov 13 20:21 ttyv8 crw------- 1 root wheel 0, 64 Nov 13 20:21 ttyv9 crw------- 1 root wheel 0, 65 Nov 13 20:21 ttyva crw------- 1 root wheel 0, 66 Nov 13 20:21 ttyvb crw------- 1 root wheel 0, 67 Nov 13 20:21 ttyvc crw------- 1 root wheel 0, 68 Nov 13 20:21 ttyvd crw------- 1 root wheel 0, 69 Nov 13 20:21 ttyve crw------- 1 root wheel 0, 70 Nov 13 20:21 ttyvf dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 ufsid lrwxr-xr-x 1 root wheel 9 Nov 13 20:21 ugen0.1 -> usb/0.1.0 lrwxr-xr-x 1 root wheel 9 Nov 13 20:21 ugen0.2 -> usb/0.2.0 lrwxr-xr-x 1 root wheel 6 Nov 13 20:21 urandom -> random dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 usb crw-r--r-- 1 root operator 0, 72 Nov 13 20:21 usbctl crw------- 1 root operator 0, 73 Nov 13 20:21 xpt0 crw-rw-rw- 1 root wheel 0, 7 Nov 13 20:21 zero /dev/ext2fs: total 2 dr-xr-xr-x 3 root wheel 512 Nov 13 20:21 . dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. /dev/fd: total 2 dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. crw-rw-rw- 1 root wheel 0, 22 Nov 13 20:21 0 crw-rw-rw- 1 root wheel 0, 24 Nov 13 20:21 1 crw-rw-rw- 1 root wheel 0, 26 Nov 13 20:21 2 /dev/iso9660: total 2 dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. crw-r----- 1 root operator 0, 102 Nov 13 20:21 FreeBSD_Packages /dev/ufsid: total 2 dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. crw-r----- 1 root operator 0, 109 Nov 13 20:21 4c830a972b034290 crw-r----- 1 root operator 0, 90 Nov 13 20:21 4cdf4582119b5b07 crw-r----- 1 root operator 0, 91 Nov 13 20:21 4cdf4594fac31a50 crw-r----- 1 root operator 0, 92 Nov 13 20:21 4cdf45a2759357b0 /dev/usb: total 2 dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. crw------- 1 root operator 0, 76 Nov 13 20:21 0.1.0 crw------- 1 root operator 0, 78 Nov 13 20:21 0.1.1 crw------- 1 root operator 0, 93 Nov 13 20:21 0.2.0 crw------- 1 root operator 0, 95 Nov 13 20:21 0.2.1 crw------- 1 root operator 0, 96 Nov 13 20:21 0.2.2 crw------- 1 root operator 0, 97 Nov 13 20:21 0.2.3 ==== end From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 16:38: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 CBDAC106566C for ; Sun, 21 Nov 2010 16:38:39 +0000 (UTC) (envelope-from ben@benquick.net) Received: from linux.benquick.net (qwssltd.force9.co.uk [81.174.151.181]) by mx1.freebsd.org (Postfix) with ESMTP id 335058FC08 for ; Sun, 21 Nov 2010 16:38:38 +0000 (UTC) Received: from [127.0.0.1] (linux.benquick.net [192.168.0.10]) by linux.benquick.net (Postfix) with ESMTP id 1DB835C21 for ; Sun, 21 Nov 2010 16:19:05 +0000 (GMT) Message-ID: <4CE94679.1010104@benquick.net> Date: Sun, 21 Nov 2010 16:19:05 +0000 From: Ben Quick User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.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: Hardware support for Shuttle SX38P2 Pro 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, 21 Nov 2010 16:38:39 -0000 Hi all, This is the first question I've asked on here, hopefully I've got all the required detail in. I'm thinking of buying a Shuttle SX38P2 Pro (http://www.shuttle.eu/products/mini-pc/sx38p2-pro/specification/) to run FreeBSD 8.1 onwards. I'll be using the machine as a desktop and home server. A bit of coding, nothing special, and running a few jails. But, before making the purchase I want to make sure the hardware is supported. From the Shuttle spec sheet above, the sound card mentions ALC888DD and the FreeBSD supported hardware list states that ALC888 is supported under snd_hda. Is the 'DD' important? Would sound still work? My assumption is that sound would work, but I'd possibly lose the surround sound or something? The NIC appears to be Marvell 88E8056, which seems to have full support using the msk driver. I've never heard of this manufacturer before, there aren't any gotchas I need to be aware of are there? There are two things on the Shuttle spec sheet that I'm unsure of. They are: * Intel X38 Express (MCH) + ICH9R (I/O Conroller Hub) * Intel Matrix Storage Technology I don't really know what either of them are. I'm assuming the Matrix Storage is the RAID controller. Is this supported? If not, I'll just use gmirror, but will obviously have to be able to access the disks in the first instance. From the Shuttle spec sheet, I can't tell what video card is installed. Does anybody know? Is it supported? Initially, I'll be using only one monitor, but would intend to have both outputs in use in the longer term. Sorry, I know there's a lot of questions in there, but I've been unable to find the answered for myself so far. If anyone could shed any light on this, I'd really appreciate it. Thanks! Ben From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 16:56: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 82680106564A for ; Sun, 21 Nov 2010 16:56:17 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3E36C8FC12 for ; Sun, 21 Nov 2010 16:56:16 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id oALGu9iP083532 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 21 Nov 2010 10:56:09 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4CE94F25.3000609@tundraware.com> Date: Sun, 21 Nov 2010 10:56:05 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: FreeBSD Mailing List X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (ozzie.tundraware.com [75.145.138.73]); Sun, 21 Nov 2010 10:56:09 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: oALGu9iP083532 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: More On Samba And Softupdates 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, 21 Nov 2010 16:56:17 -0000 The other day I mentioned I had a problem with a Samba-shared drive that was just installed blowing up. When I rebuilt it, I forgot to enable softupdates but the drive seems to be working flawlessly. I understand it is possible to do this after-the-fact with tunefs. Some questions: Do I have to unmount the drive to do it? What benefit will I get if I turn on softupdates? This drive is being used as a backup drive for all the workstations on this particular network, and "reliable" is much more important than " slightly faster". -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 17:24: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 E159A106566C for ; Sun, 21 Nov 2010 17:24:51 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 212668FC08 for ; Sun, 21 Nov 2010 17:24:50 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 1CC354D; Sun, 21 Nov 2010 18:24:49 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jdxL7FRVZc3A; Sun, 21 Nov 2010 18:24:43 +0100 (CET) Received: from snifi.localnet (77-255-246-61.adsl.inetia.pl [77.255.246.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 817743A; Sun, 21 Nov 2010 18:24:43 +0100 (CET) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Sun, 21 Nov 2010 18:25:04 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.35-ARCH; KDE/4.5.3; x86_64; ; ) References: <4CE94679.1010104@benquick.net> In-Reply-To: <4CE94679.1010104@benquick.net> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201011211825.04673.milu@dat.pl> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ben Quick Subject: Re: Hardware support for Shuttle SX38P2 Pro 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, 21 Nov 2010 17:24:52 -0000 On Sunday 21 November 2010 17:19:05, Ben Quick wrote: > I don't really know what either of them are. I'm assuming the Matrix > Storage is the RAID controller. Is this supported? If not, I'll just use > gmirror, but will obviously have to be able to access the disks in the > first instance. AFAIK this matrix storage is supported by ataraid driver. I think using gmirror or zfs is better than ataraid. > From the Shuttle spec sheet, I can't tell what video card is installed. > Does anybody know? Is it supported? Initially, I'll be using only one > monitor, but would intend to have both outputs in use in the longer term. =46rom the pic: http://www.shuttle.eu/press/image-resources/sx38p2- pro/b5ebb3b485/?tx_chgallery_pi1%5Bsingle%5D=3D2 It looks there is no onboard graphics card. You need to buy it separately. Maciej From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 17:58:25 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 713AB106566C for ; Sun, 21 Nov 2010 17:58:25 +0000 (UTC) (envelope-from ben@benquick.net) Received: from linux.benquick.net (qwssltd.force9.co.uk [81.174.151.181]) by mx1.freebsd.org (Postfix) with ESMTP id E74D28FC0C for ; Sun, 21 Nov 2010 17:58:22 +0000 (UTC) Received: from [127.0.0.1] (linux.benquick.net [192.168.0.10]) by linux.benquick.net (Postfix) with ESMTP id CBE9D5C33; Sun, 21 Nov 2010 17:58:18 +0000 (GMT) Message-ID: <4CE95DBA.5080303@benquick.net> Date: Sun, 21 Nov 2010 17:58:18 +0000 From: Ben Quick User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Maciej Milewski References: <4CE94679.1010104@benquick.net> <201011211825.04673.milu@dat.pl> In-Reply-To: <201011211825.04673.milu@dat.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Hardware support for Shuttle SX38P2 Pro 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, 21 Nov 2010 17:58:25 -0000 On 21/11/2010 17:25, Maciej Milewski wrote: > On Sunday 21 November 2010 17:19:05, Ben Quick wrote: >> I don't really know what either of them are. I'm assuming the Matrix >> Storage is the RAID controller. Is this supported? If not, I'll just use >> gmirror, but will obviously have to be able to access the disks in the >> first instance. > AFAIK this matrix storage is supported by ataraid driver. > I think using gmirror or zfs is better than ataraid. Nice one, thank you >> From the Shuttle spec sheet, I can't tell what video card is installed. >> Does anybody know? Is it supported? Initially, I'll be using only one >> monitor, but would intend to have both outputs in use in the longer term. > From the pic: http://www.shuttle.eu/press/image-resources/sx38p2- > pro/b5ebb3b485/?tx_chgallery_pi1%5Bsingle%5D=2 > It looks there is no onboard graphics card. You need to buy it separately. My mistake, sorry for the noise Thanks Ben > Maciej > _______________________________________________ > 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 Sun Nov 21 18:37: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 28D42106566C for ; Sun, 21 Nov 2010 18:37:58 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id DC6EA8FC08 for ; Sun, 21 Nov 2010 18:37:57 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id oALIbv7r013647 for ; Sun, 21 Nov 2010 13:37:57 -0500 (EST) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id oALIbrjh013636 for ; Sun, 21 Nov 2010 13:37:57 -0500 (EST) (envelope-from doug@fledge.watson.org) Date: Sun, 21 Nov 2010 13:37:53 -0500 (EST) From: doug To: FreeBSD Questions 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.3 (fledge.watson.org [127.0.0.1]); Sun, 21 Nov 2010 13:37:57 -0500 (EST) Subject: Re: Fwd: FBSD 8 php 52 extensions dependency on X11 ??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2010 18:37:58 -0000 On Sat, 20 Nov 2010, Alejandro Imass wrote: > On Sat, Nov 20, 2010 at 1:22 PM, Amitabh Kant wrote: > > Thanks for the tip. The ming extension was in fact the culprit. Now > I'm guessing there must be a way to recursively analyze dependencies! pkg_info -rRx ming pkg_tree > Anyway, IMHO the comment on the ming module should state clearly that > it requires a complete X server. Granted though, I shouldn't have > selected that extension anyway, I did by mistake, so maybe if I knew > what it was it would have been obvious, who knows... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 20:16: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 578ED10656B5 for ; Sun, 21 Nov 2010 20:16:03 +0000 (UTC) (envelope-from amvandemore@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 DD0DC8FC0C for ; Sun, 21 Nov 2010 20:16:02 +0000 (UTC) Received: by mail-fx0-f54.google.com with SMTP id 19so4425057fxm.13 for ; Sun, 21 Nov 2010 12:16:02 -0800 (PST) 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=PXJjXguy6qwtdpMAeqqeEwlD4sZjvRcROyq8A4Hx+Wo=; b=DRqQ4Z8ioONIsevlr1QrFJVTC4GRfV9X8do1vBU8aSjPod2Qx+W2t7IAaN8/FkhLXN RzBS6Z59EaYCFOwxutgl5qGXOl5NQ++UoSgR7XX1gfRFugrxbkJKfHJPwUkMo75+HjDe m1w/mWsSqRwzvnLhCLpwE3G64t00jJoqLC3Zk= 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=LcaS10dO8X+DJaoVVHvqa/crPjmv8hnR0jGUmu7Q+Epnvaj8DX7CmFMGKNMXdMw/jA bDmoYKQqkpVybirlkZkADUoRS63UQIhrFF41ab9TpUXBiCh45FpUMOCH2b3NSa2g3IgA rvvHYb/C8EVGVFpVYgf53KZeeWXAxQiZgv9Eg= MIME-Version: 1.0 Received: by 10.223.79.13 with SMTP id n13mr4276293fak.139.1290370562560; Sun, 21 Nov 2010 12:16:02 -0800 (PST) Received: by 10.223.121.138 with HTTP; Sun, 21 Nov 2010 12:16:02 -0800 (PST) In-Reply-To: <4CE94F25.3000609@tundraware.com> References: <4CE94F25.3000609@tundraware.com> Date: Sun, 21 Nov 2010 14:16:02 -0600 Message-ID: From: Adam Vande More To: Tim Daneliuk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: More On Samba And Softupdates 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, 21 Nov 2010 20:16:03 -0000 On Sun, Nov 21, 2010 at 10:56 AM, Tim Daneliuk wrote: > > This drive is being used as a backup drive for all the workstations on > this particular network, and "reliable" is much more important than " > slightly faster". > As someone already said, SU is probably not the culprit here. I've used Samba + SU for a long time with no such problems although I have no current setups to verify. SU substantially increases disk IO, it's not 'slightly faster' it's much faster. The error you see is probably the result of flaky drive or controller as the additional IO provided by SU allows the flakiness to show through. Although from what you describe my choice for the drive would be gjournal + UFS. If you've got a lot of asynchronous IO that's a better solution. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 20:41:25 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 14F95106566C for ; Sun, 21 Nov 2010 20:41:25 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id DB7688FC0A for ; Sun, 21 Nov 2010 20:41:24 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-232-63.pitbpa.east.verizon.net [96.236.232.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 7E6E454C96 for ; Sun, 21 Nov 2010 14:55:43 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 9337B5C2C for ; Sun, 21 Nov 2010 14:55:42 -0500 (EST) Date: Sun, 21 Nov 2010 14:55:16 -0500 From: Janos Dohanics To: freebsd-questions@freebsd.org Message-Id: <20101121145516.5de38c5e.web@3dresearch.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: pcpu.h: No such file or directory 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, 21 Nov 2010 20:41:25 -0000 I took a crash dump just as a test, and I noticed this: #0 doadump () at pcpu.h:224 224 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:224 #1 0xffffffff805b381e in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:419 #2 0xffffffff805b3d1c in reboot (td=0xffffff00028f08c0, uap=0xffffff8123f57bb0) at /usr/src/sys/kern/kern_shutdown.c:176 #3 0xffffffff805f1be5 in syscallenter (td=0xffffff00028f08c0, sa=0xffffff8123f57ba0) at /usr/src/sys/kern/subr_trap.c:315 #4 0xffffffff8089cc3b in syscall (frame=0xffffff8123f57c40) at /usr/src/sys/amd64/amd64/trap.c:889 #5 0xffffffff80885752 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:377 #6 0x000000080078e16c in ?? () Previous frame inner to this frame (corrupt stack?) This is a fresh installed FreeBSD 8.1-STABLE amd64 system, I have rebuilt kernel and world last night. Is this something to worry about? -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 20:50:00 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 509CD1065673 for ; Sun, 21 Nov 2010 20:50:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0A02F8FC16 for ; Sun, 21 Nov 2010 20:49:59 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PKGrF-0006mj-T3 for freebsd-questions@freebsd.org; Sun, 21 Nov 2010 21:49:57 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 21:49:57 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 21:49:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 21 Nov 2010 15:52:01 -0500 Lines: 38 Message-ID: References: <4CE94F25.3000609@tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: More On Samba And Softupdates 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, 21 Nov 2010 20:50:00 -0000 Tim Daneliuk wrote: > The other day I mentioned I had a problem with a Samba-shared drive that > was just installed blowing up. When I rebuilt it, I forgot to enable > softupdates but the drive seems to be working flawlessly. I understand > it is possible to do this after-the-fact with tunefs. Some questions: > > Do I have to unmount the drive to do it? > What benefit will I get if I turn on softupdates? > > This drive is being used as a backup drive for all the workstations on > this particular network, and "reliable" is much more important than " > slightly faster". As per man tunefs: "The tunefs utility cannot be run on an active file system. To change an active file system, it must be downgraded to read-only or unmounted." The benefit is not just speed, but better concurrent multi-user throughput. Operations which would block other I/O "finish" sooner so the next task can begin without waiting. I actually run mine with aio_load="YES" in loader.conf in conjunction with the following in smb.conf: aio read size = 16384 aio write size = 16384 aio write behind = true block size = 16384 use sendfile = Yes Minor performance tweaks aside, should you continue to see the error(s) described in the other mail I sincerely suspect softupdates is not the culprit. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 20:51: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 99C211065670 for ; Sun, 21 Nov 2010 20:51:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 06EAD8FC0A for ; Sun, 21 Nov 2010 20:51:52 +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 oALKpdtx056630 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 21 Nov 2010 20:51:48 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk oALKpdtx056630 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1290372709; bh=SzCBa8yxqiB+8F5V4GwoxFcXF1wtQDaW1aWEIeuHg48=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4CE9865B.3000506@infracaninophile.co.uk>|Date:=20S un,=2021=20Nov=202010=2020:51:39=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac= 20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.2.12)=20Gecko/20101027=20Th underbird/3.1.6|MIME-Version:=201.0|To:=20freebsd-questions@freebs d.org|Subject:=20Re:=20FBSD=208=20php=2052=20extensions=20dependen cy=20on=20X11=20???|References:=20|In-Reply-To:=20|X-Enigmail-Version: =201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed =3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-sig nature"=3B=0D=0A=20boundary=3D"------------enigEE42E6D28A1E28B76F1 16FE5"; b=QK3qQvWd71rp4nVXwtgxKs6eQWvMjrU0SCNemr05p0yEUBLSaUkOZvRIDn7RHYx/E 9EVl6qabkW1kfTzm535M/N5LqLBo0PZm75WnowPvUvSQQKrUa890n2J4cCh85sN1ln hpj0lnQ7+MZ1cGRU9a4dd8CRMOG41+2mjVV1YB94= Message-ID: <4CE9865B.3000506@infracaninophile.co.uk> Date: Sun, 21 Nov 2010 20:51:39 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEE42E6D28A1E28B76F116FE5" X-Virus-Scanned: clamav-milter 0.96.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: FBSD 8 php 52 extensions dependency on X11 ??? 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, 21 Nov 2010 20:51:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEE42E6D28A1E28B76F116FE5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20/11/2010 16:26, Alejandro Imass wrote: > Hi, >=20 > Whilst installing some (many) of the php 52 extensions in a jail I > suddenly realized I was about to install X11 and a whole bunch of x11 > related deps. > Can some kind soul explain to me which php 52 extension requires X11 > ??? Should it not say it EXPLICITLY??? !!! php-gd is the usual culprit. You can play with the OPTIONs for installing the GD library to reduce your X dependency. I don't know, off hand, if php-gd is the only php module that brings in a dependency on X, but it is certainly the one most commonly encountered.= Cheers, Matthew --=20 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 --------------enigEE42E6D28A1E28B76F116FE5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzphlsACgkQ8Mjk52CukIxxawCfeKzvLDINYcxpSVhtxlrjES6C s24AoI8oA+eb7xuB0XdkVIeX1EjQWxRn =6BIh -----END PGP SIGNATURE----- --------------enigEE42E6D28A1E28B76F116FE5-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 21:16: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 02D00106564A for ; Sun, 21 Nov 2010 21:16:44 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 94A918FC18 for ; Sun, 21 Nov 2010 21:16:43 +0000 (UTC) Received: by wwd20 with SMTP id 20so6415345wwd.31 for ; Sun, 21 Nov 2010 13:16:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.157.17 with SMTP id z17mr5011496wbw.142.1290374202118; Sun, 21 Nov 2010 13:16:42 -0800 (PST) Sender: aimass@yabarana.com Received: by 10.227.145.133 with HTTP; Sun, 21 Nov 2010 13:16:42 -0800 (PST) In-Reply-To: <4CE9865B.3000506@infracaninophile.co.uk> References: <4CE9865B.3000506@infracaninophile.co.uk> Date: Sun, 21 Nov 2010 16:16:42 -0500 X-Google-Sender-Auth: yxfMY7BrCJjHtETmXERUBGyoeN8 Message-ID: From: Alejandro Imass To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: FBSD 8 php 52 extensions dependency on X11 ??? 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, 21 Nov 2010 21:16:44 -0000 On Sun, Nov 21, 2010 at 3:51 PM, Matthew Seaman wrote: > On 20/11/2010 16:26, Alejandro Imass wrote: >> Hi, >> >> Whilst installing some (many) of the php 52 extensions in a jail I >> suddenly realized I was about to install X11 and a whole bunch of x11 >> related deps. >> Can some kind soul explain to me which php 52 extension requires X11 >> ??? Should it not say it EXPLICITLY??? !!! > > php-gd is the usual culprit. =A0You can play with the OPTIONs for > installing the GD library to reduce your X dependency. > Yeah, I don't mind the X _library_ dependencies, headers etc., but the ming port carries a dependency called Accerciser which "is an interactive Python accessibility explorer for the GNOME desktop"! As to why the Ming FBSD port depends on Accerciser beats me, because after reading the PHP docs on Ming it's even supposed to compile on Windoze as an alternative to the closed source proprietary libswf PHP extension, and I doubt the PHP folks depend on some Python Gnome interactive tool. The Accerciser dependency depends in turn on Python of course, and Xvfb and that of course depends on a complete xorg install, which is a lot different that depending on a bunch of X libs. That PHP in particular was the main problem in my case. > I don't know, off hand, if php-gd is the only php module that brings in > a dependency on X, but it is certainly the one most commonly encountered. > Thanks for the info! From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 22:20: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 50CF31065693 for ; Sun, 21 Nov 2010 22:20:33 +0000 (UTC) (envelope-from bluethundr@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 C59CE8FC18 for ; Sun, 21 Nov 2010 22:20:32 +0000 (UTC) Received: by bwz2 with SMTP id 2so5761014bwz.13 for ; Sun, 21 Nov 2010 14:20:31 -0800 (PST) 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=x9wOZ3bw57RH0SRREBOxVewBJrH2xpNvWKCYCKRSvDA=; b=uMANWxVxmjfWnfYtG5HoerqOEzIQ5zQ57W5NMyoKiqnUebZyNbGt6Q1NG5aocdCAEA V4zcWfBbCAgK48FLsHgRuxEAEUvqc1etDSNTjiY9AJwucjyNu/h4NXfx9yJVvOvvqFLq y1SUracNkrpV7YBUWHwWYNTT+as7phFqku7pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kvtYbs1qN/OZNh/aCKwJh95ejEBuLNu+kgbymr97SrzW2otQxknrZXYLra+hkZhGxz 7m+bUsuxUJZ2Ss74u3gmo5fKT6/tfPcZu/tUV9MTitc6GVAo3DQ77c9CrrD403TMe7pU aTkjBwdqrvL2NaoM6GyaFK0dw0nn8Rcdwvb/Y= MIME-Version: 1.0 Received: by 10.204.62.136 with SMTP id x8mr4627837bkh.192.1290378031450; Sun, 21 Nov 2010 14:20:31 -0800 (PST) Received: by 10.204.81.153 with HTTP; Sun, 21 Nov 2010 14:20:31 -0800 (PST) Date: Sun, 21 Nov 2010 17:20:31 -0500 Message-ID: From: bluethundr To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: TLS enabled LDAP, clients fail to connect 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, 21 Nov 2010 22:20:33 -0000 I am attempting to setup SSL/TLS support on my openLDAP 2.4 server on FreeBSD. LBSD2# pkg_info | grep openldap openldap-sasl-client-2.4.23 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.23 Open source LDAP server implementation I put my cert file, key file and CA certfile in a directory called /usr/local/etc/openldap/cacerts Here's how it looks: [root@LBSD2:/usr/local/etc/openldap/cacerts]#ls -l total 48 dr--r----- 2 root ldap 512 Nov 21 17:12 bak -r--r----- 1 root ldap 1960 Nov 21 07:05 bsd2.summitnjhome.com.crt -r--r----- 1 root ldap 4604 Nov 21 17:16 gd_bundle.crt -r--r----- 1 root ldap 4689 Nov 21 18:59 sf_bundle.crt -r--r----- 1 root ldap 1537 Nov 21 17:16 sf_issuing.crt -r--r----- 1 root ldap 1090 Nov 21 12:29 slapd.csr -r--r----- 1 root ldap 1743 Nov 21 12:26 slapd.key -r--r----- 1 root ldap 1675 Nov 21 17:25 slapd.pem My cert flie is a GoDaddy turbo-ssl certfile named bsd2.summitnjhome.com.crt. slapd.key is the key file and slapd.pem is the same thing only with the password removed. I'm a little unsure of which CA file to use but I think that sf_issuing.crt _should_ work as this is the CA file that I used to setup a similar SSL enabled LDAP server for a client recently. Although I have tried all three CA files in this directory: (gd_bundle.crt, sf_bundle.crt, and sf_issuing.crt). I put the various cert/key files into my slapd.conf file like this: LBSD2# cat slapd.conf | grep -i tls ## TLS options for slapd TLSCipherSuite HIGH:MEDIUM:+SSLv2 TLSCertificateFile /usr/local/etc/openldap/cacerts/bsd2.summitnjhome.com.crt TLSCertificateKeyFile /usr/local/etc/openldap/cacerts/slapd.pem TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt Slapd restarts cleanly! LBSD2# /usr/local/etc/rc.d/slapd restart Stopping slapd. Waiting for PIDS: 81924. Starting slapd. Then I attempt to setup a virtual instance of CentOS 5.5 on the client side and that's where things fall apart...I attempt to ssh to localhost as an LDAP account: [root@VIRTCENT08:/etc/openldap/cacerts]#ssh bluethundr@localhost [...tectonic plates drift, careers begin and end, babies learn to walk, talk and grow to adulthood..] Connection closed by 127.0.0.1 [root@VIRTCENT08:/etc/openldap/cacerts]#getent passwd | grep ldapAccount [same interminable wait as above] This is what my /etc/ldap.conf file looks like on the client: [root@VIRTCENT08:/etc/openldap/cacerts]#cat /etc/ldap.conf # Your LDAP server. Must be resolvable without using LDAP. # Multiple hosts may be specified, each separated by a # space. How long nss_ldap takes to failover depends on # whether your LDAP client library supports configurable # network or connect timeouts (see bind_timelimit). #host 127.0.0.1 # The distinguished name of the search base. base dc=summitnjhome,dc=com # stored in /etc/ldap.secret (mode 600) #rootbinddn cn=manager,dc=example,dc=com # The port. # Optional: default is 389. #port 389 # Search timelimit #timelimit 30 timelimit 120 # Bind/connect timelimit #bind_timelimit 30 bind_timelimit 120 # Idle timelimit; client will close connections # (nss_ldap only) if the server has not been contacted # for the number of seconds specified below. #idle_timelimit 3600 idle_timelimit 3600 # Netscape SDK LDAPS #ssl on # Netscape SDK SSL options #sslpath /etc/ssl/certs # OpenLDAP SSL mechanism # start_tls mechanism uses the normal LDAP port, LDAPS typically 636 #ssl start_tls #ssl on # OpenLDAP SSL options # Require and verify server certificate (yes/no) # Default is to use libldap's default behavior, which can be configured in # /etc/openldap/ldap.conf using the TLS_REQCERT setting. The default for # OpenLDAP 2.0 and earlier is "no", for 2.1 and later is "yes". #tls_checkpeer yes # CA certificates for server certificate verification # At least one of these are required if tls_checkpeer is "yes" #tls_cacertfile /etc/ssl/ca.cert #tls_cacertdir /etc/ssl/certs # SSL cipher suite # See man ciphers for syntax #tls_ciphers TLSv1 # Client certificate and key # Use these, if your server requires client authentication. #tls_cert #tls_key # SASL mechanism for PAM authentication - use is experimental # at present and does not support password policy control uri ldap://ldap.summitnjhome.com/ ssl start_tls tls_cacertdir /etc/openldap/cacerts pam_password crypt This is how my nsswitch on the client side is setup: passwd: files ldap shadow: files ldap group: files ldap And here is the cert dir on my CentOS client: [root@VIRTCENT08:/etc/openldap/cacerts]#ls -l total 72 lrwxrwxrwx 1 root root 13 Nov 21 09:44 97552d04.0 -> gd_bundle.crt lrwxrwxrwx 1 root root 14 Nov 21 09:44 b737b221.0 -> sf_issuing.crt dr--r--r-- 2 root root 4096 Nov 21 2010 bak -r--r--r-- 1 root root 1960 Nov 21 07:05 bsd2.summitnjhome.com.crt lrwxrwxrwx 1 root root 25 Nov 21 09:44 c75be861.0 -> bsd2.summitnjhome.com.crt -r--r--r-- 1 root root 4604 Nov 21 2010 gd_bundle.crt -r--r--r-- 1 root root 1537 Nov 21 2010 sf_issuing.crt -r--r--r-- 1 root root 1090 Nov 21 12:29 slapd.csr -r--r--r-- 1 root root 1743 Nov 21 12:26 slapd.key -r--r--r-- 1 root root 1675 Nov 21 2010 slapd.pem Back on the server side there is a lot of activity in the ldap logs (here is an excerpt) Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: read activity on 11 Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: select: listen=6 active_threads=0 tvp=NULL Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: select: listen=7 active_threads=0 tvp=NULL Nov 21 20:21:38 LBSD2 slapd[81972]: connection_read(11): input error=-2 id=1017, closing. Nov 21 20:21:38 LBSD2 slapd[81972]: connection_closing: readying conn=1017 sd=11 for close Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: activity on 1 descriptor I've encloses a more complete log file as an attachment. I then try to show the CA files with an openssl command. First with sf_issuing.crt - slapd.conf: TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt On the client: [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect ldap.summitnjhome.com:389 -showcerts -CAfile sf_issuing.crt CONNECTED(00000003) 3143:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188 Next with sf_bundle.crt - slapd.conf: TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_bundle.crt [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect ldap.summitnjhome.com:389 -showcerts -CAfile sf_bundle.crt 3149:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('sf_bundle.crt','r') 3149:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125: 3149:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:279: CONNECTED(00000003) 3149:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188: Next with gd_bundle.crt - TLSCACertificateFile /usr/local/etc/openldap/cacerts/gd_bundle.crt [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect ldap.summitnjhome.com:389 -showcerts -CAfile gd_bundle.crt CONNECTED(00000003) 3156:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188: Disabling TLS on the client side authentication works again! [root@VIRTCENT08:/etc/openldap/cacerts]#ssh bluethundr@localhost bluethundr@localhost's password: Last login: Sun Nov 21 09:41:34 2010 from 192.168.1.50 ######################################################### # SUMMITNJHOME.COM # # TITLE: VIRTCENT08 BOX # # LOCATION: SUMMIT BASEMENT # # # ######################################################### Any thought on how to resolve the current situation would be most appreciated! ;) -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 23:49: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 15ABD1065679 for ; Sun, 21 Nov 2010 23:49:14 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E69188FC13 for ; Sun, 21 Nov 2010 23:49:13 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E6E45E8185E; Sun, 21 Nov 2010 15:49:12 -0800 (PST) Date: Sun, 21 Nov 2010 15:49:12 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20101121234910.GA28924@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: where is my text file? 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, 21 Nov 2010 23:49:14 -0000 I was using vim to vreate a file and cleaned up file~. now when i type vim file I only see data? is there a w ay of recovering the file or did I screw ssomething up? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 02:04: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 383D4106564A for ; Mon, 22 Nov 2010 02:04:57 +0000 (UTC) (envelope-from amvandemore@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 BD3F18FC15 for ; Mon, 22 Nov 2010 02:04:56 +0000 (UTC) Received: by fxm19 with SMTP id 19so4576010fxm.13 for ; Sun, 21 Nov 2010 18:04:55 -0800 (PST) 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=YPFsYXN6FURcK6l0VcZ5TJvDnPlnClTKVW+3aBsBtqE=; b=DWWc/aH2/MNukatpZT7U8F/BF9Xe/3Z0WmMeFDQt4e8IAOwHnT4mVFXkNoAxZ5lUxY 9TytrG6llJ9gJ63x94N8aWVcQMtiKqlhN8RKWqeIIviP5Ng4SAGNCYmha5vzjFQtDvNH si0xAVPU3ldy16cm0OaSHbfn5Ite8EzLwZ1wM= 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=DLBK3wAopHMqgSf75F6ubuhN09S4kSmz9KSUHqPq4XVlZk3PbaD0sgJc274LMrGNOC lciYsDIJtB8078u2XlSuMO/cYZtifhhbw3F71ZZpSaceTVZUs+/3W60F1v1QigJ5y7OC DBb7eqvt/79gKNjtM0cS2QMlCj1gtwJNfASd4= MIME-Version: 1.0 Received: by 10.223.127.16 with SMTP id e16mr3556040fas.101.1290391495406; Sun, 21 Nov 2010 18:04:55 -0800 (PST) Received: by 10.223.121.138 with HTTP; Sun, 21 Nov 2010 18:04:55 -0800 (PST) In-Reply-To: References: <4CE94F25.3000609@tundraware.com> Date: Sun, 21 Nov 2010 20:04:55 -0600 Message-ID: From: Adam Vande More To: Tim Daneliuk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: More On Samba And Softupdates 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, 22 Nov 2010 02:04:57 -0000 On Sun, Nov 21, 2010 at 2:16 PM, Adam Vande More wrote: > Although from what you describe my choice for the drive would be gjournal + > UFS. If you've got a lot of asynchronous IO that's a better solution. > Instead of asynchronous, I meant multi-threaded. gjournal + UFS handles concurrency better. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 08:04: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 40ADE106566B for ; Mon, 22 Nov 2010 08:04:48 +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 010EA8FC0C for ; Mon, 22 Nov 2010 08:04:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 316291E7B4; Mon, 22 Nov 2010 09:04:46 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAM84jsq001562; Mon, 22 Nov 2010 09:04:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Nov 2010 09:04:45 +0100 From: Polytropon To: Gary Kline Message-Id: <20101122090445.e305132e.freebsd@edvax.de> In-Reply-To: <20101121234910.GA28924@thought.org> References: <20101121234910.GA28924@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: where is my text file? 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, 22 Nov 2010 08:04:48 -0000 On Sun, 21 Nov 2010 15:49:12 -0800, Gary Kline wrote: > > I was using vim to vreate a file and cleaned up file~. now when i > type vim file I only see data? is there a w ay of recovering the > file or did I screw ssomething up? Check if /var/tmp/vi.recover does contain something. Also check if vim has been set to automatically create backups (of files before they get overwritten). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 10:26: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 5BA54106566B for ; Mon, 22 Nov 2010 10:26:56 +0000 (UTC) (envelope-from kraduk@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 93B718FC12 for ; Mon, 22 Nov 2010 10:26:55 +0000 (UTC) Received: by wyb33 with SMTP id 33so4250wyb.13 for ; Mon, 22 Nov 2010 02:26:54 -0800 (PST) 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=wFQ8WYCTBTd1Y3mI6cuHlyvvW0l+dDi++Fyezoe0XM8=; b=UCrtbwExAxCHkLkWf3aP5t9zBlykzUpgXfnO2rZnMwTBcpV5StyEs4IOvDMqz+UADQ 8OZZrehJBKs+1184Gh2Z8SiEHDptvU/BmVKk1Px6MRn1dj0Wrnas/pc788xoM4BYO1Av U6uUCD25Zc5W7ekWJErIfvYFQKvIZZAMC779g= 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=gZ8dORZh/VJRipcd9gdRRRAPifoZaKizS9fiFVTF9ltlJSlltsytB4zTV91WfCMq50 DixV3f9bgFhCjeM5UlxqbckJi6WQ6dSkrgTTlyK0TKoQYNPfYtnRcA9vsDjI5YFTpIYB 6iQOrlvcf3r+5ycDZPEb6kpnsKx1mSneVGJZs= MIME-Version: 1.0 Received: by 10.216.176.20 with SMTP id a20mr4896278wem.14.1290421613848; Mon, 22 Nov 2010 02:26:53 -0800 (PST) Received: by 10.216.72.148 with HTTP; Mon, 22 Nov 2010 02:26:53 -0800 (PST) In-Reply-To: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> Date: Mon, 22 Nov 2010 10:26:53 +0000 Message-ID: From: krad To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 22 Nov 2010 10:26:56 -0000 On 21 November 2010 06:10, wrote: > Is there something wrong with this sequence, in Fixit: > > * create a mirror > * partition it with disklabel > * create journals on the partitions > * install > * reboot? > > After rebooting, the mirror had disappeared and the journals > seemed to exist directly on partitions of the mirror's provider > rather than on the mirror itself. > > Details: > > Using Fixit# from the 8.1-RELEASE memstick I defined a gmirror > (initially containing only one provider; the other to be added > later), partitioned it using disklabel, added a journal to each > of the partitions, ran newfs -J on them, and installed FreeBSD > using http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror as a > guide (with a few differences due to this installation being > UFS rather than ZFS). > > In Fixit the /dev tree contained entries for both the mirror and > the journal devices, but when I rebooted the mirror did not show > up -- even though geom_mirror.ko was loaded. > > What would cause this sort of mixup, and how do I fix it? > Is any more info needed? > > ==== contents of /dev/mirror before creating the journals > Fixit# ls -la /dev/mirror > total 1 > dr-xr-xr-x 2 root 0 512 Nov 14 00:17 . > dr-xr-xr-x 9 root 0 512 Nov 14 00:11 .. > crw-r----- 1 root operator 0, 80 Nov 14 00:36 gm0 > crw-r----- 1 root operator 0, 126 Nov 14 00:36 gm0a > crw-r----- 1 root operator 0, 128 Nov 14 00:36 gm0d > crw-r----- 1 root operator 0, 129 Nov 14 00:36 gm0e > > ==== corresponding disklabel report > Fixit# disklabel /dev/mirror/gm0 > # /dev/mirror/gm0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 8388608 16 4.2BSD 1024 8192 16 > c: 619907517 0 unused 0 0 > d: 25165824 8388624 4.2BSD 0 0 0 > e: 586353069 33554448 4.2BSD 0 0 0 > > ==== journal creation, with resulting dmesg reports > Fixit# gjournal label -s 2G /dev/mirror/gm0a > GEOM_JOURNAL: Journal 1098378706: mirror/gm0a contains data. > GEOM_JOURNAL: Journal 1098378706: mirror/gm0a contains journal. > GEOM_JOURNAL: Journal mirror/gm0a clean. > Fixit# gjournal label -s 2G /dev/mirror/gm0d > GEOM_JOURNAL: Journal 3795372090: mirror/gm0d contains data. > GEOM_JOURNAL: Journal 3795372090: mirror/gm0d contains journal. > GEOM_JOURNAL: Journal mirror/gm0d clean. > Fixit# gjournal label -s 2G /dev/mirror/gm0e > GEOM_JOURNAL: Journal 2063379813: mirror/gm0e contains data. > GEOM_JOURNAL: Journal 2063379813: mirror/gm0e contains journal. > GEOM_JOURNAL: Journal mirror/gm0e clean. > > ==== contents of /dev/mirror after creating the journals > Fixit# ls -la /dev/mirror > total 1 > dr-xr-xr-x 2 root 0 512 Nov 14 00:17 ./ > dr-xr-xr-x 9 root 0 512 Nov 14 00:11 ../ > crw-r----- 1 root operator 0, 80 Nov 14 02:01 gm0 > crw-r----- 1 root operator 0, 78 Nov 14 02:06 gm0a > crw-r----- 1 root operator 0, 126 Nov 14 02:06 gm0a.journal > crw-r----- 1 root operator 0, 125 Nov 14 02:07 gm0d > crw-r----- 1 root operator 0, 128 Nov 14 02:07 gm0d.journal > crw-r----- 1 root operator 0, 130 Nov 14 02:07 gm0e > crw-r----- 1 root operator 0, 129 Nov 14 02:07 gm0e.journal > > ==== newfs commands > Fixit# newfs -J /dev/mirror/gm0a.journal > Fixit# newfs -J /dev/mirror/gm0d.journal > Fixit# newfs -J /dev/mirror/gm0e.journal > > ==== mount the resulting filesystems (and one ordinary partition, > ==== neither mirrored nor journalled, to be used as /tmp -- I figure > ==== /tmp is expendable), resulting in this FS configuration > Fixit# mount > /dev/md0 on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/da1a on /dist (ufs, local, read-only) > /dev/mirror/gm0a.journal on /mnt (ufs, local, gjournal) > /dev/ad8s2d on /mnt/tmp (ufs, local) > /dev/mirror/gm0d.journal on /mnt/var (ufs, local, gjournal) > /dev/mirror/gm0e.journal on /mnt/usr (ufs, local, gjournal) > > ==== install per http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror, > ==== no detailed log kept > > ==== manually-created config files, while still in chroot after install > Fixit# cat /boot/loader.conf > geom_mirror_load="YES" > geom_journal_load="YES" > > vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" > vfs.root.mountfrom.options="rw" > > Fixit# cat /etc/fstab > /dev/mirror/gm0a.journal / ufs rw 0 1 > /dev/ad0s2b none swap sw 0 0 > /dev/ad8s2b none swap sw 0 0 > /dev/ad8s2d /tmp ufs rw 0 2 > /dev/mirror/gm0d.journal /var ufs rw 0 3 > /dev/mirror/gm0e.journal /usr ufs rw 0 4 > /dev/da1a /dist ufs ro 0 0 > devfs /dev devfs multilabel 0 0 > > ==== output from kldstat, after booting the newly-installed system -- > ==== and manually mounting the root FS -- showing that geom_mirror.ko > ==== did get loaded. > Id Refs Address Size Name > 1 6 0xc0400000 bb5504 kernel > 2 1 0xc0fb6000 14540 geom_journal.ko > 3 1 0xc0fcb000 16ed4 geom_mirror.ko > > ==== dmesg from booting the newly-installed system (long) > ==== /dev/mirror does not exist and the journals are now > ==== found on the ad0s2* > 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-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 > root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (731.47-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x683 Family = 6 Model = 8 Stepping = 3 > > Features=0x383fbff > real memory = 536870912 (512 MB) > avail memory = 510218240 (486 MB) > ACPI APIC Table: > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, f00000 (3) failed > acpi0: reservation of 1000000, 1ef9e000 (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 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem > 0xf4000000-0xf5ffffff,0xfcffc000-0xfcffffff,0xfc000000-0xfc7fffff irq 16 at > device 0.0 on pci1 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem > 0xf8fffc00-0xf8fffc7f irq 16 at device 4.0 on pci2 > miibus0: on xl0 > xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > xl0: Ethernet address: 00:b0:d0:22:5a:14 > xl0: [ITHREAD] > pci2: at device 6.0 (no driver attached) > atapci0: port > 0xdc70-0xdc7f,0xdc50-0xdc5f,0xdc30-0xdc3f,0xdc10-0xdc1f,0xd8e0-0xd8ff,0xd400-0xd4ff > irq 19 at device 11.0 on pci2 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > pcib3: at device 14.0 on pci2 > pci3: on pcib3 > ahc0: port 0xec00-0xecff mem > 0xfafff000-0xfaffffff irq 18 at device 10.0 on pci3 > ahc0: [ITHREAD] > aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs > ahc1: port 0xe800-0xe8ff mem > 0xfaffe000-0xfaffefff irq 19 at device 10.1 on pci3 > ahc1: [ITHREAD] > aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 > ata0: on atapci1 > ata0: [ITHREAD] > ata1: on atapci1 > ata1: [ITHREAD] > uhci0: port 0xff80-0xff9f irq 19 at > device 31.2 on pci0 > uhci0: [ITHREAD] > uhci0: LegSup = 0x2f00 > usbus0: on uhci0 > pci0: at device 31.3 (no driver attached) > atrtc0: port 0x70-0x7f irq 8 on acpi0 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: [FILTER] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model Generic PS/2 mouse, device ID 0 > 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] > ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppc0: [ITHREAD] > ppbus0: on ppc0 > plip0: on ppbus0 > plip0: [ITHREAD] > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven port > ppi0: on ppbus0 > pmtimer0 on isa0 > orm0: at iomem > 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xcffff pnpid ORM0000 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 > Timecounter "TSC" frequency 731470456 Hz quality 800 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > ad0: 305245MB at ata0-master UDMA66 > ugen0.1: at usbus0 > uhub0: on usbus0 > ad1: 32253MB at ata0-slave UDMA66 > uhub0: 2 ports with 2 removable, self powered > GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s). > GEOM: ad0s2: media size does not match label. > GEOM_JOURNAL: Journal 1098378706: ad0s2a contains data. > GEOM_JOURNAL: Journal 1098378706: ad0s2a contains journal. > GEOM_JOURNAL: Journal ad0s2a clean. > GEOM_JOURNAL: Journal 3795372090: ad0s2d contains data. > GEOM_JOURNAL: Journal 3795372090: ad0s2d contains journal. > GEOM_JOURNAL: Journal ad0s2d clean. > GEOM_JOURNAL: Journal 2063379813: ad0s2e contains data. > GEOM_JOURNAL: Journal 2063379813: ad0s2e contains journal. > GEOM_JOURNAL: Journal ad0s2e clean. > device_attach: afd0 attach returned 6 > ugen0.2: at usbus0 > umass0: addr 2> on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > acd0: CDROM at ata1-slave PIO4 > ad4: 61136MB at ata2-master UDMA100 SATA > 1.5Gb/s > acd1: DVDR at ata3-master UDMA66 SATA > 1.5Gb/s > ad8: 305245MB at ata4-master UDMA133 > umass0:2:0:-1: Attached to scbus2 > GEOM: ad8s2: geometry does not match label (255h,63s != 16h,63s). > da0 at ahc0 bus 0 scbus0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit) > da0: Command Queueing enabled > da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) > da1 at umass-sim0 bus 0 scbus2 target 0 lun 0 > da1: Removable Direct Access SCSI-2 device > da1: 1.000MB/s transfers > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > GEOM: da1: geometry does not match label (255h,63s != 64h,32s). > GEOM: da1: media size does not match label. > Trying to mount root from ufs:/dev/mirror/gm0a.journal > ROOT MOUNT ERROR: > If you have invalid mount options, reboot, and first try the following from > the loader prompt: > > set vfs.root.mountfrom.options=rw > > and then remove invalid mount options from /etc/fstab. > > Loader variables: > vfs.root.mountfrom=ufs:/dev/mirror/gm0a.journal > vfs.root.mountfrom.options=rw > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:/dev/da0s1a > eg. cd9660:/dev/acd0 > This is equivalent to: mount -t cd9660 /dev/acd0 / > > ? List valid disk boot devices > Abort manual input > > mountroot> ? > > List of GEOM managed disk devices: > da1a ext2fs// ext2fs//boot da1 da0s3 da0s2 da0s1 da0 > ufsid/4cdf4dff8de0837d ufsid/4c830a972b034290 ad8s2d ad8s2b ad8s2a ad8s2 > ad8s1 ad8 iso9660/FreeBSD_Packages acd1t01 acd1 ad4 acd0 > ufsid/4cdf45a2759357b0 ufsid/4cdf4594fac31a50 ufsid/4cdf4582119b5b07 > ad0s2e.journal ad0s2d.journal ad0s2a.journal ad0s2e ad0s2d ad0s2a ad0s2 > ad0s1 ad1 ad0 fd0 > Loader variables: > vfs.root.mountfrom=ufs:/dev/mirror/gm0a.journal > vfs.root.mountfrom.options=rw > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:/dev/da0s1a > eg. cd9660:/dev/acd0 > This is equivalent to: mount -t cd9660 /dev/acd0 / > > ? List valid disk boot devices > Abort manual input > > mountroot> ufs:ad0s2a.journal > Trying to mount root from ufs:ad0s2a.journal > > ==== output from df, after manually mounting /usr & /var read-only > ==== -- I don't want to try writing to them until the mirror mess > ==== is cleaned up -- and /tmp read-write (so I have someplace to > ==== save stuff like dmesg and this output) > Filesystem 512-blocks Used Avail Capacity Mounted on > ad0s2a.journal 4052056 345948 3381944 9% / > devfs 2 2 0 100% /dev > /dev/ad0s2e.journal 563842072 2371628 516363080 0% /usr > /dev/ad0s2d.journal 20308312 392 18683256 0% /var > /dev/ad8s2d 2001180 36 1841052 0% /tmp > > ==== result of "ls -alR /dev" -- incl a mysterious line on stderr > ls: : No such file or directory > total 10 > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 . > drwxr-xr-x 18 root wheel 512 Jul 18 19:57 .. > crw-r----- 1 root operator 0, 98 Nov 13 20:21 acd0 > crw-r----- 1 root operator 0, 100 Nov 13 20:21 acd1 > crw-r----- 1 root operator 0, 101 Nov 13 20:21 acd1t01 > crw-r--r-- 1 root wheel 0, 34 Nov 13 20:21 acpi > crw-r----- 1 root operator 0, 80 Nov 13 20:21 ad0 > crw-r----- 1 root operator 0, 82 Nov 13 20:21 ad0s1 > crw-r----- 1 root operator 0, 83 Nov 13 20:21 ad0s2 > crw-r----- 1 root operator 0, 84 Nov 13 20:21 ad0s2a > crw-r----- 1 root operator 0, 87 Nov 13 20:21 ad0s2a.journal > crw-r----- 1 root operator 0, 85 Nov 13 20:21 ad0s2d > crw-r----- 1 root operator 0, 88 Nov 13 20:21 ad0s2d.journal > crw-r----- 1 root operator 0, 86 Nov 13 20:21 ad0s2e > crw-r----- 1 root operator 0, 89 Nov 13 20:21 ad0s2e.journal > crw-r----- 1 root operator 0, 81 Nov 13 20:21 ad1 > crw-r----- 1 root operator 0, 99 Nov 13 20:21 ad4 > crw-r----- 1 root operator 0, 103 Nov 13 20:21 ad8 > crw-r----- 1 root operator 0, 104 Nov 13 20:21 ad8s1 > crw-r----- 1 root operator 0, 105 Nov 13 20:21 ad8s2 > crw-r----- 1 root operator 0, 106 Nov 13 20:21 ad8s2a > crw-r----- 1 root operator 0, 107 Nov 13 20:21 ad8s2b > crw-r----- 1 root operator 0, 108 Nov 13 20:21 ad8s2d > crw------- 1 root wheel 0, 35 Nov 13 20:21 agpgart > crw------- 1 root operator 0, 33 Nov 13 20:21 ata > crw------- 1 root wheel 0, 36 Nov 13 20:21 atkbd0 > crw------- 1 root kmem 0, 21 Nov 13 20:21 audit > crw------- 1 root wheel 0, 14 Nov 13 20:21 bpf > lrwxr-xr-x 1 root wheel 3 Nov 13 20:21 bpf0 -> bpf > crw-rw-rw- 1 root wheel 0, 39 Nov 13 20:21 bpsm0 > crw------- 1 root wheel 0, 5 Nov 13 20:55 console > crw------- 1 root wheel 0, 71 Nov 13 20:21 consolectl > crw-rw-rw- 1 root wheel 0, 11 Nov 13 20:21 ctty > crw-rw---- 1 uucp dialer 0, 43 Nov 13 20:21 cuau0 > crw-rw---- 1 uucp dialer 0, 44 Nov 13 20:21 cuau0.init > crw-rw---- 1 uucp dialer 0, 45 Nov 13 20:21 cuau0.lock > crw-rw---- 1 uucp dialer 0, 49 Nov 13 20:21 cuau1 > crw-rw---- 1 uucp dialer 0, 50 Nov 13 20:21 cuau1.init > crw-rw---- 1 uucp dialer 0, 51 Nov 13 20:21 cuau1.lock > crw-r----- 1 root operator 0, 113 Nov 13 20:21 da0 > crw-r----- 1 root operator 0, 114 Nov 13 20:21 da0s1 > crw-r----- 1 root operator 0, 115 Nov 13 20:21 da0s2 > crw-r----- 1 root operator 0, 116 Nov 13 20:21 da0s3 > crw-r----- 1 root operator 0, 117 Nov 13 20:21 da1 > crw-r----- 1 root operator 0, 120 Nov 13 20:21 da1a > crw------- 1 root wheel 0, 17 Nov 13 20:21 dcons > crw------- 1 root wheel 0, 4 Nov 13 20:21 devctl > cr-------- 1 root wheel 0, 75 Nov 13 20:21 devstat > crw------- 1 root wheel 0, 18 Nov 13 20:21 dgdb > dr-xr-xr-x 3 root wheel 512 Nov 13 20:21 ext2fs > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 fd > crw-r----- 1 root operator 0, 79 Nov 13 20:21 fd0 > crw------- 1 root wheel 0, 19 Nov 13 20:21 fido > crw-r----- 1 root operator 0, 3 Nov 13 20:21 geom.ctl > crw------- 1 root wheel 0, 28 Nov 13 20:21 io > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 iso9660 > lrwxr-xr-x 1 root wheel 6 Nov 13 20:21 kbd0 -> atkbd0 > lrwxr-xr-x 1 root wheel 7 Nov 13 20:21 kbd1 -> kbdmux0 > crw------- 1 root wheel 0, 29 Nov 13 20:21 kbdmux0 > crw------- 1 root wheel 0, 8 Nov 13 20:21 klog > crw-r----- 1 root kmem 0, 32 Nov 13 20:21 kmem > crw------- 1 root wheel 0, 52 Nov 13 20:21 lpt0 > crw------- 1 root wheel 0, 53 Nov 13 20:21 lpt0.ctl > crw------- 1 root wheel 0, 74 Nov 13 20:21 mdctl > crw-r----- 1 root kmem 0, 31 Nov 13 20:21 mem > crw------- 1 root kmem 0, 20 Nov 13 20:21 nfslock > crw-rw-rw- 1 root wheel 0, 6 Nov 13 20:23 null > crw------- 1 root operator 0, 111 Nov 13 20:21 pass0 > crw------- 1 root operator 0, 112 Nov 13 20:21 pass1 > crw-r--r-- 1 root wheel 0, 9 Nov 13 20:21 pci > crw------- 1 root wheel 0, 54 Nov 13 20:21 ppi0 > crw-rw-rw- 1 root wheel 0, 38 Nov 13 20:21 psm0 > crw-rw-rw- 1 root wheel 0, 10 Nov 13 20:21 ptmx > crw-rw-rw- 1 root wheel 0, 12 Nov 13 20:23 random > lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stderr -> fd/2 > lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stdin -> fd/0 > lrwxr-xr-x 1 root wheel 4 Nov 13 20:21 stdout -> fd/1 > crw------- 1 root wheel 0, 16 Nov 13 20:21 sysmouse > crw------- 1 root wheel 0, 40 Nov 13 20:21 ttyu0 > crw------- 1 root wheel 0, 41 Nov 13 20:21 ttyu0.init > crw------- 1 root wheel 0, 42 Nov 13 20:21 ttyu0.lock > crw------- 1 root wheel 0, 46 Nov 13 20:21 ttyu1 > crw------- 1 root wheel 0, 47 Nov 13 20:21 ttyu1.init > crw------- 1 root wheel 0, 48 Nov 13 20:21 ttyu1.lock > crw------- 1 root wheel 0, 55 Nov 13 20:21 ttyv0 > crw------- 1 root wheel 0, 56 Nov 13 20:21 ttyv1 > crw------- 1 root wheel 0, 57 Nov 13 20:21 ttyv2 > crw------- 1 root wheel 0, 58 Nov 13 20:21 ttyv3 > crw------- 1 root wheel 0, 59 Nov 13 20:21 ttyv4 > crw------- 1 root wheel 0, 60 Nov 13 20:21 ttyv5 > crw------- 1 root wheel 0, 61 Nov 13 20:21 ttyv6 > crw------- 1 root wheel 0, 62 Nov 13 20:21 ttyv7 > crw------- 1 root wheel 0, 63 Nov 13 20:21 ttyv8 > crw------- 1 root wheel 0, 64 Nov 13 20:21 ttyv9 > crw------- 1 root wheel 0, 65 Nov 13 20:21 ttyva > crw------- 1 root wheel 0, 66 Nov 13 20:21 ttyvb > crw------- 1 root wheel 0, 67 Nov 13 20:21 ttyvc > crw------- 1 root wheel 0, 68 Nov 13 20:21 ttyvd > crw------- 1 root wheel 0, 69 Nov 13 20:21 ttyve > crw------- 1 root wheel 0, 70 Nov 13 20:21 ttyvf > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 ufsid > lrwxr-xr-x 1 root wheel 9 Nov 13 20:21 ugen0.1 -> usb/0.1.0 > lrwxr-xr-x 1 root wheel 9 Nov 13 20:21 ugen0.2 -> usb/0.2.0 > lrwxr-xr-x 1 root wheel 6 Nov 13 20:21 urandom -> random > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 usb > crw-r--r-- 1 root operator 0, 72 Nov 13 20:21 usbctl > crw------- 1 root operator 0, 73 Nov 13 20:21 xpt0 > crw-rw-rw- 1 root wheel 0, 7 Nov 13 20:21 zero > > /dev/ext2fs: > total 2 > dr-xr-xr-x 3 root wheel 512 Nov 13 20:21 . > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. > > /dev/fd: > total 2 > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. > crw-rw-rw- 1 root wheel 0, 22 Nov 13 20:21 0 > crw-rw-rw- 1 root wheel 0, 24 Nov 13 20:21 1 > crw-rw-rw- 1 root wheel 0, 26 Nov 13 20:21 2 > > /dev/iso9660: > total 2 > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. > crw-r----- 1 root operator 0, 102 Nov 13 20:21 FreeBSD_Packages > > /dev/ufsid: > total 2 > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. > crw-r----- 1 root operator 0, 109 Nov 13 20:21 4c830a972b034290 > crw-r----- 1 root operator 0, 90 Nov 13 20:21 4cdf4582119b5b07 > crw-r----- 1 root operator 0, 91 Nov 13 20:21 4cdf4594fac31a50 > crw-r----- 1 root operator 0, 92 Nov 13 20:21 4cdf45a2759357b0 > > /dev/usb: > total 2 > dr-xr-xr-x 2 root wheel 512 Nov 13 20:21 . > dr-xr-xr-x 7 root wheel 512 Nov 13 20:21 .. > crw------- 1 root operator 0, 76 Nov 13 20:21 0.1.0 > crw------- 1 root operator 0, 78 Nov 13 20:21 0.1.1 > crw------- 1 root operator 0, 93 Nov 13 20:21 0.2.0 > crw------- 1 root operator 0, 95 Nov 13 20:21 0.2.1 > crw------- 1 root operator 0, 96 Nov 13 20:21 0.2.2 > crw------- 1 root operator 0, 97 Nov 13 20:21 0.2.3 > > ==== end > _______________________________________________ > 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" > sounds silly but are you loading the gmirror kernel module via loader.conf From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 10:32: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 2FD91106564A for ; Mon, 22 Nov 2010 10:32:40 +0000 (UTC) (envelope-from jhfoo-ml@extracktor.com) Received: from mail.nexlabs.com (mail.nexlabs.com [210.193.32.133]) by mx1.freebsd.org (Postfix) with SMTP id 56F9A8FC08 for ; Mon, 22 Nov 2010 10:32:38 +0000 (UTC) Received: (qmail 31283 invoked from network); 22 Nov 2010 10:06:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on frostbite.nexlabs.local X-Spam-Level: X-Spam-Status: No, score=-31.8 required=8.0 tests=ALL_TRUSTED,SC_HAM shortcircuit=ham autolearn=disabled version=3.2.5 Received: from unknown (HELO ?192.168.1.177?) (jhfoo@nexlabs.com@202.128.216.133) by mail.nexlabs.com with SMTP; 22 Nov 2010 10:06:00 -0000 Message-ID: <4CEA403B.3050604@extracktor.com> Date: Mon, 22 Nov 2010 18:04:43 +0800 From: Foo JH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: getting mono/ asp.net on fbsd to reload modified files 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, 22 Nov 2010 10:32:40 -0000 Hi all, I'm posting this mail to the mono mailing list as well as the FreeBSD list: I'm trying to learn mono's asp.net on mod_mono + Apache22 + FreeBSD 8.1. I've been working on IIS7 + Microsoft's asp.net, so I'm trying to recreate a similar development experience. One of the things I'm stumbling over now, is that code files like .aspx and .cs files don't seem to get recognised by asp.net after the first time it's been auto-compiled. In other words, if I change the file and reload the page, it's still the old page. I understand mono has this watcher class which monitors file change. Can anyone advise if it's enabled by default for FreeBSD, and how I can resolve this puzzle? From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 12:11: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 39533106566B for ; Mon, 22 Nov 2010 12:11:03 +0000 (UTC) (envelope-from mr.abbasy@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 BC28A8FC15 for ; Mon, 22 Nov 2010 12:11:02 +0000 (UTC) Received: by bwz2 with SMTP id 2so6233726bwz.13 for ; Mon, 22 Nov 2010 04:11:01 -0800 (PST) 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=2I7fUDwiYLjzrmWWMxpNljKiT40wBDkapd0iUrXPOjA=; b=E3l9rD78amDGeSEPjLkHZ6HgLLfkaqh4qDgjHwkkm6n4kHnInXhytYOsA0ZvLn1x83 b0vRulV9VhQesRelWXeAAtxulsJrGcTMv79kZ+Cp+yJvl/6aIcvVcd0HrHEOxexsHD1Y b5+ADfu9pxGCjH94+BcT2nviKUYOpNLXqzFes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uHc+3Ti+gLsTKv7sVAcsxdMknszYJDz8wNSMdu0rFG9g9u1NvRu/wLLv+2gWqNCm7X lhDvIpE/6AXLECMre6KtVLMa3npgavmF81QDzD8neqZEUIIfuQpgS6sRS8gO75heWEyL Z7nJqKmECEqWV8E0n3Eua4+pB8DZsGLuSwZEI= MIME-Version: 1.0 Received: by 10.204.101.11 with SMTP id a11mr4969323bko.159.1290427861477; Mon, 22 Nov 2010 04:11:01 -0800 (PST) Received: by 10.204.23.8 with HTTP; Mon, 22 Nov 2010 04:11:01 -0800 (PST) Date: Mon, 22 Nov 2010 20:11:01 +0800 Message-ID: From: Mohammad Reza Abbasy To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Mon, 22 Nov 2010 12:36:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: materials 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, 22 Nov 2010 12:11:03 -0000 Dear Lady,Sir I am very eager to get a certification for the FreeBSD but I do not know how? I am in Malaysia. Is there any branch in Malaysia? Is there any material for learning FreeBSD by myself?If yes, how can I get them? Many thanks. -- *-----------------------------------* *Mohammad Reza Abbasy* UTM University *Mobile* : +60176731832 *Email * : mr.abbasy@gmail.com ramohammad2@live.utm.my Are you lost? I am your map. "GOD" ------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 12:47: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 6591A1065670 for ; Mon, 22 Nov 2010 12:47:48 +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 054DC8FC15 for ; Mon, 22 Nov 2010 12:47:47 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 5C7691C0852 for ; Mon, 22 Nov 2010 13:47:45 +0100 (CET) Message-ID: <4CEA6670.9020805@locolomo.org> Date: Mon, 22 Nov 2010 13:47:44 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: TLS enabled LDAP, clients fail to connect 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, 22 Nov 2010 12:47:48 -0000 On 21/11/10 23.20, bluethundr wrote: > I am attempting to setup SSL/TLS support on my openLDAP 2.4 server on FreeBSD. ... > [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect > ldap.summitnjhome.com:389 -showcerts -CAfile gd_bundle.crt > CONNECTED(00000003) > 3156:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake > failure:s23_lib.c:188: From the man page, s_client(1): "If the handshake fails then there are several possible causes, if it is nothing obvious like no client certificate then the -bugs, -ssl2, -ssl3, -tls1, -no_ssl2, -no_ssl3, -no_tls1 options can be tried in case it is a buggy server." But rather than using s_client, you may try using ldapsearch(1) I use openldap-sasl-server-2.4.23, in slapd.conf: TLSCipherSuite HIGH TLSCertificateFile /path/to/server/certs/MyServerCert.cer TLSCertificateKeyFile /path/to/server/certs/MyServerKey.key The server need only be configured with TLSCACertificateFile options if you use TLS for client authentication. Multiple certificates can be stored in this file by concatenating the certificate files. in ldap.conf: TLS_CACERT /path/to/certs/MyCARoot.cer The MyCARoot.cer must be the CA root certificate used to issue the server certificate. You may add more certificates by concatenation. Other TLS options may be configured to enable TLS client authentication. Then with the command: ldapsearch -Z -h ldap.example.com -x -D "cn=My Name, ou=Some Org, dc=example, dc=com" -w UpsThisIsVerySecret -b "dc=example, dc=com" "(telephoneNumber=*555*)" cn sn telephoneNumber I connect, in paralel using snort -vCd port 389, I see this: 11/22-13:31:15.332512 172.16.1.127:52454 -> 172.16.0.1:389 TCP TTL:64 TOS:0x0 ID:18677 IpLen:20 DgmLen:83 DF ***AP*** Seq: 0x1B6C4BE1 Ack: 0xB1212BEB Win: 0x8218 TcpLen: 32 TCP Options (3) => NOP NOP TS: 1062950892 2880608010 0....w...1.3.6.1.4.1.1466.20037 That 1.3.6.1.4.1.1466.20037 is the OID for StartTLS. The rest is giberish, but it works. BR, Erik From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 12:49:00 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 65D271065698 for ; Mon, 22 Nov 2010 12:49:00 +0000 (UTC) (envelope-from mubeeshalivm@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 9EE0A8FC16 for ; Mon, 22 Nov 2010 12:48:59 +0000 (UTC) Received: by bwz2 with SMTP id 2so6269564bwz.13 for ; Mon, 22 Nov 2010 04:48:58 -0800 (PST) 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=37pscjN9BSzuQxCCtJRDc1tuCNmzzClixDbCYRxDCrM=; b=ictCB9Od48/zX7z0GQy1NAnmLeB5xWIrP+d9sQVeZUbkYVza+3csNtwvpbAfgOqcZx MNtuN7kexsKRTXf7L2i1vtbZG+qV5TOfckvlgH4eNt7vCEfUTlREXV2kMeXyDnr1qlvT fTnaS/0o26XK+gNx/Qea9wf9wFt5GM77rw1yg= 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=xU1n/O7Ux+KRFCfFRsTjhUKmQLS7LgsE+VLvS0/7msZFybbgaR5nbrqBE20HeyQ/76 kHW+WMj7lRH0arrLUet919B+bhBAd2fAKVhhOFxasrbUalHFxJNmFRlmNNaUq9SHsLXI p+Zkmnr9QAmmkvKEdcCHbJhK5iTQeGuL7kPpM= MIME-Version: 1.0 Received: by 10.204.99.136 with SMTP id u8mr3174576bkn.4.1290430138175; Mon, 22 Nov 2010 04:48:58 -0800 (PST) Received: by 10.204.101.197 with HTTP; Mon, 22 Nov 2010 04:48:57 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 18:18:57 +0530 Message-ID: From: Mubeesh ali To: bluethundr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: TLS enabled LDAP, clients fail to connect 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, 22 Nov 2010 12:49:00 -0000 hi, Is the server cert trusted on the client ? --=20 Best Regards, Mubeesh Ali.V.M On Mon, Nov 22, 2010 at 3:50 AM, bluethundr wrote: > I am attempting to setup SSL/TLS support on my openLDAP 2.4 server on Fre= eBSD. > > LBSD2# pkg_info | grep openldap > openldap-sasl-client-2.4.23 Open source LDAP client implementation > with SASL2 support > openldap-sasl-server-2.4.23 Open source LDAP server implementation > > I put my cert file, key file and CA certfile in a directory called > /usr/local/etc/openldap/cacerts > > Here's how it looks: > > [root@LBSD2:/usr/local/etc/openldap/cacerts]#ls -l > total 48 > dr--r----- =A02 root =A0ldap =A0 512 Nov 21 17:12 bak > -r--r----- =A01 root =A0ldap =A01960 Nov 21 07:05 bsd2.summitnjhome.com.c= rt > -r--r----- =A01 root =A0ldap =A04604 Nov 21 17:16 gd_bundle.crt > -r--r----- =A01 root =A0ldap =A04689 Nov 21 18:59 sf_bundle.crt > -r--r----- =A01 root =A0ldap =A01537 Nov 21 17:16 sf_issuing.crt > -r--r----- =A01 root =A0ldap =A01090 Nov 21 12:29 slapd.csr > -r--r----- =A01 root =A0ldap =A01743 Nov 21 12:26 slapd.key > -r--r----- =A01 root =A0ldap =A01675 Nov 21 17:25 slapd.pem > > > My cert flie is a GoDaddy turbo-ssl certfile named > bsd2.summitnjhome.com.crt. slapd.key is the key file and slapd.pem is > the same thing only with the password removed. > > I'm a little unsure of which CA file to use but I think that > sf_issuing.crt _should_ work as this is the CA file that I used to > setup a similar SSL enabled LDAP server for a client recently. > Although I have tried all three CA files in this directory: > (gd_bundle.crt, sf_bundle.crt, and sf_issuing.crt). > > I put the various cert/key files into my slapd.conf file like this: > > LBSD2# cat slapd.conf | grep -i tls > ## TLS options for slapd > TLSCipherSuite HIGH:MEDIUM:+SSLv2 > TLSCertificateFile =A0/usr/local/etc/openldap/cacerts/bsd2.summitnjhome.c= om.crt > TLSCertificateKeyFile /usr/local/etc/openldap/cacerts/slapd.pem > TLSCACertificateFile =A0/usr/local/etc/openldap/cacerts/sf_issuing.crt > > > Slapd restarts cleanly! > > LBSD2# /usr/local/etc/rc.d/slapd restart > Stopping slapd. > Waiting for PIDS: 81924. > Starting slapd. > > > Then I attempt to setup a virtual instance of CentOS 5.5 on the client > side and that's where things fall apart...I attempt to ssh to > localhost as an LDAP account: > > [root@VIRTCENT08:/etc/openldap/cacerts]#ssh bluethundr@localhost > > [...tectonic plates drift, careers begin and end, babies learn to > walk, talk and grow to adulthood..] > > Connection closed by 127.0.0.1 > > [root@VIRTCENT08:/etc/openldap/cacerts]#getent passwd | grep ldapAccount > [same interminable wait as above] > > > This is what my /etc/ldap.conf file looks like on the client: > > [root@VIRTCENT08:/etc/openldap/cacerts]#cat /etc/ldap.conf > # Your LDAP server. Must be resolvable without using LDAP. > # Multiple hosts may be specified, each separated by a > # space. How long nss_ldap takes to failover depends on > # whether your LDAP client library supports configurable > # network or connect timeouts (see bind_timelimit). > #host 127.0.0.1 > # The distinguished name of the search base. > base dc=3Dsummitnjhome,dc=3Dcom > # stored in /etc/ldap.secret (mode 600) > #rootbinddn cn=3Dmanager,dc=3Dexample,dc=3Dcom > # The port. > # Optional: default is 389. > #port 389 > # Search timelimit > #timelimit 30 > timelimit 120 > # Bind/connect timelimit > #bind_timelimit 30 > bind_timelimit 120 > # Idle timelimit; client will close connections > # (nss_ldap only) if the server has not been contacted > # for the number of seconds specified below. > #idle_timelimit 3600 > idle_timelimit 3600 > # Netscape SDK LDAPS > #ssl on > # Netscape SDK SSL options > #sslpath /etc/ssl/certs > # OpenLDAP SSL mechanism > # start_tls mechanism uses the normal LDAP port, LDAPS typically 636 > #ssl start_tls > #ssl on > # OpenLDAP SSL options > # Require and verify server certificate (yes/no) > # Default is to use libldap's default behavior, which can be configured i= n > # /etc/openldap/ldap.conf using the TLS_REQCERT setting. =A0The default f= or > # OpenLDAP 2.0 and earlier is "no", for 2.1 and later is "yes". > #tls_checkpeer yes > # CA certificates for server certificate verification > # At least one of these are required if tls_checkpeer is "yes" > #tls_cacertfile /etc/ssl/ca.cert > #tls_cacertdir /etc/ssl/certs > # SSL cipher suite > # See man ciphers for syntax > #tls_ciphers TLSv1 > # Client certificate and key > # Use these, if your server requires client authentication. > #tls_cert > #tls_key > # SASL mechanism for PAM authentication - use is experimental > # at present and does not support password policy control > uri ldap://ldap.summitnjhome.com/ > ssl start_tls > tls_cacertdir /etc/openldap/cacerts > pam_password crypt > > This is how my nsswitch on the client side is setup: > > passwd: =A0 =A0 files ldap > shadow: =A0 =A0 files ldap > group: =A0 =A0 =A0files ldap > > And here is the cert dir on my CentOS client: > > [root@VIRTCENT08:/etc/openldap/cacerts]#ls -l > total 72 > lrwxrwxrwx 1 root root =A0 13 Nov 21 09:44 97552d04.0 -> gd_bundle.crt > lrwxrwxrwx 1 root root =A0 14 Nov 21 09:44 b737b221.0 -> sf_issuing.crt > dr--r--r-- 2 root root 4096 Nov 21 =A02010 bak > -r--r--r-- 1 root root 1960 Nov 21 07:05 bsd2.summitnjhome.com.crt > lrwxrwxrwx 1 root root =A0 25 Nov 21 09:44 c75be861.0 -> bsd2.summitnjhom= e.com.crt > -r--r--r-- 1 root root 4604 Nov 21 =A02010 gd_bundle.crt > -r--r--r-- 1 root root 1537 Nov 21 =A02010 sf_issuing.crt > -r--r--r-- 1 root root 1090 Nov 21 12:29 slapd.csr > -r--r--r-- 1 root root 1743 Nov 21 12:26 slapd.key > -r--r--r-- 1 root root 1675 Nov 21 =A02010 slapd.pem > > > Back on the server side there is a lot of activity in the ldap logs > (here is an excerpt) > > Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: read activity on 11 > Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Nov 21 20:21:38 LBSD2 slapd[81972]: connection_read(11): input > error=3D-2 id=3D1017, closing. > Nov 21 20:21:38 LBSD2 slapd[81972]: connection_closing: readying > conn=3D1017 sd=3D11 for close > Nov 21 20:21:38 LBSD2 slapd[81972]: daemon: activity on 1 descriptor > > I've encloses a more complete log file as an attachment. > > I then try to show the CA files with an openssl command. > > First with sf_issuing.crt - > > slapd.conf: > > TLSCACertificateFile =A0/usr/local/etc/openldap/cacerts/sf_issuing.crt > > On the client: > > [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect > ldap.summitnjhome.com:389 -showcerts -CAfile sf_issuing.crt > CONNECTED(00000003) > 3143:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_li= b.c:188 > > > Next with sf_bundle.crt - > > slapd.conf: > > TLSCACertificateFile =A0/usr/local/etc/openldap/cacerts/sf_bundle.crt > > > [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect > ldap.summitnjhome.com:389 -showcerts -CAfile sf_bundle.crt > 3149:error:02001002:system library:fopen:No such file or > directory:bss_file.c:122:fopen('sf_bundle.crt','r') > 3149:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125= : > 3149:error:0B084002:x509 certificate > routines:X509_load_cert_crl_file:system lib:by_file.c:279: > CONNECTED(00000003) > 3149:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake > failure:s23_lib.c:188: > > Next with =A0gd_bundle.crt - > > TLSCACertificateFile =A0/usr/local/etc/openldap/cacerts/gd_bundle.crt > > [root@VIRTCENT08:/etc/openldap/cacerts]#openssl s_client -connect > ldap.summitnjhome.com:389 -showcerts -CAfile gd_bundle.crt > CONNECTED(00000003) > 3156:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake > failure:s23_lib.c:188: > > > Disabling TLS on the client side authentication works again! > > [root@VIRTCENT08:/etc/openldap/cacerts]#ssh bluethundr@localhost > bluethundr@localhost's password: > Last login: Sun Nov 21 09:41:34 2010 from 192.168.1.50 > ######################################################### > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 SUMMITNJHOME.COM =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0# > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 TITLE: =A0 =A0 =A0 VIRTCENT08 BOX =A0 =A0 = =A0 =A0 =A0 =A0 # > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 LOCATION: =A0 =A0SUMMIT BASEMENT =A0 =A0 = =A0 =A0 =A0 =A0# > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # > ######################################################### > > > Any thought on how to resolve the current situation would be most > appreciated! ;) > > > > > -- > Here's my RSA Public key: > gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 > > Share and enjoy!! > _______________________________________________ > 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 Mon Nov 22 12:58: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 2CF5E106564A for ; Mon, 22 Nov 2010 12:58:24 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7F318FC1A for ; Mon, 22 Nov 2010 12:58:23 +0000 (UTC) Received: by qwi4 with SMTP id 4so804886qwi.13 for ; Mon, 22 Nov 2010 04:58:23 -0800 (PST) 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=ou4Dm6VDt2KPBMXgW4pk01wRmIjorrsgBiPFipFMwJ4=; b=MQ2iA+a50P0lqiRoFXw37U7/PypouCjNA6xS0G2nSv9WTDQ0L1D3JystOdQ9mw9nHC 6w6AkDnyX3A1F/lu8REPJ0IU16gwM/i87Zt43ryf1FMhVuwSWozY2Q+25YuJh7baWpkK i6/ekoUjw4mENBbKjul3/Uv4d2J7kygx6JKnE= 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=U9WCDhitk3Dg3NT6D6c/71FWX53PCVSKeXHbBjEVT2CrAhyqEsFUuqCdMwsYqbyB3e jn8eWqQNxbiyfeT/OL2yIynEWB1eLmhdzBY4tKwdYcjlQOp8BRkNTBJxdtw2cSRq19DE 4xy0kh818fbxL2mWKdceN4igtL07koKIxDvcM= MIME-Version: 1.0 Received: by 10.229.189.134 with SMTP id de6mr5102679qcb.51.1290430702208; Mon, 22 Nov 2010 04:58:22 -0800 (PST) Received: by 10.229.71.78 with HTTP; Mon, 22 Nov 2010 04:58:22 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 06:58:22 -0600 Message-ID: From: Antonio Olivares To: Mohammad Reza Abbasy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: materials 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, 22 Nov 2010 12:58:24 -0000 On Mon, Nov 22, 2010 at 6:11 AM, Mohammad Reza Abbasy wrote: > Dear Lady,Sir > > > I am very eager to get a certification for the FreeBSD but I do not know > how? I am in Malaysia. Is there any branch in Malaysia? Is there any > material for learning FreeBSD by myself?If yes, how can I get them? > > > Many thanks. > > -- > *-----------------------------------* > *Mohammad Reza Abbasy* > UTM University > > *Mobile* : +60176731832 > *Email * : =A0mr.abbasy@gmail.com > =A0 =A0 =A0 =A0 =A0 =A0 =A0ramohammad2@live.utm.my > > =A0Are you lost? I am your map. "GOD" > ------------------------------------------ > _______________________________________________ > 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" > Check here: http://forums.freebsd.org/showthread.php?t=3D11081 http://www.freebsd.org/doc/handbook/ Hope this helps in some way. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 13:14: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 8318A1065695 for ; Mon, 22 Nov 2010 13:14:57 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id 428F88FC24 for ; Mon, 22 Nov 2010 13:14:57 +0000 (UTC) Received: from soth.ventu (151.51.51.64) by cp-out8.libero.it (8.5.107) id 4CDBE27C01C6AB09 for freebsd-questions@freebsd.org; Mon, 22 Nov 2010 14:14:55 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id oAMDDZa6082989 for ; Mon, 22 Nov 2010 14:13:35 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4CEA6C7F.4090409@netfence.it> Date: Mon, 22 Nov 2010 14:13:35 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Subject: USB modems for SMS 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, 22 Nov 2010 13:14:57 -0000 Hello. I'm in need of an USB modem, which I'll only use for sending and receiving via SMS and I'm looking for suggestions on which hardware to buy. In the past I've used some Digicom Wave (http://www.digicom.it/digisit/prodotti.nsf/itprodottiidx/UsbWaveGprs), through the FTDI driver; however they are all breaking up and are hard and costly to replace. So I tried a Digicom 7.2 HSUPA (shown as "Pirelli 3.5G HSPA Adapter" by usbconfig), but had no luck. Any hint? bye & Thanks av. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 13:40: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 5E4721065670 for ; Mon, 22 Nov 2010 13:40:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1CAE98FC15 for ; Mon, 22 Nov 2010 13:40:10 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PKWcq-0001v7-UR; Mon, 22 Nov 2010 14:40:09 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id oAMDe8OB096260; Mon, 22 Nov 2010 14:40:08 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id oAMDe8JA096259; Mon, 22 Nov 2010 14:40:08 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 22 Nov 2010 14:40:08 +0100 From: Matthias Apitz To: Andrea Venturoli Message-ID: <20101122134008.GA96240@current.Sisis.de> References: <4CEA6C7F.4090409@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4CEA6C7F.4090409@netfence.it> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-questions@freebsd.org Subject: Re: USB modems for SMS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 13:40:11 -0000 El día Monday, November 22, 2010 a las 02:13:35PM +0100, Andrea Venturoli escribió: > Hello. > > I'm in need of an USB modem, which I'll only use for sending and > receiving via SMS and I'm looking for suggestions on which hardware to buy. The USB HSDPA modem from Huawei E220 should do; it provides normal AT-cmd access; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 15:31: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 E8D3B1065670 for ; Mon, 22 Nov 2010 15:31:39 +0000 (UTC) (envelope-from nr1c0re@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 BBF378FC13 for ; Mon, 22 Nov 2010 15:31:39 +0000 (UTC) Received: by pvc22 with SMTP id 22so1608314pvc.13 for ; Mon, 22 Nov 2010 07:31:38 -0800 (PST) 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=LFV2apMJOETfLjVytYbmEIUHIc/CuQypiJJVDZZSaOg=; b=QZsXGY6gB7b4g75ACec8vaSxOqOYOIz4I30R9qhUF7NRS6tQzd2xQSOaEPPXAS3ktj dX2D3EwvHvW7LwXCUXPv2jiBay5ENyAe0BH7ycveB4+J0ve9J8pXTJOTaXc21O/twkjl PGNmeo21GWztIDh3igoKgp9dqiZTtdduqCXew= 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=YXfb7KkioBZDmvL4N/V3hH7NTkTUY0R2EFZ8K9jSx0HeZqd0wred+oJTlzajGvArzD /2dwQg2j3CZtDu0xSTd05l65OBqLf221EPiLKWMrMHHT2TEk1ZJ+gKR9lPPZdAqcj5E1 fQSh8NNV7u8M9YtztyEahFyxVg0guFP2htqiU= MIME-Version: 1.0 Received: by 10.229.95.211 with SMTP id e19mr5175564qcn.139.1290439887619; Mon, 22 Nov 2010 07:31:27 -0800 (PST) Received: by 10.229.64.91 with HTTP; Mon, 22 Nov 2010 07:31:27 -0800 (PST) In-Reply-To: <20101115093733.5807ac5f@scorpio> References: <20101115090851.237f167b@scorpio> <81515984-72F4-4CD1-AD9F-2CE7EDF944B2@internode.on.net> <20101115093733.5807ac5f@scorpio> Date: Mon, 22 Nov 2010 18:31:27 +0300 Message-ID: From: c0re To: FreeBSD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: openssl version - how to verify 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, 22 Nov 2010 15:31:40 -0000 2010/11/15 Jerry : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 16 Nov 2010 00:41:32 +1030 > Indexer articulated: > >> It breaks alot, and causes you to need to rebuild some parts of the >> base system. The most notable, is SSHD, which whenever I install the >> openssl from ports, will not work unless i rebuild SSHD or, remove >> the ports version. > > There were (maybe still are) a few ports that don't work correctly with > openssl via ports; however, I have filed PRs on them and for the most > part they have been fixed. However, I would not let that fact deter > you from using a newer, safer version of the application. > > When building a new system, I start with the newer version from the > start. If updating later, I have found that first installing the new > openssl version via ports, and then using portmanager with the "-p" > option rebuilds virtually any port still dependent on the deprecated > version. In any case, I believe it is a prerequisite to have the > previously noted notation in the "/etc/make.conf" file prior to building > any port(s) or kernel/world. > > In jedem Falle jedoch zu seinem eigenen. > > - -- > Jerry =E2=9C=8C > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > No man's ambition has a right to stand in > the way of performing a simple act of justice. > =C2=A0 =C2=A0 =C2=A0 =C2=A0John Altgeld > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (FreeBSD) > > iQEcBAEBAgAGBQJM4UW8AAoJEHdwsA8xwKhFwS8H/jbjsVMwXKyLbKv5ns8yNCjy > xYiYJLyn/mZdSNi+mWTtNVUQsEulxw+sEKC4RewsBeZtwhKHeP+1TifOEF6sMFQ5 > WuTXlCS8t/JlDuz3k1cINo1nfaUkhgzbDgE6CQXVA4bqMz5A2G4bAu0+s5jJripa > KlHU526K0DlSIyaoYcSNoNlAfCXn3+sTfvxK0rpN3hiG0ZxCGKh1WK1p+dTsGkKm > ZgXxAhE0hrk/tqeBvZKBNDplLMJHgrDdjTIBa52jUPxlBSkju+1JPakzJ325A8no > 1mI8EGlxkiVAOEmoxrDOaKVlUcjGm1bpqXveGAZAsg6OZi5th1xN8zP5VcuQh18=3D > =3DnffO > -----END PGP SIGNATURE----- > > _______________________________________________ > 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" > Filled one pr. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D152483 Hope this would be resolved someday :) From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 15:39: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 ED42C1065670 for ; Mon, 22 Nov 2010 15:39:22 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBDE8FC17 for ; Mon, 22 Nov 2010 15:39:22 +0000 (UTC) Received: by wwd20 with SMTP id 20so7219889wwd.31 for ; Mon, 22 Nov 2010 07:39:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.153.21 with SMTP id i21mr6099152wbw.26.1290440350240; Mon, 22 Nov 2010 07:39:10 -0800 (PST) Sender: aimass@yabarana.com Received: by 10.227.145.133 with HTTP; Mon, 22 Nov 2010 07:39:10 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 10:39:10 -0500 X-Google-Sender-Auth: Pv7hBuUaGgCeHZ1YydI8jKvyq2M Message-ID: From: Alejandro Imass To: Mohammad Reza Abbasy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: materials 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, 22 Nov 2010 15:39:23 -0000 On Mon, Nov 22, 2010 at 7:11 AM, Mohammad Reza Abbasy wrote: > Dear Lady,Sir > > > I am very eager to get a certification for the FreeBSD but I do not know > how? I am in Malaysia. Is there any branch in Malaysia? Is there any > material for learning FreeBSD by myself?If yes, how can I get them? > Malaysia has a _huge_ Open Source community and govt backup to foster OSS. Contact the people at: The MyBSD Malaysia Project -------------------------------------- The MyBSD Malaysia Project is a Kuala Lumpur based User Group for BSD users and open-source in general, promoting and supporting FreeBSD, OpenBSD, NetBSD and open source usage. We meet once a month, usually at Universiti Malaya or Restaurant Bahadur Shah. One of our projects is to develop a Unix file manager. Visit our web site or contact info@MyBSD.org.my for more information. Their web page seems down, More info here: http://www.freebsd.org/usergroups.html#asia There also seems to be a PCBSD community: http://conf.oss.my/community.html Cheers, Alejandro Imass > > Many thanks. > > -- > *-----------------------------------* > *Mohammad Reza Abbasy* > UTM University > > *Mobile* : +60176731832 > *Email * : =A0mr.abbasy@gmail.com > =A0 =A0 =A0 =A0 =A0 =A0 =A0ramohammad2@live.utm.my > > =A0Are you lost? I am your map. "GOD" > ------------------------------------------ > _______________________________________________ > 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 Mon Nov 22 17:05: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 D0217106564A for ; Mon, 22 Nov 2010 17:05:08 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 8A00D8FC1F for ; Mon, 22 Nov 2010 17:05:08 +0000 (UTC) Received: from vivi.cc.vt.edu (vivi.cc.vt.edu [198.82.163.43]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAMEkcIb031311 for ; Mon, 22 Nov 2010 09:46:38 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id OFF68795; Mon, 22 Nov 2010 09:46:37 -0500 (EST) Received: from [192.168.2.2] (c-71-206-142-103.hsd1.va.comcast.net [71.206.142.103]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAMEkb3X000453 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 22 Nov 2010 09:46:37 -0500 From: Weihang Wang Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Nov 2010 09:46:36 -0500 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020204.4CEA824E.0077,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Subject: Got an error: Unknown option "DDB_CTF" 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, 22 Nov 2010 17:05:09 -0000 Hi all, I am a totally newbie to FreeBSD. I am building a custom kernel based on = FreeBSD 6.0 kernel (I have to use this version cause I need to run an = application which is only available for FreeBSD 6.0). I conform to the = handbook to add the following lines in kernel configuration file to = enable DTrace support: options KDTRACE_FRAME options KDTRACE_HOOKS options DDB_CTF makeoptions WITH_CTF=3D1 Then I use the following commands to recompile my kernel and install = this new kernel: make buildkernel KERNCONF=3DKERNELNAME make installkernel KERNCONF=3DKERNELNAME The compiling process encounters an error: Unknown option "DDB_CTF", I = have no idea how to fix this? Could anyone help me to see why this happens?? Thanks in advance. Best, W. Wang From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 17:08: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 D3FA5106566B for ; Mon, 22 Nov 2010 17:08:08 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 99B6E8FC1A for ; Mon, 22 Nov 2010 17:08:08 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id oAMH87K5037977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 11:08:07 -0600 (CST) (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 oAMH87Na041437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 11:08:07 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id oAMH87nB041428; Mon, 22 Nov 2010 11:08:07 -0600 (CST) (envelope-from dan) Date: Mon, 22 Nov 2010 11:08:07 -0600 From: Dan Nelson To: Weihang Wang Message-ID: <20101122170806.GA58734@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-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Nov 2010 11:08:07 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 22 Nov 2010 17:08:08 -0000 In the last episode (Nov 22), Weihang Wang said: > I am a totally newbie to FreeBSD. I am building a custom kernel based on > FreeBSD 6.0 kernel (I have to use this version cause I need to run an > application which is only available for FreeBSD 6.0). I conform to the > handbook to add the following lines in kernel configuration file to enable > DTrace support: > > options KDTRACE_FRAME > options KDTRACE_HOOKS > options DDB_CTF > makeoptions WITH_CTF=1 > > Then I use the following commands to recompile my kernel and install this > new kernel: > > make buildkernel KERNCONF=KERNELNAME > make installkernel KERNCONF=KERNELNAME > > The compiling process encounters an error: Unknown option "DDB_CTF", I > have no idea how to fix this? Just remove all references to CTF; that's for Dtrace support, which doesn't exist in the 6.* branch. You might also want to try running your application on FreeBSD 8.1 after installing the misc/compat6x package. Backwards binary compatibility support is very good. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 17:44: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 104B41065670 for ; Mon, 22 Nov 2010 17:44:29 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id BD18F8FC1B for ; Mon, 22 Nov 2010 17:44:28 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id oAMHiJmQ020939 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 11:44:19 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4CEAABF2.1050409@tundraware.com> Date: Mon, 22 Nov 2010 11:44:18 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Adam Vande More References: <4CE94F25.3000609@tundraware.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (ozzie.tundraware.com [75.145.138.73]); Mon, 22 Nov 2010 11:44:19 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: oAMHiJmQ020939 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: More On Samba And Softupdates 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, 22 Nov 2010 17:44:29 -0000 On 11/21/2010 2:16 PM, Adam Vande More wrote: > On Sun, Nov 21, 2010 at 10:56 AM, Tim Daneliuk > wrote: > > > This drive is being used as a backup drive for all the workstations on > this particular network, and "reliable" is much more important than " > slightly faster". > > > As someone already said, SU is probably not the culprit here. I've used > Samba + SU for a long time with no such problems although I have no > current setups to verify. > > SU substantially increases disk IO, it's not 'slightly faster' it's much > faster. The error you see is probably the result of flaky drive or > controller as the additional IO provided by SU allows the flakiness to > show through. Although from what you describe my choice for the drive > would be gjournal + UFS. If you've got a lot of asynchronous IO that's a > better solution. > It looks like this may have been a loose cable. After reseating the cable and reinitializing the drive, it seems to be fine. I turned on softupdates and all seems well ... Thanks for responding... -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 18:36: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 48BB810656A3 for ; Mon, 22 Nov 2010 18:36:58 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw5.njit.edu (mail.njit.edu [128.235.251.152]) by mx1.freebsd.org (Postfix) with ESMTP id 092C68FC19 for ; Mon, 22 Nov 2010 18:36:57 +0000 (UTC) Received: from beta.maestro.njit.edu (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id oAMEH1pY005637; Mon, 22 Nov 2010 09:17:01 -0500 (EST) Message-ID: <4CEA7B5D.7030806@wallnet.com> Date: Mon, 22 Nov 2010 09:17:01 -0500 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101104 Thunderbird/3.1.6 MIME-Version: 1.0 To: Mohammad Reza Abbasy References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: materials 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, 22 Nov 2010 18:36:58 -0000 The New Jersey Institute of Technology offer an online open source unix certification series of classes. International students are eligible to participate in the program and can be candidates for certification. http://adultlearner.njit.edu/admissions/prospective/unix.php Tim Kellers On 11/22/10 07:58, Antonio Olivares wrote: > On Mon, Nov 22, 2010 at 6:11 AM, Mohammad Reza Abbasy > wrote: >> Dear Lady,Sir >> >> >> I am very eager to get a certification for the FreeBSD but I do not know >> how? I am in Malaysia. Is there any branch in Malaysia? Is there any >> material for learning FreeBSD by myself?If yes, how can I get them? >> >> >> Many thanks. >> >> -- >> *-----------------------------------* >> *Mohammad Reza Abbasy* >> UTM University >> >> *Mobile* : +60176731832 >> *Email * : mr.abbasy@gmail.com >> ramohammad2@live.utm.my >> >> Are you lost? I am your map. "GOD" >> ------------------------------------------ >> _______________________________________________ >> 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" >> > Check here: > > http://forums.freebsd.org/showthread.php?t=11081 > > http://www.freebsd.org/doc/handbook/ > > Hope this helps in some way. > > Regards, > > Antonio > _______________________________________________ > 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 Nov 22 18:52: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 DAA26106564A for ; Mon, 22 Nov 2010 18:52:15 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 73DB38FC18 for ; Mon, 22 Nov 2010 18:52:15 +0000 (UTC) Received: by ewy3 with SMTP id 3so4046043ewy.13 for ; Mon, 22 Nov 2010 10:52:14 -0800 (PST) Received: by 10.213.113.210 with SMTP id b18mr5161988ebq.18.1290451933404; Mon, 22 Nov 2010 10:52:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.19.9 with HTTP; Mon, 22 Nov 2010 10:51:53 -0800 (PST) In-Reply-To: <4CEA7B5D.7030806@wallnet.com> References: <4CEA7B5D.7030806@wallnet.com> From: Chris Brennan Date: Mon, 22 Nov 2010 13:51:53 -0500 Message-ID: To: Tim Kellers Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Mohammad Reza Abbasy , freebsd-questions@freebsd.org Subject: Re: materials 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, 22 Nov 2010 18:52:15 -0000 On Mon, Nov 22, 2010 at 9:17 AM, Tim Kellers wrote: > The New Jersey Institute of Technology offer an online open source unix > certification series of classes. International students are eligible to > participate in the program and can be candidates for certification. > > http://adultlearner.njit.edu/admissions/prospective/unix.php > > Tim Kellers > > It's amazing what exists under ones nose w/o knowing it actually exists... NJIT is not all that far from me. I am gonna have to go check this out now :D From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 19:12: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 92EE11065679 for ; Mon, 22 Nov 2010 19:12:20 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D38EB8FC14 for ; Mon, 22 Nov 2010 19:12:19 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id oAMIc6uv065283; Mon, 22 Nov 2010 10:38:06 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id oAMIc6n0065282; Mon, 22 Nov 2010 10:38:06 -0800 (PST) (envelope-from kline) Date: Mon, 22 Nov 2010 10:38:06 -0800 From: Gary Kline To: Polytropon Message-ID: <20101122183806.GA65233@thought.org> References: <20101121234910.GA28924@thought.org> <20101122090445.e305132e.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101122090445.e305132e.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: where is my text file? 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, 22 Nov 2010 19:12:20 -0000 On Mon, Nov 22, 2010 at 09:04:45AM +0100, Polytropon wrote: > On Sun, 21 Nov 2010 15:49:12 -0800, Gary Kline wrote: > > > > I was using vim to vreate a file and cleaned up file~. now when i > > type vim file I only see data? is there a w ay of recovering the > > file or did I screw ssomething up? > > Check if /var/tmp/vi.recover does contain something. Also > check if vim has been set to automatically create backups > (of files before they get overwritten). > > No joy. I think what happened was that i tried nvi and got an error message that the file was an 8-bit and would be truncated. I quit out of vi [[nvi], but the damage was done. --Oh well. I probly should give jmy shoulder a bre ak anyway. (******) > -- > 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.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 20:17: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 C8679106566C for ; Mon, 22 Nov 2010 20:17:18 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 80F138FC0A for ; Mon, 22 Nov 2010 20:17:18 +0000 (UTC) Received: from dagger.cc.vt.edu (dagger.cc.vt.edu [198.82.163.114]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAMKGa7k031065; Mon, 22 Nov 2010 15:16:36 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by dagger.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id NVT98464; Mon, 22 Nov 2010 15:16:36 -0500 (EST) Received: from [172.31.134.48] (nc65205b7.cns.vt.edu [198.82.5.183]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAMKGaxq003720 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Nov 2010 15:16:36 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Weihang Wang In-Reply-To: <20101122170806.GA58734@dan.emsphone.com> Date: Mon, 22 Nov 2010 15:16:36 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20101122170806.GA58734@dan.emsphone.com> To: Dan Nelson X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=dagger.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020201.4CEACFA4.0256,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 22 Nov 2010 20:17:18 -0000 Hi, Thank you so much for your help. But I am still concerned about the = backward compatibility.=20 First I have to use DTrace to instrument the kernel to do performance = analysis. At the same time, the program I need to build on the FreeBSD = is a kind of transport protocol, which is based on the FreeBSD 6.0. The = transport protocol may change the network stack of the kernel networking = system, so I do not know whether this would work. Hope to hear from you. Thank you very much. Best, W.Wang On Nov 22, 2010, at 12:08 PM, Dan Nelson wrote: > In the last episode (Nov 22), Weihang Wang said: >> I am a totally newbie to FreeBSD. I am building a custom kernel based = on >> FreeBSD 6.0 kernel (I have to use this version cause I need to run an >> application which is only available for FreeBSD 6.0). I conform to = the >> handbook to add the following lines in kernel configuration file to = enable >> DTrace support: >>=20 >> options KDTRACE_FRAME >> options KDTRACE_HOOKS >> options DDB_CTF >> makeoptions WITH_CTF=3D1 >>=20 >> Then I use the following commands to recompile my kernel and install = this >> new kernel: >>=20 >> make buildkernel KERNCONF=3DKERNELNAME >> make installkernel KERNCONF=3DKERNELNAME >>=20 >> The compiling process encounters an error: Unknown option "DDB_CTF", = I >> have no idea how to fix this? >=20 > Just remove all references to CTF; that's for Dtrace support, which = doesn't > exist in the 6.* branch. >=20 > You might also want to try running your application on FreeBSD 8.1 = after > installing the misc/compat6x package. Backwards binary compatibility > support is very good. >=20 > --=20 > Dan Nelson > dnelson@allantgroup.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" From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 21:15: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 21B61106566C for ; Mon, 22 Nov 2010 21:15:29 +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 F1F218FC08 for ; Mon, 22 Nov 2010 21:15:28 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PKdjU-0005QL-8p for freebsd-questions@freebsd.org; Mon, 22 Nov 2010 13:15:28 -0800 Message-ID: <30282675.post@talk.nabble.com> Date: Mon, 22 Nov 2010 13:15:28 -0800 (PST) From: Ivo Karabojkov To: freebsd-questions@freebsd.org In-Reply-To: <30252640.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ivo@kit-bg.com References: <30252640.post@talk.nabble.com> Subject: Re: FreeBSD samba+winbind 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, 22 Nov 2010 21:15:30 -0000 Perhaps I couldn't get any attention with my problem or I couldn't explain it in enough details. As you probably read, IDMapping works OK. It seems that my problem occurs in nsswitch. In my /etc/nsswitch.conf I have: group: files winbind #group_compat: nis hosts: files dns networks: files passwd: files winbind #passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files wbinfo -u / -g / -i DOMAIN_user works OK. Name service switch works almost OK, since system utilities like id, pw /usershow/, chown, ls resolve domain usernames <-> IDMapped UIDs OK. But getent passwd and getent group return only local (system) users /groups. Any clue how to make this work too? Ivo Karabojkov wrote: > > Dear Sirs, > > I am having troubles with IDMapping users from Server 2003 AD to my > FreeBSD 8.1 Samba 3.5. > Well, most of Samba documentation should be considered outdated, I had > total failure with RID backend for IDMap. The only working (so far) for me > is the default: tdb. > I have set nsswitch.conf, pam.d and so on correctly. > > And here is my problem: everything works almost fine, wbinfo shows my > domain accounts, I am able to set these accounts and groups as owners of > files. Commands like ls, chown, id show AD accounts correctly. > pw, getent - show only local system accounts. > I need Samba only for file sharing with ACLs, no PAM authentication or > something more. So, technically, it works but since I can't see ALL > accounts with getent I think something is wrong. > > IDMapped accounts are with uid and gid > 10000 > > I think I am missing something very small and simple, so I hope someone > will help me! > Thanks in advance, > Ivo > -- View this message in context: http://old.nabble.com/FreeBSD-samba%2Bwinbind-tp30252640p30282675.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 21: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 6909E1065673 for ; Mon, 22 Nov 2010 21:31:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 318B58FC20 for ; Mon, 22 Nov 2010 21:31:56 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id oAMLVuUk064259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 15:31:56 -0600 (CST) (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 oAMLVtok013432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 15:31:55 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id oAMLVtbH013393; Mon, 22 Nov 2010 15:31:55 -0600 (CST) (envelope-from dan) Date: Mon, 22 Nov 2010 15:31:55 -0600 From: Dan Nelson To: Weihang Wang Message-ID: <20101122213155.GC58734@dan.emsphone.com> References: <20101122170806.GA58734@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Nov 2010 15:31:56 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 22 Nov 2010 21:31:57 -0000 In the last episode (Nov 22), Weihang Wang said: > On Nov 22, 2010, at 12:08 PM, Dan Nelson wrote: > > In the last episode (Nov 22), Weihang Wang said: > >> I am a totally newbie to FreeBSD. I am building a custom kernel based > >> on FreeBSD 6.0 kernel (I have to use this version cause I need to run > >> an application which is only available for FreeBSD 6.0). I conform to > >> the handbook to add the following lines in kernel configuration file to > >> enable DTrace support: > >> > >> options KDTRACE_FRAME > >> options KDTRACE_HOOKS > >> options DDB_CTF > >> makeoptions WITH_CTF=1 > >> > >> Then I use the following commands to recompile my kernel and install > >> this new kernel: > >> > >> make buildkernel KERNCONF=KERNELNAME > >> make installkernel KERNCONF=KERNELNAME > >> > >> The compiling process encounters an error: Unknown option "DDB_CTF", I > >> have no idea how to fix this? > > > > Just remove all references to CTF; that's for Dtrace support, which doesn't > > exist in the 6.* branch. > > > > You might also want to try running your application on FreeBSD 8.1 after > > installing the misc/compat6x package. Backwards binary compatibility > > support is very good. > > Thank you so much for your help. But I am still concerned about the > backward compatibility. First I have to use DTrace to instrument the > kernel to do performance analysis. At the same time, the program I need > to build on the FreeBSD is a kind of transport protocol, which is based on > the FreeBSD 6.0. The transport protocol may change the network stack of > the kernel networking system, so I do not know whether this would work. > Hope to hear from you. Thank you very much. If your program includes kernel modifications and the modifications only apply cleanly to FreeBSD 6, then you may be stuck unless you can port the changes to a newer version of FreeBSD. DTrace support for the kernel went into FreeBSD 7.1, and DTrace for user processes will be in 9.0 (with backports to 8.2 and 7.4 later). If your program implements its transport protocol completely in userland (by opening raw sockets for example), then it will probably run on FreeBSD 8.1. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 22:29: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 8F31D1065670 for ; Mon, 22 Nov 2010 22:29:37 +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 49A138FC12 for ; Mon, 22 Nov 2010 22:29:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LCB00BL82CR3S20@thalia-smout.broadpark.no> for freebsd-questions@freebsd.org; Mon, 22 Nov 2010 22:29:15 +0100 (CET) Received: from unknown-00-11-09-ab-bf-c1.lan ([80.202.84.203]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LCB008FT2CQ9U90@ignis-smin.broadpark.no> for freebsd-questions@freebsd.org; Mon, 22 Nov 2010 22:29:15 +0100 (CET) From: Richard T C Farnes To: freebsd-questions@freebsd.org Date: Mon, 22 Nov 2010 22:29:13 +0100 User-Agent: KMail/1.9.7 References: <20101112192954.GB18437@gizmo.acns.msu.edu> <20101113192234.GE45252@guilt.hydra> <4CE78004.9010204@herveybayaustralia.com.au> In-reply-to: <4CE78004.9010204@herveybayaustralia.com.au> Message-id: <201011222229.13827.rcfarnes@broadpark.no> Subject: Re: Why do you use a devil as a mascot? 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, 22 Nov 2010 22:29:37 -0000 Why do some people get hung up in some features of our cute little mascot that remind them of devils. You must look at it in a positive way that represents FreeBSD like a sporting character that has a sporty attitude. Just observe the modern running shoes and it has a harpoon in its hand to signify being ready to attack all problems on the way. Linux has only a lazy penguin that does not seem to be doing anything except sitting on its behind. Hope this answers all questions about this matter Sign Richard Farnes On Saturday 20 November 2010 09:00:04 Da Rock wrote: > On 11/14/10 05:22, Chad Perrin wrote: > > On Sat, Nov 13, 2010 at 12:36:29PM -0500, Jerry McAllister wrote: > >> On Fri, Nov 12, 2010 at 07:08:51PM -0500, Chris Brennan wrote: > >>> Did you know... > >>> If you play a Windows 2000 CD backwards, you hear satanic messages, > >>> but what's worse is when you play it forward.... > >> > >> I like this one - though you could update if from W 2000 to a more > >> current one. > > > > I vote Vista. > > I vote Winblow$ 7. The bloody "cloud" for photos ad on tv gives me the > shits no end. 1) As if you'd need more than one computer to edit a > photo, and 2) as if you could solve anything with M$ crap in the first > place... > > And the missus doesn't like the idea of an "unnatural" photo either, so > that'd be 2 votes.... > > Oh and thank you! Finally I have a FreeBSD media system! Hoorah! Now to > move forward finally... > > _______________________________________________ > 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 Nov 22 22:59: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 DDD12106564A for ; Mon, 22 Nov 2010 22:59:34 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7B9F98FC0C for ; Mon, 22 Nov 2010 22:59:34 +0000 (UTC) Received: by wwd20 with SMTP id 20so7651049wwd.31 for ; Mon, 22 Nov 2010 14:59:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.147.149 with SMTP id l21mr6694492wbv.171.1290466772560; Mon, 22 Nov 2010 14:59:32 -0800 (PST) Sender: aimass@yabarana.com Received: by 10.227.145.133 with HTTP; Mon, 22 Nov 2010 14:59:32 -0800 (PST) In-Reply-To: <201011222229.13827.rcfarnes@broadpark.no> References: <20101112192954.GB18437@gizmo.acns.msu.edu> <20101113192234.GE45252@guilt.hydra> <4CE78004.9010204@herveybayaustralia.com.au> <201011222229.13827.rcfarnes@broadpark.no> Date: Mon, 22 Nov 2010 17:59:32 -0500 X-Google-Sender-Auth: O-oVYr3i_NDI6R4x3ID8DCYoQAo Message-ID: From: Alejandro Imass To: Richard T C Farnes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Why do you use a devil as a mascot? 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, 22 Nov 2010 22:59:34 -0000 On Mon, Nov 22, 2010 at 4:29 PM, Richard T C Farnes wrote: [...] > Linux has only a lazy penguin > that does not seem to be =A0doing anything except sitting on its behind. > :-) From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 23:42: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 8C6291065672 for ; Mon, 22 Nov 2010 23:42:29 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3EA298FC13 for ; Mon, 22 Nov 2010 23:42:28 +0000 (UTC) Received: from vivi.cc.vt.edu (vivi.cc.vt.edu [198.82.163.43]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAMNfn26007035; Mon, 22 Nov 2010 18:41:49 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id OFO11351; Mon, 22 Nov 2010 18:41:49 -0500 (EST) Received: from [192.168.2.2] (c-71-206-142-103.hsd1.va.comcast.net [71.206.142.103]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAMNfmpm019636 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Nov 2010 18:41:49 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Weihang Wang In-Reply-To: <20101122213155.GC58734@dan.emsphone.com> Date: Mon, 22 Nov 2010 18:41:47 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> To: Dan Nelson X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020209.4CEAFFBD.015C,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 22 Nov 2010 23:42:29 -0000 Hi, Thanks again. The transport protocol is not implemented by me, but I = need to run this protocol to see the behavior of this protocol. So now I = have no idea about the implementation of the transport protocol and = don't know whether it could run on later versions than FreeBSD 6.0. I = guess what I could do now is try to see whether this protocol could work = on FreeBSD later version (8.1 or later?? ). If it works, then everything = is fine. If not, maybe I have to find other instrumenting tools instead = of DTrace. Thank you so much. Best, W.Wang On Nov 22, 2010, at 4:31 PM, Dan Nelson wrote: > In the last episode (Nov 22), Weihang Wang said: >> On Nov 22, 2010, at 12:08 PM, Dan Nelson wrote: >>> In the last episode (Nov 22), Weihang Wang said: >>>> I am a totally newbie to FreeBSD. I am building a custom kernel = based >>>> on FreeBSD 6.0 kernel (I have to use this version cause I need to = run >>>> an application which is only available for FreeBSD 6.0). I conform = to >>>> the handbook to add the following lines in kernel configuration = file to >>>> enable DTrace support: >>>>=20 >>>> options KDTRACE_FRAME >>>> options KDTRACE_HOOKS >>>> options DDB_CTF >>>> makeoptions WITH_CTF=3D1 >>>>=20 >>>> Then I use the following commands to recompile my kernel and = install >>>> this new kernel: >>>>=20 >>>> make buildkernel KERNCONF=3DKERNELNAME >>>> make installkernel KERNCONF=3DKERNELNAME >>>>=20 >>>> The compiling process encounters an error: Unknown option = "DDB_CTF", I >>>> have no idea how to fix this? >>>=20 >>> Just remove all references to CTF; that's for Dtrace support, which = doesn't >>> exist in the 6.* branch. >>>=20 >>> You might also want to try running your application on FreeBSD 8.1 = after >>> installing the misc/compat6x package. Backwards binary = compatibility >>> support is very good. >>=20 >> Thank you so much for your help. But I am still concerned about the >> backward compatibility. First I have to use DTrace to instrument the >> kernel to do performance analysis. At the same time, the program I = need >> to build on the FreeBSD is a kind of transport protocol, which is = based on >> the FreeBSD 6.0. The transport protocol may change the network stack = of >> the kernel networking system, so I do not know whether this would = work.=20 >> Hope to hear from you. Thank you very much. >=20 > If your program includes kernel modifications and the modifications = only > apply cleanly to FreeBSD 6, then you may be stuck unless you can port = the > changes to a newer version of FreeBSD. DTrace support for the kernel = went > into FreeBSD 7.1, and DTrace for user processes will be in 9.0 (with > backports to 8.2 and 7.4 later). >=20 > If your program implements its transport protocol completely in = userland (by > opening raw sockets for example), then it will probably run on FreeBSD = 8.1. >=20 > --=20 > Dan Nelson > dnelson@allantgroup.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" From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 23:51: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 59B24106566B for ; Mon, 22 Nov 2010 23:51:57 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 0C22A8FC14 for ; Mon, 22 Nov 2010 23:51:56 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.200]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 5BD675C21 for ; Tue, 23 Nov 2010 09:56:39 +1000 (EST) Message-ID: <4CEB0126.7020002@herveybayaustralia.com.au> Date: Tue, 23 Nov 2010 09:47:50 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101119 Thunderbird/3.0.10 ThunderBrowse/3.3.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20101112192954.GB18437@gizmo.acns.msu.edu> <20101113192234.GE45252@guilt.hydra> <4CE78004.9010204@herveybayaustralia.com.au> <201011222229.13827.rcfarnes@broadpark.no> In-Reply-To: <201011222229.13827.rcfarnes@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Why do you use a devil as a mascot? 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, 22 Nov 2010 23:51:57 -0000 On 11/23/10 07:29, Richard T C Farnes wrote: > Why do some people get hung up in some features of our cute little mascot > that remind them of devils. You must look at it in a positive way that > represents FreeBSD like a sporting character that has a sporty attitude. Just > observe the modern running shoes and it has a harpoon in its hand to signify > being ready to attack all problems on the way. Linux has only a lazy penguin > that does not seem to be doing anything except sitting on its behind. > > Hope this answers all questions about this matter > Sign > Richard Farnes > > > If you don't mind, I'll use that perspective in my marketing. I like that one :) > On Saturday 20 November 2010 09:00:04 Da Rock wrote: > >> On 11/14/10 05:22, Chad Perrin wrote: >> >>> On Sat, Nov 13, 2010 at 12:36:29PM -0500, Jerry McAllister wrote: >>> >>>> On Fri, Nov 12, 2010 at 07:08:51PM -0500, Chris Brennan wrote: >>>> >>>>> Did you know... >>>>> If you play a Windows 2000 CD backwards, you hear satanic messages, >>>>> but what's worse is when you play it forward.... >>>>> >>>> I like this one - though you could update if from W 2000 to a more >>>> current one. >>>> >>> I vote Vista. >>> >> I vote Winblow$ 7. The bloody "cloud" for photos ad on tv gives me the >> shits no end. 1) As if you'd need more than one computer to edit a >> photo, and 2) as if you could solve anything with M$ crap in the first >> place... >> >> And the missus doesn't like the idea of an "unnatural" photo either, so >> that'd be 2 votes.... >> >> Oh and thank you! Finally I have a FreeBSD media system! Hoorah! Now to >> move forward finally... >> >> _______________________________________________ >> 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" >> > > _______________________________________________ > 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 Tue Nov 23 02:05: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 80F4F106566B for ; Tue, 23 Nov 2010 02:05:10 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF878FC0C for ; Tue, 23 Nov 2010 02:05:09 +0000 (UTC) Received: by ewy3 with SMTP id 3so4355078ewy.13 for ; Mon, 22 Nov 2010 18:05:08 -0800 (PST) Received: by 10.213.8.70 with SMTP id g6mr5773683ebg.44.1290477908753; Mon, 22 Nov 2010 18:05:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.19.9 with HTTP; Mon, 22 Nov 2010 18:04:48 -0800 (PST) In-Reply-To: <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> From: Chris Brennan Date: Mon, 22 Nov 2010 21:04:48 -0500 Message-ID: To: Weihang Wang Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 23 Nov 2010 02:05:10 -0000 On Mon, Nov 22, 2010 at 6:41 PM, Weihang Wang wrote: > Hi, > > Thanks again. The transport protocol is not implemented by me, but I need > to run this protocol to see the behavior of this protocol. So now I have no > idea about the implementation of the transport protocol and don't know > whether it could run on later versions than FreeBSD 6.0. I guess what I > could do now is try to see whether this protocol could work on FreeBSD later > version (8.1 or later?? ). If it works, then everything is fine. If not, > maybe I have to find other instrumenting tools instead of DTrace. > Thank you so much. > > Best, > W.Wang > > Why not run this test into a VM to test? It would sav you considerable time. From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 02:58: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 1BD65106564A for ; Tue, 23 Nov 2010 02:58:42 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id BB1F68FC08 for ; Tue, 23 Nov 2010 02:58:41 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAN2u3sC024486; Mon, 22 Nov 2010 21:58:02 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by steiner.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id MGC42158; Mon, 22 Nov 2010 21:58:01 -0500 (EST) Received: from [172.31.134.48] (nc6520497.cns.vt.edu [198.82.4.151]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAN2w1pc031021 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Nov 2010 21:58:01 -0500 Mime-Version: 1.0 (Apple Message framework v1081) From: Weihang Wang In-Reply-To: Date: Mon, 22 Nov 2010 21:58:01 -0500 Message-Id: <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> To: Chris Brennan X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=steiner.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020208.4CEB2DBA.0031,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 23 Nov 2010 02:58:42 -0000 Hi, Thanks for your reply. Yes, now I still got problems. I have checked the = release notes of versions later than 6.0, almost every version has not = so few changes in their network protocols kernel. For example, some = functions were replaced by others, arguments for a function is not = needed in a later version, things like that... This will make the = transport protocol does not work. But if I go through to adapt the = protocol to a new version, that would be lots of work. Also, that's not = what I supposed to do.=20 On the other hand, I could not find other kind of instrumenting tools = for FreeBSD either. E.g., Systemtap, LLtng, Oprofile e.t. which are all = for Linux kernel.=20 In terms of not on real machine, I have thought of using some kind of = simulator, which could be used to get the performance statistics of the = kernel. That is, I run the kernel and transport protocol on this = simulator, and get information from this simulator. But again, not found = a simulator for FreeBSD... BTW, I do not know how to use VM to do this... Could you explain a bit = for me? Thank you so much. Best, W.Wang On Nov 22, 2010, at 9:04 PM, Chris Brennan wrote: > On Mon, Nov 22, 2010 at 6:41 PM, Weihang Wang wrote: > Hi, >=20 > Thanks again. The transport protocol is not implemented by me, but I = need to run this protocol to see the behavior of this protocol. So now I = have no idea about the implementation of the transport protocol and = don't know whether it could run on later versions than FreeBSD 6.0. I = guess what I could do now is try to see whether this protocol could work = on FreeBSD later version (8.1 or later?? ). If it works, then everything = is fine. If not, maybe I have to find other instrumenting tools instead = of DTrace. > Thank you so much. >=20 > Best, > W.Wang >=20 >=20 > Why not run this test into a VM to test? It would sav you considerable = time.=20 From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 04:25: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 D20001065695 for ; Tue, 23 Nov 2010 04:25:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 996FC8FC13 for ; Tue, 23 Nov 2010 04:25:14 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAN4PD5Y021329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Nov 2010 20:25:13 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAN4PDwX021328; Mon, 22 Nov 2010 20:25:13 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA13351; Mon, 22 Nov 10 20:19:27 PST Date: Mon, 22 Nov 2010 20:19:20 -0800 From: perryh@pluto.rain.com To: kraduk@gmail.com Message-Id: <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 23 Nov 2010 04:25:14 -0000 krad wrote: > On 21 November 2010 06:10, wrote: ... > > ==== manually-created config files, while still in chroot after install > > Fixit# cat /boot/loader.conf > > geom_mirror_load="YES" > > geom_journal_load="YES" > > > > vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" > > vfs.root.mountfrom.options="rw" ... > > ==== output from kldstat, after booting the newly-installed system -- > > ==== and manually mounting the root FS -- showing that geom_mirror.ko > > ==== did get loaded. > > Id Refs Address Size Name > > 1 6 0xc0400000 bb5504 kernel > > 2 1 0xc0fb6000 14540 geom_journal.ko > > 3 1 0xc0fcb000 16ed4 geom_mirror.ko ... > sounds silly but are you loading the gmirror kernel module via > loader.conf Yes, I'm even setting geom_mirror_load to "YES" before setting geom_journal_load to "YES" (although I doubt the order of these settings in loader.conf makes any difference). If the kldstat Id numbers are assigned sequentially, it looks as if geom_journal got loaded first and this may somehow be related (although I don't entirely see how -- absent geom_mirror to make gm0 and its partitions visible, I'd think that geom_journal "should not" be able to find its metadata at all). From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 05:24:25 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 B4343106564A for ; Tue, 23 Nov 2010 05:24:25 +0000 (UTC) (envelope-from lamacont@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 690048FC17 for ; Tue, 23 Nov 2010 05:24:25 +0000 (UTC) Received: by qyk7 with SMTP id 7so1618815qyk.13 for ; Mon, 22 Nov 2010 21:24:24 -0800 (PST) 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=difsB3pSfLiQaWdqCF9bslnS93ddZezXDnc2F4igfEQ=; b=IllJ50c1na3rBLpKUFpTIsNATZNkuG5gCSF/f5K3pegHghjjVs+rztE18FCw09n511 zUa+5EJi/32D9g6zyeD7BpIKMx67ICcHSj0YBPMDfUhzGS4GvzAbCr4uzpFqB+XQKshR j6xImoO0uTN1KS7GsBB/+hI8oxMwbY8+A5Ex8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=I0Q4xqIrVCrUpj4r6ibe5CumYiyFy28gO4KeXkK2fsMV3bxCGLafYFOa5qZtICDUXa OR8gpchq/VzhK7WpgzVk2S+iqg6NXghwkSf1hlUwxn5MvI6rHD4fGcDPXrlxCLrLeqWi RIP9WM0o2BdkZ8oJXdDCV1hO/eC5skXBta6IQ= MIME-Version: 1.0 Received: by 10.224.3.14 with SMTP id 14mr5153198qal.52.1290488111338; Mon, 22 Nov 2010 20:55:11 -0800 (PST) Received: by 10.224.10.197 with HTTP; Mon, 22 Nov 2010 20:55:11 -0800 (PST) Date: Tue, 23 Nov 2010 08:55:11 +0400 Message-ID: From: Lamac Lamaco To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Gateway_Enable="NO" 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, 23 Nov 2010 05:24:25 -0000 Hi. Why FReeBSD working how router, When I have put in /etc/rc.conf -> Gateway_Enable="NO" ??? And by default Gateway_Enable="YES" or? Thanks. From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 06:10: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 EEDBA106564A for ; Tue, 23 Nov 2010 06:10:40 +0000 (UTC) (envelope-from amvandemore@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 811B78FC22 for ; Tue, 23 Nov 2010 06:10:40 +0000 (UTC) Received: by fxm19 with SMTP id 19so5979468fxm.13 for ; Mon, 22 Nov 2010 22:10:39 -0800 (PST) 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=PR9TEr0yD3I/z7IULka9fkMS8F3pRLWef8VpNGCTR8k=; b=ccBBPX2HMGT+16ZBqAFAQPY2A1jnBlnnGcrFI/u3N3ORe9ROdACSq4+PjG1Q90RM6u GFWQ0td2BaYS/QN/sxxmHMfUAbVj5dnrhDOYYckj0x64W8HHDsoojGBrDyNNNiNifg/N w2XLuFzIovxOyBg8m6sGtE9gxF/J/KblbQCEo= 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=FFCIiS/uYcePL2EBump7J/7wTrMVqK6Kf/qwlRLbj9lq48q1Y8RzusIKUUUUqh+if1 VcDvXgNi9lI4kwFaTgiKqgx+3JO5gScIaZc8EiGIhvinoVv6CUdamawcUcuH7ZWT1Uk5 xbLbYKvbbM5YQnWhnVR76UTgwjUpgQ95pNVYE= MIME-Version: 1.0 Received: by 10.223.70.208 with SMTP id e16mr3227226faj.6.1290492638936; Mon, 22 Nov 2010 22:10:38 -0800 (PST) Received: by 10.223.121.138 with HTTP; Mon, 22 Nov 2010 22:10:38 -0800 (PST) In-Reply-To: References: Date: Tue, 23 Nov 2010 00:10:38 -0600 Message-ID: From: Adam Vande More To: Lamac Lamaco Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Gateway_Enable="NO" 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, 23 Nov 2010 06:10:41 -0000 On Mon, Nov 22, 2010 at 10:55 PM, Lamac Lamaco wrote: > Hi. Why FReeBSD working how router, When I have put in /etc/rc.conf > -> Gateway_Enable="NO" ??? > And by default Gateway_Enable="YES" or? > I suggest getting someone or something to help you translate your question to English. >From what you have presented, you need to use gateway_enable= NOT Gateway_Enable= It is case-sensitive. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 08:02: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 0A58D1065674 for ; Tue, 23 Nov 2010 08:02: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 BEAFD8FC15 for ; Tue, 23 Nov 2010 08:02:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 6EEEC1E4C3; Tue, 23 Nov 2010 09:02:17 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAN82HNb001502; Tue, 23 Nov 2010 09:02:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 23 Nov 2010 09:02:17 +0100 From: Polytropon To: Lamac Lamaco Message-Id: <20101123090217.f553e1ca.freebsd@edvax.de> In-Reply-To: References: 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: Gateway_Enable="NO" 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: Tue, 23 Nov 2010 08:02:20 -0000 For the rist of not fully understanding your question: On Tue, 23 Nov 2010 08:55:11 +0400, Lamac Lamaco wrote: > Hi. Why FReeBSD working how router, When I have put in /etc/rc.conf > -> Gateway_Enable="NO" ??? > And by default Gateway_Enable="YES" or? No. The default is gateway_enable="NO" as you can see in /etc/defaults/rc.conf - and please note the lowercase letters: The names of the settings are case-sensitive, so if you write "Gateway_Enable", this will not have ANY effect. Check out the scripts in /etc/ and /etc/rc.d/ to see what effects gateway_enable="YES" will cause. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 10:29: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 BB15A106566C for ; Tue, 23 Nov 2010 10:29:58 +0000 (UTC) (envelope-from uros.gruber@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7692A8FC1D for ; Tue, 23 Nov 2010 10:29:58 +0000 (UTC) Received: by qwf7 with SMTP id 7so324238qwf.13 for ; Tue, 23 Nov 2010 02:29:57 -0800 (PST) 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=J87KF6zGfXx2QPTaG3x4L29Z6SxY8//Ww82213dDh6M=; b=XIb3HHL1aXlTplIbKhAGmtEaeY0kvatM7PlHeIamc6gzbahTg2wwVoJhyRnp21qzQ/ z1fYzLEii1xHazgclQZIK1ZAQ2UJsoDGR6dwZ92z/LV1meL1z4XOL9IORkFaCNzjpDYb ZQvCYNTakuQTYlrmqwOIABudwrGY6k6vq0Ua0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GA27YKY2UwSa781l9F2F9vPmcmdFW8d69TY+prCJ73Bq9iSEIX7dL4unBGm4mzZjay Yobg+cypaQH3/wMP74uwk1ScEWdzMzBIfgNuT00YNJgPUaZE4daLIuXt874MKBbxdnXK fBIyYDWXMw71ZQruC/Q2cjPVlG0Uh2SIpf6s8= MIME-Version: 1.0 Received: by 10.229.86.149 with SMTP id s21mr6046156qcl.234.1290506696825; Tue, 23 Nov 2010 02:04:56 -0800 (PST) Received: by 10.229.40.8 with HTTP; Tue, 23 Nov 2010 02:04:56 -0800 (PST) Date: Tue, 23 Nov 2010 11:04:56 +0100 Message-ID: From: =?UTF-8?B?VXJvxaEgR3J1YmVy?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Upgrade from 7.x to 8.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: Tue, 23 Nov 2010 10:29:58 -0000 Hi, I was looking for help about this on forum, but a the moment without and luck. I would like to upgrade one of my servers from 7.2 release to 8.1 stable. I've done this on other servers and all went well. But with this one I can't get through. I'm testing all this in virtual machine where I transfer all data from real server. Here is my procedure 1. cd /usr/src 2. make update (using RELENG_8) 3. make cleanworld && make cleandir 4. make buildworld 5. make buildkernel Through here everything works, but from now on I tried manny different steps but unfortunately I can't make it work. If I run make installkernel and reboot the server with single user a new kernel loads ok the only problem I have is that some of the programs don't actually work. For example awk /libexec/ld-elf.so.1: /lib/libm.so.5: version FBSD_1.0 required by /usr/bin/awk same problem is with ps, more etc. If I continue to run mergemaster and make installworld nothing really works, because installworld throws me a bunch of errors because some of the utilities needed does not work at all. So I tried other method. After make installworld I put server in single user mode without restarting (shutdown now). From there I can continue with 7. mergemaster -p 8. make installworld 9. make delete-old 10. make delete-old-lib 11. mergemaster Btw I tried reversing order of step 10 and 11 but it make no difference. Then I reboot the machine and first it looks I'll done my job well but right after it started complaining about the same thing as with awk but now with ps etc. and then crash with kldload process. The only thing that it works is single user mode. Because of all the problems with buildworld stuff i tried to use freebsd-update utility but this one failed even more. So I abandon this idea completely. I would appreciate some help to successfully upgrade this server. Fresh install is at the moment no option. Server is running 7.2 release with amd64 kernel. Best regards Uros From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 12:27: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 560FE106566C for ; Tue, 23 Nov 2010 12:27:48 +0000 (UTC) (envelope-from odhiambo@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 0705A8FC0C for ; Tue, 23 Nov 2010 12:27:47 +0000 (UTC) Received: by vws9 with SMTP id 9so1042186vws.13 for ; Tue, 23 Nov 2010 04:27:47 -0800 (PST) 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=s2huJ+4kjlKlsy0JBwP0AtevbYCxcCkHODUa82yKqcw=; b=xxLHF0U+4atl1HPMg+5h7lX75skWa5ARiCR0ZC5qWRbLltnukTEq8hmTycdC6J3f5S 8fMrzO38d33VeHWPz3uENRjgLJoptg9uFDWQSAwOJu4Kdzj7DEIL79HMfb7DsTsDVlvY rgWg+plu0OfWN4kz4IEU2eLWTZaypnPg08My4= 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=Aj9iBBdQR94i1YtJCMpgXEEGeRXdr6cv0jvXyxSCVq4dUiMjYQ2eZ0qCWaw3xM3KxW te49zw/4KfUdeu5dLWe7TklKMvPMaGdTirqYUwoMyvJGfOkDUKYpm+bQZzgFk50sElxe oHFmvv3mbBorrQYi8t6R7kQvsUb5Rxe8gwH6w= Received: by 10.229.97.13 with SMTP id j13mr6072379qcn.251.1290515266506; Tue, 23 Nov 2010 04:27:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Tue, 23 Nov 2010 04:27:16 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 23 Nov 2010 15:27:16 +0300 Message-ID: To: =?UTF-8?B?VXJvxaEgR3J1YmVy?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Upgrade from 7.x to 8.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: Tue, 23 Nov 2010 12:27:48 -0000 Forget the manual process. Use tested procedures: http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt I even used those procedures to upgrade one system from 6.4 to 7.x and finally to 8.1. One thing you should note: *s/*compat7x-`uname -m`-7.2.702000.200906.1.tbz*/*compat7x-`uname -m`-7.3.703000.201008.tbz*/g* On Tue, Nov 23, 2010 at 1:04 PM, Uro=C5=A1 Gruber w= rote: > Hi, > > I was looking for help about this on forum, but a the moment without > and luck. I would like to upgrade one of my servers from 7.2 release > to 8.1 stable. I've done this on other servers and all went well. But > with this one I can't get through. I'm testing all this in virtual > machine where I transfer all data from real server. > > Here is my procedure > > 1. cd /usr/src > 2. make update (using RELENG_8) > 3. make cleanworld && make cleandir > 4. make buildworld > 5. make buildkernel > > Through here everything works, but from now on I tried manny different > steps but unfortunately I can't make it work. > > If I run make installkernel and reboot the server with single user a > new kernel loads ok the only problem I have is that some of the > programs don't actually work. For example awk > > /libexec/ld-elf.so.1: /lib/libm.so.5: version FBSD_1.0 required by > /usr/bin/awk > > same problem is with ps, more etc. > > If I continue to run mergemaster and make installworld nothing really > works, because installworld throws me a bunch of errors because some > of the utilities needed does not work at all. > > So I tried other method. After make installworld I put server in > single user mode without restarting (shutdown now). From there I can > continue with > > 7. mergemaster -p > 8. make installworld > 9. make delete-old > 10. make delete-old-lib > 11. mergemaster > > Btw I tried reversing order of step 10 and 11 but it make no difference. > > Then I reboot the machine and first it looks I'll done my job well but > right after it started complaining about the same thing as with awk > but now with ps etc. and then crash with kldload process. The only > thing that it works is single user mode. > > Because of all the problems with buildworld stuff i tried to use > freebsd-update utility but this one failed even more. So I abandon > this idea completely. > > I would appreciate some help to successfully upgrade this server. > Fresh install is at the moment no option. Server is running 7.2 > release with amd64 kernel. > > Best regards > > Uros > _______________________________________________ > 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 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 10:52: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 AA2B8106566C for ; Tue, 23 Nov 2010 10:52:35 +0000 (UTC) (envelope-from non@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAF48FC08 for ; Tue, 23 Nov 2010 10:52:34 +0000 (UTC) Received: from [134.61.4.247] (account kuku@kukulies.org [134.61.4.247] verified) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 7100859 for freebsd-questions@freebsd.org; Tue, 23 Nov 2010 10:52:32 +0100 Message-ID: <4CEB8EE1.1080702@kukulies.org> Date: Tue, 23 Nov 2010 10:52:33 +0100 From: Eva Kukulies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 23 Nov 2010 13:11:26 +0000 Subject: 32 or 64 bit as server ? 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, 23 Nov 2010 10:52:35 -0000 I'm thinking of renting a hosting server and I have an offer of getting a FreeBSD 8.1 server. I want to run MySQL 5.x, PHP5, apache2.2 on it and I'm asking myself whether it would matter if I choose 32 of 64 bit ? -- Christoph From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 13:14: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 5920710656C0 for ; Tue, 23 Nov 2010 13:14:07 +0000 (UTC) (envelope-from indexer@internode.on.net) Received: from mail.internode.on.net (bld-mail13.adl6.internode.on.net [150.101.137.98]) by mx1.freebsd.org (Postfix) with ESMTP id B4F6D8FC08 for ; Tue, 23 Nov 2010 13:14:06 +0000 (UTC) Received: from [172.24.0.14] (unverified [203.122.194.109]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 47623253-1927428 for multiple; Tue, 23 Nov 2010 23:44:05 +1030 (CDT) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Indexer In-Reply-To: <4CEB8EE1.1080702@kukulies.org> Date: Tue, 23 Nov 2010 23:43:59 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4CEB8EE1.1080702@kukulies.org> To: Eva Kukulies X-Pgp-Agent: GPGMail 1.3.1 X-Mailer: Apple Mail (2.1082) Cc: "freebsd-questions@freebsd.org" Subject: Re: 32 or 64 bit as server ? 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, 23 Nov 2010 13:14:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/11/2010, at 20:22, Eva Kukulies wrote: > I'm thinking of renting a hosting server and I have an offer of = getting a > FreeBSD 8.1 server. I want to run MySQL 5.x, PHP5, apache2.2 on it and = I'm asking myself > whether it would matter if I choose 32 of 64 bit ? depends on ram amount, and if you plan to use ZFS. probably not really = an issue though. Take 64 if you can however. >=20 > -- > Christoph > _______________________________________________ > 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" William Brown pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJM674aAAoJEHF16AnLoz6JsEkP/iCnejN17c2gbRoKiDeNPN8h lvY58GzVrSI9SbUdgKsIgZkcTabXxDG9qAuNeDaST8e5xCwkx4VQYoWJNnOeAPyh I+6edmdnjb1q2wQVWyauuY/K9n0o5NtcH/L+GjmjpOrvc42EoYwo0AUOekYY20da mRpyKWZd//fZLEiK1E0efjHBa4JOs0WcTZjg39M2C2aq1UsNIRb87VrzOZzilN/u FwzzBSdu+Wdyk6HSzJMKjKPVHmJlqI2Q9jogr2oJQghma+MXVv7+HkAeiDi/1qeA VimQl8+HOH70xDzLHNfS3qmokhwlvlfiarR8/21rSxaeKPSUqpAnJnt+DczmOF5W RSaM0fw0G5+G0jNovbqavgK/5tGF64PDlMLBgwOYsxprUWyXO1znU5w2WoB7YQVF dQZnxbLwGvtgpwIxJyTTmIFYgkXhTPi3aHe3P/sEE3ZQpgxRxHOGGONvze1lDOfk PiS+QYnrZFQAitM8hQh8wXnYlEYymm4TFn6GuSGTWPYDEXcb4p+8wKnyCc6OY8Ut uQQ9VtL14Xij+9WM4YAGXGTJTZSDC0XmN//98QwHV3j/S68p0kac9tZ6WUJZ7rbK ygVN6DrJX+Iu188U4+0XXbakDyHBgR1e9JsBpmUSQPi9QkioDZJfEF9EL4O6yGCh nKjMNKffgwuk0GBXQcag =3D1gGy -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 13:15: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 DDF74106566B for ; Tue, 23 Nov 2010 13:15:13 +0000 (UTC) (envelope-from kraduk@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 984838FC1E for ; Tue, 23 Nov 2010 13:15:13 +0000 (UTC) Received: by gyf3 with SMTP id 3so13927gyf.13 for ; Tue, 23 Nov 2010 05:15:12 -0800 (PST) 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=wtcmpXzEj6F+6gtdncF4sfF0YMKXXyA2jfQcc02Tuz0=; b=PTtqnuP3PkUJxp/myjbwL+vAyzTOA5YLuM8Er7b2rE9RDk3zmJ08e1H+aLs8nygbc6 pEntbx5DI5FPSEa8xWsIWeIleemWuZ+7Mfk6i14mvGuP7VFWOuUjJdNg6LWci8fcDdmk 5f29ZmmfEes8W016uL4r10vAezTqHXGV4+mBI= 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=rpGbuLh5C7melTpOJD2X/fvDKoN/GcWCZvZAtXfSQ1WhUFvGcJjUiJQxLPU9lUj1O6 SfLNXkL8yYjvYfQvkGAJFg45x8AKq1AB8+lHWJtzy2J0YwYXSpwSBZ6gJT1669u362g4 pEGwb9mup9ssNbloLDDuAA0guaEnkR5RjvGRE= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr50632wec.29.1290518111679; Tue, 23 Nov 2010 05:15:11 -0800 (PST) Received: by 10.216.37.132 with HTTP; Tue, 23 Nov 2010 05:15:11 -0800 (PST) In-Reply-To: <4CEB8EE1.1080702@kukulies.org> References: <4CEB8EE1.1080702@kukulies.org> Date: Tue, 23 Nov 2010 13:15:11 +0000 Message-ID: From: krad To: Eva Kukulies Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: 32 or 64 bit as server ? 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, 23 Nov 2010 13:15:13 -0000 On 23 November 2010 09:52, Eva Kukulies wrote: > I'm thinking of renting a hosting server and I have an offer of getting a > FreeBSD 8.1 server. I want to run MySQL 5.x, PHP5, apache2.2 on it and I'm > asking myself > whether it would matter if I choose 32 of 64 bit ? > > -- > Christoph > _______________________________________________ > 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" > go for 64 bit, as there are few reasons not to, and lots for From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 13:43: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 B9C9D1065673 for ; Tue, 23 Nov 2010 13:43:51 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C0408FC19 for ; Tue, 23 Nov 2010 13:43:50 +0000 (UTC) Received: by yxh35 with SMTP id 35so4961667yxh.13 for ; Tue, 23 Nov 2010 05:43:50 -0800 (PST) Received: by 10.100.239.12 with SMTP id m12mr5106644anh.33.1290519830528; Tue, 23 Nov 2010 05:43:50 -0800 (PST) Received: from scorpio.seibercom.net (cpe-071-077-039-064.nc.res.rr.com [71.77.39.64]) by mx.google.com with ESMTPS id 9sm7138147anr.29.2010.11.23.05.43.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Nov 2010 05:43:46 -0800 (PST) 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 7CD65E54829 for ; Tue, 23 Nov 2010 08:43:43 -0500 (EST) Date: Tue, 23 Nov 2010 08:43:42 -0500 From: Jerry To: FreeBSD Message-ID: <20101123084342.4ab645d9@scorpio> In-Reply-To: <4CEB8EE1.1080702@kukulies.org> References: <4CEB8EE1.1080702@kukulies.org> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: 32 or 64 bit as server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 13:43:51 -0000 On Tue, 23 Nov 2010 10:52:33 +0100 Eva Kukulies articulated: > I'm thinking of renting a hosting server and I have an offer of > getting a FreeBSD 8.1 server. I want to run MySQL 5.x, PHP5, > apache2.2 on it and I'm asking myself > whether it would matter if I choose 32 of 64 bit ? I have all three running on an 8.1/64 amd system successfully. BTW, you "sig-delimiter" is broken. You are missing a after the two leading dashes. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Fashion is a form of ugliness so intolerable that we have to alter it every six months. Oscar Wilde From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 14:17: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 CE1821065679 for ; Tue, 23 Nov 2010 14:17:42 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 71F7D8FC0C for ; Tue, 23 Nov 2010 14:17:42 +0000 (UTC) Received: from overdrive.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id D571EF7427 for ; Tue, 23 Nov 2010 09:00:37 -0500 (EST) Date: Tue, 23 Nov 2010 09:00:36 -0500 From: Bill Moran To: FreeBSD Message-Id: <20101123090036.6caf33b9.wmoran@potentialtech.com> In-Reply-To: <20101123084342.4ab645d9@scorpio> References: <4CEB8EE1.1080702@kukulies.org> <20101123084342.4ab645d9@scorpio> Organization: Bill Moran X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 32 or 64 bit as server ? 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, 23 Nov 2010 14:17:42 -0000 In response to Jerry : > On Tue, 23 Nov 2010 10:52:33 +0100 > Eva Kukulies articulated: > > > I'm thinking of renting a hosting server and I have an offer of > > getting a FreeBSD 8.1 server. I want to run MySQL 5.x, PHP5, > > apache2.2 on it and I'm asking myself > > whether it would matter if I choose 32 of 64 bit ? > > I have all three running on an 8.1/64 amd system successfully. It was only a few years ago that my advice was "Don't got 64 bit unless you know you need it." Of course, things are always changing, and at this point in time, my advice would be "only go 32 bit if you _know_ there's something that won't work in 64 bit." I can speak personally that we have a multitude of servers running PHP and Apache 2.2 on 64 bit FreeBSD with no trouble. I don't use MySQL, but I have a hard time believing that it's not 64 bit clean. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 14:26: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 C6811106564A for ; Tue, 23 Nov 2010 14:26:29 +0000 (UTC) (envelope-from tobiash@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 7F4008FC1B for ; Tue, 23 Nov 2010 14:26:29 +0000 (UTC) Received: by gwj21 with SMTP id 21so57454gwj.13 for ; Tue, 23 Nov 2010 06:26:29 -0800 (PST) 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=1RDUxdaEK9QKxZdr6m3ZanUAoysDAWcug0Wq4QxlinY=; b=cViigArvi4NaIGyKoIPhbFTV76FV6bMXha6h8JtYl3cX801uHjJR2hfZlSOMMVVCyb hZgIDqgugvAgU2Bk7IzHZuLR3+QBQskBQ4Q4Eh7R+gBe4aopZARaoQZ6B32/zBKMcpjm y8skmxM6HmC6wc50cGnpQDK80oj8j307z8FLE= 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=AMSPaimEUt5wqYt+ftpt2kwCb4oeBW32i2Ax6GlaabaLbIn8fr2m3bDPmxzt39tXNe 3i/ODOstJauf2FVVHloKurG0+ve78Gn26j28ndV/045nNX6zHukZm4FwN3z1lJVMkAm4 SVo7xTcMLTkEzXPqB0NsEQZc+/kSlda3RPsoU= MIME-Version: 1.0 Received: by 10.100.166.20 with SMTP id o20mr4324930ane.95.1290522388343; Tue, 23 Nov 2010 06:26:28 -0800 (PST) Received: by 10.100.201.9 with HTTP; Tue, 23 Nov 2010 06:26:28 -0800 (PST) In-Reply-To: <20101123090036.6caf33b9.wmoran@potentialtech.com> References: <4CEB8EE1.1080702@kukulies.org> <20101123084342.4ab645d9@scorpio> <20101123090036.6caf33b9.wmoran@potentialtech.com> Date: Tue, 23 Nov 2010 07:26:28 -0700 Message-ID: From: Tobias To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 32 or 64 bit as server ? 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, 23 Nov 2010 14:26:29 -0000 On Tue, Nov 23, 2010 at 7:00 AM, Bill Moran wrote: > > It was only a few years ago that my advice was "Don't got 64 bit unless > you know you need it." > > Of course, things are always changing, and at this point in time, my > advice would be "only go 32 bit if you _know_ there's something that > won't work in 64 bit." > Could not agree more with your statements above. > I can speak personally that we have a multitude of servers running > PHP and Apache 2.2 on 64 bit FreeBSD with no trouble. I don't use > MySQL, but I have a hard time believing that it's not 64 bit clean. Right behind me is my 64-bit FreeBSD 8.1 server that hosts a number of websites. Apache2, php, perl, mysql, memcache, etc. all run just fine without any obvious issues. --Tobias From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 14:54: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 7DA9D106566B for ; Tue, 23 Nov 2010 14:54:55 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1865D8FC16 for ; Tue, 23 Nov 2010 14:54:55 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 60CBAE7217; Tue, 23 Nov 2010 14:54:54 +0000 (GMT) Received: from core.draftnet (client-86-29-107-54.glfd.adsl.virginmedia.com [86.29.107.54]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 23 Nov 2010 14:54:53 +0000 (GMT) Date: Tue, 23 Nov 2010 14:54:37 +0000 From: Bruce Cran To: Bill Moran Message-ID: <20101123145437.2d50c661@core.draftnet> In-Reply-To: <20101123090036.6caf33b9.wmoran@potentialtech.com> References: <4CEB8EE1.1080702@kukulies.org> <20101123084342.4ab645d9@scorpio> <20101123090036.6caf33b9.wmoran@potentialtech.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: 32 or 64 bit as server ? 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, 23 Nov 2010 14:54:55 -0000 On Tue, 23 Nov 2010 09:00:36 -0500 Bill Moran wrote: > Of course, things are always changing, and at this point in time, my > advice would be "only go 32 bit if you _know_ there's something that > won't work in 64 bit." The only other time I'd recommend installing a 32-bit version is if you're stuck with a machine with a very limited amount of memory. For example I'm having to run www/mail/db in only 256MB, so I chose not to install the 64-bit version which would use more memory. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 15:15: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 26EBC106566C for ; Tue, 23 Nov 2010 15:15:32 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63CF68FC13 for ; Tue, 23 Nov 2010 15:15:29 +0000 (UTC) Received: by ewy3 with SMTP id 3so4670888ewy.13 for ; Tue, 23 Nov 2010 07:15:29 -0800 (PST) Received: by 10.213.114.77 with SMTP id d13mr1675176ebq.44.1290525328880; Tue, 23 Nov 2010 07:15:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.19.9 with HTTP; Tue, 23 Nov 2010 07:15:07 -0800 (PST) In-Reply-To: <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> From: Chris Brennan Date: Tue, 23 Nov 2010 10:15:07 -0500 Message-ID: To: Weihang Wang Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" 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, 23 Nov 2010 15:15:32 -0000 On Mon, Nov 22, 2010 at 9:58 PM, Weihang Wang wrote: > Hi, > > Thanks for your reply. Yes, now I still got problems. I have checked the > release notes of versions later than 6.0, almost every version has not so > few changes in their network protocols kernel. For example, some functions > were replaced by others, arguments for a function is not needed in a later > version, things like that... This will make the transport protocol does not > work. But if I go through to adapt the protocol to a new version, that would > be lots of work. Also, that's not what I supposed to do. > On the other hand, I could not find other kind of instrumenting tools for > FreeBSD either. E.g., Systemtap, LLtng, Oprofile e.t. which are all for > Linux kernel. > In terms of not on real machine, I have thought of using some kind of > simulator, which could be used to get the performance statistics of the > kernel. That is, I run the kernel and transport protocol on this simulator, > and get information from this simulator. But again, not found a simulator > for FreeBSD... > BTW, I do not know how to use VM to do this... Could you explain a bit for > me? Thank you so much. > > Best, > W.Wang > > > Don't top post, ruins the flow of reading. VM = Virtual Machine. Grab yourself a copy of Virtual Box or VMWare for your OS of choice and install it, the rest is fairly self-explanatory. Once the VM is installed, grab a few copies of VMWare and install them (If you have enough resources, you can run more then 1 VM) and see if your code works on newer versions of FreeBSD. You might be surprised what does still work w/ the compat libs from previous branches. Also keep in mind that if your 6x machine is forward-facing (i.e. has access to the world) and you happen across a security flaw, you will get almost no support from the community in fixing it as it's a discontinued branch and has reach it's EoL (End-of-Life). So you will be left to either leave the hole alone or attempt to fix it yourself. Anywho ... hth From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 20:28: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 EC8D01065670 for ; Tue, 23 Nov 2010 20:28:11 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id C27C18FC1A for ; Tue, 23 Nov 2010 20:28:11 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id 77AC728411; Tue, 23 Nov 2010 15:28:10 -0500 (EST) Message-ID: <4CEC23D9.6090600@cyberleo.net> Date: Tue, 23 Nov 2010 14:28:09 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100911 Lightning/1.0b3pre Thunderbird/3.1.3 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> In-Reply-To: <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, kraduk@gmail.com Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 23 Nov 2010 20:28:12 -0000 On 11/22/2010 10:19 PM, perryh@pluto.rain.com wrote: > krad wrote: >> On 21 November 2010 06:10, wrote: > ... >>> ==== manually-created config files, while still in chroot after install >>> Fixit# cat /boot/loader.conf >>> geom_mirror_load="YES" >>> geom_journal_load="YES" >>> >>> vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" >>> vfs.root.mountfrom.options="rw" > ... >>> ==== output from kldstat, after booting the newly-installed system -- >>> ==== and manually mounting the root FS -- showing that geom_mirror.ko >>> ==== did get loaded. >>> Id Refs Address Size Name >>> 1 6 0xc0400000 bb5504 kernel >>> 2 1 0xc0fb6000 14540 geom_journal.ko >>> 3 1 0xc0fcb000 16ed4 geom_mirror.ko > ... >> sounds silly but are you loading the gmirror kernel module via >> loader.conf > > Yes, I'm even setting geom_mirror_load to "YES" before setting > geom_journal_load to "YES" (although I doubt the order of these > settings in loader.conf makes any difference). > > If the kldstat Id numbers are assigned sequentially, it looks as > if geom_journal got loaded first and this may somehow be related > (although I don't entirely see how -- absent geom_mirror to make gm0 > and its partitions visible, I'd think that geom_journal "should not" > be able to find its metadata at all). >From what I've found, this is because there is no taste difference between a bsdlabel on a gmirror and a bsdlabel on a non-mirror. Since both gmirror and gjournal are greedy (they take exclusive access of their parent providers upon successful taste, and not upon exclusive access to their own providers like glabel), the first one to successfully taste and start is the winner; the other will never get to taste those devices. The trick here is to either make the two look different somehow (use a different geom that stores its metadata at the beginning of the provider, instead of the end, thus eliminating ambiguity in the bsdlabel taste), or to make the inner geom avoid the outer devices (hardcode provider names in metadata). Since you have an outer geom that provides a static name, hardcoding the name of the gmirror into the gjournal metadata shouldn't cause anything to break if your disks change places, either. http://pb.cyberleo.net/?show=m7fcbcef7 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 21:00:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id BC4801065674; Tue, 23 Nov 2010 21:00:14 +0000 (UTC) Date: Tue, 23 Nov 2010 21:00:13 +0000 From: Alexander Best To: freebsd-questions@freebsd.org Message-ID: <20101123210013.GA71784@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: libm alternative in ports 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, 23 Nov 2010 21:00:14 -0000 hi there, does anybody if there's an alternative for libm in the ports dir? i need it, because the newest snapshots of mplayer require log2() and log2f(), which the base libm doesn't support. cheers. alex -- a13x From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 21:34: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 541C5106566C for ; Tue, 23 Nov 2010 21:34:18 +0000 (UTC) (envelope-from demelier.david@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 072298FC0C for ; Tue, 23 Nov 2010 21:34:17 +0000 (UTC) Received: by vws9 with SMTP id 9so1602061vws.13 for ; Tue, 23 Nov 2010 13:34:17 -0800 (PST) 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=YcQh2TvUHIPrT6Sp4MzIF62CnYYK1JvPxBMiFhkBL0M=; b=pCOTzbgWGE4tk+Q2hP+nxD8SQ/Z11+uHfvuCh6rpYlnvKO4wN5EAQW1tn9K7RKGWw2 od6etHjkr6MzagThidCCA6z8wPTH1tOWDkCefJt4Nqam5d5UDQdT2KaGF02kve5k2M/l PjUvU4j8zIHC3hiUayVEeFPDJndTSjkD74W/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gw7tHXH7nDb8fGlIk2XTT+t/NvtYdCoOaLJyNDI9r8XHKamd3NjHkX97ki8UmZII9Z gNwvQ12Z231AA+5JTdMGFosztwq1MKUdUeOfBJzOmRdh5TZKhD8vfkYY4hqKF/FPVIda QKD2/RP1d0CbDayYSwGgOHS7OHMHAASUA8beY= MIME-Version: 1.0 Received: by 10.204.116.74 with SMTP id l10mr7773982bkq.113.1290548056073; Tue, 23 Nov 2010 13:34:16 -0800 (PST) Received: by 10.204.56.205 with HTTP; Tue, 23 Nov 2010 13:34:16 -0800 (PST) Date: Tue, 23 Nov 2010 22:34:16 +0100 Message-ID: From: David DEMELIER To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: How long laptop battery should live ? 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, 23 Nov 2010 21:34:18 -0000 Hello I just realized that my HP laptop lost the half battery capacity. Take a look : markand@Melon ~ $ acpiconf -i 0 Design capacity: 4400 mAh Last full capacity: 2132 mAh Technology: secondary (rechargeable) Design voltage: 14400 mV Capacity (warn): 200 mAh Capacity (low): 100 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 02109 2009/08/11 Type: LIon OEM info: Hewlett-Packard State: charging Remaining capacity: 0% Remaining time: unknown Present rate: 3061 mA Voltage: 15751 mV Design capacity: 4400 mAh Last full capacity: 2132 mAh I'm guessing if this should be, the laptop has only about 8 months and I don't use it much on battery, only around one day per week and not until the battery is empty. If I remember correctly my old laptop didn't lost so much of capacity in a few months like that. My question is : how long a battery should live ? is anything could bring down the battery sooner ? I hope the next battery wont be too much expensive and will live more.. Cheers, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 21:57: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 AD7511065696 for ; Tue, 23 Nov 2010 21:57:29 +0000 (UTC) (envelope-from kraduk@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 35FA98FC29 for ; Tue, 23 Nov 2010 21:57:28 +0000 (UTC) Received: by wye20 with SMTP id 20so710639wye.13 for ; Tue, 23 Nov 2010 13:57:28 -0800 (PST) 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=WVl+29jr62BcVSttz7eXRdi3UO5Hu5qD40b5rYe/EJU=; b=CcxZ6MO13Inzd6mcGkj179eiSefv77JuFSfeQfk8xsn53yPWxGRtZRceyQ5AACP2a3 iAvOvTFWQ9pNTvI30HThrUxml//Z8QSP9w0EtZ3epxt4kEwu8j5eXieJxktowuRlR0dj F03b5EuYCKGm70Y3edhNl5LIvH8QeQvH0sxEw= 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=kZ706EqbvjbEyjcPxeIu98CmlgHrbO+/0tJWZX0xL1LVnAfs0uStFV/swnxt3i1wvF Iw+JgUVWbbyIEYUjqHzzHMMRgUAhXDqQv9sQ7uV/HT3oAz6peT7KqxcZZspkaFqE+gw0 K4HXbu3k3J79n/vj08aV3J06Xacnd9nZnwufs= MIME-Version: 1.0 Received: by 10.216.176.20 with SMTP id a20mr7160980wem.14.1290549447277; Tue, 23 Nov 2010 13:57:27 -0800 (PST) Received: by 10.216.37.132 with HTTP; Tue, 23 Nov 2010 13:57:27 -0800 (PST) In-Reply-To: <4CEC23D9.6090600@cyberleo.net> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> <4CEC23D9.6090600@cyberleo.net> Date: Tue, 23 Nov 2010 21:57:27 +0000 Message-ID: From: krad To: CyberLeo Kitsana Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 23 Nov 2010 21:57:29 -0000 2010/11/23 CyberLeo Kitsana > On 11/22/2010 10:19 PM, perryh@pluto.rain.com wrote: > > krad wrote: > >> On 21 November 2010 06:10, wrote: > > ... > >>> ==== manually-created config files, while still in chroot after install > >>> Fixit# cat /boot/loader.conf > >>> geom_mirror_load="YES" > >>> geom_journal_load="YES" > >>> > >>> vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" > >>> vfs.root.mountfrom.options="rw" > > ... > >>> ==== output from kldstat, after booting the newly-installed system -- > >>> ==== and manually mounting the root FS -- showing that geom_mirror.ko > >>> ==== did get loaded. > >>> Id Refs Address Size Name > >>> 1 6 0xc0400000 bb5504 kernel > >>> 2 1 0xc0fb6000 14540 geom_journal.ko > >>> 3 1 0xc0fcb000 16ed4 geom_mirror.ko > > ... > >> sounds silly but are you loading the gmirror kernel module via > >> loader.conf > > > > Yes, I'm even setting geom_mirror_load to "YES" before setting > > geom_journal_load to "YES" (although I doubt the order of these > > settings in loader.conf makes any difference). > > > > If the kldstat Id numbers are assigned sequentially, it looks as > > if geom_journal got loaded first and this may somehow be related > > (although I don't entirely see how -- absent geom_mirror to make gm0 > > and its partitions visible, I'd think that geom_journal "should not" > > be able to find its metadata at all). > > From what I've found, this is because there is no taste difference > between a bsdlabel on a gmirror and a bsdlabel on a non-mirror. > > Since both gmirror and gjournal are greedy (they take exclusive access > of their parent providers upon successful taste, and not upon exclusive > access to their own providers like glabel), the first one to > successfully taste and start is the winner; the other will never get to > taste those devices. > > The trick here is to either make the two look different somehow (use a > different geom that stores its metadata at the beginning of the > provider, instead of the end, thus eliminating ambiguity in the bsdlabel > taste), or to make the inner geom avoid the outer devices (hardcode > provider names in metadata). Since you have an outer geom that provides > a static name, hardcoding the name of the gmirror into the gjournal > metadata shouldn't cause anything to break if your disks change places, > either. > > http://pb.cyberleo.net/?show=m7fcbcef7 > > -- > Fuzzy love, > -CyberLeo > Technical Administrator > CyberLeo.Net Webhosting > http://www.CyberLeo.Net > > > Furry Peace! - http://wwww.fur.com/peace/ > I think what he is saying is slice it up 1st, then mirror the slices, and slap the journal on top of that From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:03: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 7598F1065675 for ; Tue, 23 Nov 2010 22:03:04 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 3C31D8FC14 for ; Tue, 23 Nov 2010 22:03:03 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id 620D65083E; Tue, 23 Nov 2010 16:02:53 -0600 (CST) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 620263CE72; Tue, 23 Nov 2010 16:02:53 -0600 (CST) Received: from ADVPHTCAS0.wradvisors.com (advphtcas0.wradvisors.com [192.168.203.228]) by mailhost3.waddell.com (Postfix) with ESMTP id 591303CD1C; Tue, 23 Nov 2010 16:02:53 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.151]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Tue, 23 Nov 2010 16:02:53 -0600 From: Gary Gatten To: "'demelier.david@gmail.com'" , "'freebsd-questions@freebsd.org'" Date: Tue, 23 Nov 2010 16:02:52 -0600 Thread-Topic: How long laptop battery should live ? Thread-Index: AcuLVkEL1h1qF5MYRXeh6kX6C03mHAAA+uzN Message-ID: <20093_1290549773_4CEC3A0D_20093_90_1_D9B37353831173459FDAA836D3B43499A7AF8D3E@WADPMBXV0.waddell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: Subject: Re: How long laptop battery should live ? 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, 23 Nov 2010 22:03:04 -0000 SSBqdXN0IGxvb2tlZCBpbnRvIGEgYmF0dCBmb3IgbXkgZGF1Z2h0ZXJzIGRlbGwsIGhlciBsaS1v biBsYXN0ZWQgMTQgbW9udGhzLCBub3cgb24gImZ1bGwiIGNoYXJnZSBpdCBvbmx5IGxhc3RzIDQw IG1pbnMuLi4gIFRlcnJpYmxlLiAgSWYgeW91IGNhbiBnZXQgMiB5ZWFycyBvdXQgb2YgYSBiYXR0 IHVyIGx1Y2t5LiAgSSByZWFkIHNvbWUgdGVjaCBkb2NzIG9uIGxpLW9uIGNlbGxzOyBpZiB5b3Ug Y2FuIHN0b3JlIGF0IDUwJSBjaGFyZ2UgaW4gdGhlIGZyaWRnZSBhbmQgd2hlbiBpbiB1c2UgZG9u J3QgbGV0IGl0IHJ1biBkb3duIDEwMCUuDQoNCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0N CkZyb206IG93bmVyLWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIDxvd25lci1mcmVlYnNk LXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NClRvOiBGcmVlQlNEIFF1ZXN0aW9ucyA8ZnJlZWJzZC1x dWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpTZW50OiBUdWUgTm92IDIzIDE1OjM0OjE2IDIwMTAKU3Vi amVjdDogSG93IGxvbmcgbGFwdG9wIGJhdHRlcnkgc2hvdWxkIGxpdmUgPw0KDQpIZWxsbw0KDQpJ IGp1c3QgcmVhbGl6ZWQgdGhhdCBteSBIUCBsYXB0b3AgbG9zdCB0aGUgaGFsZiBiYXR0ZXJ5IGNh cGFjaXR5LiBUYWtlIGEgbG9vayA6DQoNCm1hcmthbmRATWVsb24gfiAkIGFjcGljb25mIC1pIDAN CkRlc2lnbiBjYXBhY2l0eToJNDQwMCBtQWgNCkxhc3QgZnVsbCBjYXBhY2l0eToJMjEzMiBtQWgN ClRlY2hub2xvZ3k6CQlzZWNvbmRhcnkgKHJlY2hhcmdlYWJsZSkNCkRlc2lnbiB2b2x0YWdlOgkJ MTQ0MDAgbVYNCkNhcGFjaXR5ICh3YXJuKToJMjAwIG1BaA0KQ2FwYWNpdHkgKGxvdyk6CQkxMDAg bUFoDQpMb3cvd2FybiBncmFudWxhcml0eToJMTAwIG1BaA0KV2Fybi9mdWxsIGdyYW51bGFyaXR5 OgkxMDAgbUFoDQpNb2RlbCBudW1iZXI6CQlQcmltYXJ5DQpTZXJpYWwgbnVtYmVyOgkJMDIxMDkg MjAwOS8wOC8xMQ0KVHlwZToJCQlMSW9uDQpPRU0gaW5mbzoJCUhld2xldHQtUGFja2FyZA0KU3Rh dGU6CQkJY2hhcmdpbmcNClJlbWFpbmluZyBjYXBhY2l0eToJMCUNClJlbWFpbmluZyB0aW1lOgkJ dW5rbm93bg0KUHJlc2VudCByYXRlOgkJMzA2MSBtQQ0KVm9sdGFnZToJCTE1NzUxIG1WDQoNCkRl c2lnbiBjYXBhY2l0eToJNDQwMCBtQWgNCkxhc3QgZnVsbCBjYXBhY2l0eToJMjEzMiBtQWgNCg0K SSdtIGd1ZXNzaW5nIGlmIHRoaXMgc2hvdWxkIGJlLCB0aGUgbGFwdG9wIGhhcyBvbmx5IGFib3V0 IDggbW9udGhzIGFuZA0KSSBkb24ndCB1c2UgaXQgbXVjaCBvbiBiYXR0ZXJ5LCBvbmx5IGFyb3Vu ZCBvbmUgZGF5IHBlciB3ZWVrIGFuZCBub3QNCnVudGlsIHRoZSBiYXR0ZXJ5IGlzIGVtcHR5LiBJ ZiBJIHJlbWVtYmVyIGNvcnJlY3RseSBteSBvbGQgbGFwdG9wDQpkaWRuJ3QgbG9zdCBzbyBtdWNo IG9mIGNhcGFjaXR5IGluIGEgZmV3IG1vbnRocyBsaWtlIHRoYXQuDQoNCk15IHF1ZXN0aW9uIGlz IDogaG93IGxvbmcgYSBiYXR0ZXJ5IHNob3VsZCBsaXZlID8gaXMgYW55dGhpbmcgY291bGQNCmJy aW5nIGRvd24gdGhlIGJhdHRlcnkgc29vbmVyID8NCg0KSSBob3BlIHRoZSBuZXh0IGJhdHRlcnkg d29udCBiZSB0b28gbXVjaCBleHBlbnNpdmUgYW5kIHdpbGwgbGl2ZSBtb3JlLi4NCg0KQ2hlZXJz LA0KDQotLSANCkRlbWVsaWVyIERhdmlkDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXw0KZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBs aXN0DQpodHRwOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXF1 ZXN0aW9ucw0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtcXVlc3Rp b25zLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0KCgoKCgo8Zm9udCBzaXplPSIxIj4KPGRpdiBz dHlsZT0nYm9yZGVyOm5vbmU7Ym9yZGVyLWJvdHRvbTpkb3VibGUgd2luZG93dGV4dCAyLjI1cHQ7 cGFkZGluZzowaW4gMGluIDEuMHB0IDBpbic+CjwvZGl2PgoiVGhpcyBlbWFpbCBpcyBpbnRlbmRl ZCB0byBiZSByZXZpZXdlZCBieSBvbmx5IHRoZSBpbnRlbmRlZCByZWNpcGllbnQKIGFuZCBtYXkg Y29udGFpbiBpbmZvcm1hdGlvbiB0aGF0IGlzIHByaXZpbGVnZWQgYW5kL29yIGNvbmZpZGVudGlh bC4KIElmIHlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGllbnQsIHlvdSBhcmUgaGVyZWJ5 IG5vdGlmaWVkIHRoYXQKIGFueSByZXZpZXcsIHVzZSwgZGlzc2VtaW5hdGlvbiwgZGlzY2xvc3Vy ZSBvciBjb3B5aW5nIG9mIHRoaXMgZW1haWwKIGFuZCBpdHMgYXR0YWNobWVudHMsIGlmIGFueSwg aXMgc3RyaWN0bHkgcHJvaGliaXRlZC4gIElmIHlvdSBoYXZlCiByZWNlaXZlZCB0aGlzIGVtYWls IGluIGVycm9yLCBwbGVhc2UgaW1tZWRpYXRlbHkgbm90aWZ5IHRoZSBzZW5kZXIgYnkKIHJldHVy biBlbWFpbCBhbmQgZGVsZXRlIHRoaXMgZW1haWwgZnJvbSB5b3VyIHN5c3RlbS4iCjwvZm9udD4K Cg== From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:09: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 E538B1065673 for ; Tue, 23 Nov 2010 22:09:19 +0000 (UTC) (envelope-from gnrp@physik.tu-berlin.de) Received: from mail.tu-berlin.de (mail.tu-berlin.de [130.149.7.33]) by mx1.freebsd.org (Postfix) with ESMTP id 95B308FC08 for ; Tue, 23 Nov 2010 22:09:19 +0000 (UTC) X-tubIT-Incoming-IP: 130.149.58.163 Received: from mail.physik-pool.tu-berlin.de ([130.149.58.163] helo=mail.physik.tu-berlin.de) by mail.tu-berlin.de (exim-4.69/mailfrontend-a) with esmtp for id 1PL138-0000pL-BX; Tue, 23 Nov 2010 23:09:18 +0100 Received: from localhost (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by mail.physik.tu-berlin.de (Postfix) with ESMTP id F0E7C11406 for ; Tue, 23 Nov 2010 23:09:16 +0100 (CET) X-Virus-Scanned: amavisd-new at physik.tu-berlin.de Received: from mail.physik.tu-berlin.de ([127.0.0.1]) by localhost (mail.physik-pool.TU-Berlin.DE [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+5cvrRCHUvd for ; Tue, 23 Nov 2010 23:09:14 +0100 (CET) Received: from adolfputzen (dhcp94.vr.in-berlin.de [217.197.81.94]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.physik.tu-berlin.de (Postfix) with ESMTPSA id 0DA1A11404 for ; Tue, 23 Nov 2010 23:09:14 +0100 (CET) Date: Tue, 23 Nov 2010 23:09:08 +0100 From: Julian Fagir To: freebsd-questions@freebsd.org Message-ID: <20101123230908.5475dfe5@adolfputzen> In-Reply-To: <20093_1290549773_4CEC3A0D_20093_90_1_D9B37353831173459FDAA836D3B43499A7AF8D3E@WADPMBXV0.waddell.com> References: <20093_1290549773_4CEC3A0D_20093_90_1_D9B37353831173459FDAA836D3B43499A7AF8D3E@WADPMBXV0.waddell.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/+k5jp+045UyaeskIthd_nbn"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: How long laptop battery should live ? 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, 23 Nov 2010 22:09:20 -0000 --Sig_/+k5jp+045UyaeskIthd_nbn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, > I just looked into a batt for my daughters dell, her li-on lasted 14 > months, now on "full" charge it only lasts 40 mins... Terrible. If you > can get 2 years out of a batt ur lucky. I read some tech docs on li-on > cells; if you can store at 50% charge in the fridge and when in use don't > let it run down 100%. in my opinion, there's just one rule: Don't trust anybody. There are so many people who claim do be professionals, who say totally contrary things. On the one hand, there are many 'facts' which are falsely applied to LiIon-batteries which don't apply. On the other hand, there are many stories people remember from years long ago or from cheap notebooks without an 'intelligent' battery. Just to add another story from me: I have two batteries in my notebook, the one is always drowned to zero before the other one is being used (no, there are no possibilities to control that in my case). The one being drowned first, though not that often used that hard (appr once a week) was nearly dead after 1 1/2 years (6/23Wh), while the other one still has 23/27Wh. Regards, Julian --Sig_/+k5jp+045UyaeskIthd_nbn Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkzsO4QACgkQFV4nWcOPv/D19gCghigcY9K0ZfJjvZJ0mKqTTGi9 A5oAn02xG8x+44F1cos9qTKReDsDtqna =yAu4 -----END PGP SIGNATURE----- --Sig_/+k5jp+045UyaeskIthd_nbn-- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:19: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 62A231065675 for ; Tue, 23 Nov 2010 22:19:34 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E33988FC18 for ; Tue, 23 Nov 2010 22:19:33 +0000 (UTC) Received: by wwd20 with SMTP id 20so8831910wwd.31 for ; Tue, 23 Nov 2010 14:19:32 -0800 (PST) Received: by 10.216.11.66 with SMTP id 44mr7083301wew.69.1290550772153; Tue, 23 Nov 2010 14:19:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.204.149 with HTTP; Tue, 23 Nov 2010 14:19:11 -0800 (PST) In-Reply-To: <20101123210013.GA71784@freebsd.org> References: <20101123210013.GA71784@freebsd.org> From: Chris Brennan Date: Tue, 23 Nov 2010 17:19:11 -0500 Message-ID: To: Alexander Best Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: libm alternative in ports 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, 23 Nov 2010 22:19:34 -0000 On Tue, Nov 23, 2010 at 4:00 PM, Alexander Best wrote: > hi there, > > does anybody if there's an alternative for libm in the ports dir? i need > it, > because the newest snapshots of mplayer require log2() and log2f(), which > the > base libm doesn't support. > > cheers. > alex > > This is what a search of /usr/ports turned up for me .... (cd /usr/ports; make search name=libm | grep -A1 Port >file) Port: libmspack-0.2_1 Path: /usr/ports/archivers/libmspack -- Port: hs-libmpd-0.4.1 Path: /usr/ports/audio/hs-libmpd -- Port: libmad-0.15.1b_2 Path: /usr/ports/audio/libmad -- Port: libmikmod-3.1.11_2 Path: /usr/ports/audio/libmikmod -- Port: libmodplug-0.8.8.1 Path: /usr/ports/audio/libmodplug -- Port: libmp3-archive-perl-0.9 Path: /usr/ports/audio/libmp3-archive-perl -- Port: libmp3splt-0.6 Path: /usr/ports/audio/libmp3splt -- Port: libmpcdec-1.2.6 Path: /usr/ports/audio/libmpcdec -- Port: libmpd-0.19.0 Path: /usr/ports/audio/libmpd -- Port: libmpdclient-2.3 Path: /usr/ports/audio/libmpdclient -- Port: libmtp-1.0.3 Path: /usr/ports/audio/libmtp -- Port: libmusicbrainz-2.1.5 Path: /usr/ports/audio/libmusicbrainz -- Port: libmusicbrainz3-3.0.3 Path: /usr/ports/audio/libmusicbrainz3 -- Port: linux-libmad-0.15.1.b.3.2 Path: /usr/ports/audio/linux-libmad -- Port: libmicro-0.4.0 Path: /usr/ports/benchmarks/libmicro -- Port: libmemcache-1.4.0.r2_1 Path: /usr/ports/databases/libmemcache -- Port: libmemcached-0.44 Path: /usr/ports/databases/libmemcached -- Port: p5-Memcached-libmemcached-0.21.01 Path: /usr/ports/databases/p5-Memcached-libmemcached -- Port: py26-pylibmc-1.1.1 Path: /usr/ports/databases/py-pylibmc -- Port: glibmm-2.24.2_2,1 Path: /usr/ports/devel/glibmm -- Port: glibmm-reference-2.24.2_5,1 Path: /usr/ports/devel/glibmm-reference -- Port: libmaa-1.2.0,1 Path: /usr/ports/devel/libmaa -- Port: libmatheval-1.1.5_3 Path: /usr/ports/devel/libmatheval -- Port: libmba-0.9.1 Path: /usr/ports/devel/libmba -- Port: libmcs-0.7.2 Path: /usr/ports/devel/libmcs -- Port: libmimedir-0.5.1 Path: /usr/ports/devel/libmimedir -- Port: libmonetra-7.0.4 Path: /usr/ports/devel/libmonetra -- Port: libmowgli-0.7.1 Path: /usr/ports/devel/libmowgli -- Port: libmpcbdm-0.0.3 Path: /usr/ports/devel/libmpcbdm -- Port: libmsocket-0.4_1 Path: /usr/ports/devel/libmsocket -- Port: libmtrie-1.0.3 Path: /usr/ports/devel/libmtrie -- Port: libmaitretarot-0.1.98_4 Path: /usr/ports/games/libmaitretarot -- Port: libmt_client-0.1.98_4 Path: /usr/ports/games/libmt_client -- Port: libmng-1.0.10_2 Path: /usr/ports/graphics/libmng -- Port: libmorph-0.1.2_1 Path: /usr/ports/graphics/libmorph -- Port: linux-f10-libmng-1.0.9 Path: /usr/ports/graphics/linux-f10-libmng -- Port: linux-f8-libmng-1.0.9_1 Path: /usr/ports/graphics/linux-f8-libmng -- Port: linux-libmng-1.0.9_2 Path: /usr/ports/graphics/linux-libmng -- Port: libmapi-0.9_2 Path: /usr/ports/mail/libmapi -- Port: libmath++-0.0.3 Path: /usr/ports/math/libmath++ -- Port: libmcal-0.7_2 Path: /usr/ports/misc/libmcal -- Port: libmetalink-0.0.3 Path: /usr/ports/misc/libmetalink -- Port: libmatroska-1.0.0 Path: /usr/ports/multimedia/libmatroska -- Port: libmovtar-0.1.3_8 Path: /usr/ports/multimedia/libmovtar -- Port: libmpeg2-0.5.1 Path: /usr/ports/multimedia/libmpeg2 -- Port: libmpeg3-1.8 Path: /usr/ports/multimedia/libmpeg3 -- Port: gstreamer-plugins-libmms-0.10.20,3 Path: /usr/ports/net/gstreamer-plugins-libmms -- Port: libmms-0.5_1 Path: /usr/ports/net/libmms -- Port: libmxp-0.2.4 Path: /usr/ports/net/libmxp -- Port: libmsn-4.1 Path: /usr/ports/net-im/libmsn -- Port: libmal-0.44.1 Path: /usr/ports/palm/libmal -- Port: libmcrypt-2.5.8 Path: /usr/ports/security/libmcrypt -- Port: libmrss-0.19.2_3 Path: /usr/ports/textproc/libmrss -- Port: libmicrohttpd-0.4.2 Path: /usr/ports/www/libmicrohttpd -- Port: graphics/libmovtar Moved: multimedia/libmovtar -- Port: graphics/libmpeg2 Moved: multimedia/libmpeg2 -- Port: deskutils/libmrproject Moved: deskutils/planner -- Port: audio/libmusepack Moved: audio/libmpcdec -- Port: multimedia/gpac-libm4systems Moved: multimedia/gpac-libgpac -- Port: net/libmsn Moved: net-im/libmsn -- Port: devel/libmusclecard Moved: -- Port: graphics/gstreamer-plugins-libmng Moved: graphics/gstreamer-plugins-libmng80 -- Port: graphics/gstreamer-plugins-libmng80 Moved: -- Port: net/gstreamer-plugins-libmms80 Moved: net/gstreamer-plugins-libmms -- Port: devel/libmcve Moved: devel/libmonetra -- Port: audio/py-libmpdclient Moved: -- Port: multimedia/mpeg4ip-libmp4v2 Moved: multimedia/mp4v2 I'm not exactly sure what your looking for but it may be one of these , hth From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:27:05 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 B6F21106564A for ; Tue, 23 Nov 2010 22:27:05 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDE78FC12 for ; Tue, 23 Nov 2010 22:27:05 +0000 (UTC) Received: by ywp6 with SMTP id 6so738123ywp.13 for ; Tue, 23 Nov 2010 14:27:03 -0800 (PST) Received: by 10.216.16.85 with SMTP id g63mr1521598weg.114.1290551222412; Tue, 23 Nov 2010 14:27:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.204.149 with HTTP; Tue, 23 Nov 2010 14:26:42 -0800 (PST) In-Reply-To: <20101123230908.5475dfe5@adolfputzen> References: <20093_1290549773_4CEC3A0D_20093_90_1_D9B37353831173459FDAA836D3B43499A7AF8D3E@WADPMBXV0.waddell.com> <20101123230908.5475dfe5@adolfputzen> From: Chris Brennan Date: Tue, 23 Nov 2010 17:26:42 -0500 Message-ID: To: Julian Fagir Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 23 Nov 2010 22:27:05 -0000 On Tue, Nov 23, 2010 at 5:09 PM, Julian Fagir wrote: > Hi, > > > I just looked into a batt for my daughters dell, her li-on lasted 14 > > months, now on "full" charge it only lasts 40 mins... Terrible. If you > > can get 2 years out of a batt ur lucky. I read some tech docs on li-on > > cells; if you can store at 50% charge in the fridge and when in use don't > > let it run down 100%. > in my opinion, there's just one rule: Don't trust anybody. > There are so many people who claim do be professionals, who say totally > contrary things. > On the one hand, there are many 'facts' which are falsely applied to > LiIon-batteries which don't apply. On the other hand, there are many > stories > people remember from years long ago or from cheap notebooks without an > 'intelligent' battery. > > Just to add another story from me: I have two batteries in my notebook, the > one is always drowned to zero before the other one is being used (no, there > are no possibilities to control that in my case). The one being drowned > first, though not that often used that hard (appr once a week) was nearly > dead after 1 1/2 years (6/23Wh), while the other one still has 23/27Wh. > > > Regards, Julian > Li-Ion batteries tend to loose there imprint (the ability to hold a charge) over time, the more the battery is discharged to 0%, the faster it will loose that imprint. There really isn't squat you can do about it except buy a new battery (and yes, make sure it is new, I bought a refurbed HP and the *full* charge for it when I got it was 20% of it's original capacity (maybe 15-20 minutes), good enough in a pinch but that 20% lasted maybe a month) As Julian stated ... there are too many people who claim to be professionals (I'm not one of them), this are just what I have experienced and based on what I have read. One resource I did find was http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries... they seemed to at least present all the information available in a logical order and it all made sense to me. hth, C- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:41: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 B95A9106566C for ; Tue, 23 Nov 2010 22:41:54 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4FF8FC08 for ; Tue, 23 Nov 2010 22:41:54 +0000 (UTC) Received: from emlpfilt4.waddell.com (mailhost.waddell.com [10.1.10.26]) by mailhost0.waddell.com (Postfix) with ESMTP id EBBB65088D; Tue, 23 Nov 2010 16:41:48 -0600 (CST) Received: from emlpfilt4.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E33712F8001; Tue, 23 Nov 2010 16:41:48 -0600 (CST) Received: from WADPHTCAS0.waddell.com (wadphtcas0.waddell.com [192.168.203.229]) by emlpfilt4.waddell.com (Postfix) with ESMTP id DC61E57884B; Tue, 23 Nov 2010 16:41:48 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.151]) by WADPHTCAS0.waddell.com ([192.168.203.229]) with mapi; Tue, 23 Nov 2010 16:41:48 -0600 From: Gary Gatten To: "'xaero@xaerolimit.net'" , "'gnrp@physik.tu-berlin.de'" Date: Tue, 23 Nov 2010 16:41:48 -0600 Thread-Topic: How long laptop battery should live ? Thread-Index: AcuLXZ7HNsER0nR5TuCziXVD4geXNgAAf5SP Message-ID: <6665_1290552108_4CEC432C_6665_219_1_D9B37353831173459FDAA836D3B43499A7AF8D40@WADPMBXV0.waddell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "'freebsd-questions@freebsd.org'" Subject: Re: How long laptop battery should live ? 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, 23 Nov 2010 22:41:54 -0000 RGl0dG8sIHByZXR0eSBtdWNoIG1pcnJvcnMgd2hhdCBJIHJlYWQuICBJIGZvcmdldCB0aGUgc2l0 ZSwgcGVyaGFwcyBQYW5hc29uaWM/IEl0IHdhcyBhIGNlbGwgbWFudWZhY3R1cmVyIGFuZCBwdWJs aXNoZWQgYWxsIHNvcnRzIG9mIGRhdGEgb24gZGlmZmVyZW50IGNoZW1pc3RyeSBjZWxscy4gR29v ZCBpbmZvIGZvciBteSBFViBwcm9qZWN0IHRvbyEgIEFuZCB5ZXMsIG1hbnkgcGVvcGxlIHNlbGwg YmF0dGVyaWVzIGFzIG5ldyB3aG8ncyBjZWxscyBhcmUgdHdvIHllYXJzIG9sZCEgIEJhc2ljYWxs eSBqdW5rIGJlZm9yZSB5b3UgZXZlbiBnZXQgaXQuDQoNCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2Ug LS0tLS0NCkZyb206IG93bmVyLWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIDxvd25lci1m cmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NClRvOiBKdWxpYW4gRmFnaXIgPGducnBAcGh5 c2lrLnR1LWJlcmxpbi5kZT4NCkNjOiBmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyA8ZnJl ZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpTZW50OiBUdWUgTm92IDIzIDE2OjI2OjQyIDIw MTAKU3ViamVjdDogUmU6IEhvdyBsb25nIGxhcHRvcCBiYXR0ZXJ5IHNob3VsZCBsaXZlID8NCg0K T24gVHVlLCBOb3YgMjMsIDIwMTAgYXQgNTowOSBQTSwgSnVsaWFuIEZhZ2lyIDxnbnJwQHBoeXNp ay50dS1iZXJsaW4uZGU+d3JvdGU6DQoNCj4gSGksDQo+DQo+ID4gSSBqdXN0IGxvb2tlZCBpbnRv IGEgYmF0dCBmb3IgbXkgZGF1Z2h0ZXJzIGRlbGwsIGhlciBsaS1vbiBsYXN0ZWQgMTQNCj4gPiBt b250aHMsIG5vdyBvbiAiZnVsbCIgY2hhcmdlIGl0IG9ubHkgbGFzdHMgNDAgbWlucy4uLiAgVGVy cmlibGUuICBJZiB5b3UNCj4gPiBjYW4gZ2V0IDIgeWVhcnMgb3V0IG9mIGEgYmF0dCB1ciBsdWNr eS4gIEkgcmVhZCBzb21lIHRlY2ggZG9jcyBvbiBsaS1vbg0KPiA+IGNlbGxzOyBpZiB5b3UgY2Fu IHN0b3JlIGF0IDUwJSBjaGFyZ2UgaW4gdGhlIGZyaWRnZSBhbmQgd2hlbiBpbiB1c2UgZG9uJ3QN Cj4gPiBsZXQgaXQgcnVuIGRvd24gMTAwJS4NCj4gaW4gbXkgb3BpbmlvbiwgdGhlcmUncyBqdXN0 IG9uZSBydWxlOiBEb24ndCB0cnVzdCBhbnlib2R5Lg0KPiBUaGVyZSBhcmUgc28gbWFueSBwZW9w bGUgd2hvIGNsYWltIGRvIGJlIHByb2Zlc3Npb25hbHMsIHdobyBzYXkgdG90YWxseQ0KPiBjb250 cmFyeSB0aGluZ3MuDQo+IE9uIHRoZSBvbmUgaGFuZCwgdGhlcmUgYXJlIG1hbnkgJ2ZhY3RzJyB3 aGljaCBhcmUgZmFsc2VseSBhcHBsaWVkIHRvDQo+IExpSW9uLWJhdHRlcmllcyB3aGljaCBkb24n dCBhcHBseS4gT24gdGhlIG90aGVyIGhhbmQsIHRoZXJlIGFyZSBtYW55DQo+IHN0b3JpZXMNCj4g cGVvcGxlIHJlbWVtYmVyIGZyb20geWVhcnMgbG9uZyBhZ28gb3IgZnJvbSBjaGVhcCBub3RlYm9v a3Mgd2l0aG91dCBhbg0KPiAnaW50ZWxsaWdlbnQnIGJhdHRlcnkuDQo+DQo+IEp1c3QgdG8gYWRk IGFub3RoZXIgc3RvcnkgZnJvbSBtZTogSSBoYXZlIHR3byBiYXR0ZXJpZXMgaW4gbXkgbm90ZWJv b2ssIHRoZQ0KPiBvbmUgaXMgYWx3YXlzIGRyb3duZWQgdG8gemVybyBiZWZvcmUgdGhlIG90aGVy IG9uZSBpcyBiZWluZyB1c2VkIChubywgdGhlcmUNCj4gYXJlIG5vIHBvc3NpYmlsaXRpZXMgdG8g Y29udHJvbCB0aGF0IGluIG15IGNhc2UpLiBUaGUgb25lIGJlaW5nIGRyb3duZWQNCj4gZmlyc3Qs IHRob3VnaCBub3QgdGhhdCBvZnRlbiB1c2VkIHRoYXQgaGFyZCAoYXBwciBvbmNlIGEgd2Vlaykg d2FzIG5lYXJseQ0KPiBkZWFkIGFmdGVyIDEgMS8yIHllYXJzICg2LzIzV2gpLCB3aGlsZSB0aGUg b3RoZXIgb25lIHN0aWxsIGhhcyAyMy8yN1doLg0KPg0KPg0KPiBSZWdhcmRzLCBKdWxpYW4NCj4N Cg0KDQpMaS1Jb24gYmF0dGVyaWVzIHRlbmQgdG8gbG9vc2UgdGhlcmUgaW1wcmludCAodGhlIGFi aWxpdHkgdG8gaG9sZCBhIGNoYXJnZSkNCm92ZXIgdGltZSwgdGhlIG1vcmUgdGhlIGJhdHRlcnkg aXMgZGlzY2hhcmdlZCB0byAwJSwgdGhlIGZhc3RlciBpdCB3aWxsDQpsb29zZSB0aGF0IGltcHJp bnQuIFRoZXJlIHJlYWxseSBpc24ndCBzcXVhdCB5b3UgY2FuIGRvIGFib3V0IGl0IGV4Y2VwdCBi dXkNCmEgbmV3IGJhdHRlcnkgKGFuZCB5ZXMsIG1ha2Ugc3VyZSBpdCBpcyBuZXcsIEkgYm91Z2h0 IGEgcmVmdXJiZWQgSFAgYW5kIHRoZQ0KKmZ1bGwqIGNoYXJnZSBmb3IgaXQgd2hlbiBJIGdvdCBp dCB3YXMgMjAlIG9mIGl0J3Mgb3JpZ2luYWwgY2FwYWNpdHkgKG1heWJlDQoxNS0yMCBtaW51dGVz KSwgZ29vZCBlbm91Z2ggaW4gYSBwaW5jaCBidXQgdGhhdCAyMCUgbGFzdGVkIG1heWJlIGEgbW9u dGgpDQoNCkFzIEp1bGlhbiBzdGF0ZWQgLi4uIHRoZXJlIGFyZSB0b28gbWFueSBwZW9wbGUgd2hv IGNsYWltIHRvIGJlIHByb2Zlc3Npb25hbHMNCihJJ20gbm90IG9uZSBvZiB0aGVtKSwgdGhpcyBh cmUganVzdCB3aGF0IEkgaGF2ZSBleHBlcmllbmNlZCBhbmQgYmFzZWQgb24NCndoYXQgSSBoYXZl IHJlYWQuIE9uZSByZXNvdXJjZSBJIGRpZCBmaW5kIHdhcw0KaHR0cDovL2JhdHRlcnl1bml2ZXJz aXR5LmNvbS9sZWFybi9hcnRpY2xlL2hvd190b19wcm9sb25nX2xpdGhpdW1fYmFzZWRfYmF0dGVy aWVzLi4uDQp0aGV5IHNlZW1lZCB0byBhdCBsZWFzdCBwcmVzZW50IGFsbCB0aGUgaW5mb3JtYXRp b24gYXZhaWxhYmxlIGluIGENCmxvZ2ljYWwgb3JkZXIgYW5kIGl0IGFsbCBtYWRlIHNlbnNlIHRv IG1lLg0KDQpodGgsIEMtDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fXw0KZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0DQpodHRw Oi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucw0K VG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vi c2NyaWJlQGZyZWVic2Qub3JnIg0KCgoKCgo8Zm9udCBzaXplPSIxIj4KPGRpdiBzdHlsZT0nYm9y ZGVyOm5vbmU7Ym9yZGVyLWJvdHRvbTpkb3VibGUgd2luZG93dGV4dCAyLjI1cHQ7cGFkZGluZzow aW4gMGluIDEuMHB0IDBpbic+CjwvZGl2PgoiVGhpcyBlbWFpbCBpcyBpbnRlbmRlZCB0byBiZSBy ZXZpZXdlZCBieSBvbmx5IHRoZSBpbnRlbmRlZCByZWNpcGllbnQKIGFuZCBtYXkgY29udGFpbiBp bmZvcm1hdGlvbiB0aGF0IGlzIHByaXZpbGVnZWQgYW5kL29yIGNvbmZpZGVudGlhbC4KIElmIHlv dSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGllbnQsIHlvdSBhcmUgaGVyZWJ5IG5vdGlmaWVk IHRoYXQKIGFueSByZXZpZXcsIHVzZSwgZGlzc2VtaW5hdGlvbiwgZGlzY2xvc3VyZSBvciBjb3B5 aW5nIG9mIHRoaXMgZW1haWwKIGFuZCBpdHMgYXR0YWNobWVudHMsIGlmIGFueSwgaXMgc3RyaWN0 bHkgcHJvaGliaXRlZC4gIElmIHlvdSBoYXZlCiByZWNlaXZlZCB0aGlzIGVtYWlsIGluIGVycm9y LCBwbGVhc2UgaW1tZWRpYXRlbHkgbm90aWZ5IHRoZSBzZW5kZXIgYnkKIHJldHVybiBlbWFpbCBh bmQgZGVsZXRlIHRoaXMgZW1haWwgZnJvbSB5b3VyIHN5c3RlbS4iCjwvZm9udD4KCg== From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:45: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 21DAE1065672 for ; Tue, 23 Nov 2010 22:45:28 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id D965C8FC18 for ; Tue, 23 Nov 2010 22:45:27 +0000 (UTC) Received: by yxs7 with SMTP id 7so4166yxs.13 for ; Tue, 23 Nov 2010 14:45:27 -0800 (PST) Received: by 10.216.16.85 with SMTP id g63mr1536091weg.114.1290552326383; Tue, 23 Nov 2010 14:45:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.204.149 with HTTP; Tue, 23 Nov 2010 14:45:06 -0800 (PST) In-Reply-To: <6665_1290552108_4CEC432C_6665_219_1_D9B37353831173459FDAA836D3B43499A7AF8D40@WADPMBXV0.waddell.com> References: <6665_1290552108_4CEC432C_6665_219_1_D9B37353831173459FDAA836D3B43499A7AF8D40@WADPMBXV0.waddell.com> From: Chris Brennan Date: Tue, 23 Nov 2010 17:45:06 -0500 Message-ID: To: Gary Gatten Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" , "gnrp@physik.tu-berlin.de" Subject: Re: How long laptop battery should live ? 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, 23 Nov 2010 22:45:28 -0000 On Tue, Nov 23, 2010 at 5:41 PM, Gary Gatten wrote: > Ditto, pretty much mirrors what I read. I forget the site, perhaps > Panasonic? It was a cell manufacturer and published all sorts of data on > different chemistry cells. Good info for my EV project too! And yes, many > people sell batteries as new who's cells are two years old! Basically junk > before you even get it. > Top posting is evil, don't do it! Don't give into the evil :D Anyway ... it's like buying three-year old disposable batteries at the corner store ... dead in the package From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 23:14: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 1273510656A8 for ; Tue, 23 Nov 2010 23:14:32 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by mx1.freebsd.org (Postfix) with ESMTP id CF8D68FC12 for ; Tue, 23 Nov 2010 23:14:31 +0000 (UTC) Received: from dyn-62-56-110-65.dslaccess.co.uk ([62.56.110.65] helo=[192.168.33.1]) by anchor-post-2.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PL1mB-0007Qi-lq for freebsd-questions@freebsd.org; Tue, 23 Nov 2010 22:55:51 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Tue, 23 Nov 2010 22:55:51 -0000 MIME-Version: 1.0 Message-ID: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> Priority: normal X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: new user questions. (Before I back myself into a corner!) 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, 23 Nov 2010 23:14:32 -0000 If I've not already done so. Hi. Sorry, this goes on a bit.... New to FreeBSD, but long time served PC nut and user, from the before DOS days onwards... I've not long ago put together a small FreeBSD V8.0 system, primeraly as a GPS derrived NTP server, following instructions from here:- http://blog.doylenet.net/?p=145 The hardware is a small form desktop PC, with a P3/700 CPU, 15G drive, but only (at the moment) 256M of RAM. I have not installed any of the X system, it's all command line stuff, only. It seems to work well, no issues with that, at the moment. In my original plans, I wanted a headless "appliance", and that's what I've got, and as above it works fine. However, I'd like to move some services off another PC (that is in dire need of some hardware maintenance) onto this one, and though I've read some of the "Handbook", and many links from it, I'm still a bit unsure as to what best to do. I'd like to:- Have a ssh login via LAN available, I believe that's a standard feature, but I expressedly disabled that (well, told it not to implement it) when I orignaly installed the OS. Or have a VNC server running. Have a small web server, again I've read that Apache can do a good job, but I don't want (nor need) all it's facilities, in particular I need to lock it down so no "Put's" can happen for a start! The web pages are simple flat form, text and static graphics, with a little client side scripting, purely to find the client's local date and time, to select the graphic to serve. Have a FTP server, so I can automate some of the web page graphics updates, from other systems that generate the data, and can FTP files across the LAN, also of course for general web page maintenance needs. It'd be nice to have a VPN endpoint, but not esential, as that is currently living on another W2k box. But in the long term perhaps. The only complication with that, is I need to be able to tunnel a UDP VoIP stream over/throug it. (I currently use Hamachi on Windows for that, it works well.) Also, the "other end" needs to live on a XP (or later) Laptop. I have done all that on Win2k, Using FileZilla server, and over time various web server app's, plus some 3rd party free VPN solutions on another machine, but that machine is in dire need of a major hardware overhaul, plus I have other plans for it when that is done, so moving the server tools to the F'BSD box seem like a good idea at the moment. I've just spent a couple of hours with the FreeBSD on-line manual (Handbook) trying to get a simple FTP server working, but in all honesty, I'm out of my depth with that, in some ways, not enough detail, in other ways, too much detail. (A very simple worked example of the various .conf files would be nice to see.) I've found:- http://forums.freebsd.org/showthread.php?t=591 That sounds in the face of things what I want, but am unsure of the implications of doing that. Is it "better" (ie, easier for a novice to manage) than the native OS based FTP server tool? I would preffer to have FTP login's that are in no way related to any system login users. Lastly, I have everything so far (on the Win2k box) working well with highly non standard (high numbered) ports. Even thoug it's "exposed" (via port forwarding in the router) to the outside, there is next to no "noise", (script kiddies, chinese hackers etc) poking arround my back passage. Of all the stuff I've read so far in the FreeBSD handbook, and a few other places, not one mention is made (that I can see so far) of how to set services for alternative port numbers? Lastly, as I don't want to break the existing NTP server, I may find another PC of similar spec, to mess with, witn some sort of impunity. Unless there is a compelling argument to, I'd prefer to stick with V8.0 too. Advice please (and perhaps a little hand holding.) Cheers. Dave B. PS: I run one of these.... http://www.ncdxf.org/beacon/monitors.html From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 23:15:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id D2204106566C; Tue, 23 Nov 2010 23:15:17 +0000 (UTC) Date: Tue, 23 Nov 2010 23:15:17 +0000 From: Alexander Best To: Chris Brennan Message-ID: <20101123231517.GA5056@freebsd.org> References: <20101123210013.GA71784@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: libm alternative in ports 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, 23 Nov 2010 23:15:17 -0000 On Tue Nov 23 10, Chris Brennan wrote: > On Tue, Nov 23, 2010 at 4:00 PM, Alexander Best wrote: > > > hi there, > > > > does anybody if there's an alternative for libm in the ports dir? i need > > it, > > because the newest snapshots of mplayer require log2() and log2f(), which > > the > > base libm doesn't support. > > > > cheers. > > alex > > > > > This is what a search of /usr/ports turned up for me .... (cd /usr/ports; > make search name=libm | grep -A1 Port >file) thanks but that doesn't help me very much. i'm looking for a replacement for /usr/lib/libm.so which features all POSIX defined mathematical abilities. the one that comes with FreeBSD is missing two vital functions. i know that the one that comes with netbsd and the one from mac os x have support for these functions. the FreeBSD developers however don't want to implement them for some reason. cheers. alex > > Port: libmspack-0.2_1 > Path: /usr/ports/archivers/libmspack > -- > Port: hs-libmpd-0.4.1 > Path: /usr/ports/audio/hs-libmpd > -- > Port: libmad-0.15.1b_2 > Path: /usr/ports/audio/libmad > -- > Port: libmikmod-3.1.11_2 > Path: /usr/ports/audio/libmikmod > -- > Port: libmodplug-0.8.8.1 > Path: /usr/ports/audio/libmodplug > -- > Port: libmp3-archive-perl-0.9 > Path: /usr/ports/audio/libmp3-archive-perl > -- > Port: libmp3splt-0.6 > Path: /usr/ports/audio/libmp3splt > -- > Port: libmpcdec-1.2.6 > Path: /usr/ports/audio/libmpcdec > -- > Port: libmpd-0.19.0 > Path: /usr/ports/audio/libmpd > -- > Port: libmpdclient-2.3 > Path: /usr/ports/audio/libmpdclient > -- > Port: libmtp-1.0.3 > Path: /usr/ports/audio/libmtp > -- > Port: libmusicbrainz-2.1.5 > Path: /usr/ports/audio/libmusicbrainz > -- > Port: libmusicbrainz3-3.0.3 > Path: /usr/ports/audio/libmusicbrainz3 > -- > Port: linux-libmad-0.15.1.b.3.2 > Path: /usr/ports/audio/linux-libmad > -- > Port: libmicro-0.4.0 > Path: /usr/ports/benchmarks/libmicro > -- > Port: libmemcache-1.4.0.r2_1 > Path: /usr/ports/databases/libmemcache > -- > Port: libmemcached-0.44 > Path: /usr/ports/databases/libmemcached > -- > Port: p5-Memcached-libmemcached-0.21.01 > Path: /usr/ports/databases/p5-Memcached-libmemcached > -- > Port: py26-pylibmc-1.1.1 > Path: /usr/ports/databases/py-pylibmc > -- > Port: glibmm-2.24.2_2,1 > Path: /usr/ports/devel/glibmm > -- > Port: glibmm-reference-2.24.2_5,1 > Path: /usr/ports/devel/glibmm-reference > -- > Port: libmaa-1.2.0,1 > Path: /usr/ports/devel/libmaa > -- > Port: libmatheval-1.1.5_3 > Path: /usr/ports/devel/libmatheval > -- > Port: libmba-0.9.1 > Path: /usr/ports/devel/libmba > -- > Port: libmcs-0.7.2 > Path: /usr/ports/devel/libmcs > -- > Port: libmimedir-0.5.1 > Path: /usr/ports/devel/libmimedir > -- > Port: libmonetra-7.0.4 > Path: /usr/ports/devel/libmonetra > -- > Port: libmowgli-0.7.1 > Path: /usr/ports/devel/libmowgli > -- > Port: libmpcbdm-0.0.3 > Path: /usr/ports/devel/libmpcbdm > -- > Port: libmsocket-0.4_1 > Path: /usr/ports/devel/libmsocket > -- > Port: libmtrie-1.0.3 > Path: /usr/ports/devel/libmtrie > -- > Port: libmaitretarot-0.1.98_4 > Path: /usr/ports/games/libmaitretarot > -- > Port: libmt_client-0.1.98_4 > Path: /usr/ports/games/libmt_client > -- > Port: libmng-1.0.10_2 > Path: /usr/ports/graphics/libmng > -- > Port: libmorph-0.1.2_1 > Path: /usr/ports/graphics/libmorph > -- > Port: linux-f10-libmng-1.0.9 > Path: /usr/ports/graphics/linux-f10-libmng > -- > Port: linux-f8-libmng-1.0.9_1 > Path: /usr/ports/graphics/linux-f8-libmng > -- > Port: linux-libmng-1.0.9_2 > Path: /usr/ports/graphics/linux-libmng > -- > Port: libmapi-0.9_2 > Path: /usr/ports/mail/libmapi > -- > Port: libmath++-0.0.3 > Path: /usr/ports/math/libmath++ > -- > Port: libmcal-0.7_2 > Path: /usr/ports/misc/libmcal > -- > Port: libmetalink-0.0.3 > Path: /usr/ports/misc/libmetalink > -- > Port: libmatroska-1.0.0 > Path: /usr/ports/multimedia/libmatroska > -- > Port: libmovtar-0.1.3_8 > Path: /usr/ports/multimedia/libmovtar > -- > Port: libmpeg2-0.5.1 > Path: /usr/ports/multimedia/libmpeg2 > -- > Port: libmpeg3-1.8 > Path: /usr/ports/multimedia/libmpeg3 > -- > Port: gstreamer-plugins-libmms-0.10.20,3 > Path: /usr/ports/net/gstreamer-plugins-libmms > -- > Port: libmms-0.5_1 > Path: /usr/ports/net/libmms > -- > Port: libmxp-0.2.4 > Path: /usr/ports/net/libmxp > -- > Port: libmsn-4.1 > Path: /usr/ports/net-im/libmsn > -- > Port: libmal-0.44.1 > Path: /usr/ports/palm/libmal > -- > Port: libmcrypt-2.5.8 > Path: /usr/ports/security/libmcrypt > -- > Port: libmrss-0.19.2_3 > Path: /usr/ports/textproc/libmrss > -- > Port: libmicrohttpd-0.4.2 > Path: /usr/ports/www/libmicrohttpd > -- > Port: graphics/libmovtar > Moved: multimedia/libmovtar > -- > Port: graphics/libmpeg2 > Moved: multimedia/libmpeg2 > -- > Port: deskutils/libmrproject > Moved: deskutils/planner > -- > Port: audio/libmusepack > Moved: audio/libmpcdec > -- > Port: multimedia/gpac-libm4systems > Moved: multimedia/gpac-libgpac > -- > Port: net/libmsn > Moved: net-im/libmsn > -- > Port: devel/libmusclecard > Moved: > -- > Port: graphics/gstreamer-plugins-libmng > Moved: graphics/gstreamer-plugins-libmng80 > -- > Port: graphics/gstreamer-plugins-libmng80 > Moved: > -- > Port: net/gstreamer-plugins-libmms80 > Moved: net/gstreamer-plugins-libmms > -- > Port: devel/libmcve > Moved: devel/libmonetra > -- > Port: audio/py-libmpdclient > Moved: > -- > Port: multimedia/mpeg4ip-libmp4v2 > Moved: multimedia/mp4v2 > > I'm not exactly sure what your looking for but it may be one of these , hth -- a13x From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 23:26: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 86DD3106566B for ; Tue, 23 Nov 2010 23:26:31 +0000 (UTC) (envelope-from cronfy@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 16CD68FC0A for ; Tue, 23 Nov 2010 23:26:30 +0000 (UTC) Received: by bwz2 with SMTP id 2so7878233bwz.13 for ; Tue, 23 Nov 2010 15:26:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=3H7MqcBL2vdVXqSawkRZl+qY3tx1QWfI5J6pwjRuIL0=; b=qqtIf1lNiUKtCm5c2WdpS9et84vsrScwyZDc3Ph+vGXq9NjiDghmUCbbmiov224yxX qK3XsavniRnucJPDDjwGFRvvwW/nkJyDrvbbR/AmIdHlPqAoEuk7DBH6dK4zbFoX6xxu c9Qix3dQqYaHJz1lbCIW6Ly1Ul9YU5vbKXc+A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Yzdcoad7lnVOdNYEj73OD3SwSVOL4NXzqVB/jAm2oe3QfvIJugs7tQ/CwuIgfdQPfD NXHzFlRUkatkdCyjRKaa2bE4jqJL3lCkXjH3nYEuIzHkDWl0+CYqLWpe0xg/yb1MmLEK MMQDgmA0+LatOvzhBGdI1Px8jVIL1oAhzwlV8= Received: by 10.204.73.75 with SMTP id p11mr7761654bkj.46.1290554789862; Tue, 23 Nov 2010 15:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.73.135 with HTTP; Tue, 23 Nov 2010 15:25:59 -0800 (PST) From: cronfy Date: Wed, 24 Nov 2010 02:25:59 +0300 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Rescan hard drives 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, 23 Nov 2010 23:26:31 -0000 Hello, I am using Adaptec 3405 with FreeBSD 7.3. After hot-swapping some hard drives and deleting/creating RAID1 mirror I stuck with situation when I can not work with newly created device. It is aacd1. Previously it was 1000G drive without RAID. Now it is 300G RAID1 mirror. But `geom disk list` reports: Geom name: aacd1 Providers: 1. Name: aacd1 Mediasize: 999642103808 (931G) Sectorsize: 512 Mode: r0w0e0 Geom name: aacd1 Providers: 1. Name: aacd1 Mediasize: 299563483136 (279G) Sectorsize: 512 Mode: r0w0e0 fwsectors: 63 fwheads: 255 If I delete this RAID1 with arcconf, geom disk list still reports about 931G drive at aacd1, though it was swapped out from server. `dmesg | tail` says kernel detected new drive: aacd1: on aac0 aacd1: 285686MB (585084928 sectors) But fdisk, bsdlabel, dd and others do not work with aacd1 because of error message: 'Device not configured'. Also there is old partition table of previous disk seen in `ls /dev/aacd1*`, tough new disk was not partitioned. Is there a way to reread connected drives information in FreeBSD? I tried: # atacontrol list ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: no device present Slave: no device present And # camcontrol devlist camcontrol: couldn't open /dev/xpt0: No such file or directory They do not work :( Would be appreciated for any hint. -- // cronfy From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 00: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 F1740106567A; Wed, 24 Nov 2010 00:02:32 +0000 (UTC) (envelope-from amoran@forsythia.net) Received: from celebrian.forsythia.net (celebrian.forsythia.net [173.13.138.196]) by mx1.freebsd.org (Postfix) with ESMTP id C84FB8FC0A; Wed, 24 Nov 2010 00:02:32 +0000 (UTC) Received: from [10.200.0.171] (cerberus.forsythia.net [173.13.138.197]) by celebrian.forsythia.net (8.14.3/8.14.3) with ESMTP id oANNPBPw036511; Tue, 23 Nov 2010 15:25:30 -0800 (PST) (envelope-from amoran@forsythia.net) From: Andrew Moran Date: Tue, 23 Nov 2010 15:25:06 -0800 Message-Id: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: msk0 interface stops working when downloading 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, 24 Nov 2010 00:02:33 -0000 Hey guys, After banging my head against this for a few hours, I've decided to ask = for help. I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 system = (tech specs here http://us.shuttle.com/J1_4100.aspx). I installed from = DVD and the install went fine. I notice when I pkg_add -r anything, the network stops responding.=20 Some details: 1) I can reproduce it 100% by downloading a large file. low traffic = like the SSH connection does not trigger it. I think it's being = triggered by traffic above a certain rate.=20 2) I can recover by restarting the network interfaces (/etc/rc.d/netif = stop; /etc/rc.d/netif start) 3) I see no errors in dmesg or /var/log/messages. Nothing at all. 4) I've tried the following in /etc/sysctl.conf: net.inet.tcp.tso=3D0 net.inet.tcp.inflight.enable=3D0 and in /boot/loader.conf: hw.pci.enable_msix=3D"0" hw.pci.enable_msi=3D"0" hw.bce.tso_enable=3D"0" But the problem persists. The interface is identified as: mskc0: port 0xe800-0xe8ff mem = 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci2 msk0: on = mskc0 msk0: Ethernet address: 80:ee:73:01:60:7d miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-FDX, auto mskc0: [ITHREAD] Does anyone know what could be causing this or how I can resolve it? = Any help is appreciated, thanks. --Andy= From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 00:10: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 0C4D41065670; Wed, 24 Nov 2010 00:10:08 +0000 (UTC) (envelope-from yanegomi@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 0EE5B8FC18; Wed, 24 Nov 2010 00:10:06 +0000 (UTC) Received: by fxm19 with SMTP id 19so6992947fxm.13 for ; Tue, 23 Nov 2010 16:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=CYaVsDPobFeIakVWYNsvbLL7oTxAFURG2Rd7ZqX7jyw=; b=mkbbBcCymrWjtvcemjSYqCTnA8OkBPpA4u45/BH5ge9M022mtEHUIDgObtXl0IW4CV HuX0HYU2VWcxVqxJ1m4xSE7XGY7CCN8KBhksb+YEqiIStPQ1xWcG0EoGRHIXfazqp4z1 881u6dlhjfoC6HnJnoIMhtPqivI8+73/fe3K0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=x4nsMfkbRfRt1Iv7ZkkiHyRoTE+IfcbiIE1rEE1ATBBXgUt8pZp5Tl4CZ5n2GyO+8/ hA8O+b0zVr+fg/tMaTTscxDurm7D/cyo9OlwS9jg3WQwGLEm8u8Cqf3IYZWSHjb+UxRg rwV8hJhk0wmKh5L5phBKyDo8KmcLiK4kGxkCA= MIME-Version: 1.0 Received: by 10.216.50.134 with SMTP id z6mr9118653web.15.1290557403784; Tue, 23 Nov 2010 16:10:03 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Tue, 23 Nov 2010 16:10:03 -0800 (PST) In-Reply-To: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> References: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> Date: Tue, 23 Nov 2010 16:10:03 -0800 X-Google-Sender-Auth: c1sWr_dsZ8tuXGiHcCpkS_5OoPs Message-ID: From: Garrett Cooper To: Andrew Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable , freebsd-questions@freebsd.org, Pyun YongHyeon Subject: Re: msk0 interface stops working when downloading 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, 24 Nov 2010 00:10:08 -0000 On Tue, Nov 23, 2010 at 3:25 PM, Andrew Moran wrote: > > Hey guys, > > After banging my head against this for a few hours, I've decided to ask f= or help. =A0 =A0 =A0I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 syst= em (tech specs here http://us.shuttle.com/J1_4100.aspx). =A0 I installed fr= om DVD and the install went fine. > > I notice when I pkg_add -r anything, =A0the network stops responding. > > Some details: > > 1) I can reproduce it 100% by downloading a large file. =A0 =A0 low traff= ic like the SSH connection does not trigger it. =A0 I think it's being trig= gered by traffic above a certain rate. > 2) I can recover by restarting the network interfaces (/etc/rc.d/netif st= op; =A0/etc/rc.d/netif start) > 3) I see no errors in dmesg or /var/log/messages. =A0Nothing at all. > 4) I've tried the following in /etc/sysctl.conf: > net.inet.tcp.tso=3D0 > net.inet.tcp.inflight.enable=3D0 > > and in /boot/loader.conf: > hw.pci.enable_msix=3D"0" > hw.pci.enable_msi=3D"0" > hw.bce.tso_enable=3D"0" > > But the problem persists. > > The interface is identified as: > > mskc0: port 0xe800-0xe8ff mem 0x= febfc000-0xfebfffff irq 17 at device 0.0 on pci2 > msk0: on m= skc0 > msk0: Ethernet address: 80:ee:73:01:60:7d > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: =A010baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-FDX, auto > mskc0: [ITHREAD] > > Does anyone know what could be causing this or how I can resolve it? =A0 = Any help is appreciated, thanks. 1. freebsd-stable is the proper list, not freebsd-current. 2. I have a similar chipset (not the same though) that hasn't had any issues for a while: $ pciconf -lv | grep -A 3 msk mskc0@pci0:2:0:0: class=3D0x020000 card=3D0x81f81043 chip=3D0x436411ab rev=3D0x12 hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D 'Yukon PCI-E Gigabit Ethernet Controller (88E8056)' class =3D network $ devinfo -v | grep -A 3 mskc0 mskc0 pnpinfo vendor=3D0x11ab device=3D0x4364 subvendor=3D0x104= 3 subdevice=3D0x81f8 class=3D0x020000 at slot=3D0 function=3D0 msk0 miibus0 e1000phy0 pnpinfo oui=3D0x5043 model=3D0xb rev=3D0x1 at p= hyno=3D0 $ uname -a FreeBSD orangebox.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r215607M: Sat Nov 20 21:22:34 UTC 2010 gcooper@orangebox.local:/usr/obj/usr/src/sys/ORANGEBOX amd64 Sorry for not grabbing the full dmesg output, but unfortunately I have BUS_DEBUG turned on for this test box, which blows out my syslog buffer at boot :). I've CCed yongari@ for comment. Thanks, -Garrett From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 01:14: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 2EBD91065693 for ; Wed, 24 Nov 2010 01:14:21 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DC2568FC15 for ; Wed, 24 Nov 2010 01:14:20 +0000 (UTC) Received: by qwi4 with SMTP id 4so238127qwi.13 for ; Tue, 23 Nov 2010 17:14:20 -0800 (PST) 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=nicgM7vlIiIRmuekGgG9JUuO1cep4b2+cIW55wr1Q94=; b=V8QUvBMltRrFa8qhXgeH+D4PQmRHnZoh+rEmuqY0k2Lhtdpkxm3s40FKFLfq0Pi8CD s0OhLDOP5KTY+UeI5S3JUDYVGRpv/3UXhjyW1sNdkV+gQpVvaePlnBQzYPG2QyhTT8cE qWs6ZgKtui2LzQQCMfS9scz1K/3bt25MZS4js= 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=uufqgHr3HK6K3unppEPvrXDavkGCwshvo+mHB47uD8A/mNWvSC8nCjA81OaBOYBsPR bJrKAQ2U1Ymu9/4Tks0YOwxP8NiOnsTt9EZH6iALPCPfmpUEyqZnCCnaaJAIBrg6DsY8 kvjLIonFUdmMxwV2Cz46yHYcW2MMp/08X/Rb8= MIME-Version: 1.0 Received: by 10.229.212.12 with SMTP id gq12mr6860846qcb.154.1290561259358; Tue, 23 Nov 2010 17:14:19 -0800 (PST) Received: by 10.229.20.83 with HTTP; Tue, 23 Nov 2010 17:14:19 -0800 (PST) In-Reply-To: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> Date: Tue, 23 Nov 2010 17:14:19 -0800 Message-ID: From: Nerius Landys To: Dave Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 01:14:21 -0000 > I'd like to:- > Have a ssh login via LAN available, I believe that's a standard feature, > but I expressedly disabled that (well, told it not to implement it) when > I orignaly installed the OS. =A0 Or have a VNC server running. Add the following line: sshd_enable=3D"YES" to file /etc/rc.conf . From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 01:31: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 7F8F2106566B for ; Wed, 24 Nov 2010 01:31:02 +0000 (UTC) (envelope-from tobiash@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 380C28FC08 for ; Wed, 24 Nov 2010 01:31:01 +0000 (UTC) Received: by ywp6 with SMTP id 6so826265ywp.13 for ; Tue, 23 Nov 2010 17:31:01 -0800 (PST) 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=E6WFpDTcNLz5Q4BboKej+dKgG9hcT8viVfsdK4FxKWk=; b=AeHCB2Vr2hOie7xuFYee0ByVlgEGNakZ6t83Awpc63KcaQfY/BZIbj8xkSq9R5XwrX YcsMmyNUKZHVYOOgyl7Cacba0eL+rXgyarKkKUFyTQEY/7j3J6ywHSakyEYynqU3v9Ch SavvyykJvEuXpyRFlGix/xz2jPLcunobFO/yI= 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=Z9Pxb24z1dU1JnWb8jNrbHReIqwVMVo6tsdUzgqA/L8gmtMNQK6qwSRa6bVjx6GT9p WRDYAUE3VA8FAHqi/GXRmPCxLeT8oJ7OM3qvOLOWi5QdUXccuPZfKQ9pszfUI7PLlW6j kY9PJY5ZLGWXM1CD92U2zLXM75dxHv3AFFvXE= MIME-Version: 1.0 Received: by 10.100.125.18 with SMTP id x18mr5587743anc.231.1290562260366; Tue, 23 Nov 2010 17:31:00 -0800 (PST) Received: by 10.100.201.9 with HTTP; Tue, 23 Nov 2010 17:31:00 -0800 (PST) In-Reply-To: <20101123231517.GA5056@freebsd.org> References: <20101123210013.GA71784@freebsd.org> <20101123231517.GA5056@freebsd.org> Date: Tue, 23 Nov 2010 18:31:00 -0700 Message-ID: From: Tobias To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: libm alternative in ports 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, 24 Nov 2010 01:31:02 -0000 On Tue, Nov 23, 2010 at 4:15 PM, Alexander Best wrote: > On Tue Nov 23 10, Chris Brennan wrote: > > On Tue, Nov 23, 2010 at 4:00 PM, Alexander Best > wrote: > > > > > hi there, > > > > > > does anybody if there's an alternative for libm in the ports dir? i > need > > > it, > > > because the newest snapshots of mplayer require log2() and log2f(), > which > > > the > > > base libm doesn't support. > > > > > > cheers. > > > alex > Can't you just calculate it yourself? log2(n) = log10(n)/log10(2)? http://logbase2.blogspot.com/2007/12/log-base-2.html --Tobias From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 01:43: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 717381065673 for ; Wed, 24 Nov 2010 01:43:13 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4D66D8FC17 for ; Wed, 24 Nov 2010 01:43:12 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 4692AE806AF; Tue, 23 Nov 2010 17:43:12 -0800 (PST) Date: Tue, 23 Nov 2010 17:43:12 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20101124014312.GB12000@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 01:43:13 -0000 Maybe someone on-list can help me; after 5+ hours of clicking and typing, I can't find an atom cpu computer with dual NICs. I _thought_ I'd found a computer to replace to Kayak firewall [pfSense], but nada. Any wizards on this list have a clue? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 01:59: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 64C46106564A for ; Wed, 24 Nov 2010 01:59:40 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from bsdevel.akherb.com (bsdevel.akherb.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB228FC1D for ; Wed, 24 Nov 2010 01:59:39 +0000 (UTC) Received: from pinnacle.akherb.com (180-150-42-72.gci.net [72.42.150.180]) by bsdevel.akherb.com (Postfix) with ESMTP id 02B181972F8F; Wed, 24 Nov 2010 01:43:33 +0000 (UTC) From: Beech Rintoul Organization: FreeBSD To: freebsd-questions@freebsd.org Date: Tue, 23 Nov 2010 16:43:32 -0900 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> In-Reply-To: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1435410.d8lIKWAx1r"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201011231643.32338.beech@freebsd.org> Cc: Dave Subject: Re: new user questions. (Before I back myself into a corner!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 01:59:40 -0000 --nextPart1435410.d8lIKWAx1r Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 23 November 2010 13:55:51 Dave wrote: =20 > Have a small web server, again I've read that Apache can do a good job, > but I don't want (nor need) all it's facilities, in particular I need to > lock it down so no "Put's" can happen for a start! The web pages are > simple flat form, text and static graphics, with a little client side > scripting, purely to find the client's local date and time, to select the > graphic to serve. Two good choices for a lightweight webserver would be: www/cherokee Easy to configure www/lighttpd Also lightweight and easy to configure > Have a FTP server, so I can automate some of the web page graphics > updates, from other systems that generate the data, and can FTP files > across the LAN, also of course for general web page maintenance needs. ftp/proftpd=20 Cheers Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/8.0R/announce.html =2D------------------------------------------------------------------------= =2D------------- --nextPart1435410.d8lIKWAx1r Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iF4EABEIAAYFAkzsbcQACgkQQLNZXRF1OnscxQD+L3GabaLfstmXWjm4DnXy5MQS Y17KZE2lbZDMxSFSliwA/2XeIC6imxrq9TYvWbQ5Fk2G6MH+pZaLoFMfsor0S3Mn =LbtC -----END PGP SIGNATURE----- --nextPart1435410.d8lIKWAx1r-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 02:41:25 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 6C3C6106564A for ; Wed, 24 Nov 2010 02:41:25 +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 062118FC0A for ; Wed, 24 Nov 2010 02:41:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id oAO2fOwZ047988; Tue, 23 Nov 2010 20:41:24 -0600 (CST) (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 H5FSnwQL0FyU; Tue, 23 Nov 2010 20:41:18 -0600 (CST) 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 oAO2fFc8047984; Tue, 23 Nov 2010 20:41:16 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4CEC7B4D.7000608@daleco.biz> Date: Tue, 23 Nov 2010 20:41:17 -0600 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: Dave References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> In-Reply-To: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 02:41:25 -0000 Dave wrote: > > Hi. Sorry ... Hello, and welcome. And I made it a bit shorter ;-) > I'd like to:- > Have a ssh login via LAN available, I believe that's a standard feature, > but I expressedly disabled that (well, told it not to implement it) when > I orignaly installed the OS. Or have a VNC server running. As someone mentioned: sshd_enable="YES" in /etc/rc.conf. You can then either a] reboot, or b] issue the following with root privileges: /etc/rc.d/sshd start > Have a small web server, again I've read that Apache can do a good job, > but I don't want (nor need) all it's facilities, in particular I need to > lock it down so no "Put's" can happen for a start! The web pages are > simple flat form, text and static graphics, with a little client side > scripting, purely to find the client's local date and time, to select the > graphic to serve. I believe Beech had some advice on this. It's probably pretty good :-) > Have a FTP server, so I can automate some of the web page graphics > updates, from other systems that generate the data, and can FTP files > across the LAN, also of course for general web page maintenance needs. The base system ftpd is run from inetd, a "super server" which can serve several small protocols. Have a look at /etc/inetd.conf. The first "real" line: #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l Uncomment that (remove the 'hash'), and save it (you'll have to be root again, of course). See if inetd is running: $ pgrep inetd If you get a number(PID), it's running. Otherwise, you'll probably need to enable it. Again, you need: inetd_enable="YES" in /etc/rc.conf. Add the line and either a] reboot, or b] issue the following with root privileges: /etc/rc.d/inetd start Sound familiar? *IF* inetd was *already running*, all you should have to do is issue: $ kill -HUP `pgrep inetd` > It'd be nice to have a VPN endpoint, but not esential, as that is > currently living on another W2k box. But in the long term perhaps. The > only complication with that, is I need to be able to tunnel a UDP VoIP > stream over/throug it. (I currently use Hamachi on Windows for that, it > works well.) Also, the "other end" needs to live on a XP (or later) > Laptop. I'll leave vpn to someone more knowledgeable in that area. AFAIK you'll have to install a port; /usr/ports/security/openvpn is likely the canonical program, but, as I say, seek other advice on that fo' shizzle ;-) > I would preffer to > have FTP login's that are in no way related to any system login users. I can't help with that either; check the docs on Beech's suggestions, perhaps. > Lastly, I have everything so far (on the Win2k box) working well with > highly non standard (high numbered) ports. Even thoug it's "exposed" > (via port forwarding in the router) to the outside, there is next to no > "noise", (script kiddies, chinese hackers etc) poking arround my back > passage. > > Of all the stuff I've read so far in the FreeBSD handbook, and a few > other places, not one mention is made (that I can see so far) of how to > set services for alternative port numbers? That's generally in the configuration file for the server. This information might be available in the manpage, if one exists. For example: $man sshd | col -bx > ~/sshd.txt $ grep -c port ~/sshd.txt 22 So, there's at least 22 mentions of "port" in the sshd manpage. As it turns out, there's a line in /etc/ssh/sshd_config that gives it right away: $ grep -i port /etc/ssh/sshd_config #Port 22 # Disable legacy (protocol version 1) support in the server for new #GatewayPorts no So, remove the comment from the "Port 22" line, change the number from the default 22 (222, perhaps, for memory's sake?) and either a] reboot, or b] "kill -HUP `pgrep sshd`" (sounding REAL familiar now). Incidentally, one might suggest that running on non-standard ports is merely security by obscurity. In the case of sshd, at least, a better solution might be to only allow key-based authentication; but, as I said, that's just a suggestion. I have done such things myself a time or two ... I kinda think I just delayed the inevitable in that case, though. > Lastly, as I don't want to break the existing NTP server, I may find > another PC of similar spec, to mess with, witn some sort of impunity. Well, as I mention, often you can enable and start these additional services from the base system with little or no interruption to extant services at all (which, IMHO, is exactly as a Real Server should work, take that, M$). But I suppose we'd certainly understand. You might even just get a Live-CD distribution and dink around with that. AFAIK, you could run ftpd, inetd, and sshd temporarily on those just to get a feel for how to administer them. My $0.02, Kevin D. Kinsey From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 02:45:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 66D561065695; Wed, 24 Nov 2010 02:45:58 +0000 (UTC) Date: Wed, 24 Nov 2010 02:45:58 +0000 From: Alexander Best To: Tobias Message-ID: <20101124024558.GA53600@freebsd.org> References: <20101123210013.GA71784@freebsd.org> <20101123231517.GA5056@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: FreeBSD Subject: Re: libm alternative in ports 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, 24 Nov 2010 02:45:58 -0000 On Tue Nov 23 10, Tobias wrote: > On Tue, Nov 23, 2010 at 4:15 PM, Alexander Best wrote: > > > On Tue Nov 23 10, Chris Brennan wrote: > > > On Tue, Nov 23, 2010 at 4:00 PM, Alexander Best > > wrote: > > > > > > > hi there, > > > > > > > > does anybody if there's an alternative for libm in the ports dir? i > > need > > > > it, > > > > because the newest snapshots of mplayer require log2() and log2f(), > > which > > > > the > > > > base libm doesn't support. > > > > > > > > cheers. > > > > alex > > > > Can't you just calculate it yourself? > log2(n) = log10(n)/log10(2)? > http://logbase2.blogspot.com/2007/12/log-base-2.html thanks a lot for the hint. that might be a temporal solution. i don't think log2() and log2f() can be implemented that simply, because POSIX defines quite a few historical bugs which programs rely on. cheers. alex > > --Tobias -- a13x From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 04:46: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 33F71106564A for ; Wed, 24 Nov 2010 04:46:13 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id CE8678FC08 for ; Wed, 24 Nov 2010 04:46:12 +0000 (UTC) Received: from omta06.westchester.pa.mail.comcast.net ([76.96.62.51]) by qmta13.westchester.pa.mail.comcast.net with comcast id alMj1f00516LCl05DsmCTX; Wed, 24 Nov 2010 04:46:12 +0000 Received: from comcast.net ([98.203.142.76]) by omta06.westchester.pa.mail.comcast.net with comcast id asmA1f00G1f6R9u3SsmBAg; Wed, 24 Nov 2010 04:46:12 +0000 Received: by comcast.net (sSMTP sendmail emulation); Tue, 23 Nov 2010 20:46:08 -0800 Date: Tue, 23 Nov 2010 20:46:08 -0800 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20101124044608.GM48679@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> <201011231643.32338.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201011231643.32338.beech@freebsd.org> X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 04:46:13 -0000 On Tue 23 Nov 2010 at 17:43:32 PST Beech Rintoul wrote: >On Tuesday 23 November 2010 13:55:51 Dave wrote: > > > >> Have a small web server, again I've read that Apache can do a good job, >> but I don't want (nor need) all it's facilities, in particular I need to >> lock it down so no "Put's" can happen for a start! The web pages are >> simple flat form, text and static graphics, with a little client side >> scripting, purely to find the client's local date and time, to select the >> graphic to serve. > >Two good choices for a lightweight webserver would be: > >www/cherokee Easy to configure > >www/lighttpd Also lightweight and easy to configure Another good one is www/hiawatha - fast, secure, easy to configure Despite popular misimpressions, there are many more webservers out there besides Apache and IIS. It will probably be well worth your time, Dave, to spend some time at freshports.org, browsing the www category. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 04: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 7AAFB1065695 for ; Wed, 24 Nov 2010 04:55:23 +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 CEC358FC1B for ; Wed, 24 Nov 2010 04:55:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id oAO4tKwR096402; Wed, 24 Nov 2010 15:55:20 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 24 Nov 2010 15:55:20 +1100 (EST) From: Ian Smith To: David DEMELIER In-Reply-To: <20101124024133.07F28106575F@hub.freebsd.org> Message-ID: <20101124144746.H37255@sola.nimnet.asn.au> References: <20101124024133.07F28106575F@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 24 Nov 2010 04:55:23 -0000 In freebsd-questions Digest, Vol 338, Issue 3, Message: 12 On Tue, 23 Nov 2010 22:34:16 +0100 David DEMELIER wrote: > I just realized that my HP laptop lost the half battery capacity. Take a look : > > markand@Melon ~ $ acpiconf -i 0 > Design capacity: 4400 mAh > Last full capacity: 2132 mAh > Technology: secondary (rechargeable) > Design voltage: 14400 mV > Capacity (warn): 200 mAh > Capacity (low): 100 mAh > Low/warn granularity: 100 mAh > Warn/full granularity: 100 mAh > Model number: Primary > Serial number: 02109 2009/08/11 > Type: LIon > OEM info: Hewlett-Packard > State: charging > Remaining capacity: 0% > Remaining time: unknown > Present rate: 3061 mA > Voltage: 15751 mV 'Remaining capacity: 0%' should indicate that you ran acpiconf -i0 when the battery was fully discharged, and you'd just started charging it? Was that the case? Seems a bit strange that the battery would already be at 15.75V at start of charge, though the 3A charge rate sounds fair. Does it come up to showing 100% charged later? > Design capacity: 4400 mAh > Last full capacity: 2132 mAh > > I'm guessing if this should be, the laptop has only about 8 months and > I don't use it much on battery, only around one day per week and not > until the battery is empty. If I remember correctly my old laptop > didn't lost so much of capacity in a few months like that. Yes 8 (or 15) months is way too soon to lose half its capacity, even if you'd been running it on battery for a lot of the time. This old Compaq laptop's battery (Li-ion, 14.4V) is at least 7 years old, and still runs for about 1.5 hours, ie 40-50% capacity, and in a subtropical climate. > My question is : how long a battery should live ? is anything could > bring down the battery sooner ? It could just be a faulty one, but you'd be very lucky to get a battery replaced under warranty. It says it's an HP battery, manufactured only 15 months ago, so it's unlikely to be a 'shelf life' problem. > I hope the next battery wont be too much expensive and will live more.. It may be that the little chip inside the battery that counts charge in and out has lost track of itself. This tends to happen more commonly on Li-ion batteries that are rarely or never fully discharged, and at least some manufacturers including IBM recommend 'conditioning' batteries from time to time to correct this. For example, this year I bought two second-hand IBM Thinkpad T23s whose batteries both responded very well to about three full discharge / full charge cycles; one now shows about 2/3 of original capacity, up from about 1/3, and both batteries were likely already several years old. To get to full discharge you need to run it right down, beyond where the OS would normally shutdown or suspend at somewhere between 5% and 2% of capacity. What I do from that point is start it up in the BIOS Setup, turn off anything that would have it shutdown or suspend on low battery, and wait till it turns off, completely exhausted. From the BIOS Setup screen there's no danger that this could mess up a filesystem. Then plug it in and let it fully charge, preferably without running it. Once fully charged, turn it on and check its 'Last full capacity' again. It may take three or more such full cycles until you see no improvement. While you're at it, you could actually time how long it runs till fully discharged; this also may improve somewhat, but what we're correcting here it the battery's own BELIEF in its capacity and state of charge. HTH, Ian (please cc me on any reply, I take this list as a digest) From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 05:17: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 5D16E106564A for ; Wed, 24 Nov 2010 05:17:39 +0000 (UTC) (envelope-from amvandemore@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 E024E8FC08 for ; Wed, 24 Nov 2010 05:17:38 +0000 (UTC) Received: by fxm19 with SMTP id 19so7194174fxm.13 for ; Tue, 23 Nov 2010 21:17:38 -0800 (PST) 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=KtW7Baoyy1jATk8jxfJYEu1SVWqANtFLn5s95xsxELM=; b=caPtEYtpTIvt7oNfCUafEKpzLTw3oUv2UupSASwIc/w8q5ZNvSlGlvbacbuZbLtSo8 8Li09fNoshAnmNf7mRi8NiiYD7GVqiHcFyHNARpoYHFVd2suJS4vT/VpWKbMTaF5Cy6F a5JFyQhpX3oWTP3XHqFwzQtvjI1Zly0P/LsZ0= 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=BxMKQzEVET9RaM20oyB0lLLdzlGMf84VLfVGDF4Rp+U+OKQQgMT6ElA0PZo/gQsIo0 /GlAjq/yodD6Ph5iKzQ5rOedZC6MABammoX1edQblvuV1MguVpvvi14NKXsAhnIrUUUR l8ooM+CgUvkrfddo/oaMIp1hfPMAfofNojQBQ= MIME-Version: 1.0 Received: by 10.223.79.13 with SMTP id n13mr7607963fak.139.1290575857902; Tue, 23 Nov 2010 21:17:37 -0800 (PST) Received: by 10.223.121.138 with HTTP; Tue, 23 Nov 2010 21:17:37 -0800 (PST) In-Reply-To: <20101124144746.H37255@sola.nimnet.asn.au> References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> Date: Tue, 23 Nov 2010 23:17:37 -0600 Message-ID: From: Adam Vande More To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: David DEMELIER , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 24 Nov 2010 05:17:39 -0000 On Tue, Nov 23, 2010 at 10:55 PM, Ian Smith wrote: > > I'm guessing if this should be, the laptop has only about 8 months and > > I don't use it much on battery, only around one day per week and not > > until the battery is empty. If I remember correctly my old laptop > > didn't lost so much of capacity in a few months like that. > > > Yes 8 (or 15) months is way too soon to lose half its capacity, even if > you'd been running it on battery for a lot of the time. This old Compaq > laptop's battery (Li-ion, 14.4V) is at least 7 years old, and still runs > for about 1.5 hours, ie 40-50% capacity, and in a subtropical climate. > As already mentioned in a previous link you can't determine a battery's expected viability by age alone. The amount and way you've charged/discharged the battery will factor into it's performance along with other things. You should also consult the owners manual as battery characteristics will vary some. IIRC, there where some improvement to HEAD while ago that increased FreeBSD power usage efficiecy a non-negligible amount. Perhaps those improvements where MFC'd already, Google around either way as there are settings to tune which will decrease power consumption. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 08:10: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 BDC89106564A for ; Wed, 24 Nov 2010 08:10:54 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9AFBF8FC16 for ; Wed, 24 Nov 2010 08:10:54 +0000 (UTC) Received: by pwi10 with SMTP id 10so2518679pwi.13 for ; Wed, 24 Nov 2010 00:10:54 -0800 (PST) Received: by 10.142.136.14 with SMTP id j14mr8214397wfd.57.1290586254003; Wed, 24 Nov 2010 00:10:54 -0800 (PST) Received: from localhost (118-93-172-88.dsl.dyn.ihug.co.nz [118.93.172.88]) by mx.google.com with ESMTPS id v19sm9075013wfh.12.2010.11.24.00.10.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 00:10:53 -0800 (PST) Date: Wed, 24 Nov 2010 21:10:47 +1300 From: Jonathan Chen To: Kevin Kinsey Message-ID: <20101124081047.GA3327@osiris.chen.org.nz> References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> <4CEC7B4D.7000608@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CEC7B4D.7000608@daleco.biz> User-Agent: Mutt/1.4.2.3i Cc: Dave , freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 08:10:54 -0000 On Tue, Nov 23, 2010 at 08:41:17PM -0600, Kevin Kinsey wrote: [...] > >Have a FTP server, so I can automate some of the web page graphics > >updates, from other systems that generate the data, and can FTP files > >across the LAN, also of course for general web page maintenance needs. > > The base system ftpd is run from inetd, a "super server" which can serve > several small protocols. Have a look at /etc/inetd.conf. The first "real" > line: > > #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l > > Uncomment that (remove the 'hash'), and save it (you'll have to be root > again, of course). An easier solutions would be to enable the ftp server in standalone mode via /etc/rc.conf: ftpd_enable="YES" -- Jonathan Chen ---------------------------------------------------------------------- "The reason why worry kills more people than work is that more people worry than work." - Robert Frost From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 08:44: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 D3A63106566B for ; Wed, 24 Nov 2010 08:44:55 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 887CB8FC12 for ; Wed, 24 Nov 2010 08:44:55 +0000 (UTC) Received: by qwi4 with SMTP id 4so593465qwi.13 for ; Wed, 24 Nov 2010 00:44:54 -0800 (PST) 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=5dJGXsDlb7wpvyUpeic+Va1PpIwQGukOsotUNAB+V50=; b=BXNRRSYLfkthg1E5EeK+hcp1jlSa3Nyeexm1Ydyt70sdP7ccjRAoFaVpW/tfVs3jiN IWFNM5c11o12Wi7sSJ5bGhKhvHQV2OV6fpuaojp4KGUtl8uj26B7Ts72vhs+9E9cx9Kl jR/XlknvrfexagnGHAKKKWuy8rEdNYWPPiE2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=d2Wpppoy2qLKRZnV4bOrfkbQye0NRlogd6TPsRc3RZKHnLHvIrXko4zfUdS4Vyw7M+ DC3t5MpxdaE+Fytg+COVo5W/mdmxpYcVoLWlde4eehry6/A1qbgOYmh93yibgwhi4F2R ffkBCCvDYs/GrsA2CKOyrYUKGM4iS6aiRekkw= MIME-Version: 1.0 Received: by 10.229.87.13 with SMTP id u13mr7242358qcl.202.1290588293999; Wed, 24 Nov 2010 00:44:53 -0800 (PST) Received: by 10.229.227.83 with HTTP; Wed, 24 Nov 2010 00:44:53 -0800 (PST) Date: Wed, 24 Nov 2010 09:44:53 +0100 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: freebsd PHP extensions: missing option ? 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, 24 Nov 2010 08:44:55 -0000 There is something I would like clarified with PHP extension options... # cd /usr/ports/lang/php52-extensions # make showconfig | grep PDO PDO=on "PHP Data Objects Interface (PDO)" PDO_SQLITE=on "PDO sqlite driver" This corresponds with # cat /var/db/ports/php5-extensions/options | grep PDO WITH_PDO=true WITH_PDO_SQLITE=true However, the interactive menu, displays one more option: PDO_MYSQL # cd /usr/ports/lang/php52-extensions # make config ... [X] PDO PHP Data Objects Interface (PDO) [X] PDO_SQLITE PDO sqlite driver [X] PDO_MYSQL PDO mysql driver --> 1st question: why does the options file not contain a WITH_PDO_MYSQL=true line ? and if I further look: $ pkg_info | grep pdo php52-pdo-5.2.14_1 The pdo shared extension for php php52-pdo_mysql-5.2.14_1 The pdo_mysql shared extension for php php52-pdo_pgsql-5.2.14_1 The pdo_pgsql shared extension for php php52-pdo_sqlite-5.2.14_1 The pdo_sqlite shared extension for php $ grep pdo /usr/local/etc/php/extensions.ini extension=pdo.so extension=pdo_mysql.so extension=pdo_sqlite.so extension=pdo_pgsql.so in a web browser phpinfo.php also tells me: PDO support enabled PDO drivers pgsql, sqlite, mysql So I also have and use also pdo_pgsql The interactive menu for php5 extensions does not provide a [ ] PDO_PGSQL option --> 2nd question: why not such an option in the interactive menu? Some other ports need pdo_pgsql and install it along with the port as a dependency, e.g. davical. I installed that in march 2010 and did several portugprades (0.9.7.6, 0.9.8.1, 0.9.8.4 - no problems). But from version 0.9.9 onwards davical doesn't want to portupgrade any longer and throws a message 'Unknown extension pdo_pgsql for PHP52' ... This must be related with the configuration of php extensions, but the file /var/db/ports/php5-extensions/options should not be edited manually. 3rd question: How to solve this? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 09:30: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 EBE011065725 for ; Wed, 24 Nov 2010 09:30:36 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id CC5C28FC1A for ; Wed, 24 Nov 2010 09:30:36 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAO9UZrT030987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Nov 2010 01:30:36 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAO9UZNb030986; Wed, 24 Nov 2010 01:30:35 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA18802; Wed, 24 Nov 10 01:27:02 PST Date: Wed, 24 Nov 2010 01:26:53 -0800 From: perryh@pluto.rain.com To: kline@thought.org Message-Id: <4cecda5d.ltS7OEPGWsgw4VsS%perryh@pluto.rain.com> References: <20101124014312.GB12000@thought.org> In-Reply-To: <20101124014312.GB12000@thought.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 09:30:37 -0000 Gary Kline wrote: > I can't find an atom cpu computer with dual NICs. Dunno about having them on-board, but anything with a Poulsbo SCH should have two PCIe channels, each of which could be used for a NIC. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 09:37: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 F02DE1065670 for ; Wed, 24 Nov 2010 09:37:11 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0B18FC14 for ; Wed, 24 Nov 2010 09:37:11 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id DBF3DE721C; Wed, 24 Nov 2010 09:37:10 +0000 (GMT) Received: from core.draftnet (client-86-29-107-54.glfd.adsl.virginmedia.com [86.29.107.54]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 24 Nov 2010 09:37:09 +0000 (GMT) Date: Wed, 24 Nov 2010 09:36:50 +0000 From: Bruce Cran To: perryh@pluto.rain.com Message-ID: <20101124093650.2461ac92@core.draftnet> In-Reply-To: <4cecda5d.ltS7OEPGWsgw4VsS%perryh@pluto.rain.com> References: <20101124014312.GB12000@thought.org> <4cecda5d.ltS7OEPGWsgw4VsS%perryh@pluto.rain.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kline@thought.org, freebsd-questions@freebsd.org Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 09:37:12 -0000 On Wed, 24 Nov 2010 01:26:53 -0800 perryh@pluto.rain.com wrote: > Dunno about having them on-board, but anything with a Poulsbo SCH > should have two PCIe channels, each of which could be used for a > NIC. You also get network cards with multiple ports which would work. e.g. http://reviews.cnet.com/adapters-nics/d-link-dfe-570tx/1707-3380_7-785663.html -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 09:46: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 01EE41065673 for ; Wed, 24 Nov 2010 09:46:30 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id ACFE68FC13 for ; Wed, 24 Nov 2010 09:46:29 +0000 (UTC) Received: from [127.0.0.1] (unknown [192.168.4.11]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 6486423 for ; Wed, 24 Nov 2010 10:46:33 +0100 (CET) Message-ID: <4CECDEEF.8020007@stillbilde.net> Date: Wed, 24 Nov 2010 10:46:23 +0100 From: "Svein Skogen (Listmail account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20101124014312.GB12000@thought.org> In-Reply-To: <20101124014312.GB12000@thought.org> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6EEBD755C6A799748268B636" Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 09:46:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6EEBD755C6A799748268B636 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24.11.2010 02:43, Gary Kline wrote: > Maybe someone on-list can help me; after 5+ hours of clicking and > typing, I can't find an atom cpu computer with dual NICs. I > _thought_ I'd found a computer to replace to Kayak firewall > [pfSense], but nada. >=20 > Any wizards on this list have a clue? http://global.msi.eu/index.php?func=3Dproddesc&maincat_no=3D388&prod_no=3D= 1943 //Svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =D8stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enig6EEBD755C6A799748268B636 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzs3vMACgkQODUnwSLUlKRzKACfR9EBWC+gBY+uVdmt02TkQoIf ZIEAoIb+1ojZx0aP+ZzFPwsrvf6ZdHWn =VQUV -----END PGP SIGNATURE----- --------------enig6EEBD755C6A799748268B636-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 11:01: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 AD0F0106564A for ; Wed, 24 Nov 2010 11:01:01 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 827BB8FC13 for ; Wed, 24 Nov 2010 11:01:01 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAOB0v4D038035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Nov 2010 03:00:57 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAOB0vKS038034; Wed, 24 Nov 2010 03:00:57 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA19052; Wed, 24 Nov 10 02:52:35 PST Date: Wed, 24 Nov 2010 02:52:26 -0800 From: perryh@pluto.rain.com To: cyberleo@cyberleo.net Message-Id: <4cecee6a.FUrbpNUbt2xJT/Wf%perryh@pluto.rain.com> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> <4CEC23D9.6090600@cyberleo.net> In-Reply-To: <4CEC23D9.6090600@cyberleo.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, kraduk@gmail.com Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 24 Nov 2010 11:01:01 -0000 CyberLeo Kitsana wrote: > > If the kldstat Id numbers are assigned sequentially, it looks as > > if geom_journal got loaded first and this may somehow be related > > (although I don't entirely see how -- absent geom_mirror to make > > gm0 and its partitions visible, I'd think that geom_journal > > "should not" be able to find its metadata at all). > > From what I've found, this is because there is no taste difference > between a bsdlabel on a gmirror and a bsdlabel on a non-mirror. ... which seems like a bug, unless I misunderstand how geoms work -- see diagram below: * If gjournal stores its metadata at the end of its provider, it should not be finding anything recognizable at the end of ad0s2a, because that block contains gmirror's metadata. * OTOH, if gjournal is looking for something at the beginning of its provider, it should be finding a bsdlabel -- not gjournal metadata -- at the beginning of ad0s2a and that should keep it from recognizing anything in ad0s2a (which is already known to be a partition, thus finding another bsdlabel at its beginning cannot be legitimate). It looks to me as if gjournal is confused: it claims to have found data and journal on each of ad0s2a, ad0s2d, and ad0s2e but in fact only the first of those even exists! The actual partitioning of ad0s2 is into ad0s2a and ad0s2b (plus the conventional ad0s2c entry covering all of ad0s2). It is gm0 (whose provider is ad0s2a) that is partitioned into gm0a, gm0d, and gm0e; if gm0's bsdlabel were interpreted as being directly on ad0s2a, shouldn't those partitions be named ad0s2aa, ad0s2ad, and ad0s2ae? __________________________________________ | ad0s2 bsdlabel (on ad0s2) | ad0s2c _________________________________ | | ad0s2a | gm0 bsdlabel (on gm0) | | | gm0c _________________ | | | | gm0a | data | | | | | | | | | |_________ | | | | | journal | | | | |_________ | | | |_______|_________gjMeta | | | | gm0d | data | | | | | | | | | | | | | | | | | | | | | | | | |_________ | | | | | journal | | | | |_________ | | | |_______|_________gjMeta | | | | gm0e | data | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |_________ | | | | | journal | | | | |_________ | | |______|_______|_________gjMeta | |_________________________________gmMeta | | ad0s2b | | | | |________|_________________________________ > ... either make the two look different somehow (use a different > geom that stores its metadata at the beginning of the provider, > instead of the end, thus eliminating ambiguity in the bsdlabel > taste), When I asked earlier how to subdivide gm0, bsdlabel was recommended. Is there something else that would work better? (This machine is likely too old to understand GPT.) > or to make the inner geom avoid the outer devices (hardcode > provider names in metadata). Since you have an outer geom that > provides a static name, hardcoding the name of the gmirror into > the gjournal metadata shouldn't cause anything to break if your > disks change places, either. But I suspect this may not scale well. Suppose I later decide to mirror the swap instead of using ad0s2b and ad8s2b as separate swap partitions. Is there not a 50/50 chance of the swap mirror becoming gm0 and my current gm0 becoming gm1, thereby breaking any metadata that depends on hard-coded provider names? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 11:12: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 33D2D106564A for ; Wed, 24 Nov 2010 11:12:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id E8F588FC08 for ; Wed, 24 Nov 2010 11:12:13 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 4A775E721C; Wed, 24 Nov 2010 11:12:13 +0000 (GMT) Received: from core.draftnet (client-86-29-107-54.glfd.adsl.virginmedia.com [86.29.107.54]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 24 Nov 2010 11:12:12 +0000 (GMT) Date: Wed, 24 Nov 2010 11:11:53 +0000 From: Bruce Cran To: Adam Vande More Message-ID: <20101124111153.2cb2bfb1@core.draftnet> In-Reply-To: References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David DEMELIER , Ian Smith , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 24 Nov 2010 11:12:14 -0000 On Tue, 23 Nov 2010 23:17:37 -0600 Adam Vande More wrote: > IIRC, there where some improvement to HEAD while ago that increased > FreeBSD power usage efficiecy a non-negligible amount. Perhaps those > improvements where MFC'd already, Google around either way as there > are settings to tune which will decrease power consumption. In order to get those savings you need to set hw.acpi.cpu.cx_lowest to C2 or C3. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 12:35: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 EDA05106567A for ; Wed, 24 Nov 2010 12:35:36 +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 986F48FC22 for ; Wed, 24 Nov 2010 12:35:36 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id D5C241E795; Wed, 24 Nov 2010 13:35:34 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAOCZXkK001573; Wed, 24 Nov 2010 13:35:34 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 24 Nov 2010 13:35:33 +0100 From: Polytropon To: "Dave" Message-Id: <20101124133533.ab5cae74.freebsd@edvax.de> In-Reply-To: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.uk> References: <4CEC4677.7554.3BF9432E@dave.g8kbv.demon.co.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: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 12:35:37 -0000 Allow me to answer some of your questions without begin too precise about the "whole picture", because I just can't speak about all aspects due to lack of experience. :-) On Tue, 23 Nov 2010 22:55:51 -0000, "Dave" wrote: > I'd like to:- > Have a ssh login via LAN available, I believe that's a standard feature, > but I expressedly disabled that (well, told it not to implement it) when > I orignaly installed the OS. The SSH functionality is provided by sshd_enable="YES" in /etc/rc.conf; upon reboot or /etc/rc.d/sshd start the server gets activated. If no keys are present, they are generated at first startup. You can also provide your own set of keys if you already have some. See man sshd for details. > Have a small web server, again I've read that Apache can do a good job, > but I don't want (nor need) all it's facilities, in particular I need to > lock it down so no "Put's" can happen for a start! The web pages are > simple flat form, text and static graphics, with a little client side > scripting, purely to find the client's local date and time, to select the > graphic to serve. Well, lighttpd comes to my mind, although there are some others that are really good at this "simple stuff". Reducing things to a working and functional minimum isn't as easy as it sounds. :-) > Have a FTP server, so I can automate some of the web page graphics > updates, from other systems that generate the data, and can FTP files > across the LAN, also of course for general web page maintenance needs. The system brings an FTP server. You can enable it by uncommenting the entry ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll in /etc/inetd.conf. With this approach, the system's inetd controls the communication to the server program. You'll notice that THIS line has ftpd -ll (ell ell) instead of just one -l. This is intended for log purposes. Add the line !ftpd *.* /var/log/ftpd.log to /etc/syslog.conf and touch /var/log/ftpd.log to create a log file for the FTP server. This can help you to spot misbehaviour either on server or client side. > That sounds in the face of things what I want, but am unsure of the > implications of doing that. Is it "better" (ie, easier for a novice to > manage) than the native OS based FTP server tool? I would preffer to > have FTP login's that are in no way related to any system login users. In order to disallow system level accounts for FTP, use the file /etc/ftpusers: This file contains the accounts that are NOT allowed to make an FTP connection. Put "root" and "toor" (UID 0 accounts) on top. Also put "ftp" there - this is the anonymous FTP user which I think you do NOT want to work. Also, consider using scp for file transfers, it's often much more convenient, allthough I like ftp -u ftp://$(FTPUSER):$(FTPPASSWD)@$(SERVER) ${FILES} for shoving new stuff onto the the web server with FTP server. :-) There's nothing wrong with system's FTP in my opinion, as long as you know what it's actually doing (and how), and you can see the implications to consider to your particular needs and security requirements. > Of all the stuff I've read so far in the FreeBSD handbook, and a few > other places, not one mention is made (that I can see so far) of how to > set services for alternative port numbers? In the documentation of that services (FTP, SSH for example) you can specify alternative ports, e. g. -p for sshd which can be set via sshd_flags= in the /etc/rc.conf file. It's always a good idea to look through the man pages of the programs you use. The system's program ALL do come with a good manpage - software from ports not always provides that quality. > Unless there is a compelling argument to, I'd prefer to stick with V8.0 > too. I don't see a problem with that. Unlike most other operating systems, you can always use FreeBSD on "old-fashioned" hardware. For example, I have a 150 MHz P1 with 128 MB here doing some simple "in-house" server stuff - it currently runs 8.0 (and will soon receive an update using freebsd-update, a tool that will allow you to keep your system on a current state even if you don't want to run big compile orgies on it). > PS: I run one of these.... > http://www.ncdxf.org/beacon/monitors.html Greetings es 73 de JO52TD ryryryry ...-.- :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 12:48: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 6A4621065672 for ; Wed, 24 Nov 2010 12:48:19 +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 2AC388FC1A for ; Wed, 24 Nov 2010 12:48:18 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 24 Nov 2010 07:48:18 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.1.9-GA) with ESMTP id ATF83133; Wed, 24 Nov 2010 07:48:17 -0500 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; 24 Nov 2010 07:48:17 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19693.2449.32696.148339@jerusalem.litteratus.org> Date: Wed, 24 Nov 2010 07:48:17 -0500 To: Bruce Cran In-Reply-To: <20101124093650.2461ac92@core.draftnet> References: <20101124014312.GB12000@thought.org> <4cecda5d.ltS7OEPGWsgw4VsS%perryh@pluto.rain.com> <20101124093650.2461ac92@core.draftnet> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: kline@thought.org, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 12:48:19 -0000 Bruce Cran writes: > You also get network cards with multiple ports which would work. e.g. > http://reviews.cnet.com/adapters-nics/d-link-dfe-570tx/1707-3380_7-785663.html The machine I'm typing on has a two port Intel Pro/1000-GT; I cannot recommend it highly enough. One caveat: the better multi-port cards can get expensive very fast. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 13:39: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 58B631065670 for ; Wed, 24 Nov 2010 13:39:28 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 051228FC13 for ; Wed, 24 Nov 2010 13:39:27 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id 3241C1D2B2; Wed, 24 Nov 2010 14:23:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=HumdqOP xsTAvZwzbCKJNcvcZJcM=; b=IxXWQ8kE6X+pG9o+qkoCnf7w6TkTwpALiz+Dl2u byGR8c/rnNPJMh7CB1+qtt+00Upq2zeeV8nSZb6wkd0Ho4PB1lyxwk70i+Hf0+i5 /95wroVubwLGUVKxmM+2awnrfJgN3UhNZSh80th3cjuSWpIc39ER9tCYUSELJdNm AD5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=c H6RHIp6h/rv4QfetzeG3zqrvq9vYZOlQVTenfdr/fVng4SDqWHUF1QD6y0TPfJnP S9GR4MYvqkVGf/saYNrdeZQ1NhXhEE4CUHUa7QVG3yM4yGZfsm9baA20Jzhyv1M6 PgJjpzW0kiNfiw6O27f8UFvGKdN7KGxsc1/v6gtLHI= Received: from [172.16.2.199] (syn.hq.ismobile.com [172.16.2.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 37F0C1CFD5; Wed, 24 Nov 2010 14:23:34 +0100 (CET) Date: Wed, 24 Nov 2010 14:23:33 +0100 From: Goran Lowkrantz To: Gary Kline , FreeBSD Mailing List Message-ID: In-Reply-To: <20101124014312.GB12000@thought.org> References: <20101124014312.GB12000@thought.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 13:39:28 -0000 --On November 23, 2010 17:43:12 -0800 Gary Kline wrote: > Maybe someone on-list can help me; after 5+ hours of clicking and > typing, I can't find an atom cpu computer with dual NICs. I > _thought_ I'd found a computer to replace to Kayak firewall > [pfSense], but nada. > > Any wizards on this list have a clue? > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix Journey Toward the Dawn, E-Book: http://www.thought.org > The 7.97a release of Jottings: http://jottings.thought.org > I run pfSense on this in this - glz From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 16:03:59 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 EF354106566B for ; Wed, 24 Nov 2010 16:03:59 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7248FC15 for ; Wed, 24 Nov 2010 16:03:59 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id oAOG3u9s005939; Wed, 24 Nov 2010 16:03:57 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4CED376C.60409@qeng-ho.org> Date: Wed, 24 Nov 2010 16:03:56 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101030 Thunderbird/3.0.10 MIME-Version: 1.0 To: Gary Kline References: <20101124014312.GB12000@thought.org> In-Reply-To: <20101124014312.GB12000@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 16:04:00 -0000 On 11/24/10 01:43, Gary Kline wrote: > Maybe someone on-list can help me; after 5+ hours of clicking and > typing, I can't find an atom cpu computer with dual NICs. I > _thought_ I'd found a computer to replace to Kayak firewall > [pfSense], but nada. > > Any wizards on this list have a clue? I don't know if your requirement for an Atom CPU is absolute, or you're just looking for a low power solution, but if it's the latter and 100Mb/s networking is fast enough, I use one of these http://www.pcengines.ch/alix2d13.htm for my pfSense firewall. Three network interfaces so you have a DMZ, plus a hardware crypto accelerator for VPNs. Total power consumption measured at 5W. The alix2d2 is the 2 network port version. -- "Although the wombat is real and the dragon is not, few know what a wombat looks like, but everyone knows what a dragon looks like." -- Avram Davidson, _Adventures in Unhistory_ From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 16:48: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 ADE3B1065673 for ; Wed, 24 Nov 2010 16:48:45 +0000 (UTC) (envelope-from aimass@yabarana.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 534F38FC0C for ; Wed, 24 Nov 2010 16:48:44 +0000 (UTC) Received: by wyf19 with SMTP id 19so817488wyf.13 for ; Wed, 24 Nov 2010 08:48:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.147.149 with SMTP id l21mr9654249wbv.171.1290617322946; Wed, 24 Nov 2010 08:48:42 -0800 (PST) Sender: aimass@yabarana.com Received: by 10.227.145.133 with HTTP; Wed, 24 Nov 2010 08:48:42 -0800 (PST) Date: Wed, 24 Nov 2010 11:48:42 -0500 X-Google-Sender-Auth: Y8kIAJf3FQSux4riF9LIBZK0XWs Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Maintainer of mod_proxy_html ? 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, 24 Nov 2010 16:48:45 -0000 Hi, Does anyone know if "David Lay" is still maintaining the mod_proxy_html port? Or maybe have an alternative e-mail address? I tried contacting him 3 days ago at that e-mail but the mail bounced with that mail server being down. I don't know if it's on purpose or not but the port does not include conf a file (proxy_html.conf) that renders the module useless unless you create one and it's not all that trivial. The installation routines also don't modify the httpd.conf file nor advise that you do so (nor to create the conf file). The module compiles and runs perfectly though for Apache 2.2 on FBSD 8. There is a mention of this supposed bug back in 2008: http://bahumbug.wordpress.com/2008/10/13/freebsd-port-of-mod_proxy_html-is-broken/ Thanks, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 17:47: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 C233F106564A for ; Wed, 24 Nov 2010 17:47:45 +0000 (UTC) (envelope-from demelier.david@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 549A28FC12 for ; Wed, 24 Nov 2010 17:47:44 +0000 (UTC) Received: by bwz2 with SMTP id 2so80947bwz.13 for ; Wed, 24 Nov 2010 09:47:44 -0800 (PST) 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=ZtNk2yk2cjOtU7FyyDaSEPhpzusKA+5/CQ2ebNzLZL0=; b=F/x4TRUZ1o647LLoodeqhRuKdPHr87/0qbyEKJQjIgHugNeqzaDn3MKBAaPhLpcww5 jxZ8hJjLcGI6tVA7HaH5yqYt5hS67NcmNTf3xTzvqy/6uBVIL9ju/IELP4JnJ+tnW/vp pVjuG4Z7agvN7Hf9HQZ9WU7pNs70pPKdUCMFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ds90wXOr1i+V7tdkR5DeHN0+P7D/W/yVwurYa1zpmtHnM77ykjQx8RvaB11+TpkQpy BvlvNch0Y9ObejQC+p92J7nUlv3c40qcOnwOBiFlSXdUfuAMka1fifuH6Ucm5in4JzV/ aali/ajF3kwA/63OE0vGF0sKz4hMQPE6YKUYY= MIME-Version: 1.0 Received: by 10.204.118.138 with SMTP id v10mr4956462bkq.31.1290620859009; Wed, 24 Nov 2010 09:47:39 -0800 (PST) Received: by 10.204.127.20 with HTTP; Wed, 24 Nov 2010 09:47:08 -0800 (PST) Date: Wed, 24 Nov 2010 18:47:08 +0100 Message-ID: From: David DEMELIER To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: trying to sysctl(3) a char value 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, 24 Nov 2010 17:47:45 -0000 Hello, Since I cannot adjust the brightness on my HP Probook because it sucks I'm writing a small script that can be use instead. I need to sysctl the following sysctl variables : hw.acpi.video.lcd0.brightness hw.acpi.video.lcd0.levels the -brightness one is easy since it's an integer, but the levels is possibly a char : markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness hw.acpi.video.lcd0.brightness: 90 markand@Melon ~ $ sysctl hw.acpi.video.lcd0.levels hw.acpi.video.lcd0.levels: 100 50 0 5 10 15 20 25 30 33 36 40 43 46 50 55 60 65 70 75 80 83 86 90 93 96 100 How can I store the content of hw.acpi.video.lcd0.levels? This small code doesn't work : #include #include #include #include int main(int argc, char *argv[]) { char buf[128]; size_t len; len = sizeof (buf); if (sysctlbyname("hw.acpi.video.lcd0.levels", &buf, &len, NULL, 0) == -1) { perror("sysctl"); return -1; } printf("levels = %s\n", buf); } markand@Melon ~ $ ./a.out levels = d Kind regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 17:48: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 37FE61065698 for ; Wed, 24 Nov 2010 17:48:56 +0000 (UTC) (envelope-from demelier.david@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 BA41A8FC27 for ; Wed, 24 Nov 2010 17:48:55 +0000 (UTC) Received: by bwz2 with SMTP id 2so81800bwz.13 for ; Wed, 24 Nov 2010 09:48:54 -0800 (PST) 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=ZtNk2yk2cjOtU7FyyDaSEPhpzusKA+5/CQ2ebNzLZL0=; b=qh6QaAHO1XIb3ker2FA7WOMTHr3yMISEkK4ugIV5yjvD5fYe5Bn4ATPq4cMgHsthPo rNa4DY2z0tuJqtLBA86uNgy1z1IOEbcTzoJ51MGPGVyCROt98qkR690nEfsIhzPNifod JittFuznm5HcaKQtdD8tLbFGy+n1uTkRXg9JA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ds90wXOr1i+V7tdkR5DeHN0+P7D/W/yVwurYa1zpmtHnM77ykjQx8RvaB11+TpkQpy BvlvNch0Y9ObejQC+p92J7nUlv3c40qcOnwOBiFlSXdUfuAMka1fifuH6Ucm5in4JzV/ aali/ajF3kwA/63OE0vGF0sKz4hMQPE6YKUYY= MIME-Version: 1.0 Received: by 10.204.129.210 with SMTP id p18mr9146690bks.85.1290620846997; Wed, 24 Nov 2010 09:47:26 -0800 (PST) Received: by 10.204.127.20 with HTTP; Wed, 24 Nov 2010 09:47:08 -0800 (PST) Date: Wed, 24 Nov 2010 18:47:08 +0100 Message-ID: From: David DEMELIER To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: trying to sysctl(3) a char value 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, 24 Nov 2010 17:48:56 -0000 Hello, Since I cannot adjust the brightness on my HP Probook because it sucks I'm writing a small script that can be use instead. I need to sysctl the following sysctl variables : hw.acpi.video.lcd0.brightness hw.acpi.video.lcd0.levels the -brightness one is easy since it's an integer, but the levels is possibly a char : markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness hw.acpi.video.lcd0.brightness: 90 markand@Melon ~ $ sysctl hw.acpi.video.lcd0.levels hw.acpi.video.lcd0.levels: 100 50 0 5 10 15 20 25 30 33 36 40 43 46 50 55 60 65 70 75 80 83 86 90 93 96 100 How can I store the content of hw.acpi.video.lcd0.levels? This small code doesn't work : #include #include #include #include int main(int argc, char *argv[]) { char buf[128]; size_t len; len = sizeof (buf); if (sysctlbyname("hw.acpi.video.lcd0.levels", &buf, &len, NULL, 0) == -1) { perror("sysctl"); return -1; } printf("levels = %s\n", buf); } markand@Melon ~ $ ./a.out levels = d Kind regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 18:07: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 135351065670 for ; Wed, 24 Nov 2010 18:07:39 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 989B78FC1A for ; Wed, 24 Nov 2010 18:07:38 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Wed, 24 Nov 2010 12:52:32 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::518 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4CED50E0.7020205@comcast.net> Date: Wed, 24 Nov 2010 12:52:32 -0500 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101109 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-net@freebsd.org, User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Brian A. Seklecki" Subject: Jail source address selection in 8.1-RELEASE 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, 24 Nov 2010 18:07:39 -0000 Hi, There appears to be a loosely documented sysctl 'security.jail.param.ip4.saddrsel' which should limit source IP selection of jails to their primary jail interface/IP. The sysctl does not appear to do anything, however: # sysctl security.jail.param.ip4.saddrsel=0 -> # echo $? 0 # sysctl security.jail.param.ip4.saddrsel # # sysctl -d security.jail.param.ip4.saddrsel security.jail.param.ip4.saddrsel: Do (not) use IPv4 source address selection rather than the primary jail IPv4 address. Is this tunable only available when VIMAGE jails are built? The 8.1-RELEASE Release Notes suggest it is for VIMAGE jail(8) containers, while 7.3-RELEASE Release Notes suggest that it is available for the entire jail(8) subsystem as 'security.jail.ip4_saddrsel', a different OID. FreeBSD xxxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Aug 3 16:24:09 EDT 2010 root@xxxx:/usr/obj/usr/src/sys/GENERIC amd64 From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 18:44: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 EDE831065672 for ; Wed, 24 Nov 2010 18:44:52 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C1ED58FC16 for ; Wed, 24 Nov 2010 18:44:52 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id DA2C8E806AE; Wed, 24 Nov 2010 10:44:51 -0800 (PST) Date: Wed, 24 Nov 2010 10:44:51 -0800 From: Gary Kline To: Arthur Chance Message-ID: <20101124184451.GA27239@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CED376C.60409@qeng-ho.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 18:44:53 -0000 On Wed, Nov 24, 2010 at 04:03:56PM +0000, Arthur Chance wrote: > On 11/24/10 01:43, Gary Kline wrote: > >Maybe someone on-list can help me; after 5+ hours of clicking and > >typing, I can't find an atom cpu computer with dual NICs. I > >_thought_ I'd found a computer to replace to Kayak firewall > >[pfSense], but nada. > > > >Any wizards on this list have a clue? > > I don't know if your requirement for an Atom CPU is absolute, or > you're just looking for a low power solution, but if it's the latter > and 100Mb/s networking is fast enough, I use one of these > > http://www.pcengines.ch/alix2d13.htm > > for my pfSense firewall. Three network interfaces so you have a DMZ, > plus a hardware crypto accelerator for VPNs. Total power consumption > measured at 5W. The alix2d2 is the 2 network port version. > Thanks to everyone indeed. The long-story-short is that just a few months ago I thought I *had* found a low-power [Atom] box with a dual-NIC for around $300. So I figured that since there was at least that one there might be others. Late last night my friend at the University figured that it wouldn't be that hard to build one from parts. [[ Sure, if you've got two good hands and a several hours, etc. .... ]] An Atom CPU is only the means to the end of finally having a low power config. Right now I'm probably burning 100w using the Kayak and an '05 40G drive. Any low-power box will work. Appreciate the help! gary > -- > "Although the wombat is real and the dragon is not, few know what a > wombat looks like, but everyone knows what a dragon looks like." > > -- Avram Davidson, _Adventures in Unhistory_ > _______________________________________________ > 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 Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 18: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 7230E1065672; Wed, 24 Nov 2010 18:54:54 +0000 (UTC) (envelope-from jimmiejaz@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 F0F808FC1F; Wed, 24 Nov 2010 18:54:53 +0000 (UTC) Received: by gxk8 with SMTP id 8so42651gxk.13 for ; Wed, 24 Nov 2010 10:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=UCtQc4WJDQHoKSUiRrTmAElxZsJDlB4BJQtKCNf0QTM=; b=GkZYaPs46rnh8YBJyHZ9SvZl11x0v5EGbcaH2t0/1YyqtJOgWFb3LDjojzYuo5WTM/ UyEjBcWLrzkKZdl94OPYuU3i5+gshzc3X86L53YpzFwUBYjztoB9li77yEsbJyt4r0hj 7ah1a21LfoMMzVM+26iyCYDg7KTDtu4GK9+ro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=jxPMcPQ72ZaWnht8bh4fF9+fk92iA8afC0HxTx+UhBCc4m4XVIkJvktIzIk4fsFAOv rOylAl9CTiAs4y9K1gWsEiYcNVS12sx+ZyqANHl1rfEQFBUH+JqCKJm9yIBu+1jmIXf0 TNfdTL7/CdEMT18tkfPa4u7ybvVEzTGOfnbi8= Received: by 10.151.46.18 with SMTP id y18mr1471835ybj.324.1290624892842; Wed, 24 Nov 2010 10:54:52 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088799130.dsl.bell.ca [64.229.193.154]) by mx.google.com with ESMTPS id n48sm4976548yha.7.2010.11.24.10.54.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 10:54:51 -0800 (PST) Message-ID: <4CED5F77.7030406@gmail.com> Date: Wed, 24 Nov 2010 13:54:47 -0500 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org, freebsd-questions@freebsd.org Subject: gvfs-1.6.6' build failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 18:54:54 -0000 FreeBSD jimmiejaz.org 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Nov 15 17:52:21 EST 2010 root@:/usr/obj/usr/src/sys/FORTYTWO i386 Hit this in the middle of the Gnome 2.32, I hit this error, any suggestions? [13:44:20] jimmie@jimmiejaz <115> [0] /usr/ports/devel/gvfs#make clean ; rehash ; portupgrade -f devel/gvfs ===> Cleaning for gvfs-1.6.6 ---> Upgrading 'gvfs-1.6.3_1' to 'gvfs-1.6.6' (devel/gvfs) ---> Building '/usr/ports/devel/gvfs' ===> Cleaning for gvfs-1.6.6 ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for gvfs-0.2.3_2 ===> Extracting for gvfs-1.6.6 => SHA256 Checksum OK for gnome2/gvfs-1.6.6.tar.bz2. ===> Patching for gvfs-1.6.6 ===> Applying FreeBSD patches for gvfs-1.6.6 ===> gvfs-1.6.6 depends on executable: gmake - found ===> gvfs-1.6.6 depends on file: /usr/local/bin/intltool-extract - found ===> gvfs-1.6.6 depends on executable: pkg-config - found ===> gvfs-1.6.6 depends on shared library: dbus-1.3 - found ===> gvfs-1.6.6 depends on shared library: hal.1 - found ===> gvfs-1.6.6 depends on shared library: soup-gnome-2.4.1 - found ===> gvfs-1.6.6 depends on shared library: gnome-keyring - found ===> gvfs-1.6.6 depends on shared library: avahi-client.3 - found ===> gvfs-1.6.6 depends on shared library: intl - found ===> gvfs-1.6.6 depends on shared library: atk-1.0.0 - found ===> gvfs-1.6.6 depends on shared library: gconf-2.4 - found ===> gvfs-1.6.6 depends on shared library: glib-2.0.0 - found ===> gvfs-1.6.6 depends on shared library: gtk-x11-2.0.0 - found ===> gvfs-1.6.6 depends on shared library: IDL-2.0 - found ===> gvfs-1.6.6 depends on shared library: xml2.5 - found ===> gvfs-1.6.6 depends on shared library: ORBit-2.0 - found ===> gvfs-1.6.6 depends on shared library: pango-1.0.0 - found ===> Configuring for gvfs-1.6.6 configure: WARNING: unrecognized options: --with-gconf-source checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking whether build environment is sane... yes checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for an ANSI C-conforming const... yes checking for library containing strerror... none required checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking how to run the C preprocessor... cpp checking whether ln -s works... yes checking whether gmake sets $(MAKE)... (cached) yes checking build system type... i386-portbld-freebsd8.1 checking host system type... i386-portbld-freebsd8.1 checking how to print strings... print: not found printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.1 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for pkg-config... /usr/local/bin/pkg-config checking for gio-querymodules... /usr/local/bin/gio-querymodules checking whether cc understands -c and -o together... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct stat.st_mtimensec... no checking for struct stat.st_mtim.tv_nsec... no checking for struct stat.st_atimensec... no checking for struct stat.st_atim.tv_nsec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_ctim.tv_nsec... no checking pkg-config is at least version 0.9.0... yes checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GLIB... yes checking for DBUS... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.41.1 found checking for intltool-update... /usr/local/bin/intltool-update checking for intltool-merge... /usr/local/bin/intltool-merge checking for intltool-extract... /usr/local/bin/intltool-extract checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.10.1 checking for XML::Parser... ok checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/local/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/local/bin/msgfmt checking for xgettext... (cached) /usr/local/bin/xgettext checking for ssh... /usr/bin/ssh checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getpt... no checking for posix_openpt... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking for ptsname_r... no checking for socketpair... yes checking for library containing login_tty... -lutil checking for HTTP... yes checking for AVAHI... yes checking for LIBXML... yes checking for GCONF... yes checking for XML_ParserCreate_MM in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for HAL... yes checking for libhal_get_all_devices_with_properties in -lhal... yes checking for KEYRING... yes checking archive.h usability... yes checking archive.h presence... yes checking for archive.h... yes checking for archive_entry_filetype in -larchive... yes checking for Archive 3.libraries... yes checking for glib-genmarshal... /usr/local/bin/glib-genmarshal checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for sys/param.h... (cached) yes checking for statvfs... yes checking for statfs... yes checking for struct statfs.f_fstypename... yes checking for struct statfs.f_bavail... yes checking for struct statvfs.f_basetype... no checking number of arguments to statfs()... 2 checking for more warnings... no configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating client/Makefile config.status: creating metadata/Makefile config.status: creating daemon/trashlib/Makefile config.status: creating daemon/Makefile config.status: creating monitor/Makefile config.status: creating monitor/proxy/Makefile config.status: creating monitor/hal/Makefile config.status: creating monitor/gdu/Makefile config.status: creating monitor/gphoto2/Makefile config.status: creating monitor/afc/Makefile config.status: creating gconf/Makefile config.status: creating programs/Makefile config.status: creating test/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands configure: WARNING: unrecognized options: --with-gconf-source gvfs configuration summary: gio module directory : ${exec_prefix}/lib/gio/modules hotplug backend: hal FTP/HTTP/WebDAV support yes ObexFTP support no Samba support: no FUSE support: no CDDA support: no Gphoto2 support: no archive support: yes AFC support: no GConf support: yes DNS-SD support: yes Build HAL volume monitor: yes (with fast init path: yes) Build GDU volume monitor: no GNOME Keyring support: yes Bash-completion support: yes ===> Building for gvfs-1.6.6 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6' Making all in common gmake[2]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/common' CC gsysutils.lo CC gvfsdbusutils.lo CC gmountspec.lo CC gmountoperationdbus.lo CC gmountsource.lo CC gmounttracker.lo CC gvfsdaemonprotocol.lo CC gvfsicon.lo CC gvfsmountinfo.lo CC gvfsfileinfo.lo CCLD libgvfscommon.la CC libgvfscommon_dnssd_la-gvfsdnssdutils.lo CC libgvfscommon_dnssd_la-gvfsdnssdresolver.lo CCLD libgvfscommon-dnssd.la gmake[2]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/common' Making all in metadata gmake[2]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/metadata' CC metatree.lo CC metabuilder.lo CC crc32.lo CCLD libmetadata.la CC meta-daemon.o CCLD gvfsd-metadata CC meta-ls.o CCLD meta-ls CC meta-get.o CCLD meta-get CC meta-set.o CCLD meta-set CC meta-get-tree.o CCLD meta-get-tree meta-get-tree.o(.text+0x1a0): In function `main': : warning: warning: this program uses gets(), which is unsafe. CC metadata-nautilus.o CCLD convert-nautilus-metadata /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libxml2.so, may conflict with libz.so.5 GEN gvfs-metadata.service gmake[2]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/metadata' Making all in client gmake[2]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/client' CC gdaemonvfs.lo CC gdaemonmount.lo CC gdaemonvolumemonitor.lo CC gdaemonfile.lo CC gdaemonfileinputstream.lo CC gdaemonfileoutputstream.lo CC gdaemonfileenumerator.lo CC gdaemonfilemonitor.lo CC gvfsdaemondbus.lo CC gvfsiconloadable.lo CC gvfsuriutils.lo CC gvfsurimapper.lo CC smburi.lo CC httpuri.lo CCLD libgvfsdbus.la CC test_uri_utils-test-uri-utils.o CC test_uri_utils-gvfsuriutils.o CCLD test-uri-utils gmake[2]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/client' Making all in daemon gmake[2]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' gmake all-recursive gmake[3]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' Making all in trashlib gmake[4]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon/trashlib' CC libtrash_a-dirwatch.o CC libtrash_a-trashdir.o CC libtrash_a-trashitem.o CC libtrash_a-trashwatcher.o CC libtrash_a-trashexpunge.o AR libtrash.a gmake[4]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon/trashlib' gmake[4]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' CC gvfsdaemon.lo CC gvfsbackend.lo CC gvfschannel.lo CC gvfsreadchannel.lo CC gvfswritechannel.lo CC gvfsmonitor.lo CC gvfsdaemonutils.lo CC gvfsjob.lo CC gvfsjobsource.lo CC gvfsjobdbus.lo CC gvfsjobmount.lo CC gvfsjobunmount.lo CC gvfsjobmountmountable.lo CC gvfsjobunmountmountable.lo CC gvfsjobstartmountable.lo CC gvfsjobstopmountable.lo CC gvfsjobpollmountable.lo CC gvfsjobopenforread.lo CC gvfsjobopeniconforread.lo CC gvfsjobread.lo CC gvfsjobseekread.lo CC gvfsjobcloseread.lo CC gvfsjobopenforwrite.lo CC gvfsjobwrite.lo CC gvfsjobseekwrite.lo CC gvfsjobclosewrite.lo CC gvfsjobqueryinfo.lo CC gvfsjobqueryinforead.lo CC gvfsjobqueryinfowrite.lo CC gvfsjobqueryfsinfo.lo CC gvfsjobenumerate.lo CC gvfsjobsetdisplayname.lo CC gvfsjobtrash.lo CC gvfsjobdelete.lo CC gvfsjobcopy.lo CC gvfsjobmove.lo CC gvfsjobpush.lo CC gvfsjobpull.lo CC gvfsjobmakedirectory.lo CC gvfsjobmakesymlink.lo CC gvfsjobsetattribute.lo CC gvfsjobqueryattributes.lo CC gvfsjobcreatemonitor.lo CC dbus-gmain.lo CC gvfskeyring.lo CCLD libdaemon.la CC mount.o CC main.o CCLD gvfsd CC gvfsd_sftp-gvfsbackendsftp.o CC gvfsd_sftp-pty_open.o CC gvfsd_sftp-daemon-main.o CC gvfsd_sftp-daemon-main-generic.o CCLD gvfsd-sftp CC gvfsd_trash-gvfsbackendtrash.o CC gvfsd_trash-daemon-main.o CC gvfsd_trash-daemon-main-generic.o CCLD gvfsd-trash CC gvfsd_computer-gvfsbackendcomputer.o CC gvfsd_computer-daemon-main.o CC gvfsd_computer-daemon-main-generic.o CCLD gvfsd-computer CC gvfsd_burn-gvfsbackendburn.o CC gvfsd_burn-daemon-main.o CC gvfsd_burn-daemon-main-generic.o CCLD gvfsd-burn CC gvfsd_localtest-gvfsbackendlocaltest.o CC gvfsd_localtest-daemon-main.o CC gvfsd_localtest-daemon-main-generic.o CCLD gvfsd-localtest CC gvfsd_ftp-gvfsftpconnection.o CC gvfsd_ftp-gvfsftpdircache.o CC gvfsd_ftp-gvfsftpfile.o CC gvfsd_ftp-gvfsftptask.o CC gvfsd_ftp-gvfsbackendftp.o CC gvfsd_ftp-ParseFTPList.o CC gvfsd_ftp-daemon-main.o CC gvfsd_ftp-daemon-main-generic.o CCLD gvfsd-ftp CC gvfsd_http-soup-input-stream.o CC gvfsd_http-soup-output-stream.o CC gvfsd_http-gvfsbackendhttp.o CC gvfsd_http-daemon-main.o CC gvfsd_http-daemon-main-generic.o CCLD gvfsd-http /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libgnutls.so, may conflict with libz.so.5 CC gvfsd_dav-soup-input-stream.o CC gvfsd_dav-soup-output-stream.o CC gvfsd_dav-gvfsbackendhttp.o CC gvfsd_dav-gvfsbackenddav.o CC gvfsd_dav-daemon-main.o CC gvfsd_dav-daemon-main-generic.o CCLD gvfsd-dav /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libgnutls.so, may conflict with libz.so.5 CC gvfsd_network-gvfsbackendnetwork.o CC gvfsd_network-daemon-main.o CC gvfsd_network-daemon-main-generic.o CCLD gvfsd-network CC gvfsd_dnssd-gvfsbackenddnssd.o CC gvfsd_dnssd-daemon-main.o CC gvfsd_dnssd-daemon-main-generic.o CCLD gvfsd-dnssd CC gvfsd_archive-gvfsbackendarchive.o CC gvfsd_archive-daemon-main.o CC gvfsd_archive-daemon-main-generic.o CCLD gvfsd-archive /usr/lib/libarchive.so: undefined reference to `lzma_stream_encoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_decoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_memusage@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_stream_decoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_code@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_end@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_lzma_preset@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_encoder@XZ_5.0' gmake[4]: *** [gvfsd-archive] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6/daemon' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.6.6' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/gvfs. *** Error code 1 Stop in /usr/ports/devel/gvfs. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20101124-57634-phohsn-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gvfs-1.6.3_1 UPGRADE_PORT_VER=1.6.3_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/gvfs (gvfs-1.6.3_1) (linker error) -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 18:57: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 DA83C1065670 for ; Wed, 24 Nov 2010 18:57:03 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id A030D8FC16 for ; Wed, 24 Nov 2010 18:57:03 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id oAOIv2Un027785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Nov 2010 12:57:02 -0600 (CST) (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 oAOIv2iX092593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Nov 2010 12:57:02 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id oAOIv2Nf092592; Wed, 24 Nov 2010 12:57:02 -0600 (CST) (envelope-from dan) Date: Wed, 24 Nov 2010 12:57:02 -0600 From: Dan Nelson To: David DEMELIER Message-ID: <20101124185702.GE58734@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-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Wed, 24 Nov 2010 12:57:02 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: FreeBSD Questions Subject: Re: trying to sysctl(3) a char value 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, 24 Nov 2010 18:57:03 -0000 In the last episode (Nov 24), David DEMELIER said: > Since I cannot adjust the brightness on my HP Probook because it sucks > I'm writing a small script that can be use instead. I need to sysctl > the following sysctl variables : > > hw.acpi.video.lcd0.brightness > hw.acpi.video.lcd0.levels > > the -brightness one is easy since it's an integer, but the levels is > possibly a char : > > markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness > hw.acpi.video.lcd0.brightness: 90 > markand@Melon ~ $ sysctl hw.acpi.video.lcd0.levels > hw.acpi.video.lcd0.levels: 100 50 0 5 10 15 20 25 30 33 36 40 43 46 50 55 60 65 70 75 80 83 86 90 93 96 100 Looking at the source, that sysctl definition is CTLTYPE_OPAQUE with a display format of "I", which means that it's just an array of integers. Print each one in a loop. You can also take a look at /usr/src/sbin/sysctl/sysctl.c to see how it printed the numbers. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 19:01: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 545901065697 for ; Wed, 24 Nov 2010 19:01:30 +0000 (UTC) (envelope-from demelier.david@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 03EFF8FC08 for ; Wed, 24 Nov 2010 19:01:29 +0000 (UTC) Received: by vws9 with SMTP id 9so62847vws.13 for ; Wed, 24 Nov 2010 11:01:29 -0800 (PST) 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=v0bngJIROr3ys9k/Ymp+S8h5p1L4npLjpgFC+q1hZAs=; b=W2xTqXGs06UhpYT3ovfyB8FyHD2IduShveTYa7C3kI6jz/bAH2Qq2Sjufst0LfPsI5 XLt3cz8IonsproiIguiOak8Eo0kBy3DsoQwtbycWGqxru/e466uP+du23kgl8sgrjWv0 SAKhcZqySIRfOEefkhmRGAPq3VkoRhK5uHisw= 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=x3Rlzw6upP4SveUAK4wwkKEdOUHwwDzsu1T1mv9uicewMfe/Jd6wpXbyfrDazM6+KX hk0pE8SGy0RyNN12F0ErnM71JQjFPWGlzPz2Kcn4zvumZeF3Q2VGtOTLDhe+X9+PnqSk 5fsvXo3GPjtyiJXttIAL+QhSVO9IPgwlsbhiY= MIME-Version: 1.0 Received: by 10.204.120.71 with SMTP id c7mr3152180bkr.4.1290625288006; Wed, 24 Nov 2010 11:01:28 -0800 (PST) Received: by 10.204.127.20 with HTTP; Wed, 24 Nov 2010 11:01:27 -0800 (PST) In-Reply-To: <20101124185702.GE58734@dan.emsphone.com> References: <20101124185702.GE58734@dan.emsphone.com> Date: Wed, 24 Nov 2010 20:01:27 +0100 Message-ID: From: David DEMELIER To: Dan Nelson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: trying to sysctl(3) a char value 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, 24 Nov 2010 19:01:30 -0000 2010/11/24 Dan Nelson : > In the last episode (Nov 24), David DEMELIER said: >> Since I cannot adjust the brightness on my HP Probook because it sucks >> I'm writing a small script that can be use instead. I need to sysctl >> the following sysctl variables : >> >> hw.acpi.video.lcd0.brightness >> hw.acpi.video.lcd0.levels >> >> the -brightness one is easy since it's an integer, but the levels is >> possibly a char : >> >> markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness >> hw.acpi.video.lcd0.brightness: 90 >> markand@Melon ~ $ sysctl hw.acpi.video.lcd0.levels >> hw.acpi.video.lcd0.levels: 100 50 0 5 10 15 20 25 30 33 36 40 43 46 50 5= 5 60 65 70 75 80 83 86 90 93 96 100 > > Looking at the source, that sysctl definition is CTLTYPE_OPAQUE with a > display format of "I", which means that it's just an array of integers. > Print each one in a loop. =C2=A0You can also take a look at > /usr/src/sbin/sysctl/sysctl.c to see how it printed the numbers. > > -- > =C2=A0 =C2=A0 =C2=A0 =C2=A0Dan Nelson > =C2=A0 =C2=A0 =C2=A0 =C2=A0dnelson@allantgroup.com > Thank you, it works ! --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 19:21: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 EFF64106566B for ; Wed, 24 Nov 2010 19:21:38 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id C3ACB8FC08 for ; Wed, 24 Nov 2010 19:21:38 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id 84365296E4; Wed, 24 Nov 2010 14:21:37 -0500 (EST) Message-ID: <4CED65C1.5040102@cyberleo.net> Date: Wed, 24 Nov 2010 13:21:37 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100911 Lightning/1.0b3pre Thunderbird/3.1.3 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> <4CEC23D9.6090600@cyberleo.net> <4cecee6a.FUrbpNUbt2xJT/Wf%perryh@pluto.rain.com> In-Reply-To: <4cecee6a.FUrbpNUbt2xJT/Wf%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, kraduk@gmail.com Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 24 Nov 2010 19:21:39 -0000 On 11/24/2010 04:52 AM, perryh@pluto.rain.com wrote: > It looks to me as if gjournal is confused: It is not gjournal that is confused; it's bsdlabel. The gjournals lie entirely within the partitions defined within the bsdlabel, and don't care about anything outside of that. The ambiguity here is that the bsdlabel is stored at the beginning of the disk, and is very loose about what it accepts as valid, since there is no direct harm in being eager. The metadata for gmirror is stored at the end. The metadata for the bsdlabel is stored at the beginning. When bsdlabel tastes before gmirror, it sees the same label on the component disks that would be on the gm0 mirror. Moreover, all the partitions it then creates are identically sized, and contain exactly the same data, as they would on the mirror. It will complain that partition 'c' doesn't cover the whole unit, but this is not a fatal error as it doesn't take exclusive access, and so you are always free to use that same bsdlabel through another geom path. The problem arises when bsdlabel tastes ad0 before gmirror, and creates all the partitions thereupon, which triggers a taste of all the newly created devices by gjournal, which opens the devices exclusively once it finds the metadata it needs within the partitions. Now that they're opened exclusively somewhere, all the other paths to that device through the geom graph are withered, and cannot be tasted or used by anything else, including gmirror. Hardcoding provider names into gjournal makes it reject these ambiguously created devices. Since gjournal doesn't take exclusive access, gmirror can now taste the still-available ad0, see that it's a mirror, and launch gm0, which triggers a taste by bsdlabel (and creates the partitions) which triggers a taste by gjournal, which matches the names its expecting. That was difficult to keep clear. I hope it makes sense! >> ... either make the two look different somehow (use a different >> geom that stores its metadata at the beginning of the provider, >> instead of the end, thus eliminating ambiguity in the bsdlabel >> taste), > > When I asked earlier how to subdivide gm0, bsdlabel was recommended. > Is there something else that would work better? (This machine is > likely too old to understand GPT.) The machine's bios does not need to understand GPT to use it on a pure data disk; only as a boot disk. There are a few bioses that throw fits when not all the disks include mbr/slice tables, but those (thankfully) tend to be the minority. Plus, since GPT expects metadata at both the beginning and end of the disk, seeing gmirror metadata instead may prevent it from creating these ambiguous device nodes as well (but test this assumption before relying on it). >> or to make the inner geom avoid the outer devices (hardcode >> provider names in metadata). Since you have an outer geom that >> provides a static name, hardcoding the name of the gmirror into >> the gjournal metadata shouldn't cause anything to break if your >> disks change places, either. > > But I suspect this may not scale well. Suppose I later decide to > mirror the swap instead of using ad0s2b and ad8s2b as separate swap > partitions. Is there not a 50/50 chance of the swap mirror becoming > gm0 and my current gm0 becoming gm1, thereby breaking any metadata > that depends on hard-coded provider names? When you create a mirror, you give it an explicit name, which will not change over the life of the mirror without your explicit action. This name does not have to be 'gm0' or some such. I have named mirrors after the hostname, or 'hostname-purpose', such as 'sc1425-root' and 'sc1425-swap' -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 19:23: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 6DBE11065670 for ; Wed, 24 Nov 2010 19:23:52 +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 03B508FC15 for ; Wed, 24 Nov 2010 19:23:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id oAOJNof4068110; Wed, 24 Nov 2010 13:23:50 -0600 (CST) (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 zDtEuQyW8xdQ; Wed, 24 Nov 2010 13:23:46 -0600 (CST) 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 oAOJNeq8068106; Wed, 24 Nov 2010 13:23:42 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4CED663F.3000705@daleco.biz> Date: Wed, 24 Nov 2010 13:23:43 -0600 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: n dhert References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd PHP extensions: missing option ? 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, 24 Nov 2010 19:23:52 -0000 n dhert wrote: > There is something I would like clarified with PHP extension options... > > # cd /usr/ports/lang/php52-extensions > # make showconfig | grep PDO > PDO=on "PHP Data Objects Interface (PDO)" > PDO_SQLITE=on "PDO sqlite driver" > This corresponds with > # cat /var/db/ports/php5-extensions/options | grep PDO > WITH_PDO=true > WITH_PDO_SQLITE=true > > However, the interactive menu, displays one more option: PDO_MYSQL > # cd /usr/ports/lang/php52-extensions > # make config > ... > [X] PDO PHP Data Objects Interface (PDO) > [X] PDO_SQLITE PDO sqlite driver > [X] PDO_MYSQL PDO mysql driver > > --> 1st question: why does the options file not contain a > WITH_PDO_MYSQL=true line ? It's not a default option, because not everyone uses MySQL. > and if I further look: > $ pkg_info | grep pdo > php52-pdo-5.2.14_1 The pdo shared extension for php > php52-pdo_mysql-5.2.14_1 The pdo_mysql shared extension for php > php52-pdo_pgsql-5.2.14_1 The pdo_pgsql shared extension for php > php52-pdo_sqlite-5.2.14_1 The pdo_sqlite shared extension for php > > $ grep pdo /usr/local/etc/php/extensions.ini > extension=pdo.so > extension=pdo_mysql.so > extension=pdo_sqlite.so > extension=pdo_pgsql.so > > in a web browser phpinfo.php also tells me: > PDO support enabled > PDO drivers pgsql, sqlite, mysql > > So I also have and use also pdo_pgsql > > The interactive menu for php5 extensions does not provide a [ ] PDO_PGSQL > option > > --> 2nd question: why not such an option in the interactive menu? I can't answer that; I do note that this is true in the main trunk ports/lang/php5-extensions as well; a user note on the php.net site (http://www.php.net/manual/en/pdo.installation.php) makes a similar complaint. Suggestion: run "make maintainer" in the php52-extensions directory and respectfully mail that person with your question. > Some other ports need pdo_pgsql and install it along with the port as a > dependency, e.g. davical. I installed that in march 2010 and did several > portugprades (0.9.7.6, 0.9.8.1, 0.9.8.4 - no problems). But from version > 0.9.9 onwards davical doesn't want to portupgrade any longer and throws a > message 'Unknown extension pdo_pgsql for PHP52' ... > > This must be related with the configuration of php extensions, but the file > /var/db/ports/php5-extensions/options should not be edited manually. > > 3rd question: How to solve this? See above for starters. You might also be able to hack the Makefile, but that's just what it is ... a hack ;-) Good luck! Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 20:23: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 0FD3210656A4 for ; Wed, 24 Nov 2010 20:23:47 +0000 (UTC) (envelope-from christer.solskogen@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 B75598FC2B for ; Wed, 24 Nov 2010 20:23:46 +0000 (UTC) Received: by vws9 with SMTP id 9so144252vws.13 for ; Wed, 24 Nov 2010 12:23:45 -0800 (PST) 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=I4XSRpY9fJ8Kfn8jxM4+PQ9WXnMqBM0WX9Xx/I/wPlc=; b=GwIZAkkIAnR4ckq5iBOrf8A6o2G7nIzFZuf6HTk2uhU8969YN32lIsbZjM6k3YozAx 5Qutx+I8xZeK4d3LHsoH8KUblEqTOdhzKe5K3e4+s0HTODoYI8HljdENwlEmHnF37A++ ZeKWiUyV1fYZQJPkVy/BGrUqdwcyEIHfQqsx4= 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=gKa0otjkR6L42CCPZ0fBu30ByWIBrRWtsK91PfZpVSFrt5dJQP/4m5RcD6j25npVRJ +n+zAv/u+Tr42ljmU99wvPil3WdNPbBLPIRUEw4fmYIV1rPkUcRg3oKgD32Sp21hdHFy 8s9JAis6aaTdJyRMCsyXigqhiuLDtg1wS/bjs= MIME-Version: 1.0 Received: by 10.229.234.84 with SMTP id kb20mr7953065qcb.288.1290630225606; Wed, 24 Nov 2010 12:23:45 -0800 (PST) Received: by 10.229.231.81 with HTTP; Wed, 24 Nov 2010 12:23:45 -0800 (PST) In-Reply-To: <20101124014312.GB12000@thought.org> References: <20101124014312.GB12000@thought.org> Date: Wed, 24 Nov 2010 21:23:45 +0100 Message-ID: From: Christer Solskogen To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 24 Nov 2010 20:23:47 -0000 On Wed, Nov 24, 2010 at 2:43 AM, Gary Kline wrote: > Maybe someone on-list can help me; after 5+ hours of clicking and > typing, I can't find an atom cpu computer with dual NICs. =A0I > _thought_ I'd found a computer to replace to Kayak firewall > [pfSense], but nada. > > Any wizards on this list have a clue? I don't know if I'm a wizard, but FitPC2i might do you good. http://www.fit-pc.com/web/fit-pc2/specifications/ --=20 chs, From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 20:42: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 5C31D1065674 for ; Wed, 24 Nov 2010 20:42:10 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 14E0B8FC0A for ; Wed, 24 Nov 2010 20:42:09 +0000 (UTC) Received: by ywp6 with SMTP id 6so107565ywp.13 for ; Wed, 24 Nov 2010 12:42:09 -0800 (PST) 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=lmK35BdXiy2IGIX2vusckXI1Yt4/qIIBw+g61rPElys=; b=mhhpigfYUQaaepbHIjoHvrfuDI2/pBZzS0g7Lt9DptBZAdFoDOO/A1vGro6eNh8uQM mEIoh4uU7Y5y7nsAxmZWL/uyaZlPdAl3+oe4z7+azR5O8I79VhW5C+5dBuKzGRi5DLRS 9Cf5s6fEcKObPlprGZAJb4FUtwCxzUrz2y3EI= 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=oeHWyI0H5Vd3JR8OrYtFMIvvVo9wk2mLhAcLTI54FDz6EitC7WBQFMy7BH6gZa8l6I oUdaAcIkeALcuHTo99CVDSnxrG5jz0nzr/rjZnfhSeAQ8zJJAuTqX8N4ap5MOk07d0Y2 hDctWtJaIm6DcDBPa+Cu1t4edrwRMrHB5J0DU= MIME-Version: 1.0 Received: by 10.204.129.210 with SMTP id p18mr9285865bks.85.1290631328129; Wed, 24 Nov 2010 12:42:08 -0800 (PST) Received: by 10.204.127.20 with HTTP; Wed, 24 Nov 2010 12:42:08 -0800 (PST) In-Reply-To: <20101124111153.2cb2bfb1@core.draftnet> References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> <20101124111153.2cb2bfb1@core.draftnet> Date: Wed, 24 Nov 2010 21:42:08 +0100 Message-ID: From: David DEMELIER To: Bruce Cran Content-Type: text/plain; charset=UTF-8 Cc: Adam Vande More , Ian Smith , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 24 Nov 2010 20:42:10 -0000 Hello, Thanks for all your answers, I guess my battery is getting on its end of life.. After running 30 minutes on battery, the percent is still 100% while the remaining time is slowly decreasing.. Aaaah buying a new battery costs around $134 ! I think I could live a few months before buying a new one but it sucks :-/ Cheers, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 20:49: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 5B158106566B for ; Wed, 24 Nov 2010 20:49:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 10DF38FC12 for ; Wed, 24 Nov 2010 20:49:09 +0000 (UTC) Received: by ywp6 with SMTP id 6so111614ywp.13 for ; Wed, 24 Nov 2010 12:49:09 -0800 (PST) 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=S1GL/P7sVZsmnyyrsw0PMRQTO2rrbrf2Y5PjHI4J5MQ=; b=FCShqAvv0mwOCZIKCkjaoVaWtHtsO50AYx4ACzHThxd8fthVskQTwsE0CBATmBp4my 6HWvzhsWW3vPQPyqlMtMhPHUBeP7UOEI23RmyZWRzAoQM3zeM5wmWu7F6hM45Gk2rQ3v WwD+B5wRLKIs3lNpa9NYaYcjit8spBYCMDef8= 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=SKATBqbj7X2CR564SwP/dLT3NC5FsZFnYlvNBK+as6CupBcKVHpCd2veEf0dYu1dXx 9EIGwJ2DdWk6W+YNOsaiswAMFAMWVbcwQsNHZTc7+peQss5diUTafJVUrb6tKehPpy7e E+RwwsHeotDittu2wObPxH+lne749AYEGDIA4= MIME-Version: 1.0 Received: by 10.223.86.9 with SMTP id q9mr332894fal.25.1290631748730; Wed, 24 Nov 2010 12:49:08 -0800 (PST) Received: by 10.223.121.138 with HTTP; Wed, 24 Nov 2010 12:49:08 -0800 (PST) In-Reply-To: References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> <20101124111153.2cb2bfb1@core.draftnet> Date: Wed, 24 Nov 2010 14:49:08 -0600 Message-ID: From: Adam Vande More To: David DEMELIER Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Bruce Cran , Ian Smith , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 24 Nov 2010 20:49:10 -0000 On Wed, Nov 24, 2010 at 2:42 PM, David DEMELIER wrote: > Thanks for all your answers, I guess my battery is getting on its end of > life.. > > After running 30 minutes on battery, the percent is still 100% while > the remaining time is slowly decreasing.. Aaaah buying a new battery > costs around $134 ! > > I think I could live a few months before buying a new one but it sucks :-/ > One thing I forgot to mention is that this might be a good case for an SSD drive. I installed one in my old laptop w/ old worn battery and system performance and battery life increased significantly all for less than your new battery price. There's a lot of advantages to SSD's in a laptop. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 21:02: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 A110110657AB for ; Wed, 24 Nov 2010 21:02:50 +0000 (UTC) (envelope-from pyunyh@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 6CCAD8FC14 for ; Wed, 24 Nov 2010 21:02:50 +0000 (UTC) Received: by pxi1 with SMTP id 1so66455pxi.13 for ; Wed, 24 Nov 2010 13:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=QdO8NCVR5j+Phb9xcDgdazpWRwY5jAdPUwHe/r45+vs=; b=UIZDnCK7KYgsiFs67o43KPhi21h4X1vlHcJ7ty6r6Q7Fxmmox2pV1+zc/RdJvBzm2u UQnswK8hu231l/xR/i0zqMS4t+heydWSWiRRou/SNDThYCGIV57innzGo2672EsYYLiZ naiGTDveMYlDZ9zVN05cv7czVsX0XH//ulYi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=wNIyA2nF5O9e7pm/r3eSPRDKG+RnMAH0XihVgGpQk8lJLfAZ8AUpEcqS3hcPekIwJC cG5doSuHD4a5VprHPMN++EHdE3vGT6DnnuAu1lTgBOqGWbf6WK9EtVZ4y+YAkpIZa1l+ Ug7iUPjpBZUEavIBgdSpF+VB0+H/aNMPwdaIY= Received: by 10.142.83.10 with SMTP id g10mr4784538wfb.179.1290630975622; Wed, 24 Nov 2010 12:36:15 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id f5sm6544584wfg.2.2010.11.24.12.36.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 12:36:13 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 24 Nov 2010 12:35:08 -0800 From: Pyun YongHyeon Date: Wed, 24 Nov 2010 12:35:08 -0800 To: Garrett Cooper Message-ID: <20101124203508.GB14165@michelle.cdnetworks.com> References: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> 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 Stable , Andrew Moran , freebsd-questions@FreeBSD.org, Pyun YongHyeon Subject: Re: msk0 interface stops working when downloading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 21:02:50 -0000 On Tue, Nov 23, 2010 at 04:10:03PM -0800, Garrett Cooper wrote: > On Tue, Nov 23, 2010 at 3:25 PM, Andrew Moran wrote: > > > > Hey guys, > > > > After banging my head against this for a few hours, I've decided to ask for help. ? ? ?I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 system (tech specs here http://us.shuttle.com/J1_4100.aspx). ? I installed from DVD and the install went fine. > > > > I notice when I pkg_add -r anything, ?the network stops responding. > > > > Some details: > > > > 1) I can reproduce it 100% by downloading a large file. ? ? low traffic like the SSH connection does not trigger it. ? I think it's being triggered by traffic above a certain rate. > > 2) I can recover by restarting the network interfaces (/etc/rc.d/netif stop; ?/etc/rc.d/netif start) > > 3) I see no errors in dmesg or /var/log/messages. ?Nothing at all. > > 4) I've tried the following in /etc/sysctl.conf: > > net.inet.tcp.tso=0 > > net.inet.tcp.inflight.enable=0 > > > > and in /boot/loader.conf: > > hw.pci.enable_msix="0" > > hw.pci.enable_msi="0" > > hw.bce.tso_enable="0" > > > > But the problem persists. > > > > The interface is identified as: > > > > mskc0: port 0xe800-0xe8ff mem 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci2 > > msk0: on mskc0 > > msk0: Ethernet address: 80:ee:73:01:60:7d > > miibus0: on msk0 > > e1000phy0: PHY 0 on miibus0 > > e1000phy0: ?10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > > mskc0: [ITHREAD] > > > > Does anyone know what could be causing this or how I can resolve it? ? Any help is appreciated, thanks. > > 1. freebsd-stable is the proper list, not freebsd-current. > 2. I have a similar chipset (not the same though) that hasn't had > any issues for a while: > > $ pciconf -lv | grep -A 3 msk > mskc0@pci0:2:0:0: class=0x020000 card=0x81f81043 chip=0x436411ab > rev=0x12 hdr=0x00 > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > device = 'Yukon PCI-E Gigabit Ethernet Controller (88E8056)' > class = network > $ devinfo -v | grep -A 3 mskc0 > mskc0 pnpinfo vendor=0x11ab device=0x4364 subvendor=0x1043 > subdevice=0x81f8 class=0x020000 at slot=0 function=0 > msk0 > miibus0 > e1000phy0 pnpinfo oui=0x5043 model=0xb rev=0x1 at phyno=0 > $ uname -a > FreeBSD orangebox.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r215607M: > Sat Nov 20 21:22:34 UTC 2010 > gcooper@orangebox.local:/usr/obj/usr/src/sys/ORANGEBOX amd64 > > Sorry for not grabbing the full dmesg output, but unfortunately I > have BUS_DEBUG turned on for this test box, which blows out my syslog > buffer at boot :). > I've CCed yongari@ for comment. It seems there are a couple of msk(4) issues on Yukon Ultra and Ultra II controllers. Some revisions appear to work without problems but others didn't work well. You may have noticed there are a couple of msk(4) related PRs. Perhaps I have to sit down and verify every register access patterns and check controller status. For long time, one of the problem was lack of hardware access. There is no standalone PCIe Yukon Ultra/Ultra II controllers in market so it looks hard to get it in near future. :-( > Thanks, > -Garrett From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 21:49: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 076F110656C1 for ; Wed, 24 Nov 2010 21:49:12 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by mx1.freebsd.org (Postfix) with ESMTP id BF4FE8FC1D for ; Wed, 24 Nov 2010 21:49:11 +0000 (UTC) Received: from dyn-62-56-110-65.dslaccess.co.uk ([62.56.110.65] helo=[192.168.33.1]) by lon1-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PLNDC-0005Ys-X3 for freebsd-questions@freebsd.org; Wed, 24 Nov 2010 21:49:10 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Wed, 24 Nov 2010 21:49:09 -0000 MIME-Version: 1.0 Message-ID: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> Priority: normal X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 24 Nov 2010 21:49:12 -0000 Hi again. Firstly, many thanks for the responces to my questions. Much appreciated. Especialy as on other "lesser" forums (Lugs etc) I often get flamed for asking such stuff, and learn nothing as a result. OK. The FTP thing first.... Just for the heck of it, trying to use the built in server daemon, "because it's there" etc.... I've sort of got the default FTP server up and running thanks to the hints from you all, but pound to a penny, it's not optimaly configured, yet. I have two users defined, "ral" and "faros" (easy to remember, as they are the names of the two external automated systems I intend to have send data to the small website, when that's done.) Each with a unique password. Both are also members of a group "webupdater". (As an asside, creating users, regardless of what "shell" I pick from the list, I get "unknown root shell" warnings as adduser completes.) Both users can connect to the ftp server (still stuck at port 21 for now, but I'm manually starting it from the root command line) and log in with their username and password. (Both can also login to the system from the console too, not what I wanted, but...... I did try the "nologin" shell, but that prevents them from loging in to the FTP server too.) However, each user see's it's own unique homedir folder, exactly as described in the man pages, but I'd like them to see the folder structure below by default. I have created a directory '/var/site' and from that some decendant directories that mimic the existing site on the other machine. /site < the "root" folder for the FTP and WWW system. /site/60m /site/faros /site/faros/fixedimages /site/faros/parking I've been trying to use Groups, and the ftpchroot file, to get the "users" to see the /site directory as their root (for compatablility with the way things work on the other system, so I don't have to change existing batch and script files when I get to point them at this box) or their individual data directory 60m for ral and 'Faros' for Faros. However, the pages for that feature are a little thin in content detail that I can use. (I'm looking at the man pages and handbook files on the freebsd.org site) I have this in /etc/ftpchroot @webupdater /var/site And indeed, loging into the ftp server as either faros, or ral, the default directory is indeed the /site folder as I wish. As ftp users, then can traverse the tree downwards as needed, but not upwards from /site back to /var. Nice. But, neither user can read write or even see anything in those directories (only the decendant directories are visible.) Without that entry in ftpchroot, then I can indeed ftp stuff up/down/sideways to/from each user's home folder, but that's not a lot of use for what I want. I sort of understand the way the rights work (I think) but as yet I can't see a way to assign group rights to a folder tree. Navigating my way there in the console, if I do a ls -l, then I see what's sort of expected. drwxr-xr-x # root wheel 512 date time subfolder etc..... (# is a number) (when logged in as root, somewhat less, when logged in as ral or faros, but I can still list and read stuff.) Of course, the group "webupdater" is not listed, hence it's users wont be able to see or do anything. What have I missed? Can I assign group rights to a folder structure? Or, am I going about this all wrong. Problems and unfamiliarity asside, I'm sort of enjoying all this. But it's a near vertical learning curve, again... Best regards, time for the kettle to start work I think. Dave B. PS: I saw somewhere, that pureftp has had some recent security troubles. Can't find the details right now though. Ah.. Here we are.... http://www.vuxml.org/freebsd/533d20e7-f71f-11df-9ae1-000bcdf0a03b.html Like yesterday! Mind you, looking at it's features and abilities, I think I already need a second FreeBSD machine to play with to check this stuff out on. >><< From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 00:51: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 248A3106566B for ; Thu, 25 Nov 2010 00:51:36 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id A9BD38FC19 for ; Thu, 25 Nov 2010 00:51:35 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id oAP0aSgh087041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Nov 2010 01:36:28 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id oAP0aSqS095315 for ; Thu, 25 Nov 2010 01:36:28 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Thu, 25 Nov 2010 01:36:28 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: by XS4ALL Virus Scanner Subject: evolution-data-server build problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 00:51:36 -0000 Hi, I have a problem building evolution-data-server, and because of this a number of other ports don't build/upgrade either. ... gmake[4]: Entering directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel' CC libcamel_provider_1_2_la-camel-sasl-gssapi.lo camel-sasl-gssapi.c: In function 'gssapi_set_exception': camel-sasl-gssapi.c:157: error: implicit declaration of function 'error_message' camel-sasl-gssapi.c:157: warning: nested extern declaration of 'error_message' camel-sasl-gssapi.c:157: warning: assignment makes pointer from integer without a cast gmake[4]: *** [libcamel_provider_1_2_la-camel-sasl-gssapi.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1' gmake: *** [all] Error 2 ... Hope that someone knows how to solve this. Thanks in advance. Regards, Marco -- C++ is the best example of second-system effect since OS/360. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 01:20: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 EAF18106564A for ; Thu, 25 Nov 2010 01:20:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B99178FC0A for ; Thu, 25 Nov 2010 01:20:07 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 49B90E806AE; Wed, 24 Nov 2010 17:20:06 -0800 (PST) Date: Wed, 24 Nov 2010 17:20:06 -0800 From: Gary Kline To: Goran Lowkrantz Message-ID: <20101125012006.GA4263@thought.org> References: <20101124014312.GB12000@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 01:20:08 -0000 On Wed, Nov 24, 2010 at 02:23:33PM +0100, Goran Lowkrantz wrote: > --On November 23, 2010 17:43:12 -0800 Gary Kline wrote: > > >Maybe someone on-list can help me; after 5+ hours of clicking and > >typing, I can't find an atom cpu computer with dual NICs. I > >_thought_ I'd found a computer to replace to Kayak firewall > >[pfSense], but nada. > > > >Any wizards on this list have a clue? > > > >-- > > Gary Kline kline@thought.org http://www.thought.org Public Service > >Unix Journey Toward the Dawn, E-Book: http://www.thought.org > >The 7.97a release of Jottings: http://jottings.thought.org > > > > I run pfSense on this > > in this > > > - glz Well, it looks like this one is it; it has the enclosure and so on with take more assembly that I myself can do, but not a fellow computer geek. Since I'm doing this as-if from scratch, what's the best way of getting pfSense installed? Can I do it somehow over the wire or use a thumb drive? What I understand is that the board won't be in stock until Dec 20th and I need it by the 15th, so should I just google around? (I'm imagine all the tens of millions of peiople who are shopping for a board that runs a firewall integrated with FrreeBSD:-) Anybody? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 02:14: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 12E5C106566B for ; Thu, 25 Nov 2010 02:14:03 +0000 (UTC) (envelope-from amvandemore@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 979198FC13 for ; Thu, 25 Nov 2010 02:14:02 +0000 (UTC) Received: by fxm19 with SMTP id 19so378703fxm.13 for ; Wed, 24 Nov 2010 18:14:01 -0800 (PST) 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=8nzynEqGFGDXZNnkwdkBo/9ExwqmYB/ZVTFwjo3GgOA=; b=VPgIPdRM4YtEDa9SCWKQZGc0XUyT1vsdsYBmCuNa+gEYtps3CrS2zBYEnpOorleTng 8tLeksulOFepliCAqT+aXyqOq4Cp8dtO9sNd75+Znf3IpozmBBXFG3ozMyb7sf2Zg7SH LgCuf97IaO10YhVmNjoWVa0tjzIj82JqsgVvs= 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=AmEOmFRmqcm7glkzTMPmVVzuulVLxSIcPUFNLC/yITn5JfVpGGdAQnL3LlG3O9VSo0 9MnpuZXlYtCUV9YMZu4mYwUCfmT5KJfc3M659RBSKw76u0OeucaecfJycgj7EWCV865z yJ+tzJYdeyFoXlb7twpmMK6ghNjNLRsrd2dUw= MIME-Version: 1.0 Received: by 10.223.79.13 with SMTP id n13mr93767fak.139.1290651241474; Wed, 24 Nov 2010 18:14:01 -0800 (PST) Received: by 10.223.121.138 with HTTP; Wed, 24 Nov 2010 18:14:01 -0800 (PST) In-Reply-To: <20101125012006.GA4263@thought.org> References: <20101124014312.GB12000@thought.org> <20101125012006.GA4263@thought.org> Date: Wed, 24 Nov 2010 20:14:01 -0600 Message-ID: From: Adam Vande More To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Goran Lowkrantz , FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 02:14:03 -0000 On Wed, Nov 24, 2010 at 7:20 PM, Gary Kline wrote: > Anybody? > Gary, in case you didn't catch it the pcengines link already given to you is low power setup with comsumption comparable or better than an Atom. It's also been tested with FreeBSD and pfSense according to the manufacturers site. There's nothing wrong with Atom, but different models have different chipsets/NIC's and there may be a possibility of unsupported hardware. Perhaps it might be easier for you to go with a known commodity. pfSense documentation is offered on their website as well as community support. I suggest you start there. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 02:41: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 1DDF7106566C for ; Thu, 25 Nov 2010 02:41:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E44948FC1B for ; Thu, 25 Nov 2010 02:41:36 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id DB316E80944; Wed, 24 Nov 2010 18:41:35 -0800 (PST) Date: Wed, 24 Nov 2010 18:41:35 -0800 From: Gary Kline To: Adam Vande More Message-ID: <20101125024135.GB6090@thought.org> References: <20101124014312.GB12000@thought.org> <20101125012006.GA4263@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Goran Lowkrantz , FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 02:41:37 -0000 On Wed, Nov 24, 2010 at 08:14:01PM -0600, Adam Vande More wrote: > On Wed, Nov 24, 2010 at 7:20 PM, Gary Kline wrote: > > > Anybody? > > > > Gary, in case you didn't catch it the pcengines link already given to you is > low power setup with comsumption comparable or better than an Atom. It's > also been tested with FreeBSD and pfSense according to the manufacturers > site. There's nothing wrong with Atom, but different models have different > chipsets/NIC's and there may be a possibility of unsupported hardware. > Perhaps it might be easier for you to go with a known commodity. > > pfSense documentation is offered on their website as well as community > support. I suggest you start there. > Thanks Adam, I forwarded the other model to my friend at the U and didn't hear back. --Of course, for lots of the civilian class, it is almost T'giving :-) Good thing there is ~three weeks left... . gary > -- > Adam Vande More > _______________________________________________ > 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 Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 03:01:59 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 A2792106564A for ; Thu, 25 Nov 2010 03:01:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 768D88FC0A for ; Thu, 25 Nov 2010 03:01:59 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 996B7E80944; Wed, 24 Nov 2010 19:01:58 -0800 (PST) Date: Wed, 24 Nov 2010 19:01:58 -0800 From: Gary Kline Message-ID: <20101125030158.GC6090@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CED376C.60409@qeng-ho.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 03:01:59 -0000 Folks (mostly Adam), Hang on a sec. I think I misread what my friend said. Following is a snip of what he said was good; that this was among the stuff he installed a few years back and now was much better:: > ALIX.2D13 system board - $115 > CompactFlash card 4GB SLC - $20 > Enclosure - $9 > AC adapter - $13 Is this the same board and so forth that Arthur pointed me at below? My friend's name is Noah; what he saw was that the boad was not in stock and that it would not be restocked until 20dec. Because the 15th is better for Noah to drive down, I would like to have the stuff here when it's best for him. Figure ther have to be other vendors that sell this. gary On Wed, Nov 24, 2010 at 04:03:56PM +0000, Arthur Chance wrote: > On 11/24/10 01:43, Gary Kline wrote: > >Maybe someone on-list can help me; after 5+ hours of clicking and > >typing, I can't find an atom cpu computer with dual NICs. I > >_thought_ I'd found a computer to replace to Kayak firewall > >[pfSense], but nada. > > > >Any wizards on this list have a clue? > > I don't know if your requirement for an Atom CPU is absolute, or > you're just looking for a low power solution, but if it's the latter > and 100Mb/s networking is fast enough, I use one of these > > http://www.pcengines.ch/alix2d13.htm > > for my pfSense firewall. Three network interfaces so you have a DMZ, > plus a hardware crypto accelerator for VPNs. Total power consumption > measured at 5W. The alix2d2 is the 2 network port version. > > -- > "Although the wombat is real and the dragon is not, few know what a > wombat looks like, but everyone knows what a dragon looks like." > > -- Avram Davidson, _Adventures in Unhistory_ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 03:45: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 CD577106564A for ; Thu, 25 Nov 2010 03:45:43 +0000 (UTC) (envelope-from amvandemore@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 5B8CD8FC17 for ; Thu, 25 Nov 2010 03:45:42 +0000 (UTC) Received: by fxm19 with SMTP id 19so429822fxm.13 for ; Wed, 24 Nov 2010 19:45:42 -0800 (PST) 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=9ibIeuLRtnKaUElS1vShjgz24Avhl2sUpTnjhKm1hSM=; b=VurCMcFWyrGogB2MMzvcj8SAD53N4gJblb3fWIrgqF/g5pI3sz++7oaBXkgpvEu5wc 9qKdHOwktUd4/dvpoZuztoZ1CBbAyS9gsVDSY2ZruJ88i+8jJKxRDWR5+9iS27mqS3ya 4DsIktCw/KeCZ81yaTymYuiJxFKLhu/5oZ5KU= 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=vX4M9YI17Kj1ni753517R6U9vp4Aem7xPhzsAEw2wQhYh3t27682FstuhuJk4+LB2E mzuoLeVSdVMBWt4j+eaxSk6C6JpOeryFEU4pz55gN+FOMUdVAXiCS9qGeOp/O5Pjbe1R Z7TYvM0CtBbbgNovYDTjsX4Vn8IuwMWa1cA+4= MIME-Version: 1.0 Received: by 10.223.79.13 with SMTP id n13mr155599fak.139.1290656741694; Wed, 24 Nov 2010 19:45:41 -0800 (PST) Received: by 10.223.121.138 with HTTP; Wed, 24 Nov 2010 19:45:41 -0800 (PST) In-Reply-To: <20101125030158.GC6090@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> Date: Wed, 24 Nov 2010 21:45:41 -0600 Message-ID: From: Adam Vande More To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 03:45:44 -0000 On Wed, Nov 24, 2010 at 9:01 PM, Gary Kline wrote: > Folks (mostly Adam), > > Hang on a sec. I think I misread what my friend said. > Following is a snip of what he said was good; that this was among > the stuff he installed a few years back and now was much better:: > > > > ALIX.2D13 system board - $115 > > CompactFlash card 4GB SLC - $20 > > Enclosure - $9 > > AC adapter - $13 > > > Is this the same board and so forth that Arthur pointed me at below? > My friend's name is Noah; what he saw was that the boad was not in > stock and that it would not be restocked until 20dec. Because the > 15th is better for Noah to drive down, I would like to have the > stuff here when it's best for him. Figure ther have to be other > vendors that sell this. > Yes, but if you browse the manufacturer you'll see that there are other boards in-stock which meet your requirements like this one: http://www.pcengines.ch/alix6e1.htm Doesn't have battery but that's easy enough to address around and less to go wrong. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 03: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 1344D106564A for ; Thu, 25 Nov 2010 03:57:37 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from kane.compar.com (ns1.compar.com [207.236.25.66]) by mx1.freebsd.org (Postfix) with ESMTP id DC5D48FC16 for ; Thu, 25 Nov 2010 03:57:36 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by kane.compar.com (Postfix) with SMTP id BA63415B2869 for ; Tue, 23 Nov 2010 21:26:12 -0500 (EST) Message-ID: <773F790B3A3C435E991E5D796B87370B@hermes> From: "Matt Emmerton" To: "FreeBSD Mailing List" References: <20101124014312.GB12000@thought.org> Date: Tue, 23 Nov 2010 21:20:42 -0500 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 Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 03:57:37 -0000 > Maybe someone on-list can help me; after 5+ hours of clicking and > typing, I can't find an atom cpu computer with dual NICs. I > _thought_ I'd found a computer to replace to Kayak firewall > [pfSense], but nada. > > Any wizards on this list have a clue? You'd probably have to build one yourself out of parts. Any respectable computer shop will have Mini-ITX Atom motherboards and cases, just add another NIC to that along with memory/drives and you're done. Regards, -- Matt Emmerton From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 04:07: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 B504E106564A for ; Thu, 25 Nov 2010 04:07:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 87C358FC21 for ; Thu, 25 Nov 2010 04:07:50 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 56B84E80944; Wed, 24 Nov 2010 20:07:49 -0800 (PST) Date: Wed, 24 Nov 2010 20:07:49 -0800 From: Gary Kline To: Adam Vande More Message-ID: <20101125040749.GB7835@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 04:07:50 -0000 On Wed, Nov 24, 2010 at 09:45:41PM -0600, Adam Vande More wrote: > On Wed, Nov 24, 2010 at 9:01 PM, Gary Kline wrote: > > > Folks (mostly Adam), > > > > Hang on a sec. I think I misread what my friend said. > > Following is a snip of what he said was good; that this was among > > the stuff he installed a few years back and now was much better:: > > > > > > > ALIX.2D13 system board - $115 > > > CompactFlash card 4GB SLC - $20 > > > Enclosure - $9 > > > AC adapter - $13 > > > > > > Is this the same board and so forth that Arthur pointed me at below? > > My friend's name is Noah; what he saw was that the boad was not in > > stock and that it would not be restocked until 20dec. Because the > > 15th is better for Noah to drive down, I would like to have the > > stuff here when it's best for him. Figure ther have to be other > > vendors that sell this. > > > > Yes, but if you browse the manufacturer you'll see that there are other > boards in-stock which meet your requirements like this one: > > http://www.pcengines.ch/alix6e1.htm > > Doesn't have battery but that's easy enough to address around and less to go > wrong. all right. the thing is that here i don't know the requirments. if "6e1" is better, that good. > > -- > Adam Vande More -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 04:38: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 162CF106566B for ; Thu, 25 Nov 2010 04:38:50 +0000 (UTC) (envelope-from lamacont@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id C227E8FC16 for ; Thu, 25 Nov 2010 04:38:49 +0000 (UTC) Received: by qwb8 with SMTP id 8so523824qwb.13 for ; Wed, 24 Nov 2010 20:38:48 -0800 (PST) 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=JOhSynq64VdfDzkEK9/N99+qtD0dhn2sluUqgNZl1GQ=; b=xoh2+27TLHEwtEBpr3nWy8SviB5hhx8tm5p9IeaEovVpEhlUY2zvkm5MivdRWbJHLx Dm692Efk9o+bOIZb98cIoVqLQxO8x7gXylJRcl1M7cbhbH8EBrAYLP2b5V8cDUS6o8MI M+jPoObgIRSjfwVi+1fQceWW+ylBkZTZamoEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tnsafnkkDoLTnerXCO5ECKOI+VxGVjnqC9hDjSVbcO5kgkox7F3r6C0E424ER4fULl ivdnb7FYpyJot6LSjDQsyUS8Z2YarZmLtIJhopimVa8tcM6lkHz6I4nYRyDjNpgEZj7k +o01NiNJi123etJSsW3MMBDJ0RnqgcGbM/fe4= MIME-Version: 1.0 Received: by 10.224.2.85 with SMTP id 21mr243507qai.352.1290659928863; Wed, 24 Nov 2010 20:38:48 -0800 (PST) Received: by 10.224.10.197 with HTTP; Wed, 24 Nov 2010 20:38:48 -0800 (PST) Date: Thu, 25 Nov 2010 08:38:48 +0400 Message-ID: From: Lamac Lamaco To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gateway_enable="NO" 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, 25 Nov 2010 04:38:50 -0000 The system installed now and in adresses /etc or /etc/rc.d there is no script. Does system work in default as ROUTER? I ask this question, because i tried it works. As it is written "gateway_enable="NO" # Set to YES if this host will be a gateway" in the address -> /etc/defaults/rc.conf But if I write gateway_enable="NO" in the address /etc/rc.conf , my system will work in as ROUTER. I say this because the host in my system's local network can ping my system's global IP. As i know it can be only in ROUTER. Thanks. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 07:01: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 EDC79106566C; Thu, 25 Nov 2010 07:01:07 +0000 (UTC) (envelope-from jimmiejaz@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 94C248FC0C; Thu, 25 Nov 2010 07:01:07 +0000 (UTC) Received: by iwn39 with SMTP id 39so726153iwn.13 for ; Wed, 24 Nov 2010 23:01:07 -0800 (PST) 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=VUkxagnOLqOdNgT66lJNeNZj1mYyx7EFd4t0jqOkAVc=; b=Y4wHvpgp5N1SDYPYueigl8IkpIkqHIrZU9C1/SEKf3KrNV9iKgHJ1XqnR/Q6Pp9cLA rBioqbUMLe3/7EjVhILNRnwYRaDFYTySoT76DuQXvlSy8xpe+R+Ps2TNnEP53wyT49Cr hqoW49LAoqLH5rOAGxqY52u3cTYvvCR72y2Js= 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=xak/uWDM67rJzg4KG9TG5lJzPnUPahqYq5ApNaxQBq0w8lbv3lPj9M7h1IdZx1nT+L GLWbfBO+JW2xmnknIB+GCSIAUtBZvCtTNUhaHvTYFyDzzA1sz71vHHa1exu0sgxIf4Ee TKXtoGd9iqzSoKQjaczhJnb2Is+ubQYFQD0UY= Received: by 10.231.17.1 with SMTP id q1mr272434iba.153.1290668466795; Wed, 24 Nov 2010 23:01:06 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088799130.dsl.bell.ca [64.229.193.154]) by mx.google.com with ESMTPS id 34sm434120ibi.14.2010.11.24.23.01.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 23:01:05 -0800 (PST) Message-ID: <4CEE09AD.2050608@gmail.com> Date: Thu, 25 Nov 2010 02:01:01 -0500 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <4CED5F77.7030406@gmail.com> In-Reply-To: <4CED5F77.7030406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: gvfs-1.6.6' build failure 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, 25 Nov 2010 07:01:08 -0000 Deleting xz-5.0.0 and installing lzma-9.12 fixed this problem. Sorry for the noise, but a heads up if anyone else hits this issue. On 11/24/10 13:54, Jimmie James wrote: > FreeBSD jimmiejaz.org 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Nov 15 > 17:52:21 EST 2010 root@:/usr/obj/usr/src/sys/FORTYTWO i386 > > Hit this in the middle of the Gnome 2.32, I hit this error, any > suggestions? > /usr/lib/libarchive.so: undefined reference to `lzma_stream_encoder@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_alone_decoder@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_memusage@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_stream_decoder@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_code@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_end@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_lzma_preset@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_alone_encoder@XZ_5.0' > gmake[4]: *** [gvfsd-archive] Error 1 > Stop in /usr/ports/devel/gvfs. > *** Error code 1 > > Stop in /usr/ports/devel/gvfs. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 08:05: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 957AB106564A for ; Thu, 25 Nov 2010 08:05:16 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 771648FC18 for ; Thu, 25 Nov 2010 08:05:16 +0000 (UTC) Received: by pzk32 with SMTP id 32so8051pzk.13 for ; Thu, 25 Nov 2010 00:05:16 -0800 (PST) Received: by 10.143.30.15 with SMTP id h15mr364816wfj.149.1290672315870; Thu, 25 Nov 2010 00:05:15 -0800 (PST) Received: from localhost (118-93-172-88.dsl.dyn.ihug.co.nz [118.93.172.88]) by mx.google.com with ESMTPS id p8sm593789wff.4.2010.11.25.00.05.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Nov 2010 00:05:14 -0800 (PST) Date: Thu, 25 Nov 2010 21:05:09 +1300 From: Jonathan Chen To: freebsd-questions@freebsd.org Message-ID: <20101125080509.GA1852@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: PCI Parallel Port I/O card 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, 25 Nov 2010 08:05:16 -0000 Hi, I've got a system which has a PCI I/O card with a parallel port on it. I'd like my 8-STABLE/amd64 machine to recognise this card. The relevant bits of "pciconf -lcv" is: none2@pci0:4:6:0: class=0x070103 card=0x2000a000 chip=0x98659710 rev=0x00 hdr=0x00 vendor = 'MosChip Semiconductors (Was: Netmos Technology)' class = simple comms subclass = parallel port cap 01[48] = powerspec 2 supports D0 D3 current D0 However, a verbose boot reveals: ppc0: cannot reserve I/O port range ppc0: failed to probe at irq 7 on isa0 which is due to /boot/device.hints of: hint.ppc.0.at="isa" hint.ppc.0.irq="7" How can I configure my system to recognise the parallel port on the PCI bus? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Opportunities are seldom labeled From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 08:21:05 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 DFFE3106564A for ; Thu, 25 Nov 2010 08:21:05 +0000 (UTC) (envelope-from swell.k@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 96F9D8FC19 for ; Thu, 25 Nov 2010 08:21:05 +0000 (UTC) Received: by gxk8 with SMTP id 8so348794gxk.13 for ; Thu, 25 Nov 2010 00:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=U8GehtzvJEd7KknqWyuaDEHjwXdxaZrv29xy/4kPrB4=; b=VN/d4jymUAb60iqxRzrUDqOY3byYk5DxwldJINltRtFhQg1aMsqwH+gEIBT0sLYlUu 37lCLBBtss5SQp9j7PCWdwBUJuphOuZX7J2y1JXq0O12OV58q7c/Etc1/BkbaWuV3DBb gH7nNU05E0tBI1I9GWBLC6oXZR5FdI4B6BU3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=JN/IixqWWvXNFy4eNBbn0EBLm5j1o1c/UQ/TmAYc/4i6CgTBA3h29sLsJ3b73NSLlD 2gdWNWMpLaOSM8NDy/iEwdX2b/dP7IAcCbL4m5XKgZ+WwmwUYP81RQxFiYwQjrM4/Pgj B9cF+QMfUChqbm29Gidm0ULVmIk8Zca8U5vSM= Received: by 10.101.167.20 with SMTP id u20mr351824ano.108.1290671430548; Wed, 24 Nov 2010 23:50:30 -0800 (PST) Received: from localhost (64-141-93-178.pool.ukrtel.net [178.93.141.64]) by mx.google.com with ESMTPS id t39sm520397ano.27.2010.11.24.23.50.21 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 23:50:29 -0800 (PST) From: Anonymous To: Alexander Best References: <20101123210013.GA71784@freebsd.org> Date: Thu, 25 Nov 2010 10:49:42 +0300 In-Reply-To: <20101123210013.GA71784@freebsd.org> (Alexander Best's message of "Tue, 23 Nov 2010 21:00:13 +0000") Message-ID: <86ipzlg7vt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org Subject: Re: libm alternative in ports 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, 25 Nov 2010 08:21:06 -0000 Alexander Best writes: > hi there, > > does anybody if there's an alternative for libm in the ports dir? i need it, > because the newest snapshots of mplayer require log2() and log2f(), which the > base libm doesn't support. for mplayer I'd suggest using code from x264 because both projects use GPLv2+ #if !HAVE_LOG2F #define log2f(x) (logf(x)/0.693147180559945f) #define log2(x) (log(x)/0.693147180559945) #endif From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 09:11: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 755C7106566C for ; Thu, 25 Nov 2010 09:11:24 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 5675B8FC16 for ; Thu, 25 Nov 2010 09:11:24 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAP9BKd1073203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 25 Nov 2010 01:11:20 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAP9BKCQ073202; Thu, 25 Nov 2010 01:11:20 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA22409; Thu, 25 Nov 10 01:06:30 PST Date: Thu, 25 Nov 2010 01:06:19 -0800 From: perryh@pluto.rain.com To: cyberleo@cyberleo.net Message-Id: <4cee270b.KKnqquLgJdG/1gVq%perryh@pluto.rain.com> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> <4CEC23D9.6090600@cyberleo.net> <4cecee6a.FUrbpNUbt2xJT/Wf%perryh@pluto.rain.com> <4CED65C1.5040102@cyberleo.net> In-Reply-To: <4CED65C1.5040102@cyberleo.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, kraduk@gmail.com Subject: Re: a gmirror disappears after adding gjournals to its partitions 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, 25 Nov 2010 09:11:24 -0000 CyberLeo Kitsana wrote: > ... I hope it makes sense! No problem with the explanation making sense; what I don't follow is the behavior of bsdlabel. Given the way I set it up this drive _should_ contain _two_ labels, but for some unfathomable reason bsdlabel seems to be using the second (inner) one while ignoring the first (outer) one entirely. The device itself is ad0. Its MBR contains a slice table, defining ad0s1 and ad0s2. (ad0s1 is FAT32 and AFAIK need not be considered further at this point.) ad0s2 starts with a bsdlabel, which defines ad0s2a and ad0s2b. (ad0s2b is intended to be used as swap and, like ad0s1, need not be considered further at this point -- but it _should_ be instantiated along with ad0s2a.) ad0s2a is supposed to be the provider for gm0, and it starts with a bsdlabel that is intended to partition gm0 into gm0[ade], but since geom_mirror.ko hasn't been loaded yet gm0 doesn't exist and ad0s2a is just a partition that happens to start with a bsdlabel and end with gmirror metadata. I could understand if bsdlabel tasted ad0s2a, found the label, and (recursively) instantiated ad0s2aa, ad0s2ad, and ad0s2ae; but that doesn't seem to happen. Instead, bsdlabel seems to ignore (or forget) the first label it tasted -- the one on ad0s2 -- and treats the one on ad0s2a as applying to ad0s2. We end up with ad0s2a containing the disk blocks intended for gm0a, ad0s2d containing the disk blocks intended for gm0d, ad0s2e containing the disk blocks intended for gm0e; and the blocks intended for ad0s2b (swap) -- which were not supposed to have been involved with any mirror or journal -- seem to have disappeared entirely. This seems like a bug. Now gjournal gets into the act, consuming the phony ad0s2[ade] before gmirror gets a chance to taste the real ad0s2a and instantiate gm0. That explains why gm0 and /dev/mirror are missing, but not why ad0s2b is missing, nor why we have ad0s2[ade] (and the corresponding .journal's) rather than ad0s2a[ade] (and their .journal's). > > (This machine is likely too old to understand GPT.) > > The machine's bios does not need to understand GPT to use it on a > pure data disk; only as a boot disk. This is, however, intended as a boot disk -- gm0a, gm0d, and gm0e are supposed to be root, /var, and /usr respectively -- and it does seem to boot OK until it tries find the root FS (because /etc/fstab is set up to use gm0[ade].journal instead of ad0s2[ade].journal). I suppose I could try partitioning ad0s2a with gpt instead of with bsdlabel, but would the loader still be able to find the kernel? From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 09:39: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 45492106564A for ; Thu, 25 Nov 2010 09:39:55 +0000 (UTC) (envelope-from demelier.david@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 C14658FC16 for ; Thu, 25 Nov 2010 09:39:54 +0000 (UTC) Received: by bwz2 with SMTP id 2so732403bwz.13 for ; Thu, 25 Nov 2010 01:39:53 -0800 (PST) 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=1S9T9tZGhOooBepuU2WNZdTK3cQ1xKGym1UeKeQZ8oE=; b=tguMv49EeAmzBXv2mz1ajsQZ5fAU0vwJENrBkYwgBfjR7VW+ek2VKAzDl/3ERvzaFk MBaUAQuOOCYi0NlxFBb8VzaeC39H08FrRYWXH9BAbvUDmjx8L5l4gUeVHCgdFWdFuWJv iiUyYSLbFj+90y+RssZBwa2N2aft5DBb57U7w= 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=JKfYjVvqcDUPjmcpZV85a9o/rChD6XRQMOsX8PEa2QwO4k5S0btlIhutwG445dDY6y zTqW5IS/0w3AtazENjFDgBxERuqCOMraAKh0Ok4vJsTTmzdbd0TkDeGFBKsiYdg8WTQt T+G91p4bE9GZ1bJd0ElmUN/uufETea7wtWIVs= MIME-Version: 1.0 Received: by 10.204.120.71 with SMTP id c7mr463013bkr.4.1290677993275; Thu, 25 Nov 2010 01:39:53 -0800 (PST) Received: by 10.204.127.20 with HTTP; Thu, 25 Nov 2010 01:39:53 -0800 (PST) In-Reply-To: References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> <20101124111153.2cb2bfb1@core.draftnet> Date: Thu, 25 Nov 2010 10:39:53 +0100 Message-ID: From: David DEMELIER To: Adam Vande More Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Bruce Cran , Ian Smith , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 25 Nov 2010 09:39:55 -0000 2010/11/24 Adam Vande More : > On Wed, Nov 24, 2010 at 2:42 PM, David DEMELIER > wrote: >> >> Thanks for all your answers, I guess my battery is getting on its end of >> life.. >> >> After running 30 minutes on battery, the percent is still 100% while >> the remaining time is slowly decreasing.. Aaaah buying a new battery >> costs around $134 ! >> >> I think I could live a few months before buying a new one but it sucks := -/ > > One thing I forgot to mention is that this might be a good case for an SS= D > drive.=C2=A0 I installed one in my old laptop w/ old worn battery and sys= tem > performance and battery life increased significantly all for less than yo= ur > new battery price.=C2=A0 There's a lot of advantages to SSD's in a laptop= . > > > -- > Adam Vande More > Yes, I would like to have SSD in my laptop but it's really expensive for the moment. But I completely agree, there is so much advantages : unbreakable, fast, ... --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 12:42: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 8E403106566C for ; Thu, 25 Nov 2010 12:42:36 +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 07BCD8FC08 for ; Thu, 25 Nov 2010 12:42:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id oAPCgO2Z099301; Thu, 25 Nov 2010 23:42:25 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 25 Nov 2010 23:42:24 +1100 (EST) From: Ian Smith To: David DEMELIER In-Reply-To: Message-ID: <20101125214233.B37255@sola.nimnet.asn.au> References: <20101124024133.07F28106575F@hub.freebsd.org> <20101124144746.H37255@sola.nimnet.asn.au> <20101124111153.2cb2bfb1@core.draftnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Bruce Cran , Adam Vande More , freebsd-questions@freebsd.org Subject: Re: How long laptop battery should live ? 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, 25 Nov 2010 12:42:36 -0000 On Wed, 24 Nov 2010, David DEMELIER wrote: > Thanks for all your answers, I guess my battery is getting on its end of life.. > > After running 30 minutes on battery, the percent is still 100% while > the remaining time is slowly decreasing.. Aaaah buying a new battery > costs around $134 ! Despite what its internal chip [mis-]reports, how long will it actually run on this battery with a moderate or no load? Watching actual battery voltage, say once a minute as it runs down, or while charging, will give you a much better idea of real condition. I tend to run something like: % cat ~/bin/t23loop #!/bin/sh [ "$1" ] && sleep=$1 || sleep=60 while true; do t23stat | tee -a ~/t23loop.out sleep $sleep done % cat ~/bin/t23stat #!/bin/sh echo -n "`date` " sysctl dev.cpu.0.freq dev.cpu.0.cx_usage sysctl dev.acpi_ibm | egrep 'fan_|thermal' sysctl hw.acpi.thermal.tz0.temperature acpiconf -i0 | egrep 'State|Remain|Present|Volt' .. but just logging date and the acpiconf would be enough for this. Have you tried one round of the battery meter conditioning I mentioned, to see if it shows any improvement? Worked for me, anyway > I think I could live a few months before buying a new one but it sucks :-/ Clues to save power may be helpful but don't really address this issue; still, one of the best is http://wiki.freebsd.org/TuningPowerConsumption cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 12:48: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 A4EF5106566B for ; Thu, 25 Nov 2010 12:48:49 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 315F98FC13 for ; Thu, 25 Nov 2010 12:48:48 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id oAPCmlbW026496; Thu, 25 Nov 2010 12:48:48 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4CEE5B2F.3040401@qeng-ho.org> Date: Thu, 25 Nov 2010 12:48:47 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101030 Thunderbird/3.0.10 MIME-Version: 1.0 To: Gary Kline References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> In-Reply-To: <20101125030158.GC6090@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 12:48:49 -0000 On 11/25/10 03:01, Gary Kline wrote: > Folks (mostly Adam), > > Hang on a sec. I think I misread what my friend said. > Following is a snip of what he said was good; that this was among > the stuff he installed a few years back and now was much better:: > > >> ALIX.2D13 system board - $115 >> CompactFlash card 4GB SLC - $20 >> Enclosure - $9 >> AC adapter - $13 > > > Is this the same board and so forth that Arthur pointed me at below? > My friend's name is Noah; what he saw was that the boad was not in > stock and that it would not be restocked until 20dec. Because the > 15th is better for Noah to drive down, I would like to have the > stuff here when it's best for him. Figure ther have to be other > vendors that sell this. OK, I'm in the UK as are these people I buy from, but they do prices in dollars as well as pounds and euros, and will ship to the US. They don't have a 2d13 at the moment but do have 2d3s in stock (the 2d13 has a battery and RTC extra, that's all). http://linitx.com/index.php They've got enclosures, but the power supplies are european plugs. However, they are universal (100-250V), so an EU->US adapter would work. I use a SanDisk CF card in mine, and the pfSense install worked like a dream. The only wrinkle is remembering to change the serial line speed from 19200 to 9600 baud before installing pfSense, as the serial bootloader likes 9600. I'd recommend getting "pfSense: The Definite Guide" as well http://www.amazon.com/pfSense-Definitive-Christopher-M-Buechler/dp/0979034280/ref=sr_1_1/177-9101540-7293707?ie=UTF8&s=books&qid=1290689178&sr=1-1 From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 14:42: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 B2A2B106566B for ; Thu, 25 Nov 2010 14:42:10 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9418FC0A for ; Thu, 25 Nov 2010 14:42:09 +0000 (UTC) Received: by wwd20 with SMTP id 20so927829wwd.31 for ; Thu, 25 Nov 2010 06:42:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.15.10 with SMTP id e10mr4039572wee.21.1290696124968; Thu, 25 Nov 2010 06:42:04 -0800 (PST) Sender: nvidican@m2.vidican.com Received: by 10.216.188.18 with HTTP; Thu, 25 Nov 2010 06:42:04 -0800 (PST) X-Originating-IP: [216.118.213.14] In-Reply-To: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> Date: Thu, 25 Nov 2010 09:42:04 -0500 X-Google-Sender-Auth: K1nRKUJ18DGubf2aEjNH7x2C0Ls Message-ID: From: Nathan Vidican To: Dave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 25 Nov 2010 14:42:10 -0000 On Wed, Nov 24, 2010 at 4:49 PM, Dave wrote: > Hi again. > > Firstly, many thanks for the responces to my questions. Much > appreciated. Especialy as on other "lesser" forums (Lugs etc) I often > get flamed for asking such stuff, and learn nothing as a result. > > > OK. The FTP thing first.... Just for the heck of it, trying to use > the built in server daemon, "because it's there" etc.... > > I've sort of got the default FTP server up and running thanks to the > hints from you all, but pound to a penny, it's not optimaly configured, > yet. > > I have two users defined, "ral" and "faros" (easy to remember, as they > are the names of the two external automated systems I intend to have send > data to the small website, when that's done.) Each with a unique > password. > > Both are also members of a group "webupdater". > > (As an asside, creating users, regardless of what "shell" I pick from the > list, I get "unknown root shell" warnings as adduser completes.) > > Both users can connect to the ftp server (still stuck at port 21 for now, > but I'm manually starting it from the root command line) and log in with > their username and password. > > (Both can also login to the system from the console too, not what I > wanted, but...... I did try the "nologin" shell, but that prevents them > from loging in to the FTP server too.) > > However, each user see's it's own unique homedir folder, exactly as > described in the man pages, but I'd like them to see the folder structure > below by default. > > I have created a directory '/var/site' and from that some decendant > directories that mimic the existing site on the other machine. > > /site < the "root" folder for the FTP and WWW > system. > /site/60m > /site/faros > /site/faros/fixedimages > /site/faros/parking > > I've been trying to use Groups, and the ftpchroot file, to get the > "users" to see the /site directory as their root (for compatablility with > the way things work on the other system, so I don't have to change > existing batch and script files when I get to point them at this box) or > their individual data directory 60m for ral and 'Faros' for Faros. > > However, the pages for that feature are a little thin in content detail > that I can use. (I'm looking at the man pages and handbook files on the > freebsd.org site) > > I have this in /etc/ftpchroot > @webupdater /var/site > > And indeed, loging into the ftp server as either faros, or ral, the > default directory is indeed the /site folder as I wish. As ftp users, > then can traverse the tree downwards as needed, but not upwards from > /site back to /var. Nice. > > But, neither user can read write or even see anything in those > directories (only the decendant directories are visible.) > > Without that entry in ftpchroot, then I can indeed ftp stuff > up/down/sideways to/from each user's home folder, but that's not a lot of > use for what I want. > > I sort of understand the way the rights work (I think) but as yet I can't > see a way to assign group rights to a folder tree. > > Navigating my way there in the console, if I do a ls -l, then I see > what's sort of expected. > drwxr-xr-x # root wheel 512 date time subfolder etc..... > (# is a number) (when logged in as root, somewhat less, when logged in > as ral or faros, but I can still list and read stuff.) > > Of course, the group "webupdater" is not listed, hence it's users wont be > able to see or do anything. > > What have I missed? Can I assign group rights to a folder structure? > Or, am I going about this all wrong. > > Problems and unfamiliarity asside, I'm sort of enjoying all this. But > it's a near vertical learning curve, again... > > Best regards, time for the kettle to start work I think. > > Dave B. > > PS: I saw somewhere, that pureftp has had some recent security > troubles. > Can't find the details right now though. > > Ah.. Here we are.... > http://www.vuxml.org/freebsd/533d20e7-f71f-11df-9ae1-000bcdf0a03b.html > Like yesterday! > > Mind you, looking at it's features and abilities, I think I already need > a second FreeBSD machine to play with to check this stuff out on. > > >><< > > _______________________________________________ > 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" > Two commands of interest here, 'chmod' and 'chown'. I'd highly suggest reading the manpage on both, but here's the short/quick-start version: chmod - used to change permissions for a file or directory - permissions are broken down into: 2=read, 4=write, 1=execute - permissions are displayed in group of three, corresponding to owner-group-everyone else - so chmod 666 means "make owner,group,everyone each able to read(2) plus write(4) (2+4=6) - the first number indicating the owner of the files permission, the second the group, and the last everyone - so when you noted seeing "drwxr-xr-x" - that's 755 (owner read+write+execute(7), group read+execute (5), everyone else read+execute(5) - in order for a user to 'cd' to a directory, the execute permission must be set - to answer your original question then, "chmod 775 " would then change the permissions to that the group can write as well chown - used to change ownership of a file or directory - can change owner, or group ownership - syntax is "chown user:group " As far as the FTP thing goes, you need to make sure that the shell you assign the user is listed in /etc/shells - that's what the system 'standard' ftpd is looking for. -- Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 16:25: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 7B5EE106564A for ; Thu, 25 Nov 2010 16:25:43 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from cc-smtpout3.netcologne.de (cc-smtpout3.netcologne.de [89.1.8.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCDA8FC13 for ; Thu, 25 Nov 2010 16:25:42 +0000 (UTC) Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 7E30712E1D; Thu, 25 Nov 2010 17:25:41 +0100 (CET) Received: from llea.celt.neu (xdsl-89-0-141-236.netcologne.de [89.0.141.236]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 47DFD11E77; Thu, 25 Nov 2010 17:25:39 +0100 (CET) Message-ID: <4CEE8E03.8010805@laposte.net> Date: Thu, 25 Nov 2010 17:25:39 +0100 From: =?ISO-8859-15?Q?Michael_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101122 SeaMonkey/2.0.10 MIME-Version: 1.0 To: Anonymous References: <20101123210013.GA71784@freebsd.org> <86ipzlg7vt.fsf@gmail.com> In-Reply-To: <86ipzlg7vt.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Best , freebsd-questions@freebsd.org Subject: Re: libm alternative in ports 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, 25 Nov 2010 16:25:43 -0000 Hello all, Anonymous wrote: > Alexander Best writes: >> does anybody if there's an alternative for libm in the ports dir? i need it, >> because the newest snapshots of mplayer require log2() and log2f(), which the >> base libm doesn't support. > > for mplayer I'd suggest using code from x264 because both projects use GPLv2+ > > #if !HAVE_LOG2F > #define log2f(x) (logf(x)/0.693147180559945f) > #define log2(x) (log(x)/0.693147180559945) > #endif In `math.h', there is the following definition: --8<--- #define M_LN2 0.69314718055994530942 /* log e2 */ --8<--- of which you can take advantage for your definition of log2f and log2. Note that this macro is not described in math(3). -- Regards, Michael From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 16:26: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 393321065670 for ; Thu, 25 Nov 2010 16:26:35 +0000 (UTC) (envelope-from bluethundr@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C641D8FC25 for ; Thu, 25 Nov 2010 16:26:34 +0000 (UTC) Received: by wwd20 with SMTP id 20so1015308wwd.31 for ; Thu, 25 Nov 2010 08:26:33 -0800 (PST) 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=LRjqoAqlHhf7M4sCASoFG4IuksVdH/iR/TTvcrNR0UE=; b=pjna2LgjSdPUQuGMLzzWsD02zP5ecrUma75tiVbu74lEMHOnF3ONlbbSXSJp16A4eN 7bxbMWXCTeV0RmwxE4iC5sC9LUbaFOlJkxYlx/Pbqtz/npNtw8NSton/3zVj98mxxNIZ Veh7BkZajCfmV4gWWu1UYACQDP2As80aC7SzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VsgDFxJi3b4M1M6bIoWPDOUEQDmaQnSl99q3M3vXAYZiJNG+OVd8KCzwHv/uWInOdr cskoXBOiffJ9fipVAS5ioPtdZIIV+R/EwzDwlhXiGz3PrmSu9NkAlCbKV2kn8Ul0p6Fx Pooh3C+ufIm+XORQ7IZADQObexKeYaRYSzv6c= MIME-Version: 1.0 Received: by 10.216.231.146 with SMTP id l18mr955560weq.52.1290702393238; Thu, 25 Nov 2010 08:26:33 -0800 (PST) Received: by 10.216.19.142 with HTTP; Thu, 25 Nov 2010 08:26:33 -0800 (PST) Date: Thu, 25 Nov 2010 11:26:33 -0500 Message-ID: From: bluethundr To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: can't use godaddy SSL cert 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, 25 Nov 2010 16:26:35 -0000 Hey list, I was having a similar SSL/openLDAP problem to this last week. I had a chance to look at this again today and it still appears to not be working. I called godaddy and had the last cert cancelled and reissued as I had mis-typed the name of the CN on the last one. I am trying to setup a Godaddy turbo SSL certificate with an openLDAP 2.4 server under FreeBSD 8.1. [root@LBSD2:/usr/home/bluethundr]#pkg_info | grep openldap openldap-sasl-client-2.4.23 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.23 Open source LDAP server implementation I have setup the certificate chain in my slapd.conf like so: [root@LBSD2:/usr/home/bluethundr]#grep -i tls /usr/local/etc/openldap/slapd.conf## TLS options for slapd TLSCipherSuite HIGH:MEDIUM:+SSLv2 TLSCertificateFile /usr/local/etc/openldap/cacerts/LBSD2.summitnjhome.com.crt TLSCertificateKeyFile /usr/local/etc/openldap/cacerts/slapd.pem TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt I have tried each of the following certs with no luck in getting my cert to talk to it's CA: -rw-r--r-- 1 root bluethundr 2604 Nov 25 11:37 ca_bundle.crt -r--r----- 1 root ldap 4604 Nov 24 18:57 gd_bundle.crt -r--r----- 1 root ldap 1537 Nov 25 02:00 sf_issuing.crt and I get the same result for each when I attempt to connect to SSL on the LDAP server: [root@LCENT01:/tmp/Foswiki-1.1.2]#openssl s_client -connect ldap.example.com:389 -showcerts -CAfile sf_issuing.crt 13730:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('sf_issuing.crt','r') 13730:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125: 13730:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:279: CONNECTED(00000003) 13730:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188: ldapsearch -h ldap.example.com -d -1 -ZZ "dc=example,dc=com" TLS certificate verification: depth: 0, err: 20, subject: /O=LBSD2.summitnjhome.com/OU=Domain Control Validated/CN=LBSD2.summitnjhome.com, issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287 TLS certificate verification: Error, unable to get local issuer certificate tls_write: want=7, written=7 0000: 15 03 01 00 02 02 30 ......0 TLS trace: SSL3 alert write:fatal:unknown CA TLS trace: SSL_connect:error in SSLv3 read server certificate B TLS trace: SSL_connect:error in SSLv3 read server certificate B TLS: can't connect. ldap_perror ldap_start_tls: Connect error (-11) additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed It seems to indicate that it can't talk to it's CA... does anyone have any suggestions on how to make this work? thanks! -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys B6D6EAC3 From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 15:40:13 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 803B9106564A for ; Thu, 25 Nov 2010 15:40:13 +0000 (UTC) (envelope-from wgonzalez@gtdinternet.com) Received: from mta3.gtdinternet.com (mta3.gtdinternet.com [201.238.246.243]) by mx1.freebsd.org (Postfix) with ESMTP id 40CF98FC0A for ; Thu, 25 Nov 2010 15:40:12 +0000 (UTC) Received: from [200.75.19.222] (unknown [200.75.19.222]) by mta3.gtdinternet.com (Postfix) with ESMTP id 50FE67B02AB for ; Thu, 25 Nov 2010 12:21:52 -0300 (CLST) Message-ID: <4CEE7F05.5030703@gtdinternet.com> Date: Thu, 25 Nov 2010 12:21:41 -0300 From: Walter Gonzalez Flores User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 25 Nov 2010 16:42:28 +0000 Cc: Subject: Mirror Site Requirements. 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, 25 Nov 2010 15:40:13 -0000 Hello everyone!. I work for an ISP and we would like to be mirror site for downloads. What are the requirements for this?. Greetings. Lacnic Info: Name: GTD Internet S.A. ASN: 14259 -- Walter González Flores Cisco CCNA Certified CSCO ID CSCO11327392 Administrador de Conectividad y Redes Área Ingeniería GTD Internet S.A. http://www.grupogtd.com Moneda 920, Oficina 602 - Fono : +562 4139846 From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 17:10:25 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 589731065674 for ; Thu, 25 Nov 2010 17:10:25 +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 634858FC26 for ; Thu, 25 Nov 2010 17:10:24 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 2125F1C0852 for ; Thu, 25 Nov 2010 18:10:22 +0100 (CET) Message-ID: <4CEE987D.9040008@locolomo.org> Date: Thu, 25 Nov 2010 18:10:21 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: can't use godaddy SSL cert 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, 25 Nov 2010 17:10:25 -0000 On 25/11/10 17.26, bluethundr wrote: > I have setup the certificate chain in my slapd.conf like so: > > [root@LBSD2:/usr/home/bluethundr]#grep -i tls > /usr/local/etc/openldap/slapd.conf## TLS options for slapd > TLSCipherSuite HIGH:MEDIUM:+SSLv2 > TLSCertificateFile /usr/local/etc/openldap/cacerts/LBSD2.summitnjhome.com.crt > TLSCertificateKeyFile /usr/local/etc/openldap/cacerts/slapd.pem > TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt > > I have tried each of the following certs with no luck in getting my > cert to talk to it's CA: > > -rw-r--r-- 1 root bluethundr 2604 Nov 25 11:37 ca_bundle.crt > -r--r----- 1 root ldap 4604 Nov 24 18:57 gd_bundle.crt > -r--r----- 1 root ldap 1537 Nov 25 02:00 sf_issuing.crt As mentioned in my previous mail, there is no need to specify TLSCACertificateFile in slapd.conf unless your server will request client certificate for authentication. Nor is there any point in trying multiple files, you can concatenate the CA certificates into a single fiel. Since these are certificates you can leave global read access. > and I get the same result for each when I attempt to connect to SSL on > the LDAP server: > > [root@LCENT01:/tmp/Foswiki-1.1.2]#openssl s_client -connect > ldap.example.com:389 -showcerts -CAfile sf_issuing.crt > 13730:error:02001002:system library:fopen:No such file or > directory:bss_file.c:122:fopen('sf_issuing.crt','r') > 13730:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125: > 13730:error:0B084002:x509 certificate > routines:X509_load_cert_crl_file:system lib:by_file.c:279: > CONNECTED(00000003) > 13730:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake > failure:s23_lib.c:188: Can't find sf_issuing.crt, well, from your CWD it appears that the certificate is not found in that path. > ldapsearch -h ldap.example.com -d -1 -ZZ "dc=example,dc=com" > > TLS certificate verification: depth: 0, err: 20, subject: > /O=LBSD2.summitnjhome.com/OU=Domain Control > Validated/CN=LBSD2.summitnjhome.com, issuer: > /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, > Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure > Certification Authority/serialNumber=07969287 > TLS certificate verification: Error, unable to get local issuer certificate > tls_write: want=7, written=7 > 0000: 15 03 01 00 02 02 30 ......0 > TLS trace: SSL3 alert write:fatal:unknown CA > TLS trace: SSL_connect:error in SSLv3 read server certificate B > TLS trace: SSL_connect:error in SSLv3 read server certificate B > TLS: can't connect. > ldap_perror > ldap_start_tls: Connect error (-11) > additional info: error:14090086:SSL > routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed > > It seems to indicate that it can't talk to it's CA... > > does anyone have any suggestions on how to make this work? No. I assume that your hostname is the CN indicated above, so your -h is not the issue. When you do -ZZ then ldapsearch will fail if it cannot validate the certificate. You can try with a single -Z to see if it works. You have not included your ldap.conf above, the ldapsearch reads ldap.conf, including where to find any ca certificates. Either you have not installed the godaddy CA certificate or not updated our ldap.conf accordingly. BR, Erik From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18:17: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 2493D106566C for ; Thu, 25 Nov 2010 18:17:15 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from out3d.electric.net (out3d.electric.net [72.35.12.39]) by mx1.freebsd.org (Postfix) with ESMTP id F10418FC0A for ; Thu, 25 Nov 2010 18:17:14 +0000 (UTC) Received: from 1PLf69-0002R6-V3 by out3d.electric.net with emc1-ok (Exim 4.69) (envelope-from ) id 1PLf6A-0002RL-TD; Thu, 25 Nov 2010 08:55:06 -0800 Received: by emcmailer; Thu, 25 Nov 2010 08:55:06 -0800 Received: from [208.70.132.28] (helo=smtp-gw54.mailanyone.net) by out3d.electric.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PLf69-0002R6-V3; Thu, 25 Nov 2010 08:55:05 -0800 Received: from mailanyone.net by smtp-gw54.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1PLf7i-0003BY-7b; Thu, 25 Nov 2010 10:56:44 -0600 References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8B117) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <2A647C97-7567-4606-8076-5D2D565DD2BE@identry.com> X-Mailer: iPhone Mail (8B117) From: John Almberg Date: Thu, 25 Nov 2010 11:55:39 -0500 To: bluethundr X-Outbound-IP: 208.70.132.28 X-Env-From: jalmberg@identry.com X-PolicySMART: 1184787 X-Virus-Status: Scanned by VirusSMART (c) Cc: freebsd-questions Subject: Re: can't use godaddy SSL cert 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, 25 Nov 2010 18:17:15 -0000 Don't know if this applies, but I had to install the intermediate cert to ge= t the godaddy Certs to work. You can download it from the gd website. -- John Sent from my iPhone, so may be a bit brief. On Nov 25, 2010, at 11:26, bluethundr wrote: > Hey list, >=20 > I was having a similar SSL/openLDAP problem to this last week. I had > a chance to look at this again today and it still appears to not be > working. I called godaddy and had the last cert cancelled and reissued > as I had mis-typed the name of the CN on the last one. >=20 > I am trying to setup a Godaddy turbo SSL certificate with an openLDAP > 2.4 server under FreeBSD 8.1. >=20 > [root@LBSD2:/usr/home/bluethundr]#pkg_info | grep openldap > openldap-sasl-client-2.4.23 Open source LDAP client implementation > with SASL2 support > openldap-sasl-server-2.4.23 Open source LDAP server implementation >=20 >=20 >=20 > I have setup the certificate chain in my slapd.conf like so: >=20 > [root@LBSD2:/usr/home/bluethundr]#grep -i tls > /usr/local/etc/openldap/slapd.conf## TLS options for slapd > TLSCipherSuite HIGH:MEDIUM:+SSLv2 > TLSCertificateFile /usr/local/etc/openldap/cacerts/LBSD2.summitnjhome.com= .crt > TLSCertificateKeyFile /usr/local/etc/openldap/cacerts/slapd.pem > TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt >=20 > I have tried each of the following certs with no luck in getting my > cert to talk to it's CA: >=20 > -rw-r--r-- 1 root bluethundr 2604 Nov 25 11:37 ca_bundle.crt > -r--r----- 1 root ldap 4604 Nov 24 18:57 gd_bundle.crt > -r--r----- 1 root ldap 1537 Nov 25 02:00 sf_issuing.crt >=20 >=20 > and I get the same result for each when I attempt to connect to SSL on > the LDAP server: >=20 > [root@LCENT01:/tmp/Foswiki-1.1.2]#openssl s_client -connect > ldap.example.com:389 -showcerts -CAfile sf_issuing.crt > 13730:error:02001002:system library:fopen:No such file or > directory:bss_file.c:122:fopen('sf_issuing.crt','r') > 13730:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125= : > 13730:error:0B084002:x509 certificate > routines:X509_load_cert_crl_file:system lib:by_file.c:279: > CONNECTED(00000003) > 13730:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake > failure:s23_lib.c:188: >=20 >=20 > ldapsearch -h ldap.example.com -d -1 -ZZ "dc=3Dexample,dc=3Dcom" >=20 > TLS certificate verification: depth: 0, err: 20, subject: > /O=3DLBSD2.summitnjhome.com/OU=3DDomain Control > Validated/CN=3DLBSD2.summitnjhome.com, issuer: > /C=3DUS/ST=3DArizona/L=3DScottsdale/O=3DGoDaddy.com, > Inc./OU=3Dhttp://certificates.godaddy.com/repository/CN=3DGo Daddy Secure > Certification Authority/serialNumber=3D07969287 > TLS certificate verification: Error, unable to get local issuer certificat= e > tls_write: want=3D7, written=3D7 > 0000: 15 03 01 00 02 02 30 ......0 > TLS trace: SSL3 alert write:fatal:unknown CA > TLS trace: SSL_connect:error in SSLv3 read server certificate B > TLS trace: SSL_connect:error in SSLv3 read server certificate B > TLS: can't connect. > ldap_perror > ldap_start_tls: Connect error (-11) > additional info: error:14090086:SSL > routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed >=20 > It seems to indicate that it can't talk to it's CA... >=20 > does anyone have any suggestions on how to make this work? >=20 > thanks! >=20 >=20 > --=20 > Here's my RSA Public key: > gpg --keyserver pgp.mit.edu --recv-keys B6D6EAC3 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18: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 E65A11065672 for ; Thu, 25 Nov 2010 18:17:44 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8322D8FC19 for ; Thu, 25 Nov 2010 18:17:44 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id oAPIHhH7099153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Nov 2010 19:17:43 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id oAPIHgCT083470 for ; Thu, 25 Nov 2010 19:17:42 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Thu, 25 Nov 2010 19:17:42 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: by XS4ALL Virus Scanner Subject: pwlib broken again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 18:17:45 -0000 After trying to upgrade my ports, pwlib seems broken again: ... ../../ptclib/pssl.cxx: In constructor 'PSSLContext::PSSLContext(const void*, PINDEX)': ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*' gmake[3]: *** [/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix' gmake[2]: *** [debug] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' gmake: *** [debuglibs] Error 2 ... I've had this problem before and is caused when OpenSSL from ports is installed. Problem is that the openssl version from ports is needed by a lot of ports and cannot be deinstalled without breaking other ports. Hope there is some other solution for this. Regards, Marco -- I pledge allegiance to the flag of the United States of America and to the republic for which it stands, one nation, indivisible, with liberty and justice for all. -- Francis Bellamy, 1892 From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18:22: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 1AFC31065697 for ; Thu, 25 Nov 2010 18:22:20 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id DEE568FC0A for ; Thu, 25 Nov 2010 18:22:19 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 097BDE80965; Thu, 25 Nov 2010 10:22:18 -0800 (PST) Date: Thu, 25 Nov 2010 10:22:18 -0800 From: Gary Kline To: Arthur Chance Message-ID: <20101125182218.GA20573@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> <4CEE5B2F.3040401@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CEE5B2F.3040401@qeng-ho.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 18:22:20 -0000 On Thu, Nov 25, 2010 at 12:48:47PM +0000, Arthur Chance wrote: > On 11/25/10 03:01, Gary Kline wrote: > >Folks (mostly Adam), > > > >Hang on a sec. I think I misread what my friend said. > >Following is a snip of what he said was good; that this was among > >the stuff he installed a few years back and now was much better:: > > > > > >>ALIX.2D13 system board - $115 > >>CompactFlash card 4GB SLC - $20 > >>Enclosure - $9 > >>AC adapter - $13 > > > > > >Is this the same board and so forth that Arthur pointed me at below? > >My friend's name is Noah; what he saw was that the boad was not in > >stock and that it would not be restocked until 20dec. Because the > >15th is better for Noah to drive down, I would like to have the > >stuff here when it's best for him. Figure ther have to be other > >vendors that sell this. > > OK, I'm in the UK as are these people I buy from, but they do prices > in dollars as well as pounds and euros, and will ship to the US. > They don't have a 2d13 at the moment but do have 2d3s in stock (the > 2d13 has a battery and RTC extra, that's all). > > http://linitx.com/index.php > > They've got enclosures, but the power supplies are european plugs. > However, they are universal (100-250V), so an EU->US adapter would > work. I use a SanDisk CF card in mine, and the pfSense install > worked like a dream. The only wrinkle is remembering to change the > serial line speed from 19200 to 9600 baud before installing pfSense, > as the serial bootloader likes 9600. > > I'd recommend getting "pfSense: The Definite Guide" as well > > http://www.amazon.com/pfSense-Definitive-Christopher-M-Buechler/dp/0979034280/ref=sr_1_1/177-9101540-7293707?ie=UTF8&s=books&qid=1290689178&sr=1-1 > I _will_ order the Guide since I rely on pfSense ... What I ordered last night was the "6e1". The pcengines.com site pointed me to a netgate website here in the States. So: the entire kit is enroute; or will be soon. What I don't understand is the CF card and howto install pfSense. I'll re-read wherever I have to but some clues would certainly help. I installed pfSense by CDROM initially and figure this time the install would be done by thumb-drive. [?] Pointers, URLs welcome! gary > _______________________________________________ > 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 Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18:57: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 C1A17106564A for ; Thu, 25 Nov 2010 18:57:18 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5D28FC13 for ; Thu, 25 Nov 2010 18:57:18 +0000 (UTC) Received: (qmail 8916 invoked from network); 25 Nov 2010 18:57:17 -0000 Received: from g1.stradamotorsports.com (HELO w16.stradamotorsports.com) (jcw@[64.81.163.42]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Nov 2010 18:57:17 -0000 Message-ID: <4CEEB18D.5000307@speakeasy.net> Date: Thu, 25 Nov 2010 10:57:17 -0800 From: "Jason C. Wells" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100808 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Samba Access Like Windows Explorer 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, 25 Nov 2010 18:57:18 -0000 Is it possible to access samba shares much like windows explorer does? The ultimate solution would be UNC names with browsing. I would very much like to have my freebsd client see the network namespace in as similar fashion to windows as possible. I also would like to avoid having to duplicate the hierarchy of mount points (for mount_smbfs) on every freebsd client in order to achieve this. Nautilus access the samba shares this way, but I want this work on the command line. Plus I prefer Thunar, which doesn't do samba access at all. As it stands, I think I will have to mount all samba shares on a freebsd client into a top level directory named for the server name, with mount points sprinkled about. Thanks, Jason C. Wells From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 19:16: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 266CE1065695 for ; Thu, 25 Nov 2010 19:16:04 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id A3E828FC21 for ; Thu, 25 Nov 2010 19:16:03 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id oAPJG1HY032692; Thu, 25 Nov 2010 19:16:02 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4CEEB5F1.6030602@qeng-ho.org> Date: Thu, 25 Nov 2010 19:16:01 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101030 Thunderbird/3.0.10 MIME-Version: 1.0 To: Gary Kline References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> <4CEE5B2F.3040401@qeng-ho.org> <20101125182218.GA20573@thought.org> In-Reply-To: <20101125182218.GA20573@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 19:16:04 -0000 On 11/25/10 18:22, Gary Kline wrote: [Huge snip] > What I don't understand is the CF card and howto install > pfSense. I'll re-read wherever I have to but some clues would > certainly help. I installed pfSense by CDROM initially and > figure this time the install would be done by thumb-drive. > [?] > > Pointers, URLs welcome! If you're installing onto a CF card you want the "embedded" version. You download the version that matches the size of your CF card - there are 512M, 1G, 2G and 4G versions. I went for 4G because I had a convenient card lying around, but it's overkill. You decompress it and simply dd it onto the card (presuming you've got a normal Unix box). This link will help http://doc.pfsense.org/index.php/Installing_pfSense This is the embedded category page on the doc wiki http://doc.pfsense.org/index.php/Category:Embedded Then all you do is insert the card into the CF adapter on the Alix board, fire it up and point your web browser at it to do the initial set up. (Don't forget to change the serial line speed to 9600 beforehand.) The initial address is 192.168.1.1, username/password are admin/pfsense. Have fun. -- "Although the wombat is real and the dragon is not, few know what a wombat looks like, but everyone knows what a dragon looks like." -- Avram Davidson, _Adventures in Unhistory_ From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 19:50: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 879CD106566C for ; Thu, 25 Nov 2010 19:50:23 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4858FC16 for ; Thu, 25 Nov 2010 19:50:22 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.200]) by mail.unitedinsong.com.au (Postfix) with ESMTP id DC0DD5C44 for ; Fri, 26 Nov 2010 05:55:06 +1000 (EST) Message-ID: <4CEEBD14.1020900@herveybayaustralia.com.au> Date: Fri, 26 Nov 2010 05:46:28 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101119 Thunderbird/3.0.10 ThunderBrowse/3.3.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pwlib broken 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, 25 Nov 2010 19:50:23 -0000 On 11/26/10 04:17, Marco Beishuizen wrote: > After trying to upgrade my ports, pwlib seems broken again: > > ... > ../../ptclib/pssl.cxx: In constructor 'PSSLContext::PSSLContext(const > void*, PINDEX)': > ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const > SSL_METHOD*' to 'SSL_METHOD*' > gmake[3]: *** > [/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1 > gmake[3]: Leaving directory > `/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix' > gmake[2]: *** [debug] Error 2 > gmake[2]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' > gmake[1]: *** [libs] Error 2 > gmake[1]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' > gmake: *** [debuglibs] Error 2 > ... > > I've had this problem before and is caused when OpenSSL from ports is > installed. Problem is that the openssl version from ports is needed by > a lot of ports and cannot be deinstalled without breaking other ports. > > Hope there is some other solution for this. > > Regards, > Marco > Perhaps try using WITH_OPENSSL_BASE=YES in make.conf? You would probably have to rebuild other ports as well, but I'm sure someone else here could confirm that. HTH From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:00: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 1FA0E106566B for ; Thu, 25 Nov 2010 20:00:23 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by mx1.freebsd.org (Postfix) with ESMTP id D1CF58FC13 for ; Thu, 25 Nov 2010 20:00:22 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by lon1-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PLhzR-000077-YY for freebsd-questions@freebsd.org; Thu, 25 Nov 2010 20:00:21 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Thu, 25 Nov 2010 20:00:21 -0000 MIME-Version: 1.0 Message-ID: <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 25 Nov 2010 20:00:23 -0000 On 25 Nov 2010 at 9:42, Nathan Vidican wrote: Trimmed... > > Two commands of interest here, 'chmod' and 'chown'. I'd highly suggest > reading the manpage on both, but here's the short/quick-start version: > > chmod > - used to change permissions for a file or directory > - permissions are broken down into: 2=read, 4=write, 1=execute > - permissions are displayed in group of three, corresponding to > owner-group-everyone else > - so chmod 666 means "make owner,group,everyone each able to read(2) > plus > write(4) (2+4=6) > - the first number indicating the owner of the files permission, > the > second the group, and the last everyone > - so when you noted seeing "drwxr-xr-x" - that's 755 (owner > read+write+execute(7), group read+execute (5), everyone else > read+execute(5) > - in order for a user to 'cd' to a directory, the execute permission > must > be set > - to answer your original question then, "chmod 775 " would > then > change the permissions to that the group can write as well > > chown > - used to change ownership of a file or directory > - can change owner, or group ownership > - syntax is "chown user:group " > > As far as the FTP thing goes, you need to make sure that the shell you > assign the user is listed in /etc/shells - that's what the system > 'standard' ftpd is looking for. > > -- > Nathan Vidican > nathan@vidican.com > Thanks Nathan. Following your lead, and after some more reading, I seem to have it working as I want. That execute permission bit, is a doozie. If you hadn't said it's needed for the user (or group member) to be able to 'cd' to that directory, I'd have been there for hours. Lots is written about the 'x' bit, and allowing execution of a file, but not that it affects the ability to even use that directory. I guess in this context, "using" = "executing", so it sort of makes sense. I did find though, that the -R switch, doesn't always cause chmod to alter sub directories in the way one expects. One directory at a time then, but job done. It appears too, that if one of the group members then creates a new direcory, that inherits the permissions of the parent directory. Next task, to get the ftp server to work on another port. I might just quit while ahead, and go up the pub though, and leave that till tomorrow. Thanks again. Dave. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:19: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 29AB4106564A; Thu, 25 Nov 2010 20:19:12 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-da06.mx.aol.com (imr-da06.mx.aol.com [205.188.169.203]) by mx1.freebsd.org (Postfix) with ESMTP id DB9B48FC0C; Thu, 25 Nov 2010 20:19:11 +0000 (UTC) Received: from imo-da02.mx.aol.com (imo-da02.mx.aol.com [205.188.169.200]) by imr-da06.mx.aol.com (8.14.1/8.14.1) with ESMTP id oAPK8tuf016607; Thu, 25 Nov 2010 15:08:55 -0500 Received: from dieterbsd@engineer.com by imo-da02.mx.aol.com (mail_out_v42.9.) id n.efd.ee278cd (34910); Thu, 25 Nov 2010 15:08:50 -0500 (EST) Received: from smtprly-dd03.mx.aol.com (smtprly-dd03.mx.aol.com [205.188.84.131]) by cia-da02.mx.aol.com (v129.7) with ESMTP id MAILCIADA027-d40a4ceec2511ae; Thu, 25 Nov 2010 15:08:50 -0500 Received: from web-mmc-d05 (web-mmc-d05.sim.aol.com [205.188.103.95]) by smtprly-dd03.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYDD036-d40a4ceec2511ae; Thu, 25 Nov 2010 15:08:49 -0500 To: freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Nov 2010 15:08:48 -0500 X-MB-Message-Source: WebUI X-AOL-IP: 67.206.164.6 X-MB-Message-Type: User MIME-Version: 1.0 From: dieterbsd@engineer.com Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 32945-STANDARD Received: from 67.206.164.6 by web-mmc-d05.sysops.aol.com (205.188.103.95) with HTTP (WebMailUI); Thu, 25 Nov 2010 15:08:48 -0500 Message-Id: <8CD5AF3B4F821BB-1204-1A918@web-mmc-d05.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: Subject: Re: JMicron JMB363 PCIe controller doesn't work 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, 25 Nov 2010 20:19:12 -0000 Wojciech Puchar writes: > This crappy controllers have builtin bios that don't allow selecting=20 AHCI mode. The controller itself may be ok. The BIOS is certainly crappy. I have a couple of JMB363 PCIe x1 cards. If I plug one into a certain slot the machine hangs on boot (doesn't make it out of bios). Avoiding=20 that slot, one card may or may not show up. Ugly workaround: reboot over=20 and over until both show up. Less painful workaround: I replaced one with a=20 SiI3132 card. The SiI3132 is not as fast as JMB363. The remaining JMB363 card (Syba brand) does show up as AHCI and works=20 with the ahci(4) driver. if the achi driver isn't loaded, then ata(4) driver=20 also works, but not as well, and certainly not as fast, as ahci. I am told (thanks, Stephane) that some mainboards have an option in=20 BIOS to disable the BIOS on expansion cards. My mainboard's crappy BIOS=20 (Phoenix AwardBIOS) does not offer this feature, perhaps yours does. You might see if JMB has an alternative BIOS to flash. > seems the problem is that FreeBSD can't by itself set SATA controller=20 mode. > i can't find such option. Interesting. I didn't know that the JMB363 had both AHCI and non-AHCI=20 modes. Or could it be an id issue? If you do "pciconf -l" do you get=20 0x2363197b for both the onboard JMB363 and the expansion cards? From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:23: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 953D5106564A for ; Thu, 25 Nov 2010 20:23:20 +0000 (UTC) (envelope-from doug@safeport.com) Received: from oceanpt.safeport.com (oceanpt.safeport.com [65.122.17.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3418FC13 for ; Thu, 25 Nov 2010 20:23:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id oAPKNI9D042219 for ; Thu, 25 Nov 2010 15:23:19 -0500 (EST) (envelope-from doug@safeport.com) Date: Thu, 25 Nov 2010 15:23:18 -0500 (EST) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Message-ID: 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.0 (oceanpt.safeport.com [127.0.0.1]); Thu, 25 Nov 2010 15:23:19 -0500 (EST) Cc: Subject: Xorg 7.6 question and hopes 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, 25 Nov 2010 20:23:20 -0000 The change log for X11R7.6-RC1 says for the vesa driver: Don't artificially limit the screen size to 2k VBE lets you specify sizes in uint16_t. X won't work above 32k though, so clamp to that instead of the arbitrary 2k. Does anyone know if this will allow larger screen resolutions or is this just internal video card magic? It seems that the Intel driver waits for kernel changes. What I know about the kernel could not be seen on an electron microscope so it is easy for me to ponder workarounds. For whatever features depend on the kernel [DRM|AGP|...]: could be kernel or the driver be configured just to say those features do not exist here. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:25: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 D9CCC106566C for ; Thu, 25 Nov 2010 20:25:11 +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 983A08FC27 for ; Thu, 25 Nov 2010 20:25:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id 29A6B3CEEE; Thu, 25 Nov 2010 21:25:10 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAPKP98a002456; Thu, 25 Nov 2010 21:25:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 25 Nov 2010 21:25:08 +0100 From: Polytropon To: "Dave" Message-Id: <20101125212508.82f1a646.freebsd@edvax.de> In-Reply-To: <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.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: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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: Thu, 25 Nov 2010 20:25:12 -0000 On Thu, 25 Nov 2010 20:00:21 -0000, "Dave" wrote: > Lots is written about the 'x' bit, and allowing execution of a file, but > not that it affects the ability to even use that directory. I guess in > this context, "using" = "executing", so it sort of makes sense. It is written lots and nicely explained in "man chmod", where you can read: 0100 For files, allow execution by owner. For directories, allow the owner to search in the directory. 0010 For files, allow execution by group members. For directo- ries, allow group members to search in the directory 0001 For files, allow execution by others. For directories allow others to search in the directory. The "1" part of the octal masks refers to the x attribute. In relation to directories, it means "search", which you can also see when using the "find" program: Directories that are not +x cannot be searched. > It appears too, that if one of the group members then creates a new > direcory, that inherits the permissions of the parent directory. You can set default permissions for file creation using the umask builtin (e. g. for csh, the default dialog shell); see the "man csh" for details. > Next task, to get the ftp server to work on another port. I might just > quit while ahead, and go up the pub though, and leave that till tomorrow. That's easy: See the -P option explained in "man ftpd". Also see /etc/defaults/rc.conf which mentions ftpd_flags. Remember: This is FreeBSD, we have excellent manpages and other good documentation. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:39: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 892E5106566B for ; Thu, 25 Nov 2010 20:39:33 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 13B118FC0A for ; Thu, 25 Nov 2010 20:39:32 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLibL-000451-Ot for freebsd-questions@freebsd.org; Thu, 25 Nov 2010 21:39:31 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:39:31 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:39:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 25 Nov 2010 15:41:27 -0500 Lines: 41 Message-ID: References: <4CEEB18D.5000307@speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Samba Access Like Windows Explorer 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, 25 Nov 2010 20:39:33 -0000 Jason C. Wells wrote: > Is it possible to access samba shares much like windows explorer does? > > The ultimate solution would be UNC names with browsing. I would very > much like to have my freebsd client see the network namespace in as > similar fashion to windows as possible. > > I also would like to avoid having to duplicate the hierarchy of mount > points (for mount_smbfs) on every freebsd client in order to achieve > this. Nautilus access the samba shares this way, but I want this work > on the command line. Plus I prefer Thunar, which doesn't do samba > access at all. > > As it stands, I think I will have to mount all samba shares on a freebsd > client into a top level directory named for the server name, with mount > points sprinkled about. > There two ways. I do it in Dolphin on KDE all the time. KDE has a kio_slave for smb:/ - that is it looks like this in the address bar: smb://testbed.test.zip/web/ <- where the /web is a share This is a GUI'fied way of hiding the CLI smbclient. It can be bookmarked, as well as made into icons in the left side of Dolphin for easy clicking. Smbclient works just fine from a command prompt as well. The other way is to mount shares as file systems. This can be done with entries in fstab and an nsmb.conf file. If you were to pursue this route know that the workgroup/server/share info should be all Upper Case. Such is displayed in the example nsmb.conf but it isn't immediately apparent that upper case _must_ be used. Otherwise you end up chasing your tail wondering why it won't connect/mount. Me I used to do mounts in fstab, but lately just use the kio_slave and smbclient approach because it does what I need. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:53: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 734BF1065670 for ; Thu, 25 Nov 2010 20:53:58 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 25CB48FC08 for ; Thu, 25 Nov 2010 20:53:57 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 32FEDE80965; Thu, 25 Nov 2010 12:53:57 -0800 (PST) Date: Thu, 25 Nov 2010 12:53:57 -0800 From: Gary Kline To: Arthur Chance Message-ID: <20101125205357.GA22757@thought.org> References: <20101124014312.GB12000@thought.org> <4CED376C.60409@qeng-ho.org> <20101125030158.GC6090@thought.org> <4CEE5B2F.3040401@qeng-ho.org> <20101125182218.GA20573@thought.org> <4CEEB5F1.6030602@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CEEB5F1.6030602@qeng-ho.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: foo; no such thing as a "dual-nic" atom firewall 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, 25 Nov 2010 20:53:58 -0000 On Thu, Nov 25, 2010 at 07:16:01PM +0000, Arthur Chance wrote: > On 11/25/10 18:22, Gary Kline wrote: > [Huge snip] Super :-) > > What I don't understand is the CF card and howto install > > pfSense. I'll re-read wherever I have to but some clues would > > certainly help. I installed pfSense by CDROM initially and > > figure this time the install would be done by thumb-drive. > > [?] > > > > Pointers, URLs welcome! > > If you're installing onto a CF card you want the "embedded" version. > You download the version that matches the size of your CF card - > there are 512M, 1G, 2G and 4G versions. I went for 4G because I had > a convenient card lying around, but it's overkill. You decompress it > and simply dd it onto the card (presuming you've got a normal Unix > box). This link will help I just took a second look at what I have coming in my ALIX.6E1 Kit. (Also found that 'CF' == Compact Flash; we've got enough abbrvs, all right. ) At any rate, here is what is in my 6e1 kit: * ALIX.6E1 system board (2/1/1/256/LX800) * Laser etched black aluminum enclosure with USB and antenna cutouts * Blank 2 GB Sandisk Ultra II CF Card * Standard 15V 1.25A 18W power supply (US plug style) * Ships unassembled If your 4G CF card was overkill, will my 2GB card be enough? If not I'll order a slave chip; or maybe a 4G flash card. Pasted immediately below is what I was pointed last last night. There were links like your URLs to the pfSense site. Hm. I have more research to do (looks like) to learn enough to __know__ was I'm doing. Or my friend and I. But then I've had pfSense going for about three years on severely antique hardware, no problem. .... http://store.netgate.com/ALIX6E1-Kit-Black-Unassembled-P183.aspx > > http://doc.pfsense.org/index.php/Installing_pfSense > > This is the embedded category page on the doc wiki > > http://doc.pfsense.org/index.php/Category:Embedded > > Then all you do is insert the card into the CF adapter on the Alix > board, fire it up and point your web browser at it to do the initial > set up. (Don't forget to change the serial line speed to 9600 > beforehand.) The initial address is 192.168.1.1, username/password > are admin/pfsense. Have fun. Last question[s]: is there a toggle somewhere to change the speed to 9600? When a friend helped save my network in JAn, 2008, we did it all my chat and maybe one phone call, so my memories of the details of getting pfSense set up the first time have faded ... . I have a 10.* internal network! Oboy. Well, here's hoping that a few FreeBSD types are around on 15th dec. FWIW, My chat is gdk98188 [at] yahoo .... gary PS: before my almost-disaster in 12/07 I used ifp and ifpw for years. The server also handled DHCP. THe reason I went with pfsense was to offload that stuff "somewhere else"; it seems apropos of the Unix philosophy: simplicity is better. > > -- > "Although the wombat is real and the dragon is not, few know what a > wombat looks like, but everyone knows what a dragon looks like." > > -- Avram Davidson, _Adventures in Unhistory_ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:59: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 7F3C1106566B for ; Thu, 25 Nov 2010 20:59:50 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 08E518FC14 for ; Thu, 25 Nov 2010 20:59:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLiuy-0006LW-R6 for freebsd-questions@freebsd.org; Thu, 25 Nov 2010 21:59:48 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:59:48 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:59:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 25 Nov 2010 16:01:45 -0500 Lines: 54 Message-ID: References: <20101125080509.GA1852@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: PCI Parallel Port I/O card 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, 25 Nov 2010 20:59:50 -0000 Jonathan Chen wrote: > Hi, > > I've got a system which has a PCI I/O card with a parallel port > on it. I'd like my 8-STABLE/amd64 machine to recognise this card. > > The relevant bits of "pciconf -lcv" is: > > none2@pci0:4:6:0: class=0x070103 card=0x2000a000 chip=0x98659710 > rev=0x00 hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > class = simple comms > subclass = parallel port > cap 01[48] = powerspec 2 supports D0 D3 current D0 > > However, a verbose boot reveals: > ppc0: cannot reserve I/O port range > ppc0: failed to probe at irq 7 on isa0 > > which is due to /boot/device.hints of: > hint.ppc.0.at="isa" > hint.ppc.0.irq="7" > > How can I configure my system to recognise the parallel port on the > PCI bus? You might try using the system BIOS to assign a known unused IRQ such as maybe IRQ 5 to the PCI slot where the card is located. Then modify the hints entries above to "pci" and "5" and reboot. I'm not sure whether the hint.ppc.0.at="pci" entry would need to be expanded, but if so the information is present in the [none2@pci0:4:6:0:] from your pciconf -lv noted above. I believe as long as it finds and initializes on the IRQ 5 the entry "pci" as all that is needed. What I am unsure of is exactly what to do if the card is using some proprietary non-standard I/O port address. Since it is an add-in card it is highly likely that it will be on some I/O port that is different from the default parallel port you would find built-in on a motherboard. In this case you would need to discover what this I/O port address is (and it might even be configurable with jumpers - see card docs). If the motherboard already has a parallel port the PCI card will need to have I/O ports that are not in conflict with the one on the motherboard. Then a third line would need to be added to device.hints specifying this I/O port address after the two lines you indicated above. Hope it helps. Not sure it will work, but this is the approach I would pursue. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 22:21: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 93D23106564A for ; Thu, 25 Nov 2010 22:21:09 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 309788FC17 for ; Thu, 25 Nov 2010 22:21:08 +0000 (UTC) Received: by ewy24 with SMTP id 24so720354ewy.13 for ; Thu, 25 Nov 2010 14:21:08 -0800 (PST) Received: by 10.213.105.147 with SMTP id t19mr3137109ebo.5.1290722242475; Thu, 25 Nov 2010 13:57:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.10.203 with HTTP; Thu, 25 Nov 2010 13:57:02 -0800 (PST) In-Reply-To: <4CEE7F05.5030703@gtdinternet.com> References: <4CEE7F05.5030703@gtdinternet.com> From: Chris Brennan Date: Thu, 25 Nov 2010 16:57:02 -0500 Message-ID: To: Walter Gonzalez Flores Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Mirror Site Requirements. 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, 25 Nov 2010 22:21:09 -0000 On Thu, Nov 25, 2010 at 10:21 AM, Walter Gonzalez Flores < wgonzalez@gtdinternet.com> wrote: > Hello everyone!. > > I work for an ISP and we would like to be mirror site for downloads. What > are the requirements for this?. > You might consider looking at the handbook, specifically http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 22:45: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 173DF10656BD; Thu, 25 Nov 2010 22:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 898718FC12; Thu, 25 Nov 2010 22:45:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id E9F6E41C747; Thu, 25 Nov 2010 23:45:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id aKwr4ZptHlu8; Thu, 25 Nov 2010 23:45:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 65B5C41C736; Thu, 25 Nov 2010 23:45:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 69ED744490B; Thu, 25 Nov 2010 22:41:36 +0000 (UTC) Date: Thu, 25 Nov 2010 22:41:36 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Steve Polyack In-Reply-To: <4CED50E0.7020205@comcast.net> Message-ID: <20101125224035.K24596@maildrop.int.zabbadoz.net> References: <4CED50E0.7020205@comcast.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, "Brian A. Seklecki" , User Questions Subject: Re: Jail source address selection in 8.1-RELEASE 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, 25 Nov 2010 22:45:08 -0000 On Wed, 24 Nov 2010, Steve Polyack wrote: Hi, > There appears to be a loosely documented sysctl > 'security.jail.param.ip4.saddrsel' which should limit source IP selection of > jails to their primary jail interface/IP. The sysctl does not appear to do > anything, however: > > # sysctl security.jail.param.ip4.saddrsel=0 > -> > # echo $? > 0 > # sysctl security.jail.param.ip4.saddrsel > # > # sysctl -d security.jail.param.ip4.saddrsel > security.jail.param.ip4.saddrsel: Do (not) use IPv4 source address selection > rather than the primary jail IPv4 address. > > Is this tunable only available when VIMAGE jails are built? The 8.1-RELEASE > Release Notes suggest it is for VIMAGE jail(8) containers, while 7.3-RELEASE > Release Notes suggest that it is available for the entire jail(8) subsystem > as 'security.jail.ip4_saddrsel', a different OID. Don't use the systctl; the param tree only tells you which options are available; ip4.saddrsel is an option to the jail -c|-m command. /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 23:02: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 3585A106564A for ; Thu, 25 Nov 2010 23:02:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0FC388FC13 for ; Thu, 25 Nov 2010 23:02:18 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 2FF59E80965; Thu, 25 Nov 2010 15:02:18 -0800 (PST) Date: Thu, 25 Nov 2010 15:02:18 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20101125230217.GA25485@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: just found this... 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, 25 Nov 2010 23:02:19 -0000 Guys, I'm probably among the last of our millions on this list to find this narrow-cast/webcast, but think it is way overdue. It's on BSD, and the following show discussed pfSense. It's a ~~20M d/load stream. The following gives you clues on the latest pfSense and all the things it is//will be doing. http://feeds.feedburner.com/tbs-mp3 I've probably already ranted scores of times that there were no undergrad networking courses when i was in school, so things like these are at least entrypoints. My experience with things-computer is that learning more is largely DIY. Be nice to see more opencoursework classes in general. Since Unix has the best philosophy, it is the best way for people to learn. [[ Not that I'm biases or anything... . ]] Enjoy, y'all. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 23:24:07 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 E63D31065675 for ; Thu, 25 Nov 2010 23:24:07 +0000 (UTC) (envelope-from indexer@internode.on.net) Received: from mail.internode.on.net (bld-mail13.adl6.internode.on.net [150.101.137.98]) by mx1.freebsd.org (Postfix) with ESMTP id A82658FC0C for ; Thu, 25 Nov 2010 23:24:06 +0000 (UTC) Received: from staff-249-94.wireless.adelaide.edu.au (unverified [129.127.249.94]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 47939038-1927428 for multiple; Fri, 26 Nov 2010 09:38:51 +1030 (CDT) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Indexer In-Reply-To: Date: Fri, 26 Nov 2010 09:38:44 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <6999D29E-3964-4B6B-A2B8-1FAAAED7BABC@internode.on.net> References: <4CEE7F05.5030703@gtdinternet.com> To: Chris Brennan X-Pgp-Agent: GPGMail 1.3.1 X-Mailer: Apple Mail (2.1082) Cc: questions@freebsd.org, Walter Gonzalez Flores Subject: Re: Mirror Site Requirements. 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, 25 Nov 2010 23:24:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/11/2010, at 08:27, Chris Brennan wrote: > On Thu, Nov 25, 2010 at 10:21 AM, Walter Gonzalez Flores < > wgonzalez@gtdinternet.com> wrote: >=20 >> Hello everyone!. >>=20 >> I work for an ISP and we would like to be mirror site for downloads. = What >> are the requirements for this?. More generally speaking, lots of disk in an array for good speed and = muti-threaded access, a way to sync content automatically, and good = network connections to the server itself.=20 >>=20 >=20 > You might consider looking at the handbook, specifically > http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html > _______________________________________________ > 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" William Brown pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJM7uyBAAoJEHF16AnLoz6JQawQALQID91a2Zd7T6RTnOjao2vh eWz5zwWqp4ahveGDWHTHtLUD6g79HRMhcA5ABKY+SgS5h2UACnQKFRu34XJkJNR0 51Poq/ssOb4mm52StYPE1lbNXy/HDijP+0CLedgYZT5jaqp68oyazA31gSSCUjUr 3+TgX3SxmHfL9+wIzHjXYxRk70cCVii8/4Fm2Nz7r/jOg0ZSPLwRSToMJ5LCzwBW CuX2z5JyH7VTwZn9pXtaUVW+4ahJV5LjUR87bxGKh/FYCKbv7Q0Mw56XZs1FjWZR XMdBjL1W87PZSnD4/XhRjP/INrpZjMeO22jhkj/PvGHZeyz/mwRxxibYpObqjBQJ sRAnGux/g+NE4JHuFDxB0wiHyFt5Uudh4jnc70w7YHmHQUbVPwhCjpVExNhW2rPv bRFUYk6NziVT9+Qodo4LrIvXlDNCN45f2kc1yHO9xuz9mW28YndEnG8tTNcvmVe4 DJ+wOC40XsKul4Ik/JMO4/Bh6oVX/iXU9zpXPQt/vEdZbBi/SYMH3wOBSYEVRSjk rfyhKQS6byY53vHjcppr/qrF9OrP2Bl/UDYJUyCtrMPAvFxpOWrlFdK9/mZV82lz 0XArH5Z/bMVajby+iVJiuavkST2z3EzjM4y9wwt4THfsUZ8xNzoXkZ15E4oDkJzo ywQmfr40L0Gwuo1AIqFl =3De0ua -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 05:56:25 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 C365410656B3 for ; Fri, 26 Nov 2010 05:56:25 +0000 (UTC) (envelope-from joe.joeoptions@gmail.com) Received: from 123843-www1.gri5th.com (123843-www1.gri5th.com [74.205.126.210]) by mx1.freebsd.org (Postfix) with ESMTP id 789468FC2F for ; Fri, 26 Nov 2010 05:56:25 +0000 (UTC) Received: (qmail 8460 invoked by uid 48); 25 Nov 2010 22:22:20 -0600 To: questions@freebsd.org User-Agent: ExpressionEngine 1.6.8 Date: Thu, 25 Nov 2010 22:22:20 -0600 From: "Joe" X-Sender: joe.joeoptions@gmail.com X-Mailer: ExpressionEngine 1.6.8 X-Priority: 3 (Normal) Message-ID: <4cef35fc6900a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Subject: Your Rental Property Listing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "joe.joeoptions@gmail.com" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 05:56:25 -0000 Hi! I believe there is a faster and easier way to rent, trade, buy and sell destination real estate and thought you might be interested in my new rental website called JoeOptions: http://www.joeoptions.com/. Here's how JoeOptions benefits you: * FREE listings through December 31, 2011 for properties created on JoeOptions. * UNLIMITED pictures/videos/links to help promote and better represent your Property and the Destination. * HomeAway Connect integration eliminating the need to manage multiple calendars * Unique property management tool allowing Renters to find your property based on Date, Price and Location in one step. * Meet People Where They Are: Social Media integration with Facebook, Twitter, YouTube, etc. Check out this video that explains why JoeOptions: http://www.youtube.com/watch?v=kohBjcuPMhE We look forward to you joining us at JoeOptions! Best Regards, Joe We've sent you this email because we think you'll enjoy using JoeOptions. If you'd rather not receive any more emails from us, please email unsubscribe@joeoptions.com, and we'll take you off our list. To remove your email from the "20101125" mailing list, click here: http://cs.joeoptions.com/index.php?ACT=5&id=eZKZdyNBiY From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 05:56: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 E45581065754 for ; Fri, 26 Nov 2010 05:56:58 +0000 (UTC) (envelope-from joe.joeoptions@gmail.com) Received: from 123843-www1.gri5th.com (123843-www1.gri5th.com [74.205.126.210]) by mx1.freebsd.org (Postfix) with ESMTP id 978FA8FC26 for ; Fri, 26 Nov 2010 05:56:58 +0000 (UTC) Received: (qmail 10517 invoked by uid 48); 25 Nov 2010 22:23:04 -0600 To: freebsd-questions@freebsd.org User-Agent: ExpressionEngine 1.6.8 Date: Thu, 25 Nov 2010 22:23:04 -0600 From: "Joe" X-Sender: joe.joeoptions@gmail.com X-Mailer: ExpressionEngine 1.6.8 X-Priority: 3 (Normal) Message-ID: <4cef3628613dd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Your Rental Property Listing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "joe.joeoptions@gmail.com" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 05:56:59 -0000 Hi! I believe there is a faster and easier way to rent, trade, buy and sell destination real estate and thought you might be interested in my new rental website called JoeOptions: http://www.joeoptions.com/. Here's how JoeOptions benefits you: * FREE listings through December 31, 2011 for properties created on JoeOptions. * UNLIMITED pictures/videos/links to help promote and better represent your Property and the Destination. * HomeAway Connect integration eliminating the need to manage multiple calendars * Unique property management tool allowing Renters to find your property based on Date, Price and Location in one step. * Meet People Where They Are: Social Media integration with Facebook, Twitter, YouTube, etc. Check out this video that explains why JoeOptions: http://www.youtube.com/watch?v=kohBjcuPMhE We look forward to you joining us at JoeOptions! Best Regards, Joe We've sent you this email because we think you'll enjoy using JoeOptions. If you'd rather not receive any more emails from us, please email unsubscribe@joeoptions.com, and we'll take you off our list. To remove your email from the "20101125" mailing list, click here: http://cs.joeoptions.com/index.php?ACT=5&id=WmEulv2ASq From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 11:30: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 72DD31065670 for ; Fri, 26 Nov 2010 11:30:31 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by mx1.freebsd.org (Postfix) with ESMTP id 38EC98FC19 for ; Fri, 26 Nov 2010 11:30:31 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by lon1-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PLwVa-0005Yd-WV for freebsd-questions@freebsd.org; Fri, 26 Nov 2010 11:30:30 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Fri, 26 Nov 2010 11:30:29 -0000 MIME-Version: 1.0 Message-ID: <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: <20101125212508.82f1a646.freebsd@edvax.de> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk>, <20101125212508.82f1a646.freebsd@edvax.de> X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 26 Nov 2010 11:30:31 -0000 On 25 Nov 2010 at 21:25, Polytropon wrote: > On Thu, 25 Nov 2010 20:00:21 -0000, "Dave" > wrote: > Lots is written about the 'x' bit, and allowing execution of > a file, but > not that it affects the ability to even use that > directory. I guess in > this context, "using" = "executing", so it > sort of makes sense. > > It is written lots and nicely explained in "man chmod", > where you can read: > > 0100 For files, allow execution by owner. For directories, > allow the owner to search in the directory. > > 0010 For files, allow execution by group members. For directo- > ries, allow group members to search in the directory > > 0001 For files, allow execution by others. For directories > allow others to search in the directory. > > The "1" part of the octal masks refers to the x attribute. In > relation to directories, it means "search", which you can also > see when using the "find" program: Directories that are not +x > cannot be searched. Yes, I found that, good info. I'm relying on the freebsd.org site man pages and documentation among others, as I'm finding it too inconvenient (bad short term memory) using the man pages on the system. At least I can have the website pages open on a nearby laptop. > > > > It appears too, that if one of the group members then creates a new > > direcory, that inherits the permissions of the parent directory. > > You can set default permissions for file creation using the > umask builtin (e. g. for csh, the default dialog shell); see > the "man csh" for details. The original instructions I used when creating the GPS/NTP server, resulted in the BASH shell being used. I think that's part of the odd problem, as that does not show up in the list of known shell's, when creating a new user. > > > Next task, to get the ftp server to work on another port. I might > > just quit while ahead, and go up the pub though, and leave that till > > tomorrow. > > That's easy: See the -P option explained in "man ftpd". Also > see /etc/defaults/rc.conf which mentions ftpd_flags. Not quite it seems, that parameter only works if the -D is used too I believe, and with inetd running things. At present, the system wont allow that for some odd reason. No errors, it just ignores it. > > > Remember: This is FreeBSD, we have excellent manpages and > other good documentation. :-) Agreed, the documentation is excelent, compared to that available for many Linux's (with the exception of Debian I've found) The biggest difference is the people. Here in the FreeBSD world, I ask a question, I get sensible answers, for which I'm eternaly gratefull. In many LUG's and other Linux Forums, I often get self opinionated Flames! Though the doc's are good, I do find it less than easy to assimilate it all in a meaningfull way, not coming from a unix background. But that's just my problem, and I'm sure the penny will drop sometime soon. I've recently installed 8.1 on another sacreficial PC to mess with, so I can learn "how to" etc, without adversley affecting the NTP server box, untill I'm sure I know what to do. So I know (not being too familier with all this) in simple terms, what advantages/disadvantages are there, in respects to the different shell's avalable? Is there a comparison feature table somewhere? As an asside, having got the FTP server working, I then "had an idea" and ended up breaking it. Cest la vie... I'll look to using a stand alone program/utility I think, that involves less system settings manipulation. Best Regards All. Dave B. From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 12:11: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 819861065693 for ; Fri, 26 Nov 2010 12:11:11 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 0FECA8FC08 for ; Fri, 26 Nov 2010 12:11:10 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id oAQCB9KK049638; Fri, 26 Nov 2010 12:11:09 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4CEFA3DD.9090106@qeng-ho.org> Date: Fri, 26 Nov 2010 12:11:09 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101030 Thunderbird/3.0.10 MIME-Version: 1.0 To: Gary Kline References: <20101125230217.GA25485@thought.org> In-Reply-To: <20101125230217.GA25485@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: just found this... 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, 26 Nov 2010 12:11:11 -0000 On 11/25/10 23:02, Gary Kline wrote: > I've probably already ranted scores of times that there were no > undergrad networking courses when i was in school, Some of us round here are old enough that computing wasn't even a degree subject when we were at university. :-) > so things like > these are at least entrypoints. My experience with things-computer > is that learning more is largely DIY. Be nice to see more > opencoursework classes in general. Since Unix has the best > philosophy, it is the best way for people to learn. [[ Not that > I'm biases or anything... . ]] This book http://www.amazon.com/Practical-TCP-IP-Designing-Troubleshooting/dp/0201750783/ref=sr_1_1?s=books&ie=UTF8&qid=1290772880&sr=1-1 covers networking from a practical, get it working, rather than theoretical, these are the ISO levels, viewpoint. Sadly it doesn't cover IPv6, nor is there likely be another edition that does, but it covers day to day IPv4 well enough. [Declaration of interest: yes, that is a quote from me on the front cover, and I got my copy free. No, I don't get a percentage, but I will be getting some mulled wine from the author on Sunday.] -- "Although the wombat is real and the dragon is not, few know what a wombat looks like, but everyone knows what a dragon looks like." -- Avram Davidson, _Adventures in Unhistory_ From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 12:53: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 0E80D1065679 for ; Fri, 26 Nov 2010 12:53:14 +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 A8E9B8FC15 for ; Fri, 26 Nov 2010 12:53:13 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id 35700E; Fri, 26 Nov 2010 13:53:12 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAQCrBLF001547; Fri, 26 Nov 2010 13:53:11 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Nov 2010 13:53:11 +0100 From: Polytropon To: "Dave" Message-Id: <20101126135311.32af529e.freebsd@edvax.de> In-Reply-To: <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.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: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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: Fri, 26 Nov 2010 12:53:14 -0000 On Fri, 26 Nov 2010 11:30:29 -0000, "Dave" wrote: > The original instructions I used when creating the GPS/NTP server, > resulted in the BASH shell being used. I think that's part of the odd > problem, as that does not show up in the list of known shell's, when > creating a new user. The Bourne Again Shell is NOT, I repeat: *NOT* part of the FreeBSD default installation. It is an ADDITIONAL piece of software. A common "Linuxism" seems to imply that bash is present on every system. While I agree that bash is a good interactive shell (except some "misbehaviour", in my opinion), it is often used as scripting shell where NO functionality that is specific to bash is used - instead of sh, the Bourne Shell, FreeBSD's standard scripting shell (as well as the standard scripting shell on nearly every UNIX out there). You have to manually add bash (by ports or packages), then it will be listed in /etc/shells and therefore be available to the adduser script (or pw program) for new users. You can alter the user's shell afterwards using the chsh command. > Not quite it seems, that parameter only works if the -D is used too I > believe, and with inetd running things. Yes, -D makes ftpd become a daemon. Its invication via inetd is very convenient, allthoug the "need for inetd" is originated in a different time in past. > At present, the system wont > allow that for some odd reason. No errors, it just ignores it. How that? Which settings do you currently have? Oh, and check the firewall (e. g. IPFW) to allow FTP on the alternative port. > > Remember: This is FreeBSD, we have excellent manpages and > > other good documentation. :-) > > Agreed, the documentation is excelent, compared to that available for > many Linux's (with the exception of Debian I've found) I share this observation. :-) > The biggest > difference is the people. Here in the FreeBSD world, I ask a question, I > get sensible answers, for which I'm eternaly gratefull. In many LUG's > and other Linux Forums, I often get self opinionated Flames! You can get them here, too, if you ask the "right" questions. :-) No, honestly: This list has helped me very much, and I could learn many things. So I want to contribute back. When I see a chance to help with knowledge, experience or pointers, I'll do that. And so do most on this list. > Though the doc's are good, I do find it less than easy to assimilate it > all in a meaningfull way, not coming from a unix background. But that's > just my problem, and I'm sure the penny will drop sometime soon. The backgrpund of the documentation is that is is a reference, not a HOWTO, or a Wiki style conglomerate. It is maintained in the same quality way as the system is. Many (but sadly not all) ports follow this concept (e. g. "man xmms", "man mplayer" or even "man opera"; in contradiction "man firefox" or any KDE program). You need to have experience in HOW to read man pages, to filter out what you need. The system does NOT know what you need, so it doesn't "hide unneeded information". > So I know (not being too familier with all this) in simple terms, what > advantages/disadvantages are there, in respects to the different shell's > avalable? Is there a comparison feature table somewhere? http://en.wikipedia.org/wiki/Comparison_of_command_shells You'll find more than just the UNIX shells in there. The ports collection has a category "shells" where you can refer to the description files. The most common shells in use are, of course, the system shells: sh as default scripting shell, csh as default dialog shell. Common "3rd party" shells are bash (obviously), zsh and ksh. > As an asside, having got the FTP server working, I then "had an idea" > and ended up breaking it. Cest la vie... I'll look to using a stand > alone program/utility I think, that involves less system settings > manipulation. That's what inetd is originally intended for: Configure and delegate requests to specific programs. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 14:54: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 1A12A1065670 for ; Fri, 26 Nov 2010 14:54:14 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id A73FD8FC0C for ; Fri, 26 Nov 2010 14:54:13 +0000 (UTC) Received: by eyb7 with SMTP id 7so1004020eyb.13 for ; Fri, 26 Nov 2010 06:54:12 -0800 (PST) Received: by 10.213.29.68 with SMTP id p4mr6659344ebc.31.1290783252166; Fri, 26 Nov 2010 06:54:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.10.203 with HTTP; Fri, 26 Nov 2010 06:53:51 -0800 (PST) In-Reply-To: <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> From: Chris Brennan Date: Fri, 26 Nov 2010 09:53:51 -0500 Message-ID: To: Dave Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 26 Nov 2010 14:54:14 -0000 On Fri, Nov 26, 2010 at 6:30 AM, Dave wrote: > Yes, I found that, good info. I'm relying on the freebsd.org site man > pages and documentation among others, as I'm finding it too inconvenient > (bad short term memory) using the man pages on the system. At least I > can have the website pages open on a nearby laptop. > > There are two options that I know of that could make this part easier for you 1) screen (tried and true) can do split windows/multiple windows although I've never been able to correctly figure it out 2) tmux (the pretentious upstart), it's a quick install and it's built in help (^b?) is eternally useful and it's options make more sense then screen (to me at least) Don't get me wrong, both serve there purpose. Personally, I prefer tmux but I still use screen for some things. So the choice comes down to what you find that works for you. From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 15:24: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 6F33E10656A3 for ; Fri, 26 Nov 2010 15:24:35 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 078018FC1A for ; Fri, 26 Nov 2010 15:24:34 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id oAQFOVq4046841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Nov 2010 16:24:31 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id oAQFOVk1075200; Fri, 26 Nov 2010 16:24:31 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Fri, 26 Nov 2010 16:24:31 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: Da Rock In-Reply-To: <4CEEBD14.1020900@herveybayaustralia.com.au> Message-ID: References: <4CEEBD14.1020900@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: pwlib broken again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 15:24:35 -0000 On Thu, 25 Nov 2010, Da Rock wrote: > Perhaps try using WITH_OPENSSL_BASE=YES in make.conf? You would probably have > to rebuild other ports as well, but I'm sure someone else here could confirm > that. > > HTH Ekiga seems to be the problem here. Ekiga wants to install opal, and opal wants to install pwlib/ptlib. As I don't use ekiga I deinstalled all three and now my ports seem ok again. I've put WITH_OPENSSL_BASE=yes in make.conf though, just in case other ports try to install ptlib. Thanks, Marco -- The USA is so enormous, and so numerous are its schools, colleges and religious seminaries, many devoted to special religious beliefs ranging from the unorthodox to the dotty, that we can hardly wonder at its yielding a more bounteous harvest of gobbledygook than the rest of the world put together. -- Sir Peter Medawar From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 15:53: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 B2CDF106564A for ; Fri, 26 Nov 2010 15:53:42 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDDC8FC13 for ; Fri, 26 Nov 2010 15:53:42 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 835E12627555 for ; Fri, 26 Nov 2010 09:53:55 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fj4FftH-EyAC for ; Fri, 26 Nov 2010 09:53:53 -0600 (CST) Received: from [192.168.1.165] (c-76-113-215-212.hsd1.mn.comcast.net [76.113.215.212]) by server.cwis.biz (Postfix) with ESMTPSA id B22B82627554 for ; Fri, 26 Nov 2010 09:53:53 -0600 (CST) From: Ryan Coleman Mime-Version: 1.0 (Apple Message framework v1082) Date: Fri, 26 Nov 2010 09:53:39 -0600 In-Reply-To: To: freebsd-questions Questions list References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> Message-Id: X-Mailer: Apple Mail (2.1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: new user questions. (Before I back myself into a corner!) 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, 26 Nov 2010 15:53:42 -0000 On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote: > On Fri, Nov 26, 2010 at 6:30 AM, Dave wrote: > >> Yes, I found that, good info. I'm relying on the freebsd.org site man >> pages and documentation among others, as I'm finding it too inconvenient >> (bad short term memory) using the man pages on the system. At least I >> can have the website pages open on a nearby laptop. >> > There are two options that I know of that could make this part easier for > you > > 1) screen (tried and true) can do split windows/multiple windows although > I've never been able to correctly figure it out I second screen. /usr/ports/sysutils/screen/ From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 15: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 12B04106566C for ; Fri, 26 Nov 2010 15:59:10 +0000 (UTC) (envelope-from bdsfbsd@att.net) Received: from nm22-vm0.bullet.mail.ac4.yahoo.com (nm22-vm0.bullet.mail.ac4.yahoo.com [98.139.53.218]) by mx1.freebsd.org (Postfix) with SMTP id A51608FC14 for ; Fri, 26 Nov 2010 15:59:09 +0000 (UTC) Received: from [98.139.52.190] by nm22.bullet.mail.ac4.yahoo.com with NNFMP; 26 Nov 2010 15:45:20 -0000 Received: from [98.139.52.137] by tm3.bullet.mail.ac4.yahoo.com with NNFMP; 26 Nov 2010 15:45:20 -0000 Received: from [127.0.0.1] by omp1020.mail.ac4.yahoo.com with NNFMP; 26 Nov 2010 15:45:20 -0000 X-Yahoo-Newman-Id: 141691.71730.bm@omp1020.mail.ac4.yahoo.com Received: (qmail 5722 invoked from network); 26 Nov 2010 15:37:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1290785879; bh=pHSF96JVl79+3WsQZYEETv/068qVqzQ9sjns8Co+jkg=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:To:Subject:References:Date:MIME-Version:Content-Transfer-Encoding:From:Message-ID:In-Reply-To:User-Agent; b=HmXhs6dyhRn9/J2JIDGm6tZu/yV9jKrxr7mIQ164AR6YbM+UHUcJD4N8oBvYLVjJVo05gmHhUF8D0gGHy/X8ihM7ZTl9RcWcysTrKdq0yCggHvDdvB6SvCbHZzdOy3COf9NsoqmKPKuNZTW0CprXCx1ZZ3FsvxhZt5A5uBo4Uqs= Received: from galileo (bdsfbsd@99.30.140.68 with login) by smtp101.sbc.mail.ac4.yahoo.com with SMTP; 26 Nov 2010 07:37:59 -0800 PST X-Yahoo-SMTP: d5tX3UiswBBe7eAro3WwBCIcMc7tMmv23kUXyA-- X-YMail-OSG: _9pXnioVM1luxJD3KswyROUXOYqnf3_2SMsompGbSzxaqUg AJwCVSmpmNwW8cUsVb3XrDq42WlpaHzc_tZh6jl3UcdiqSg2ddp3Y1OLAMWL ar1XKTIZlzpgtP1_TGCKp4UDb_.oC80LExCxSt4n2a4AopZ4iCq5Gh_B_2o9 itQzyGmjJhKyGS.9yJhzcKWNA7Ilpt3OU1rBMAHlAtSS136SUn35UWUH643G g8qbUk4uCGe6tdmk- X-Yahoo-Newman-Property: ymail-3 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-questions@freebsd.org References: <20101125230217.GA25485@thought.org> Date: Fri, 26 Nov 2010 10:37:00 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bdsfbsd@att.net Message-ID: In-Reply-To: <20101125230217.GA25485@thought.org> User-Agent: Opera Mail/10.62 (Linux) X-Mailman-Approved-At: Fri, 26 Nov 2010 16:35:48 +0000 Subject: Re: just found this... 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, 26 Nov 2010 15:59:10 -0000 Is "just found this..." a subject? Seriously, how many times do we have to ask you to use descriptive subject lines? From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 20:09: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 1BB8110656A4 for ; Fri, 26 Nov 2010 20:09:42 +0000 (UTC) (envelope-from hskuhra@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id E313F8FC14 for ; Fri, 26 Nov 2010 20:09:41 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 43C191B88 for ; Fri, 26 Nov 2010 15:09:41 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 26 Nov 2010 15:09:41 -0500 X-Sasl-enc: mLVWSSndk5P0FuZC6PcHJd/pUNlfpxe/K5ZPcL78F9d+ 1290802180 Received: from oslo.ath.cx (d91-128-195-122.cust.tele2.at [91.128.195.122]) by mail.messagingengine.com (Postfix) with ESMTPSA id 70C02402C50 for ; Fri, 26 Nov 2010 15:09:40 -0500 (EST) Date: Fri, 26 Nov 2010 21:09:37 +0100 Message-ID: <87k4jzetj2.wl%hskuhra@fastmail.fm> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/23.2.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: Maintainer of mod_proxy_html ? 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, 26 Nov 2010 20:09:42 -0000 On Wed, 24 Nov 2010 11:48:42 -0500 Alejandro Imass wrote: > Does anyone know if "David Lay" is still > maintaining the mod_proxy_html port? You can find out by % cd /usr/ports/www/mod_proxy_html % make maintainer This will tell you that the port is now maintained by apache@. > I don't know if it's on purpose or not but the port does not include > conf a file (proxy_html.conf) that renders the module useless unless > you create one and it's not all that trivial. This was fixed in ports/128048 [1]. Please read the port's Makefile. README and proxy_html.conf is installed to ${DOCSDIR} (/usr/local/share/doc/mod_proxy_html). Bye, Herbert [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128048 From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 21:18: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 3253D106564A for ; Fri, 26 Nov 2010 21:18:50 +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 E16D88FC08 for ; Fri, 26 Nov 2010 21:18:49 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 25C5C1E984; Fri, 26 Nov 2010 22:18:47 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAQLIlM7001600; Fri, 26 Nov 2010 22:18:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Nov 2010 22:18:46 +0100 From: Polytropon To: Chris Brennan Message-Id: <20101126221846.2588d4c4.freebsd@edvax.de> In-Reply-To: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.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: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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: Fri, 26 Nov 2010 21:18:50 -0000 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan wrote: > There are two options that I know of that could make this part easier for > you > > 1) screen (tried and true) can do split windows/multiple windows although > I've never been able to correctly figure it out > > 2) tmux (the pretentious upstart), it's a quick install and it's built in > help (^b?) is eternally useful and it's options make more sense then screen > (to me at least) Along with the Spanish Inquisition, there are three! Three! Three options: screen, tmux, and the native solution of virtual terminals via Alt+PFx switch. This even allows you to use the mouse-driven edit buffer (copy + paste), e. g. if you need to compose a command line using the examples listed in the man page. If you're accessing a system remotely, there is also the option of opening -- FOUR! Four options! -- the option of opening more than one connection to the remote system, and each of them in an own xterm (or KDE Konsole tab which I would say if I had been using KDE, but I haven't). Of course, this solution also allows you copy + paste operations. Other means of accessibility are provided by the window manager you're using. Nobody expects the Spanish Inquisition! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 22:31: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 05A5E106564A for ; Fri, 26 Nov 2010 22:31:30 +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 BC0488FC0C for ; Fri, 26 Nov 2010 22:31:29 +0000 (UTC) Received: from 174-21-106-20.tukw.qwest.net ([174.21.106.20] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PM7cP-0002iE-6a for freebsd-questions@freebsd.org; Fri, 26 Nov 2010 15:22:18 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 26 Nov 2010 14:31:24 -0800 Date: Fri, 26 Nov 2010 14:31:23 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20101126223123.GJ85826@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> <20101126221846.2588d4c4.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iRjOs3ViPWHdlw/I" Content-Disposition: inline In-Reply-To: <20101126221846.2588d4c4.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 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: new user questions. (Before I back myself into a corner!) 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, 26 Nov 2010 22:31:30 -0000 --iRjOs3ViPWHdlw/I Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Polytropon on Friday, 26 November 2010: > On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan = wrote: > > There are two options that I know of that could make this part easier f= or > > you > >=20 > > 1) screen (tried and true) can do split windows/multiple windows althou= gh > > I've never been able to correctly figure it out > >=20 > > 2) tmux (the pretentious upstart), it's a quick install and it's built = in > > help (^b?) is eternally useful and it's options make more sense then sc= reen > > (to me at least) >=20 > Along with the Spanish Inquisition, there are three! Three! > Three options: screen, tmux, and the native solution of > virtual terminals via Alt+PFx switch. This even allows > you to use the mouse-driven edit buffer (copy + paste), > e. g. if you need to compose a command line using the > examples listed in the man page. >=20 > If you're accessing a system remotely, there is also the > option of opening -- FOUR! Four options! -- the option > of opening more than one connection to the remote system, > and each of them in an own xterm (or KDE Konsole tab > which I would say if I had been using KDE, but I haven't). > Of course, this solution also allows you copy + paste > operations. Other means of accessibility are provided by > the window manager you're using. FIVE! Using a tiling window manager like xmonad, just open another xterm. Either share a workspace between them, or put one of them in a different workspace, depending on whether you like to be able to see both at the same time and/or have multiple monitors. >=20 > Nobody expects the Spanish Inquisition! :-) >=20 Yep, it's still a surprise, even after all these years. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --iRjOs3ViPWHdlw/I Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJM8DU7AAoJEIpckszW26+REZkH/07ZtopuehVtw10Ok+2N1O9H l8j6OwAzCNnWg+Bf5UauOV45pgEOUVdIKQFHhy4iCCOUQIC4O/fWdU98vw7Z3e4i 1MSn61In2WEzXP1+D/ZPbxLijXCUo1b5st773FfehYZGdgSlV9d4o6pCAJWrE7MM k1jDpq9+WGoB9uOwWGV5gRCc33GBMeS4NGTrSZ/009BjyaeiMR9tnuPeZYRLXJ+w 30/rOa8yHXfVzDRF4QH5rDI9Px/fS26+qD4R4hB4GvDZ04e+5n6l4bAtpJctlK7q heX+4NNbD1AYwPOCnaGChjr+JwFLk46GK0ZPRixMZ1qCFLQEM93Fz6oHloF3pMk= =9l1O -----END PGP SIGNATURE----- --iRjOs3ViPWHdlw/I-- From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 18:42: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 32163106564A for ; Fri, 26 Nov 2010 18:42:32 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id B7E078FC16 for ; Fri, 26 Nov 2010 18:42:31 +0000 (UTC) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id oAQIP7b2092175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 26 Nov 2010 19:25:08 +0100 (CET) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (orac.jarasoft.net [10.10.10.10]) by raats.xs4all.nl (Postfix) with ESMTP id 4EA093D76AB; Fri, 26 Nov 2010 19:25:08 +0100 (CET) Received: from jarasc430 (raats.xs4all.nl [82.95.230.43]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by raats.xs4all.nl (Postfix) with ESMTPSA id 197CA3D76AA; Fri, 26 Nov 2010 19:25:08 +0100 (CET) Message-ID: From: "Jack Raats" To: , References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk>, <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> Date: Fri, 26 Nov 2010 19:24:57 +0100 Organization: JaRaSoft, Steenbergen, Nederland 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 Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Virus-Scanned: by XS4ALL Virus Scanner X-Mailman-Approved-At: Sat, 27 Nov 2010 02:13:47 +0000 Cc: Subject: Memory leak and swapfile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 18:42:32 -0000 It looks like that there may be a memory leak of my swap space with one of the processes that is running. Big question: How can I determine which process is responsible. Any suggestions? Thanks Jack From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 10:03: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 CE37F1065674 for ; Sat, 27 Nov 2010 10:03:06 +0000 (UTC) (envelope-from mubeeshalivm@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 5D80A8FC1E for ; Sat, 27 Nov 2010 10:03:05 +0000 (UTC) Received: by bwz2 with SMTP id 2so2632805bwz.13 for ; Sat, 27 Nov 2010 02:03:05 -0800 (PST) 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:content-transfer-encoding; bh=Mc68MsiG+WYmSPsorOGQaRLmXHgcJ0YL8E+g7Iz9l8Y=; b=B9NVwuBgJnyZo60VhdjxHlyqGURk6IQN58iomMdOxCj7QbPf/9dn0o+3/wigeS6qrX nEXDKSD0M2Uh1ZO1oaUbtgmeeTzU6lUbwjN5vHvIM1Jc5O3YbpjGIdzH1pL8jOm4Nn2B 7aGLMVRmSy+j1YBOrsDFgj0e9vhh66OAF0HOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Eh62Py+uyL84wqYHTlSHx/MKMC3ep3MRbRFxM82pJ2KrdgmRkHkX8F0qP00x477Tv4 HaXdnc7SNbTidzSaUzbflzgnP3fP9w3ZuUhPK9bZQgwMR7fp/nFPbmVo37X1wDBouQXj GSxHOo9gRvB+LG3LhtG5xad6ILUIQLFq26VLY= MIME-Version: 1.0 Received: by 10.204.103.129 with SMTP id k1mr163770bko.4.1290852185076; Sat, 27 Nov 2010 02:03:05 -0800 (PST) Received: by 10.204.101.197 with HTTP; Sat, 27 Nov 2010 02:03:05 -0800 (PST) Date: Sat, 27 Nov 2010 01:03:05 -0900 Message-ID: From: Mubeesh ali To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: unable to access NTFS 500 GB usb HDD:GEOM: da0: partition 1 does not start on a track boundary ?" 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, 27 Nov 2010 10:03:07 -0000 Hi LIST, I am trying to access a western digital USB hard disk. It seems to recognize it , KDE pops up with the autorun actions but if i open the folder it is empty. the logs show the error "GEOM: da0: partition 1 does not start on a track boundary" . please advice...thanks [admin@pcbsd-8681 /usr/home/admin]$ dmesg | tail cd1 at umass-sim0 bus 0 scbus2 target 0 lun 1 cd1: Removable CD-ROM SCSI-4 device cd1: 40.000MB/s transfers cd1: cd present [342016 x 2048 byte records] GEOM: da0: partition 1 does not start on a track boundary. GEOM: da0: partition 1 does not end on a track boundary. ses0 at umass-sim0 bus 0 scbus2 target 0 lun 2 ses0: Fixed Enclosure Services SCSI-4 device ses0: 40.000MB/s transfers ses0: SCSI-3 SES Device tail-f /var/log/messages Nov 27 08:55:18 pcbsd-8681 root: Unknown USB device: vendor 0x1058 product 0x070a bus uhub3 Nov 27 08:55:18 pcbsd-8681 kernel: ugen1.3: at usbus1 Nov 27 08:55:18 pcbsd-8681 kernel: umass0: on usbus1 Nov 27 08:55:18 pcbsd-8681 kernel: umass0: SCSI over Bulk-Only; quirks =3D= 0x0000 Nov 27 08:55:19 pcbsd-8681 kernel: umass0:2:0:-1: Attached to scbus2 Nov 27 08:55:19 pcbsd-8681 kernel: da0 at umass-sim0 bus 0 scbus2 target 0 = lun 0 Nov 27 08:55:19 pcbsd-8681 kernel: da0: Fixed Direct Access SCSI-4 device Nov 27 08:55:19 pcbsd-8681 kernel: da0: 40.000MB/s transfers Nov 27 08:55:19 pcbsd-8681 kernel: da0: 476270MB (975400960 512 byte sectors: 255H 63S/T 60715C) Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 0 0 0 0 0 Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Nov 27 08:55:19 pcbsd-8681 kernel: cd1 at umass-sim0 bus 0 scbus2 target 0 = lun 1 Nov 27 08:55:19 pcbsd-8681 kernel: cd1: Removable CD-ROM SCSI-4 device Nov 27 08:55:19 pcbsd-8681 kernel: cd1: 40.000MB/s transfers Nov 27 08:55:19 pcbsd-8681 kernel: cd1: cd present [342016 x 2048 byte reco= rds] Nov 27 08:55:19 pcbsd-8681 kernel: GEOM: da0: partition 1 does not start on a track boundary. Nov 27 08:55:19 pcbsd-8681 kernel: GEOM: da0: partition 1 does not end on a track boundary. Nov 27 08:55:19 pcbsd-8681 kernel: ses0 at umass-sim0 bus 0 scbus2 target 0 lun 2 Nov 27 08:55:19 pcbsd-8681 kernel: ses0: Fixed Enclosure Services SCSI-4 device Nov 27 08:55:19 pcbsd-8681 kernel: ses0: 40.000MB/s transfers Nov 27 08:55:19 pcbsd-8681 kernel: ses0: SCSI-3 SES Device ^C --=20 Best=A0 Regards, Mubeesh Ali.V.M From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 13:42: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 B3217106566B for ; Sat, 27 Nov 2010 13:42:07 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out9.libero.it (cp-out9.libero.it [212.52.84.109]) by mx1.freebsd.org (Postfix) with ESMTP id 443E78FC1D for ; Sat, 27 Nov 2010 13:42:06 +0000 (UTC) Received: from soth.ventu (151.51.0.146) by cp-out9.libero.it (8.5.107) id 4CECDB1500871F05 for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 14:42:05 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id oARDg095085390 for ; Sat, 27 Nov 2010 14:42:00 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4CF10AA8.6000009@netfence.it> Date: Sat, 27 Nov 2010 14:42:00 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Subject: Help with USB Card Reader 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, 27 Nov 2010 13:42:07 -0000 Hello. I've got a "hama" branded USB 2.0 Card Reader 19 in 1, which I'd like to use with 8.1/i386. This thing has four slots, only one of which I'd like to populate with an SD card. However I've had no luck so far. If I insert the card and then plug the reader into an USB port, I get: root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2 kernel: ugen2.2: at usbus2 kernel: umass0: on usbus2 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 kernel: umass0:2:0:-1: Attached to scbus2 However, no da device is created in /dev; I only get ugen2.2 When I unplug it, I get: kernel: ugen2.2: at usbus2 (disconnected) kernel: umass0: at uhub2, port 2, addr 2 (disconnected) kernel: (probe0:umass-sim0:0:0:0): AutoSense failed If I plug the reader WITHOUT the SD card, I get: root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2 kernel: ugen2.2: at usbus2 kernel: umass0: on usbus2 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 kernel: umass0:2:0:-1: Attached to scbus2 kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) kernel: da2 at umass-sim0 bus 0 scbus2 target 0 lun 0 kernel: da2: Removable Direct Access SCSI-0 device kernel: da2: 40.000MB/s transfers kernel: da2: Attempt to query device size failed: NOT READY, Medium not present kernel: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 kernel: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error kernel: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition kernel: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) kernel: da3 at umass-sim0 bus 0 scbus2 target 0 lun 1 kernel: da3: Removable Direct Access SCSI-0 device kernel: da3: 40.000MB/s transfers kernel: da3: Attempt to query device size failed: NOT READY, Medium not present kernel: (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 kernel: (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error kernel: (probe0:umass-sim0:0:0:2): SCSI status: Check Condition kernel: (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) kernel: da4 at umass-sim0 bus 0 scbus2 target 0 lun 2 kernel: da4: Removable Direct Access SCSI-0 device kernel: da4: 40.000MB/s transfers kernel: da4: Attempt to query device size failed: NOT READY, Medium not present kernel: (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 kernel: (probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error kernel: (probe0:umass-sim0:0:0:3): SCSI status: Check Condition kernel: (probe0:umass-sim0:0:0:3): SCSI sense: NOT READY asc:3a,0 (Medium not present) kernel: da5 at umass-sim0 bus 0 scbus2 target 0 lun 3 kernel: da5: Removable Direct Access SCSI-0 device kernel: da5: 40.000MB/s transfers kernel: da5: Attempt to query device size failed: NOT READY, Medium not present Inserting the SD card afterwards gives no messages at all; "mount /dev/da4 /mnt/", "fdisk /dev/da4" or any other command result in an "Input/output error". Here are some (possibly useful?) further info: # camcontrol devlist at scbus0 target 1 lun 0 (pass0,da0) at scbus0 target 4 lun 0 (pass1,cd0) at scbus0 target 5 lun 0 (pass2,da1) at scbus1 target 0 lun 0 (pass3,cd1) at scbus2 target 0 lun 0 (da2,pass4) at scbus2 target 0 lun 1 (da3,pass5) at scbus2 target 0 lun 2 (da4,pass6) at scbus2 target 0 lun 3 (da5,pass7) # usbconfig 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=HIGH (480Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.2: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.4: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Any help is appreciated. bye & Thanks av. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 13:58: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 170D01065672 for ; Sat, 27 Nov 2010 13:58:42 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out9.libero.it (cp-out9.libero.it [212.52.84.109]) by mx1.freebsd.org (Postfix) with ESMTP id C918A8FC0C for ; Sat, 27 Nov 2010 13:58:41 +0000 (UTC) Received: from soth.ventu (151.51.0.146) by cp-out9.libero.it (8.5.107) id 4CECDB1500877CA8 for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 14:58:40 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id oARDwWT2090537 for ; Sat, 27 Nov 2010 14:58:32 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4CF10E88.4010006@netfence.it> Date: Sat, 27 Nov 2010 14:58:32 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4CF10AA8.6000009@netfence.it> In-Reply-To: <4CF10AA8.6000009@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Subject: Re: Help with USB Card Reader 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, 27 Nov 2010 13:58:42 -0000 On 11/27/10 14:42, Andrea Venturoli wrote: > Hello. > I've got a "hama" branded USB 2.0 Card Reader 19 in 1, which I'd like to > use with 8.1/i386. Sorry, my fault. It seems this reader cannot work with SDHCs; in fact it works with MMCs. bye av. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 16:37: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 3F538106566B for ; Sat, 27 Nov 2010 16:37:48 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward17.mail.yandex.net (forward17.mail.yandex.net [95.108.253.142]) by mx1.freebsd.org (Postfix) with ESMTP id E3F128FC0A for ; Sat, 27 Nov 2010 16:37:47 +0000 (UTC) Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward17.mail.yandex.net (Yandex) with ESMTP id 14B07A5849D for ; Sat, 27 Nov 2010 19:37:46 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1290875866; bh=fawVayxF7gMs9RbTqZMDxbGoxJHUHu3Y3PrDkfrGk5I=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=EVMaDzVAHOT8mhzSxkld3gDo14Q0Ef+hzR4SC39WASciOJ1JfWc5zEaZ67yLOVj8O Lek0nUwrySvwf2maeVj1UOCJoBSGQd0fe0hDsj7hKlCz8FxASezDt3i3x+VbPSOt2t UImB0MQe9qJvY/zg4C/T3NtPkpicfKjISZ4rg3dk= Received: from kes.in (unknown [77.93.42.18]) by smtp17.mail.yandex.net (Yandex) with ESMTPA id DA49E3070062 for ; Sat, 27 Nov 2010 19:37:45 +0300 (MSK) Date: Sat, 27 Nov 2010 18:38:03 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1071667463.20101127183803@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: BUG: freebsd.org/ru/releases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2010 16:37:48 -0000 HI, Freebsd-questions. http://www.freebsd.org/ru/releases/ on this page is wrong information about releases. Old release is 6.0 and last is 8.1 on march 2006!! year. -- Ñ óâàæåíèåì, Êîíüêîâ mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17: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 3F421106566B for ; Sat, 27 Nov 2010 17:01:19 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by mx1.freebsd.org (Postfix) with ESMTP id 0693C8FC20 for ; Sat, 27 Nov 2010 17:01:18 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by anchor-post-2.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMO9F-0005Xr-m5 for freebsd-questions@FreeBSD.ORG; Sat, 27 Nov 2010 17:01:18 +0000 From: "Dave" To: FreeBSD Mailing List Date: Sat, 27 Nov 2010 17:01:17 -0000 MIME-Version: 1.0 Message-ID: <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: <4CEFA3DD.9090106@qeng-ho.org> References: <20101125230217.GA25485@thought.org>, <4CEFA3DD.9090106@qeng-ho.org> X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Cc: Subject: next question.... 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, 27 Nov 2010 17:01:19 -0000 On 26 Nov 2010 at 12:11, Arthur Chance wrote: > -- > "Although the wombat is real and the dragon is not, few know what a > wombat looks like, but everyone knows what a dragon looks like." > > -- Avram Davidson, _Adventures in Unhistory_ Hmm.. A Wombat... That's a recoilless anti-tank gun if I remember? Do not stand behind one, when it's fired! http://www.britains-smallwars.com/Falklands/b-weapons.htm#wombat I digress.... Anyway. Some progress here.. I have managed at long last to get the OS's own ftp server to behave how I want it again (except it's port usage, but I'll work on that later). (I failed to get pure-ftp installed. Something in it's dependancies doesn't like V8.0 I think. Come to that, I have to force Sysinstall to look for V8.1 stuff, as all the V8.0 stuff has been archived it seems. This system was built from a boot disk, and a net based install.) Anyway. I've also now got SSH working, and I can connect and login from any number of other (Windows) PC's using PuTTY, it works well. The GPS timed NTP server system also still works well. But, when logged in as a regular (non root) user, I cant 'su' or 'sudo' to achieve root privelages if needed. (Using PuTTY, so I can now copy paste screen output to here.) I get this, regardless of how I log in, at the machine's console, or via SSH. login as: site Password: Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.0-RELEASE (PPSGENERIC) #0: Wed Apr 14 22:55:09 BST 2010 Welcome to FreeBSD! . . [stuff snipped for brevity] . $ su su: Sorry $ sudo sudo: not found $ uname -a FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 22:55:09 BST 2010 root@FBSD.67MK181QZ:/usr/obj/usr/src/sys/PPSGENERIC i386 $ $ What have I done bad now? For the moment (because I need to, as I want to run this thing "headless", no physical keyboard or display) I've enabled root login over ssh. Yes, I realise the risks, but the ssh port will never be exposed to the world, just the rest of my lan, and yes, that could be bad if "something got in". Cheers. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:06: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 EB961106566B for ; Sat, 27 Nov 2010 17:06:07 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-3.mail.demon.net (lon1-post-3.mail.demon.net [195.173.77.150]) by mx1.freebsd.org (Postfix) with ESMTP id B1ACF8FC0A for ; Sat, 27 Nov 2010 17:06:07 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by lon1-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMODu-0000SR-ed for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:06:06 +0000 From: "Dave" To: freebsd-questions Questions list Date: Sat, 27 Nov 2010 17:06:06 -0000 MIME-Version: 1.0 Message-ID: <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, , X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 17:06:08 -0000 On 26 Nov 2010 at 9:53, Ryan Coleman wrote: > > On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote: > > > On Fri, Nov 26, 2010 at 6:30 AM, Dave > > wrote: > > > >> Yes, I found that, good info. I'm relying on the freebsd.org site > >> man > >> pages and documentation among others, as I'm finding it too > >> inconvenient (bad short term memory) using the man pages on the > >> system. At least I can have the website pages open on a nearby > >> laptop. > >> > > There are two options that I know of that could make this part > > easier for you > > > > 1) screen (tried and true) can do split windows/multiple windows > > although I've never been able to correctly figure it out > I second screen. > > /usr/ports/sysutils/screen/ > > > Ryan, thanks, but no 'ports' is installed on this box, it was built with a net install, from a V8.0 boot disk, earlier this year (April if memory serves.) I find now, that Sysinstall's ports management utility, has to be "told" to go look for V8.1 stuff (the Options page) else it just whinges about not being able to login to the repository ftp servers. Cheers. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:07: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 8B95D10656A3 for ; Sat, 27 Nov 2010 17:07:07 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 25BBE8FC1B for ; Sat, 27 Nov 2010 17:07:06 +0000 (UTC) Received: by ewy24 with SMTP id 24so1408201ewy.13 for ; Sat, 27 Nov 2010 09:07:06 -0800 (PST) Received: by 10.213.22.138 with SMTP id n10mr7643923ebb.12.1290877625806; Sat, 27 Nov 2010 09:07:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Sat, 27 Nov 2010 09:06:45 -0800 (PST) In-Reply-To: <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk> References: <20101125230217.GA25485@thought.org> <4CEFA3DD.9090106@qeng-ho.org> <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk> From: Chris Brennan Date: Sat, 27 Nov 2010 12:06:45 -0500 Message-ID: To: Dave Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: next question.... 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, 27 Nov 2010 17:07:07 -0000 On Sat, Nov 27, 2010 at 12:01 PM, Dave wrote: > $ su > su: Sorry > $ sudo > sudo: not found > $ uname -a > FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 > 22:55:09 BST 2010 > root@FBSD.67MK181QZ:/usr/obj/usr/src/sys/PPSGENERIC i386 > $ > $ > > You need to add yourself to the 'wheel' group to su or you need to add the proper line to /usr/local/etc/sudoers to sudo correctly. When su'ing, pass 'su -' (assumes the path of the user your changing to). When sudo'ing, pass 'sudo su -' (same principle applies, but you don't need to to be in wheel to use this command) From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:13: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 4CB74106564A for ; Sat, 27 Nov 2010 17:13:04 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-3.mail.demon.net (anchor-post-3.mail.demon.net [195.173.77.134]) by mx1.freebsd.org (Postfix) with ESMTP id 13D9E8FC15 for ; Sat, 27 Nov 2010 17:13:03 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by anchor-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMOKc-0006gd-ok for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:13:02 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Sat, 27 Nov 2010 17:13:02 -0000 MIME-Version: 1.0 Message-ID: <4CF13C1E.9259.18D5875@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: <20101126221846.2588d4c4.freebsd@edvax.de> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, , <20101126221846.2588d4c4.freebsd@edvax.de> X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 17:13:04 -0000 On 26 Nov 2010 at 22:18, Polytropon wrote: > On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan > wrote: > There are two options that I know of > that could make this part easier for > you > > 1) screen (tried and > true) can do split windows/multiple windows although > I've never been > able to correctly figure it out > > 2) tmux (the pretentious upstart), > it's a quick install and it's built in > help (^b?) is eternally > useful and it's options make more sense then screen > (to me at least) > > Along with the Spanish Inquisition, there are three! Three! > Three options: screen, tmux, and the native solution of > virtual terminals via Alt+PFx switch. This even allows > you to use the mouse-driven edit buffer (copy + paste), > e. g. if you need to compose a command line using the > examples listed in the man page. > > If you're accessing a system remotely, there is also the > option of opening -- FOUR! Four options! -- the option > of opening more than one connection to the remote system, > and each of them in an own xterm (or KDE Konsole tab > which I would say if I had been using KDE, but I haven't). > Of course, this solution also allows you copy + paste > operations. Other means of accessibility are provided by > the window manager you're using. > > Nobody expects the Spanish Inquisition! :-) > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Hi. As I now have ssh working, I can indeed have multiple logins running in indipendant windows on another box. (because I have it) I'm using PuTTY on Win2k. http://www.chiark.greenend.org.uk/~sgtatham/putty/ It appears to work well. I now have another problem of the BSD flavor (inabiltiy to 'su') but I've already asked that in another post. Thanks. Dave B. PS: Do I detect a Monty Python fan? ;-) From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:20:05 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 62E751065740 for ; Sat, 27 Nov 2010 17:20:05 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-1.mail.demon.net (anchor-post-1.mail.demon.net [195.173.77.132]) by mx1.freebsd.org (Postfix) with ESMTP id 22EEB8FC23 for ; Sat, 27 Nov 2010 17:20:04 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by anchor-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMORP-0007CH-if for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:20:03 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Sat, 27 Nov 2010 17:20:03 -0000 MIME-Version: 1.0 Message-ID: <4CF13DC3.7470.193C451@dave.g8kbv.demon.co.uk> Priority: normal X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: missing digest mail? 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, 27 Nov 2010 17:20:05 -0000 I just noticed, that I seem to have missed some digest mails, Vol 338, issues 4 to 7. (No list mail between the 24th and 27th November, only direct mails from list members.) Nothing in the spam bucket here either. Hopefully nothing useful to me passed by. Regards. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:21: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 ABA521065672 for ; Sat, 27 Nov 2010 17:21:06 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 476908FC13 for ; Sat, 27 Nov 2010 17:21:05 +0000 (UTC) Received: by eyb7 with SMTP id 7so1405903eyb.13 for ; Sat, 27 Nov 2010 09:21:05 -0800 (PST) Received: by 10.213.113.10 with SMTP id y10mr3597413ebp.12.1290878463322; Sat, 27 Nov 2010 09:21:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Sat, 27 Nov 2010 09:20:43 -0800 (PST) In-Reply-To: <4CF13C1E.9259.18D5875@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <20101126221846.2588d4c4.freebsd@edvax.de> <4CF13C1E.9259.18D5875@dave.g8kbv.demon.co.uk> From: Chris Brennan Date: Sat, 27 Nov 2010 12:20:43 -0500 Message-ID: To: Dave Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 17:21:06 -0000 > Hi. > > As I now have ssh working, I can indeed have multiple logins running in > indipendant windows on another box. (because I have it) I'm using PuTTY > on Win2k. http://www.chiark.greenend.org.uk/~sgtatham/putty/ > > It appears to work well. > > I now have another problem of the BSD flavor (inabiltiy to 'su') but I've > already asked that in another post. > > Thanks. > > use screen/tmux/some other app that does this inside of putty to preserve work in progress. :D > Dave B. > > PS: Do I detect a Monty Python fan? ;-) > > Bring out your dead! Bring out your dead! From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:22: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 E523610656A4 for ; Sat, 27 Nov 2010 17:22:17 +0000 (UTC) (envelope-from amvandemore@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 72E278FC20 for ; Sat, 27 Nov 2010 17:22:17 +0000 (UTC) Received: by fxm16 with SMTP id 16so1518803fxm.13 for ; Sat, 27 Nov 2010 09:22:16 -0800 (PST) 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=cJOWI4DKY3xx1QjqiJOoXTyDUmPKAGcv8AUNyfzMhdA=; b=cqkkfRf873szQapffVlQVxXNqDXFn1QGO6lJDn1XU66qn1WUWwg+dZ3rzyXi7bTsUI nvAzNKuYrGR8Zi4rbUxPVfTrrJkVX+IK1VeWtJnIj2pz+bJ2RVXnY+HW8SM9v43tpR5G 3Jo+tn/49XM3FNnRxi1X6QJnVAFicTzsNGOKk= 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=KPO4rVev1RNOGdYUG/Xlpe4IpeVlTvdPWEqiCdPqYTBoBmtXL5JUgCJuyxUa0QLW4b Y9anJe8H2YtzjSCv16qZvzF5FMKBUtv0BPrW7PCS4ieL4wU5JcBpemeWB2Bg/sffNIeU zw+17UKMsm/kNBwv/1SvU2ut6JE+9YaCtpdK4= MIME-Version: 1.0 Received: by 10.223.83.196 with SMTP id g4mr3396870fal.63.1290878536241; Sat, 27 Nov 2010 09:22:16 -0800 (PST) Received: by 10.223.121.138 with HTTP; Sat, 27 Nov 2010 09:22:16 -0800 (PST) In-Reply-To: <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> Date: Sat, 27 Nov 2010 11:22:16 -0600 Message-ID: From: Adam Vande More To: Dave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Questions list Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 17:22:18 -0000 On Sat, Nov 27, 2010 at 11:06 AM, Dave wrote: > > > > /usr/ports/sysutils/screen/ > > > > > > > > Ryan, thanks, but no 'ports' is installed on this box, it was built with > a net install, from a V8.0 boot disk, earlier this year (April if memory > serves.) > > I find now, that Sysinstall's ports management utility, has to be "told" > to go look for V8.1 stuff (the Options page) else it just whinges about > not being able to login to the repository ftp servers. > As root, type "portsnap fetch extract" I also like tmux, it's BSD licensed and BSD-like in that is has easier to work with default settings. Once ports are installed you'll want to install a port managment tool, I prefer portmaster. Something like the following will get you up and running with portmaster and install tmux: cd /usr/ports/ports-mgmt/portmaster make install clean && rehash portmaster --no-confirm -D /usr/ports/sysutils/tmux && rehash -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:28: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 71CE6106564A for ; Sat, 27 Nov 2010 17:28:33 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id F1E6A8FC1C for ; Sat, 27 Nov 2010 17:28:32 +0000 (UTC) Received: from park.js.berklix.net (p549A479A.dip.t-dialin.net [84.154.71.154]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id oARHST5S098250; Sat, 27 Nov 2010 17:28:30 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id oARHSS5N009714; Sat, 27 Nov 2010 18:28:29 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id oARHSIYJ084643; Sat, 27 Nov 2010 18:28:23 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201011271728.oARHSIYJ084643@fire.js.berklix.net> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sat, 27 Nov 2010 18:38:03 +0200." <1071667463.20101127183803@yandex.ru> Date: Sat, 27 Nov 2010 18:28:18 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: BUG: freebsd.org/ru/releases 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, 27 Nov 2010 17:28:33 -0000 Hi, Reference: > From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= > Reply-to: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= > Date: Sat, 27 Nov 2010 18:38:03 +0200 > Message-id: <1071667463.20101127183803@yandex.ru> =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= wrote: > HI, Freebsd-questions. > > http://www.freebsd.org/ru/releases/ > on this page is wrong information about releases. > > Old release is 6.0 and last is 8.1 on march 2006!! year. Please file a change request: man send-pr send-pr Which both: - lodgess in bug database till someone fixes it - sends a mail to people who have commit privilege to fix it. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com If I've not replied, please resend, Some personal mail to me received before 12:40 Sun 20 Nov 2010 +01:00, may have been zapped by spam filter; Fixed 17:30 Thu 25 Nov 2010 CET. Mail plain text; Not quoted-printable, or HTML or base 64. Avoid top posting, it cripples itemised cumulative responses. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:32:25 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 EBA45106564A for ; Sat, 27 Nov 2010 17:32:25 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-3.mail.demon.net (anchor-post-3.mail.demon.net [195.173.77.134]) by mx1.freebsd.org (Postfix) with ESMTP id B2D838FC16 for ; Sat, 27 Nov 2010 17:32:25 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by anchor-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMOdM-0002CX-oW for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:32:24 +0000 From: "Dave" To: FreeBSD Mailing List Date: Sat, 27 Nov 2010 17:32:24 -0000 MIME-Version: 1.0 Message-ID: <4CF140A8.18245.19F13A4@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <20101125230217.GA25485@thought.org>, <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk>, X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: next question.... 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, 27 Nov 2010 17:32:26 -0000 On 27 Nov 2010 at 12:06, Chris Brennan wrote: > On Sat, Nov 27, 2010 at 12:01 PM, Dave wrote: > > > $ su > > su: Sorry > > $ sudo > > sudo: not found > > $ uname -a > > FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr > > 14 22:55:09 BST 2010 > > root@FBSD.67MK181QZ:/usr/obj/usr/src/sys/PPSGENERIC i386 $ $ > > > > > > You need to add yourself to the 'wheel' group to su or you need to add > the proper line to /usr/local/etc/sudoers to sudo correctly. > > When su'ing, pass 'su -' (assumes the path of the user your changing > to). > > When sudo'ing, pass 'sudo su -' (same principle applies, but you don't > need to to be in wheel to use this command) > That was quick! Thanks Chris. That user now part of the 'wheel' group, and 'su' now works. I'll also remove the ability of root to login remotely. Many thanks again. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:40: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 A91C11065698 for ; Sat, 27 Nov 2010 17:40:50 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF3D8FC0C for ; Sat, 27 Nov 2010 17:40:50 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by lon1-post-1.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMOlV-0001OG-XB for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:40:49 +0000 From: "Dave" To: freebsd-questions Questions list Date: Sat, 27 Nov 2010 17:40:49 -0000 MIME-Version: 1.0 Message-ID: <4CF142A1.1231.1A6C687@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk>, X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 17:40:50 -0000 On 27 Nov 2010 at 11:22, Adam Vande More wrote: > On Sat, Nov 27, 2010 at 11:06 AM, Dave wrote: > > > > > > > /usr/ports/sysutils/screen/ > > > > > > > Ryan, thanks, but no 'ports' is installed on this box, it was built > > with a net install, from a V8.0 boot disk, earlier this year (April > > if memory serves.) > > > > I find now, that Sysinstall's ports management utility, has to be > > "told" to go look for V8.1 stuff (the Options page) else it just > > whinges about not being able to login to the repository ftp servers. > > > > As root, type "portsnap fetch extract" > > I also like tmux, it's BSD licensed and BSD-like in that is has easier > to work with default settings. Once ports are installed you'll want > to install a port managment tool, I prefer portmaster. > > Something like the following will get you up and running with > portmaster and install tmux: > > cd /usr/ports/ports-mgmt/portmaster > make install clean && rehash > portmaster --no-confirm -D /usr/ports/sysutils/tmux && rehash > > > -- > Adam Vande More > Thanks Adam. Unless I hear from others a good reason why not, I'll be trying that tomorrow, as I'm running out of time today to play any more. The first of this years Xmas party's tonight. Tomorrow, I might be a little slow as a result.. Best Regards to All. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 18:05: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 CE784106564A for ; Sat, 27 Nov 2010 18:05:11 +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 8D50A8FC14 for ; Sat, 27 Nov 2010 18:05:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 19E291E327; Sat, 27 Nov 2010 19:05:09 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oARI59KO001479; Sat, 27 Nov 2010 19:05:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Nov 2010 19:05:08 +0100 From: Polytropon To: "Dave" Message-Id: <20101127190508.cf2f4ded.freebsd@edvax.de> In-Reply-To: <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.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: freebsd-questions Questions list Subject: Re: new user questions. (Before I back myself into a corner!) 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: Sat, 27 Nov 2010 18:05:11 -0000 On Sat, 27 Nov 2010 17:06:06 -0000, "Dave" wrote: > Ryan, thanks, but no 'ports' is installed on this box, it was built with > a net install, from a V8.0 boot disk, earlier this year (April if memory > serves.) Use this: # pkg_add -r screen Precompiled packaes work without a ports tree installed. Obtains files via Internet and installs all needed dependencies. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 18:05: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 B4BA9106566C for ; Sat, 27 Nov 2010 18:05:26 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA2D8FC15 for ; Sat, 27 Nov 2010 18:05:25 +0000 (UTC) Received: by eyb7 with SMTP id 7so1414849eyb.13 for ; Sat, 27 Nov 2010 10:05:25 -0800 (PST) Received: by 10.213.10.136 with SMTP id p8mr4885848ebp.51.1290881124741; Sat, 27 Nov 2010 10:05:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Sat, 27 Nov 2010 10:05:04 -0800 (PST) In-Reply-To: <4CF142A1.1231.1A6C687@dave.g8kbv.demon.co.uk> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> <4CF142A1.1231.1A6C687@dave.g8kbv.demon.co.uk> From: Chris Brennan Date: Sat, 27 Nov 2010 13:05:04 -0500 Message-ID: To: Dave Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Questions list Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 18:05:26 -0000 On Sat, Nov 27, 2010 at 12:40 PM, Dave wrote: > On 27 Nov 2010 at 11:22, Adam Vande More wrote: > > > On Sat, Nov 27, 2010 at 11:06 AM, Dave wrote: > > > > > > > > > > /usr/ports/sysutils/screen/ > > > > > > > > > > Ryan, thanks, but no 'ports' is installed on this box, it was built > > > with a net install, from a V8.0 boot disk, earlier this year (April > > > if memory serves.) > > > > > > I find now, that Sysinstall's ports management utility, has to be > > > "told" to go look for V8.1 stuff (the Options page) else it just > > > whinges about not being able to login to the repository ftp servers. > > > > > > > As root, type "portsnap fetch extract" > > > > I also like tmux, it's BSD licensed and BSD-like in that is has easier > > to work with default settings. Once ports are installed you'll want > > to install a port managment tool, I prefer portmaster. > > > > Something like the following will get you up and running with > > portmaster and install tmux: > > > > cd /usr/ports/ports-mgmt/portmaster > > make install clean && rehash > > portmaster --no-confirm -D /usr/ports/sysutils/tmux && rehash > No need to specify the full path w/ portmaster ... just "portmaster --no-confirm -D sysutils/tmux" is sufficient, portsnap is the best/easiest way to get the latest snapshot of ports. No real reason not to unless your using a custom ports or are maintaining your own ports and don't want them clobbered. > > > > > Thanks Adam. > > Unless I hear from others a good reason why not, I'll be trying that > tomorrow, as I'm running out of time today to play any more. The first > of this years Xmas party's tonight. Tomorrow, I might be a little slow > as a result.. > > Best Regards to All. > > Dave B. > > _______________________________________________ > 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 Sat Nov 27 18:25: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 54AE8106566C for ; Sat, 27 Nov 2010 18:25:11 +0000 (UTC) (envelope-from amvandemore@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 D15148FC12 for ; Sat, 27 Nov 2010 18:25:10 +0000 (UTC) Received: by fxm16 with SMTP id 16so1544084fxm.13 for ; Sat, 27 Nov 2010 10:25:09 -0800 (PST) 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=LP24aDf/kdyjdpt79wgqVzXxlYotteybClO1JU/axwU=; b=Wo2oBg24z4FqR4CLLUcPs4sWvvyVGBlhLKC0AupolXjubvGzT2T101BUjy6fIdULKE /zIspGvo+suZWwB/hSFS7D8k42MQxzqQORZcubwYmY/M3zq1WSrQiwodQ2BJuFu8DXRC Wb+rbgE+c6zrl7v3vyKRzPn0JJBgFfz8tip+E= 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=rhy1A7/548vFfmYhcVsHxZXZ1vGuHhJkHB7rzbmnwq+iXboiMjYqLKBBgyx6qKqFOw 5pvvuKn9bx6FAddJpEoMSKIGAIKwRN4GvIVkGDl4A9FED8912PbaBdLhezDtkSpRX57q q+ifWOVFfm/UyObxAdzA1avIR+4u2Si3lOHfE= MIME-Version: 1.0 Received: by 10.223.117.2 with SMTP id o2mr3463164faq.6.1290882308751; Sat, 27 Nov 2010 10:25:08 -0800 (PST) Received: by 10.223.121.138 with HTTP; Sat, 27 Nov 2010 10:25:08 -0800 (PST) In-Reply-To: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CF13A7E.9852.186FE1D@dave.g8kbv.demon.co.uk> <4CF142A1.1231.1A6C687@dave.g8kbv.demon.co.uk> Date: Sat, 27 Nov 2010 12:25:08 -0600 Message-ID: From: Adam Vande More To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dave , freebsd-questions Questions list Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 18:25:11 -0000 On Sat, Nov 27, 2010 at 12:05 PM, Chris Brennan wrote: > No need to specify the full path w/ portmaster ... just "portmaster > --no-confirm -D sysutils/tmux" is sufficient, portsnap is the best/easiest > way to get the latest snapshot of ports. No real reason not to unless your > using a custom ports or are maintaining your own ports and don't want them > clobbered. > There are a couple of reasons specifying the full path is more convenient: 1. tab-completions work 2. When dealing with system utilities like whereis(1), the full path is displayed making double-click+middle click give you correct cmd portmaster $FULL_PATH - $PORTSDIR is only useful for me in cases where I remember exactly where the port lives. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 20:56: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 789B91065673 for ; Sat, 27 Nov 2010 20:56:07 +0000 (UTC) (envelope-from kurt.buff@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 088B98FC08 for ; Sat, 27 Nov 2010 20:56:06 +0000 (UTC) Received: by wyf19 with SMTP id 19so3055182wyf.13 for ; Sat, 27 Nov 2010 12:56:06 -0800 (PST) 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=k+6wTLLhzVCXhbwKYEjlPqiTijUyGQz2h9QCxvtSCcU=; b=C+dNbFXjOe1CuORHi9HzX9o6Yb4kzhytJ1cyZZD/bVJaD3MbN92QwCJzqsD1YE48xh wRu+o1Qml7HcCa6ZVEk+dIGZ6GcFNbfcpeJyBki2bSX2YWTfL0r5bvH8oYm2Q0WXsFBn F2yaInOueKAKToQwC+e+oY2Zu6UhZBAuO4hFQ= 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=D92pbaMiWvufZIDE1rS6YcXiO4yowqVDoNj9m2CU0cRQMSC7fZ/SL46KInLEWCDI6R IVyAyBO3H5rTEm9V4DuSPaqoYOfCf3ZemN551bf1HOYbYjMx3dF4yG1B34E3PFYC9bbv R7CQ3WCzHk3p1dBg7EcWN5k2Q8zOgilApTGQY= MIME-Version: 1.0 Received: by 10.216.142.199 with SMTP id i49mr3125749wej.96.1290891365316; Sat, 27 Nov 2010 12:56:05 -0800 (PST) Received: by 10.216.139.29 with HTTP; Sat, 27 Nov 2010 12:56:05 -0800 (PST) In-Reply-To: <20101126221846.2588d4c4.freebsd@edvax.de> References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> <20101126221846.2588d4c4.freebsd@edvax.de> Date: Sat, 27 Nov 2010 12:56:05 -0800 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 20:56:07 -0000 On Fri, Nov 26, 2010 at 13:18, Polytropon wrote: > On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan wrote: >> There are two options that I know of that could make this part easier for >> you >> >> 1) screen (tried and true) can do split windows/multiple windows although >> I've never been able to correctly figure it out >> >> 2) tmux (the pretentious upstart), it's a quick install and it's built in >> help (^b?) is eternally useful and it's options make more sense then screen >> (to me at least) > > Along with the Spanish Inquisition, there are three! Three! > Three options: screen, tmux, and the native solution of > virtual terminals via Alt+PFx switch. This even allows > you to use the mouse-driven edit buffer (copy + paste), > e. g. if you need to compose a command line using the > examples listed in the man page. > > If you're accessing a system remotely, there is also the > option of opening -- FOUR! Four options! -- the option > of opening more than one connection to the remote system, > and each of them in an own xterm (or KDE Konsole tab > which I would say if I had been using KDE, but I haven't). > Of course, this solution also allows you copy + paste > operations. Other means of accessibility are provided by > the window manager you're using. > > Nobody expects the Spanish Inquisition! :-) That's what I get for waiting a week to look at email... Kurt From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 21:06:59 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 406DF106564A for ; Sat, 27 Nov 2010 21:06:59 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id C6BEC8FC12 for ; Sat, 27 Nov 2010 21:06:58 +0000 (UTC) Received: by wwb29 with SMTP id 29so125396wwb.1 for ; Sat, 27 Nov 2010 13:06:57 -0800 (PST) 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=C/UAtiE3HmKFTaYkfaSZW4uHFsGAlZ3mgkZ7i8+CT9c=; b=T/te3cU0OVQjH+qvuU3s906CEVV7Ul/K2K8r+IicuXOj8jqPZqbMyv2rqDOQRHd+TD d1vxPTj35/OUJl0we2ZS9QBC3Frg1FHD7YnXw3+IFX0eTYbZGMwj8Z8ypgCKONJ4oY0X pwz5mcoEdPP6mxBUv5SsEGPLKMRk539p/d02I= 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=m41lVcxclzlsZfs2itMo6QTOGw8aVZuK47GEdDGtP7sydv/Bp4kx4S8/u/QKZ4Yj/F g+RjCRHluRHEco6gCYcwuqeOa7Teqolo+wKA1tlzu+kbCyKkRFNufYPNiKlFjuffw0HF DFT8vEKFkslSxlaiMmNXoKa6pfv85lTC4G2JQ= MIME-Version: 1.0 Received: by 10.216.7.205 with SMTP id 55mr1186795wep.96.1290890405666; Sat, 27 Nov 2010 12:40:05 -0800 (PST) Received: by 10.216.139.29 with HTTP; Sat, 27 Nov 2010 12:40:05 -0800 (PST) In-Reply-To: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> Date: Sat, 27 Nov 2010 12:40:05 -0800 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 21:06:59 -0000 On Fri, Nov 26, 2010 at 06:53, Chris Brennan wrote: > > On Fri, Nov 26, 2010 at 6:30 AM, Dave wrote: > > > =C2=A0 Yes, I found that, good info. =C2=A0I'm relying on the freebsd.o= rg site man > > pages and documentation among others, as I'm finding it too inconvenien= t > > (bad short term memory) using the man pages on the system. =C2=A0At lea= st I > > can have the website pages open on a nearby laptop. > > > > > There are two options that I know of that could make this part easier for > you > > 1) screen (tried and true) can do split windows/multiple windows although > I've never been able to correctly figure it out > > 2) tmux (the pretentious upstart), it's a quick install and it's built in > help (^b?) is eternally useful and it's options make more sense then scre= en > (to me at least) > > Don't get me wrong, both serve there purpose. Personally, I prefer tmux b= ut > I still use screen for some things. So the choice comes down to what you > find that works for you. For a standard installation, there's also the base console functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12, gets a different console. I often leave the main console alone to display system messages while I work at other consoles. Or, for that matter, multiple ssh sessions. Kurt From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 21:09: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 47603106564A for ; Sat, 27 Nov 2010 21:09:08 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id E39FA8FC1D for ; Sat, 27 Nov 2010 21:09:07 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta03.westchester.pa.mail.comcast.net with comcast id cL6c1f0021ZXKqc53M98Yu; Sat, 27 Nov 2010 21:09:08 +0000 Received: from comcast.net ([98.203.142.76]) by omta21.westchester.pa.mail.comcast.net with comcast id cM961f0011f6R9u3hM96d4; Sat, 27 Nov 2010 21:09:08 +0000 Received: by comcast.net (sSMTP sendmail emulation); Sat, 27 Nov 2010 13:09:04 -0800 Date: Sat, 27 Nov 2010 13:09:04 -0800 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20101127210903.GA34337@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> <20101126221846.2588d4c4.freebsd@edvax.de> <20101126223123.GJ85826@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20101126223123.GJ85826@libertas.local.camdensoftware.com> X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: new user questions. (Before I back myself into a corner!) 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, 27 Nov 2010 21:09:08 -0000 On Fri 26 Nov 2010 at 14:31:23 PST Chip Camden wrote: >Quoth Polytropon on Friday, 26 November 2010: > >FIVE! Using a tiling window manager like xmonad, just open another >xterm. Either share a workspace between them, or put one of them in a >different workspace, depending on whether you like to be able to see >both at the same time and/or have multiple monitors. SIX! sysutils/dvtm tiles console or terminal windows, similar to tmux. From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 21:16: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 7805B106566C for ; Sat, 27 Nov 2010 21:16:40 +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 362CF8FC1A for ; Sat, 27 Nov 2010 21:16:39 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 6091C24A08; Sat, 27 Nov 2010 22:16:38 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oARLGbBB002264; Sat, 27 Nov 2010 22:16:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Nov 2010 22:16:37 +0100 From: Polytropon To: Kurt Buff Message-Id: <20101127221637.5b884312.freebsd@edvax.de> In-Reply-To: References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk> <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk> <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.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: freebsd-questions@freebsd.org Subject: Re: new user questions. (Before I back myself into a corner!) 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: Sat, 27 Nov 2010 21:16:40 -0000 > For a standard installation, there's also the base console > functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12, > gets a different console. This depends on how many virtual consoles have been defined in the /etc/ttys file. I think the default is 0 up to 7, and 8 (corresponds to PF9) is X. The consoles for Alt+PF10,11,12 can be added easily. > I often leave the main console alone to > display system messages while I work at other consoles. In former times, this was my STANDARD development setting (text-mode only), 80x25 each. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 21: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 919C3106564A for ; Sat, 27 Nov 2010 21:37:26 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 71FAF8FC0C for ; Sat, 27 Nov 2010 21:37:26 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oARLbOkj074703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Nov 2010 13:37:24 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oARLbOMW074700; Sat, 27 Nov 2010 13:37:24 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01945; Sat, 27 Nov 10 13:33:59 PST Date: Sat, 27 Nov 2010 13:33:44 -0800 From: perryh@pluto.rain.com To: dave@g8kbv.demon.co.uk Message-Id: <4cf17938.6qkpmXB6VkhvfGfN%perryh@pluto.rain.com> References: <4CF13DC3.7470.193C451@dave.g8kbv.demon.co.uk> In-Reply-To: <4CF13DC3.7470.193C451@dave.g8kbv.demon.co.uk> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: missing digest mail? 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, 27 Nov 2010 21:37:26 -0000 "Dave" wrote: > I just noticed, that I seem to have missed some digest mails, > Vol 338, issues 4 to 7. (No list mail between the 24th and 27th > November, only direct mails from list members.) Nothing in the > spam bucket here either. > > Hopefully nothing useful to me passed by. http://lists.freebsd.org/pipermail/freebsd-questions/2010-November/date.html From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 22:06: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 004C31065670 for ; Sat, 27 Nov 2010 22:06:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 51E498FC0C for ; Sat, 27 Nov 2010 22:06:20 +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 oARM6GJH071888 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 27 Nov 2010 22:06:16 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk oARM6GJH071888 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1290895576; bh=Rtxga/e5YiVlBWURDxGUxzyPaRqUM1L2zGgjObf+S/Q=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4CF180D0.7080004@infracaninophile.co.uk>|Date:=20S at,=2027=20Nov=202010=2022:06:08=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.12)=20Gecko/20101027=20Thunderbird/3.1.6|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Memory=20l eak=20and=20swapfile|References:=20<4CED8855.23373.40E2965D@dave.g 8kbv.demon.co.uk>,=09<4CEEC055.15679.45A559A8@dave.g8kbv.demon.co. uk>,=09<20101125212508.82f1a646.freebsd@edvax.de>=09<4CEF9A55.2953 5.48F8EF07@dave.g8kbv.demon.co.uk>=20|In-Reply-To:=20|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Con tent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20pr otocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------ ------enig5582D6BA1CCBBEAA1A595E9D"; b=uZr5DcquHu1D7t1hTR9jMI9YgCY5adFASh4xnuAj5t5b/BdstJWgVgso5r+IP4lMw PtYXk4eWB19KYX9KHYfc4ApCYj7Li6gpeqgyVFThbU/OIOZSIjvYcFXLGeRqGEw4YX eYmYob6ujfDwX0hSt9e5rfkP2wnTxs3eRPzPEPC8= Message-ID: <4CF180D0.7080004@infracaninophile.co.uk> Date: Sat, 27 Nov 2010 22:06:08 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4CED8855.23373.40E2965D@dave.g8kbv.demon.co.uk>, <4CEEC055.15679.45A559A8@dave.g8kbv.demon.co.uk>, <20101125212508.82f1a646.freebsd@edvax.de> <4CEF9A55.29535.48F8EF07@dave.g8kbv.demon.co.uk> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5582D6BA1CCBBEAA1A595E9D" X-Virus-Scanned: clamav-milter 0.96.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Memory leak and swapfile 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, 27 Nov 2010 22:06:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5582D6BA1CCBBEAA1A595E9D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26/11/2010 18:24, Jack Raats wrote: > It looks like that there may be a memory leak of my swap space with one= > of the processes that is running. > Big question: How can I determine which process is responsible. >=20 > Any suggestions? Look for a process with a really big SIZE in top(1) ? Look for pages being mapped to swap via 'systat -vmstat 1' Any activity of the Swap Pager is a bad sign. It's not so much 'swap space' as some process or processes using up memory in general: when more memory has been allocated by processes than will fit into RAM simultaneously, then you'll start getting pages mapped to swap. This is not intrinsically a bad thing: a one-time swap out of a load of otherwise idle memory pages will clear space for more actively used stuff. It's generally very bad for performance if processes are getting continually swapped in and out -- disk IO is pretty slow compared to RAM. Use eg. 'systat -vmstat 1' to monitor swap activity. It's not necessarily *one* process getting too big. Processes that fork multiple copies of themselves (like apache) can fill up RAM by spawning too many copies of themselves. In fact, it's a well known apache tuning trick to limit the maximum number of apache child processes to what will fit into RAM at one time -- swapping makes a far bigger impact on performance than queueing up web requests until there's a free worker process to service them. Cheers, Matthew --=20 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 --------------enig5582D6BA1CCBBEAA1A595E9D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzxgNgACgkQ8Mjk52CukIy9SQCfS4FWfOKoZiEn4u5ze2Ow62l6 ylkAn0FQPgL/KPoJNxKRXo5/omD74L3r =4XFP -----END PGP SIGNATURE----- --------------enig5582D6BA1CCBBEAA1A595E9D--