From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 15:05:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E59816A4DD for ; Sun, 3 Sep 2006 15:05:03 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1455C43D49 for ; Sun, 3 Sep 2006 15:05:02 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1593712wxd for ; Sun, 03 Sep 2006 08:05:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uZaYqqJT32PUT3SfWax2en4/nPkTQpn0hF1D57wi0875a59jk1bhBrFXxxwDa0u85Byt6OFoovJX6So7NMBIhYvlZSsdozG7JR0JyMv87x6tEF4/CCBAv4AzB9ZZBxlJ4Qs1kjIPBQmSpGU/1wBobjS3WAPbfhOh27Cc11OP1KE= Received: by 10.70.117.3 with SMTP id p3mr7231255wxc; Sun, 03 Sep 2006 08:05:01 -0700 (PDT) Received: by 10.70.76.8 with HTTP; Sun, 3 Sep 2006 08:05:01 -0700 (PDT) Message-ID: <319cceca0609030805p49b0e8b8s7df8b02e29da909c@mail.gmail.com> Date: Sun, 3 Sep 2006 18:05:01 +0300 From: Maslan To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ARP Spoofing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 15:05:03 -0000 Hello All I was trying to find a solution to ARP Spoofing on my local network, i've tried to use IPSTEALTH option, but this didn't help. Is there is any solution for preventing the ARP Spoofing inside the kernel such as in the tcp/ip layer or in the ethernet driver itself. i'm sorry if its not the correct mailinglist. Thanks alot -- I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org http://libosdk.berlios.de From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 16:01:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC8EB16A4DA for ; Sun, 3 Sep 2006 16:01:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B4343D55 for ; Sun, 3 Sep 2006 16:01:31 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k83G0o50075574; Sun, 3 Sep 2006 10:00:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 03 Sep 2006 10:01:08 -0600 (MDT) Message-Id: <20060903.100108.-108810397.imp@bsdimp.com> To: m.ehinger@ltur.de From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 03 Sep 2006 10:00:51 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: dev vs. sysctl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 16:01:32 -0000 In message: m.ehinger@ltur.de writes: : i just want to know which one is faster? Which has the lowest overhead? : : I want to return 8 bytes (tow integer values) of data about 50 times a second. In the past I did some silly measurements and found that sysctls were slower by a small amount. I never could figure out why, since the path to the sysctl seemed like it would be shorter than the path to the read. This was in the 3.x timeframe, so your best bet is to code up both and see which one is better today. Warner From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 15:56:56 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B24216A4DD for ; Sun, 3 Sep 2006 15:56:56 +0000 (UTC) (envelope-from pieter@thedarkside.nl) Received: from mail.thelostparadise.com (aberdeen.thelostparadise.com [193.202.115.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EAC043D45 for ; Sun, 3 Sep 2006 15:56:55 +0000 (GMT) (envelope-from pieter@thedarkside.nl) Received: from [192.168.1.10] (s55915f73.adsl.wanadoo.nl [85.145.95.115]) by mail.thelostparadise.com (Postfix) with ESMTP id E078861C22; Sun, 3 Sep 2006 17:57:22 +0200 (CEST) Message-ID: <44FAFB43.8010009@thedarkside.nl> Date: Sun, 03 Sep 2006 17:56:51 +0200 From: Pieter de Boer User-Agent: Thunderbird 1.5.0.4 (X11/20060611) MIME-Version: 1.0 To: Maslan References: <319cceca0609030805p49b0e8b8s7df8b02e29da909c@mail.gmail.com> In-Reply-To: <319cceca0609030805p49b0e8b8s7df8b02e29da909c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 03 Sep 2006 16:39:03 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: ARP Spoofing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 15:56:56 -0000 Maslan wrote: > I was trying to find a solution to ARP Spoofing on my local network, > i've tried to use IPSTEALTH option, but this didn't help. > Is there is any solution for preventing the ARP Spoofing inside the > kernel such as in the tcp/ip layer or in the ethernet driver itself. > i'm sorry if its not the correct mailinglist. You can use static arp entries on all the involved hosts/routers, to hardwire a MAC-address to an IP-address. This can be done with 'arp -s ' on FreeBSD. Such static arp entries will not be overridden by incoming arp replies and will ensure that outgoing IP packets are sent to the right mac address. -- Pieter From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 17:01:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05D7216A4E1; Sun, 3 Sep 2006 17:01:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5F0343D45; Sun, 3 Sep 2006 17:01:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 629A51A3C20; Sun, 3 Sep 2006 10:01:31 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1604C514AF; Sun, 3 Sep 2006 13:01:30 -0400 (EDT) Date: Sun, 3 Sep 2006 13:01:29 -0400 From: Kris Kennaway To: Daichi GOTO Message-ID: <20060903170129.GA98917@xor.obsecurity.org> References: <44B67340.1080405@freebsd.org> <44B74036.6060101@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <44B74036.6060101@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, ozawa@ongs.co.jp, rodrigc@crodrigues.org Subject: Re: [ANN] unionfs patchset-16 release, it is ready for the merge X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 17:01:32 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 14, 2006 at 03:56:54PM +0900, Daichi GOTO wrote: > Daichi GOTO wrote: > > Patchset-16: > > For 7-current > > http://people.freebsd.org/~daichi/unionfs/unionfs-p16.diff > >=20 > > For 6.x > > http://people.freebsd.org/~daichi/unionfs/unionfs6-p16.diff >=20 > I'm sorry, how silly of me. I updated miss edited things. > I updated correct things now. Please check it :) Dear Goto-san, The panic I was previously seeing (with chrooting into the unionfs) appears to be fixed, but after a bit of load I got the following locking assertion on a unionfs (default mount options) stacked over a nullfs mount of a local ufs filesystem: KDB: stack backtrace: vfs_badlock(c7203000,ec8d0934,c07c5940,c7203000,0,...) at vfs_badlock+0x76 assert_vop_locked(c7203000,c0781c51,1,1000,c7203000,...) at assert_vop_lock= ed+0x60 VOP_GETPAGES_APV(c07b2680,ec8d0980,c0774e5e,2a1,0,...) at VOP_GETPAGES_APV+= 0x8a vnode_pager_getpages(c756cd20,ec8d09c8,1,0,0,...) at vnode_pager_getpages+0= xbb vm_imgact_map_page(c756cd20,731c,0,8051000,7,...) at vm_imgact_map_page+0xb4 elf32_load_section(7000,804f000,1bf4,31c,3,...) at elf32_load_section+0x140 exec_elf32_imgact(ec8d0ba8,0,c07577ee,149,c90c6068,...) at exec_elf32_imgac= t+0x2c7 kern_execve(c54c9360,ec8d0c60,0,8226620,8226730,e6d06000,e6d06000,e6d06036,= e6d06516,e6d46000,3faea,8,3a) at kern_execve+0x428 execve(c54c9360,ec8d0d04,c,ec8d0d38,3,...) at execve+0x52 syscall(3b,3b,3b,2,8226730,...) at syscall+0x152 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (59, FreeBSD ELF32, execve), eip =3D 0x2813f007, esp =3D 0xbfbf= d30c, ebp =3D 0xbfbfd338 --- VOP_GETPAGES: 0xc7203000 is not locked but should be KDB: enter: lock violation [thread pid 54852 tid 100210 ] Stopped at kdb_enter+0x32: leave The other locked vnodes are: db> show lockedvnods Locked vnodes 0xc861da80: tag ufs, type VREG usecount 1, writecount 0, refcount 2 mountedhere 0 flags () v_object 0xc84b0ac8 ref 0 pages 8 lock type ufs: EXCL (count 1) by thread 0xc54c9360 (pid 54852)#0 0xc05= 37384 at lockmgr+0x541 #1 0xc06950ce at ffs_lock+0x59 #2 0xc0730898 at VOP_LOCK_APV+0x76 #3 0xc05045db at unionfs_lock+0xda #4 0xc0730898 at VOP_LOCK_APV+0x76 #5 0xc05c7b22 at vn_lock+0x67 #6 0xc0511f5b at exec_elf32_imgact+0x219 #7 0xc05273e5 at kern_execve+0x428 #8 0xc052801e at execve+0x52 #9 0xc07161b3 at syscall+0x152 #10 0xc06fefef at Xint0x80_syscall+0x1f ino 1274323, on dev da0s1e 0xc861e3f0: tag unionfs, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VV_TEXT) v_object 0xc756cd20 ref 3 pages 8 lock type ufs: EXCL (count 1) by thread 0xc54c9360 (pid 54852)#0 0xc05= 37384 at lockmgr+0x541 #1 0xc06950ce at ffs_lock+0x59 #2 0xc0730898 at VOP_LOCK_APV+0x76 #3 0xc05045db at unionfs_lock+0xda #4 0xc0730898 at VOP_LOCK_APV+0x76 #5 0xc05c7b22 at vn_lock+0x67 #6 0xc0511f5b at exec_elf32_imgact+0x219 #7 0xc05273e5 at kern_execve+0x428 #8 0xc052801e at execve+0x52 #9 0xc07161b3 at syscall+0x152 #10 0xc06fefef at Xint0x80_syscall+0x1f unionfs_vp=3D0xc861e3f0, uppervp=3D0xc861da80, lowervp=3D0xc86c7690 unionfs opencnt: uppervp=3D0, lowervp=3D4 unionfs: upper 0xc861da80: tag ufs, type VREG usecount 1, writecount 0, refcount 2 mountedhere 0 flags () v_object 0xc84b0ac8 ref 0 pages 8 lock type ufs: EXCL (count 1) by thread 0xc54c9360 (pid 54852)#0 0xc05= 37384 at lockmgr+0x541 #1 0xc06950ce at ffs_lock+0x59 #2 0xc0730898 at VOP_LOCK_APV+0x76 #3 0xc05045db at unionfs_lock+0xda #4 0xc0730898 at VOP_LOCK_APV+0x76 #5 0xc05c7b22 at vn_lock+0x67 #6 0xc0511f5b at exec_elf32_imgact+0x219 #7 0xc05273e5 at kern_execve+0x428 #8 0xc052801e at execve+0x52 #9 0xc07161b3 at syscall+0x152 #10 0xc06fefef at Xint0x80_syscall+0x1f ino 1274323, on dev da0s1e unionfs: lower 0xc86c7690: tag null, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags () v_object 0xc756cd20 ref 3 pages 8 #0 0xc0537384 at lockmgr+0x541 #1 0xc06950ce at ffs_lock+0x59 #2 0xc0730898 at VOP_LOCK_APV+0x76 #3 0xc04f9da5 at null_lock+0xb6 #4 0xc0730898 at VOP_LOCK_APV+0x76 #5 0xc05c7b22 at vn_lock+0x67 #6 0xc0502c23 at unionfs_open+0x180 #7 0xc072e5eb at VOP_OPEN_APV+0x94 #8 0xc05265d7 at exec_check_permissions+0x107 #9 0xc05271d1 at kern_execve+0x214 #10 0xc052801e at execve+0x52 #11 0xc07161b3 at syscall+0x152 #12 0xc06fefef at Xint0x80_syscall+0x1f vp=3D0xc86c7690, lowervp=3D0xc7203000 db> Core is available if you need it. Kris --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE+wppWry0BWjoQKURAjdcAJ0Xj3to+OQbXQ4LkPDZqREy7zGXgwCgzbv2 RUgqZeb9vicO9t9uOnNoy8M= =1tBt -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 18:24:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F14216A4DA for ; Sun, 3 Sep 2006 18:24:39 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93AEF43D81 for ; Sun, 3 Sep 2006 18:24:35 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1634319wxd for ; Sun, 03 Sep 2006 11:24:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LkUd8MIqfz+N0KUDLoNuNlFGpiZ6spPFKiwdxJtgX+07nfeN058LfvfIbpYKiPf8VPwUu4pUYbTABriTTYcobds0TyGslLyT2Nzb7MaLfqNrjKssdRoiaIGJZnv6o4FSHDTnUdp1BAwshkB+iChwLWS4QgUUasF6BrUIN7yIW6U= Received: by 10.70.123.14 with SMTP id v14mr6423159wxc; Sun, 03 Sep 2006 11:24:34 -0700 (PDT) Received: by 10.70.76.8 with HTTP; Sun, 3 Sep 2006 11:24:34 -0700 (PDT) Message-ID: <319cceca0609031124j335063dbj9281f58f944aa805@mail.gmail.com> Date: Sun, 3 Sep 2006 21:24:34 +0300 From: Maslan To: "Pieter de Boer" In-Reply-To: <44FAFB43.8010009@thedarkside.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <319cceca0609030805p49b0e8b8s7df8b02e29da909c@mail.gmail.com> <44FAFB43.8010009@thedarkside.nl> Cc: freebsd-hackers@freebsd.org Subject: Re: ARP Spoofing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 18:24:39 -0000 > You can use static arp entries on all the involved hosts/routers, to > hardwire a MAC-address to an IP-address. This can be done with 'arp -s > ' on FreeBSD. Such static arp entries will not > be overridden by incoming arp replies and will ensure that outgoing IP > packets are sent to the right mac address. Thanks alot Pieter, after googling i found the same solution too. -- I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org http://libosdk.berlios.de From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 22:06:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10FF416A4DE for ; Sun, 3 Sep 2006 22:06:48 +0000 (UTC) (envelope-from tech@nano.net) Received: from mail.smallweb.com (mail.smallweb.com [216.85.125.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id B871643D46 for ; Sun, 3 Sep 2006 22:06:47 +0000 (GMT) (envelope-from tech@nano.net) Received: from Sixpence.mail.smallweb.com (sixpence.nano.net [216.85.125.9]) by mail.smallweb.com (Rockliffe SMTPRA 5.3.11) with ESMTP id for ; Sun, 3 Sep 2006 16:14:07 -0600 Message-Id: <6.2.0.14.2.20060903155510.03191970@nano.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Sun, 03 Sep 2006 16:08:38 -0600 To: freebsd-hackers@freebsd.org From: tech@nano.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RAID mirror, 6.1 won't boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:06:48 -0000 I've got a brand new PC, ASUS P5LD2 motherboard and an Intel P4 3.2 CPU. I've installed the i386 version of 6.1 over a dozen times using different geometries and different drives and such, I get mixed results, but it won't boot. I'm running a RAID mirror on 2 SATA drives. If I have the mirror turned on and the second hard drive installed I get "no boot device available" or I get a boot prompt complaining that it can't find /boot/loader. Right now I just get a "-" that blinks, but no boot and no system message that it can't find a boot device and no BSD boot prompt. If I remove the second drive the system boots normally! If I put it back in it won't boot! BSD sees the RAID controller. Is there any easy way to fix this? It seems like it's really close to working and I really want the redundancy..... From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 22:18:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88A816A4DF for ; Sun, 3 Sep 2006 22:18:07 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353CF43D4C for ; Sun, 3 Sep 2006 22:18:06 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 4317357878; Mon, 4 Sep 2006 00:17:47 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id YeckwexMreKx; Mon, 4 Sep 2006 00:17:47 +0200 (CEST) Received: from oxy (dsl195-38-113-241.pool.tvnet.hu [195.38.113.241]) by green.field.hu (Postfix) with ESMTP id 15FB856495; Mon, 4 Sep 2006 00:17:47 +0200 (CEST) Message-ID: <000801c6cfa6$d4463710$0201a8c0@oxy> From: "OxY" To: , References: <6.2.0.14.2.20060903155510.03191970@nano.net> Date: Mon, 4 Sep 2006 00:18:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Cc: Subject: Re: RAID mirror, 6.1 won't boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:18:08 -0000 try to put in a PATA disk on the primary motherboard controller... for example primary master... it solved the problem for me ----- Original Message ----- From: To: Sent: Monday, September 04, 2006 12:08 AM Subject: RAID mirror, 6.1 won't boot > > > > I've got a brand new PC, ASUS P5LD2 motherboard and an Intel P4 3.2 CPU. > I've installed the i386 version of 6.1 over a dozen times using different > geometries and different drives and such, I get mixed results, but it > won't boot. I'm running a RAID mirror on 2 SATA drives. If I have the > mirror turned on and the second hard drive installed I get "no boot device > available" or I get a boot prompt complaining that it can't find > /boot/loader. Right now I just get a "-" that blinks, but no boot and no > system message that it can't find a boot device and no BSD boot prompt. If > I remove the second drive the system boots normally! If I put it back in > it won't boot! BSD sees the RAID controller. Is there any easy way to fix > this? It seems like it's really close to working and I really want the > redundancy..... > > > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 3 22:33:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FAB616A4DF for ; Sun, 3 Sep 2006 22:33:39 +0000 (UTC) (envelope-from tech@nano.net) Received: from mail.smallweb.com (mail.smallweb.com [216.85.125.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0471143D53 for ; Sun, 3 Sep 2006 22:33:38 +0000 (GMT) (envelope-from tech@nano.net) Received: from Sixpence.mail.smallweb.com (sixpence.nano.net [216.85.125.9]) by mail.smallweb.com (Rockliffe SMTPRA 5.3.11) with ESMTP id ; Sun, 3 Sep 2006 16:40:59 -0600 Message-Id: <6.2.0.14.2.20060903163400.031930b0@nano.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Sun, 03 Sep 2006 16:35:37 -0600 To: "OxY" , From: tech@nano.net In-Reply-To: <000801c6cfa6$d4463710$0201a8c0@oxy> References: <6.2.0.14.2.20060903155510.03191970@nano.net> <000801c6cfa6$d4463710$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: RAID mirror, 6.1 won't boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:33:39 -0000 Thanks! I have a CD on it now, I'll add an IDE drive and make the CD secondary? Are you using a boot manager then? At 04:18 PM 9/3/2006, OxY wrote: >try to put in a PATA disk on the primary motherboard controller... >for example primary master... >it solved the problem for me >----- Original Message ----- From: >To: >Sent: Monday, September 04, 2006 12:08 AM >Subject: RAID mirror, 6.1 won't boot > > >> >> >> >>I've got a brand new PC, ASUS P5LD2 motherboard and an Intel P4 3.2 CPU. >>I've installed the i386 version of 6.1 over a dozen times using different >>geometries and different drives and such, I get mixed results, but it >>won't boot. I'm running a RAID mirror on 2 SATA drives. If I have the >>mirror turned on and the second hard drive installed I get "no boot >>device available" or I get a boot prompt complaining that it can't find >>/boot/loader. Right now I just get a "-" that blinks, but no boot and no >>system message that it can't find a boot device and no BSD boot prompt. >>If I remove the second drive the system boots normally! If I put it back >>in it won't boot! BSD sees the RAID controller. Is there any easy way to >>fix this? It seems like it's really close to working and I really want >>the redundancy..... >> >> >> >> >> >> >>_______________________________________________ >>freebsd-hackers@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 4 08:42:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 817FC16A59C for ; Mon, 4 Sep 2006 08:42:49 +0000 (UTC) (envelope-from m.ehinger@ltur.de) Received: from postx.gateway-inter.net (postx.gateway-inter.net [213.144.19.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63CC443D6A for ; Mon, 4 Sep 2006 08:42:36 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <20060903.100108.-108810397.imp@bsdimp.com> Sensitivity: To: "M. Warner Losh" From: m.ehinger@ltur.de MIME-Version: 1.0 Message-ID: Date: Mon, 4 Sep 2006 10:43:12 +0200 Content-type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Mon, 04 Sep 2006 12:35:32 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: dev vs. sysctl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 08:42:49 -0000 "M. Warner Losh" schrieb am 03.09.2006 18:01:08: > In the past I did some silly measurements and found that sysctls were > slower by a small amount. I never could figure out why, since the > path to the sysctl seemed like it would be shorter than the path to > the read. This was in the 3.x timeframe, so your best bet is to code > up both and see which one is better today. OK i did that and it seems to be still the same. "read" seems to be faster then th sysctl call. I got about 8.7 seconds for 100,000 sysctl reads and 1.8 seconds for 100,000 read calls. Measured on a Thinkpad with 75MHz CPU frequency. Thanks Maik From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 5 17:18:06 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E3A116A4E0 for ; Tue, 5 Sep 2006 17:18:06 +0000 (UTC) (envelope-from tech@nano.net) Received: from mail.smallweb.com (mail.smallweb.com [216.85.125.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C61A43D6A for ; Tue, 5 Sep 2006 17:18:05 +0000 (GMT) (envelope-from tech@nano.net) Received: from Sixpence.mail.smallweb.com (sixpence.nano.net [216.85.125.9]) by mail.smallweb.com (Rockliffe SMTPRA 5.3.11) with ESMTP id for ; Tue, 5 Sep 2006 11:25:29 -0600 Message-Id: <6.2.0.14.2.20060905111902.03748510@nano.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Tue, 05 Sep 2006 11:19:48 -0600 To: freebsd-hackers@freebsd.org From: tech@nano.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RAID mirror, 6.1 won't boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 17:18:06 -0000 I've got a brand new PC, ASUS P5LD2 motherboard and an Intel P4 3.2 CPU. I've installed the i386 version of 6.1 over a dozen times using different geometries and different drives and such, I get mixed results, but it won't boot. I'm running a RAID mirror on 2 SATA drives. If I have the mirror turned on and the second hard drive installed I get "no boot device available" or I get a boot prompt complaining that it can't find /boot/loader. Right now I just get a "-" that blinks, but no boot and no system message that it can't find a boot device and no BSD boot prompt. If I remove the second drive the system boots normally! If I put it back in it won't boot! BSD sees the RAID controller. Is there any easy way to fix this? It seems like it's really close to working and I really want the redundancy..... From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 07:56:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4195916A4DE for ; Wed, 6 Sep 2006 07:56:08 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB4043D45 for ; Wed, 6 Sep 2006 07:56:07 +0000 (GMT) (envelope-from cristiano.deana@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2560283wxd for ; Wed, 06 Sep 2006 00:56:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=k/jW3WayF2PuI7g+9v2fF1f+TDWsAZ8O+7AJ1sAiccmwUiIuf7bxbfCHVJuJcFlgBQmmnPCAdcEPQAEUH8piKB05PWdS6Uxj8StP9phqjAF9zVzSDddLV+NoHQ/KG+dE0R9CkNyJCAuqaVBKLhaBG//0qociNrwhlKV4ZN9IwQI= Received: by 10.90.50.6 with SMTP id x6mr343586agx; Wed, 06 Sep 2006 00:56:07 -0700 (PDT) Received: by 10.90.81.5 with HTTP; Wed, 6 Sep 2006 00:56:07 -0700 (PDT) Message-ID: Date: Wed, 6 Sep 2006 09:56:07 +0200 From: "Cristiano Deana" To: "FreeBSD Stable Mailing List" , freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_53203_19709469.1157529367093" Cc: Subject: powerd. Info request X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 07:56:08 -0000 ------=_Part_53203_19709469.1157529367093 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, i got a strange behaviour with powerd: # powerd -v idle time > 90%, decreasing clock speed from 2000 MHz to 1750 MHz idle time > 90%, decreasing clock speed from 1750 MHz to 1500 MHz idle time > 90%, decreasing clock speed from 1500 MHz to 1250 MHz idle time > 90%, decreasing clock speed from 1250 MHz to 1200 MHz powerd: error setting CPU frequency 1200: Device not configured idle time > 90%, decreasing clock speed from 1250 MHz to 1200 MHz powerd: error setting CPU frequency 1200: Device not configured and so on.. what does it mean? # sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 2000/22000 1750/19250 1500/16500 1250/13750 1200/9800 1050/8575 900/7350 750/6125 600/4900 450/3675 attached there's my dmesg thanks -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ ------=_Part_53203_19709469.1157529367093 Content-Type: application/octet-stream; name=dmesg.boot Content-Transfer-Encoding: base64 X-Attachment-Id: f_errelrcs Content-Disposition: attachment; filename="dmesg.boot" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDYgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIDYuMS1TVEFCTEUgIzQ6IE1vbiBTZXAgIDQgMTc6NDE6MzUg Q0VTVCAyMDA2CiAgICByb290QHRvc2hpOi91c3Ivb2JqL3Vzci9zcmMvc3lzL1RPU0hJClRpbWVj b3VudGVyICJpODI1NCIgZnJlcXVlbmN5IDExOTMxODIgSHogcXVhbGl0eSAwCkNQVTogTW9iaWxl IEludGVsKFIpIFBlbnRpdW0oUikgNCAtIE0gQ1BVIDIuMDBHSHogKDE5OTMuNTQtTUh6IDY4Ni1j bGFzcyBDUFUpCiAgT3JpZ2luID0gIkdlbnVpbmVJbnRlbCIgIElkID0gMHhmMjcgIFN0ZXBwaW5n ID0gNwogIEZlYXR1cmVzPTB4YmZlYmY5ZmY8RlBVLFZNRSxERSxQU0UsVFNDLE1TUixQQUUsTUNF LENYOCxTRVAsTVRSUixQR0UsTUNBLENNT1YsUEFULFBTRTM2LENMRkxVU0gsRFRTLEFDUEksTU1Y LEZYU1IsU1NFLFNTRTIsU1MsSFRULFRNLFBCRT4KICBGZWF0dXJlczI9MHg0MDA8Q05UWC1JRD4K cmVhbCBtZW1vcnkgID0gNTM2Njc0MzA0ICg1MTEgTUIpCmF2YWlsIG1lbW9yeSA9IDUxNTgwNTE4 NCAoNDkxIE1CKQpTZWN1cml0eSBhdWRpdGluZyBzZXJ2aWNlIHByZXNlbnQKQlNNIGF1ZGl0aW5n IHByZXNlbnQKa2JkMSBhdCBrYmRtdXgwCmF0aF9oYWw6IDAuOS4xNy4yIChBUjUyMTAsIEFSNTIx MSwgQVI1MjEyLCBSRjUxMTEsIFJGNTExMiwgUkYyNDEzLCBSRjU0MTMpCmFjcGkwOiA8VE9TSElC IDc1MD4gb24gbW90aGVyYm9hcmQKYWNwaTA6IFBvd2VyIEJ1dHRvbiAoZml4ZWQpClRpbWVjb3Vu dGVyICJBQ1BJLWZhc3QiIGZyZXF1ZW5jeSAzNTc5NTQ1IEh6IHF1YWxpdHkgMTAwMAphY3BpX3Rp bWVyMDogPDI0LWJpdCB0aW1lciBhdCAzLjU3OTU0NU1Iej4gcG9ydCAweGVlMDgtMHhlZTBiIG9u IGFjcGkwCmNwdTA6IDxBQ1BJIENQVT4gb24gYWNwaTAKYWNwaV9wZXJmMDogPEFDUEkgQ1BVIEZy ZXF1ZW5jeSBDb250cm9sPiBvbiBjcHUwCnA0dGNjMDogPENQVSBGcmVxdWVuY3kgVGhlcm1hbCBD b250cm9sPiBvbiBjcHUwCnBjaWIwOiA8QUNQSSBIb3N0LVBDSSBicmlkZ2U+IHBvcnQgMHhjZjgt MHhjZmYgb24gYWNwaTAKcGNpMDogPEFDUEkgUENJIGJ1cz4gb24gcGNpYjAKYWdwMDogPEludGVs IDgyODQ1IGhvc3QgdG8gQUdQIGJyaWRnZT4gbWVtIDB4ZTAwMDAwMDAtMHhlZmZmZmZmZiBhdCBk ZXZpY2UgMC4wIG9uIHBjaTAKcGNpYjE6IDxBQ1BJIFBDSS1QQ0kgYnJpZGdlPiBhdCBkZXZpY2Ug MS4wIG9uIHBjaTAKcGNpMTogPEFDUEkgUENJIGJ1cz4gb24gcGNpYjEKYWNwaV92aWRlbzA6IDxB Q1BJIHZpZGVvIGV4dGVuc2lvbj4gbWVtIDB4ZmQwMDAwMDAtMHhmZGZmZmZmZiwweGRjMDAwMDAw LTB4ZGZmZmZmZmYsMHhkYmY4MDAwMC0weGRiZmZmZmZmIGlycSAxMCBhdCBkZXZpY2UgMC4wIG9u IHBjaTEKdWhjaTA6IDxJbnRlbCA4MjgwMUNBL0NBTSAoSUNIMykgVVNCIGNvbnRyb2xsZXIgVVNC LUE+IHBvcnQgMHhlZmUwLTB4ZWZmZiBpcnEgMTEgYXQgZGV2aWNlIDI5LjAgb24gcGNpMAp1aGNp MDogW0dJQU5ULUxPQ0tFRF0KdXNiMDogPEludGVsIDgyODAxQ0EvQ0FNIChJQ0gzKSBVU0IgY29u dHJvbGxlciBVU0ItQT4gb24gdWhjaTAKdXNiMDogVVNCIHJldmlzaW9uIDEuMAp1aHViMDogSW50 ZWwgVUhDSSByb290IGh1YiwgY2xhc3MgOS8wLCByZXYgMS4wMC8xLjAwLCBhZGRyIDEKdWh1YjA6 IDIgcG9ydHMgd2l0aCAyIHJlbW92YWJsZSwgc2VsZiBwb3dlcmVkCnVoY2kxOiA8SW50ZWwgODI4 MDFDQS9DQU0gKElDSDMpIFVTQiBjb250cm9sbGVyIFVTQi1CPiBwb3J0IDB4ZWY4MC0weGVmOWYg aXJxIDExIGF0IGRldmljZSAyOS4xIG9uIHBjaTAKdWhjaTE6IFtHSUFOVC1MT0NLRURdCnVzYjE6 IDxJbnRlbCA4MjgwMUNBL0NBTSAoSUNIMykgVVNCIGNvbnRyb2xsZXIgVVNCLUI+IG9uIHVoY2kx CnVzYjE6IFVTQiByZXZpc2lvbiAxLjAKdWh1YjE6IEludGVsIFVIQ0kgcm9vdCBodWIsIGNsYXNz IDkvMCwgcmV2IDEuMDAvMS4wMCwgYWRkciAxCnVodWIxOiAyIHBvcnRzIHdpdGggMiByZW1vdmFi bGUsIHNlbGYgcG93ZXJlZApwY2liMjogPEFDUEkgUENJLVBDSSBicmlkZ2U+IGF0IGRldmljZSAz MC4wIG9uIHBjaTAKcGNpMjogPEFDUEkgUENJIGJ1cz4gb24gcGNpYjIKZndvaGNpMDogPFRleGFz IEluc3RydW1lbnRzIFRTQjQzQUIyMi9BPiBtZW0gMHhmY2VmZjgwMC0weGZjZWZmZmZmLDB4ZmNl ZjgwMDAtMHhmY2VmYmZmZiBpcnEgMTEgYXQgZGV2aWNlIDcuMCBvbiBwY2kyCmZ3b2hjaTA6IE9I Q0kgdmVyc2lvbiAxLjEwIChST009MSkKZndvaGNpMDogTm8uIG9mIElzb2Nocm9ub3VzIGNoYW5u ZWxzIGlzIDQuCmZ3b2hjaTA6IEVVSTY0IDAwOjAwOjM5OjAwOjAwOjMwOmM3OmFiCmZ3b2hjaTA6 IFBoeSAxMzk0YSBhdmFpbGFibGUgUzQwMCwgMiBwb3J0cy4KZndvaGNpMDogTGluayBTNDAwLCBt YXhfcmVjIDIwNDggYnl0ZXMuCmZpcmV3aXJlMDogPElFRUUxMzk0KEZpcmVXaXJlKSBidXM+IG9u IGZ3b2hjaTAKZndlMDogPEV0aGVybmV0IG92ZXIgRmlyZVdpcmU+IG9uIGZpcmV3aXJlMAppZl9m d2UwOiBGYWtlIEV0aGVybmV0IGFkZHJlc3M6IDAyOjAwOjM5OjMwOmM3OmFiCmZ3ZTA6IEV0aGVy bmV0IGFkZHJlc3M6IDAyOjAwOjM5OjMwOmM3OmFiCmZ3ZTA6IGlmX3N0YXJ0IHJ1bm5pbmcgZGVm ZXJyZWQgZm9yIEdpYW50CnNicDA6IDxTQlAtMi9TQ1NJIG92ZXIgRmlyZVdpcmU+IG9uIGZpcmV3 aXJlMApmd29oY2kwOiBJbml0aWF0ZSBidXMgcmVzZXQKZndvaGNpMDogbm9kZV9pZD0weGMwMDBm ZmMwLCBnZW49MSwgQ1lDTEVNQVNURVIgbW9kZQpmaXJld2lyZTA6IDEgbm9kZXMsIG1heGhvcCA8 PSAwLCBjYWJsZSBJUk0gPSAwIChtZSkKZmlyZXdpcmUwOiBidXMgbWFuYWdlciAwIChtZSkKZnhw MDogPEludGVsIDgyODAxQ0FNIChJQ0gzKSBQcm8vMTAwIFZFIEV0aGVybmV0PiBwb3J0IDB4ZGY0 MC0weGRmN2YgbWVtIDB4ZmNlZjcwMDAtMHhmY2VmN2ZmZiBpcnEgMTEgYXQgZGV2aWNlIDguMCBv biBwY2kyCm1paWJ1czA6IDxNSUkgYnVzPiBvbiBmeHAwCmlucGh5MDogPGk4MjU2MkVUIDEwLzEw MCBtZWRpYSBpbnRlcmZhY2U+IG9uIG1paWJ1czAKaW5waHkwOiAgMTBiYXNlVCwgMTBiYXNlVC1G RFgsIDEwMGJhc2VUWCwgMTAwYmFzZVRYLUZEWCwgYXV0bwpmeHAwOiBFdGhlcm5ldCBhZGRyZXNz OiAwMDowODowZDozMDo5YjozMwpjYmIwOiA8VG9QSUMxMDAgUENJLUNhcmRCdXMgQnJpZGdlPiBh dCBkZXZpY2UgMTEuMCBvbiBwY2kyCmNhcmRidXMwOiA8Q2FyZEJ1cyBidXM+IG9uIGNiYjAKcGNj YXJkMDogPDE2LWJpdCBQQ0NhcmQgYnVzPiBvbiBjYmIwCmNiYjE6IDxUb1BJQzEwMCBQQ0ktQ2Fy ZEJ1cyBCcmlkZ2U+IGF0IGRldmljZSAxMS4xIG9uIHBjaTIKY2FyZGJ1czE6IDxDYXJkQnVzIGJ1 cz4gb24gY2JiMQpwY2NhcmQxOiA8MTYtYml0IFBDQ2FyZCBidXM+IG9uIGNiYjEKcGNpMjogPGJh c2UgcGVyaXBoZXJhbD4gYXQgZGV2aWNlIDEzLjAgKG5vIGRyaXZlciBhdHRhY2hlZCkKaXNhYjA6 IDxQQ0ktSVNBIGJyaWRnZT4gYXQgZGV2aWNlIDMxLjAgb24gcGNpMAppc2EwOiA8SVNBIGJ1cz4g b24gaXNhYjAKYXRhcGNpMDogPEludGVsIElDSDMgVURNQTEwMCBjb250cm9sbGVyPiBwb3J0IDB4 MWYwLTB4MWY3LDB4M2Y2LDB4MTcwLTB4MTc3LDB4Mzc2LDB4Y2ZhMC0weGNmYWYgaXJxIDExIGF0 IGRldmljZSAzMS4xIG9uIHBjaTAKYXRhMDogPEFUQSBjaGFubmVsIDA+IG9uIGF0YXBjaTAKYXRh MTogPEFUQSBjaGFubmVsIDE+IG9uIGF0YXBjaTAKcGNtMDogPEludGVsIElDSDMgKDgyODAxQ0Ep PiBwb3J0IDB4Y2UwMC0weGNlZmYsMHhjZGMwLTB4Y2RmZiBpcnEgMTEgYXQgZGV2aWNlIDMxLjUg b24gcGNpMApwY20wOiA8WWFtYWhhIFlNRjc1MyBBQzk3IENvZGVjPgpwY2kwOiA8c2ltcGxlIGNv bW1zLCBnZW5lcmljIG1vZGVtPiBhdCBkZXZpY2UgMzEuNiAobm8gZHJpdmVyIGF0dGFjaGVkKQph Y3BpX2xpZDA6IDxDb250cm9sIE1ldGhvZCBMaWQgU3dpdGNoPiBvbiBhY3BpMApiYXR0ZXJ5MDog PEFDUEkgQ29udHJvbCBNZXRob2QgQmF0dGVyeT4gb24gYWNwaTAKYWNwaV9hY2FkMDogPEFDIEFk YXB0ZXI+IG9uIGFjcGkwCmFjcGlfdG9zaGliYTA6IDxUb3NoaWJhIEhDSSBFeHRyYXM+IG9uIGFj cGkwCmFjcGlfdHowOiA8VGhlcm1hbCBab25lPiBvbiBhY3BpMAphdGtiZGMwOiA8S2V5Ym9hcmQg Y29udHJvbGxlciAoaTgwNDIpPiBwb3J0IDB4NjAsMHg2NCBpcnEgMSBvbiBhY3BpMAphdGtiZDA6 IDxBVCBLZXlib2FyZD4gaXJxIDEgb24gYXRrYmRjMAprYmQwIGF0IGF0a2JkMAphdGtiZDA6IFtH SUFOVC1MT0NLRURdCnBzbTA6IDxQUy8yIE1vdXNlPiBpcnEgMTIgb24gYXRrYmRjMApwc20wOiBb R0lBTlQtTE9DS0VEXQpwc20wOiBtb2RlbCBJbnRlbGxpTW91c2UsIGRldmljZSBJRCAzCmZkYzA6 IDxmbG9wcHkgZHJpdmUgY29udHJvbGxlcj4gcG9ydCAweDNmMC0weDNmNSwweDNmNyBpcnEgNiBk cnEgMiBvbiBhY3BpMApmZGMwOiBbRkFTVF0KZmQwOiA8MTQ0MC1LQiAzLjUiIGRyaXZlPiBvbiBm ZGMwIGRyaXZlIDAKcHBjMDogPEVDUCBwYXJhbGxlbCBwcmludGVyIHBvcnQ+IHBvcnQgMHgzNzgt MHgzN2EsMHg3NzgtMHg3N2EgaXJxIDcgZHJxIDMgb24gYWNwaTAKcHBjMDogU01DLWxpa2UgY2hp cHNldCAoRUNQL0VQUC9QUzIvTklCQkxFKSBpbiBDT01QQVRJQkxFIG1vZGUKcHBjMDogRklGTyB3 aXRoIDE2LzE2LzE1IGJ5dGVzIHRocmVzaG9sZApwcGJ1czA6IDxQYXJhbGxlbCBwb3J0IGJ1cz4g b24gcHBjMApscHQwOiA8UHJpbnRlcj4gb24gcHBidXMwCmxwdDA6IEludGVycnVwdC1kcml2ZW4g cG9ydApwbXRpbWVyMCBvbiBpc2EwCm9ybTA6IDxJU0EgT3B0aW9uIFJPTXM+IGF0IGlvbWVtIDB4 YzAwMDAtMHhjZmZmZiwweGUwMDAwLTB4ZWZmZmYgb24gaXNhMApzYzA6IDxTeXN0ZW0gY29uc29s ZT4gYXQgZmxhZ3MgMHgxMDAgb24gaXNhMApzYzA6IFZHQSA8MTYgdmlydHVhbCBjb25zb2xlcywg ZmxhZ3M9MHgzMDA+CnNpbzA6IGNvbmZpZ3VyZWQgaXJxIDQgbm90IGluIGJpdG1hcCBvZiBwcm9i ZWQgaXJxcyAwCnNpbzA6IHBvcnQgbWF5IG5vdCBiZSBlbmFibGVkCnNpbzAgYXQgcG9ydCAweDNm OC0weDNmZiBpcnEgNCBmbGFncyAweDEwIG9uIGlzYTAKc2lvMDogdHlwZSA4MjUwIG9yIG5vdCBy ZXNwb25kaW5nCnNpbzE6IGNvbmZpZ3VyZWQgaXJxIDMgbm90IGluIGJpdG1hcCBvZiBwcm9iZWQg aXJxcyAwCnNpbzE6IHBvcnQgbWF5IG5vdCBiZSBlbmFibGVkCnZnYTA6IDxHZW5lcmljIElTQSBW R0E+IGF0IHBvcnQgMHgzYzAtMHgzZGYgaW9tZW0gMHhhMDAwMC0weGJmZmZmIG9uIGlzYTAKdW1z MDogTG9naXRlY2ggVVNCLVBTLzIgT3B0aWNhbCBNb3VzZSwgcmV2IDIuMDAvMjAuMDAsIGFkZHIg MiwgaWNsYXNzIDMvMQp1bXMwOiAzIGJ1dHRvbnMgYW5kIFogZGlyLgpUaW1lY291bnRlciAiVFND IiBmcmVxdWVuY3kgMTk5MzU0MDAwOCBIeiBxdWFsaXR5IDgwMApUaW1lY291bnRlcnMgdGljayBl dmVyeSAxLjAwMCBtc2VjCmFkMDogMTkwNzdNQiA8SUMyNU4wMjBBVERBMDQgMCBEQTNPQTc2QT4g YXQgYXRhMC1tYXN0ZXIgVURNQTEwMApjZDAgYXQgYXRhMSBidXMgMCB0YXJnZXQgMCBsdW4gMApj ZDA6IDxUT1NISUJBIERWRC1ST00gU0QtUjIyMTIgMTMxND4gUmVtb3ZhYmxlIENELVJPTSBTQ1NJ LTAgZGV2aWNlIApjZDA6IDMuMzAwTUIvcyB0cmFuc2ZlcnMKY2QwOiBBdHRlbXB0IHRvIHF1ZXJ5 IGRldmljZSBzaXplIGZhaWxlZDogTk9UIFJFQURZLCBNZWRpdW0gbm90IHByZXNlbnQKVHJ5aW5n IHRvIG1vdW50IHJvb3QgZnJvbSB1ZnM6L2Rldi9hZDBzMWEK ------=_Part_53203_19709469.1157529367093-- From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 11:32:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56AB816A4DA for ; Wed, 6 Sep 2006 11:32:50 +0000 (UTC) (envelope-from jchoque@tlmat.unican.es) Received: from luna.tlmat.unican.es (luna.tlmat.unican.es [193.144.186.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B33D443D49 for ; Wed, 6 Sep 2006 11:32:48 +0000 (GMT) (envelope-from jchoque@tlmat.unican.es) Received: from Altair (altair.tlmat.unican.es [193.144.186.43]) by luna.tlmat.unican.es (8.12.11/8.12.11) with ESMTP id k86B4tUb028792 for ; Wed, 6 Sep 2006 13:04:55 +0200 From: "Johnny Choque" To: Date: Wed, 6 Sep 2006 13:32:45 +0200 Message-ID: <006101c6d1a8$2c747b60$2bba90c1@Altair> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 thread-index: AcbRqCxcISKsyecJTK+MBjJy2FSaNQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Subject: PRO/wireless scanning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 11:32:50 -0000 Hi all, I'm testing the scanning features of Intel PRO/Wireless 2200BG build-in Toshiba Tecra M3 using FreeBSD 6.1 and iwi-firmware-2.4_7 (I think that it is the last version, isn't it?). I have noticed a unstable behavior of the wireless interface when I try to scan the access point around it (ifconfig iwi0 scan). Sometimes it provide the report of the detected access points but sometimes it keep waiting a long time without provide any report. Do you have the same behavior with iwi driver and iwi-firmware?, do you know how I can find a solution for that? I have also noticed that the web pages for Intel PRO/Wireless 2200BG for FreeBSD (http://damien.bergamini.free.fr/ipw/iwi-freebsd.html) have a watermark that say "discontinued", does mean that there are another web or project that will continue to improve the iwi driver and iwi-firmware? Do you know any information about that? Cheers, Johnny From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 17:24:55 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CC2716A4DF for ; Wed, 6 Sep 2006 17:24:55 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2251D43D6A for ; Wed, 6 Sep 2006 17:24:47 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.182.222] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GL18J22YM-0003rb; Wed, 06 Sep 2006 19:24:15 +0200 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Wed, 6 Sep 2006 19:24:08 +0200 User-Agent: KMail/1.9.3 References: <006101c6d1a8$2c747b60$2bba90c1@Altair> In-Reply-To: <006101c6d1a8$2c747b60$2bba90c1@Altair> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1260778.V81C61jfGK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609061924.14446.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Johnny Choque Subject: Re: PRO/wireless scanning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 17:24:55 -0000 --nextPart1260778.V81C61jfGK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 September 2006 13:32, Johnny Choque wrote: > I'm testing the scanning features of Intel PRO/Wireless 2200BG build-in > Toshiba Tecra M3 using FreeBSD 6.1 and iwi-firmware-2.4_7 (I think that > it is the last version, isn't it?). I have noticed a unstable behavior > of the wireless interface when I try to scan the access point around it > (ifconfig iwi0 scan). Sometimes it provide the report of the detected > access points but sometimes it keep waiting a long time without provide > any report. Do you have the same behavior with iwi driver and > iwi-firmware?, do you know how I can find a solution for that? > > I have also noticed that the web pages for Intel PRO/Wireless 2200BG > for FreeBSD (http://damien.bergamini.free.fr/ipw/iwi-freebsd.html) have > a watermark that say "discontinued", does mean that there are another > web or project that will continue to improve the iwi driver and > iwi-firmware? Do you know any information about that? Please use iwi(4) from RELENG_6 (soon to be 6.2), which has many=20 improvements and bug fixes over the version that was shipped with 6.1. =20 Note that it uses the firmware(9) subsystem to load the firmware image,=20 so you will have to change to net/iwi-firmware-kmod from ports - as=20 described in UPDATING. The latest firmware version - IIRC is 3.0. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1260778.V81C61jfGK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE/wQ+XyyEoT62BG0RAuXJAJwLjUWTRVy/o4s25dUZvVwUeb/seQCcCFw+ H9xRA+zSuNilE2G75RAIa4s= =TlZ1 -----END PGP SIGNATURE----- --nextPart1260778.V81C61jfGK-- From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 19:18:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F7FB16A4DD for ; Wed, 6 Sep 2006 19:18:31 +0000 (UTC) (envelope-from eddy+public+spam@noc.everquick.net) Received: from a.mx.ict1.everquick.net (a.mx.ict1.everquick.net [204.10.191.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 162E543D7B for ; Wed, 6 Sep 2006 19:18:21 +0000 (GMT) (envelope-from eddy+public+spam@noc.everquick.net) Received: from pop.ict1.everquick.net (localhost [127.0.0.1]) by a.mx.ict1.everquick.net (8.12.10/8.12.10) with ESMTP id k86JIJHo018663 for ; Wed, 6 Sep 2006 19:18:19 GMT X-Everquick-No-Abuse-1: Report any email abuse to or X-Everquick-No-Abuse-2: call +1 (785) 865-5885. Please be sure to reference X-Everquick-No-Abuse-3: the Message-Id and include GMT timestamps. Received: from localhost (eddy@localhost) by pop.ict1.everquick.net (8.13.3/8.13.3/Submit) with ESMTP id k86JIJ6h018660 for ; Wed, 6 Sep 2006 19:18:19 GMT X-Authentication-Warning: pop.ict1.everquick.net: eddy owned process doing -bs Date: Wed, 6 Sep 2006 19:18:18 +0000 (GMT) From: "Edward B. DREGER" X-X-Sender: eddy@pop.ict1.everquick.net To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 19:18:31 -0000 Greetings all, I'd been going nuts trying to determine why I couldn't link against "libdb-4.4.so" and a few other libraries. The ones in question didn't show up via ldconfig -r although their respective directories _were_ found. (Yes, I even ran "ldconfig -R" for good measure.) ldconfig seems to "skip" libraries not of the form m/.+\.so\.[0-9]+/ i.e., libfoo.so.1 is found, but libbar.so libsnuzzlycat.so.5.5 are not. Bug or feature? Is this what I get for straying from ports/packages? ;-) Eddy -- Everquick Internet - http://www.everquick.net/ A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/ Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 785 865 5885 Lawrence and [inter]national Phone: +1 316 794 8922 Wichita ________________________________________________________________________ DO NOT send mail to the following addresses: davidc@brics.com -*- jfconmaapaq@intc.net -*- sam@everquick.net Sending mail to spambait addresses is a great way to get blocked. Ditto for broken OOO autoresponders and foolish AV software backscatter. From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 19:20:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23C8216A4DE for ; Wed, 6 Sep 2006 19:20:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A912843D70 for ; Wed, 6 Sep 2006 19:20:29 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9222C1A3C1A; Wed, 6 Sep 2006 12:20:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 109CC51695; Wed, 6 Sep 2006 15:20:29 -0400 (EDT) Date: Wed, 6 Sep 2006 15:20:28 -0400 From: Kris Kennaway To: "Edward B. DREGER" Message-ID: <20060906192028.GA21278@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 19:20:32 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2006 at 07:18:18PM +0000, Edward B. DREGER wrote: > Greetings all, >=20 >=20 > I'd been going nuts trying to determine why I couldn't link against=20 > "libdb-4.4.so" and a few other libraries. The ones in question didn't=20 > show up via >=20 > ldconfig -r >=20 > although their respective directories _were_ found. (Yes, I even ran=20 > "ldconfig -R" for good measure.) ldconfig seems to "skip" libraries not= =20 > of the form >=20 > m/.+\.so\.[0-9]+/ >=20 > i.e., >=20 > libfoo.so.1 >=20 > is found, but >=20 > libbar.so > libsnuzzlycat.so.5.5 >=20 > are not. >=20 > Bug or feature? Feature. > Is this what I get for straying from ports/packages?=20 > ;-) Probably. Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE/x98Wry0BWjoQKURAsUZAKCLL+5wLH6dg7NSeUsL4dOPPbiQPwCg4nSp KXlGGJBm5AnyocMvlhqPQBc= =jWuL -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 22:24:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C7416A4E2 for ; Wed, 6 Sep 2006 22:24:34 +0000 (UTC) (envelope-from ederbs.hackers@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id C08C643D9A for ; Wed, 6 Sep 2006 22:20:55 +0000 (GMT) (envelope-from ederbs.hackers@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so4094883pye for ; Wed, 06 Sep 2006 15:20:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ZII9kparMWOqunRABx+Zg3gI/ASr3ZHLbXPvzqMpsNA1672H6tpkiiHiiowlCXfAOErWWZ8pb4l2o9Idm+Gx0NCRngFfsGWal37lZ0Sn/CpmbDSNSIugkNqi6KvYkxed+HNsGm/YeOnVBjpJh+m+lQx3lEs37Kkw6J7FrRIfdhU= Received: by 10.35.45.1 with SMTP id x1mr1991327pyj; Wed, 06 Sep 2006 15:20:40 -0700 (PDT) Received: by 10.35.101.19 with HTTP; Wed, 6 Sep 2006 15:20:39 -0700 (PDT) Message-ID: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> Date: Wed, 6 Sep 2006 19:20:39 -0300 From: Eder To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 22:24:35 -0000 A doubt, Kernel of the FreeBSD is monolithic, correct !!! The MacOS is derived from kernel of the FreeBSD, correct !!! It would like to understand because the performance of a MacOS as serving it is very inferior of what a FreeBSD server, being that the MacOS is derived from kernel of the FreeBSD. It will be that somebody could explain this better to me. Thanks, Ederson de Moura -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 23:07:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 315B716A500 for ; Wed, 6 Sep 2006 23:07:03 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6AC43D46 for ; Wed, 6 Sep 2006 23:07:02 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.8/8.13.8) with ESMTP id k86N70PA003171; Wed, 6 Sep 2006 16:07:00 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.8/8.13.8/Submit) id k86N70UZ003170; Wed, 6 Sep 2006 16:07:00 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Sep 2006 16:07:00 -0700 From: Steve Kargl To: Eder Message-ID: <20060906230700.GA2833@troutmask.apl.washington.edu> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 23:07:03 -0000 On Wed, Sep 06, 2006 at 07:20:39PM -0300, Eder wrote: > > Kernel of the FreeBSD is monolithic, correct !!! Yes. > > The MacOS is derived from kernel of the FreeBSD, correct !!! > No. Your email should have gone to freebsd-questions instead of this list. -- Steve From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 23:08:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A13C516A4DD for ; Wed, 6 Sep 2006 23:08:31 +0000 (UTC) (envelope-from prvs=julian=39777be4f@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A9C43D86 for ; Wed, 6 Sep 2006 23:08:31 +0000 (GMT) (envelope-from prvs=julian=39777be4f@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 06 Sep 2006 16:08:31 -0700 Message-ID: <44FF54EF.9030806@elischer.org> Date: Wed, 06 Sep 2006 16:08:31 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eder References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> In-Reply-To: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 23:08:31 -0000 Eder wrote: > A doubt, > > Kernel of the FreeBSD is monolithic, correct !!! > > The MacOS is derived from kernel of the FreeBSD, correct !!! no, wrong. The MacOS kernel is "related distantly" to the FreeBSD kernel. It has been derived from MACH 3 and MACH 2.5 which themselves had SOME components derived from BSD4.3. Some of these components have been updated to the equivalent companents from modern BSD systems and BSD4.4 in turn borrowed the VM system from MACH. So, they are related but not in a parent/child manner. MacOS has been designed and evolved with a very different set of goals from FreeBSD, so many different tradeoffs have been made along the way. They have very different behaviour characteristics. > > It would like to understand because the performance of a MacOS as serving > it is very inferior of what a FreeBSD server, being that the MacOS is > derived > from kernel of the FreeBSD. > > It will be that somebody could explain this better to me. > > Thanks, > > Ederson de Moura From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 23:32:47 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA10416A4DA for ; Wed, 6 Sep 2006 23:32:47 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CAE443D46 for ; Wed, 6 Sep 2006 23:32:47 +0000 (GMT) (envelope-from erikt@midgard.homeip.net) Received: from falcon.midgard.homeip.net (83.253.29.241) by pne-smtpout2-sn2.hy.skanova.net (7.2.075) id 44FECF1400024AE3 for freebsd-hackers@freebsd.org; Thu, 7 Sep 2006 01:32:46 +0200 Received: (qmail 31159 invoked from network); 7 Sep 2006 01:32:45 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 7 Sep 2006 01:32:45 +0200 Received: (qmail 23605 invoked by uid 1001); 7 Sep 2006 01:32:45 +0200 Date: Thu, 7 Sep 2006 01:32:45 +0200 From: Erik Trulsson To: Eder Message-ID: <20060906233245.GA23592@owl.midgard.homeip.net> Mail-Followup-To: Eder , freebsd-hackers@freebsd.org References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> User-Agent: Mutt/1.5.11 Cc: freebsd-hackers@freebsd.org Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 23:32:47 -0000 On Wed, Sep 06, 2006 at 07:20:39PM -0300, Eder wrote: > A doubt, > > Kernel of the FreeBSD is monolithic, correct !!! Correct. > > The MacOS is derived from kernel of the FreeBSD, correct !!! Incorrect. The kernel of MacOS X is mainly derived from the Mach kernel, not from FreeBSD. I believe it also contains much code from various BSD-derivatives (including FreeBSD) but the basic design is that of Mach rather than that of BSD. > > It would like to understand because the performance of a MacOS as serving > it is very inferior of what a FreeBSD server, being that the MacOS is > derived > from kernel of the FreeBSD. > > It will be that somebody could explain this better to me. > -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 6 23:41:36 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F33CC16A4DE for ; Wed, 6 Sep 2006 23:41:35 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id C814743D55 for ; Wed, 6 Sep 2006 23:41:32 +0000 (GMT) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 83539 invoked by uid 1001); 6 Sep 2006 23:41:24 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Wed, 06 Sep 2006 19:41:24 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17663.23716.86762.794346@bhuda.mired.org> Date: Wed, 6 Sep 2006 19:41:24 -0400 To: Eder In-Reply-To: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 23:41:36 -0000 In <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com>, Eder typed: > A doubt, > > Kernel of the FreeBSD is monolithic, correct !!! Correct. > The MacOS is derived from kernel of the FreeBSD, correct !!! Not correct. The MacOS kernel is derived from Mach, not FreeBSD. The MacOS userland is mostly derived from FreeBSD, but includes tools from the other BSDs, and the current direction is to mimic the Linux userland (i.e. /bin/sh is bash). http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 07:51:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6692A16A4DD for ; Thu, 7 Sep 2006 07:51:52 +0000 (UTC) (envelope-from mbisiani1978@hotmail.com) Received: from bay0-omc1-s39.bay0.hotmail.com (bay0-omc1-s39.bay0.hotmail.com [65.54.246.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFBCE43D45 for ; Thu, 7 Sep 2006 07:51:51 +0000 (GMT) (envelope-from mbisiani1978@hotmail.com) Received: from hotmail.com ([65.54.224.19]) by bay0-omc1-s39.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 00:51:51 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2006 00:51:51 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 07 Sep 2006 07:51:48 GMT X-Originating-IP: [83.211.72.250] X-Originating-Email: [mbisiani1978@hotmail.com] X-Sender: mbisiani1978@hotmail.com From: "Mauro Bisiani" To: freebsd-hackers@freebsd.org Date: Thu, 07 Sep 2006 09:51:48 +0200 X-OriginalArrivalTime: 07 Sep 2006 07:51:51.0708 (UTC) FILETIME=[7ADCCDC0:01C6D252] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Apache not binding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 07:51:52 -0000 Hi everybody, I have recentrly installed Apache 1.3+SSL from the port collection. When it run locally everything is ok. But when I try to bind my public IP I get the following error message in the apache log file: [crit] (49) Can't assign requested address: make_sock: could not bind to address I have a LAN with an Atlantis router. I have set the router'virtual server's rules so that the ports 80 and 443 are redirected to the machine with the web server, and also I have set DMZ with that host private IP. I have made some tests to understand what's wrong. Netstat and sockstat report that there is no internet sock. I have made a scan with Nmap and it says there is no open port on the machine! It seems that every service can run only locally. I have disabled inetd. Is this the reason of the problem? Any suggestions? I have FREEBSD 6.0 and I have installed it with almost every default option. I have not set any firewall rules, neither on the router nor on the server's machine. Thanks to all Mauro Bisiani From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 07:55:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A760716A4DA for ; Thu, 7 Sep 2006 07:55:23 +0000 (UTC) (envelope-from mbisiani1978@hotmail.com) Received: from bay0-omc1-s27.bay0.hotmail.com (bay0-omc1-s27.bay0.hotmail.com [65.54.246.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6724443D4C for ; Thu, 7 Sep 2006 07:55:23 +0000 (GMT) (envelope-from mbisiani1978@hotmail.com) Received: from hotmail.com ([65.54.224.43]) by bay0-omc1-s27.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 00:54:23 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2006 00:54:23 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 07 Sep 2006 07:54:19 GMT X-Originating-IP: [83.211.72.250] X-Originating-Email: [mbisiani1978@hotmail.com] X-Sender: mbisiani1978@hotmail.com From: "Mauro Bisiani" To: freebsd-hackers@freebsd.org Date: Thu, 07 Sep 2006 09:54:19 +0200 X-OriginalArrivalTime: 07 Sep 2006 07:54:23.0203 (UTC) FILETIME=[D5291B30:01C6D252] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Doubt about portaudit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 07:55:23 -0000 Hi everybody, I have a FREEBSD 6.0 machine. I have installed portaudit but then I was forced to remove it because it didn't let me install almost every port software because of the security vulnerabilities. Is this right? I mean, I want to be aware of the possible security holes in my system but I need to install some programs like Apache ang GnuPG. Any solution? Thanks to all From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 08:00:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6127316A4FD for ; Thu, 7 Sep 2006 08:00:41 +0000 (UTC) (envelope-from riemer@palstra.com) Received: from palstra.com (palstra.com [82.201.5.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1DAD43D70 for ; Thu, 7 Sep 2006 08:00:38 +0000 (GMT) (envelope-from riemer@palstra.com) Received: from riemer by palstra.com with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1GLEoP-000OaA-FJ; Thu, 07 Sep 2006 10:00:37 +0200 Date: Thu, 7 Sep 2006 10:00:37 +0200 From: Riemer Palstra To: Mauro Bisiani Message-ID: <20060907080037.GA71602@rb1.palstra.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: Doubt about portaudit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 08:00:41 -0000 On Thu, Sep 07, 2006 at 09:54:19AM +0200, Mauro Bisiani wrote: > I have a FREEBSD 6.0 machine. I have installed portaudit but then I > was forced to remove it because it didn't let me install almost > every port software because of the security vulnerabilities. Try updating your portstree first via portsnap or cvsup. Then, if there are still vulnerabilities being reported, you can override by setting DISABLE_VULNERABILITIES=yes, but only if you're *REALLY* sure. Really, those reports have a reason for being there... -- Riemer Palstra Amsterdam, The Netherlands riemer@palstra.com http://www.palstra.com/ From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 08:04:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A193E16A4DD for ; Thu, 7 Sep 2006 08:04:16 +0000 (UTC) (envelope-from riemer@palstra.com) Received: from palstra.com (palstra.com [82.201.5.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 431DA43D45 for ; Thu, 7 Sep 2006 08:04:16 +0000 (GMT) (envelope-from riemer@palstra.com) Received: from riemer by palstra.com with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1GLErv-000Oav-Eu; Thu, 07 Sep 2006 10:04:15 +0200 Date: Thu, 7 Sep 2006 10:04:15 +0200 From: Riemer Palstra To: Mauro Bisiani Message-ID: <20060907080415.GB71602@rb1.palstra.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: Apache not binding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 08:04:16 -0000 On Thu, Sep 07, 2006 at 09:51:48AM +0200, Mauro Bisiani wrote: > I have recentrly installed Apache 1.3+SSL from the port collection. > When it run locally everything is ok. But when I try to bind my public > IP I get the following error message in the apache log file: > > [crit] (49) Can't assign requested address: make_sock: could not bind > to address > > I have a LAN with an Atlantis router. I have set the router'virtual > server's rules so that the ports 80 and 443 are redirected to the > machine with the web server, and also I have set DMZ with that host > private IP. If you have a router, isn't the public ip address you want to bind to on the router, and not on the webserver machine? In any case, run 'ifconfig -a' and see if the ip address you want to bind to is actually in the output. If not, you probably want Apache to bind on the private ip address you are forwarding the requests to. -- Riemer Palstra Amsterdam, The Netherlands riemer@palstra.com http://www.palstra.com/ From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 08:27:30 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A9E716A4DD for ; Thu, 7 Sep 2006 08:27:30 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service2.sh.cvut.cz (service2.sh.cvut.cz [147.32.127.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7430643D49 for ; Thu, 7 Sep 2006 08:27:28 +0000 (GMT) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service2.sh.cvut.cz (Postfix) with ESMTP id B24D213785C; Thu, 7 Sep 2006 10:27:27 +0200 (CEST) Received: from service2.sh.cvut.cz ([127.0.0.1]) by localhost (service2.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17187-04; Thu, 7 Sep 2006 10:27:23 +0200 (CEST) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service2.sh.cvut.cz (Postfix) with ESMTP id 9E949137AA2; Thu, 7 Sep 2006 10:27:23 +0200 (CEST) Received: from [192.168.111.53] (localhost [127.0.0.1]) by logout.sh.cvut.cz (Postfix) with ESMTP id A8BC061C33; Thu, 7 Sep 2006 10:27:22 +0200 (CEST) Message-ID: <44FFD7E1.1080805@sh.cvut.cz> Date: Thu, 07 Sep 2006 10:27:13 +0200 From: =?ISO-8859-1?Q?V=E1clav_Haisman?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Mauro Bisiani References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1F06AC596638473BE77782E1" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at service2.sh.cvut.cz X-Spam-Status: No, hits=-2.5 tagged_above=-255.0 required=5.0 tests=ALL_TRUSTED, AWL X-Spam-Level: Cc: freebsd-hackers@freebsd.org Subject: Re: Doubt about portaudit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 08:27:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1F06AC596638473BE77782E1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mauro Bisiani wrote: >=20 > Hi everybody, >=20 > I have a FREEBSD 6.0 machine. I have installed portaudit but then I > was forced to remove it because it didn't let me install almost every= > port software because of the security vulnerabilities. > Is this right? I mean, I want to be aware of the possible security > holes in my system but I need to install some programs like Apache an= g > GnuPG. > Any solution? >=20 > Thanks to all Don't forget to update both Ports tree and portaudit's database. -- VH --------------enig1F06AC596638473BE77782E1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRP/X6ENOZDESBK8FAQLQOQgAlwUQ5rwMVWHursK7pjbjuaIbvsCz5i25 C+v3iutDhQFC9wklKcgf1xp/GH0mQDEOT9JB9X6Hvp6fie0zWWYfEZMMqM4CB0QW gslwagU0JVVDkGs360A1iBIBcJRFj1G6g8ZedwwljKp4nE3EcDP1y8pX5t4yzWVF KhurzjSU7ZTTA5/8KroKbgHYuFS21fkGDfHu0Xd7PfZKw0WglvLY0FIRwyjo6oGJ SJ6pk3oV9XDqeFRBpws8d4zHyF9SCem0qo0LgqwOync0884nf+o9TKohc+iBlz4A 6VAuztvbHzUxX+JfmAHaoQe4V7GO+o9PvI+1m7Mvn4ZoERyd074ETw== =OK9d -----END PGP SIGNATURE----- --------------enig1F06AC596638473BE77782E1-- From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 09:03:11 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEE9816A4DD for ; Thu, 7 Sep 2006 09:03:11 +0000 (UTC) (envelope-from jchoque@tlmat.unican.es) Received: from luna.tlmat.unican.es (luna.tlmat.unican.es [193.144.186.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BA4243D49 for ; Thu, 7 Sep 2006 09:03:10 +0000 (GMT) (envelope-from jchoque@tlmat.unican.es) Received: from Altair (altair.tlmat.unican.es [193.144.186.43]) by luna.tlmat.unican.es (8.12.11/8.12.11) with ESMTP id k878ZA8j002221; Thu, 7 Sep 2006 10:35:10 +0200 From: "Johnny Choque" To: Date: Thu, 7 Sep 2006 11:03:03 +0200 Message-ID: <009001c6d25c$6d814390$2bba90c1@Altair> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 thread-index: AcbR1XSIhRMcrhgiT7iCkFh/AJmfywAhFTKw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-Reply-To: <200609061924.14446.max@love2party.net> Cc: 'Max Laier' Subject: RE: PRO/wireless scanning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 09:03:11 -0000 > > I'm testing the scanning features of Intel PRO/Wireless 2200BG > > build-in Toshiba Tecra M3 using FreeBSD 6.1 and > iwi-firmware-2.4_7 (I > > think that it is the last version, isn't it?). I have noticed a > > unstable behavior of the wireless interface when I try to scan the > > access point around it (ifconfig iwi0 scan). Sometimes it > provide the > > report of the detected access points but sometimes it keep > waiting a > > long time without provide any report. Do you have the same behavior > > with iwi driver and iwi-firmware?, do you know how I can > find a solution for that? > > > > I have also noticed that the web pages for Intel > PRO/Wireless 2200BG > > for FreeBSD (http://damien.bergamini.free.fr/ipw/iwi-freebsd.html) > > have a watermark that say "discontinued", does mean that there are > > another web or project that will continue to improve the iwi driver > > and iwi-firmware? Do you know any information about that? > > Please use iwi(4) from RELENG_6 (soon to be 6.2), which has > many improvements and bug fixes over the version that was > shipped with 6.1. Actually, I'm using FreeBSD 6.1-RELEASE, does your suggestion means that I need to make an upgrading of the base system? Sorry for my newbie question. Does "iwi(4)" means? When I do "man iwi" I see "iwi(4)" on the upper side, is that right?. I also noticed that I have the /usr/port/net/iwi-firmware-kmod, is it needed to upgrade the base system? > Note that it uses the firmware(9) subsystem to load the > firmware image, so you will have to change to > net/iwi-firmware-kmod from ports - as described in UPDATING. > The latest firmware version - IIRC is 3.0. How can I get the firmware version 3.0? > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 09:27:47 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54A1016A4DA for ; Thu, 7 Sep 2006 09:27:47 +0000 (UTC) (envelope-from mbisiani1978@hotmail.com) Received: from bay0-omc2-s9.bay0.hotmail.com (bay0-omc2-s9.bay0.hotmail.com [65.54.246.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B5543D45 for ; Thu, 7 Sep 2006 09:27:47 +0000 (GMT) (envelope-from mbisiani1978@hotmail.com) Received: from hotmail.com ([65.54.224.24]) by bay0-omc2-s9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 02:27:46 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2006 02:27:46 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 07 Sep 2006 09:27:43 GMT X-Originating-IP: [83.211.72.250] X-Originating-Email: [mbisiani1978@hotmail.com] X-Sender: mbisiani1978@hotmail.com From: "Mauro Bisiani" To: freebsd-hackers@freebsd.org Date: Thu, 07 Sep 2006 11:27:43 +0200 X-OriginalArrivalTime: 07 Sep 2006 09:27:46.0818 (UTC) FILETIME=[E12CE620:01C6D25F] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Apache problem resolved X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 09:27:47 -0000 Hi! I made it! It was simple. I have added an alias with the public IP address in the NIC configuration. Sorry for having trobuled with my lack of experience ^_^ Thanks. Mauro Bisiani From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 11:29:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FA6616A4DF for ; Thu, 7 Sep 2006 11:29:27 +0000 (UTC) (envelope-from mbisiani1978@hotmail.com) Received: from bay0-omc1-s26.bay0.hotmail.com (bay0-omc1-s26.bay0.hotmail.com [65.54.246.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8DEE43D53 for ; Thu, 7 Sep 2006 11:29:26 +0000 (GMT) (envelope-from mbisiani1978@hotmail.com) Received: from hotmail.com ([65.54.224.45]) by bay0-omc1-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 04:29:26 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2006 04:29:26 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 07 Sep 2006 11:29:25 GMT X-Originating-IP: [83.211.72.250] X-Originating-Email: [mbisiani1978@hotmail.com] X-Sender: mbisiani1978@hotmail.com From: "Mauro Bisiani" To: freebsd-hackers@freebsd.org Date: Thu, 07 Sep 2006 13:29:25 +0200 X-OriginalArrivalTime: 07 Sep 2006 11:29:26.0127 (UTC) FILETIME=[DFE70FF0:01C6D270] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Apache access problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 11:29:27 -0000 Hi everybody! I have installed Apache 1.3+SSL and after troubling with the FreeBSD NIC interface I have succeeded in having the server work. Now I have another problem: the server works locally on the LAN, but when I try to connect via WAN, noone is able to connect. In the access and error log there is no connection. The strange thing is that from my palmtop I am in!!! Any idea? From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 11:38:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF4A216A4DA for ; Thu, 7 Sep 2006 11:38:25 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A688E43D6D for ; Thu, 7 Sep 2006 11:38:21 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 56FB51CCBD; Thu, 7 Sep 2006 13:38:20 +0200 (CEST) Date: Thu, 7 Sep 2006 13:38:20 +0200 From: Ed Schouten To: FreeBSD Hackers Message-ID: <20060907113820.GO22564@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7gLe/sNPhR777EPF" Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 X-Mailman-Approved-At: Thu, 07 Sep 2006 12:07:42 +0000 Subject: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Hackers List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 11:38:26 -0000 --7gLe/sNPhR777EPF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I was just looking through FreeBSD's snd_uaudio(4) driver, because I'm thinking of patching it to support Xbox 360 headsets as well. I was looking at the code to set the sample rate in /sys/dev/sound/usb/uaudio.c. In that file there is the following code near line 4100: | if (speed >=3D UA_SAMP_LO(asf1d) && speed <=3D UA_SAMP_HI(asf1d)) { | ch->sample_rate =3D speed; | return speed; | } else if (speed < UA_SAMP_LO(asf1d)) { | score =3D 0xfff * speed / UA_SAMP_LO(asf1d); | if (score > hiscore) { | bestspeed =3D UA_SAMP_LO(asf1d); | hiscore =3D score; | } | } else if (speed < UA_SAMP_HI(asf1d)) { | score =3D 0xfff * UA_SAMP_HI(asf1d) / speed; | if (score > hiscore) { | bestspeed =3D UA_SAMP_HI(asf1d); | hiscore =3D score; | } | } If we would rewrite this code to something more basic, let's say we rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined variables: | if (x >=3D 10 && x <=3D 20) { | ... | } else if (x < 10) { | ... | } else if (x < 20) { | ... | } Wouldn't that mean that the last portion of the code is never reached? Looking at the code, it looks like some range check, making sure the sample rate remains inside a certain range. Wouldn't it be enough to remove the entire third if-statement, using a normal '} else {'? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --7gLe/sNPhR777EPF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAASs52SDGA2eCwURAuqWAJ0c4LQ1uNXvwUexH+jjFiuw3dzRQQCfQKrj 66ga7m+cWqe6sWW0rl9jyes= =Cgl7 -----END PGP SIGNATURE----- --7gLe/sNPhR777EPF-- From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 12:30:37 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6527016A4E0; Thu, 7 Sep 2006 12:30:37 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56BDB43E29; Thu, 7 Sep 2006 12:27:59 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D914.dip.t-dialin.net [84.165.217.20]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k87C6voj025162; Thu, 7 Sep 2006 14:06:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k87CRiNq032533; Thu, 7 Sep 2006 14:27:44 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 07 Sep 2006 14:27:44 +0200 Message-ID: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 07 Sep 2006 14:27:44 +0200 From: Alexander Leidinger To: FreeBSD Hackers , Ed Schouten References: <20060907113820.GO22564@hoeg.nl> In-Reply-To: <20060907113820.GO22564@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new X-Mailman-Approved-At: Thu, 07 Sep 2006 13:22:23 +0000 Cc: multimedia@FreeBSD.org Subject: Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 12:30:37 -0000 Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): CCing multimedia@, where all "the cool sound guys hang out"... > Hello, > > I was just looking through FreeBSD's snd_uaudio(4) driver, because I'm > thinking of patching it to support Xbox 360 headsets as well. I was > looking at the code to set the sample rate in > /sys/dev/sound/usb/uaudio.c. In that file there is the following code > near line 4100: > > | =09if (speed >=3D UA_SAMP_LO(asf1d) && speed <=3D UA_SAMP_HI(asf1d)) { > | =09=09ch->sample_rate =3D speed; > | =09=09return speed; > | =09} else if (speed < UA_SAMP_LO(asf1d)) { > | =09=09score =3D 0xfff * speed / UA_SAMP_LO(asf1d); > | =09=09if (score > hiscore) { > | =09=09=09bestspeed =3D UA_SAMP_LO(asf1d); > | =09=09=09hiscore =3D score; > | =09=09} > | =09} else if (speed < UA_SAMP_HI(asf1d)) { > | =09=09score =3D 0xfff * UA_SAMP_HI(asf1d) / speed; > | =09=09if (score > hiscore) { > | =09=09=09bestspeed =3D UA_SAMP_HI(asf1d); > | =09=09=09hiscore =3D score; > | =09=09} > | =09} > > If we would rewrite this code to something more basic, let's say we > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > variables: > > | =09if (x >=3D 10 && x <=3D 20) { > | =09=09... > | =09} else if (x < 10) { > | =09=09... > | =09} else if (x < 20) { > | =09=09... > | =09} > > Wouldn't that mean that the last portion of the code is never reached? > Looking at the code, it looks like some range check, making sure the > sample rate remains inside a certain range. Wouldn't it be enough to > remove the entire third if-statement, using a normal '} else {'? Just by looking at the code you pasted, I assume the last part is a =20 typo in the uaudio code and should be a '>' instead of a '<': "if it =20 is outside the range, use the end of the range as a good candidate." Bye, Alexander. --=20 The most delightful day after the one on which you buy a cottage in the country is the one on which you resell it. =09=09-- J. Brecheux http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 13:35:18 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E2DE16A4E0 for ; Thu, 7 Sep 2006 13:35:18 +0000 (UTC) (envelope-from garyj@jennejohn.org) Received: from mail08a.verio.de (mail08a.verio.de [213.198.55.73]) by mx1.FreeBSD.org (Postfix) with SMTP id CBAB843E89 for ; Thu, 7 Sep 2006 13:34:20 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from mx06.stngva01.us.mxservers.net (204.202.242.35) by mail08a.verio.de (RS ver 1.0.95vs) with SMTP id 0-0903016050 for ; Thu, 7 Sep 2006 15:34:14 +0200 (CEST) Received: from www.jennejohn.org [213.198.5.174] (EHLO peedub.jennejohn.org) by mx06.stngva01.us.mxservers.net (mxl_mta-1.3.8-10p4) with ESMTP id 2df10054.28317.049.mx06.stngva01.us.mxservers.net; Thu, 07 Sep 2006 09:34:11 -0400 (EDT) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.7/8.11.6) with ESMTP id k87DY8x2004383 for ; Thu, 7 Sep 2006 15:34:09 +0200 (CEST) (envelope-from garyj@jennejohn.org) Message-Id: <200609071334.k87DY8x2004383@peedub.jennejohn.org> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: FreeBSD Hackers In-Reply-To: Message from Ed Schouten of "Thu, 07 Sep 2006 13:38:20 +0200." <20060907113820.GO22564@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Sep 2006 15:34:08 +0200 From: Gary Jennejohn X-Spam: [F=0.0660230620; heur=0.500(-19800); stat=0.066; spamtraq-heur=0.500(2006090615)] X-MAIL-FROM: X-SOURCE-IP: [213.198.5.174] X-Loop-Detect: 1 X-DistLoop-Detect: 1 Subject: Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 13:35:18 -0000 Ed Schouten writes: > I was just looking through FreeBSD's snd_uaudio(4) driver, because I'm > thinking of patching it to support Xbox 360 headsets as well. I was > looking at the code to set the sample rate in > /sys/dev/sound/usb/uaudio.c. In that file there is the following code > near line 4100: > > | if (speed >= UA_SAMP_LO(asf1d) && speed <= UA_SAMP_HI(asf1d)) { > | ch->sample_rate = speed; > | return speed; > | } else if (speed < UA_SAMP_LO(asf1d)) { > | score = 0xfff * speed / UA_SAMP_LO(asf1d); > | if (score > hiscore) { > | bestspeed = UA_SAMP_LO(asf1d); > | hiscore = score; > | } > | } else if (speed < UA_SAMP_HI(asf1d)) { > | score = 0xfff * UA_SAMP_HI(asf1d) / speed; > | if (score > hiscore) { > | bestspeed = UA_SAMP_HI(asf1d); > | hiscore = score; > | } > | } > > If we would rewrite this code to something more basic, let's say we > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > variables: > > | if (x >= 10 && x <= 20) { > | ... > | } else if (x < 10) { > | ... > | } else if (x < 20) { > | ... > | } > > Wouldn't that mean that the last portion of the code is never reached? > Looking at the code, it looks like some range check, making sure the > sample rate remains inside a certain range. Wouldn't it be enough to > remove the entire third if-statement, using a normal '} else {'? > Yeah, it seems like the last if clause should read } else if (speed > UA_SAMP_HI(asf1d)) { --- Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 01:45:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE1F516A4DD for ; Fri, 8 Sep 2006 01:45:26 +0000 (UTC) (envelope-from SRS0=C6e9DE=CX=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailout06.yourhostingaccount.com (mailout06.yourhostingaccount.com [65.254.253.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5402643D49 for ; Fri, 8 Sep 2006 01:45:26 +0000 (GMT) (envelope-from SRS0=C6e9DE=CX=vvelox.net=vvelox@yourhostingaccount.com) Received: from scan05.yourhostingaccount.com ([10.1.1.235] helo=scan05.yourhostingaccount.com) by mailout06.yourhostingaccount.com with esmtp (Exim) id 1GLVQr-00061j-BJ for freebsd-hackers@freebsd.org; Thu, 07 Sep 2006 21:45:25 -0400 Received: from authsmtp08.yourhostingaccount.com ([10.1.18.8] ident=exim) by scan05.yourhostingaccount.com with spamscanlookuphost (Exim) id 1GLVQr-0003Vp-6y for freebsd-hackers@freebsd.org; Thu, 07 Sep 2006 21:45:25 -0400 Received: from authsmtp08.yourhostingaccount.com ([10.1.18.8] helo=authsmtp08.yourhostingaccount.com) by scan05.yourhostingaccount.com with esmtp (Exim) id 1GLVQq-0003Vm-UM for freebsd-hackers@freebsd.org; Thu, 07 Sep 2006 21:45:24 -0400 Received: from [69.92.217.33] (helo=vixen42) by authsmtp08.yourhostingaccount.com with esmtpa (Exim) id 1GLVQq-0007Cx-FR for freebsd-hackers@freebsd.org; Thu, 07 Sep 2006 21:45:24 -0400 Date: Thu, 7 Sep 2006 20:47:16 -0500 From: "Z.C.B." To: freebsd-hackers@freebsd.org Message-ID: <20060907204716.151d9ab9@vixen42> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_x9B=sxtkOau/BMhM4Yo2=MQ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-EN-UserInfo: f1c157ec5ebebd12a8182d58c6ceecd9:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox3 Sender: "Z.C.B." X-Mailman-Approved-At: Fri, 08 Sep 2006 02:15:14 +0000 Subject: ugen question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 01:45:27 -0000 --Sig_x9B=sxtkOau/BMhM4Yo2=MQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Any suggestions on reading or the like for talking to a ugen device? --Sig_x9B=sxtkOau/BMhM4Yo2=MQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAMurC1tfcMGJid4RAnxHAKChaWBOj9r/lVgErEqMMkIuWtEUpQCcDMEo j16D/P2eEk4yZoRPza0pE7s= =GlkI -----END PGP SIGNATURE----- --Sig_x9B=sxtkOau/BMhM4Yo2=MQ-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 06:52:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F2E316A4DD for ; Fri, 8 Sep 2006 06:52:45 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2722143D55 for ; Fri, 8 Sep 2006 06:52:44 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k8875SC5017728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Sep 2006 03:05:34 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-hackers@freebsd.org Date: Fri, 8 Sep 2006 02:53:26 -0400 User-Agent: KMail/1.9.1 References: <20060907204716.151d9ab9@vixen42> In-Reply-To: <20060907204716.151d9ab9@vixen42> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4079460.Zqd2niqpZ8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609080253.26836.mistry.7@osu.edu> X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,MYFREEBSD2, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL,SPF_SOFTFAIL autolearn=no version=3.1.3 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.4/1822/Thu Sep 7 23:32:48 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: "Z.C.B." Subject: Re: ugen question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 06:52:45 -0000 --nextPart4079460.Zqd2niqpZ8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 07 September 2006 21:47, Z.C.B. wrote: > Any suggestions on reading or the like for talking to a ugen > device? read() and write() work. See the manpage to more options. =2D-=20 Anish Mistry --nextPart4079460.Zqd2niqpZ8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBFARNmxqA5ziudZT0RAhuLAJ9+HVvJ8Jrr170aln1/hMrWqI6EBACfRjtO G7esUCvzRL41OS36tlEMT3I= =zUAS -----END PGP SIGNATURE----- --nextPart4079460.Zqd2niqpZ8-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 07:03:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE0316A4DA for ; Fri, 8 Sep 2006 07:03:42 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat.gbservices.biz (cat-mtl.gbservices.biz [213.226.50.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD6E743D45 for ; Fri, 8 Sep 2006 07:03:41 +0000 (GMT) (envelope-from vladimir.terziev@gbservices.biz) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 55B942EDAE6 for ; Fri, 8 Sep 2006 09:03:41 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id 0250E2EDAE3 for ; Fri, 8 Sep 2006 09:03:40 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 35ECB28503 for ; Fri, 8 Sep 2006 09:03:38 +0200 (CEST) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id C225B28505 for ; Fri, 8 Sep 2006 09:03:37 +0200 (CEST) Date: Fri, 8 Sep 2006 10:03:37 +0300 From: Vladimir Terziev To: freebsd-hackers@freebsd.org Message-Id: <20060908100337.73c0c88d.vlady@gbservices.biz> Organization: GB Services Ltd. X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Subject: Mirroring the root disk of already installed machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 07:03:42 -0000 Hi hackers, i have a machine running FreeBSD 5.4 . It has 2 HDDs. Recently the non-root HDD failed and lost all the data on it. Since the machine is working 24/7 i want to mirror its root disk (this one with the OS on it) in order to prevent a severe downtime and data loss. Is there a safe way to do the above using gmirror ? Thanks in advance! Vlady From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 04:43:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98E8F16A4DA for ; Fri, 8 Sep 2006 04:43:52 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C2D843D49 for ; Fri, 8 Sep 2006 04:43:52 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5FAB91CCBD; Fri, 8 Sep 2006 06:43:51 +0200 (CEST) Date: Fri, 8 Sep 2006 06:43:51 +0200 From: Ed Schouten To: "Z.C.B." Message-ID: <20060908044351.GQ22564@hoeg.nl> References: <20060907204716.151d9ab9@vixen42> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V2tfspbppmK1TQo2" Content-Disposition: inline In-Reply-To: <20060907204716.151d9ab9@vixen42> User-Agent: Mutt/1.5.12-2006-07-14 X-Mailman-Approved-At: Fri, 08 Sep 2006 11:36:08 +0000 Cc: FreeBSD Hackers Subject: Re: ugen question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Hackers List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 04:43:52 -0000 --V2tfspbppmK1TQo2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Z.C.B. wrote: > Any suggestions on reading or the like for talking to a ugen device? Well, I'm using ugen to test the workings of an Xbox 360 headset. I just use this: $ cat /dev/ugen0.3 > myvoice ^C $ cat myvoice > /dev/ugen0.4 Gives me back my voice (well, at half the sample rate, as the microphone is twice as accurate). --=20 Ed Schouten WWW: http://g-rave.nl/ --V2tfspbppmK1TQo2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAPUH52SDGA2eCwURApnhAJwI0L+taCalikp5HWYbUEtv50yivQCfXZcl Ph9iAVtIF+Mvt+OSV+nHcRM= =P4TX -----END PGP SIGNATURE----- --V2tfspbppmK1TQo2-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 12:52:53 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76DCD16A4DF; Fri, 8 Sep 2006 12:52:53 +0000 (UTC) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57C943D7D; Fri, 8 Sep 2006 12:52:50 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (localhost [127.0.0.1]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id EA81735C07D; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Received: from phws.ph.noda.tus.ac.jp ([127.0.0.1]) by localhost (phws [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01498-07; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Received: from localhost (noda-ph-24.rs.noda.tus.ac.jp [133.31.87.24]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id A49CE35C07B; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Date: Fri, 08 Sep 2006 21:52:48 +0900 (JST) Message-Id: <20060908.215248.846936370.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Mailer: Mew version 3.3 on XEmacs 21.5-b22 (cucumber) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ph.noda.tus.ac.jp X-Mailman-Approved-At: Fri, 08 Sep 2006 13:10:45 +0000 Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org, kazuhito@ph.noda.tus.ac.jp Subject: Re: *****SPAM***** Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 12:52:53 -0000 Hello, > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > If we would rewrite this code to something more basic, let's say we > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > variables: > > > > | if (x >= 10 && x <= 20) { > > | ... > > | } else if (x < 10) { > > | ... > > | } else if (x < 20) { > > | ... > > | } > > In this example, UA_SAMP_ macros are exchanged to some constants. But UA_SAMP_ macros don't have any predefined constants. uaudio.c is a general driver for USB audio devices. Each USB audio device has peculiar sampling rates. They are different from those of another device. UA_SAMP_macros give the peculiar sampling rates. They can't be exchanged to some constants. From: Alexander Leidinger Subject: Re: Oddity in snd_uaudio(4) driver? Date: Thu, 07 Sep 2006 14:27:44 +0200 > I assume the last part is a > typo in the uaudio code and should be a '>' instead of a '<': That's right. Sincerely yours Kazuhito HONDA From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 13:29:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE4416A4E0 for ; Fri, 8 Sep 2006 13:29:07 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id BA5F443D45 for ; Fri, 8 Sep 2006 13:29:06 +0000 (GMT) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 8851 invoked by uid 1001); 8 Sep 2006 13:29:01 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Fri, 08 Sep 2006 09:29:01 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17665.28700.948624.425733@bhuda.mired.org> Date: Fri, 8 Sep 2006 09:29:00 -0400 To: Vladimir Terziev In-Reply-To: <20060908100337.73c0c88d.vlady@gbservices.biz> References: <20060908100337.73c0c88d.vlady@gbservices.biz> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: Mirroring the root disk of already installed machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 13:29:07 -0000 In <20060908100337.73c0c88d.vlady@gbservices.biz>, Vladimir Terziev typed: > i have a machine running FreeBSD 5.4 . It has 2 HDDs. Recently the non-root HDD failed and lost all the data on it. Since the machine is working 24/7 i want to mirror its root disk (this one with the OS on it) in order to prevent a severe downtime and data loss. > > Is there a safe way to do the above using gmirror ? Yes. I started doing it on FreeBSD 5.5. It's pretty simple: shut down to single user. Create a mirror with your root disk in it. Edit /etc/hosts to change the device name from ad* to mirror/*. Reboot. Once you're back up, add the second disk to the mirror. If you want exact instructions, consult google. The tricky part is creating the initial mirror on a mounted file system - you have to toggle a sysctl (I think that's what it was) to do that. Some directions include that; others recommend you boot on a recovery CD to create the mirror initially. BTW, this probably should have gone to -questions. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 13:55:43 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DD4B16A4DF for ; Fri, 8 Sep 2006 13:55:43 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat.gbservices.biz (cat-mtl.gbservices.biz [213.226.50.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E468443D45 for ; Fri, 8 Sep 2006 13:55:42 +0000 (GMT) (envelope-from vladimir.terziev@gbservices.biz) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 5C6BA2EDAE3; Fri, 8 Sep 2006 15:55:44 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id EF8AB2EDAD8; Fri, 8 Sep 2006 15:55:43 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id BF4A028504; Fri, 8 Sep 2006 15:55:38 +0200 (CEST) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id 7D3BF28503; Fri, 8 Sep 2006 15:55:38 +0200 (CEST) Date: Fri, 8 Sep 2006 16:55:38 +0300 From: Vladimir Terziev To: Mike Meyer Message-Id: <20060908165538.39464459.vlady@gbservices.biz> In-Reply-To: <17665.28700.948624.425733@bhuda.mired.org> References: <20060908100337.73c0c88d.vlady@gbservices.biz> <17665.28700.948624.425733@bhuda.mired.org> Organization: GB Services Ltd. X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Cc: freebsd-hackers@freebsd.org Subject: Re: Mirroring the root disk of already installed machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 13:55:43 -0000 Thanks Mike, i've read this http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html article before, but was in doubt whether i could use instructions in it. Now, after your hint about single user mode, i'm sure it will help me in 100%. Best regards! Vlady On Fri, 8 Sep 2006 09:29:00 -0400 Mike Meyer wrote: > In <20060908100337.73c0c88d.vlady@gbservices.biz>, Vladimir Terziev typed: > > i have a machine running FreeBSD 5.4 . It has 2 HDDs. Recently the non-root HDD failed and lost all the data on it. Since the machine is working 24/7 i want to mirror its root disk (this one with the OS on it) in order to prevent a severe downtime and data loss. > > > > Is there a safe way to do the above using gmirror ? > > Yes. I started doing it on FreeBSD 5.5. It's pretty simple: shut down > to single user. Create a mirror with your root disk in it. Edit > /etc/hosts to change the device name from ad* to > mirror/*. Reboot. Once you're back up, add the second disk to the > mirror. If you want exact instructions, consult google. The tricky > part is creating the initial mirror on a mounted file system - you > have to toggle a sysctl (I think that's what it was) to do that. Some > directions include that; others recommend you boot on a recovery CD to > create the mirror initially. > > BTW, this probably should have gone to -questions. > > -- > Mike Meyer http://www.mired.org/consulting.html > Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 13:24:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A04EA16A4DF for ; Fri, 8 Sep 2006 13:24:31 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Received: from mailhost.graphdata.co.uk (mailhost.graphdata.co.uk [195.12.22.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F093343D6D for ; Fri, 8 Sep 2006 13:24:30 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id E8033114023; Fri, 8 Sep 2006 14:24:28 +0100 (BST) X-Virus-Scanned: amavisd-new at graphdata.co.uk Received: from mailhost.graphdata.co.uk ([127.0.0.1]) by localhost (mailhost.graphdata.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y6KHfu5B34Ro; Fri, 8 Sep 2006 14:24:23 +0100 (BST) Received: from [192.168.0.86] (gdc083.internal.graphdata.co.uk [192.168.0.86]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id 869A8114026; Fri, 8 Sep 2006 14:24:23 +0100 (BST) Message-ID: <45016F07.1040000@goodforbusiness.co.uk> Date: Fri, 08 Sep 2006 14:24:23 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5.0.5 (X11/20060809) MIME-Version: 1.0 To: Vladimir Terziev References: <20060908100337.73c0c88d.vlady@gbservices.biz> In-Reply-To: <20060908100337.73c0c88d.vlady@gbservices.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 08 Sep 2006 14:01:51 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Mirroring the root disk of already installed machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 13:24:31 -0000 Vladimir Terziev wrote: > Hi hackers, > > i have a machine running FreeBSD 5.4 . It has 2 HDDs. Recently the non-root HDD failed and lost all the data on it. Since the machine is working 24/7 i want to mirror its root disk (this one with the OS on it) in order to prevent a severe downtime and data loss. > > Is there a safe way to do the above using gmirror ? Indeed! http://people.freebsd.org/~rse/mirror/ Dominic > Thanks in advance! > > Vlady > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 15:09:21 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95AFC16A4E0 for ; Fri, 8 Sep 2006 15:09:21 +0000 (UTC) (envelope-from chenxxxx@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8573443D45 for ; Fri, 8 Sep 2006 15:09:20 +0000 (GMT) (envelope-from chenxxxx@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so786219pye for ; Fri, 08 Sep 2006 08:09:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=szdwVR2m93lKpKjhrYmfdNHo8PL8q5g2Cw3PQY9d4ezwdLLqTrGBMxE0xxVMTxKfQHaN5o53QHIAe9fr7g6rJvgYUpkhne8HCSvY5h1+lfXvZzYdgo4rBHDha9bJkxOtVuhIbumE8N+OB3CYLm7fGeUreCspp/ECtRb2hRt9dko= Received: by 10.35.37.13 with SMTP id p13mr3080011pyj; Fri, 08 Sep 2006 08:09:19 -0700 (PDT) Received: from my-tomato ( [211.162.191.213]) by mx.gmail.com with ESMTP id 17sm2026556nzo.2006.09.08.08.09.17; Fri, 08 Sep 2006 08:09:18 -0700 (PDT) Date: Fri, 8 Sep 2006 23:09:21 +0800 From: "chenxxxx" To: "freebsd-hackers" Message-ID: <200609082309182657150@gmail.com> X-mailer: Foxmail 6, 5, 104, 21 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: integer divide fault while in kernel mode X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 15:09:21 -0000 Hello all i meet this ------------------ Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x20:0xc08100c3 stact pointer = 0x28:0xc1020b30 frame pointer = 0x28:0xc1020bb8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gra 1 processor eflags = interrupt enable, resume, IOPL = 0 current process = o (swapper) trap number = 18 panic: integer divide fault Uptime: 5s Cannot dump. No dump device defined. ------------------------------------------ then it restarts. how to solve it please? i'm a starter. chenxxxx 2006-09-08 From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 15:18:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBA6D16A4DF for ; Fri, 8 Sep 2006 15:18:46 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A0643D53 for ; Fri, 8 Sep 2006 15:18:43 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 253E5EB183F; Fri, 8 Sep 2006 23:18:42 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id FORkAUS7u+EM; Fri, 8 Sep 2006 23:18:40 +0800 (CST) Received: from [192.168.1.32] (unknown [221.221.169.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 82AF1EB17F4; Fri, 8 Sep 2006 23:18:39 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=XloBO5Uwyf+ZYwOHsMnsCiJ2mIKo51vQRmNuB1K6EFIYMGAAzqtFpH3ct3TV/HBC5 i05XnWmgA1OJWU6EWecrg== Message-ID: <450189C9.5010604@delphij.net> Date: Fri, 08 Sep 2006 23:18:33 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: chenxxxx References: <200609082309182657150@gmail.com> In-Reply-To: <200609082309182657150@gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig8BD72057A405C01647C3C02A" Cc: freebsd-hackers Subject: Re: integer divide fault while in kernel mode X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 15:18:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8BD72057A405C01647C3C02A Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable chenxxxx wrote: > Hello all > i meet this >=20 > ------------------ > Fatal trap 18: integer divide fault while in kernel mode=20 > instruction pointer =3D 0x20:0xc08100c3=20 > stact pointer =3D 0x28:0xc1020b30=20 > frame pointer =3D 0x28:0xc1020bb8=20 > code segment =3D base 0x0, limit 0xfffff, type 0x1b=20 > =3D DPL 0, pres 1, def32 1, gra 1=20 > processor eflags =3D interrupt enable, resume, IOPL =3D 0=20 > current process =3D o (swapper) =20 > trap number =3D 18=20 > panic: integer divide fault=20 > Uptime: 5s=20 > Cannot dump. No dump device defined. > ------------------------------------------ > then it restarts. >=20 > how to solve it please? > i'm a starter. Which version? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig8BD72057A405C01647C3C02A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAYnJOfuToMruuMARAxViAJ924bvVXEazAXRZbLncREUrIg0VlQCfWdGN jNfHHQo9V09h6eALKqDaWcg= =UbzH -----END PGP SIGNATURE----- --------------enig8BD72057A405C01647C3C02A-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 16:16:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98DB916A4DD for ; Fri, 8 Sep 2006 16:16:45 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD0B43D46 for ; Fri, 8 Sep 2006 16:16:45 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by wr-out-0506.google.com with SMTP id 68so200807wri for ; Fri, 08 Sep 2006 09:16:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CN42yq65yySQgruttXYzo53DC3cir17KPaZCMn8kVTiwtH3QUaOiJg6gIX1KT3+x3y8VNCdVO1naVolSSPHebCTxqfPbENFDi/JXTCQj3maekF564YidVAJ0WlB2rSxo+fs6WpmtpcwqjoDB7tNm4Lf6FLkDhBHSW4oj3NqGqpk= Received: by 10.90.113.20 with SMTP id l20mr876290agc; Fri, 08 Sep 2006 09:16:43 -0700 (PDT) Received: by 10.90.113.5 with HTTP; Fri, 8 Sep 2006 09:16:43 -0700 (PDT) Message-ID: <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> Date: Fri, 8 Sep 2006 17:16:43 +0100 From: "mal content" To: freebsd-hackers@freebsd.org In-Reply-To: <20060906192028.GA21278@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060906192028.GA21278@xor.obsecurity.org> Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 16:16:45 -0000 On 06/09/06, Kris Kennaway wrote: > On Wed, Sep 06, 2006 at 07:18:18PM +0000, Edward B. DREGER wrote: > > Greetings all, > > > > > > I'd been going nuts trying to determine why I couldn't link against > > "libdb-4.4.so" and a few other libraries. The ones in question didn't > > show up via > > > > ldconfig -r > > > > although their respective directories _were_ found. (Yes, I even ran > > "ldconfig -R" for good measure.) ldconfig seems to "skip" libraries not > > of the form > > > > m/.+\.so\.[0-9]+/ > > > > i.e., > > > > libfoo.so.1 > > > > is found, but > > > > libbar.so > > libsnuzzlycat.so.5.5 > > > > are not. > > > > Bug or feature? > > Feature. > > > Is this what I get for straying from ports/packages? > > ;-) > > Probably. > Some ports do seem to use this format: $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' libopenal.so.0.0.8 libportaudio.so.0.0.18 $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' libqt-mt.so.3.3 libqt-mt.so.3.3.5 libqui.so.1.0 libqui.so.1.0.0 Are you sure this format isn't legal? MC From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:28:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BA6716A4DE for ; Fri, 8 Sep 2006 17:28:27 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E952C43D66 for ; Fri, 8 Sep 2006 17:28:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9CA8D1A3C1C; Fri, 8 Sep 2006 10:28:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 95E53514F6; Fri, 8 Sep 2006 13:28:19 -0400 (EDT) Date: Fri, 8 Sep 2006 13:28:18 -0400 From: Kris Kennaway To: mal content Message-ID: <20060908172817.GA27387@xor.obsecurity.org> References: <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:28:27 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2006 at 05:16:43PM +0100, mal content wrote: > Some ports do seem to use this format: >=20 > $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' > libopenal.so.0.0.8 > libportaudio.so.0.0.18 > $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' > libqt-mt.so.3.3 > libqt-mt.so.3.3.5 > libqui.so.1.0 > libqui.so.1.0.0 Are they symlinks, or actual libraries? I bet the former. > Are you sure this format isn't legal? Quite :) If any ports are installing it, that's a bug too. Kris --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAagxWry0BWjoQKURAv/iAKCBV+/u6W9yYR9mTO+E4OHz3ifnxQCglny3 u9Vyw3SNa8dTzn7W5SNERq4= =hCCl -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:37:22 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D5B016A4DE for ; Fri, 8 Sep 2006 17:37:22 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7527543D60 for ; Fri, 8 Sep 2006 17:37:14 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by wr-out-0506.google.com with SMTP id 68so218969wri for ; Fri, 08 Sep 2006 10:37:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tCGEd64eJfpS4iafPj9pMYqcshEFF++SdKgyvorVbpaJCFmDCWAssgsQzhDmPWMLqyZOADED2yivKNyR5EW2fS8gmhGvtZ2pcXCvo7mjTjjK4AZzx8GxI7JKrAWjtiGwGiHYxRNpxzwrV8QCOr5aWe9yJry7Hiv0ABaOnuwop/0= Received: by 10.90.65.11 with SMTP id n11mr965653aga; Fri, 08 Sep 2006 10:37:13 -0700 (PDT) Received: by 10.90.113.5 with HTTP; Fri, 8 Sep 2006 10:37:13 -0700 (PDT) Message-ID: <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> Date: Fri, 8 Sep 2006 18:37:13 +0100 From: "mal content" To: "Kris Kennaway" In-Reply-To: <20060908172817.GA27387@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> <20060908172817.GA27387@xor.obsecurity.org> Cc: freebsd-hackers@freebsd.org Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:37:22 -0000 On 08/09/06, Kris Kennaway wrote: > On Fri, Sep 08, 2006 at 05:16:43PM +0100, mal content wrote: > > > Some ports do seem to use this format: > > > > $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' > > libopenal.so.0.0.8 > > libportaudio.so.0.0.18 > > $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' > > libqt-mt.so.3.3 > > libqt-mt.so.3.3.5 > > libqui.so.1.0 > > libqui.so.1.0.0 > > Are they symlinks, or actual libraries? I bet the former. In this particular case: libqt-mt.so.3.3 -> libqt-mt.so.3.3.5 libqui.so.1.0 -> libqui.so.1.0.0 Both libqt-mt.so.3.3.5 and libqui.so.1.0.0 are real libraries, as are libopenal.so.0.0.8 and libportaudio.so.0.0.18. > > > Are you sure this format isn't legal? > > Quite :) If any ports are installing it, that's a bug too. > Should I send a PR? cheers, MC From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:42:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6874E16A4DA for ; Fri, 8 Sep 2006 17:42:25 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0F4643D77 for ; Fri, 8 Sep 2006 17:42:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 19A6A1A3C1C; Fri, 8 Sep 2006 10:42:24 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F32F5514F6; Fri, 8 Sep 2006 13:42:21 -0400 (EDT) Date: Fri, 8 Sep 2006 13:42:21 -0400 From: Kris Kennaway To: mal content Message-ID: <20060908174221.GA27675@xor.obsecurity.org> References: <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> <20060908172817.GA27387@xor.obsecurity.org> <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org, Kris Kennaway Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:42:25 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2006 at 06:37:13PM +0100, mal content wrote: > On 08/09/06, Kris Kennaway wrote: > >On Fri, Sep 08, 2006 at 05:16:43PM +0100, mal content wrote: > > > >> Some ports do seem to use this format: > >> > >> $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' > >> libopenal.so.0.0.8 > >> libportaudio.so.0.0.18 > >> $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' > >> libqt-mt.so.3.3 > >> libqt-mt.so.3.3.5 > >> libqui.so.1.0 > >> libqui.so.1.0.0 > > > >Are they symlinks, or actual libraries? I bet the former. >=20 > In this particular case: >=20 > libqt-mt.so.3.3 -> libqt-mt.so.3.3.5 > libqui.so.1.0 -> libqui.so.1.0.0 >=20 > Both libqt-mt.so.3.3.5 and libqui.so.1.0.0 are real libraries, > as are libopenal.so.0.0.8 and libportaudio.so.0.0.18. >=20 > > > >> Are you sure this format isn't legal? > > > >Quite :) If any ports are installing it, that's a bug too. > > >=20 > Should I send a PR? I don't see the libopenal file you claim: > ls -l /usr/local/lib/libopenal* -rw-r--r-- 1 root wheel 369960 Aug 31 14:14 /usr/local/lib/libopenal.a -rwxr-xr-x 1 root wheel 831 Aug 31 14:14 /usr/local/lib/libopenal.la lrwxr-xr-x 1 root wheel 14 Aug 31 14:14 /usr/local/lib/libopenal.so = -> libopenal.so.0 -rwxr-xr-x 1 root wheel 292656 Aug 31 14:14 /usr/local/lib/libopenal.so.0 And the other is also OK because: > ls -l /usr/local/lib/libportau* -rw-r--r-- 1 root wheel 26328 Oct 11 2005 /usr/local/lib/libportaudio.a lrwxr-xr-x 1 root wheel 22 Oct 11 2005 /usr/local/lib/libportaudio.s= o -> libportaudio.so.0.0.18 lrwxr-xr-x 1 root wheel 15 Oct 11 2005 /usr/local/lib/libportaudio.s= o.0 -> libportaudio.so -rw-r--r-- 1 root wheel 28236 Oct 11 2005 /usr/local/lib/libportaudio.s= o.0.0.18 i.e. the .so.0 points to the valid library. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAat9Wry0BWjoQKURAiFeAJ4vnLv5QGswYivejQMV4KHfkpTYmgCfdhYl jJi2F3rqGK3mvtARTzQhwk4= =sRkL -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:52:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7615616A4DD for ; Fri, 8 Sep 2006 17:52:03 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B0D43D6E for ; Fri, 8 Sep 2006 17:51:58 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr11.xs4all.nl (8.13.6/8.13.6) with ESMTP id k88Hpt3J012545; Fri, 8 Sep 2006 19:51:55 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k88HptIv097775; Fri, 8 Sep 2006 19:51:55 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k88Hpsah097774; Fri, 8 Sep 2006 19:51:54 +0200 (CEST) (envelope-from wb) Date: Fri, 8 Sep 2006 19:51:54 +0200 From: Wilko Bulte To: Mike Meyer Message-ID: <20060908175154.GB97648@freebie.xs4all.nl> References: <20060908100337.73c0c88d.vlady@gbservices.biz> <17665.28700.948624.425733@bhuda.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17665.28700.948624.425733@bhuda.mired.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Vladimir Terziev , freebsd-hackers@freebsd.org Subject: Re: Mirroring the root disk of already installed machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:52:03 -0000 On Fri, Sep 08, 2006 at 09:29:00AM -0400, Mike Meyer wrote.. > In <20060908100337.73c0c88d.vlady@gbservices.biz>, Vladimir Terziev typed: > > i have a machine running FreeBSD 5.4 . It has 2 HDDs. Recently the non-root HDD failed and lost all the data on it. Since the machine is working 24/7 i want to mirror its root disk (this one with the OS on it) in order to prevent a severe downtime and data loss. > > > > Is there a safe way to do the above using gmirror ? > > Yes. I started doing it on FreeBSD 5.5. It's pretty simple: shut down > to single user. Create a mirror with your root disk in it. Edit > /etc/hosts to change the device name from ad* to /etc/fstab > mirror/*. Reboot. Once you're back up, add the second disk to the > mirror. If you want exact instructions, consult google. The tricky > part is creating the initial mirror on a mounted file system - you > have to toggle a sysctl (I think that's what it was) to do that. Some > directions include that; others recommend you boot on a recovery CD to > create the mirror initially. > > BTW, this probably should have gone to -questions. > > -- > Mike Meyer http://www.mired.org/consulting.html > Independent Network/Unix/Perforce consultant, email for more information. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --- end of quoted text --- -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:55:56 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A130116A4DE for ; Fri, 8 Sep 2006 17:55:56 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADAB943D70 for ; Fri, 8 Sep 2006 17:55:42 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by wr-out-0506.google.com with SMTP id 68so222141wri for ; Fri, 08 Sep 2006 10:55:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gBV1L0bkzgqVaN7JhdnSBVdlgP5w4ET9TSDn/SDUzFXc2qnTtfyfi2wjGvZN3BbTruoMIWW0VMOCb1Y+Yb0SVJK5AEFTEv2COvUoENKOuji8RidPLB5/qynRirJkpa3lWF/gB/t6uL5RNmhlmSQNOAKorHBTr2bgJ0Z6xAGOv0A= Received: by 10.90.84.17 with SMTP id h17mr991121agb; Fri, 08 Sep 2006 10:55:41 -0700 (PDT) Received: by 10.90.113.5 with HTTP; Fri, 8 Sep 2006 10:55:41 -0700 (PDT) Message-ID: <8e96a0b90609081055o72f65838xea401b23dc34fdc5@mail.gmail.com> Date: Fri, 8 Sep 2006 18:55:41 +0100 From: "mal content" To: "Kris Kennaway" In-Reply-To: <20060908174221.GA27675@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> <20060908172817.GA27387@xor.obsecurity.org> <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> <20060908174221.GA27675@xor.obsecurity.org> Cc: freebsd-hackers@freebsd.org Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:55:56 -0000 On 08/09/06, Kris Kennaway wrote: > > I don't see the libopenal file you claim: > > > ls -l /usr/local/lib/libopenal* > -rw-r--r-- 1 root wheel 369960 Aug 31 14:14 /usr/local/lib/libopenal.a > -rwxr-xr-x 1 root wheel 831 Aug 31 14:14 /usr/local/lib/libopenal.la > lrwxr-xr-x 1 root wheel 14 Aug 31 14:14 /usr/local/lib/libopenal.so -> libopenal.so.0 > -rwxr-xr-x 1 root wheel 292656 Aug 31 14:14 /usr/local/lib/libopenal.so.0 Ok, it looks like that one has been updated, as yours are dated August and mine are dated March (I'm probably behind as I use quite a few binary packages): -rw-r--r-- 1 root wheel 25584 15 Mar 18:23 /usr/local/lib/libportaudio.a lrwxr-xr-x 1 root wheel 22 15 Mar 18:23 /usr/local/lib/libportaudio.so -> libportaudio.so.0.0.18 lrwxr-xr-x 1 root wheel 15 15 Mar 18:23 /usr/local/lib/libportaudio.so.0 -> libportaudio.so -rw-r--r-- 1 root wheel 27612 15 Mar 18:23 /usr/local/lib/libportaudio.so.0.0.18 The other is fine, as you said: -rwxr-xr-x 1 root wheel 322436 15 Mar 23:40 /usr/local/lib/libopenal.a lrwxr-xr-x 1 root wheel 18 15 Mar 23:40 /usr/local/lib/libopenal.so -> libopenal.so.0.0.8 lrwxr-xr-x 1 root wheel 18 15 Mar 23:40 /usr/local/lib/libopenal.so.0 -> libopenal.so.0.0.8 -rwxr-xr-x 1 root wheel 242789 15 Mar 23:40 /usr/local/lib/libopenal.so.0.0.8 The others just look strange to me, but are probably valid after all (if partly redundant): -rw-r--r-- 1 root wheel 792 18 Mar 02:10 /usr/X11R6/lib/libqt-mt.prl lrwxr-xr-x 1 root wheel 17 18 Mar 02:10 /usr/X11R6/lib/libqt-mt.so -> libqt-mt.so.3.3.5 lrwxr-xr-x 1 root wheel 17 18 Mar 02:10 /usr/X11R6/lib/libqt-mt.so.3 -> libqt-mt.so.3.3.5 lrwxr-xr-x 1 root wheel 17 18 Mar 02:10 /usr/X11R6/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.5 -rwxr-xr-x 1 root wheel 8125192 18 Mar 02:10 /usr/X11R6/lib/libqt-mt.so.3.3.5 -rw-r--r-- 1 root wheel 680 18 Mar 02:11 /usr/X11R6/lib/libqui.prl lrwxr-xr-x 1 root wheel 15 18 Mar 02:11 /usr/X11R6/lib/libqui.so -> libqui.so.1.0.0 lrwxr-xr-x 1 root wheel 15 18 Mar 02:11 /usr/X11R6/lib/libqui.so.1 -> libqui.so.1.0.0 lrwxr-xr-x 1 root wheel 15 18 Mar 02:11 /usr/X11R6/lib/libqui.so.1.0 -> libqui.so.1.0.0 -rwxr-xr-x 1 root wheel 236365 18 Mar 02:11 /usr/X11R6/lib/libqui.so.1.0.0 cheers, MC From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 20:18:06 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1098616A40F for ; Fri, 8 Sep 2006 20:18:06 +0000 (UTC) (envelope-from John.Giacomoni@colorado.edu) Received: from serl.cs.colorado.edu (serl.cs.colorado.edu [128.138.207.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCEE843D45 for ; Fri, 8 Sep 2006 20:18:05 +0000 (GMT) (envelope-from John.Giacomoni@colorado.edu) Received: from [IPv6???1] (localhost [127.0.0.1]) by serl.cs.colorado.edu (Postfix) with ESMTP id 87B1B9335CE for ; Fri, 8 Sep 2006 14:18:01 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.2) To: freebsd-hackers@freebsd.org Message-Id: <57213DB3-3D5A-4B11-AB29-5696DC4B3AC2@colorado.edu> Content-Type: multipart/mixed; boundary=Apple-Mail-5--949142540 From: John Giacomoni Date: Fri, 8 Sep 2006 14:18:03 -0600 X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pin/bind a pthread to a processor? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 20:18:06 -0000 --Apple-Mail-5--949142540 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Is it possible to bind a pthread to a processor in 5.5 or 6.1? I currently have a code base that uses libpthread with multiple threads, mutexes and condition variables. The problem I'm having is that I seem to be suffering wall-clock timing aberrations that I believe are introduced by the scheduler. Thanks, John G -- John.Giacomoni@colorado.edu University of Colorado at Boulder Department of Computer Science Engineering Center, ECCR 1B50 430 UCB Boulder, CO 80303-0430 USA --Apple-Mail-5--949142540 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-5--949142540-- From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 00:33:22 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 74B4416A412; Sat, 9 Sep 2006 00:33:22 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-hackers@freebsd.org Date: Sat, 9 Sep 2006 08:33:14 +0800 User-Agent: KMail/1.8.2 References: <57213DB3-3D5A-4B11-AB29-5696DC4B3AC2@colorado.edu> In-Reply-To: <57213DB3-3D5A-4B11-AB29-5696DC4B3AC2@colorado.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609090833.14856.davidxu@freebsd.org> Cc: John Giacomoni Subject: Re: pin/bind a pthread to a processor? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 00:33:22 -0000 On Saturday 09 September 2006 04:18, John Giacomoni wrote: > Is it possible to bind a pthread to a processor in 5.5 or 6.1? > > I currently have a code base that uses libpthread with multiple > threads, mutexes and condition variables. > The problem I'm having is that I seem to be suffering wall-clock > timing aberrations that I believe are introduced by the scheduler. > > Thanks, > > John G > > -- > > John.Giacomoni@colorado.edu > University of Colorado at Boulder > Department of Computer Science > Engineering Center, ECCR 1B50 > 430 UCB > Boulder, CO 80303-0430 > USA I don't think we have such API allowing you to bind a thread to a specific CPU, I had implemented such an API for DragonFlyBSD, but its 1:1 threading is not mature yet. David Xu From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 02:27:27 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49FB916A40F; Sat, 9 Sep 2006 02:27:27 +0000 (UTC) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF5C43D45; Sat, 9 Sep 2006 02:27:25 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost ([211.3.217.199]) by t-mta7.odn.ne.jp with ESMTP id <20060909022721982.XPMW.402072.t-mta7.odn.ne.jp@mta7.odn.ne.jp>; Sat, 9 Sep 2006 11:27:21 +0900 Date: Sat, 09 Sep 2006 11:27:21 +0900 (JST) Message-Id: <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Mailer: Mew version 3.3 on XEmacs 21.4.19 (Constant Variable) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 09 Sep 2006 03:10:32 +0000 Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org, kazuhito@ph.noda.tus.ac.jp Subject: Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 02:27:27 -0000 Hello, The subject of my previous mail includes `***SPAM***'. My spam filter struck this tag. I'll resend this mail since none read my previous mail. > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > If we would rewrite this code to something more basic, let's say we > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > variables: > > > > | if (x >= 10 && x <= 20) { > > | ... > > | } else if (x < 10) { > > | ... > > | } else if (x < 20) { > > | ... > > | } > > In this example, UA_SAMP_ macros are exchanged to some constants. But UA_SAMP_ macros don't have any predefined constants. uaudio.c is a general driver for USB audio devices. Each USB audio device has peculiar sampling rates. They are different from those of another device. UA_SAMP_macros give the peculiar sampling rates. They can't be exchanged to some constants. From: Alexander Leidinger Subject: Re: Oddity in snd_uaudio(4) driver? Date: Thu, 07 Sep 2006 14:27:44 +0200 > I assume the last part is a > typo in the uaudio code and should be a '>' instead of a '<': That's right. Sincerely yours Kazuhito HONDA From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 15:02:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65B8A16A403 for ; Sat, 9 Sep 2006 15:02:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA27E43D76 for ; Sat, 9 Sep 2006 15:02:39 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id D84AC46BC1; Sat, 9 Sep 2006 11:02:38 -0400 (EDT) Date: Sat, 9 Sep 2006 16:02:38 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: <44FF54EF.9030806@elischer.org> Message-ID: <20060909155624.G87517@fledge.watson.org> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> <44FF54EF.9030806@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Eder Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 15:02:45 -0000 On Wed, 6 Sep 2006, Julian Elischer wrote: > Eder wrote: > >> Kernel of the FreeBSD is monolithic, correct !!! >> >> The MacOS is derived from kernel of the FreeBSD, correct !!! > > no, wrong. > > The MacOS kernel is "related distantly" to the FreeBSD kernel. It has been > derived from MACH 3 and MACH 2.5 which themselves had SOME components > derived from BSD4.3. Some of these components have been updated to the > equivalent companents from modern BSD systems and BSD4.4 in turn borrowed > the VM system from MACH. So, they are related but not in a parent/child > manner. MacOS has been designed and evolved with a very different set of > goals from FreeBSD, so many different tradeoffs have been made along the > way. They have very different behaviour characteristics. That's only partially true. The BSD bits in the Mac OS X kernel have been updated to FreeBSD parts on several occasions, although the last complete import was quite some time ago, and moderate amounts of code from quite recent FreeBSD versions have been merged, including kqueue support, smbfs, etc. The VM and scheduler are from Mach, but the VFS, network stack, etc, are FreeBSD-derived. There has been significant divergent and convergent evolution -- the FreeBSD kernel snapshot imported into Mac OS X was pre-SMPng, so while there is significant similarity in the fine-grained locking, that's largely convergence due to similar data structures -- most of the details are different. There are a number of reasons why Mac OS X may appear to perform worse than FreeBSD, especially for server-centric tasks -- among other things, a complete context switch occurs going to/from the kernel so that the kernel has a complete address space to work with. On the other hand, the Mac OS X IPC and windowing system perform much better than X Windows in many cases, and they've invested heavily in file system performance, especially for workloads found on desktop computers. The behavior of applications likeKDE ends up being remarkably silly on UNIX-based operating systems, whereas applications like Finder in Mac OS X can behave much better -- from simple things like getattrlist(), to complex things like having congruence in the file system architecture vertically through the OS and application stack. Also, the FreeBSD bar is pretty high, so it's not surprising if for workloads FreeBSD has been designed for, it makes Mac OS X seem a bit less happy. Robert N M Watson Computer Laboratory University of Cambridge > >> >> It would like to understand because the performance of a MacOS as serving >> it is very inferior of what a FreeBSD server, being that the MacOS is >> derived >> from kernel of the FreeBSD. >> >> It will be that somebody could explain this better to me. >> >> Thanks, >> >> Ederson de Moura > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 15:04:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D71C16A40F for ; Sat, 9 Sep 2006 15:04:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1249B43D5A for ; Sat, 9 Sep 2006 15:04:52 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id A935646C7C; Sat, 9 Sep 2006 11:04:51 -0400 (EDT) Date: Sat, 9 Sep 2006 16:04:51 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Erik Trulsson In-Reply-To: <20060906233245.GA23592@owl.midgard.homeip.net> Message-ID: <20060909160249.F87517@fledge.watson.org> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> <20060906233245.GA23592@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Eder Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 15:04:57 -0000 On Thu, 7 Sep 2006, Erik Trulsson wrote: > On Wed, Sep 06, 2006 at 07:20:39PM -0300, Eder wrote: >> A doubt, >> >> Kernel of the FreeBSD is monolithic, correct !!! > > Correct. > >> The MacOS is derived from kernel of the FreeBSD, correct !!! > > Incorrect. The kernel of MacOS X is mainly derived from the Mach kernel, > not from FreeBSD. I believe it also contains much code from various > BSD-derivatives (including FreeBSD) but the basic design is that of Mach > rather than that of BSD. I think that is a poor characterization. The vast majority of code in the Mac OS X kernel is device driver code in IOKit, which is from neither BSD nor Mach. Mach provides the VM and IPC, but it's hrad to argue that the architecture of the Mac OS X is the Mach architecture, because it's not a micro-kernel , and the kernel does not aspire to be one. The major visible/complex services in the kernel, both file system and network stack, are very BSD, and are directly derived from FreeBSD. I think it's reasonable to argue that Mac OS X is significantly influenced, both in architecture and code, by both Mach and BSD, but pretty inaccurate to state that it adopts one architecture over the other -- it really adopts both. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 15:14:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62AAB16A416 for ; Sat, 9 Sep 2006 15:14:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BC643D49 for ; Sat, 9 Sep 2006 15:14:15 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id A6D1746BC1; Sat, 9 Sep 2006 11:14:14 -0400 (EDT) Date: Sat, 9 Sep 2006 16:14:14 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Mike Meyer In-Reply-To: <17663.23716.86762.794346@bhuda.mired.org> Message-ID: <20060909160627.S87517@fledge.watson.org> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> <17663.23716.86762.794346@bhuda.mired.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Eder Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 15:14:16 -0000 On Wed, 6 Sep 2006, Mike Meyer wrote: > In <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com>, Eder typed: >> A doubt, >> >> Kernel of the FreeBSD is monolithic, correct !!! > > Correct. > >> The MacOS is derived from kernel of the FreeBSD, correct !!! > > Not correct. The MacOS kernel is derived from Mach, not FreeBSD. > > The MacOS userland is mostly derived from FreeBSD, but includes tools from > the other BSDs, and the current direction is to mimic the Linux userland > (i.e. /bin/sh is bash). http://fxr.watson.org/fxr/source/?v=xnu-792.6.70 I can't help but wonder: has anyone participating in this thread read any of the XNU source code other than me? Take a look at two subtrees in particular: bsd/ FreeBSD-derived kernel BSD subsystem, including network stack and VFS osfmk/ Mach-derived VM, scheduler The current BSD code in Darwin differs significantly from current FreeBSD, but clearly has similar roots. You'll even find Julian's devfs. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 14:43:26 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A00516A407; Sat, 9 Sep 2006 14:43:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95DF843D46; Sat, 9 Sep 2006 14:43:25 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EA70.dip.t-dialin.net [84.165.234.112]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k89EM7qY072470; Sat, 9 Sep 2006 16:22:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k89EhInj056648; Sat, 9 Sep 2006 16:43:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 9 Sep 2006 16:43:36 +0200 From: Alexander Leidinger To: Kazuhito HONDA Message-ID: <20060909164336.7b2b8071@Magellan.Leidinger.net> In-Reply-To: <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Mailman-Approved-At: Sat, 09 Sep 2006 16:01:00 +0000 Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org Subject: Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 14:43:26 -0000 Quoting Kazuhito HONDA (Sat, 09 Sep 2006 11:27:21 +0900 (JST)): > Hello, > > The subject of my previous mail includes `***SPAM***'. > My spam filter struck this tag. > I'll resend this mail since none read my previous mail. Oh... I did read it. :-) > > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > > > If we would rewrite this code to something more basic, let's say we > > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > > variables: > > > > > > | if (x >= 10 && x <= 20) { > > > | ... > > > | } else if (x < 10) { > > > | ... > > > | } else if (x < 20) { > > > | ... > > > | } > > > > > In this example, UA_SAMP_ macros are exchanged to some constants. > But UA_SAMP_ macros don't have any predefined constants. He only simplified this to make it more easy to read. He didn't intended to change it this way. > From: Alexander Leidinger > Subject: Re: Oddity in snd_uaudio(4) driver? > Date: Thu, 07 Sep 2006 14:27:44 +0200 > > > I assume the last part is a > > typo in the uaudio code and should be a '>' instead of a '<': > > That's right. Fix committed. Bye, Alexander. -- Famous Original Ray's Superior Court http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 22:15:33 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17CB216A47E; Sat, 9 Sep 2006 22:15:33 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id B71A343D5C; Sat, 9 Sep 2006 22:15:29 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [213.87.86.61] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GMB6i-0004HW-FX; Sun, 10 Sep 2006 02:15:27 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 211BF114D1; Sun, 10 Sep 2006 02:14:38 +0400 (MSD) Date: Sun, 10 Sep 2006 02:14:33 +0400 From: Stanislav Sedov To: Robert Watson Message-ID: <20060910021433.62e183f7@localhost> In-Reply-To: <20060909160249.F87517@fledge.watson.org> References: <2699850609061520wad7f0f2s7b402fb7789336ff@mail.gmail.com> <20060906233245.GA23592@owl.midgard.homeip.net> <20060909160249.F87517@fledge.watson.org> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_WPobGFkkrk7M_i_++LqWJ_="; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: Eder , freebsd-hackers@freebsd.org Subject: Re: The nature of kernel of the FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 22:15:33 -0000 --Sig_WPobGFkkrk7M_i_++LqWJ_= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sat, 9 Sep 2006 16:04:51 +0100 (BST) Robert Watson mentioned: >=20 > I think that is a poor characterization. The vast majority of code in th= e Mac=20 > OS X kernel is device driver code in IOKit, which is from neither BSD nor= =20 > Mach. Mach provides the VM and IPC, but it's hrad to argue that the=20 > architecture of the Mac OS X is the Mach architecture, because it's not a= =20 > micro-kernel , and the kernel does not aspire to be one. The major=20 > visible/complex services in the kernel, both file system and network stac= k,=20 > are very BSD, and are directly derived from FreeBSD. I think it's reason= able=20 > to argue that Mac OS X is significantly influenced, both in architecture = and=20 > code, by both Mach and BSD, but pretty inaccurate to state that it adopts= one=20 > architecture over the other -- it really adopts both. Actually, they're using OSF/1 architecture with fully monolitic kernel. As you might know, OSF finally ended up with monolitic kernel, replacing MACH ipc calls by stubs generated with MIG (mach interface generator). They've posed, that they can divide kernel logically this way, while not introducing context switching pitfalls. Actually, their kernel was much slower than BSD (due to MACH design defects). XNU followed this architecure. They just added IOKit, rewrote VM system and added new code derived from FreeBSD. By rewriting VM and fixing some issues they achieved satisfactory performance. Though, their kernel isn't logically clear like OSF/1, it's very complicated like spaghetti, and often violate MACH IPC interface by calling some functions directly or modifying MACH ker= nel global variables. In fact, XNU differs from FreeBSD 4 mainly in VM subsystem. I didn't used MacOS X much, but I don't know how it can be faster then X11,= =20 since Cocoa uses MACH FASTIPC calls, introduced by Apple, heavily. At least I believe 2d stuff (not Xrender) is much faster in X11, since it's highly optimized, and X11 uses direct access to hardware to utilize hardware acceleration. Xrender might be slower, since it often falls back to software rendering (that's why recent gtk versions are so slow). Also, Cocoa might operate faster due to good 3d/2d drives availabilty. At least, ATI opensource dri driver is known to perform 2-3 times slower than even Windows one. =20 --=20 Stanislav Sedov MBSD labs, Inc. =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --Sig_WPobGFkkrk7M_i_++LqWJ_= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFAzzNK/VZk+smlYERAlzwAJ9yva3WXxGxYXFTyjDlQPT6n7EKKACdFW0j gu1YdWnQxPOJ6M98HodPCTY= =JUON -----END PGP SIGNATURE----- --Sig_WPobGFkkrk7M_i_++LqWJ_=--