From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 19 23:51:52 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E2E16A474 for ; Sat, 19 Jan 2008 23:51:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id DA81A13C474 for ; Sat, 19 Jan 2008 23:51:51 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0JNppsp067779; Sat, 19 Jan 2008 15:51:51 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0JNppQ5067776; Sat, 19 Jan 2008 15:51:51 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Sat, 19 Jan 2008 15:51:51 -0800 Message-ID: <1200786711.47928d174c297@webmail.rawbw.com> Date: Sat, 19 Jan 2008 15:51:51 -0800 From: Yuri To: Doug Barton References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> In-Reply-To: <47921F6E.8020806@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 X-Mailman-Approved-At: Sun, 20 Jan 2008 00:15:34 +0000 Cc: freebsd-hackers@FreeBSD.org Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 19 Jan 2008 23:51:52 -0000 > Would the dvds in question happen to be Sony movies? If so a web search > might be useful to you. Actually yes, both failing titles are Sony movies. So I guess authentication wasn't done properly by libdvdcss for it. I guess message during authentication might also be related: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x6f ascq=0x04 Yuri From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 19 23:59:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19D8F16A421 for ; Sat, 19 Jan 2008 23:59:42 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 027BE13C465 for ; Sat, 19 Jan 2008 23:59:41 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0JNxbUQ069900; Sat, 19 Jan 2008 15:59:37 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0JNxbpo069899; Sat, 19 Jan 2008 15:59:37 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Sat, 19 Jan 2008 15:59:37 -0800 Message-ID: <1200787177.47928ee91ba07@webmail.rawbw.com> Date: Sat, 19 Jan 2008 15:59:37 -0800 From: Yuri To: Joshua Isom References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 X-Mailman-Approved-At: Sun, 20 Jan 2008 02:48:52 +0000 Cc: freebsd-hackers@freebsd.org, Doug Barton Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 19 Jan 2008 23:59:42 -0000 Quoting Joshua Isom : > Not only that, but do you actually see a DVD logo? Disney movies use > Disney DVD which is incompatible with the DVD specification. So Sony and Disney movies don't comply with DVD standard. But interestingly my DVD player from 1998 plays all of them just fine. So do all makers of DVD equipment also have to consult with Sony/Disney/whoever else? This is quite messy... Yuri From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 03:27:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AD5A16A417 for ; Sun, 20 Jan 2008 03:27:21 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 032F213C45B for ; Sun, 20 Jan 2008 03:27:20 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2774336waf.3 for ; Sat, 19 Jan 2008 19:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=iqpkvsIG39wDnOJWxxSorLxIWr0K6S8UhthOwXAJVHg=; b=rg4+DaHdT3SxGgBg3GUAY/49/xLyHgT8aB9G5sjq5iyjDoeR1CgcBZilC2IChmybeX4T14XF8jGeNXCRMreWbp0Ocihi+YJ9mwPXtOOsFQBAzWj+BzrqZplqgy5fG/GXNlVmICEvHkFBXR4cFyqaloRugJvO87eRN70ZYGBBQYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HN3w3Vj5nRszJCPxAYfkFNmA5oUx1boNX42hJd4s7HcUYJh45dLqzAEGsb3TY8+KJuGAf9+xVS7QVOAgJHcHmY7vt+0q7vJEmURxg6o/VP0XUdB2admes/1vVqWdfEWfXGWDRTaTViiRQCgyKCj1dCGxdqPIwbMTNdoCQxS5Ips= Received: by 10.142.201.3 with SMTP id y3mr2775420wff.120.1200798112432; Sat, 19 Jan 2008 19:01:52 -0800 (PST) Received: by 10.142.115.18 with HTTP; Sat, 19 Jan 2008 19:01:52 -0800 (PST) Message-ID: <319cceca0801191901o47ee6c99w7a8a0fde7dfc052c@mail.gmail.com> Date: Sun, 20 Jan 2008 03:01:52 +0000 From: Maslan To: Yuri In-Reply-To: <1200679902.4790ebdee1975@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1200679902.4790ebdee1975@webmail.rawbw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 20 Jan 2008 03:27:21 -0000 Hi, I got some errors like this when trying to burn a data cd/dvd. I've filled a PR : http://www.freebsd.org/cgi/query-pr.cgi?pr=119374 Machine: HP Pavilion dv6000 CD/DVD: DVDR wrote: > I tried to make a backup copy of one DVD that I own and 'dvdbackup' > always fails at a particular point. > > Running it under 'truss' I discovered that particular > 'read' operation always fails after successfully reading hundreds of MB. > > Doesn't seem to be specific to a particular DVD drive. > Out of curiosity I ordered another copy of the same DVD and it failed > in the same manner. > > Log of the relevant kernel calls: > open("/dev/acd0",O_RDONLY,05010132000) = 3 (0x3) > > > lseek(3,0x132cd800,SEEK_SET) = 321705984 (0x132cd800) > read(3,"\0\0\^A\M-:D\0\^D\0\^D\^A\^A\M^I"...,1048576) = 1048576 (0x100000) > > read(3,0x28300000,1048576) ERR#5 'Input/output error' > > And dmesg simultaneously gets these messages: > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > > So for some reason failure occurs at ~495 MB offset on the disk. > > I believe this issue is not 7.0 related since I saw it happening in 6.X > before. Also some other particular titles always have the same problem > while most titles work ok. > > Is this a known issue? > > Yuri > _______________________________________________ > 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" > -- System Programmer -- I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) -- http://libosdk.berlios.de From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 00:56:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6BE716A41A for ; Sun, 20 Jan 2008 00:56:51 +0000 (UTC) (envelope-from hsu@wlansystems.com) Received: from mail.bbnetworks.net (mail.bbnetworks.net [212.16.96.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1687513C45B for ; Sun, 20 Jan 2008 00:56:50 +0000 (UTC) (envelope-from hsu@wlansystems.com) Received: from hsu.bbnetworks.net (hsu.bbnetworks.net [212.16.96.38]) by mail.bbnetworks.net (8.13.4/8.13.4) with ESMTP id m0K0NvVT079710; Sun, 20 Jan 2008 02:23:58 +0200 (EET) (envelope-from hsu@wlansystems.com) Message-ID: <479296CA.8000700@wlansystems.com> Date: Sun, 20 Jan 2008 02:33:14 +0200 From: Heikki Suonsivu User-Agent: Thunderbird 2.0.0.4 (X11/20070622) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: multipart/mixed; boundary="------------070307080101080101000206" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mail.bbnetworks.net [212.16.96.5]); Sun, 20 Jan 2008 02:23:58 +0200 (EET) X-Mailman-Approved-At: Sun, 20 Jan 2008 04:58:42 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD on non-fpu device 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, 20 Jan 2008 00:56:51 -0000 This is a multi-part message in MIME format. --------------070307080101080101000206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit There is very low cost microscopic PC (see eBOX 2300 and eBOX 2300SX www.compactpc.com.tw), which previously run FreeBSD fine, being based on Vortex86 cpu on Sis SoC chip 550. Unfortunately the manufacturer switched to a new SoC cpu which is 486SX derivative without FPU. This does not work with FreeBSD. Why anyone would be interested? The eBOX 2300SX cpu is a SoC device, which is by far the lowest power consumption I have seen, and this is probably cheapest computer on the market, still suitable for number of applications. While it is not exactly a speed daemon, it works well enough for all kinds of mp3-playing, small servers and control applications. Linux is known to work but also requires extra drivers and possibly some patches, and apparently most current distributions do not have math emulation on by default. FreeBSD 4.11 install CD does boot on this thing, and might work, but failed to detect neither the ethernet nor external USB DVD drive I was using for install, so I would not go forward on actually getting the OS to the hard disk. Now, I was wondering if FreeBSD could be actually run on these things, by compiling the kernel and world with -msoft-float CFLAGS on another computer? This might work iff: - there is no assembly code utilizing fpu instructions. - there is nothing in the world requiring some other compilers than gcc, or compilers without -msoft-float option. However, I am under assumption that all the world is compiled with gcc? It may be necessary to change calling conventions as well, that might break other other things. - Possibly -mno-fp-ret-in-387 may be needed - any experiences? Now, has anyone ever tried this? Is this hopeless? What goes wrong? Alternatively, porting MATH_EMULATE back from NetBSD etc might be an option, but might be a larger task, and apparently NetBSD math emulation did not work out of box either (seems to be a cpu detection bug, based on mailing list discussions). There are other issues with the device, drivers etc, but that is less problematic. We can donate hardware to someone who wants to have a go on getting this device running FreeBSD. Heikki Suonsivu bbnetworks.net --------------070307080101080101000206-- From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 10:38:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED0DC16A41B for ; Sun, 20 Jan 2008 10:38:07 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 752FD13C45A for ; Sun, 20 Jan 2008 10:38:06 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m0KAc2cC025993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Jan 2008 21:38:04 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m0KAc2l2002077; Sun, 20 Jan 2008 21:38:02 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m0KAc2Ac002076; Sun, 20 Jan 2008 21:38:02 +1100 (EST) (envelope-from peter) Date: Sun, 20 Jan 2008 21:38:02 +1100 From: Peter Jeremy To: Heikki Suonsivu Message-ID: <20080120103801.GP1466@server.vk2pj.dyndns.org> References: <479296CA.8000700@wlansystems.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jousvV0MzM2p6OtC" Content-Disposition: inline In-Reply-To: <479296CA.8000700@wlansystems.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD on non-fpu device 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, 20 Jan 2008 10:38:08 -0000 --jousvV0MzM2p6OtC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 20, 2008 at 02:33:14AM +0200, Heikki Suonsivu wrote: >Why anyone would be interested? The eBOX 2300SX cpu is a SoC device, whic= h=20 >is by far the lowest power consumption I have seen, and this is probably= =20 >cheapest computer on the market, still suitable for number of applications= =2E=20 > While it is not exactly a speed daemon, it works well enough for all kind= s=20 >of mp3-playing, small servers and control applications. I very much doubt MP3 playing is going to work without an FPU. The 2300SX specifications are badly mangled by the website but appear to suggest that it needs 5V@3A - this is not especially low power and you should be able to find alternatives. Check out www.pcengines.ch and www.ewayco.com [I haven't used either of these manufacturers but have found them in searches]. >Alternatively, porting MATH_EMULATE back from NetBSD etc might be an=20 >option, but might be a larger task, and apparently NetBSD math emulation= =20 >did not work out of box either (seems to be a cpu detection bug, based on= =20 >mailing list discussions). FreeBSD used to support both MATH_EMULATE and GPL_MATH_EMULATE. Support was removed in July 2003 but the bits are still in the CVS repository. I don't know how much effort would be involved in resurrecting it. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --jousvV0MzM2p6OtC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHkySJ/opHv/APuIcRArKyAJ0fVtw7txLsYBkYhTdu3LKIOoSpTQCeJnng PwJwE4uAXuhkqzjMSwYd85s= =G8oq -----END PGP SIGNATURE----- --jousvV0MzM2p6OtC-- From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 14:12:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7AB916A419 for ; Sun, 20 Jan 2008 14:12:12 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 75CFB13C455 for ; Sun, 20 Jan 2008 14:12:12 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix1-g20.free.fr (Postfix) with ESMTP id 2700421980CA for ; Sun, 20 Jan 2008 14:42:13 +0100 (CET) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 92B7A3EA107 for ; Sun, 20 Jan 2008 14:42:11 +0100 (CET) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 635583EA119 for ; Sun, 20 Jan 2008 14:42:11 +0100 (CET) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.0/8.14.0) with ESMTP id m0KDg9cZ005512 for ; Sun, 20 Jan 2008 14:42:10 +0100 (CET) From: Thierry Herbelot To: freebsd-hackers@freebsd.org Date: Sun, 20 Jan 2008 14:42:02 +0100 User-Agent: KMail/1.9.7 References: <479296CA.8000700@wlansystems.com> <20080120103801.GP1466@server.vk2pj.dyndns.org> In-Reply-To: <20080120103801.GP1466@server.vk2pj.dyndns.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200801201442.03152.thierry@herbelot.com> X-Mailman-Approved-At: Sun, 20 Jan 2008 14:14:29 +0000 Subject: Re: FreeBSD on non-fpu device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 14:12:12 -0000 Le Sunday 20 January 2008, Peter Jeremy a écrit : > On Sun, Jan 20, 2008 at 02:33:14AM +0200, Heikki Suonsivu wrote: > >Why anyone would be interested? The eBOX 2300SX cpu is a SoC device, > > which is by far the lowest power consumption I have seen, and this is > > probably cheapest computer on the market, still suitable for number of > > applications. While it is not exactly a speed daemon, it works well > > enough for all kinds of mp3-playing, small servers and control > > applications. > > I very much doubt MP3 playing is going to work without an FPU. mad is a good (integer-only) candidate for MP3 rendering with a slow CPU TfH From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 16:31:54 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E212016A420 for ; Sun, 20 Jan 2008 16:31:54 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id 53F8513C46A for ; Sun, 20 Jan 2008 16:31:53 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-02.forthnet.gr (8.14.0/8.14.0) with ESMTP id m0KGDCiV002049; Sun, 20 Jan 2008 18:13:12 +0200 Received: from MX-IN-02.forthnet.gr (mx-in-02.forthnet.gr [193.92.150.185]) by mx-av-03.forthnet.gr (8.14.1/8.14.1) with ESMTP id m0KGDCc1031193; Sun, 20 Jan 2008 18:13:12 +0200 Received: from [192.168.136.18] (ppp144-181.adsl.forthnet.gr [62.1.135.181]) by MX-IN-02.forthnet.gr (8.14.2/8.14.2) with ESMTP id m0KGD3Dd026552; Sun, 20 Jan 2008 18:13:04 +0200 Authentication-Results: MX-IN-02.forthnet.gr smtp.mail=dds@aueb.gr; spf=neutral Authentication-Results: MX-IN-02.forthnet.gr header.from=dds@aueb.gr; sender-id=neutral In-Reply-To: <200801201442.03152.thierry@herbelot.com> References: <479296CA.8000700@wlansystems.com> <20080120103801.GP1466@server.vk2pj.dyndns.org> <200801201442.03152.thierry@herbelot.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <01AAB81A-27DB-47E6-A575-D759D0F67F56@aueb.gr> Content-Transfer-Encoding: quoted-printable From: Diomidis Spinellis Date: Sun, 20 Jan 2008 18:11:00 +0200 To: thierry@herbelot.com X-Mailer: Apple Mail (2.752.2) X-Mailman-Approved-At: Sun, 20 Jan 2008 16:46:06 +0000 Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD on non-fpu device 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, 20 Jan 2008 16:31:55 -0000 On Jan 20, 2008, at 3:42 PM, Thierry Herbelot wrote: > Le Sunday 20 January 2008, Peter Jeremy a =E9crit : >> On Sun, Jan 20, 2008 at 02:33:14AM +0200, Heikki Suonsivu wrote: >>> Why anyone would be interested? The eBOX 2300SX cpu is a SoC =20 >>> device, >>> which is by far the lowest power consumption I have seen, and =20 >>> this is >>> probably cheapest computer on the market, still suitable for =20 >>> number of >>> applications. While it is not exactly a speed daemon, it works well >>> enough for all kinds of mp3-playing, small servers and control >>> applications. >> >> I very much doubt MP3 playing is going to work without an FPU. > > mad is a good (integer-only) candidate for MP3 rendering with a =20 > slow CPU True. I'm using it on the non-FPU DNARD Shark (StrongArm SA-110 CPU =20 running at 233 MHz) and it works fine. Diomidis Spinellis - http://www.spinellis.gr= From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 20:10:58 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6765C16A418 for ; Sun, 20 Jan 2008 20:10:58 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC8413C461 for ; Sun, 20 Jan 2008 20:10:58 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.11] (helo=1.mx.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1JGgVJ-0006eW-8a; Sun, 20 Jan 2008 21:10:53 +0100 Received: from x0c95.x.pppool.de ([89.59.12.149]:56506 helo=peedub.jennejohn.org) by 1.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #1) id 1JGgVJ-0002ss-1k; Sun, 20 Jan 2008 21:10:53 +0100 Date: Sun, 20 Jan 2008 21:10:50 +0100 From: Gary Jennejohn To: KAYVEN RIESE Message-ID: <20080120211050.21f991d9@peedub.jennejohn.org> In-Reply-To: References: <1bd550a00801131034o2999b85eu589cd8ee18a114ea@mail.gmail.com> <20080113194954.GG80300@hoeg.nl> <1bd550a00801181146s1ee3fd44x309d7ee9e8db92f9@mail.gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers , "j. ron heeblack" Subject: Re: insufficient power for Xcraft HD enclosure X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 20:10:58 -0000 On Fri, 18 Jan 2008 21:21:52 -0800 (PST) KAYVEN RIESE wrote: > it comes with a silly barebones manual that tells you to slide it in > and screw the screw or some such, not very helpful. it also with a > USB connector that has one junction fitting the device coupled to > what i am calling a daisy chain of two USB connectors. > What you really mean is that you have a Y-cable. A Y-cable is used because USB only supports max. 500 mA per port. What you're expected to do is plug both connectors of the Y-cable into your laptop and the other, single connector into the HD case. This should allow your laptop to provide enough juice to start the disk spinning without violating the USB specification. If your laptop has only one USB port then you're SOL. The case seems to have no provision for attaching an external power supply. --- Gary Jennejohn From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 21:07:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 096E116A417 for ; Sun, 20 Jan 2008 21:07:09 +0000 (UTC) (envelope-from ady@ady.ro) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id EA81713C442 for ; Sun, 20 Jan 2008 21:07:08 +0000 (UTC) (envelope-from ady@ady.ro) Received: by wa-out-1112.google.com with SMTP id k17so3274436waf.3 for ; Sun, 20 Jan 2008 13:07:08 -0800 (PST) Received: by 10.142.77.11 with SMTP id z11mr2908875wfa.98.1200861585564; Sun, 20 Jan 2008 12:39:45 -0800 (PST) Received: by 10.143.167.6 with HTTP; Sun, 20 Jan 2008 12:39:45 -0800 (PST) Message-ID: <78cb3d3f0801201239x18c339a6sbc6a04d2b5670b81@mail.gmail.com> Date: Sun, 20 Jan 2008 22:39:45 +0200 From: "Adrian Penisoara" Sender: ady@ady.ro To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: ee9e7fb9e1f04e4d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Squeezing out some 70 bytes out of the boot2 loader 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, 20 Jan 2008 21:07:09 -0000 Hello I am trying to hack in some symlink support into the [sys/boot/i386/]boot2 bootloader (for my project [1]) and I seem to fall short of about 69 bytes: as -o boot2.o boot2.s ld -static -N --gc-sections -nostdlib -Ttext 0x2000 -o boot2.out/build/obj/build/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /build/obj/build/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.01 size=7b0 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1581 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1e45 text=114 data=1d31 org=0 entry=0 -69 bytes available *** Error code 1 What can I do to get room for about 70-100 bytes for these changes to make it into the bootloader ? [1] I'm trying to get support for /boot being mounted as a separate FS and as such I would need to have a "self-pointing" symlink (e.g. "boot -> ." ) to easily mask the fact that the boot stuff is now right in the root of that FS. Fortunately the FORTH loader does support symlinks and I do not get problems with it. I know that I can use /boot.kernel as a workaround, but that is not too elegant. Thanks for your time, Adrian Penisoara ady (at) freebsd (dot) ady (dot) ro ROFUG, EnterpriseBSD project From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 20 22:21:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D04916A419 for ; Sun, 20 Jan 2008 22:21:45 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5662D13C468 for ; Sun, 20 Jan 2008 22:21:45 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: (from root@localhost) by kientzle.com (8.12.9/8.12.9) id m0KMLhnu028198; Sun, 20 Jan 2008 14:21:43 -0800 (PST) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.209] (p54.kientzle.com [66.166.149.54]) by kientzle.com with SMTP; Sun, 20 Jan 2008 14:21:43 -0800 (PST) (envelope-from kientzle@freebsd.org) Message-ID: <4793C977.9000803@freebsd.org> Date: Sun, 20 Jan 2008 14:21:43 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adrian Penisoara References: <78cb3d3f0801201239x18c339a6sbc6a04d2b5670b81@mail.gmail.com> In-Reply-To: <78cb3d3f0801201239x18c339a6sbc6a04d2b5670b81@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Squeezing out some 70 bytes out of the boot2 loader 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, 20 Jan 2008 22:21:45 -0000 Adrian Penisoara wrote: > Hello > > I am trying to hack in some symlink support into the [sys/boot/i386/]boot2 > bootloader (for my project [1]) and I seem to fall short of about 69 bytes: > ... > > [1] I'm trying to get support for /boot being mounted as a separate FS and > as such I would need to have a "self-pointing" symlink (e.g. "boot -> ." ) Just because there is a symlink doesn't mean boot2 has to follow it. I haven't looked at the boot2 code, but I presume there's the equivalent of "chdir boot" in there. What if you just ignored failure (if there's no "boot" entry or "boot" isn't a dir, assume the boot files are in the root of the FS). Wouldn't that work just as well and require less space? Cheers, Tim Kientzle From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 00:39:00 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C7616A41A for ; Mon, 21 Jan 2008 00:39:00 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 492F513C44B for ; Mon, 21 Jan 2008 00:39:00 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m0L0cuFR093635; Mon, 21 Jan 2008 01:38:56 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m0L0cm3h031342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jan 2008 01:38:49 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m0L0cmwG025641; Mon, 21 Jan 2008 01:38:48 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m0L0cmSD025640; Mon, 21 Jan 2008 01:38:48 +0100 (CET) (envelope-from ticso) Date: Mon, 21 Jan 2008 01:38:48 +0100 From: Bernd Walter To: Adrian Penisoara Message-ID: <20080121003847.GI22192@cicely12.cicely.de> References: <78cb3d3f0801201239x18c339a6sbc6a04d2b5670b81@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78cb3d3f0801201239x18c339a6sbc6a04d2b5670b81@mail.gmail.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: freebsd-hackers@freebsd.org Subject: Re: Squeezing out some 70 bytes out of the boot2 loader X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 00:39:00 -0000 On Sun, Jan 20, 2008 at 10:39:45PM +0200, Adrian Penisoara wrote: > Hello > > I am trying to hack in some symlink support into the [sys/boot/i386/]boot2 > bootloader (for my project [1]) and I seem to fall short of about 69 bytes: > > as -o boot2.o boot2.s > ld -static -N --gc-sections -nostdlib -Ttext 0x2000 -o > boot2.out/build/obj/build/src/sys/boot/i386/boot2/../btx/lib/crt0.o > boot2.o sio.o > objcopy -S -O binary boot2.out boot2.bin > btxld -v -E 0x2000 -f bin -b > /build/obj/build/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o > boot2.ld -P 1 boot2.bin > kernel: ver=1.01 size=7b0 load=9000 entry=9010 map=16M pgctl=1:1 > client: fmt=bin size=1581 text=0 data=0 bss=0 entry=0 > output: fmt=bin size=1e45 text=114 data=1d31 org=0 entry=0 > -69 bytes available > *** Error code 1 > > What can I do to get room for about 70-100 bytes for these changes to make > it into the bootloader ? > > [1] I'm trying to get support for /boot being mounted as a separate FS and > as such I would need to have a "self-pointing" symlink (e.g. "boot -> ." ) > to easily mask the fact that the boot stuff is now right in the root of that > FS. Fortunately the FORTH loader does support symlinks and I do not get > problems with it. I know that I can use /boot.kernel as a workaround, but > that is not too elegant. The support is already there - at least to some definition. You just need to symlink it the other way, so the kernel sees the symlink and not the bootcode: Mount your boot-FS into /bootdir with a /boot subdir inside. So on ypur running system you have /bootdir/boot. Then symlink /boot on your real /-FS to /bootdir/boot and you are fine with tools expecting /boot on your running system. Fill the directory with the usual content. boot2 and later loader stages will just see it's normal /boot inside with everything in it. This is already published on http://wiki.freebsd.org/ZFSOnRoot for having a non UFS filesystem as /. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 00:52:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28CA916A41A for ; Mon, 21 Jan 2008 00:52:08 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B6A2313C4E7 for ; Mon, 21 Jan 2008 00:52:07 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m0L0q6Pw094137; Mon, 21 Jan 2008 01:52:06 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m0L0pu63031405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jan 2008 01:51:56 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m0L0puxA025670; Mon, 21 Jan 2008 01:51:56 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m0L0psDt025669; Mon, 21 Jan 2008 01:51:54 +0100 (CET) (envelope-from ticso) Date: Mon, 21 Jan 2008 01:51:54 +0100 From: Bernd Walter To: Gary Jennejohn Message-ID: <20080121005153.GJ22192@cicely12.cicely.de> References: <1bd550a00801131034o2999b85eu589cd8ee18a114ea@mail.gmail.com> <20080113194954.GG80300@hoeg.nl> <1bd550a00801181146s1ee3fd44x309d7ee9e8db92f9@mail.gmail.com> <20080120211050.21f991d9@peedub.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080120211050.21f991d9@peedub.jennejohn.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: FreeBSD Hackers , "j. ron heeblack" , KAYVEN RIESE Subject: Re: insufficient power for Xcraft HD enclosure X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 00:52:08 -0000 On Sun, Jan 20, 2008 at 09:10:50PM +0100, Gary Jennejohn wrote: > On Fri, 18 Jan 2008 21:21:52 -0800 (PST) > KAYVEN RIESE wrote: > > > it comes with a silly barebones manual that tells you to slide it in > > and screw the screw or some such, not very helpful. it also with a > > USB connector that has one junction fitting the device coupled to > > what i am calling a daisy chain of two USB connectors. > > > > What you really mean is that you have a Y-cable. A Y-cable is used > because USB only supports max. 500 mA per port. > > What you're expected to do is plug both connectors of the Y-cable > into your laptop and the other, single connector into the HD case. > This should allow your laptop to provide enough juice to start the > disk spinning without violating the USB specification. It is still violating USB specification, because you can't draw power from a port without telling the OS to do so. You are limited to a few mA and if the port is enabled by the host you can draw 100mA or 500mA depending what the host allows. If the host didn't enable the port within a specified time you are further limited to a few µA. This means you can't even draw a single mA over a longer time without beeing allowed by the host. So your device officially needs to have two USB controllers for that to be able to claim the power requirement on both ports, which they likely didn't. The Y-cable hack just works because most hardware don't enforce the power usage, but a few do. > If your laptop has only one USB port then you're SOL. The case seems > to have no provision for attaching an external power supply. And doesn't comply to USB specs. But because of such Y-Cable violation being popular these days there are power-supplies on the market with USB headers on output. Anyway - it's better to get a cheap self powered USB hub, which typically has 4 ports and can source enough current for your drives. Normaly they don't do much about current limitation - most of them just have a single fuse for all ports together. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 05:16:17 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98B6216A421 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC6E13C468 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id m0L4v0Ku001945; Sun, 20 Jan 2008 23:57:00 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id m0L4v0xU001944; Sun, 20 Jan 2008 23:57:00 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sun, 20 Jan 2008 23:57:00 -0500 From: David Schultz To: Heikki Suonsivu Message-ID: <20080121045700.GB1844@VARK.MIT.EDU> Mail-Followup-To: Heikki Suonsivu , freebsd-hackers@FreeBSD.ORG References: <479296CA.8000700@wlansystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <479296CA.8000700@wlansystems.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD on non-fpu device 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, 21 Jan 2008 05:16:17 -0000 On Sun, Jan 20, 2008, Heikki Suonsivu wrote: > There is very low cost microscopic PC (see eBOX 2300 and eBOX 2300SX > www.compactpc.com.tw), which previously run FreeBSD fine, being based on > Vortex86 cpu on Sis SoC chip 550. Unfortunately the manufacturer > switched to a new SoC cpu which is 486SX derivative without FPU. This > does not work with FreeBSD. On the userland side, you need to edit src/libc/Makefile to include softfloat/Makefile.inc (as we do for the arm platform). Then compile everything including libm with -msoft-float. However, at least on i386, there's no support in the kernel for that kind of configuration, as of 5.0 or so. The kernel doesn't actually *use* floating point, so the changes are probably not that drastic, but we dropped support for the !FPU case on i386 a long time ago, and it would take a bit of effort to make it work. You might find it easier to use an older release instead. From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 05:16:18 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C2BD16A46B for ; Mon, 21 Jan 2008 05:16:18 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id DB9A913C458 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id m0L4n9vG001895; Sun, 20 Jan 2008 23:49:09 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id m0L4n9nu001894; Sun, 20 Jan 2008 23:49:09 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sun, 20 Jan 2008 23:49:09 -0500 From: David Schultz To: navneet Upadhyay Message-ID: <20080121044909.GA1844@VARK.MIT.EDU> Mail-Followup-To: navneet Upadhyay , freebsd-hackers@FreeBSD.ORG References: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Trying to support my product on BSD 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, 21 Jan 2008 05:16:18 -0000 On Fri, Jan 18, 2008, navneet Upadhyay wrote: > Hi , > My product is successfully running on Linux( all most all versions) > and HP- UX and Windows . > > *It is 100 % C++ code*. > > I am planning to support it on FreeBSD, i have two queries : > > 1. *How to build my code into binaries* on FreeBSD , i have my unix make > files. Just to give an idea i have around 200 cpp files and they complile to > 5 binaries . I am using multithreading(posix on linux) and sockets heavily. We support C++, the POSIX threads API, and all the standard sockets calls. In theory, you just need to type 'make'. If your makefiles use GNU make extensions, then install GNU make ('cd /usr/ports/devel/gmake && make install') and type 'gmake'. > 2.* How to package the binaries*(RPM sort of thing). Idea is to provide a > package to user who can install them binaries using this package by issuing > single command. See the previous reference to the porter's handbook. From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 08:56:17 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36CC16A421 for ; Mon, 21 Jan 2008 08:56:17 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.248]) by mx1.freebsd.org (Postfix) with ESMTP id 649A513C46B for ; Mon, 21 Jan 2008 08:56:17 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: by hs-out-2122.google.com with SMTP id h53so1931249hsh.11 for ; Mon, 21 Jan 2008 00:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=rIQYX+Xt9Swf7VfYqNheuwRbxqpSPX7s3NgAOud33KI=; b=mZd2T8471i9BPODFqi0RuCcMs4Rc9TWNdxF/TAffikGEC4irNY8aZkbECt9ChUm2qlnAHGNHuenl2v9WJl8AjRCwspK9NWoBou+U2pKYGymbbvVSjjmQV7LFv0FMvjQGvjVVj2nqLe7RjQWu63PsQf11DqhW33Br/vEM8kdRKoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=NJ8tvRh+NaU1CW96sYC1tsniF1sFO6kYmkVFou5i0W6NPXVKWQO7BiXV2tY3hyxxuXPlIlUNPMb/QaC9bJyNyD6erkvaRCHS/twjuW65o6jK1d8payQz7vBBKjd9hZ0FU3tx/nytfjVFMz+ZmOpshoCrJGBB+FDWwba02GKhByM= Received: by 10.150.92.11 with SMTP id p11mr2203715ybb.36.1200905776521; Mon, 21 Jan 2008 00:56:16 -0800 (PST) Received: by 10.150.148.8 with HTTP; Mon, 21 Jan 2008 00:56:16 -0800 (PST) Message-ID: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Date: Mon, 21 Jan 2008 14:26:16 +0530 From: "navneet Upadhyay" To: "navneet Upadhyay" MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 21 Jan 2008 12:44:58 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD packaging 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, 21 Jan 2008 08:56:18 -0000 Hi, We have our product on RHEL(almost all versions), we are planning to support it on *FreeBSD*. We were successfull in building the binaries. Now we have to make a setup(RPM sort of thing). By visiting sites i cam to know that pkg_create will do it for me. But i am unable to create a package as per my needs. I have gone through many documents on freeBSD.org, my needs are : 1. I have around 8 executables which should go to various directories as part of installation , and around 15 config file which go to config directory as part of installation. 2. I have around 4 script files which should be executed as part of installation after the files are transferred to the respective folders. Can somebody provide me some information on how to achieve it. I am not looking at Ports. From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 13:06:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB3416A41B for ; Mon, 21 Jan 2008 13:06:49 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4BEF113C45B for ; Mon, 21 Jan 2008 13:06:49 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JGwMQ-0003cP-Dv for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 13:06:46 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 13:06:46 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 13:06:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Mon, 21 Jan 2008 14:06:39 +0100 Lines: 57 Message-ID: References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5EFCD6AB515CDCFA0092DFF9" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.9 (X11/20070801) In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> X-Enigmail-Version: 0.95.5 Sender: news Subject: Re: FreeBSD packaging 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, 21 Jan 2008 13:06:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5EFCD6AB515CDCFA0092DFF9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable navneet Upadhyay wrote: > Hi, >=20 > We have our product on RHEL(almost all versions), we are planning to su= pport > it on *FreeBSD*. > We were successfull in building the binaries. Now we have to make a > setup(RPM sort of thing). > By visiting sites i cam to know that pkg_create will do it for me. But = i am > unable to create a package as per my needs. I have gone through many > documents on freeBSD.org, my needs are : >=20 > 1. I have around 8 executables which should go to various directories a= s > part of installation , and around 15 config file which go to config > directory as part of installation. >=20 > 2. I have around 4 script files which should be executed as part of > installation after the files are transferred to the respective folders.= Have you read the man page for pkg_create? You can read it here: http://www.freebsd.org/cgi/man.cgi?query=3Dpkg_create. If you read it, ca= n you narrow down your questions to be more specific (e.g. why don't the -f and -I arguments to pkg_create meet your requirements)? I'd recommend you create a simple ports directory with the Makefile, distinfo, pkg-descr files, etc. and do a "make package" from there. It's easier than specifying the many command line arguments to pkg_create and it helps portability. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.h= tml for instructions. --------------enig5EFCD6AB515CDCFA0092DFF9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHlJjfldnAQVacBcgRAkdXAJ9kdnK8VFYKaX1rIRtd5lpncBN3vgCg9B1b /ZmX2LvpFAvAlFHOklwSKq8= =ZBvw -----END PGP SIGNATURE----- --------------enig5EFCD6AB515CDCFA0092DFF9-- From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 13:12:25 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD5116A46B for ; Mon, 21 Jan 2008 13:12:25 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 736CF13C45A for ; Mon, 21 Jan 2008 13:12:25 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Resent-From:Resent-Date:Resent-Message-ID:Resent-To:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Resent-Sender:Resent-Date:X-Spam-Status:Subject; b=ajHIAskDTE9FO7zbjZrcULGcC+CHsRgs6/Yc5z4DseyoMmF+qH2rBP+QK5AmHZSOg5Gec7XqtPdUGQU5iX34K6+mI/TIPazr7sUK4QITl8rA959jYvgCi8/DMxefAKzlZ5cyrprkC984ytQrCIkueUjDJXrypU7sj7BdWov2Axs=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JGwRs-0000JG-E9 for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 16:12:24 +0300 Resent-From: rea-fbsd@codelabs.ru Resent-Date: Mon, 21 Jan 2008 16:12:23 +0300 Resent-Message-ID: Resent-To: freebsd-hackers@freebsd.org Date: Mon, 21 Jan 2008 16:11:32 +0300 From: Eygene Ryabinkin To: navneet Upadhyay Message-ID: References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Resent-Sender: rea-fbsd@codelabs.ru Resent-Date: Mon, 21 Jan 2008 16:12:24 +0300 X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD packaging 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, 21 Jan 2008 13:12:25 -0000 Good day. Mon, Jan 21, 2008 at 02:26:16PM +0530, navneet Upadhyay wrote: > We were successfull in building the binaries. Now we have to make a > setup(RPM sort of thing). > By visiting sites i cam to know that pkg_create will do it for me. But i am > unable to create a package as per my needs. I have gone through many > documents on freeBSD.org, my needs are : > > 1. I have around 8 executables which should go to various directories as > part of installation , and around 15 config file which go to config > directory as part of installation. > > 2. I have around 4 script files which should be executed as part of > installation after the files are transferred to the respective folders. This perfectly fits to the FreeBSD ports philosophy. > Can somebody provide me some information on how to achieve it. > > I am not looking at Ports. Ports still will help you: 'make package' will produce the binary package that can be installed via pkg_add. Create the port and try it. -- Eygene From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 14:36:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23A6F16A419 for ; Mon, 21 Jan 2008 14:36:56 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id D8A7F13C448 for ; Mon, 21 Jan 2008 14:36:55 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id D2ECF207E; Mon, 21 Jan 2008 15:36:40 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C30BA2049; Mon, 21 Jan 2008 15:36:40 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id ADE4E844B7; Mon, 21 Jan 2008 15:36:40 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Peter Jeremy References: <479296CA.8000700@wlansystems.com> <20080120103801.GP1466@server.vk2pj.dyndns.org> Date: Mon, 21 Jan 2008 15:36:40 +0100 In-Reply-To: <20080120103801.GP1466@server.vk2pj.dyndns.org> (Peter Jeremy's message of "Sun\, 20 Jan 2008 21\:38\:02 +1100") Message-ID: <864pd7nt3b.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Heikki Suonsivu , freebsd-hackers@freebsd.org Subject: Re: FreeBSD on non-fpu device 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, 21 Jan 2008 14:36:56 -0000 Peter Jeremy writes: > I very much doubt MP3 playing is going to work without an FPU. The > 2300SX specifications are badly mangled by the website but appear to > suggest that it needs 5V@3A - this is not especially low power and > you should be able to find alternatives. Check out www.pcengines.ch > and www.ewayco.com [I haven't used either of these manufacturers but > have found them in searches]. The Soekris net4801 and net5501 have lower power consumption (15W and 20W respectively when fully equipped, significantly less if you don't stick a hard drive or WLAN adapter in it) and are fully supported. The only caveat is that while the chipset has built-in audio support, I'm not sure if there's an audio header on the board. Regarding the eBox, I've seen far more powerful VIA EPIA-based thin clients in the exact same enclosure shown on the front page of compactpc.com.tw. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 15:08:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F5516A420; Mon, 21 Jan 2008 15:08:28 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 8E21F13C4CE; Mon, 21 Jan 2008 15:08:28 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 402002086; Mon, 21 Jan 2008 16:08:20 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 3124D2082; Mon, 21 Jan 2008 16:08:20 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 18D8E8449D; Mon, 21 Jan 2008 16:08:20 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Josh Paetzel References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> <200801191619.43588.josh@tcbug.org> Date: Mon, 21 Jan 2008 16:08:20 +0100 In-Reply-To: <200801191619.43588.josh@tcbug.org> (Josh Paetzel's message of "Sat\, 19 Jan 2008 16\:19\:37 -0600") Message-ID: <86zluzmd23.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Joshua Isom , Doug Barton , Yuri Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 21 Jan 2008 15:08:28 -0000 Josh Paetzel writes: > In a nut shell, in many places it's illegal to use 'nonauthorized' > tools (like libdvdcss) to decrypt DVDs for any purpose (including > playback). Please provide documentation. It's certainly not illegal in Europe, not in Canada as far as I know; I'm unsure about the US, but it seems to be permitted under the DMCA's Section 1201(f) (caveat: IANAL). > On top of that, the underlying tool used by nearly everything that > reads movie DVDs on FreeBSD (libdvdcss) is unmaintained by anyone > upstream, as time goes on more and more dvds are released that it > either can't decrypt or are able to choke it. I am not aware of any DVDs that libdvdcss chokes on. The last time I heard of such a thing, I loaned Sam Hocevar a copy and he fixed it. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 15:11:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D10616A468 for ; Mon, 21 Jan 2008 15:11:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id BB26E13C4E3 for ; Mon, 21 Jan 2008 15:11:42 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 7EC14207F; Mon, 21 Jan 2008 16:11:34 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 71C032049; Mon, 21 Jan 2008 16:11:34 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 580B4844B7; Mon, 21 Jan 2008 16:11:34 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Jeremy Chadwick References: <20080114132440.GA71321@eos.sc1.parodius.com> Date: Mon, 21 Jan 2008 16:11:34 +0100 In-Reply-To: <20080114132440.GA71321@eos.sc1.parodius.com> (Jeremy Chadwick's message of "Mon\, 14 Jan 2008 05\:24\:40 -0800") Message-ID: <86ve5nmcwp.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Examples of sysctl/sysctlbyname/sysctlnametomib? 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, 21 Jan 2008 15:11:43 -0000 Jeremy Chadwick writes: > Does anyone know of some documentation which would help explain how to > walk the sysctl MIB tree for such things as dev.cpu? This is intentionally undocumented, but you can find a fairly readable code example in sysctl(1). It is also well documented in code comments in the kernel. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 15:22:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA9316A569 for ; Mon, 21 Jan 2008 15:22:07 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 40F4513C448 for ; Mon, 21 Jan 2008 15:22:07 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 896A52083; Mon, 21 Jan 2008 16:21:57 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 798F92049; Mon, 21 Jan 2008 16:21:57 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 5E1DD8449D; Mon, 21 Jan 2008 16:21:57 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Yuri References: <1200437163.478d37abc422c@webmail.rawbw.com> <20080115231958.GA64002@owl.midgard.homeip.net> <1200440766.478d45be80915@webmail.rawbw.com> Date: Mon, 21 Jan 2008 16:21:57 +0100 In-Reply-To: <1200440766.478d45be80915@webmail.rawbw.com> (yuri@rawbw.com's message of "Tue\, 15 Jan 2008 15\:46\:06 -0800") Message-ID: <86r6gbmcfe.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Is Elf formatdocumented anywhere? 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, 21 Jan 2008 15:22:07 -0000 Yuri writes: > Erik Trulsson writes: > > ELF is fairly well documented and standardized. > No, I would say ELF is somewhat documented. Do not confuse your inability or unwillingness to read a specification with the absence of such a specification. > > http://en.wikipedia.org/wiki/Executable_and_Linkable_Format > These links only go that far. Eh? The Wikipedia article contains links to the complete specification for both the machine-independent and machine-dependent portions of ELF, as well as a number of third-party resources. > > You can also read the elf(5) manpage in FreeBSD > Not many details here too. Compared to absolutely *no* detail from you. The elf(5) manual page is almost 900 lines long; I don't think it would be unfair to ask you to write 9 lines (1%) explaining what it is you need that hasn't yet been provided. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 16:11:36 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89F4916A417 for ; Mon, 21 Jan 2008 16:11:36 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 31D2513C4CC for ; Mon, 21 Jan 2008 16:11:36 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8) with ESMTP id m0LFuOAv068264; Mon, 21 Jan 2008 10:56:24 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8/Submit) id m0LFuOuR068263; Mon, 21 Jan 2008 10:56:24 -0500 (EST) (envelope-from mwlucas) Date: Mon, 21 Jan 2008 10:56:24 -0500 From: "Michael W. Lucas" To: navneet Upadhyay Message-ID: <20080121155624.GA68194@bewilderbeast.blackhelicopters.org> References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Mon, 21 Jan 2008 10:56:25 -0500 (EST) Cc: hackers@freebsd.org Subject: Re: FreeBSD packaging 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, 21 Jan 2008 16:11:36 -0000 On Mon, Jan 21, 2008 at 02:26:16PM +0530, navneet Upadhyay wrote: > Hi, > > We have our product on RHEL(almost all versions), we are planning to support > it on *FreeBSD*. > We were successfull in building the binaries. Now we have to make a > setup(RPM sort of thing). > By visiting sites i cam to know that pkg_create will do it for me. But i am > unable to create a package as per my needs. I have gone through many > documents on freeBSD.org, my needs are : > > 1. I have around 8 executables which should go to various directories as > part of installation , and around 15 config file which go to config > directory as part of installation. > > 2. I have around 4 script files which should be executed as part of > installation after the files are transferred to the respective folders. > > > Can somebody provide me some information on how to achieve it. > > I am not looking at Ports. Hi, Both ports and packages rely on the same ideas and much of the same infrastructure. Having done exactly what you want to do for some internal software, I found that making a private port was the simplest way to do it. I wrote a port, ran "make package," and let it bundle everything for me. Then I distributed the package to my clients. Understanding the package format annoyed me more than understanding the ports format. You might find otherwise. ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 17:04:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460BA16A421 for ; Mon, 21 Jan 2008 17:04:10 +0000 (UTC) (envelope-from SRS0=yOe3NK=SL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout11.yourhostingaccount.com (mailout11.yourhostingaccount.com [65.254.253.90]) by mx1.freebsd.org (Postfix) with ESMTP id 0512413C45D for ; Mon, 21 Jan 2008 17:04:09 +0000 (UTC) (envelope-from SRS0=yOe3NK=SL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan10.yourhostingaccount.com ([10.1.15.10] helo=mailscan10.yourhostingaccount.com) by mailout11.yourhostingaccount.com with esmtp (Exim) id 1JGzWP-0006gd-CT for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 11:29:17 -0500 Received: from impout02.yourhostingaccount.com ([10.1.55.2] helo=impout02.yourhostingaccount.com) by mailscan10.yourhostingaccount.com with esmtp (Exim) id 1JGzWP-0000Vn-57; Mon, 21 Jan 2008 11:29:17 -0500 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11]) by impout02.yourhostingaccount.com with NO UCE id fsVH1Y0030EKrUA0000000; Mon, 21 Jan 2008 11:29:17 -0500 X-EN-OrigOutIP: 10.1.18.11 X-EN-IMPSID: fsVH1Y0030EKrUA0000000 Received: from c-98-206-161-17.hsd1.il.comcast.net ([98.206.161.17] helo=vixen42) by authsmtp11.yourhostingaccount.com with esmtpa (Exim) id 1JGzWO-0001Xl-QJ; Mon, 21 Jan 2008 11:29:17 -0500 Date: Mon, 21 Jan 2008 10:30:25 -0600 From: "Zane C.B." To: "navneet Upadhyay" Message-ID: <20080121103025.71b50f9d@vixen42> In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 98.206.161.17 X-EN-OrigHost: c-98-206-161-17.hsd1.il.comcast.net Cc: navneet Upadhyay , freebsd-hackers@freebsd.org Subject: Re: FreeBSD packaging 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, 21 Jan 2008 17:04:10 -0000 On Mon, 21 Jan 2008 14:26:16 +0530 "navneet Upadhyay" wrote: > Hi, > > We have our product on RHEL(almost all versions), we are planning > to support it on *FreeBSD*. > We were successfull in building the binaries. Now we have to make a > setup(RPM sort of thing). > By visiting sites i cam to know that pkg_create will do it for me. > But i am unable to create a package as per my needs. I have gone > through many documents on freeBSD.org, my needs are : > > 1. I have around 8 executables which should go to various > directories as part of installation , and around 15 config file > which go to config directory as part of installation. > > 2. I have around 4 script files which should be executed as part of > installation after the files are transferred to the respective > folders. > > > Can somebody provide me some information on how to achieve it. > > I am not looking at Ports. I would suggest looking at using the ports tree. Just because you not interested in contributing it to the ports tree does not mean you can't leverage it to your advantage. To do this, please a dir where ever you please in the ports dir, set it all up, type `make package` and then publish the resulting package. From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 17:28:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5FF816A419 for ; Mon, 21 Jan 2008 17:28:38 +0000 (UTC) (envelope-from alec-dated-1201366916.f90082@SetFilePointer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 8223813C458 for ; Mon, 21 Jan 2008 17:28:38 +0000 (UTC) (envelope-from alec-dated-1201366916.f90082@SetFilePointer.com) Received: (qmail 19788 invoked by uid 4250); 21 Jan 2008 11:01:56 -0600 Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250); Mon, 21 Jan 2008 11:01:56 -0600 (CST) Date: Mon, 21 Jan 2008 11:01:55 -0600 To: freebsd-hackers@freebsd.org Message-ID: <20080121170155.GC51116@hamlet.SetFilePointer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i From: Alec Kloss X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) X-Primary-Address: alec@SetFilePointer.com X-Mailman-Approved-At: Mon, 21 Jan 2008 17:36:06 +0000 Subject: Hardware support for AMD Geode CS5536 audio? 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, 21 Jan 2008 17:28:39 -0000 --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm hoping someone will be able to help me out with the audio is the Geode CS5536. This has come up a few times before, once early this month and once last February. The CS5530 driver mentioned on the soundsystem wiki doesn't work. I've fixed the obvious compatibility problems with it and RELENG_7 so it loads, but bus_alloc_resource() fails during attach. Not being much of a kernel hacker, I'm at a loss as to why that is. =20 The databooks from AMD for the CS5536 and from National for the CS5530 are publically available. Below are links: Original FreeBSD gx5530 driver:=20 http://63.249.85.132/gx_audio/index.html My patches for RELENG_7 compatibility: http://setfilepointer.com/pub/geode/ns_geode.diff The CS5530 datasheet from National Semiconductor: http://www.national.com/mpf/CS/CS5530A.html The CS5536 datasheet from AMD: http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_23= 30_9863_9864^13054,00.html I'd be happy to try whatever people suggest, or even provide access to a RELENG_7 or -current machine running this hardware. Remote debugging options are limited because there are no serial ports on this hardware. If you're interested access to a machine, mail me an ssh public key. =20 Thanks much. --=20 Alec Kloss alec@SetFilePointer.com IM: angryspamhater@yahoo.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E "No Bunny!" -- Simon, from Frisky Dingo --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFHlNAD2s33paJBmA4RAizcAJ4j8SaEzf4E8wx+am9MXL+cTD8B3gCfVUvR Fl0g6f3yYIOXDQY3+TOXJuI= =DMan -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz-- From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 19:06:17 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3CE16A41B; Mon, 21 Jan 2008 19:06:17 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD8213C45B; Mon, 21 Jan 2008 19:06:17 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0LJ68eC030529; Mon, 21 Jan 2008 11:06:08 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0LJ67TV030520; Mon, 21 Jan 2008 11:06:07 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Mon, 21 Jan 2008 11:06:07 -0800 Message-ID: <1200942367.4794ed1f30858@webmail.rawbw.com> Date: Mon, 21 Jan 2008 11:06:07 -0800 From: Yuri To: Dag-Erling =?iso-8859-1?b?U23DuHJncmF2?= References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> <200801191619.43588.josh@tcbug.org> <86zluzmd23.fsf@ds4.des.no> In-Reply-To: <86zluzmd23.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 X-Mailman-Approved-At: Mon, 21 Jan 2008 19:37:41 +0000 Cc: Josh Paetzel , Joshua Isom , Doug Barton , freebsd-hackers@freebsd.org Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 21 Jan 2008 19:06:17 -0000 Quoting Dag-Erling Smørgrav : > I am not aware of any DVDs that libdvdcss chokes on. The last time I > heard of such a thing, I loaned Sam Hocevar a copy and he fixed it. Try these two titles: Hitch, Capote. Both with US region. They both fail when you try to do 'dvdbackup'. Yuri From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 19:50:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4744316A421 for ; Mon, 21 Jan 2008 19:50:51 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 0D58513C4D3 for ; Mon, 21 Jan 2008 19:50:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3144645pyb.10 for ; Mon, 21 Jan 2008 11:50:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; bh=/LyrGR4MxOWIS0op4e8V0ZOzV3KpRBZob+w+wVf+kyg=; b=TmGat7HLUZJx7411D0OV18vMASFs973nXOFmq5PfWGL2OUqphM6kS/L4i3ND3ozwr3J4NSloQozOByYWGA/CwKvBNzWxd4QqfqNneTPHfmaMmsRIIzN/N2MvQQUJUtYe8rPJE+RWV74FL/LVIAoL/RUkECLHFIZHW90wUryZJ3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=vpD1c5J2kOFMx4L06wpb4BA87aQ3CcK7PVAfyj/bY1H0UXKJtfg5sTh/LqzjuZf0+sgHgouTIPjVJMluNFDCXkWGKpWy0kRE2LBvmEiGaWdOVV5/k1Jc7Kym8sRIWUWoRgDYdQzK5TVdPquKLxkldwRUzchkEB3j/3NwAZhRLR4= Received: by 10.65.135.19 with SMTP id m19mr15576326qbn.63.1200943480306; Mon, 21 Jan 2008 11:24:40 -0800 (PST) Received: from flosoft.no-ip.biz ( [67.85.89.184]) by mx.google.com with ESMTPS id d5sm5764658qbd.18.2008.01.21.11.24.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jan 2008 11:24:39 -0800 (PST) Message-ID: <4794F175.5040708@gmail.com> Date: Mon, 21 Jan 2008 14:24:37 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20080117) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: cvs 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: Mon, 21 Jan 2008 19:50:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I maintain a local repo of the via the cvs mode of cvsup. When I do a: cvs -q -d /home/ncvs update It will update any modified files but will not add any new files (it removes stale ones), but if I do a checkout it overwrites my local modifications... any way to automatically add new files but preserve local mods? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHlPF1Qi2hk2LEXBARAnBDAJ96F0R7ivG5CSPrRh0+CTuoAVV3EgCfXC/u Ltic6+7uUveTRd2OxK+uAPM= =MF2+ -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 20:28:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA8F16A418 for ; Mon, 21 Jan 2008 20:28:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 54E0A13C467 for ; Mon, 21 Jan 2008 20:28:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 2706 invoked by uid 399); 21 Jan 2008 20:28:14 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 21 Jan 2008 20:28:14 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47950058.3050503@FreeBSD.org> Date: Mon, 21 Jan 2008 12:28:08 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <4794F175.5040708@gmail.com> In-Reply-To: <4794F175.5040708@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: cvs 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: Mon, 21 Jan 2008 20:28:16 -0000 Aryeh M. Friedman wrote: > I maintain a local repo of the via the cvs mode of cvsup. When I do a: What command did you use to check out the files, and what tree are you talking about? > cvs -q -d /home/ncvs update > > It will update any modified files but will not add any new files When you say "new files" do you really mean new directories? If a new directory is added to the tree, you need to use 'update -d' to get it in your working copy. Otherwise cvs will add new files in existing directories by default, so if that's not happening for you, something is wrong. > (it > removes stale ones), but if I do a checkout it overwrites my local > modifications... If that is actually happening, you've done something really wrong, since that is not what cvs does by default. I would suggest that you go into your working copy (checked out tree) and do 'cvs diff -u > ~/mytree.diff' and then wipe out what you had and check it out again. Then you can apply your diff as needed. You should also spend some time thoroughly reading the cvs man page. It's a fairly complex system, and it's easy to accidentally add a knob that will have hard to diagnose long-term effects. Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 20:32:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A919316A41A; Mon, 21 Jan 2008 20:32:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3B913C4DB; Mon, 21 Jan 2008 20:32:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id B749C2082; Mon, 21 Jan 2008 21:31:54 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id A454B207E; Mon, 21 Jan 2008 21:31:54 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 821098449D; Mon, 21 Jan 2008 21:31:54 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Yuri References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> <200801191619.43588.josh@tcbug.org> <86zluzmd23.fsf@ds4.des.no> <1200942367.4794ed1f30858@webmail.rawbw.com> Date: Mon, 21 Jan 2008 21:31:54 +0100 In-Reply-To: <1200942367.4794ed1f30858@webmail.rawbw.com> (yuri@rawbw.com's message of "Mon\, 21 Jan 2008 11\:06\:07 -0800") Message-ID: <8663xm9ayt.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Josh Paetzel , Joshua Isom , Doug Barton , freebsd-hackers@freebsd.org Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 21 Jan 2008 20:32:02 -0000 Yuri writes: > Dag-Erling Sm=C3=B8rgrav writes: > > I am not aware of any DVDs that libdvdcss chokes on. The last time I > > heard of such a thing, I loaned Sam Hocevar a copy and he fixed it. > Try these two titles: Hitch, Capote. Both with US region. They both fail > when you try to do 'dvdbackup'. Do they play? If they do, it's not libdvdcss's fault. Also, please get an MUA that understands UTF-8. This *is* the 21st century, you know... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 20:35:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1878516A419 for ; Mon, 21 Jan 2008 20:35:45 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id CEACF13C4F4 for ; Mon, 21 Jan 2008 20:35:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3163323pyb.10 for ; Mon, 21 Jan 2008 12:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=5Hkismi3plTZcM9NBH+nQKMSDZ68fMENrQzrXgq4EOo=; b=ayKWBJ7tcqN1oqqfTZVFwGJyK6vwVLkvaLz1Vl6rcul04EhIw0iB2JPfNLDKPaiL5XKePdm/riNl8gWIw0YmlvAi5kMFsSSvO21OGJvmRwIwZD+DbSq3DHIYMNqAS5B9IfEcewmdBSO/xPkUH7pTtpfnfYiAsJmCid5Rob2Sk8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=HnP3qSP01jVVccjqhgglPBhVDKxXcMQzlcBvBPIh+QHAwKYXEwpt9/H7hoP+DLBnz814OkHeTkyMqxKXarNMaEVqrROE1Rohw8kYQCEEKOogZ5hYXB5bY5zZaX9PnM7FcyXoV7gPXitgqskcNMaSaipsdSEhFcK9umgXI+ja6+4= Received: by 10.65.241.20 with SMTP id t20mr15703187qbr.88.1200947743713; Mon, 21 Jan 2008 12:35:43 -0800 (PST) Received: from flosoft.no-ip.biz ( [67.85.89.184]) by mx.google.com with ESMTPS id f14sm5906956qba.25.2008.01.21.12.35.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jan 2008 12:35:43 -0800 (PST) Message-ID: <4795021E.8070506@gmail.com> Date: Mon, 21 Jan 2008 15:35:42 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20080117) MIME-Version: 1.0 To: Doug Barton References: <4794F175.5040708@gmail.com> <47950058.3050503@FreeBSD.org> In-Reply-To: <47950058.3050503@FreeBSD.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: cvs 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: Mon, 21 Jan 2008 20:35:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Barton wrote: > Aryeh M. Friedman wrote: >> I maintain a local repo of the via the cvs mode of cvsup. When I >> do a: > > What command did you use to check out the files, and what tree are > you talking about? cvsup -h cvsup9.us.freebsd.org /usr/share/examples/cvsup/cvs-supfile cd /usr/src cvs -q -d /home/ncvs update cd /usr/ports cvs -q -d /home/ncvs update The problem showed up specifically when the above failed to add src/sys/dev/sf/* but the makefiles where updated to ref it. > >> cvs -q -d /home/ncvs update >> >> It will update any modified files but will not add any new files > > When you say "new files" do you really mean new directories? If a > new directory is added to the tree, you need to use 'update -d' to > get it in your working copy. Otherwise cvs will add new files in > existing directories by default, so if that's not happening for you, > something is wrong. Someone one else suggested adding the -d and it seems to work fine. > >> (it >> removes stale ones), but if I do a checkout it overwrites my local >> modifications... > > If that is actually happening, you've done something really wrong, > since that is not what cvs does by default. Here goes the entire setup procedure I used (it is the very first thing I did on the machine after installing the base system [from dist cd]): pkg_add -r cvsup-without-gui mkdir /home/ncvs cvsup -h cvsup9.us.freebsd.org /usr/share/examples/cvsup/cvs-supfile cd /usr cvs -q -d /home/ncvs checkout src ports doc www pkg_delete cvsup-without-gui (I later re-add as a port not as a package) > > I would suggest that you go into your working copy (checked out > tree) and do 'cvs diff -u > ~/mytree.diff' and then wipe out what > you had and check it out again. Then you can apply your diff as needed. > > You should also spend some time thoroughly reading the cvs man page. > It's a fairly complex system, and it's easy to accidentally add a > knob that will have hard to diagnose long-term effects. > > Doug > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHlQIdQi2hk2LEXBARAjfhAKCMj+XNILXAI+KuV62qf7N0slFGIQCeOl6+ XnUFkDi9kyVc/cFxbE9TvpY= =eSyb -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 20:57:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DDD416A417 for ; Mon, 21 Jan 2008 20:57:29 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED4A13C448 for ; Mon, 21 Jan 2008 20:57:29 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JH30X-000PuY-PC; Mon, 21 Jan 2008 15:12:39 -0500 Received: from FIREBALL (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 5A52E1A3D38E; Mon, 21 Jan 2008 15:12:37 -0500 (EST) From: "Greg Larkin" To: "'Aryeh M. Friedman'" , References: <4794F175.5040708@gmail.com> Date: Mon, 21 Jan 2008 15:12:41 -0500 Organization: SourceHosting.net, LLC Message-ID: <003e01c85c69$fa35cb10$0c01a8c0@FIREBALL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4794F175.5040708@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchcZxq8p/xBsYhVRuS+722UUlOiNwAApaUw X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "mail1.sourcehosting.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > Content analysis details: (1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.9 TVD_RCVD_IP TVD_RCVD_IP -1.1 BAYES_05 BODY: Bayesian spam probability is 1 to 5% [score: 0.0201] 0.3 AWL AWL: From: address is in the auto white-list Cc: Subject: RE: cvs question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 20:57:29 -0000 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Aryeh > M. Friedman > I maintain a local repo of the via the cvs mode of cvsup. > When I do a: > > cvs -q -d /home/ncvs update > > It will update any modified files but will not add any new > files (it removes stale ones), but if I do a checkout it > overwrites my local modifications... any way to automatically > add new files but preserve local mods? Hi Aryeh, Give this a try: cvs -q -d /home/ncvs update -d The -d option given to the update subcommand builds directories the way cvs checkout does. Without it, update will only operate on directories that are already in your sandbox. Regards, Greg Larkin SourceHosting.net, LLC http://www.sourcehosting.net/ From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 20:20:35 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2777E16A41A for ; Mon, 21 Jan 2008 20:20:35 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id E262113C461 for ; Mon, 21 Jan 2008 20:20:34 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from homeKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 9CFB9405CA3 for ; Mon, 21 Jan 2008 20:54:20 +0100 (CET) Message-ID: <4794F86B.6050504@bsdforen.de> Date: Mon, 21 Jan 2008 20:54:19 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20071203) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 21 Jan 2008 21:05:17 +0000 Subject: making geom recognize cd changes 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, 21 Jan 2008 20:20:35 -0000 I'm trying to get geom to recognize atapi-cd changes in order to update the labels. I'm concentrating my efforts on src/sys/dev/ata/atapi-cd.c. I have tried to run acd_geom_attach and acd_geom_detach both directly and through the geom queue from acd_tray, but there is no effect. Something about my approach seems to be entirely wrong. Please make sure to CC me, I'm not subscribed to this list. From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 21:32:18 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FB3F16A420; Mon, 21 Jan 2008 21:32:18 +0000 (UTC) (envelope-from so14k@valentine.liquidneon.com) Received: from valentine.liquidneon.com (valentine.liquidneon.com [216.87.78.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7E113C45B; Mon, 21 Jan 2008 21:32:18 +0000 (UTC) (envelope-from so14k@valentine.liquidneon.com) Received: by valentine.liquidneon.com (Postfix, from userid 1018) id A7B668FD71; Mon, 21 Jan 2008 14:00:10 -0700 (MST) Date: Mon, 21 Jan 2008 14:00:10 -0700 From: Brad Davis To: freebsd-hackers@FreeBSD.org Message-ID: <20080121210010.GC15409@valentine.liquidneon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@FreeBSD.org Subject: FreeBSD Status Reports due: January 28th, 2008 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, 21 Jan 2008 21:32:18 -0000 Hi Everyone, It is that time again. We would like to remind everybody who has exciting news to share to write a report about their project. This is a good way to improve exposure of your work, receive feedback and help. As we are closing in on 7.0 everybody is interested to know what's new - so please, do tell! Looking forward to your reports. As always you can either use the template or the CGI generator and mail the output to monthly@ by Monday January 28th, 2008. http://www.freebsd.org/news/status/ http://www.freebsd.org/cgi/monthly.cgi http://www.freebsd.org/news/status/report-sample.xml Regards, Brad Davis From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 21:36:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F14C16A420; Mon, 21 Jan 2008 21:36:21 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from alpha.roedu.net (alpha.roedu.net [81.180.250.131]) by mx1.freebsd.org (Postfix) with ESMTP id D1B3F13C458; Mon, 21 Jan 2008 21:36:20 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from localhost (localhost [127.0.0.1]) by alpha.roedu.net (Postfix) with ESMTP id 732829B360; Mon, 21 Jan 2008 23:06:50 +0200 (EET) X-Virus-Scanned: amavisd-new at roedu.net Received: from alpha.roedu.net ([127.0.0.1]) by localhost (alpha.roedu.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXmi2pLzgmrW; Mon, 21 Jan 2008 23:06:36 +0200 (EET) Received: from [172.27.2.200] (c7.campus.utcluj.ro [193.226.6.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by alpha.roedu.net (Postfix) with ESMTP id 78F889B2E0; Mon, 21 Jan 2008 23:06:36 +0200 (EET) Message-ID: <47950952.6040909@roedu.net> Date: Mon, 21 Jan 2008 23:06:26 +0200 From: Cristian KLEIN User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Eygene Ryabinkin References: <4c65bf9e-80e5-4c0b-acef-d9914a57679f@i12g2000prf.googlegroups.com> <47728D80.5010507@zirakzigil.org> <475A8637.9020507@zirakzigil.org> <20071212155244.GJ1442@daemon.grid.kiae.ru> <4760114D.6020203@zirakzigil.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Giulio Ferro , nork@FreeBSD.org Subject: Re: Synaptics 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, 21 Jan 2008 21:36:21 -0000 Hi everybody, Eygene Ryabinkin wrote: > Giulio, good day. > > Wed, Dec 12, 2007 at 05:50:21PM +0100, Giulio Ferro wrote: >> Eygene Ryabinkin wrote: >>>> -------------- >>>> (II) Synaptics touchpad driver version 0.14.6 (1406) >>>> Synaptics_Touchpad no synaptics event device found (checked 10 nodes) >>>> Synaptics_Touchpad The /dev/input/event* device nodes seem to be missing >>>> (EE) xf86OpenSerial: No Device specified. >>>> Synaptics driver unable to open device >>>> >>> And what if you'll specify >>> ----- >>> Option "Device" "/dev/psm0" >>> Option "Protocol" "psm" >>> ----- >>> in the xorg.conf? I assume that you have your synaptics touchpad >>> as the /dev/psm0. >>> >> Yes, I have the touchpad as /dev/psm0 > > But what protocol is selected? From your Xorg log I assume that > it is either "event", "auto-dev" or not set at all. I just ran into the same problem. In xorg.conf I explicitly told the synaptics driver to use "psm" and "/dev/psm0", but the error message would suggest that it uses "event". Also, I tried to change the source code of the synaptics driver (synaptics.c) and hard-coded "psm" as the only driver, no matter what xorg.conf says. Synaptics still would not start, but this time complaining that no device was specified. Please note that I had "Device" in my xorg.conf, but the error suggests that the driver ignored it. It almost seems that no matter what options I pass to synaptics, it does not receive them. Is it possible that Xorg's option retrieval functions have changed making the (relatively) old synaptics unusable? From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 00:55:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A130D16A418 for ; Tue, 22 Jan 2008 00:55:11 +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 6A4C913C43E for ; Tue, 22 Jan 2008 00:55:11 +0000 (UTC) (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 C942546CFD; Mon, 21 Jan 2008 19:55:10 -0500 (EST) Date: Tue, 22 Jan 2008 00:55:10 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Greg Larkin In-Reply-To: <003e01c85c69$fa35cb10$0c01a8c0@FIREBALL> Message-ID: <20080122005137.E26973@fledge.watson.org> References: <4794F175.5040708@gmail.com> <003e01c85c69$fa35cb10$0c01a8c0@FIREBALL> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, "'Aryeh M. Friedman'" Subject: RE: cvs 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: Tue, 22 Jan 2008 00:55:11 -0000 On Mon, 21 Jan 2008, Greg Larkin wrote: > cvs -q -d /home/ncvs update -d > > The -d option given to the update subcommand builds directories the way cvs > checkout does. Without it, update will only operate on directories that are > already in your sandbox. In principle you only need to specify the first "-d" when you check out, after that if you are working in the sandbox it remembers what you last used (for some approximation of "used"). I like to use "-P" in the second set of flags since it will remove empty directories which are a result of CVS tracking the history only of files, not directories. Example checkout: cd /usr ; cvs -d /home/ncvs co -r RELENG_7 -P src Example update: cd /usr/src ; cvs update -dP If you are running as a user other than the owner of /home/ncvs, "-R" is quite useful as it skips locking. Finally, I also like "-q" to make CVS a bit less chatty. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 08:11:03 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CA0E16A41B; Tue, 22 Jan 2008 08:11:03 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id A5FE013C461; Tue, 22 Jan 2008 08:11:02 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=bm6h2D9hlouCwHq7k/VZYl4m0s2HszItjmtqQln+9Wdb6mkgRLV/xdIMDgiMLbMg8JEjYCLSnYJwUWYpn1bXlXyLb6HRbtYMb0z8PfYdLIt8e5YtjGOoQU6MZTyxBmk9AdlbPT/lvuc21dl3Xz6JjMbn2O7IQ1nPKLOtIr8wTe8=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JHEDk-00072k-6n; Tue, 22 Jan 2008 11:11:00 +0300 Date: Tue, 22 Jan 2008 11:10:58 +0300 From: Eygene Ryabinkin To: Cristian KLEIN Message-ID: References: <4c65bf9e-80e5-4c0b-acef-d9914a57679f@i12g2000prf.googlegroups.com> <47728D80.5010507@zirakzigil.org> <475A8637.9020507@zirakzigil.org> <20071212155244.GJ1442@daemon.grid.kiae.ru> <4760114D.6020203@zirakzigil.org> <47950952.6040909@roedu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <47950952.6040909@roedu.net> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.0 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: freebsd-hackers@freebsd.org, Giulio Ferro , nork@FreeBSD.org Subject: Re: Synaptics 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, 22 Jan 2008 08:11:03 -0000 Cristian, good day. Mon, Jan 21, 2008 at 11:06:26PM +0200, Cristian KLEIN wrote: > Eygene Ryabinkin wrote: >> But what protocol is selected? From your Xorg log I assume that >> it is either "event", "auto-dev" or not set at all. > > I just ran into the same problem. In xorg.conf I explicitly told the > synaptics driver to use "psm" and "/dev/psm0", but the error message would > suggest that it uses "event". > > Also, I tried to change the source code of the synaptics driver > (synaptics.c) and hard-coded "psm" as the only driver, no matter what > xorg.conf says. Synaptics still would not start, but this time complaining > that no device was specified. Please note that I had "Device" in my > xorg.conf, but the error suggests that the driver ignored it. Could you please provide your Xorg configuration file and the Xorg logs for the run when you had hardcoded psm driver. It will also be good to see the modified Synaptics driver source file. And the version and platform for your FreeBSD is? > It almost seems that no matter what options I pass to synaptics, it does > not receive them. Is it possible that Xorg's option retrieval functions > have changed making the (relatively) old synaptics unusable? Maybe, but I am running Synaptics driver on my laptop for years and it works now without any problems. My laptop is i386, it runs FreeBSD 7-PRERELEASE, Xorg server 1.4_3,1 and synaptics 0.14.6_2. If you'll provide the information, I will try to look at the problem, but I expect to start investigations next week. -- Eygene From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 10:57:28 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1A816A41B for ; Tue, 22 Jan 2008 10:57:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 683C113C474 for ; Tue, 22 Jan 2008 10:57:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id F11781B10EEE; Tue, 22 Jan 2008 11:57:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 731881B10EA4 for ; Tue, 22 Jan 2008 11:57:24 +0100 (CET) Message-ID: <4795CC13.7080601@moneybookers.com> Date: Tue, 22 Jan 2008 12:57:23 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5519/Tue Jan 22 05:46:17 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: Subject: gettimeofday() in hping 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, 22 Jan 2008 10:57:28 -0000 Greetings, I noticed that hping3 (from ports) is quite slower when running on FreeBSD compared to Linux. Simple ktrace shows lot of gettimeofday() calls, so I'm looking for replacement of this function. I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this yield worse performance. Of course changing timecounter to TSC make hping almost twice faster, but I'm wandering if I can optimize things more? -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 11:37:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A213216A46B for ; Tue, 22 Jan 2008 11:37:04 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 1C98713C447 for ; Tue, 22 Jan 2008 11:37:03 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fg-out-1718.google.com with SMTP id 16so2348235fgg.35 for ; Tue, 22 Jan 2008 03:37:03 -0800 (PST) Received: by 10.82.187.2 with SMTP id k2mr14477399buf.16.1201000146115; Tue, 22 Jan 2008 03:09:06 -0800 (PST) Received: by 10.82.187.11 with HTTP; Tue, 22 Jan 2008 03:09:06 -0800 (PST) Message-ID: Date: Tue, 22 Jan 2008 13:09:06 +0200 From: "Vlad GALU" To: freebsd-hackers@freebsd.org In-Reply-To: <4795CC13.7080601@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4795CC13.7080601@moneybookers.com> Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 11:37:04 -0000 On 1/22/08, Stefan Lambrev wrote: > Greetings, > > I noticed that hping3 (from ports) is quite slower when running on > FreeBSD compared to Linux. > Simple ktrace shows lot of gettimeofday() calls, so I'm looking for > replacement of this function. > I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this > yield worse performance. > Of course changing timecounter to TSC make hping almost twice faster, > but I'm wandering if I can optimize things more? > Also, is it possible to bypass the ACPI timer entirely without disabling the whole ACPI, in order to use TSC as the default timecounter? > -- > > Best Wishes, > Stefan Lambrev > ICQ# 24134177 > > _______________________________________________ > 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" > -- Mahnahmahnah! From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 12:23:07 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A463A16A418 for ; Tue, 22 Jan 2008 12:23:07 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4838613C448 for ; Tue, 22 Jan 2008 12:23:07 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 74F7A207F; Tue, 22 Jan 2008 13:22:58 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 68ACB2049; Tue, 22 Jan 2008 13:22:58 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 4DC68844B7; Tue, 22 Jan 2008 13:22:58 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> Date: Tue, 22 Jan 2008 13:22:58 +0100 In-Reply-To: <4795CC13.7080601@moneybookers.com> (Stefan Lambrev's message of "Tue\, 22 Jan 2008 12\:57\:23 +0200") Message-ID: <868x2i3v8d.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 12:23:07 -0000 Stefan Lambrev writes: > I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this > yield worse performance. Try CLOCK_MONOTONIC instead. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 12:26:39 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D023916A420 for ; Tue, 22 Jan 2008 12:26:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7364E13C4EA for ; Tue, 22 Jan 2008 12:26:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 790C22083; Tue, 22 Jan 2008 13:26:31 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 05466207E; Tue, 22 Jan 2008 13:26:30 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id DE1FE844B6; Tue, 22 Jan 2008 13:26:30 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> Date: Tue, 22 Jan 2008 13:26:30 +0100 In-Reply-To: <868x2i3v8d.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Tue\, 22 Jan 2008 13\:22\:58 +0100") Message-ID: <864pd63v2h.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 12:26:39 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Stefan Lambrev writes: > > I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this > > yield worse performance. > Try CLOCK_MONOTONIC instead. I forgot - there are also the FreeBSD-specific CLOCK_REALTIME_FAST and CLOCK_MONOTONIC_FAST if you can live with a little bit of jitter. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 14:03:35 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E0F16A41A for ; Tue, 22 Jan 2008 14:03:35 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB8213C4EB for ; Tue, 22 Jan 2008 14:03:34 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m0MDYF6M005213; Tue, 22 Jan 2008 08:34:15 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Tue, 22 Jan 2008 08:34:16 -0500 (EST) Date: Tue, 22 Jan 2008 08:34:15 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <864pd63v2h.fsf@ds4.des.no> Message-ID: References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1201008855=:4862" Cc: freebsd-hackers@freebsd.org, Stefan Lambrev Subject: Re: gettimeofday() in hping X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 14:03:35 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-851401618-1201008855=:4862 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 22 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: > Dag-Erling Sm=C3=B8rgrav writes: >> Stefan Lambrev writes: >>> I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this >>> yield worse performance. >> Try CLOCK_MONOTONIC instead. > > I forgot - there are also the FreeBSD-specific CLOCK_REALTIME_FAST and > CLOCK_MONOTONIC_FAST if you can live with a little bit of jitter. Not to discount any of your suggestions, but isn't the better performance of gettimeofday() (and perhaps clock_gettime() also) in Linux because they have access to the time in userland and can implement it without a system call? I seem to recall this being mentioned before, I could be wrong... --=20 DE ---559023410-851401618-1201008855=:4862-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 14:31:55 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 810E416A41A for ; Tue, 22 Jan 2008 14:31:55 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3CAAB13C4EB for ; Tue, 22 Jan 2008 14:31:55 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id EFE8B1B10EFD; Tue, 22 Jan 2008 15:31:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, MIME_8BIT_HEADER autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 52B1D1B10C26; Tue, 22 Jan 2008 15:31:48 +0100 (CET) Message-ID: <4795FE54.9090606@moneybookers.com> Date: Tue, 22 Jan 2008 16:31:48 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> In-Reply-To: <864pd63v2h.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV 0.91.2/5519/Tue Jan 22 05:46:17 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 14:31:55 -0000 Greetings, Dag-Erling Sm=C3=B8rgrav wrote: > Dag-Erling Sm=C3=B8rgrav writes: > =20 >> Stefan Lambrev writes: >> =20 >>> I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this= >>> yield worse performance. >>> =20 >> Try CLOCK_MONOTONIC instead. >> =20 > > I forgot - there are also the FreeBSD-specific CLOCK_REALTIME_FAST and > CLOCK_MONOTONIC_FAST if you can live with a little bit of jitter. > > DES > =20 Thanks for your reply. I tested all different combination. The performance change is almost=20 invisible (100-200KB/s), and can't be compared with the performance boost that TSC gain over=20 ACPI-fast timecounter. Unfortunately TSC doesn't play nice with power saving modes. --=20 Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 14:32:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02CF316A41B; Tue, 22 Jan 2008 14:32:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B578613C45A; Tue, 22 Jan 2008 14:32:52 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id B6AAB2085; Tue, 22 Jan 2008 15:32:44 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id A70242083; Tue, 22 Jan 2008 15:32:44 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 8E4AA844B6; Tue, 22 Jan 2008 15:32:44 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Daniel Eischen References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> Date: Tue, 22 Jan 2008 15:32:44 +0100 In-Reply-To: (Daniel Eischen's message of "Tue\, 22 Jan 2008 08\:34\:15 -0500 \(EST\)") Message-ID: <86prvu0w37.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Stefan Lambrev Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 14:32:53 -0000 Daniel Eischen writes: > Not to discount any of your suggestions, but isn't the better > performance of gettimeofday() (and perhaps clock_gettime() also) > in Linux because they have access to the time in userland and > can implement it without a system call? I seem to recall this > being mentioned before, I could be wrong... Please don't bring this up again. Search the archives instead. There are very good reasons why this was solved the way it was in FreeBSD. Executive summary: a) gettimeofday() *is* a system call in Linux. b) gettimeofday() is slow in FreeBSD because it is correct. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 14:35:03 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7248B16A418 for ; Tue, 22 Jan 2008 14:35:03 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 34B9E13C47E for ; Tue, 22 Jan 2008 14:35:03 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 9C5D22083; Tue, 22 Jan 2008 15:34:55 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 8FEB52049; Tue, 22 Jan 2008 15:34:55 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 68FBD84487; Tue, 22 Jan 2008 15:34:55 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> Date: Tue, 22 Jan 2008 15:34:55 +0100 In-Reply-To: <4795FE54.9090606@moneybookers.com> (Stefan Lambrev's message of "Tue\, 22 Jan 2008 16\:31\:48 +0200") Message-ID: <86lk6i0vzk.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 14:35:03 -0000 Stefan Lambrev writes: > I tested all different combination. The performance change is almost > invisible (100-200KB/s), and can't be compared with the performance > boost that TSC gain over ACPI-fast timecounter. Unfortunately TSC > doesn't play nice with power saving modes. This will vary greatly from machine to machine, depending on the exact hardware and the ACPI BIOS. More modern machines have an HPET timer which is supposedly faster than ACPI yet more reliable than TSC. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 14:39:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF0BB16A4AB for ; Tue, 22 Jan 2008 14:39:20 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2F513C55B for ; Tue, 22 Jan 2008 14:39:20 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id 60C59FB9405 for ; Tue, 22 Jan 2008 14:39:17 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id BA45F175CA; Tue, 22 Jan 2008 15:39:52 +0100 (CET) Date: Tue, 22 Jan 2008 15:39:52 +0100 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20080122143952.GA18194@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86lk6i0vzk.fsf@ds4.des.no> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 14:39:21 -0000 On Tue, Jan 22, 2008 at 03:34:55PM +0100, Dag-Erling Sm?rgrav wrote: > More modern machines have an HPET timer which is supposedly faster than > ACPI yet more reliable than TSC. For NetBSD on AMD64 on a 1.2GHz Core2: ACPI ~2400 cycles HPET ~1500 cycles TSC ~800 cycles clockinterrupt ~600 cycles Those are from memory, give or take 10%. This is for the gettimeofday system call. Joerg From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 15:04:10 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2124116A417 for ; Tue, 22 Jan 2008 15:04:10 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id D789F13C457 for ; Tue, 22 Jan 2008 15:04:09 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 7214A1B10EBB; Tue, 22 Jan 2008 16:04:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, MIME_8BIT_HEADER autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 500681B10ED2; Tue, 22 Jan 2008 16:04:02 +0100 (CET) Message-ID: <479605E2.6070709@moneybookers.com> Date: Tue, 22 Jan 2008 17:04:02 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> In-Reply-To: <86lk6i0vzk.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV 0.91.2/5520/Tue Jan 22 14:09:49 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 15:04:10 -0000 Hi, Dag-Erling Sm=C3=B8rgrav wrote: > Stefan Lambrev writes: > =20 >> I tested all different combination. The performance change is almost >> invisible (100-200KB/s), and can't be compared with the performance >> boost that TSC gain over ACPI-fast timecounter. Unfortunately TSC >> doesn't play nice with power saving modes. >> =20 > > This will vary greatly from machine to machine, depending on the exact > hardware and the ACPI BIOS. > > More modern machines have an HPET timer which is supposedly faster than= > ACPI yet more reliable than TSC. > > DES > =20 I do not have HEPT on the servers that I test, but simple test on my=20 laptop shows that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET and 8MB/s with TSC. I didn't check dummy time counter. Also I noticed that there is a kern.timecounter.tc.XXX.quality (read only= ). Can this be used to reduce quality and speed up performance? --=20 Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 17:02:56 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA3916A420 for ; Tue, 22 Jan 2008 17:02:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9FD513C457; Tue, 22 Jan 2008 17:02:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <479621BE.2060907@FreeBSD.org> Date: Tue, 22 Jan 2008 18:02:54 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> In-Reply-To: <479605E2.6070709@moneybookers.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 17:02:56 -0000 Stefan Lambrev wrote: > Hi, > > Dag-Erling Smørgrav wrote: >> Stefan Lambrev writes: >> >>> I tested all different combination. The performance change is almost >>> invisible (100-200KB/s), and can't be compared with the performance >>> boost that TSC gain over ACPI-fast timecounter. Unfortunately TSC >>> doesn't play nice with power saving modes. >>> >> >> This will vary greatly from machine to machine, depending on the exact >> hardware and the ACPI BIOS. >> >> More modern machines have an HPET timer which is supposedly faster than >> ACPI yet more reliable than TSC. >> >> DES >> > I do not have HEPT on the servers that I test, but simple test on my > laptop shows > that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET > and 8MB/s with TSC. I didn't check dummy time counter. > Also I noticed that there is a kern.timecounter.tc.XXX.quality (read only). > Can this be used to reduce quality and speed up performance? No, they are meaningless values only used to rank the time counters and choose one at boot. You should use hwpmc to verify where the application is really spending time, since gettimeofday doesn't seem to account for it all. Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 18:22:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD3A16A41B for ; Tue, 22 Jan 2008 18:22:10 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BE5BB13C4EA for ; Tue, 22 Jan 2008 18:22:09 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHNl5-0006Q1-5l for freebsd-hackers@freebsd.org; Tue, 22 Jan 2008 18:22:03 +0000 Received: from 78-0-80-205.adsl.net.t-com.hr ([78.0.80.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 18:22:03 +0000 Received: from ivoras by 78-0-80-205.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 18:22:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Tue, 22 Jan 2008 19:21:49 +0100 Lines: 38 Message-ID: References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig903686BDD2D3C21005F85A6F" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-80-205.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <479605E2.6070709@moneybookers.com> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 18:22:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig903686BDD2D3C21005F85A6F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Stefan Lambrev wrote: > I do not have HEPT on the servers that I test, but simple test on my=20 > laptop shows > that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET > and 8MB/s with TSC.=20 How much can Linux handle? >I didn't check dummy time counter. If you do, it would give a nice indicator of how much the time counters=20 are expensive in both absolute terms and relative to the rest of the=20 stuff the program does (network IO). The "dummy" timecounter just=20 increments a number when called, no time keeping is involved. --------------enig903686BDD2D3C21005F85A6F 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.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHljQ9ldnAQVacBcgRAuvJAKDLDmXtTXM+J3BS8f/Riw87y5d6JgCfR3Ju xRsqIF7H+T8aazZJ3kxOQ64= =wzUH -----END PGP SIGNATURE----- --------------enig903686BDD2D3C21005F85A6F-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 18:27:13 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB49416A51C for ; Tue, 22 Jan 2008 18:27:13 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 61D4F13C461 for ; Tue, 22 Jan 2008 18:27:13 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id BD5AB1B10EFF; Tue, 22 Jan 2008 19:27:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id 7BD121B10EBB; Tue, 22 Jan 2008 19:27:08 +0100 (CET) Message-ID: <4796357B.9020508@moneybookers.com> Date: Tue, 22 Jan 2008 20:27:07 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> In-Reply-To: <479621BE.2060907@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV 0.91.2/5521/Tue Jan 22 15:55:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 18:27:13 -0000 Greetings, Kris Kennaway wrote: > Stefan Lambrev wrote: >> Hi, >> >> Dag-Erling Sm=C3=B8rgrav wrote: >>> Stefan Lambrev writes: >>> =20 >>>> I tested all different combination. The performance change is almost= >>>> invisible (100-200KB/s), and can't be compared with the performance >>>> boost that TSC gain over ACPI-fast timecounter. Unfortunately TSC >>>> doesn't play nice with power saving modes. >>>> =20 >>> >>> This will vary greatly from machine to machine, depending on the exac= t >>> hardware and the ACPI BIOS. >>> >>> More modern machines have an HPET timer which is supposedly faster th= an >>> ACPI yet more reliable than TSC. >>> >>> DES >>> =20 >> I do not have HEPT on the servers that I test, but simple test on my=20 >> laptop shows >> that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET= >> and 8MB/s with TSC. I didn't check dummy time counter. >> Also I noticed that there is a kern.timecounter.tc.XXX.quality (read=20 >> only). >> Can this be used to reduce quality and speed up performance? > > No, they are meaningless values only used to rank the time counters=20 > and choose one at boot. > > You should use hwpmc to verify where the application is really=20 > spending time, since gettimeofday doesn't seem to account for it all. pmc: Unknown Intel CPU. module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d,=20 0xffffffff8054c500) error 78 What was the other way to do this profiling? Can ktrace help? Here is sample of kdump -R: 7501 hping 0.000013 RET sendto 40/0x28 7501 hping 0.000019 CALL sigaction(SIGALRM,0xbfbfe8a8,0xbfbfe890) 7501 hping 0.000014 RET sigaction 0 7501 hping 0.000013 CALL setitimer(0,0xbfbfe8b4,0xbfbfe8a4) 7501 hping 0.000016 RET setitimer 0 7501 hping 0.000017 CALL gettimeofday(0xbfbfe870,0) 7501 hping 0.000022 RET gettimeofday 0 7501 hping 0.000015 CALL gettimeofday(0xbfbfe868,0) 7501 hping 0.000016 RET gettimeofday 0 7501 hping 0.000015 CALL sendto(0x3,0x28317040,0x28,0,0x8067d80,0x1= 0) 7501 hping 0.000026 GIO fd 3 wrote 40 bytes --=20 Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 18:42:27 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA1E416A418 for ; Tue, 22 Jan 2008 18:42:27 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97CFD13C45B; Tue, 22 Jan 2008 18:42:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47963911.4000002@FreeBSD.org> Date: Tue, 22 Jan 2008 19:42:25 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> In-Reply-To: <4796357B.9020508@moneybookers.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 18:42:28 -0000 Stefan Lambrev wrote: >> You should use hwpmc to verify where the application is really >> spending time, since gettimeofday doesn't seem to account for it all. > pmc: Unknown Intel CPU. > module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, > 0xffffffff8054c500) error 78 OK, this is the famous problem with modern CPUs that jkoshy has declined to work around :( There are patches for this in perforce, see http://perforce.freebsd.org/changeView.cgi?CH=126189 > What was the other way to do this profiling? No other that I have found to be useful. > Can ktrace help? Not really, it only tells you what syscalls were made. Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 19:26:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 056A416A419 for ; Tue, 22 Jan 2008 19:26:19 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id B31D813C442 for ; Tue, 22 Jan 2008 19:26:18 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 646EE1B10EF3; Tue, 22 Jan 2008 20:26:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id BF7921B10EE8; Tue, 22 Jan 2008 20:26:14 +0100 (CET) Message-ID: <47964356.6030602@moneybookers.com> Date: Tue, 22 Jan 2008 21:26:14 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Ivan Voras References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5521/Tue Jan 22 15:55:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 19:26:19 -0000 Hi, Ivan Voras wrote: > Stefan Lambrev wrote: > >> I do not have HEPT on the servers that I test, but simple test on my >> laptop shows >> that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET >> and 8MB/s with TSC. > > How much can Linux handle? Will install ubuntu on the same machine and let you know, but my experience shows that FreeBSD + TSC have the same performance as Linux. > > >I didn't check dummy time counter. > > If you do, it would give a nice indicator of how much the time > counters are expensive in both absolute terms and relative to the rest > of the stuff the program does (network IO). The "dummy" timecounter > just increments a number when called, no time keeping is involved. > > Here are the max speeds I can reach with different counters (on the test server): i8254 - 3.660 MB/s ACPI-fast - 7.137 MB/s TSC - 12.519 MB/s dummy - 12.366 MB/s -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 19:46:06 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 194B116A421; Tue, 22 Jan 2008 19:46:06 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 11B7113C4E3; Tue, 22 Jan 2008 19:46:03 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <479647FB.3070909@FreeBSD.org> Date: Tue, 22 Jan 2008 20:46:03 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> In-Reply-To: <47964356.6030602@moneybookers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 19:46:06 -0000 Stefan Lambrev wrote: >> How much can Linux handle? > Will install ubuntu on the same machine and let you know, but my > experience shows that FreeBSD + TSC > have the same performance as Linux With which timecounter? > Here are the max speeds I can reach with different counters (on the test > server): > > i8254 - 3.660 MB/s > ACPI-fast - 7.137 MB/s > TSC - 12.519 MB/s > dummy - 12.366 MB/s Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 20:22:16 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2179016A417; Tue, 22 Jan 2008 20:22:16 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id D033413C447; Tue, 22 Jan 2008 20:22:15 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 8EC561B10EF3; Tue, 22 Jan 2008 21:22:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_65 autolearn=no version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id 984101B10EFA; Tue, 22 Jan 2008 21:22:11 +0100 (CET) Message-ID: <47965072.7030700@moneybookers.com> Date: Tue, 22 Jan 2008 22:22:10 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> In-Reply-To: <47963911.4000002@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5521/Tue Jan 22 15:55:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 20:22:16 -0000 Kris Kennaway wrote: > Stefan Lambrev wrote: > >>> You should use hwpmc to verify where the application is really >>> spending time, since gettimeofday doesn't seem to account for it all. >> pmc: Unknown Intel CPU. >> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, >> 0xffffffff8054c500) error 78 > > OK, this is the famous problem with modern CPUs that jkoshy has > declined to work around :( There are patches for this in perforce, see > > http://perforce.freebsd.org/changeView.cgi?CH=126189 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c linking kernel.debug hwpmc_x86.o(.text+0x1a5): In function `pmc_md_initialize': /usr/src/sys/dev/hwpmc/hwpmc_x86.c:144: undefined reference to `pmc_initialize_p6' Any chance you have patches against RELENG_7_0 ? :) > >> What was the other way to do this profiling? > > No other that I have found to be useful. > >> Can ktrace help? > > Not really, it only tells you what syscalls were made. But it can also display relative timestamps (time since previous entry). Can't this be useful? > > Kris > _______________________________________________ > 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" -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 20:24:52 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DA5A16A418 for ; Tue, 22 Jan 2008 20:24:52 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0621713C4E5; Tue, 22 Jan 2008 20:24:50 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47965112.5020009@FreeBSD.org> Date: Tue, 22 Jan 2008 21:24:50 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <47965072.7030700@moneybookers.com> In-Reply-To: <47965072.7030700@moneybookers.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 20:24:52 -0000 Stefan Lambrev wrote: > > Kris Kennaway wrote: >> Stefan Lambrev wrote: >> >>>> You should use hwpmc to verify where the application is really >>>> spending time, since gettimeofday doesn't seem to account for it all. >>> pmc: Unknown Intel CPU. >>> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, >>> 0xffffffff8054c500) error 78 >> >> OK, this is the famous problem with modern CPUs that jkoshy has >> declined to work around :( There are patches for this in perforce, see >> >> http://perforce.freebsd.org/changeView.cgi?CH=126189 > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona > -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c > linking kernel.debug > hwpmc_x86.o(.text+0x1a5): In function `pmc_md_initialize': > /usr/src/sys/dev/hwpmc/hwpmc_x86.c:144: undefined reference to > `pmc_initialize_p6' > > Any chance you have patches against RELENG_7_0 ? :) They should apply, but maybe you will also need other patches from that branch. >>> What was the other way to do this profiling? >> >> No other that I have found to be useful. >> >>> Can ktrace help? >> >> Not really, it only tells you what syscalls were made. > But it can also display relative timestamps (time since previous entry). > Can't this be useful? Not really, it doesn't give enough of a cross-section into what your machine is spending its time doing. Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 20:30:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D485616A41A; Tue, 22 Jan 2008 20:30:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 8F84E13C457; Tue, 22 Jan 2008 20:30:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 66BE01B10EF0; Tue, 22 Jan 2008 21:30:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id BCF7A1B10EF2; Tue, 22 Jan 2008 21:30:24 +0100 (CET) Message-ID: <47965260.7010707@moneybookers.com> Date: Tue, 22 Jan 2008 22:30:24 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> In-Reply-To: <479647FB.3070909@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5521/Tue Jan 22 15:55:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 22 Jan 2008 20:30:28 -0000 Kris Kennaway wrote: > Stefan Lambrev wrote: > >>> How much can Linux handle? >> Will install ubuntu on the same machine and let you know, but my >> experience shows that FreeBSD + TSC >> have the same performance as Linux > > With which timecounter? I guess the default as it is not set anywhere (in linux it can be changed only during boot time i think) Do you have idea how can I see the current timecounter on linux ? :) This is what I found in dmesg: time.c: Using 3.579545 MHz PM timer. Calibrating delay using timer specific routine.. 4416.34 BogoMIPS (lpj=2208170) Calibrating delay using timer specific routine.. 4409.37 BogoMIPS (lpj=2204688) Using local APIC timer interrupts. Detected 12.528 MHz APIC timer. Disabling vsyscall due to use of PM timer I guess this means that ACPI timer or PM Timer is used? :) > >> Here are the max speeds I can reach with different counters (on the >> test server): >> >> i8254 - 3.660 MB/s >> ACPI-fast - 7.137 MB/s >> TSC - 12.519 MB/s >> dummy - 12.366 MB/s > > Kris > _______________________________________________ > 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" -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 05:39:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A82E16A41A for ; Wed, 23 Jan 2008 05:39:53 +0000 (UTC) (envelope-from brucem@mail.cruzio.com) Received: from cruzio.com (dsl-63-249-85-132.cruzio.com [63.249.85.132]) by mx1.freebsd.org (Postfix) with ESMTP id 21E0913C457 for ; Wed, 23 Jan 2008 05:39:53 +0000 (UTC) (envelope-from brucem@mail.cruzio.com) Received: from mail.cruzio.com (localhost [127.0.0.1]) by cruzio.com (8.12.10/8.12.10) with ESMTP id m0N6Y03x000428; Tue, 22 Jan 2008 22:34:00 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.12.10/8.12.10/Submit) id m0N6Y0tf000427; Tue, 22 Jan 2008 22:34:00 -0800 (PST) (envelope-from brucem) Date: Tue, 22 Jan 2008 22:34:00 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200801230634.m0N6Y0tf000427@mail.cruzio.com> To: freebsd-hackers@freebsd.org Cc: alec@SetFilePointer.com Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 23 Jan 2008 05:39:53 -0000 Hi, re this from Alec Kloss, 21 Jan 2008: > I'm hoping someone will be able to help me out with the audio is > the Geode CS5536. This has come up a few times before, once early > this month and once last February. The CS5530 driver mentioned on > the soundsystem wiki doesn't work. > > ... > > Original FreeBSD gx5530 driver: > ... Hi, I wrote the geode audio driver for the CS5530 (found at the mentioned link), a good while back, I think for FreeBSD 4.x. This week is the first time I've received any feedback on this driver, a couple of pings along the line of the above. I honestly hadn't realized anybody was using it (I guess that's the problem with it working). If there was a thread last february, I must have missed it. I dont think I've ever seen the soundsystem wiki. I would try to fix/upgrade this driver if I had any hardware with a CS5536, but I don't. That said, can anyone recomend a cheap system that includes the CS5536, is generally available, doesn't cost very much and can be used as a minimal dev platform? (Surely all the OLPC work has made some interesting such systems available?) Or would anyone want to donate a "free" current AMD Geode reference platform? :) Even with hardware, it would probably be at least a month before I had time to look at it. Someone who knew FreeBSD drivers could probably fix it in a few compiles, if 5536 device-specific initialization is the problem. I only vaguely recall some of the initialization issues---I think there is a "magic bitmask" that has to be passed to the hypervisor (perhaps indirectly) to tell the hypervisor what _not_ to manage, so the FreeBSD driver will be able to manage it. I really hope this interface requirement is documented better for the CS5536 than the 5530, but maybe things weren't as bad as I remember. I think there can be a lot of dependencies between the CPU step, BIOS version, hypervisor version and southbridge (5536) version. It's kind of interesting to note that the Geode had a "hypervisor in the firmware" about a decade ago, somewhat similar to the manner that folks like VMware are now starting to do with ESX 3i "hardware-integrated hypervisor", etc... (the Geode hypervisor did not provide multiple CPU instances, rather virtual devices). -bruce From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 09:54:52 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C429516A419; Wed, 23 Jan 2008 09:54:52 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 6FB0A13C478; Wed, 23 Jan 2008 09:54:52 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id E4A811B10EFF; Wed, 23 Jan 2008 10:54:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id A24501B10ED2; Wed, 23 Jan 2008 10:54:43 +0100 (CET) Message-ID: <47970EE2.5000400@moneybookers.com> Date: Wed, 23 Jan 2008 11:54:42 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> In-Reply-To: <479647FB.3070909@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5529/Wed Jan 23 09:45:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 09:54:52 -0000 Greetings, Kris Kennaway wrote: > Stefan Lambrev wrote: > >>> How much can Linux handle? >> Will install ubuntu on the same machine and let you know, but my >> experience shows that FreeBSD + TSC >> have the same performance as Linux > > With which timecounter? On my colleague laptop which is little slower compared to mine hping with hpet timer reach 7.7MB/s and with TSC 8.5MB/s, and on my laptop I I do only 5.01MB/s with hpet. I have planned more accurate test for today. Btw can you tell me in which file pmc_initialize_p6 is defined, as searching in p4 is not very easy :) -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 11:23:02 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8194916A419 for ; Wed, 23 Jan 2008 11:23:02 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from alpha.roedu.net (alpha.roedu.net [81.180.250.131]) by mx1.freebsd.org (Postfix) with ESMTP id 28C9313C469 for ; Wed, 23 Jan 2008 11:23:02 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from localhost (localhost [127.0.0.1]) by alpha.roedu.net (Postfix) with ESMTP id 9F3819B39F for ; Wed, 23 Jan 2008 13:06:04 +0200 (EET) X-Virus-Scanned: amavisd-new at roedu.net Received: from alpha.roedu.net ([127.0.0.1]) by localhost (alpha.roedu.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 45i-EDKQG5e0 for ; Wed, 23 Jan 2008 13:06:03 +0200 (EET) Received: from mail.roedu.net (localhost [127.0.0.1]) by alpha.roedu.net (Postfix) with ESMTP id 820F79B31A for ; Wed, 23 Jan 2008 13:06:03 +0200 (EET) Received: from 193.226.5.33 (SquirrelMail authenticated user cristi) by mail.roedu.net with HTTP; Wed, 23 Jan 2008 13:06:03 +0200 (EET) Message-ID: <50587.193.226.5.33.1201086363.squirrel@mail.roedu.net> Date: Wed, 23 Jan 2008 13:06:03 +0200 (EET) From: cristi@roedu.net To: hackers@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-XheaderVersion: 1.1 X-UserAgent: Cc: Subject: DIST_SUBDIR not working with MASTER_SITE_OVERRIDE 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, 23 Jan 2008 11:23:02 -0000 Hi everybody, I recently wanted to install some gnome stuff from ports. In order to boost the download speed, I did something like this: make MASTER_SITE_OVERRIDE=ftp://ftp1.ro.freebsd.org/pub/FreeBSD/distfiles/ as documented in the Handbook. However, many gnome packages seem to have DIST_SUBDIR in their Makefile, but MASTER_SITE_OVERRIDE doesn't care. This makes installing ports (with many dependencies) from known non-default sources very hard. The following patch addresses this problem. As a side-effect, if somebody does not have distfiles structured as on a FreeBSD mirror (a rare case I would say) he will have to find a workaround. --- bsd.port.mk.orig 2008-01-23 13:01:18.000000000 +0200 +++ bsd.port.mk 2008-01-23 13:01:45.000000000 +0200 @@ -2578,11 +2578,11 @@ # If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository # for everything, but don't search it twice by appending it to the end. .if defined(MASTER_SITE_FREEBSD) -_MASTER_SITE_OVERRIDE:= ${MASTER_SITE_BACKUP} +_MASTER_SITE_OVERRIDE:= ${MASTER_SITE_BACKUP}/${DIST_SUBDIR}/ _MASTER_SITE_BACKUP:= # empty .else -_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE} -_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP} +_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ +_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP}/${DIST_SUBDIR}/ .endif # Search CDROM first if mounted, symlink instead of copy if From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 11:26:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13EA216A417; Wed, 23 Jan 2008 11:26:47 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from alpha.roedu.net (alpha.roedu.net [81.180.250.131]) by mx1.freebsd.org (Postfix) with ESMTP id 196F013C45D; Wed, 23 Jan 2008 11:26:46 +0000 (UTC) (envelope-from cristi@roedu.net) Received: from localhost (localhost [127.0.0.1]) by alpha.roedu.net (Postfix) with ESMTP id B93C09B326; Wed, 23 Jan 2008 13:26:44 +0200 (EET) X-Virus-Scanned: amavisd-new at roedu.net Received: from alpha.roedu.net ([127.0.0.1]) by localhost (alpha.roedu.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lD+0AIxL3eRN; Wed, 23 Jan 2008 13:26:41 +0200 (EET) Received: from mail.roedu.net (localhost [127.0.0.1]) by alpha.roedu.net (Postfix) with ESMTP id BCAC79B2FB; Wed, 23 Jan 2008 13:26:31 +0200 (EET) Received: from 193.226.5.33 (SquirrelMail authenticated user cristi) by mail.roedu.net with HTTP; Wed, 23 Jan 2008 13:26:41 +0200 (EET) Message-ID: <41549.193.226.5.33.1201087601.squirrel@mail.roedu.net> In-Reply-To: References: <4c65bf9e-80e5-4c0b-acef-d9914a57679f@i12g2000prf.googlegroups.com> <47728D80.5010507@zirakzigil.org> <475A8637.9020507@zirakzigil.org> <20071212155244.GJ1442@daemon.grid.kiae.ru> <4760114D.6020203@zirakzigil.org> <47950952.6040909@roedu.net> Date: Wed, 23 Jan 2008 13:26:41 +0200 (EET) From: cristi@roedu.net To: "Eygene Ryabinkin" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20080123132641_31750" X-Priority: 3 (Normal) Importance: Normal X-XheaderVersion: 1.1 X-UserAgent: Cc: freebsd-hackers@freebsd.org, Cristian KLEIN , Giulio Ferro , nork@freebsd.org Subject: Re: Synaptics 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, 23 Jan 2008 11:26:47 -0000 ------=_20080123132641_31750 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit > Cristian, good day. > > Mon, Jan 21, 2008 at 11:06:26PM +0200, Cristian KLEIN wrote: >> Eygene Ryabinkin wrote: >>> But what protocol is selected? From your Xorg log I assume that >>> it is either "event", "auto-dev" or not set at all. >> >> I just ran into the same problem. In xorg.conf I explicitly told the >> synaptics driver to use "psm" and "/dev/psm0", but the error message >> would >> suggest that it uses "event". >> >> Also, I tried to change the source code of the synaptics driver >> (synaptics.c) and hard-coded "psm" as the only driver, no matter what >> xorg.conf says. Synaptics still would not start, but this time >> complaining >> that no device was specified. Please note that I had "Device" in my >> xorg.conf, but the error suggests that the driver ignored it. > > Could you please provide your Xorg configuration file and the Xorg > logs for the run when you had hardcoded psm driver. It will also > be good to see the modified Synaptics driver source file. > > And the version and platform for your FreeBSD is? I don't know why I keep forgetting to include essential information. Sorry. cristi:~# uname -a FreeBSD hades 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 10:10:07 UTC 2007 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 cristi:~# pkg_info | grep xorg-server xorg-server-1.4_3,1 X.Org X server and related programs cristi:~# pkg_info | grep synaptics synaptics-0.14.6_2 The Synaptics touchpad X driver Suppose I use the attached xorg.conf file, at some point, /var/log/Xorg.0.log shows the following error: (II) Synaptics touchpad driver version 0.14.6 (1406) Synaptics_Touchpad no synaptics event device found (checked 10 nodes) Synaptics_Touchpad The /dev/input/event* device nodes seem to be missing (EE) xf86OpenSerial: No Device specified. Synaptics driver unable to open device (EE) PreInit failed for input device "Synaptics_Touchpad" (II) UnloadModule: "synaptics" As you said, it looks like synaptics is trying to use the "auto" protocol, although the configuration file tells it to use "psm". Now, if I put the attached patch in x11-drivers/synaptics/files, using the same xorg.conf, synaptics will fail like this: (II) Synaptics touchpad driver version 0.14.6 (1406) (EE) xf86OpenSerial: No Device specified. Synaptics driver unable to open device (EE) PreInit failed for input device "Synaptics_Touchpad" (II) UnloadModule: "synaptics" It almost looks as if I have to hardcode the device too, because synaptics certainly ignores my options. Any ideas? ------=_20080123132641_31750 Content-Type: application/octet-stream; name="xorg.conf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="xorg.conf" IyBGaWxlIGdlbmVyYXRlZCBieSB4b3JnY29uZmlnLgoKIwojIENvcHlyaWdodCAyMDA0IFRoZSBY Lk9yZyBGb3VuZGF0aW9uCiMKIyBQZXJtaXNzaW9uIGlzIGhlcmVieSBncmFudGVkLCBmcmVlIG9m IGNoYXJnZSwgdG8gYW55IHBlcnNvbiBvYnRhaW5pbmcgYQojIGNvcHkgb2YgdGhpcyBzb2Z0d2Fy ZSBhbmQgYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUgIlNvZnR3YXJlIiksCiMg dG8gZGVhbCBpbiB0aGUgU29mdHdhcmUgd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdp dGhvdXQgbGltaXRhdGlvbgojIHRoZSByaWdodHMgdG8gdXNlLCBjb3B5LCBtb2RpZnksIG1lcmdl LCBwdWJsaXNoLCBkaXN0cmlidXRlLCBzdWJsaWNlbnNlLAojIGFuZC9vciBzZWxsIGNvcGllcyBv ZiB0aGUgU29mdHdhcmUsIGFuZCB0byBwZXJtaXQgcGVyc29ucyB0byB3aG9tIHRoZQojIFNvZnR3 YXJlIGlzIGZ1cm5pc2hlZCB0byBkbyBzbywgc3ViamVjdCB0byB0aGUgZm9sbG93aW5nIGNvbmRp dGlvbnM6CiMgCiMgVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lv biBub3RpY2Ugc2hhbGwgYmUgaW5jbHVkZWQgaW4KIyBhbGwgY29waWVzIG9yIHN1YnN0YW50aWFs IHBvcnRpb25zIG9mIHRoZSBTb2Z0d2FyZS4KIyAKIyBUSEUgU09GVFdBUkUgSVMgUFJPVklERUQg IkFTIElTIiwgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwgRVhQUkVTUyBPUgojIElNUExJ RUQsIElOQ0xVRElORyBCVVQgTk9UIExJTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMgT0YgTUVSQ0hB TlRBQklMSVRZLAojIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFIEFORCBOT05JTkZS SU5HRU1FTlQuICBJTiBOTyBFVkVOVCBTSEFMTAojIFRoZSBYLk9yZyBGb3VuZGF0aW9uIEJFIExJ QUJMRSBGT1IgQU5ZIENMQUlNLCBEQU1BR0VTIE9SIE9USEVSIExJQUJJTElUWSwKIyBXSEVUSEVS IElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJP TSwgT1VUIE9GCiMgT1IgSU4gQ09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBUSEUgVVNF IE9SIE9USEVSIERFQUxJTkdTIElOIFRIRQojIFNPRlRXQVJFLgojIAojIEV4Y2VwdCBhcyBjb250 YWluZWQgaW4gdGhpcyBub3RpY2UsIHRoZSBuYW1lIG9mIFRoZSBYLk9yZyBGb3VuZGF0aW9uIHNo YWxsCiMgbm90IGJlIHVzZWQgaW4gYWR2ZXJ0aXNpbmcgb3Igb3RoZXJ3aXNlIHRvIHByb21vdGUg dGhlIHNhbGUsIHVzZSBvciBvdGhlcgojIGRlYWxpbmdzIGluIHRoaXMgU29mdHdhcmUgd2l0aG91 dCBwcmlvciB3cml0dGVuIGF1dGhvcml6YXRpb24gZnJvbQojIFRoZSBYLk9yZyBGb3VuZGF0aW9u LgojCgojICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioKIyBSZWZlciB0byB0aGUgeG9yZy5jb25mKDUpIG1hbiBwYWdl IGZvciBkZXRhaWxzIGFib3V0IHRoZSBmb3JtYXQgb2YgCiMgdGhpcyBmaWxlLgojICoqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioKCiMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKgojIE1vZHVsZSBzZWN0aW9uIC0tIHRoaXMgIHNlY3Rpb24g IGlzIHVzZWQgdG8gc3BlY2lmeQojIHdoaWNoIGR5bmFtaWNhbGx5IGxvYWRhYmxlIG1vZHVsZXMg dG8gbG9hZC4KIyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqCiMKU2VjdGlvbiAiTW9kdWxlIgoKIyBUaGlzIGxvYWRz IHRoZSBEQkUgZXh0ZW5zaW9uIG1vZHVsZS4KCiAgICBMb2FkICAgICAgICAiZGJlIiAgCSMgRG91 YmxlIGJ1ZmZlciBleHRlbnNpb24KCiMgVGhpcyBsb2FkcyB0aGUgbWlzY2VsbGFuZW91cyBleHRl bnNpb25zIG1vZHVsZSwgYW5kIGRpc2FibGVzCiMgaW5pdGlhbGlzYXRpb24gb2YgdGhlIFhGcmVl ODYtREdBIGV4dGVuc2lvbiB3aXRoaW4gdGhhdCBtb2R1bGUuCiAgICBTdWJTZWN0aW9uICAiZXh0 bW9kIgogICAgICBPcHRpb24gICAgIm9taXQgeGZyZWU4Ni1kZ2EiICAgIyBkb24ndCBpbml0aWFs aXNlIHRoZSBER0EgZXh0ZW5zaW9uCiAgICBFbmRTdWJTZWN0aW9uCgojIFRoaXMgbG9hZHMgdGhl IGZvbnQgbW9kdWxlcwojICAgIExvYWQgICAgICAgICJ0eXBlMSIKICAgIExvYWQgICAgICAgICJm cmVldHlwZSIKIyAgICBMb2FkICAgICAgICAieHR0IgoKIyBUaGlzIGxvYWRzIHRoZSBHTFggbW9k dWxlCiMgICAgTG9hZCAgICAgICAiZ2x4IgojIFRoaXMgbG9hZHMgdGhlIERSSSBtb2R1bGUKIyAg ICBMb2FkICAgICAgICJkcmkiCgpFbmRTZWN0aW9uCgojICoqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBGaWxlcyBz ZWN0aW9uLiAgVGhpcyBhbGxvd3MgZGVmYXVsdCBmb250IGFuZCByZ2IgcGF0aHMgdG8gYmUgc2V0 CiMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKgoKU2VjdGlvbiAiRmlsZXMiCgojIFRoZSBsb2NhdGlvbiBvZiB0aGUg UkdCIGRhdGFiYXNlLiAgTm90ZSwgdGhpcyBpcyB0aGUgbmFtZSBvZiB0aGUKIyBmaWxlIG1pbnVz IHRoZSBleHRlbnNpb24gKGxpa2UgIi50eHQiIG9yICIuZGIiKS4gIFRoZXJlIGlzIG5vcm1hbGx5 CiMgbm8gbmVlZCB0byBjaGFuZ2UgdGhlIGRlZmF1bHQuCgojICAgIFJnYlBhdGgJIi91c3IvbG9j YWwvc2hhcmUvWDExL3JnYiIKCiMgTXVsdGlwbGUgRm9udFBhdGggZW50cmllcyBhcmUgYWxsb3dl ZCAod2hpY2ggYXJlIGNvbmNhdGVuYXRlZCB0b2dldGhlciksCiMgYXMgd2VsbCBhcyBzcGVjaWZ5 aW5nIG11bHRpcGxlIGNvbW1hLXNlcGFyYXRlZCBlbnRyaWVzIGluIG9uZSBGb250UGF0aAojIGNv bW1hbmQgKG9yIGEgY29tYmluYXRpb24gb2YgYm90aCBtZXRob2RzKQojIAojIAoKICAgIEZvbnRQ YXRoICAgIi91c3IvbG9jYWwvbGliL1gxMS9mb250cy9taXNjLyIKICAgIEZvbnRQYXRoICAgIi91 c3IvbG9jYWwvbGliL1gxMS9mb250cy9UVEYvIgogICAgRm9udFBhdGggICAiL3Vzci9sb2NhbC9s aWIvWDExL2ZvbnRzL09URiIKIyAgICBGb250UGF0aCAgICIvdXNyL2xvY2FsL2xpYi9YMTEvZm9u dHMvVHlwZTEvIgogICAgRm9udFBhdGggICAiL3Vzci9sb2NhbC9saWIvWDExL2ZvbnRzLzEwMGRw aS8iCiAgICBGb250UGF0aCAgICIvdXNyL2xvY2FsL2xpYi9YMTEvZm9udHMvNzVkcGkvIgogICAg Rm9udFBhdGggICAiL3Vzci9sb2NhbC9saWIvWDExL2ZvbnRzL2xvY2FsLyIKIyAgICBGb250UGF0 aCAgICIvdXNyL2xvY2FsL2xpYi9YMTEvZm9udHMvU3BlZWRvLyIKIyAgICBGb250UGF0aCAgICIv dXNyL2xvY2FsL2xpYi9YMTEvZm9udHMvVHJ1ZVR5cGUvIgojICAgIEZvbnRQYXRoICAgIi91c3Iv bG9jYWwvbGliL1gxMS9mb250cy9mcmVlZm9udC8iCgojIFRoZSBtb2R1bGUgc2VhcmNoIHBhdGgu ICBUaGUgZGVmYXVsdCBwYXRoIGlzIHNob3duIGhlcmUuCgojICAgIE1vZHVsZVBhdGggIi91c3Iv bG9jYWwvbGliL21vZHVsZXMiCgpFbmRTZWN0aW9uCgojICoqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBTZXJ2ZXIg ZmxhZ3Mgc2VjdGlvbi4KIyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCgpTZWN0aW9uICJTZXJ2ZXJGbGFncyIKCiMg VW5jb21tZW50IHRoaXMgdG8gY2F1c2UgYSBjb3JlIGR1bXAgYXQgdGhlIHNwb3Qgd2hlcmUgYSBz aWduYWwgaXMgCiMgcmVjZWl2ZWQuICBUaGlzIG1heSBsZWF2ZSB0aGUgY29uc29sZSBpbiBhbiB1 bnVzYWJsZSBzdGF0ZSwgYnV0IG1heQojIHByb3ZpZGUgYSBiZXR0ZXIgc3RhY2sgdHJhY2UgaW4g dGhlIGNvcmUgZHVtcCB0byBhaWQgaW4gZGVidWdnaW5nCgojICAgIE9wdGlvbiAiTm9UcmFwU2ln bmFscyIKCiMgVW5jb21tZW50IHRoaXMgdG8gZGlzYWJsZSB0aGUgPEN0cmw+PEFsdD48Rm4+IFZU IHN3aXRjaCBzZXF1ZW5jZQojICh3aGVyZSBuIGlzIDEgdGhyb3VnaCAxMikuICBUaGlzIGFsbG93 cyBjbGllbnRzIHRvIHJlY2VpdmUgdGhlc2Uga2V5CiMgZXZlbnRzLgoKIyAgICBPcHRpb24gIkRv bnRWVFN3aXRjaCIKCiMgVW5jb21tZW50IHRoaXMgdG8gZGlzYWJsZSB0aGUgPEN0cmw+PEFsdD48 QlM+IHNlcnZlciBhYm9ydCBzZXF1ZW5jZQojIFRoaXMgYWxsb3dzIGNsaWVudHMgdG8gcmVjZWl2 ZSB0aGlzIGtleSBldmVudC4KCiMgICAgT3B0aW9uICJEb250WmFwIgoKIyBVbmNvbW1lbnQgdGhp cyB0byBkaXNhYmxlIHRoZSA8Q3RybD48QWx0PjxLUF8rPi88S1BfLT4gbW9kZSBzd2l0Y2hpbmcK IyBzZXF1ZW5jZXMuICBUaGlzIGFsbG93cyBjbGllbnRzIHRvIHJlY2VpdmUgdGhlc2Uga2V5IGV2 ZW50cy4KCiMgICAgT3B0aW9uICJEb250IFpvb20iCgojIFVuY29tbWVudCB0aGlzIHRvIGRpc2Fi bGUgdHVuaW5nIHdpdGggdGhlIHh2aWR0dW5lIGNsaWVudC4gV2l0aAojIGl0IHRoZSBjbGllbnQg Y2FuIHN0aWxsIHJ1biBhbmQgZmV0Y2ggY2FyZCBhbmQgbW9uaXRvciBhdHRyaWJ1dGVzLAojIGJ1 dCBpdCB3aWxsIG5vdCBiZSBhbGxvd2VkIHRvIGNoYW5nZSB0aGVtLiBJZiBpdCB0cmllcyBpdCB3 aWxsCiMgcmVjZWl2ZSBhIHByb3RvY29sIGVycm9yLgoKIyAgICBPcHRpb24gIkRpc2FibGVWaWRN b2RlRXh0ZW5zaW9uIgoKIyBVbmNvbW1lbnQgdGhpcyB0byBlbmFibGUgdGhlIHVzZSBvZiBhIG5v bi1sb2NhbCB4dmlkdHVuZSBjbGllbnQuIAoKIyAgICBPcHRpb24gIkFsbG93Tm9uTG9jYWxYdmlk dHVuZSIKCiMgVW5jb21tZW50IHRoaXMgdG8gZGlzYWJsZSBkeW5hbWljYWxseSBtb2RpZnlpbmcg dGhlIGlucHV0IGRldmljZQojIChtb3VzZSBhbmQga2V5Ym9hcmQpIHNldHRpbmdzLiAKCiMgICAg T3B0aW9uICJEaXNhYmxlTW9kSW5EZXYiCgojIFVuY29tbWVudCB0aGlzIHRvIGVuYWJsZSB0aGUg dXNlIG9mIGEgbm9uLWxvY2FsIGNsaWVudCB0bwojIGNoYW5nZSB0aGUga2V5Ym9hcmQgb3IgbW91 c2Ugc2V0dGluZ3MgKGN1cnJlbnRseSBvbmx5IHhzZXQpLgoKIyAgICBPcHRpb24gIkFsbG93Tm9u TG9jYWxNb2RJbkRldiIKCkVuZFNlY3Rpb24KCiMgKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgojIElucHV0IGRldmlj ZXMKIyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqCgojICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBDb3JlIGtleWJvYXJkJ3MgSW5w dXREZXZpY2Ugc2VjdGlvbgojICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKClNlY3Rpb24gIklucHV0RGV2aWNlIgoK ICAgIElkZW50aWZpZXIJIktleWJvYXJkMSIKICAgIERyaXZlcgkia2JkIgoKICAgIE9wdGlvbiAi QXV0b1JlcGVhdCIgIjUwMCAzMCIKCiMgU3BlY2lmeSB3aGljaCBrZXlib2FyZCBMRURzIGNhbiBi ZSB1c2VyLWNvbnRyb2xsZWQgKGVnLCB3aXRoIHhzZXQoMSkpCiMgICAgT3B0aW9uCSJYbGVkcyIg ICAgICAiMSAyIDMiCgojICAgIE9wdGlvbiAiTGVmdEFsdCIgICAgICJNZXRhIgojICAgIE9wdGlv biAiUmlnaHRBbHQiICAgICJNb2RlU2hpZnQiCgojIFRvIGN1c3RvbWlzZSB0aGUgWEtCIHNldHRp bmdzIHRvIHN1aXQgeW91ciBrZXlib2FyZCwgbW9kaWZ5IHRoZQojIGxpbmVzIGJlbG93ICh3aGlj aCBhcmUgdGhlIGRlZmF1bHRzKS4gIEZvciBleGFtcGxlLCBmb3IgYSBub24tVS5TLgojIGtleWJv YXJkLCB5b3Ugd2lsbCBwcm9iYWJseSB3YW50IHRvIHVzZToKIyAgICBPcHRpb24gIlhrYk1vZGVs IiAgICAicGMxMDUiCiMgSWYgeW91IGhhdmUgYSBVUyBNaWNyb3NvZnQgTmF0dXJhbCBrZXlib2Fy ZCwgeW91IGNhbiB1c2U6CiMgICAgT3B0aW9uICJYa2JNb2RlbCIgICAgIm1pY3Jvc29mdCIKIwoj IFRoZW4gdG8gY2hhbmdlIHRoZSBsYW5ndWFnZSwgY2hhbmdlIHRoZSBMYXlvdXQgc2V0dGluZy4K IyBGb3IgZXhhbXBsZSwgYSBnZXJtYW4gbGF5b3V0IGNhbiBiZSBvYnRhaW5lZCB3aXRoOgojICAg IE9wdGlvbiAiWGtiTGF5b3V0IiAgICJkZSIKIyBvcjoKIyAgICBPcHRpb24gIlhrYkxheW91dCIg ICAiZGUiCiMgICAgT3B0aW9uICJYa2JWYXJpYW50IiAgIm5vZGVhZGtleXMiCiMKIyBJZiB5b3Un ZCBsaWtlIHRvIHN3aXRjaCB0aGUgcG9zaXRpb25zIG9mIHlvdXIgY2Fwc2xvY2sgYW5kCiMgY29u dHJvbCBrZXlzLCB1c2U6CiMgICAgT3B0aW9uICJYa2JPcHRpb25zIiAgImN0cmw6c3dhcGNhcHMi CgojIFRoZXNlIGFyZSB0aGUgZGVmYXVsdCBYS0Igc2V0dGluZ3MgZm9yIFhvcmcKIyAgICBPcHRp b24gIlhrYlJ1bGVzIiAgICAieG9yZyIKIyAgICBPcHRpb24gIlhrYk1vZGVsIiAgICAicGMxMDUi CiMgICAgT3B0aW9uICJYa2JMYXlvdXQiICAgInVzIgojICAgIE9wdGlvbiAiWGtiVmFyaWFudCIg ICIiCiMgICAgT3B0aW9uICJYa2JPcHRpb25zIiAgIiIKCiMgICAgT3B0aW9uICJYa2JEaXNhYmxl IgoKICAgIE9wdGlvbiAiWGtiUnVsZXMiCSJ4b3JnIgogICAgT3B0aW9uICJYa2JNb2RlbCIJInBj MTA1IgogICAgT3B0aW9uICJYa2JMYXlvdXQiCSJ1cyIKICAgIE9wdGlvbiAiWGtiT3B0aW9ucyIJ ImNvbXBvc2U6Y2FwcyIKCkVuZFNlY3Rpb24KCgojICoqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBDb3JlIFBvaW50 ZXIncyBJbnB1dERldmljZSBzZWN0aW9uCiMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgoKIyBEdW1teSBkZXZpY2UK U2VjdGlvbiAiSW5wdXREZXZpY2UiCiAgICBJZGVudGlmaWVyCSJkdW1teSIKICAgIERyaXZlciAi dm9pZCIKRW5kU2VjdGlvbgoKIyBSZWFsIFN5bmFwdGljcyBEcml2ZXIKU2VjdGlvbiAiSW5wdXRE ZXZpY2UiCgogICAgSWRlbnRpZmllcgkiU3luYXB0aWNzX1RvdWNocGFkIgogICAgRHJpdmVyCSJz eW5hcHRpY3MiCiAgICAKICAgIE9wdGlvbgkiRGV2aWNlIgkiL2Rldi9wc20wIgogICAgT3B0aW9u CSJQcm90b2NvbCIJInBzbSIKICAgIApFbmRTZWN0aW9uCgojICoqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBPdGhl ciBpbnB1dCBkZXZpY2Ugc2VjdGlvbnMgCiMgdGhpcyBpcyBvcHRpb25hbCBhbmQgaXMgcmVxdWly ZWQgb25seSBpZiB5b3UKIyBhcmUgdXNpbmcgZXh0ZW5kZWQgaW5wdXQgZGV2aWNlcy4gIFRoaXMg aXMgZm9yIGV4YW1wbGUgb25seS4gIFJlZmVyCiMgdG8gdGhlIHhvcmcuY29uZiBtYW4gcGFnZSBm b3IgYSBkZXNjcmlwdGlvbiBvZiB0aGUgb3B0aW9ucy4KIyAqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiMKIyBTZWN0 aW9uICJJbnB1dERldmljZSIgCiMgICAgSWRlbnRpZmllciAgIk1vdXNlMiIKIyAgICBEcml2ZXIg ICAgICAibW91c2UiCiMgICAgT3B0aW9uICAgICAgIlByb3RvY29sIiAgICAgICJNb3VzZU1hbiIK IyAgICBPcHRpb24gICAgICAiRGV2aWNlIiAgICAgICAgIi9kZXYvbW91c2UyIgojIEVuZFNlY3Rp b24KIwojIFNlY3Rpb24gIklucHV0RGV2aWNlIgojICAgIElkZW50aWZpZXIgInNwYWNlYmFsbCIK IyAgICBEcml2ZXIgICAgICJtYWdlbGxhbiIKIyAgICBPcHRpb24gICAgICJEZXZpY2UiICAgICAg ICAiL2Rldi9jdWEwIgojIEVuZFNlY3Rpb24KIwojIFNlY3Rpb24gIklucHV0RGV2aWNlIgojICAg IElkZW50aWZpZXIgInNwYWNlYmFsbDIiCiMgICAgRHJpdmVyICAgICAic3BhY2VvcmIiCiMgICAg T3B0aW9uICAgICAiRGV2aWNlIiAgICAgICAgIi9kZXYvY3VhMCIKIyBFbmRTZWN0aW9uCiMKIyBT ZWN0aW9uICJJbnB1dERldmljZSIKIyAgICBJZGVudGlmaWVyICJ0b3VjaHNjcmVlbjAiCiMgICAg RHJpdmVyICAgICAibWljcm90b3VjaCIKIyAgICBPcHRpb24gICAgICJEZXZpY2UiICAgICAgICAi L2Rldi90dHlTMCIKIyAgICBPcHRpb24gICAgICJNaW5YIiAgICAgICAgICAiMTQxMiIKIyAgICBP cHRpb24gICAgICJNYXhYIiAgICAgICAgICAiMTUxODQiCiMgICAgT3B0aW9uICAgICAiTWluWSIg ICAgICAgICAgIjE1MzcyIgojICAgIE9wdGlvbiAgICAgIk1heFkiICAgICAgICAgICIxMjMwIgoj ICAgIE9wdGlvbiAgICAgIlNjcmVlbk51bWJlciIgICIwIgojICAgIE9wdGlvbiAgICAgIlJlcG9y dGluZ01vZGUiICJTY2FsZWQiCiMgICAgT3B0aW9uICAgICAiQnV0dG9uTnVtYmVyIiAgIjEiCiMg ICAgT3B0aW9uICAgICAiU2VuZENvcmVFdmVudHMiCiMgRW5kU2VjdGlvbgojCiMgU2VjdGlvbiAi SW5wdXREZXZpY2UiCiMgICAgSWRlbnRpZmllciAidG91Y2hzY3JlZW4xIgojICAgIERyaXZlciAg ICAgImVsbzIzMDAiCiMgICAgT3B0aW9uICAgICAiRGV2aWNlIiAgICAgICAgIi9kZXYvdHR5UzAi CiMgICAgT3B0aW9uICAgICAiTWluWCIgICAgICAgICAgIjIzMSIKIyAgICBPcHRpb24gICAgICJN YXhYIiAgICAgICAgICAiMzg2OCIKIyAgICBPcHRpb24gICAgICJNaW5ZIiAgICAgICAgICAiMzg1 OCIKIyAgICBPcHRpb24gICAgICJNYXhZIiAgICAgICAgICAiMjcyIgojICAgIE9wdGlvbiAgICAg IlNjcmVlbk51bWJlciIgICIwIgojICAgIE9wdGlvbiAgICAgIlJlcG9ydGluZ01vZGUiICJTY2Fs ZWQiCiMgICAgT3B0aW9uICAgICAiQnV0dG9uVGhyZXNob2xkIiAgICAgICAiMTciCiMgICAgT3B0 aW9uICAgICAiQnV0dG9uTnVtYmVyIiAgIjEiCiMgICAgT3B0aW9uICAgICAiU2VuZENvcmVFdmVu dHMiCiMgRW5kU2VjdGlvbgoKIyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiMgTW9uaXRvciBzZWN0aW9uCiMgKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKgoKIyBBbnkgbnVtYmVyIG9mIG1vbml0b3Igc2VjdGlvbnMgbWF5IGJlIHByZXNl bnQKClNlY3Rpb24gIk1vbml0b3IiCgogICAgSWRlbnRpZmllciAgIkxDRCIKCiMgSG9yaXpTeW5j IGlzIGluIGtIeiB1bmxlc3MgdW5pdHMgYXJlIHNwZWNpZmllZC4KIyBIb3JpelN5bmMgbWF5IGJl IGEgY29tbWEgc2VwYXJhdGVkIGxpc3Qgb2YgZGlzY3JldGUgdmFsdWVzLCBvciBhCiMgY29tbWEg c2VwYXJhdGVkIGxpc3Qgb2YgcmFuZ2VzIG9mIHZhbHVlcy4KIyBOT1RFOiBUSEUgVkFMVUVTIEhF UkUgQVJFIEVYQU1QTEVTIE9OTFkuICBSRUZFUiBUTyBZT1VSIE1PTklUT1InUwojIFVTRVIgTUFO VUFMIEZPUiBUSEUgQ09SUkVDVCBOVU1CRVJTLgoKICAgIEhvcml6U3luYyAgIDMxLjUgLSA4Mi4w CgojICAgIEhvcml6U3luYwkzMC02NCAgICAgICAgICMgbXVsdGlzeW5jCiMgICAgSG9yaXpTeW5j CTMxLjUsIDM1LjIgICAgIyBtdWx0aXBsZSBmaXhlZCBzeW5jIGZyZXF1ZW5jaWVzCiMgICAgSG9y aXpTeW5jCTE1LTI1LCAzMC01MCAgIyBtdWx0aXBsZSByYW5nZXMgb2Ygc3luYyBmcmVxdWVuY2ll cwoKIyBWZXJ0UmVmcmVzaCBpcyBpbiBIeiB1bmxlc3MgdW5pdHMgYXJlIHNwZWNpZmllZC4KIyBW ZXJ0UmVmcmVzaCBtYXkgYmUgYSBjb21tYSBzZXBhcmF0ZWQgbGlzdCBvZiBkaXNjcmV0ZSB2YWx1 ZXMsIG9yIGEKIyBjb21tYSBzZXBhcmF0ZWQgbGlzdCBvZiByYW5nZXMgb2YgdmFsdWVzLgojIE5P VEU6IFRIRSBWQUxVRVMgSEVSRSBBUkUgRVhBTVBMRVMgT05MWS4gIFJFRkVSIFRPIFlPVVIgTU9O SVRPUidTCiMgVVNFUiBNQU5VQUwgRk9SIFRIRSBDT1JSRUNUIE5VTUJFUlMuCgogICAgVmVydFJl ZnJlc2ggNTAtOTAKCkVuZFNlY3Rpb24KCgojICoqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBHcmFwaGljcyBkZXZp Y2Ugc2VjdGlvbgojICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioKCiMgQW55IG51bWJlciBvZiBncmFwaGljcyBkZXZp Y2Ugc2VjdGlvbnMgbWF5IGJlIHByZXNlbnQKCiMgU3RhbmRhcmQgVkdBIERldmljZToKClNlY3Rp b24gIkRldmljZSIKICAgIElkZW50aWZpZXIJIlN0YW5kYXJkIFZHQSIKICAgIFZlbmRvck5hbWUJ IlVua25vd24iCiAgICBCb2FyZE5hbWUJIlVua25vd24iCgojIFRoZSBjaGlwc2V0IGxpbmUgaXMg b3B0aW9uYWwgaW4gbW9zdCBjYXNlcy4gIEl0IGNhbiBiZSB1c2VkIHRvIG92ZXJyaWRlCiMgdGhl IGRyaXZlcidzIGNoaXBzZXQgZGV0ZWN0aW9uLCBhbmQgc2hvdWxkIG5vdCBub3JtYWxseSBiZSBz cGVjaWZpZWQuCgojICAgIENoaXBzZXQJImdlbmVyaWMiCgojIFRoZSBEcml2ZXIgbGluZSBtdXN0 IGJlIHByZXNlbnQuICBXaGVuIHVzaW5nIHJ1bi10aW1lIGxvYWRhYmxlIGRyaXZlcgojIG1vZHVs ZXMsIHRoaXMgbGluZSBpbnN0cnVjdHMgdGhlIHNlcnZlciB0byBsb2FkIHRoZSBzcGVjaWZpZWQg ZHJpdmVyCiMgbW9kdWxlLiAgRXZlbiB3aGVuIG5vdCB1c2luZyBsb2FkYWJsZSBkcml2ZXIgbW9k dWxlcywgdGhpcyBsaW5lCiMgaW5kaWNhdGVzIHdoaWNoIGRyaXZlciBzaG91bGQgaW50ZXJwcmV0 IHRoZSBpbmZvcm1hdGlvbiBpbiB0aGlzIHNlY3Rpb24uCgogICAgRHJpdmVyICAgICAidmdhIgoj IFRoZSBCdXNJRCBsaW5lIGlzIHVzZWQgdG8gc3BlY2lmeSB3aGljaCBvZiBwb3NzaWJseSBtdWx0 aXBsZSBkZXZpY2VzCiMgdGhpcyBzZWN0aW9uIGlzIGludGVuZGVkIGZvci4gIFdoZW4gdGhpcyBs aW5lIGlzbid0IHByZXNlbnQsIGEgZGV2aWNlCiMgc2VjdGlvbiBjYW4gb25seSBtYXRjaCB1cCB3 aXRoIHRoZSBwcmltYXJ5IHZpZGVvIGRldmljZS4gIEZvciBQQ0kKIyBkZXZpY2VzIGEgbGluZSBs aWtlIHRoZSBmb2xsb3dpbmcgY291bGQgYmUgdXNlZC4gIFRoaXMgbGluZSBzaG91bGQgbm90CiMg bm9ybWFsbHkgYmUgaW5jbHVkZWQgdW5sZXNzIHRoZXJlIGlzIG1vcmUgdGhhbiBvbmUgdmlkZW8g ZGV2aWNlCiMgaW50YWxsZWQuCgojICAgIEJ1c0lEICAgICAgIlBDSTowOjEwOjAiCgojICAgIFZp ZGVvUmFtCTI1NgoKIyAgICBDbG9ja3MJMjUuMiAyOC4zCgpFbmRTZWN0aW9uCgojIERldmljZSBj b25maWd1cmVkIGJ5IHhvcmdjb25maWc6CgpTZWN0aW9uICJEZXZpY2UiCiAgICBJZGVudGlmaWVy ICAiQVRJIFJhZGVvbiBIRDI0MDAiCiAgICBEcml2ZXIgICAgICAicmFkZW9uaGQiCiAgICAjVmlk ZW9SYW0gICAgMTMxMDcyCiAgICAjIEluc2VydCBDbG9ja3MgbGluZXMgaGVyZSBpZiBhcHByb3By aWF0ZQpFbmRTZWN0aW9uCgoKIyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiMgU2NyZWVuIHNlY3Rpb25zCiMgKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKgoKIyBBbnkgbnVtYmVyIG9mIHNjcmVlbiBzZWN0aW9ucyBtYXkgYmUgcHJlc2Vu dC4gIEVhY2ggZGVzY3JpYmVzCiMgdGhlIGNvbmZpZ3VyYXRpb24gb2YgYSBzaW5nbGUgc2NyZWVu LiAgQSBzaW5nbGUgc3BlY2lmaWMgc2NyZWVuIHNlY3Rpb24KIyBtYXkgYmUgc3BlY2lmaWVkIGZy b20gdGhlIFggc2VydmVyIGNvbW1hbmQgbGluZSB3aXRoIHRoZSAiLXNjcmVlbiIKIyBvcHRpb24u ClNlY3Rpb24gIlNjcmVlbiIKICAgIElkZW50aWZpZXIgICJTY3JlZW4gMSIKICAgIERldmljZSAg ICAgICJBVEkgUmFkZW9uIEhEMjQwMCIKICAgIE1vbml0b3IgICAgICJMQ0QiCiAgICBEZWZhdWx0 RGVwdGggMjQKCiAgICBTdWJzZWN0aW9uICJEaXNwbGF5IgogICAgICAgIERlcHRoICAgICAgIDgK ICAgICAgICBNb2RlcyAgICAgICAiMTI4MHgxMDI0IiAiMTAyNHg3NjgiICI4MDB4NjAwIiAiNjQw eDQ4MCIKICAgICAgICBWaWV3UG9ydCAgICAwIDAKICAgIEVuZFN1YnNlY3Rpb24KICAgIFN1YnNl Y3Rpb24gIkRpc3BsYXkiCiAgICAgICAgRGVwdGggICAgICAgMTYKICAgICAgICBNb2RlcyAgICAg ICAiMTI4MHgxMDI0IiAiMTAyNHg3NjgiICI4MDB4NjAwIiAiNjQweDQ4MCIKICAgICAgICBWaWV3 UG9ydCAgICAwIDAKICAgIEVuZFN1YnNlY3Rpb24KICAgIFN1YnNlY3Rpb24gIkRpc3BsYXkiCiAg ICAgICAgRGVwdGggICAgICAgMjQKICAgICAgICBNb2RlcyAgICAgICAiMTE1Mng4NjQiCiAgICAg ICAgVmlld1BvcnQgICAgMCAwCiAgICBFbmRTdWJzZWN0aW9uCkVuZFNlY3Rpb24KCiMgKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKgojIFNlcnZlckxheW91dCBzZWN0aW9ucy4KIyAqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCgojIEFueSBu dW1iZXIgb2YgU2VydmVyTGF5b3V0IHNlY3Rpb25zIG1heSBiZSBwcmVzZW50LiAgRWFjaCBkZXNj cmliZXMKIyB0aGUgd2F5IG11bHRpcGxlIHNjcmVlbnMgYXJlIG9yZ2FuaXNlZC4gIEEgc3BlY2lm aWMgU2VydmVyTGF5b3V0CiMgc2VjdGlvbiBtYXkgYmUgc3BlY2lmaWVkIGZyb20gdGhlIFggc2Vy dmVyIGNvbW1hbmQgbGluZSB3aXRoIHRoZQojICItbGF5b3V0IiBvcHRpb24uICBJbiB0aGUgYWJz ZW5jZSBvZiB0aGlzLCB0aGUgZmlyc3Qgc2VjdGlvbiBpcyB1c2VkLgojIFdoZW4gbm93IFNlcnZl ckxheW91dCBzZWN0aW9uIGlzIHByZXNlbnQsIHRoZSBmaXJzdCBTY3JlZW4gc2VjdGlvbgojIGlz IHVzZWQgYWxvbmUuCgpTZWN0aW9uICJTZXJ2ZXJMYXlvdXQiCgojIFRoZSBJZGVudGlmaWVyIGxp bmUgbXVzdCBiZSBwcmVzZW50CiAgICBJZGVudGlmaWVyICAiU2ltcGxlIExheW91dCIKCiMgRWFj aCBTY3JlZW4gbGluZSBzcGVjaWZpZXMgYSBTY3JlZW4gc2VjdGlvbiBuYW1lLCBhbmQgb3B0aW9u YWxseQojIHRoZSByZWxhdGl2ZSBwb3NpdGlvbiBvZiBvdGhlciBzY3JlZW5zLiAgVGhlIGZvdXIg bmFtZXMgYWZ0ZXIKIyBwcmltYXJ5IHNjcmVlbiBuYW1lIGFyZSB0aGUgc2NyZWVucyB0byB0aGUg dG9wLCBib3R0b20sIGxlZnQgYW5kIHJpZ2h0CiMgb2YgdGhlIHByaW1hcnkgc2NyZWVuLiAgSW4g dGhpcyBleGFtcGxlLCBzY3JlZW4gMiBpcyBsb2NhdGVkIHRvIHRoZQojIHJpZ2h0IG9mIHNjcmVl biAxLgoKICAgIFNjcmVlbiAiU2NyZWVuIDEiCgojIEVhY2ggSW5wdXREZXZpY2UgbGluZSBzcGVj aWZpZXMgYW4gSW5wdXREZXZpY2Ugc2VjdGlvbiBuYW1lIGFuZAojIG9wdGlvbmFsbHkgc29tZSBv cHRpb25zIHRvIHNwZWNpZnkgdGhlIHdheSB0aGUgZGV2aWNlIGlzIHRvIGJlCiMgdXNlZC4gIFRo b3NlIG9wdGlvbnMgaW5jbHVkZSAiQ29yZVBvaW50ZXIiLCAiQ29yZUtleWJvYXJkIiBhbmQKIyAi U2VuZENvcmVFdmVudHMiLgoKICAgIElucHV0RGV2aWNlICJkdW1teSIgIkNvcmVQb2ludGVyIgog ICAgSW5wdXREZXZpY2UgIktleWJvYXJkMSIgIkNvcmVLZXlib2FyZCIKICAgIElucHV0RGV2aWNl CSJTeW5hcHRpY3NfVG91Y2hwYWQiCSJTZW5kQ29yZUV2ZW50cyIKCkVuZFNlY3Rpb24KCiMgU2Vj dGlvbiAiRFJJIgojICAgIE1vZGUgMDY2NgojIEVuZFNlY3Rpb24KCg== ------=_20080123132641_31750 Content-Type: application/octet-stream; name="patch-test2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-test2" LS0tIHN5bmFwdGljcy5jLm9yaWcJMjAwOC0wMS0yMyAxMzoxMDoxNy4wMDAwMDAwMDAgKzAyMDAK KysrIHN5bmFwdGljcy5jCTIwMDgtMDEtMjMgMTM6MTE6MzMuMDAwMDAwMDAwICswMjAwCkBAIC0x ODgsOSArMTg4LDggQEAKIAlwcm90byA9IFNZTl9QUk9UT19QU007CiAgICAgfSBlbHNlIGlmIChz dHJfcGFyICYmICFzdHJjbXAoc3RyX3BhciwgImFscHMiKSkgewogCXByb3RvID0gU1lOX1BST1RP X0FMUFM7Ci0gICAgfSBlbHNlIHsgLyogZGVmYXVsdCB0byBhdXRvLWRldiAqLwotCWlmIChldmVu dF9wcm90b19vcGVyYXRpb25zLkF1dG9EZXZQcm9iZShsb2NhbCkpCi0JICAgIHByb3RvID0gU1lO X1BST1RPX0VWRU5UOworICAgIH0gZWxzZSB7IC8qIGRlZmF1bHQgdG8gcHNtICovCisJcHJvdG8g PSBTWU5fUFJPVE9fUFNNOwogICAgIH0KICAgICBzd2l0Y2ggKHByb3RvKSB7CiAgICAgY2FzZSBT WU5fUFJPVE9fUFNBVVg6Cg== ------=_20080123132641_31750-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 11:34:56 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EA7916A41A; Wed, 23 Jan 2008 11:34:56 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id F05D513C457; Wed, 23 Jan 2008 11:34:55 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 497D71B10EEE; Wed, 23 Jan 2008 12:34:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_52 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 488931B10ED2; Wed, 23 Jan 2008 12:34:51 +0100 (CET) Message-ID: <4797265A.3020409@moneybookers.com> Date: Wed, 23 Jan 2008 13:34:50 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <47965072.7030700@moneybookers.com> <47965112.5020009@FreeBSD.org> In-Reply-To: <47965112.5020009@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5531/Wed Jan 23 11:32:09 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 11:34:56 -0000 Hi Kris, Kris Kennaway wrote: > Stefan Lambrev wrote: >> >> Kris Kennaway wrote: >>> Stefan Lambrev wrote: >>> >>>>> You should use hwpmc to verify where the application is really >>>>> spending time, since gettimeofday doesn't seem to account for it all. >>>> pmc: Unknown Intel CPU. >>>> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, >>>> 0xffffffff8054c500) error 78 >>> >>> OK, this is the famous problem with modern CPUs that jkoshy has >>> declined to work around :( There are patches for this in perforce, see >>> >>> http://perforce.freebsd.org/changeView.cgi?CH=126189 I got hwpmc to compile (but only as module) hwpmc: TSC/1/0x20 P6/2/0x1ff but when I try to use pmcstat I receive this error message: pmcstat: ERROR: Initialization of the pmc(3) library failed: Device not configured kldstat lists hwpmc.ko as loaded and I have options HWPMC_HOOKS in my kernel. Any idea what's go wrong? -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 11:36:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B8E16A417 for ; Wed, 23 Jan 2008 11:36:01 +0000 (UTC) (envelope-from alec-keyword-freebsd.org.a6e2e4@SetFilePointer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 0BE5C13C4DD for ; Wed, 23 Jan 2008 11:36:00 +0000 (UTC) (envelope-from alec-keyword-freebsd.org.a6e2e4@SetFilePointer.com) Received: (qmail 21279 invoked by uid 4250); 23 Jan 2008 05:09:19 -0600 Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250); Wed, 23 Jan 2008 05:09:19 -0600 (CST) Date: Wed, 23 Jan 2008 05:09:14 -0600 To: "Bruce R. Montague" Message-ID: <20080123110914.GB40619@hamlet.SetFilePointer.com> References: <200801230634.m0N6Y0tf000427@mail.cruzio.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <200801230634.m0N6Y0tf000427@mail.cruzio.com> User-Agent: Mutt/1.4.2.2i X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Alec Kloss X-Primary-Address: alec@SetFilePointer.com Cc: freebsd-hackers@freebsd.org Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 23 Jan 2008 11:36:01 -0000 --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-01-22 22:34, Bruce R. Montague wrote: >=20 > Hi, I wrote the geode audio driver for the CS5530 > (found at the mentioned link), a good while back, > I think for FreeBSD 4.x. >=20 > This week is the first time I've received any feedback > on this driver, a couple of pings along the line of > the above. I honestly hadn't realized anybody was > using it (I guess that's the problem with it working). > If there was a thread last february, I must have > missed it. I dont think I've ever seen the soundsystem > wiki.=20 http://wiki.freebsd.org/soundsystem My googling may be mistaken about a thread last February. > I would try to fix/upgrade this driver if I had any > hardware with a CS5536, but I don't. That said, can > anyone recomend a cheap system that includes the > CS5536, is generally available, doesn't cost very > much and can be used as a minimal dev platform? > (Surely all the OLPC work has made some interesting > such systems available?) Or would anyone want to > donate a "free" current AMD Geode reference > platform? :) The specific device I'm targeting is a "koolu", http://www.koolu.com. Nice Canadians, $200 US for a unit without a drive. Very linuxy. Unfortunately, it has no serial ports, so debugging is pretty limited. I can donate network access to one, and can loan you one for the duration of your work on it. If you want network access, email me an ssh key off-list, or if you want one to put your hands on, email me an address off-list. > Even with hardware, it would probably be at least > a month before I had time to look at it. Someone > who knew FreeBSD drivers could probably fix it in > a few compiles, if 5536 device-specific initialization > is the problem. Beggars can't be choosers, so any time you donate to this project would be appreciated by me anyway. --=20 Alec Kloss alec@SetFilePointer.com IM: angryspamhater@yahoo.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E "No Bunny!" -- Simon, from Frisky Dingo --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFHlyBa2s33paJBmA4RAnHDAJ49QccZxXdtJBzgryBjiKUetfnrWACeJveY 03WP7/R8R7FHMka0giWVHPU= =kHsY -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 11:44:25 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8D3A16A418 for ; Wed, 23 Jan 2008 11:44:25 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from klippan.outpost24.com (mail.outpost24.com [212.214.12.146]) by mx1.freebsd.org (Postfix) with ESMTP id 71B2913C474 for ; Wed, 23 Jan 2008 11:44:25 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from [192.168.0.3] (h80n1c1o824.bredband.skanova.com [81.235.28.80]) by klippan.outpost24.com (XESMTP) with ESMTP id 24169874002 for ; Wed, 23 Jan 2008 11:25:17 +0000 (GMT) Message-ID: <4797241D.8080000@wa-sp.com> Date: Wed, 23 Jan 2008 12:25:17 +0100 From: Chris Stromblad User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Dell XPS 1530 - Network card issue - Marvell 88E8040 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, 23 Jan 2008 11:44:25 -0000 (I originally addressed this to the freebsd-hardware, but got no response, so please forgive me for reposting this here!) Hi, It appears as if the Marvell 88E8040 is not yet supported by FreeBSD and specifically the msk(4) driver. I would just like to know if there are any plans on adding support for the above mentioned NIC. Normally I wouldn't even bother asking, and just shrug and say, tough luck they don't support it... next distribution. Thing is, I really, really like FreeBSD. I'm kind of a GNU/Linux guy, but I've never managed to settle for a distribution and have moved from one to another, never quite finding something that works with me, and not against me. Then I tried FreeBSD, actually I just read much of the available documentation and I was "converted". _THIS_ is how documentation should be written; clear, concise, to the point and most of all, USEFUL! Thank you! So, my point is that I really want this to work out. I'm willing to give as much time as necessary to get this driver working. Whether it's just a little Device_ID change in the source, I don't know. However, if anyone is up for helping me getting this to work, I'll provide whatever information I can. Many thanks, and keep up the fantastic work on the FreeBSD operating system. Regards, Christoffer Strömblad PS: I've tried 8.0-CURRENT (snapshot from 27122007), 7.0-RC1 and FreeBSD 6.3, no luck. _______________________________________________ freebsd-hardware@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 12:03:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3302216A4A9 for ; Wed, 23 Jan 2008 12:03:13 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (thunderstone.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6746D13C45D for ; Wed, 23 Jan 2008 12:03:11 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id DF62E6D447; Wed, 23 Jan 2008 12:47:21 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([127.0.0.1]) by localhost (thunderstone.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjhCnZedYBFL; Wed, 23 Jan 2008 12:47:02 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id C58DC6D43E; Wed, 23 Jan 2008 12:47:02 +0100 (CET) Date: Wed, 23 Jan 2008 12:47:02 +0100 From: Rink Springer To: "Bruce R. Montague" Message-ID: <20080123114702.GB46272@rink.nu> References: <200801230634.m0N6Y0tf000427@mail.cruzio.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801230634.m0N6Y0tf000427@mail.cruzio.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, alec@SetFilePointer.com, ariff@freebsd.org Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 23 Jan 2008 12:03:13 -0000 Hi Bruce, On Tue, Jan 22, 2008 at 10:34:00PM -0800, Bruce R. Montague wrote: > This week is the first time I've received any feedback > on this driver, a couple of pings along the line of > the above. I honestly hadn't realized anybody was > using it (I guess that's the problem with it working). > If there was a thread last february, I must have > missed it. I dont think I've ever seen the soundsystem > wiki. Hmm, I have pinged ariff@ on whether he was working on a driver for this chipset (haven't heard a reply tho), as I heard some people claiming he might... > I would try to fix/upgrade this driver if I had any > hardware with a CS5536, but I don't. That said, can > anyone recomend a cheap system that includes the > CS5536, is generally available, doesn't cost very > much and can be used as a minimal dev platform? > (Surely all the OLPC work has made some interesting > such systems available?) Or would anyone want to > donate a "free" current AMD Geode reference > platform? :) Well, I intend to take a look, as I have hardware - I've got FreeBSD running on a Compaq Evo T30 recently, which has such a sound IC. Too bad the USB doesn't quite work well (chipset bugs; only Linux has a patch for them...) I can also setup serial console access to it if desired, but mind that it only has 32MB memory so you can't build anything on it... let me know if this is acceptable, the machine runs 8-CURRENT. Cheers, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 12:32:52 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07E3516A420 for ; Wed, 23 Jan 2008 12:32:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id BC8F213C45A for ; Wed, 23 Jan 2008 12:32:51 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5016727waf.3 for ; Wed, 23 Jan 2008 04:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=y8RgsPFfUk/M30QYEO3eKdLt3+XevhTbaKYpAXQ+eoo=; b=hpXuzX3Kkq0At85HiTtM8RH9kLcXZYQb5nCevUO87xBmourVD2pBTJcTOzvqyvgHQYNWAHL+H0vHwyWD+8iz5AAajPn9kcqUsWl6I1S62u8WtYKJzrB/DHilbUdqLtsHwfhzFPcVWb/JKowvA0hxPHNtDwAilhJIVwJJqF1au2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=v2Phw2ZkWQF/gFj+40TWNa5aOmjw5ql0uMiLNTKVpMwMY1Dr5lFv4ajkPwz0UaXlcmftkqoQtId0pxRqoqkEarWOK8AKrspUV2t72olwSHLWHLkUCMZZwTch+KhrWUI0soZseXkLxrKQW2sx8EzrMmFw2yd8SPBRqxNcDFNW+Nw= Received: by 10.115.79.1 with SMTP id g1mr8340485wal.43.1201091571521; Wed, 23 Jan 2008 04:32:51 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id n38sm20563166wag.2.2008.01.23.04.32.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Jan 2008 04:32:50 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m0NCWjpf016159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jan 2008 21:32:45 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m0NCWi2Q016158; Wed, 23 Jan 2008 21:32:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 23 Jan 2008 21:32:44 +0900 From: Pyun YongHyeon To: Chris Stromblad Message-ID: <20080123123244.GG14495@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4797241D.8080000@wa-sp.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 12:32:52 -0000 On Wed, Jan 23, 2008 at 12:25:17PM +0100, Chris Stromblad wrote: > (I originally addressed this to the freebsd-hardware, but got no response, > so please forgive me for reposting this here!) > > Hi, > > It appears as if the Marvell 88E8040 is not yet supported by FreeBSD and > specifically the msk(4) driver. I would just like to know if there are any > plans on adding support for the above mentioned NIC. > I'd like to add support 88E8040(Yukon2 FE+ PCIe Fast ethernet controller). I don't think just adding a PCI id is sufficient to make it work but it would be even better if you can send me the 'pciconf -lcv' output to me. I think one of the serious issue of Yukon2 FE+ is introduction of new descriptor format and additional bugs for the chip/phy as other variants. Since there are no documentation for controller/phy hardware, it may take longer than you would expect to see a working/stable driver. I guess disabling TSO and checksum offload may make it possible to write a minimal driver for the hardware. I'll let you know when I have code to test. I cannot say the code written by me would work as I don't have that hardware. > Normally I wouldn't even bother asking, and just shrug and say, tough luck > they don't support it... next distribution. Thing is, I really, really > like FreeBSD. I'm kind of a GNU/Linux guy, but I've never managed to > settle for a distribution and have moved from one to another, never quite > finding something that works with me, and not against me. > > Then I tried FreeBSD, actually I just read much of the available > documentation and I was "converted". _THIS_ is how documentation should be > written; clear, concise, to the point and most of all, USEFUL! Thank you! > > So, my point is that I really want this to work out. I'm willing to give > as much time as necessary to get this driver working. Whether it's just a > little Device_ID change in the source, I don't know. However, if anyone is > up for helping me getting this to work, I'll provide whatever information > I can. > > Many thanks, and keep up the fantastic work on the FreeBSD operating system. > > Regards, > Christoffer Str?mblad > > PS: I've tried 8.0-CURRENT (snapshot from 27122007), 7.0-RC1 and FreeBSD > 6.3, no luck. -- Regards, Pyun YongHyeon From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 13:16:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F5816A418 for ; Wed, 23 Jan 2008 13:16:59 +0000 (UTC) (envelope-from ap@bnc.net) Received: from mailomat.net (mailomat.net [217.110.117.101]) by mx1.freebsd.org (Postfix) with ESMTP id 7764513C447 for ; Wed, 23 Jan 2008 13:16:58 +0000 (UTC) (envelope-from ap@bnc.net) X-Mailomat-SpamCatcher-Score: 94 [XXXXX] (100%) Contains spammy domain X-Mailomat-Alert: possible spam! X-Color: red X-Mailomat-Cloudmark-Score: 0.000000 [] Received: from [194.39.192.125] (account bnc-mail@mailrelay.mailomat.net HELO bnc.net) by mailomat.net (CommuniGate Pro SMTP 5.1.9) with ESMTPSA id 37431764 for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 13:16:56 +0100 X-SpamCatcher-Score: 50 [XX] Received: from [194.39.192.219] (account ap HELO testsystem.bnc.net) by bnc.net (CommuniGate Pro SMTP 5.1.12) with ESMTPSA id 3032415 for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 13:16:52 +0100 Message-Id: <45981233-B9D7-4321-855B-8394070E14B9@bnc.net> From: Achim Patzner To: freebsd-hackers@freebsd.org In-Reply-To: <20080123110914.GB40619@hamlet.SetFilePointer.com> Content-Type: multipart/signed; boundary=Apple-Mail-20--554884116; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 23 Jan 2008 13:16:54 +0100 References: <200801230634.m0N6Y0tf000427@mail.cruzio.com> <20080123110914.GB40619@hamlet.SetFilePointer.com> X-Mailer: Apple Mail (2.915) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 23 Jan 2008 13:16:59 -0000 --Apple-Mail-20--554884116 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Am 23.01.2008 um 12:09 schrieb Alec Kloss: > On 2008-01-22 22:34, Bruce R. Montague wrote: >> I would try to fix/upgrade this driver if I had any >> hardware with a CS5536, but I don't. > The specific device I'm targeting is a "koolu", > http://www.koolu.com. Or take a look at http://www.fit-pc.com/ > Unfortunately, it has no serial ports, so > debugging is pretty limited. The Fit-PC has one. Or at least a sorry excuse for a serial port. Just getting it to you might be even more expensive than buying it somewhere closer to you. Achim --Apple-Mail-20--554884116-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 13:21:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 789F616A46B for ; Wed, 23 Jan 2008 13:21:10 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4575213C4F6 for ; Wed, 23 Jan 2008 13:21:09 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHfXN-00089g-MB for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 13:21:06 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jan 2008 13:21:05 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jan 2008 13:21:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Wed, 23 Jan 2008 14:20:51 +0100 Lines: 39 Message-ID: References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE28CE3121EC057B458261B7D" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <47970EE2.5000400@moneybookers.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 13:21:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE28CE3121EC057B458261B7D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stefan Lambrev wrote: > Greetings, >=20 > Kris Kennaway wrote: >> Stefan Lambrev wrote: >> >>>> How much can Linux handle? >>> Will install ubuntu on the same machine and let you know, but my >>> experience shows that FreeBSD + TSC >>> have the same performance as Linux >> >> With which timecounter? > On my colleague laptop which is little slower compared to mine hping > with hpet timer > reach 7.7MB/s and with TSC 8.5MB/s, and on my laptop I I do only > 5.01MB/s with hpet. All these are with Linux? --------------enigE28CE3121EC057B458261B7D 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.6 (GNU/Linux) iD8DBQFHlz8zldnAQVacBcgRAu2fAJ0T1hOE4v70MogEy9F8E6gnswbT1gCfSrB1 5g1g3BEbWUnotDf4Ph3qoVw= =CfF1 -----END PGP SIGNATURE----- --------------enigE28CE3121EC057B458261B7D-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 14:53:17 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E84A16A418; Wed, 23 Jan 2008 14:53:17 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id BD2BC13C46B; Wed, 23 Jan 2008 14:53:16 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 73DF91B10F18; Wed, 23 Jan 2008 15:53:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 90CA91B10EF0; Wed, 23 Jan 2008 15:53:02 +0100 (CET) Message-ID: <479754E6.1060101@moneybookers.com> Date: Wed, 23 Jan 2008 16:53:26 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Ivan Voras References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5531/Wed Jan 23 11:32:09 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 14:53:17 -0000 Greets, Now I have final results with Linux and FreeBSD on the same hardware CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' device = '82571EB Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet FreeBSD releng_7_0 from today - amd64, sched_ule. ACPI-Fast - 6.187 MB/s TSC - 9.455 MB/s dummy - 9.577 MB/s Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 x86_64 GNU/Linux - kubuntu TSC - 19.456 MB/s acpi_pm - 15.394 MB/s jiffies - 19.480 MB/s This is really not what I expected. The other thing that bothers me is, that under freebsd is quite easy to get: [send_ip] sendto: No buffer space available It happens almost always on my laptop just few seconds after I start hping with timecounter=TSC and it is harder to reproduce with ACPI-fast and HPET. -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 16:02:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53E2116A468 for ; Wed, 23 Jan 2008 16:02:04 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id ECC3513C46B for ; Wed, 23 Jan 2008 16:02:03 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1723083nzf.13 for ; Wed, 23 Jan 2008 08:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=KD6TnOiYAVWH9T7VQkE5mWIiWiOzRbvR+AcKuRffQus=; b=RYU9UO6zsisdP2RAtk6qL6/7QS+xw1MfugL0s4W3+7TuHHVOmvIZGWlC52xXRiq/8QV8FMZCpHMksYXVWm+D8jVdLh4QaWxSt/mLh/XDWMWTUN24X7xcsiAXo56SjCCn2f9yjUCbh0/TniK4z0wYK5iDwwv/7bTVCjf+HLqfEkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=QLmR52cVpk/ntIiewXXdoFEQV7rTN9Tjw2uYU2+CvjFIeUh6WcoNSqmAbognU/020tW52xAsRVMU9yWrU4TJqJlXG3CGOPRoHMa7R5IzfMUWfXG5MUl2PZexjB0Wz3IgSJQeuERAtOAjjE0Aj9iSs546PijWt0wodGpNrKz26Xc= Received: by 10.141.22.1 with SMTP id z1mr6454235rvi.67.1201104122662; Wed, 23 Jan 2008 08:02:02 -0800 (PST) Received: by 10.141.212.1 with HTTP; Wed, 23 Jan 2008 08:02:02 -0800 (PST) Message-ID: <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> Date: Wed, 23 Jan 2008 17:02:02 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Stefan Lambrev" In-Reply-To: <479754E6.1060101@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> X-Google-Sender-Auth: 7def6487cf5df68b Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 16:02:04 -0000 On 23/01/2008, Stefan Lambrev wrote: > Greets, > > Now I have final results with Linux and FreeBSD on the same hardware > CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core > Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 > rev=0x06 hdr=0x00 > vendor = 'Intel Corporation' > device = '82571EB Gigabit Ethernet Controller (Copper)' > class = network > subclass = ethernet > > FreeBSD releng_7_0 from today - amd64, sched_ule. > > ACPI-Fast - 6.187 MB/s > TSC - 9.455 MB/s > dummy - 9.577 MB/s > > Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 > x86_64 GNU/Linux - kubuntu > > TSC - 19.456 MB/s > acpi_pm - 15.394 MB/s > jiffies - 19.480 MB/s > > This is really not what I expected. For once, it's something I expected :) I just hope it isn't one of those cases where Kris absolutely cannot reproduce it and arrives at numbers in favour of FreeBSD :) (just joking here, absolutely no ill feelings involved). It would be helpful if you post exact command line arguments from all cases. > The other thing that bothers me is, that under freebsd is quite easy to get: > [send_ip] sendto: No buffer space available > It happens almost always on my laptop just few seconds after I start > hping with timecounter=TSC I'm not sure, but from what I understood of Robert Watson's explanation in the big ZFS thread on -current, maybe increasing kmem_size (exactly as for ZFS...) could help you with these buffers. From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 16:10:22 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144C916A420 for ; Wed, 23 Jan 2008 16:10:22 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9078B13C46A for ; Wed, 23 Jan 2008 16:10:21 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.1/8.13.8) with ESMTP id m0NGAK7a009930; Wed, 23 Jan 2008 10:10:20 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.1/8.13.8/Submit) id m0NGAJtu009929; Wed, 23 Jan 2008 10:10:19 -0600 (CST) (envelope-from brooks) Date: Wed, 23 Jan 2008 10:10:19 -0600 From: Brooks Davis To: cristi@roedu.net Message-ID: <20080123161019.GA96555@lor.one-eyed-alien.net> References: <50587.193.226.5.33.1201086363.squirrel@mail.roedu.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <50587.193.226.5.33.1201086363.squirrel@mail.roedu.net> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Wed, 23 Jan 2008 10:10:20 -0600 (CST) Cc: hackers@freebsd.org Subject: Re: DIST_SUBDIR not working with MASTER_SITE_OVERRIDE 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, 23 Jan 2008 16:10:22 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2008 at 01:06:03PM +0200, cristi@roedu.net wrote: > Hi everybody, >=20 > I recently wanted to install some gnome stuff from ports. In order to > boost the download speed, I did something like this: >=20 > make MASTER_SITE_OVERRIDE=3Dftp://ftp1.ro.freebsd.org/pub/FreeBSD/distfi= les/ >=20 > as documented in the Handbook. However, many gnome packages seem to have > DIST_SUBDIR in their Makefile, but MASTER_SITE_OVERRIDE doesn't care. This > makes installing ports (with many dependencies) from known non-default > sources very hard. You just need to set MASTER_SITE_OVERRIDE in /etc/make.conf or ports.conf like: MASTER_SITE_OVERRIDE=3Dftp://ftp1.ro.freebsd.org/pub/FreeBSD/distfiles/${DI= ST_SUBDIR}/ The Handbook should be updated. > The following patch addresses this problem. As a side-effect, if somebody > does not have distfiles structured as on a FreeBSD mirror (a rare case I > would say) he will have to find a workaround. IMO this patch is not a good idea because it would prevent someone from building a more interesting distfile mirror. -- Brooks > --- bsd.port.mk.orig 2008-01-23 13:01:18.000000000 +0200 > +++ bsd.port.mk 2008-01-23 13:01:45.000000000 +0200 > @@ -2578,11 +2578,11 @@ > # If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository > # for everything, but don't search it twice by appending it to the end. > .if defined(MASTER_SITE_FREEBSD) > -_MASTER_SITE_OVERRIDE:=3D ${MASTER_SITE_BACKUP} > +_MASTER_SITE_OVERRIDE:=3D ${MASTER_SITE_BACKUP}/${DIST_SUBDIR}/ > _MASTER_SITE_BACKUP:=3D # empty > .else > -_MASTER_SITE_OVERRIDE=3D ${MASTER_SITE_OVERRIDE} > -_MASTER_SITE_BACKUP=3D ${MASTER_SITE_BACKUP} > +_MASTER_SITE_OVERRIDE=3D ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ > +_MASTER_SITE_BACKUP=3D ${MASTER_SITE_BACKUP}/${DIST_SUBDIR}/ > .endif >=20 > # Search CDROM first if mounted, symlink instead of copy if >=20 >=20 > _______________________________________________ > 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" >=20 --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHl2brXY6L6fI4GtQRAlU6AKDbAmZjDDoRWz5C0Hi4OL0U+AKVDgCggmuM 8lAV+Uw//E4b7AlPGdD9jfg= =T8ur -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 16:26:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E77FE16A496; Wed, 23 Jan 2008 16:26:07 +0000 (UTC) (envelope-from prvs=1908b38c02=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4A98113C4E7; Wed, 23 Jan 2008 16:26:07 +0000 (UTC) (envelope-from prvs=1908b38c02=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1201104699; x=1201709499; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=CP/E5Yvw/aiSAwmz20vxo Zy82o0V74ynhQrL/NVB3OE=; b=EEsc/6hz17kwUmexErWKNqIUxas9FcIT6i8na Ze1lOrYFY4JMzmfNgvb8YZgkcBFRnwX4Ac3ZY2MBIKTjiEch+e/okkDPS3soPQN4 5zfsbK2NheazCyGjtKyQ31w49LM5GwBTJMb9x2QI3m9OcIkpxI1b4Aysd4GRIpTH u9buV0= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.3) with ESMTP id md50004922632.msg; Wed, 23 Jan 2008 16:11:38 +0000 Message-ID: <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Ivan Voras" , "Stefan Lambrev" References: <4795CC13.7080601@moneybookers.com><4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no><479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org><47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> Date: Wed, 23 Jan 2008 16:11:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1908b38c02=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: mail1.multiplay.co.uk, Wed, 23 Jan 2008 16:11:38 +0000 X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 23 Jan 2008 16:11:39 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 16:26:08 -0000 ----- Original Message ----- From: "Ivan Voras" >> The other thing that bothers me is, that under freebsd is quite easy to get: >> [send_ip] sendto: No buffer space available >> It happens almost always on my laptop just few seconds after I start >> hping with timecounter=TSC > > I'm not sure, but from what I understood of Robert Watson's > explanation in the big ZFS thread on -current, maybe increasing > kmem_size (exactly as for ZFS...) could help you with these buffers. Is this not just running out of mbufs? netstat -m will show if it is and the fix is to just increase kern.ipc.nmbclusters. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 16:27:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7BC916A417; Wed, 23 Jan 2008 16:27:05 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 26B1D13C447; Wed, 23 Jan 2008 16:27:05 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id C65661B10EE8; Wed, 23 Jan 2008 17:27:03 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 93AB81B10EDC; Wed, 23 Jan 2008 17:27:00 +0100 (CET) Message-ID: <47976AD4.3020203@moneybookers.com> Date: Wed, 23 Jan 2008 18:27:00 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Ivan Voras References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> In-Reply-To: <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5531/Wed Jan 23 11:32:09 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 16:27:05 -0000 Hi, Ivan Voras wrote: > On 23/01/2008, Stefan Lambrev wrote: > >> Greets, >> >> Now I have final results with Linux and FreeBSD on the same hardware >> CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core >> Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 >> rev=0x06 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82571EB Gigabit Ethernet Controller (Copper)' >> class = network >> subclass = ethernet >> >> FreeBSD releng_7_0 from today - amd64, sched_ule. >> >> ACPI-Fast - 6.187 MB/s >> TSC - 9.455 MB/s >> dummy - 9.577 MB/s >> >> Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 >> x86_64 GNU/Linux - kubuntu >> >> TSC - 19.456 MB/s >> acpi_pm - 15.394 MB/s >> jiffies - 19.480 MB/s >> >> This is really not what I expected. >> > > For once, it's something I expected :) I just hope it isn't one of > those cases where Kris absolutely cannot reproduce it and arrives at > numbers in favour of FreeBSD :) > (just joking here, absolutely no ill feelings involved). > > It would be helpful if you post exact command line arguments from all cases. > hping is quite simple program - jsut: cd /usr/ports/net/hping-devel && make install Here are my goals, configuration and problems - http://lists.freebsd.org/pipermail/freebsd-performance/2008-January/003071.html For this test, where I benchmark freebsd and linux I just have 2 servers connected with cable (no switch) Host A (flooder) 10.3.3.1 and host B (target) 10.3.3.2 I run from host A : hping --flood -p 22 -S 10.3.3.2 and systat -ifstat on host B to see the traffic that is generated (I do not want to run this monitoring on the flooder host as it will effect his performance) After few minutes running I change the kern.timecounter.hardware to next available counter and move to next test. On linux (kubuntu) you can change the counter by executing: echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource and cat /sys/devices/system/clocksource/clocksource0/current_clocksource is the alternative of sysctl kern.timecounter.choice Also I understand that hping is probably written with linux in mind, so is there something else, that is more bsd native and will let me accomplish my goals? :) I need small tool to flood the network and test my bridge firewall. >> The other thing that bothers me is, that under freebsd is quite easy to get: >> [send_ip] sendto: No buffer space available >> It happens almost always on my laptop just few seconds after I start >> hping with timecounter=TSC >> > > I'm not sure, but from what I understood of Robert Watson's > explanation in the big ZFS thread on -current, maybe increasing > kmem_size (exactly as for ZFS...) could help you with these buffers. > _______________________________________________ > 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" > -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 17:36:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63CB416A46B; Wed, 23 Jan 2008 17:36:02 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 1625013C44B; Wed, 23 Jan 2008 17:36:01 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 541541B10EF4; Wed, 23 Jan 2008 18:36:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_48 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 55E1F1B10EE7; Wed, 23 Jan 2008 18:35:50 +0100 (CET) Message-ID: <47977AF5.7090906@moneybookers.com> Date: Wed, 23 Jan 2008 19:35:49 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Steven Hartland References: <4795CC13.7080601@moneybookers.com><4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no><479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org><47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> In-Reply-To: <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5531/Wed Jan 23 11:32:09 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 17:36:02 -0000 Greetings, Steven Hartland wrote: > ----- Original Message ----- From: "Ivan Voras" >>> The other thing that bothers me is, that under freebsd is quite easy >>> to get: >>> [send_ip] sendto: No buffer space available >>> It happens almost always on my laptop just few seconds after I start >>> hping with timecounter=TSC >> >> I'm not sure, but from what I understood of Robert Watson's >> explanation in the big ZFS thread on -current, maybe increasing >> kmem_size (exactly as for ZFS...) could help you with these buffers. > > Is this not just running out of mbufs? netstat -m will show if it is > and the fix > is to just increase kern.ipc.nmbclusters. 670/1520/2190 mbufs in use (current/cache/total) 462/322/784/25600 mbuf clusters in use (current/cache/total/max) 462/306 mbuf+clusters out of packet secondary zone in use (current/cache) 0/35/35/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1091K/1164K/2255K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/4/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines kern.ipc.nmbclusters: 25600 I do not think I'm running out of mbufs. And increasing nmbclusters doesn't help. Here is what I have for kmem_size. How can I see how much of the kmem size is used ? vmstat -m :) vm.kmem_size_scale: 3 vm.kmem_size_max: 335544320 vm.kmem_size_min: 0 vm.kmem_size: 335544320 Something suspicious that I notice is: vmstat -m|grep devbuf devbuf 5214 42780K - 6390 16,32,64,128,256,512,1024,2048,4096 42MB memory allocated for devbuf ? Is this ok ? This is the only thing that 'eat' more then 1-2MB memory reported by vmstat -m. -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 19:15:51 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AE9D16A421 for ; Wed, 23 Jan 2008 19:15:51 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8B8713C457; Wed, 23 Jan 2008 19:15:49 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47979264.2020808@FreeBSD.org> Date: Wed, 23 Jan 2008 20:15:48 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <47965072.7030700@moneybookers.com> <47965112.5020009@FreeBSD.org> <4797265A.3020409@moneybookers.com> In-Reply-To: <4797265A.3020409@moneybookers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 19:15:51 -0000 Stefan Lambrev wrote: > Hi Kris, > > Kris Kennaway wrote: >> Stefan Lambrev wrote: >>> >>> Kris Kennaway wrote: >>>> Stefan Lambrev wrote: >>>> >>>>>> You should use hwpmc to verify where the application is really >>>>>> spending time, since gettimeofday doesn't seem to account for it all. >>>>> pmc: Unknown Intel CPU. >>>>> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, >>>>> 0xffffffff8054c500) error 78 >>>> >>>> OK, this is the famous problem with modern CPUs that jkoshy has >>>> declined to work around :( There are patches for this in perforce, see >>>> >>>> http://perforce.freebsd.org/changeView.cgi?CH=126189 > I got hwpmc to compile (but only as module) > hwpmc: TSC/1/0x20 P6/2/0x1ff > but when I try to use pmcstat I receive this error message: > pmcstat: ERROR: Initialization of the pmc(3) library failed: Device not > configured > > kldstat lists hwpmc.ko as loaded and I have options HWPMC_HOOKS in my > kernel. > > Any idea what's go wrong? > You also need changes to the userland libpmc and pmcstat. They should also be in that (or related) p4 changeset though. Kris From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 19:26:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6527716A41A; Wed, 23 Jan 2008 19:26:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7962F13C44B; Wed, 23 Jan 2008 19:26:20 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <479794DB.4020504@FreeBSD.org> Date: Wed, 23 Jan 2008 20:26:19 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Ivan Voras References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> In-Reply-To: <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Stefan Lambrev Subject: Re: gettimeofday() in hping 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, 23 Jan 2008 19:26:21 -0000 Ivan Voras wrote: > On 23/01/2008, Stefan Lambrev wrote: >> Greets, >> >> Now I have final results with Linux and FreeBSD on the same hardware >> CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core >> Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 >> rev=0x06 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82571EB Gigabit Ethernet Controller (Copper)' >> class = network >> subclass = ethernet >> >> FreeBSD releng_7_0 from today - amd64, sched_ule. >> >> ACPI-Fast - 6.187 MB/s >> TSC - 9.455 MB/s >> dummy - 9.577 MB/s >> >> Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 >> x86_64 GNU/Linux - kubuntu >> >> TSC - 19.456 MB/s >> acpi_pm - 15.394 MB/s >> jiffies - 19.480 MB/s >> >> This is really not what I expected. > > For once, it's something I expected :) I just hope it isn't one of > those cases where Kris absolutely cannot reproduce it and arrives at > numbers in favour of FreeBSD :) > (just joking here, absolutely no ill feelings involved). Harumph :) The first step is that we need to understand where the application is spending its time. Hopefully Stefan or someone else will be able to test it under hwpmc. > It would be helpful if you post exact command line arguments from all cases. > >> The other thing that bothers me is, that under freebsd is quite easy to get: >> [send_ip] sendto: No buffer space available >> It happens almost always on my laptop just few seconds after I start >> hping with timecounter=TSC > > I'm not sure, but from what I understood of Robert Watson's > explanation in the big ZFS thread on -current, maybe increasing > kmem_size (exactly as for ZFS...) could help you with these buffers. It is the socket buffer that is filling up. Either the application is not increasing it to large enough size or the default maximum is too low (Linux may set a larger default). Try increasing kern.ipc.maxsockbuf and confirming with the source and/or ktrace that it is doing the right setsockopt() call. Kris From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 19:35:14 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FB116A4E7 for ; Wed, 23 Jan 2008 19:35:14 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from mailout2.zih.tu-dresden.de (mailout2.zih.tu-dresden.de [141.30.67.73]) by mx1.freebsd.org (Postfix) with ESMTP id D4FA913C4CC for ; Wed, 23 Jan 2008 19:35:13 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout2.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1JHl8C-0001B0-9Z for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 20:19:30 +0100 Received: from martin (p5B0ED0A2.dip.t-dialin.net [91.14.208.162]) by server-n (Postfix) with ESMTP id DADC9100A08E for ; Wed, 23 Jan 2008 20:19:25 +0100 (CET) Date: Wed, 23 Jan 2008 20:19:24 +0100 To: freebsd-hackers@freebsd.org From: "Martin Laabs" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.25 (Linux) X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de X-Mailman-Approved-At: Wed, 23 Jan 2008 20:33:16 +0000 Subject: update slices on (a)cd devices 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, 23 Jan 2008 19:35:14 -0000 Hi, I ask the same question some day on -questions before but got no usefull answer. Since it is also more technical related I try it here again. I created a dvd with two slices a and b. (Don't ask for the reason - it is a test for my backup system) This slices are ufs formated and gbde encrypted. However - if I insert the DVD (and also a read access is done) the device nodes acd0a and acd0b are not created automaticly. But if the DVD is inserted *before* boot this two nodes are there and stay even if I insert a "normal" DVD without slices. An other way to update the device nodes is to detach an attach the ata channel with atacontrol while the "sliced" DVD is beeing inserted. But this is not very smart. (In particular if there is i.e. a second device at this channel that is then disconnected too.) A similar way it to reload the atapicam modul. In this case the cd0* device nodes are updated. The problems are the same as with atacontroll de-/attach. So I'am searching for a better way to tell the kernel/devfs to update the device node list of the atapi devices. Unfortu- nately I couldn't find a appropiate ioctl in the source of atacontrol. Since I didn't understand the conecpt of geom fully now I'm not sure whether geom also handle the "single" (a)d[0-] and (a)cd[0-] devices and if there is maybe a geom command for the "slice reread" Thank you, Martin L. From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 20:52:25 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0E9416A419 for ; Wed, 23 Jan 2008 20:52:25 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 7C23B13C43E for ; Wed, 23 Jan 2008 20:52:25 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 59568 invoked by uid 2001); 23 Jan 2008 20:25:43 -0000 Date: Wed, 23 Jan 2008 14:25:43 -0600 From: "Rick C. Petty" To: cristi@roedu.net Message-ID: <20080123202543.GA59457@keira.kiwi-computer.com> References: <50587.193.226.5.33.1201086363.squirrel@mail.roedu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50587.193.226.5.33.1201086363.squirrel@mail.roedu.net> User-Agent: Mutt/1.4.2.3i Cc: hackers@freebsd.org Subject: Re: DIST_SUBDIR not working with MASTER_SITE_OVERRIDE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 20:52:26 -0000 On Wed, Jan 23, 2008 at 01:06:03PM +0200, cristi@roedu.net wrote: > Hi everybody, > > I recently wanted to install some gnome stuff from ports. In order to > boost the download speed, I did something like this: > > make MASTER_SITE_OVERRIDE=ftp://ftp1.ro.freebsd.org/pub/FreeBSD/distfiles/ > > as documented in the Handbook. However, many gnome packages seem to have > DIST_SUBDIR in their Makefile, but MASTER_SITE_OVERRIDE doesn't care. This > makes installing ports (with many dependencies) from known non-default > sources very hard. I used to do something similar to this by setting it in /etc/make.conf. The only downside is if DIST_SUBDIR is not set you get paths that don't look pretty, e.g.: ftp://ftp5.freebsd.org/pub/FreeBSD/distfiles//some_distfile.tgz Instead, I added something to my /etc/make.conf similar to: .if defined(DIST_SUBDIR) DIST_SUBDIR_OVERRIDE=${DIST_SUBDIR}/ .else DIST_SUBDIR_OVERRIDE= .endif MASTER_SITE_OVERRIDE=ftp://ftp5.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR_OVERRIDE} -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 21:30:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10E3C16A421 for ; Wed, 23 Jan 2008 21:30:53 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 8944213C4D5 for ; Wed, 23 Jan 2008 21:30:52 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m0NLUokP024522; Wed, 23 Jan 2008 22:30:50 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m0NLUfOd066815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jan 2008 22:30:42 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m0NLUfOd035992; Wed, 23 Jan 2008 22:30:41 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m0NLUfkp035991; Wed, 23 Jan 2008 22:30:41 +0100 (CET) (envelope-from ticso) Date: Wed, 23 Jan 2008 22:30:41 +0100 From: Bernd Walter To: Martin Laabs Message-ID: <20080123213041.GK22192@cicely12.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: freebsd-hackers@freebsd.org Subject: Re: update slices on (a)cd devices X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 21:30:53 -0000 On Wed, Jan 23, 2008 at 08:19:24PM +0100, Martin Laabs wrote: > Hi, > > I ask the same question some day on -questions before but got > no usefull answer. Since it is also more technical > related I try it here again. > > I created a dvd with two slices a and b. (Don't ask for the > reason - it is a test for my backup system) > This slices are ufs formated and gbde encrypted. However - > if I insert the DVD (and also a read access is done) the device > nodes acd0a and acd0b are not created automaticly. But if > the DVD is inserted *before* boot this two nodes are there > and stay even if I insert a "normal" DVD without slices. > > An other way to update the device nodes is to detach an > attach the ata channel with atacontrol while the "sliced" DVD > is beeing inserted. But this is not very smart. (In particular > if there is i.e. a second device at this channel that is then > disconnected too.) > A similar way it to reload the atapicam modul. In this case > the cd0* device nodes are updated. The problems are the same > as with atacontroll de-/attach. > > So I'am searching for a better way to tell the kernel/devfs > to update the device node list of the atapi devices. Unfortu- > nately I couldn't find a appropiate ioctl in the source of > atacontrol. Since I didn't understand the conecpt of geom > fully now I'm not sure whether geom also handle the > "single" (a)d[0-] and (a)cd[0-] devices and if there is maybe > a geom command for the "slice reread" More or less there is: cp /dev/null /dev/acd0 Not sure if it works for CD's but it works for removeable disks. The problem is that many drives don't tell you about media change, so you have to poll or trigger yourself. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 20:37:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 730D716A46B for ; Wed, 23 Jan 2008 20:37:11 +0000 (UTC) (envelope-from ehr3@ehr3.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 50C8D13C4F3 for ; Wed, 23 Jan 2008 20:37:11 +0000 (UTC) (envelope-from ehr3@ehr3.com) Received: from m100 (ool-4573e153.dyn.optonline.net [69.115.225.83]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JV400K2O57CD420@mta5.srv.hcvlny.cv.net> for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 15:06:49 -0500 (EST) Date: Wed, 23 Jan 2008 15:06:50 -0500 From: freebsd@ehr3.com Sender: "Ernest H. Rice, III" To: freebsd-hackers@freebsd.org Message-id: <0JV400K2P57CD420@mta5.srv.hcvlny.cv.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: Achd+30MIY6A2StET7WSsHujim6uhg== X-Mailman-Approved-At: Wed, 23 Jan 2008 22:24:21 +0000 Subject: HP Color Laserjet 1600 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, 23 Jan 2008 20:37:11 -0000 We have a networked HP Color Laserjet 1600 on a print server (could also be shared on a Windows XP Pro box). We want to print text (plain black) with a letter head (in color). We created the letterhead using Microsoft Word, and printed it to a file. We were hoping that when we wanted to print out text with the letter head that we could just queue the output from Word, followed by the text. The thinking being that the file produced from the Print-to-File option of word, would be native PCL, and then we could just throw the text in afterwards. When we try to print the letter head file, we get the PCL commands, as text... Alas, this is not as simple as we had hoped. Any suggestions as to how to produce the desired result would be appreciated. FreeBSD@ehr3.com From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 00:05:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF7A16A41A for ; Thu, 24 Jan 2008 00:05:05 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 56BD713C465 for ; Thu, 24 Jan 2008 00:05:05 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JHpaY-0002Py-Ic for freebsd-hackers@freebsd.org; Thu, 24 Jan 2008 00:05:02 +0000 Received: from 78-1-98-105.adsl.net.t-com.hr ([78.1.98.105]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 00:05:02 +0000 Received: from ivoras by 78-1-98-105.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 00:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Thu, 24 Jan 2008 01:03:11 +0100 Lines: 37 Message-ID: References: <200801230634.m0N6Y0tf000427@mail.cruzio.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig89E63F5467243A81C2AF0EEF" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-98-105.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <200801230634.m0N6Y0tf000427@mail.cruzio.com> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 24 Jan 2008 00:05:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig89E63F5467243A81C2AF0EEF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Bruce R. Montague wrote: > I would try to fix/upgrade this driver if I had any > hardware with a CS5536, but I don't. That said, can > anyone recomend a cheap system that includes the > CS5536, is generally available, doesn't cost very > much and can be used as a minimal dev platform? > (Surely all the OLPC work has made some interesting > such systems available?) Or would anyone want to > donate a "free" current AMD Geode reference > platform? :) Can't help you with the hardware but I'm also interested in sound=20 working on it and can test patches and provide remote access. I'm using=20 fit-pc (http://www.fit-pc.com/), costs $300. --------------enig89E63F5467243A81C2AF0EEF 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.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHl9W/ldnAQVacBcgRAsE+AKDfJne94ckjldkhy2FuwqxcOR2aEgCfYcMY 1Af7rCndA7Yh8QEHVhggMPg= =wGJa -----END PGP SIGNATURE----- --------------enig89E63F5467243A81C2AF0EEF-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 02:47:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C1F816A420 for ; Thu, 24 Jan 2008 02:47:53 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD7813C448 for ; Thu, 24 Jan 2008 02:47:53 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so73863pyb.10 for ; Wed, 23 Jan 2008 18:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=N0IfR9gzLj2caE9ac2mbtosMQA2sbv0lU6PHxm7Y1AA=; b=nHMIaP2kjHCijIJI5Ur1Gr+8Qdb59zC0DR+ObkEO6q2Q0ksEheffr2oCtykvQbF44/BV9t92HyXtNDkW9fkZ8iSC+fL6G82cJsCWcNvEEP8ME2CyyVifQlEPmlCLOt8PGVO+owVx1EXrWXwIm7mFngkqoCezhZIRHF0KiHGEep4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=h2b0gau8ny5Le1OeFJjjtM0XuF2xgvILuuWNCRVUbE80FF/PQFgu5+KWWQ4g7KZh2i416ep11amqGYKUQnsRRSi8LwMQUVxPCg9v79MIi9kXwRD8J2WJAihAufbEFeGYkAQM6+pOCoswSBY0Lpvrn6a3mBpHEz62v9xj0c8lxR8= Received: by 10.64.233.12 with SMTP id f12mr219915qbh.34.1201141115193; Wed, 23 Jan 2008 18:18:35 -0800 (PST) Received: by 10.65.197.7 with HTTP; Wed, 23 Jan 2008 18:18:35 -0800 (PST) Message-ID: <5f67a8c40801231818u1d1f91f5n187ff0e7c8ebc233@mail.gmail.com> Date: Wed, 23 Jan 2008 21:18:35 -0500 From: "Zaphod Beeblebrox" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: zfs plugins 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, 24 Jan 2008 02:47:53 -0000 Has any thought been given to the growing number of zfs plugins on solaris? In particular, they have an encryption plugin that functions similar to zfs compression, but it seems useful to consider their plugins... Just wondering. From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 05:00:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E09116A41B for ; Thu, 24 Jan 2008 05:00:45 +0000 (UTC) (envelope-from brucem@mail.cruzio.com) Received: from cruzio.com (dsl-63-249-85-132.cruzio.com [63.249.85.132]) by mx1.freebsd.org (Postfix) with ESMTP id 6970D13C44B for ; Thu, 24 Jan 2008 05:00:45 +0000 (UTC) (envelope-from brucem@mail.cruzio.com) Received: from mail.cruzio.com (localhost [127.0.0.1]) by cruzio.com (8.12.10/8.12.10) with ESMTP id m0O66por000374 for ; Wed, 23 Jan 2008 22:06:51 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.12.10/8.12.10/Submit) id m0O66p5V000373 for freebsd-hackers@freebsd.org; Wed, 23 Jan 2008 22:06:51 -0800 (PST) (envelope-from brucem) Date: Wed, 23 Jan 2008 22:06:51 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200801240606.m0O66p5V000373@mail.cruzio.com> To: freebsd-hackers@freebsd.org Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 24 Jan 2008 05:00:45 -0000 Hi, re: > I'm hoping someone will be able to help me out with the audio is > the Geode CS5536. Those AMD Geode systems with the CS5536 look almost cheap enough to afford one for each hand. I'll look into upgrading the 5530 audio driver for the 5536, but it will take sometime. If someone does it over the weekend, or somesuch, let me know... (likewise if anyone has other advice on good current Geode kernel development platforms). -bruce From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 07:29:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2539416A41A for ; Thu, 24 Jan 2008 07:29:10 +0000 (UTC) (envelope-from binto@triplegate.net.id) Received: from outgoing16.3gate.net (outgoing16.3gate.net [202.127.97.16]) by mx1.freebsd.org (Postfix) with SMTP id EF4C013C448 for ; Thu, 24 Jan 2008 07:29:02 +0000 (UTC) (envelope-from binto@triplegate.net.id) Received: (qmail 3554 invoked by uid 1011); 24 Jan 2008 06:57:43 -0000 Received: from 202.127.97.100 by outgoing16.3gate.net (envelope-from , uid 1009) with qmail-scanner-1.25-st-qms (clamdscan: 0.86.2/1034. spamassassin: 3.0.2. perlscan: 1.25-st-qms. Clear:RC:1(202.127.97.100):. Processed in 0.047014 secs); 24 Jan 2008 06:57:43 -0000 X-Antivirus-3GATE-NET-Mail-From: binto@triplegate.net.id via outgoing16.3gate.net X-Antivirus-3GATE-NET: 1.25-st-qms (Clear:RC:1(202.127.97.100):. Processed in 0.047014 secs Process 3548) Received: from smtp.triplegate.net.id (HELO lb1.3gate.net) (202.127.97.100) by outgoing16.3gate.net with SMTP; 24 Jan 2008 06:57:43 -0000 Received: from webmail.triplegate.net.id (unknown [202.127.97.10]) by lb1.3gate.net (Postfix) with ESMTP id 13AFA21103E; Thu, 24 Jan 2008 13:58:01 +0700 (WIT) Received: from 202.127.98.144 (SquirrelMail authenticated user binto@triplegate.net.id) by webmail.triplegate.net.id with HTTP; Thu, 24 Jan 2008 14:04:12 +0700 (WIT) Message-ID: <60707.202.127.98.144.1201158252.squirrel@webmail.triplegate.net.id> In-Reply-To: <47977AF5.7090906@moneybookers.com> References: <4795CC13.7080601@moneybookers.com><4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no><479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org><47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> <47977AF5.7090906@moneybookers.com> Date: Thu, 24 Jan 2008 14:04:12 +0700 (WIT) From: "binto" To: "Stefan Lambrev" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org, Steven Hartland , Ivan Voras Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 07:29:10 -0000 > Greetings, > > Steven Hartland wrote: >> ----- Original Message ----- From: "Ivan Voras" >>>> The other thing that bothers me is, that under freebsd is quite easy >>>> to get: >>>> [send_ip] sendto: No buffer space available >>>> It happens almost always on my laptop just few seconds after I start >>>> hping with timecounter=TSC >>> >>> I'm not sure, but from what I understood of Robert Watson's >>> explanation in the big ZFS thread on -current, maybe increasing >>> kmem_size (exactly as for ZFS...) could help you with these buffers. >> >> Is this not just running out of mbufs? netstat -m will show if it is >> and the fix >> is to just increase kern.ipc.nmbclusters. > 670/1520/2190 mbufs in use (current/cache/total) > 462/322/784/25600 mbuf clusters in use (current/cache/total/max) > 462/306 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/35/35/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 1091K/1164K/2255K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/4/6656 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > kern.ipc.nmbclusters: 25600 sysctl -a kern.ipc.maxsockbuf ? if net.inet.tcp.recvspace / net.inet.tcp.sendspace greater than kern.ipc.maxsockbuf that can also make : "No buffer space available" > > I do not think I'm running out of mbufs. > And increasing nmbclusters doesn't help. > > Here is what I have for kmem_size. How can I see how much of the kmem > size is used ? vmstat -m :) > > vm.kmem_size_scale: 3 > vm.kmem_size_max: 335544320 > vm.kmem_size_min: 0 > vm.kmem_size: 335544320 > > Something suspicious that I notice is: > vmstat -m|grep devbuf > devbuf 5214 42780K - 6390 > 16,32,64,128,256,512,1024,2048,4096 > > 42MB memory allocated for devbuf ? Is this ok ? > > This is the only thing that 'eat' more then 1-2MB memory reported by > vmstat -m. > > -- > > Best Wishes, > Stefan Lambrev > ICQ# 24134177 > > _______________________________________________ > 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 Thu Jan 24 07:31:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD73116A417 for ; Thu, 24 Jan 2008 07:31:57 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 45C6213C478 for ; Thu, 24 Jan 2008 07:31:57 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so136560fgg.35 for ; Wed, 23 Jan 2008 23:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=nOp7sPV3a2iqXxHQvdVawTMA9R9Y+hlqlHVMOOquJns=; b=godbLqr82g1Et5e9cSJJblDMslD9WdDEkVqYH5ZS9zYxKKa9hklr3stUj83IEUv5XGtMC12UXU9NDry1xrTmTX3I0S2eUawiaQkNiF/1tg9KDMWU+nHt+wZKGqfzXBMaacCRDJOFz8MfIzqUP0WcBU7/K4GdLw4b6SZ9cEBv98s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xHAJ5ZTryP3DaXj26uNCyQGunyReE5auhlypfbmh9ec5/Bd8OyivW0tFhmyhmpEf0NLZqKteDyyMTOLuoQ7PASE6ujlPJ7gsA9SvhDaZDywBNUPcKokUF8VdLiUtTvGYvgHktD0ogjgig6vqYC+0X5tYq3TnUPMR4nte1glALEQ= Received: by 10.86.97.7 with SMTP id u7mr290655fgb.65.1201158384962; Wed, 23 Jan 2008 23:06:24 -0800 (PST) Received: by 10.86.89.14 with HTTP; Wed, 23 Jan 2008 23:06:24 -0800 (PST) Message-ID: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> Date: Thu, 24 Jan 2008 15:06:24 +0800 From: "william wong" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD hacker 101 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, 24 Jan 2008 07:31:57 -0000 Hi, Are there any docments or pointers to get me started hacking around my 6.3asap? Building toochains, submitting patches etc.... or i just follow most of the conventions in the Linux kernel development community? regards, william From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 07:34:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82B6F16A481 for ; Thu, 24 Jan 2008 07:34:56 +0000 (UTC) (envelope-from greycd@gmail.com) Received: from ro-out-1112.google.com (ro-out-1112.google.com [72.14.202.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC2C13C458 for ; Thu, 24 Jan 2008 07:34:55 +0000 (UTC) (envelope-from greycd@gmail.com) Received: by ro-out-1112.google.com with SMTP id d36so128676roh.13 for ; Wed, 23 Jan 2008 23:34:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:references:subject:message-id:x-mailer:mime-version:content-type; bh=qSpnwcrILqtWF6zJKNcJiaUeswkwvSWVrcbjbd9e+mM=; b=FgjXiFAQZF/1yuz87s+9SXrmFASuopZMC8Evc2s6Ex3b13Y5yRVxyFtnLmknJl9N9GUtKY3xr1mT6kUdhtWBvxj4ZYV7sr2aWjCSMx/U01SMInbWZVNjPq1jWJMAawNd7MHoyxVFoOcWdh/z7OPrzixRNiJcITCXh2PSXAtbHUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:references:subject:message-id:x-mailer:mime-version:content-type; b=bBVfdWfXQWVJarIWitBKYlS/YX5nW4dSFT4DT3zNM03zfLBcQIBXViLSGCM+Ukj8KwnsCWgsh0yPV4LMYZfaQhcBZg+H/6Q16sso9NSCNJNVucOWp4yiEW7ZKrLMV4VeTDl9VLac1Va2y34xOGrJ2jA2tO14x2Br/As/XmPmqrg= Received: by 10.115.95.1 with SMTP id x1mr408629wal.94.1201160094621; Wed, 23 Jan 2008 23:34:54 -0800 (PST) Received: from microsof-ad06c9 ( [210.13.108.116]) by mx.google.com with ESMTPS id j38sm910298waf.54.2008.01.23.23.34.51 (version=SSLv3 cipher=OTHER); Wed, 23 Jan 2008 23:34:53 -0800 (PST) Date: Thu, 24 Jan 2008 15:34:50 +0800 From: "timo" To: "william wong" , "freebsd-hackers@freebsd.org" References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> Message-ID: <200801241534442816172@gmail.com> X-mailer: Foxmail 6, 10, 201, 20 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 07:34:56 -0000 YmJzLmNoaW5hdW5peC5uZXQNCmZyZWVic2RjaGluYS5vcmcNCg0KDQoyMDA4LTAxLTI0IA0KDQoN Cg0KICANCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18NCkJlc3QgIFJlZ2FyZA0KVGltbyANCm1zbjogdGlt b0BsaXZlLmNuDQoNCg0Kd2ViOiBodHRwczovL3N0YW5kLmVpY3AubmV0DQoNCg0KDQq3orz+yMuj uiB3aWxsaWFtIHdvbmcgDQq3osvNyrG85KO6IDIwMDgtMDEtMjQgIDE1OjMyOjE4IA0KytW8/sjL o7ogZnJlZWJzZC1oYWNrZXJzQGZyZWVic2Qub3JnIA0Ks63LzaO6IA0K1vfM4qO6IEZyZWVCU0Qg aGFja2VyIDEwMSANCiANCkhpLA0KDQpBcmUgdGhlcmUgYW55IGRvY21lbnRzIG9yIHBvaW50ZXJz IHRvIGdldCBtZSBzdGFydGVkIGhhY2tpbmcgYXJvdW5kIG15DQo2LjNhc2FwPyBCdWlsZGluZyB0 b29jaGFpbnMsIHN1Ym1pdHRpbmcgcGF0Y2hlcyBldGMuLi4uIG9yIGkganVzdA0KZm9sbG93IG1v c3QNCm9mIHRoZSBjb252ZW50aW9ucyBpbiB0aGUgTGludXgga2VybmVsIGRldmVsb3BtZW50IGNv bW11bml0eT8NCg0KcmVnYXJkcywNCg0Kd2lsbGlhbQ0KX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18NCmZyZWVic2QtaGFja2Vyc0BmcmVlYnNkLm9yZyBtYWls aW5nIGxpc3QNCmh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVi c2QtaGFja2Vycw0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtaGFj a2Vycy11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyINCg== From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 08:09:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC6616A420 for ; Thu, 24 Jan 2008 08:09:12 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E0B513C45A for ; Thu, 24 Jan 2008 08:09:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 63D3528449 for ; Thu, 24 Jan 2008 16:09:10 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 24AB1EB9C57; Thu, 24 Jan 2008 16:09:10 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id Ja7c1R2xhyZV; Thu, 24 Jan 2008 16:09:04 +0800 (CST) Received: from charlie.delphij.net (c-67-161-39-180.hsd1.ca.comcast.net [67.161.39.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 48C25EB1A58; Thu, 24 Jan 2008 16:09:03 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=kiLznnvKFHQPph+P4b0AddLHLgX/Rr/jUnl/YnDM3LIVHhHIIJnWUdr10zW0OA4AY w7j4tuBc+Sj6PbvYwWDWQ== Message-ID: <4798479B.9030406@delphij.net> Date: Thu, 24 Jan 2008 00:08:59 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: william wong References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> In-Reply-To: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 08:09:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 william wong wrote: > Hi, > > Are there any docments or pointers to get me started hacking around my > 6.3asap? Building toochains, submitting patches etc.... or i just > follow most > of the conventions in the Linux kernel development community? I think it's nothing "that" different. A typical way is that you find something you are not happy with, i.e. what you think FreeBSD is lacking of, do some proof of concept work, discuss it in the mailing list, refine your work, submit patch, become a committer :-) The only "difference" as far as I can tell is that FreeBSD tends to have stricter code style guidelines (the only exceptions are what we call "vendor code" which is maintained outside, this includes toolchains, device drivers that is supported by vendors, in order to make future upgrades easier). However, unlike some other bad code style guidelines, FreeBSD's coding style is very well documented (as in style(9)), and following the guideline will make your code easier to read (e.g. think about how to find the implementation with grep(1)? Yes, grep ^function.). We eager to see contributions from all aspects, but if you have no idea for your own, or is looking for something to give a shot, you can check out our projects idea page at http://www.freebsd.org/projects/ideas/ . Small contributions, like making more documentation about various sysctl's, etc. are more suitable for those who just started to learn about the code and can not invest a lot of whole bunch of time on FreeBSD (yet), are welcomed as well. Another good start is to query our PR database ( http://www.freebsd.org/cgi/query-pr-summary.cgi ) and see if there is something you have interest, but there is no fix, or there is a fix but stayed for a long time and push them. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHmEebi+vbBBjt66ARArlQAJ4xMkuM6ZflCM25wcq7Q+efxedpAACdH4w6 jwc1NRdGUp/vrGf8mMpWTiM= =Z6lW -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 09:10:03 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D236616A417 for ; Thu, 24 Jan 2008 09:10:03 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 8982C13C457 for ; Thu, 24 Jan 2008 09:10:03 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id BE0201B10EF3; Thu, 24 Jan 2008 10:10:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_48 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id EEDA41B10EF2 for ; Thu, 24 Jan 2008 10:09:58 +0100 (CET) Message-ID: <479855E3.2090100@moneybookers.com> Date: Thu, 24 Jan 2008 11:09:55 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4795CC13.7080601@moneybookers.com><4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no><479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org><47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> <47977AF5.7090906@moneybookers.com> <60707.202.127.98.144.1201158252.squirrel@webmail.triplegate.net.id> In-Reply-To: <60707.202.127.98.144.1201158252.squirrel@webmail.triplegate.net.id> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5542/Thu Jan 24 07:17:51 2008 on blah.cmotd.com X-Virus-Status: Clean Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 09:10:03 -0000 Greets, binto wrote: >> Greetings, >> >> Steven Hartland wrote: >> >>> ----- Original Message ----- From: "Ivan Voras" >>> >>>>> The other thing that bothers me is, that under freebsd is quite easy >>>>> to get: >>>>> [send_ip] sendto: No buffer space available >>>>> It happens almost always on my laptop just few seconds after I start >>>>> hping with timecounter=TSC >>>>> >>>> I'm not sure, but from what I understood of Robert Watson's >>>> explanation in the big ZFS thread on -current, maybe increasing >>>> kmem_size (exactly as for ZFS...) could help you with these buffers. >>>> >>> Is this not just running out of mbufs? netstat -m will show if it is >>> and the fix >>> is to just increase kern.ipc.nmbclusters. >>> >> 670/1520/2190 mbufs in use (current/cache/total) >> 462/322/784/25600 mbuf clusters in use (current/cache/total/max) >> 462/306 mbuf+clusters out of packet secondary zone in use (current/cache) >> 0/35/35/12800 4k (page size) jumbo clusters in use >> (current/cache/total/max) >> 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) >> 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) >> 1091K/1164K/2255K bytes allocated to network (current/cache/total) >> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) >> 0/0/0 requests for jumbo clusters denied (4k/9k/16k) >> 0/4/6656 sfbufs in use (current/peak/max) >> 0 requests for sfbufs denied >> 0 requests for sfbufs delayed >> 0 requests for I/O initiated by sendfile >> 0 calls to protocol drain routines >> >> kern.ipc.nmbclusters: 25600 >> > > sysctl -a kern.ipc.maxsockbuf ? > No, this doesn't change things. with timecounter=TSC it's easily reproduced on on 6.3. -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 09:24:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55C4C16A417; Thu, 24 Jan 2008 09:24:13 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id C957713C447; Thu, 24 Jan 2008 09:24:12 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 699FD1B10EE0; Thu, 24 Jan 2008 10:24:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id F403B1B10EA4; Thu, 24 Jan 2008 10:24:07 +0100 (CET) Message-ID: <47985936.2030705@moneybookers.com> Date: Thu, 24 Jan 2008 11:24:06 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <479794DB.4020504@FreeBSD.org> In-Reply-To: <479794DB.4020504@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5542/Thu Jan 24 07:17:51 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 09:24:13 -0000 Greets, Kris Kennaway wrote: > Ivan Voras wrote: >> On 23/01/2008, Stefan Lambrev wrote: >>> Greets, >>> >>> Now I have final results with Linux and FreeBSD on the same hardware >>> CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core >>> Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 >>> rev=0x06 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = '82571EB Gigabit Ethernet Controller (Copper)' >>> class = network >>> subclass = ethernet >>> >>> FreeBSD releng_7_0 from today - amd64, sched_ule. >>> >>> ACPI-Fast - 6.187 MB/s >>> TSC - 9.455 MB/s >>> dummy - 9.577 MB/s >>> >>> Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 >>> x86_64 GNU/Linux - kubuntu >>> >>> TSC - 19.456 MB/s >>> acpi_pm - 15.394 MB/s >>> jiffies - 19.480 MB/s >>> >>> This is really not what I expected. >> >> For once, it's something I expected :) I just hope it isn't one of >> those cases where Kris absolutely cannot reproduce it and arrives at >> numbers in favour of FreeBSD :) >> (just joking here, absolutely no ill feelings involved). > > Harumph :) The first step is that we need to understand where the > application is spending its time. Hopefully Stefan or someone else > will be able to test it under hwpmc. > >> It would be helpful if you post exact command line arguments from all >> cases. >> >>> The other thing that bothers me is, that under freebsd is quite easy >>> to get: >>> [send_ip] sendto: No buffer space available >>> It happens almost always on my laptop just few seconds after I start >>> hping with timecounter=TSC >> >> I'm not sure, but from what I understood of Robert Watson's >> explanation in the big ZFS thread on -current, maybe increasing >> kmem_size (exactly as for ZFS...) could help you with these buffers. > > It is the socket buffer that is filling up. Either the application is > not increasing it to large enough size or the default maximum is too > low (Linux may set a larger default). Try increasing > kern.ipc.maxsockbuf and confirming with the source and/or ktrace that > it is doing the right setsockopt() call. Increasing kern.ipc.maxsockbuf doesn't help. Actually this is the code that failed and print this error: result = sendto(sockraw, packet, packetsize, 0, (struct sockaddr*)&remote, sizeof(remote)); if (result == -1 && errno != EINTR && !opt_rand_dest && !opt_rand_source) { perror("[send_ip] sendto"); Those are the only references for setsockopt when ktracing: 3385 hping CALL __sysctl(0xbfbfe870,0x6,0,0xbfbfe888,0,0) 3385 hping RET __sysctl 0 3385 hping CALL __sysctl(0xbfbfe870,0x6,0x28305180,0xbfbfe888,0,0) 3385 hping RET __sysctl 0 3385 hping CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) 3385 hping RET socket 3 3385 hping CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe884,0x4) 3385 hping RET setsockopt 0 3385 hping CALL connect(0x3,0x8067da0,0x10) 3385 hping RET connect 0 3385 hping CALL getsockname(0x3,0xbfbfe874,0xbfbfe888) 3385 hping RET getsockname 0 3385 hping CALL close(0x3) 3385 hping RET close 0 3385 hping CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) 3385 hping RET socket 3 3385 hping CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe914,0x4) 3385 hping RET setsockopt 0 3385 hping CALL setsockopt(0x3,0,0x2,0xbfbfe914,0x4) 3385 hping RET setsockopt 0 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) 3385 hping NAMI "/dev/bpf0" 3385 hping RET open -1 errno 16 Device busy 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) 3385 hping NAMI "/dev/bpf1" 3385 hping RET open 4 -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 09:46:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0968216A468 for ; Thu, 24 Jan 2008 09:46:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id CCA8113C4E7 for ; Thu, 24 Jan 2008 09:46:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so291677waf.3 for ; Thu, 24 Jan 2008 01:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=WQsFVD6DLZ5oSVxL+7W6GXs5XnzY/l9qdrTOz/eP8MA=; b=OM0hy7km86vOeWm+lOii6rgCk8GI6TUOEo9kDY4KaamsnNn5VrYumoWt7FvEiByAv67KFGpOChKtBssE+UJOEHmq5lANWXk9U07odit0CG4DUSGLOEzXUS8x5seF6iXi5eTjQQ/Dxf0P+FWzn46BYVB7UpSku2LUURzo2O3Ed0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=JOseXUhF4OA3AZhz1VHWoOs/HYGVRY4SF5Q0nwFnpOwr7MtrYexPvQN8Sj1bKUuXgcXV9MBQQWGxa8FGTRm4q6FzNL9Vzxb/0IU1KqKRR7u7g+i5awbdHbwkRTM9SMRPwg17fnRdiVHHwfzyRv8QsR0gChGNrdPmVzAUEyDWbuE= Received: by 10.114.173.15 with SMTP id v15mr550879wae.63.1201167989775; Thu, 24 Jan 2008 01:46:29 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id j21sm1180989wah.8.2008.01.24.01.46.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Jan 2008 01:46:28 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m0O9kNAk019832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jan 2008 18:46:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m0O9kKVq019831; Thu, 24 Jan 2008 18:46:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 24 Jan 2008 18:46:20 +0900 From: Pyun YongHyeon To: Chris Stromblad Message-ID: <20080124094620.GC18179@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> <20080123123244.GG14495@cdnetworks.co.kr> <47974615.2030901@wa-sp.com> <20080124012957.GB18179@cdnetworks.co.kr> <1201166851.8147.18.camel@localhost, > Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201166851.8147.18.camel@localhost,> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 09:46:31 -0000 On Thu, Jan 24, 2008 at 10:27:31AM +0100, Chris Stromblad wrote: > Hi, > > This is the output from lspci -v: 'lspci -nvv' is preferred as I have to check device ids. > 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 > PCI-E Fast Ethernet Controller (rev 12) > Subsystem: Dell Unknown device 022e > Flags: bus master, fast devsel, latency 0, IRQ 16 > Memory at f9ffc000 (64-bit, non-prefetchable) [size=16K] > I/O ports at de00 [size=256] > Capabilities: > > 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG > Network Connection (rev 02) > Subsystem: Intel Corporation Unknown device 1021 > Flags: bus master, fast devsel, latency 0, IRQ 17 > Memory at f9eff000 (32-bit, non-prefetchable) [size=4K] > Capabilities: > > I included the wireless data as well because I wanted to ask if you know > whether or not this has support from ports? It doesn't get detected when > booting FreeBSD so I assume that either it needs a binary blob, or that > perhaps there are some drivers in ports that can be installed once I > have the wired network functioning properly. > Didn't wpi(4) detect your wireless network hardware? > Once again thank you very much for your help, and if there is anything > else I can do or get you, please let me know! > > - Chris > -- Regards, Pyun YongHyeon From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 09:47:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3DCE16A474 for ; Thu, 24 Jan 2008 09:47:34 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from csmtp1.b-one.net (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id 7424E13C4CE for ; Thu, 24 Jan 2008 09:47:34 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from [192.168.0.3] (h80n1c1o824.bredband.skanova.com [81.235.28.80]) by csmtp1.b-one.net (Postfix) with ESMTP id 7DBA220023D1; Thu, 24 Jan 2008 10:27:35 +0100 (CET) From: Chris Stromblad To: pyunyh@gmail.com In-Reply-To: <20080124012957.GB18179@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> <20080123123244.GG14495@cdnetworks.co.kr> <47974615.2030901@wa-sp.com> <20080124012957.GB18179@cdnetworks.co.kr> Content-Type: text/plain Organization: WASP Date: Thu, 24 Jan 2008 10:27:31 +0100 Message-Id: <1201166851.8147.18.camel@localhost,> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 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, 24 Jan 2008 09:47:34 -0000 Hi, This is the output from lspci -v: 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12) Subsystem: Dell Unknown device 022e Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at f9ffc000 (64-bit, non-prefetchable) [size=16K] I/O ports at de00 [size=256] Capabilities: 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) Subsystem: Intel Corporation Unknown device 1021 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f9eff000 (32-bit, non-prefetchable) [size=4K] Capabilities: I included the wireless data as well because I wanted to ask if you know whether or not this has support from ports? It doesn't get detected when booting FreeBSD so I assume that either it needs a binary blob, or that perhaps there are some drivers in ports that can be installed once I have the wired network functioning properly. Once again thank you very much for your help, and if there is anything else I can do or get you, please let me know! - Chris On Thu, 2008-01-24 at 10:29 +0900, Pyun YongHyeon wrote: > On Wed, Jan 23, 2008 at 02:50:13PM +0100, Chris Stromblad wrote: > > > > > > Pyun YongHyeon wrote: > > >On Wed, Jan 23, 2008 at 12:25:17PM +0100, Chris Stromblad wrote: > > > > (I originally addressed this to the freebsd-hardware, but got no > > > response, > so please forgive me for reposting this here!) > > > > > > > > Hi, > > > > > > > > It appears as if the Marvell 88E8040 is not yet supported by FreeBSD and > > > > specifically the msk(4) driver. I would just like to know if there are > > > any > > > > plans on adding support for the above mentioned NIC. > > > > > > > > > >I'd like to add support 88E8040(Yukon2 FE+ PCIe Fast ethernet > > >controller). I don't think just adding a PCI id is sufficient > > >to make it work but it would be even better if you can send me > > >the 'pciconf -lcv' output to me. > > > > Will I have to download and install FreeBSD in order to provide this > > data, or is there a simpler way of doing it? > > > > Ether Linux or FreeBSD can do that. > If you have to run Linux due to lack of driver on FreeBSD, > send me the output of lspci. > As you said, you have to install FreeBSD first in order to > run "pciconf -lcv". > > If you didn't install FreeBSD yet, just use FreeBSD or Linux > LiveCD to boot the OS and use lspci or pciconf. > > > > > > >I think one of the serious issue of Yukon2 FE+ is introduction > > >of new descriptor format and additional bugs for the chip/phy > > >as other variants. Since there are no documentation for > > >controller/phy hardware, it may take longer than you would > > >expect to see a working/stable driver. I guess disabling TSO and > > >checksum offload may make it possible to write a minimal driver > > >for the hardware. I'll let you know when I have code to test. > > >I cannot say the code written by me would work as I don't have > > >that hardware. > > > > > > > Normally I wouldn't even bother asking, and just shrug and say, tough > > > luck > > > > they don't support it... next distribution. Thing is, I really, really > > > > like FreeBSD. I'm kind of a GNU/Linux guy, but I've never managed to > > > > settle for a distribution and have moved from one to another, never > > > quite > > > > finding something that works with me, and not against me. > > > > > > > > Then I tried FreeBSD, actually I just read much of the available > > > > documentation and I was "converted". _THIS_ is how documentation should > > > be > > > > written; clear, concise, to the point and most of all, USEFUL! Thank > > > you! > > > > > > > > So, my point is that I really want this to work out. I'm willing to give > > > > as much time as necessary to get this driver working. Whether it's just > > > a > > > > little Device_ID change in the source, I don't know. However, if anyone > > > is > > > > up for helping me getting this to work, I'll provide whatever > > > information > > > > I can. > > > > > > > > Many thanks, and keep up the fantastic work on the FreeBSD operating > > > system. > > > > > > > > Regards, > > > > Christoffer Str?mblad > > > > > > > > PS: I've tried 8.0-CURRENT (snapshot from 27122007), 7.0-RC1 and > > > FreeBSD > 6.3, no luck. > > > > -- Chris Stromblad Security Engineer WASP UK Regent Street London, WC2 Dir: +44 207 043 5190 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:31:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67AB416A46B for ; Thu, 24 Jan 2008 10:31:04 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE6A13C4D3 for ; Thu, 24 Jan 2008 10:31:04 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id E222D207F; Thu, 24 Jan 2008 11:30:55 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id D4F9D2049; Thu, 24 Jan 2008 11:30:55 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id C5222844AF; Thu, 24 Jan 2008 11:30:55 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Zaphod Beeblebrox" References: <5f67a8c40801231818u1d1f91f5n187ff0e7c8ebc233@mail.gmail.com> Date: Thu, 24 Jan 2008 11:30:55 +0100 In-Reply-To: <5f67a8c40801231818u1d1f91f5n187ff0e7c8ebc233@mail.gmail.com> (Zaphod Beeblebrox's message of "Wed\, 23 Jan 2008 21\:18\:35 -0500") Message-ID: <86fxwnwm5c.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: zfs plugins 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, 24 Jan 2008 10:31:04 -0000 "Zaphod Beeblebrox" writes: > Has any thought been given to the growing number of zfs plugins on solari= s? > In particular, they have an encryption plugin that functions similar to z= fs > compression, but it seems useful to consider their plugins... I believe pjd@ is already working on encryption support in ZFS; at least that's what he told me when I suggested porting LUKS... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:32:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54DA416A421 for ; Thu, 24 Jan 2008 10:32:08 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from csmtp2.b-one.net (csmtp2.b-one.net [195.47.247.206]) by mx1.freebsd.org (Postfix) with ESMTP id E382713C467 for ; Thu, 24 Jan 2008 10:32:07 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from [192.168.0.3] (h80n1c1o824.bredband.skanova.com [81.235.28.80]) by csmtp2.b-one.net (Postfix) with ESMTP id 3C3F816000B08; Thu, 24 Jan 2008 11:02:06 +0100 (CET) From: Chris Stromblad To: pyunyh@gmail.com In-Reply-To: <20080124094620.GC18179@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> <20080123123244.GG14495@cdnetworks.co.kr> <47974615.2030901@wa-sp.com> <20080124012957.GB18179@cdnetworks.co.kr> <1201166851.8147.18.camel@localhost, > <20080124094620.GC18179@cdnetworks.co.kr> Content-Type: text/plain Organization: WASP Date: Thu, 24 Jan 2008 11:02:05 +0100 Message-Id: <1201168925.6667.3.camel@localhost,> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 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, 24 Jan 2008 10:32:08 -0000 Sorry, here is the correct output, now also run as root! Again I've included the Wireless, because perhaps someone else would like to have a look at the data to understand why it's not detected. To my understanding there should be support as I seem to recall that Intel even put out the drivers themselves, or at least some hardware specifications. 09:00.0 0200: 11ab:4354 (rev 12) Subsystem: 1028:022e Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- On Thu, Jan 24, 2008 at 10:27:31AM +0100, Chris Stromblad wrote: > > Hi, > > > > This is the output from lspci -v: > > 'lspci -nvv' is preferred as I have to check device ids. > > > 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 > > PCI-E Fast Ethernet Controller (rev 12) > > Subsystem: Dell Unknown device 022e > > Flags: bus master, fast devsel, latency 0, IRQ 16 > > Memory at f9ffc000 (64-bit, non-prefetchable) [size=16K] > > I/O ports at de00 [size=256] > > Capabilities: > > > > 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG > > Network Connection (rev 02) > > Subsystem: Intel Corporation Unknown device 1021 > > Flags: bus master, fast devsel, latency 0, IRQ 17 > > Memory at f9eff000 (32-bit, non-prefetchable) [size=4K] > > Capabilities: > > > > I included the wireless data as well because I wanted to ask if you know > > whether or not this has support from ports? It doesn't get detected when > > booting FreeBSD so I assume that either it needs a binary blob, or that > > perhaps there are some drivers in ports that can be installed once I > > have the wired network functioning properly. > > > > Didn't wpi(4) detect your wireless network hardware? > > > Once again thank you very much for your help, and if there is anything > > else I can do or get you, please let me know! > > > > - Chris > > > -- Chris Stromblad Security Engineer WASP UK Regent Street London, WC2 Dir: +44 207 043 5190 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:40:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 857BB16A41A for ; Thu, 24 Jan 2008 10:40:59 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 48D0213C447 for ; Thu, 24 Jan 2008 10:40:59 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 11416207F; Thu, 24 Jan 2008 11:40:51 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 02C3D2049; Thu, 24 Jan 2008 11:40:50 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id E053A844AF; Thu, 24 Jan 2008 11:40:50 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "william wong" References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> Date: Thu, 24 Jan 2008 11:40:50 +0100 In-Reply-To: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> (william wong's message of "Thu\, 24 Jan 2008 15\:06\:24 +0800") Message-ID: <86bq7bwlot.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 10:40:59 -0000 "william wong" writes: > Are there any docments or pointers to get me started hacking around my > 6.3 asap? Building toochains, submitting patches etc.... or i just > follow most of the conventions in the Linux kernel development > community? The toolchain is already in place, no need to build anything. You'll find our make is different from GNU make. It may take a while to get used to it, but when you do, you'll find it much more powerful. The official channel for patch submissions is send-pr(1), but due to manpower issues, PRs often get lost in the noise. Posting the patch to the appropriate mailing list may be more effective. Speaking of patches, you should seriously consider upgrading to RELENG_7, as 6.3 is quite possibly the very last RELENG_6 release, and patches against 6.3 won't raise much interest from developers. You'll find information on how to upgrade in the handbook. The biggest difference you will notice from Linux is that pretty much everything, including major kernel subsystems, is documented in man pages. If you find something (a library function or system call or kernel module) that doesn't have a man page, try to track down the author and prod them - or bitch on freebsd-doc until someone writes a man page - or write it yourself if you feel up to learning groff (which isn't for the faint of heart, but you get used to it after a while) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:44:00 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607BC16A417; Thu, 24 Jan 2008 10:44:00 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 1786413C45B; Thu, 24 Jan 2008 10:43:59 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id A13251B10EF1; Thu, 24 Jan 2008 11:43:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_52 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id CDC381B10EEE; Thu, 24 Jan 2008 11:43:55 +0100 (CET) Message-ID: <47986BEB.4040201@moneybookers.com> Date: Thu, 24 Jan 2008 12:43:55 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <47965072.7030700@moneybookers.com> <47965112.5020009@FreeBSD.org> <4797265A.3020409@moneybookers.com> <47979264.2020808@FreeBSD.org> In-Reply-To: <47979264.2020808@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5542/Thu Jan 24 07:17:51 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 10:44:00 -0000 Hi Kris, Kris Kennaway wrote: > Stefan Lambrev wrote: >> Hi Kris, >> >> Kris Kennaway wrote: >>> Stefan Lambrev wrote: >>>> >>>> Kris Kennaway wrote: >>>>> Stefan Lambrev wrote: >>>>> >>>>>>> You should use hwpmc to verify where the application is really >>>>>>> spending time, since gettimeofday doesn't seem to account for it >>>>>>> all. >>>>>> pmc: Unknown Intel CPU. >>>>>> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d, >>>>>> 0xffffffff8054c500) error 78 >>>>> >>>>> OK, this is the famous problem with modern CPUs that jkoshy has >>>>> declined to work around :( There are patches for this in >>>>> perforce, see >>>>> >>>>> http://perforce.freebsd.org/changeView.cgi?CH=126189 >> I got hwpmc to compile (but only as module) >> hwpmc: TSC/1/0x20 P6/2/0x1ff >> but when I try to use pmcstat I receive this error message: >> pmcstat: ERROR: Initialization of the pmc(3) library failed: Device >> not configured >> >> kldstat lists hwpmc.ko as loaded and I have options HWPMC_HOOKS in my >> kernel. >> >> Any idea what's go wrong? >> > > You also need changes to the userland libpmc and pmcstat. They should > also be in that (or related) p4 changeset though. Those are the files that I fetched from p4 /usr/src/lib/libpmc/libpmc.c - rev2 /usr/src/sys/amd64/include/pmc_mdep.h rev2 /usr/src/sys/dev/hwpmc/hwpmc_x86.c rev2 /usr/src/sys/modules/hwpmc/Makefile rev3 but I rebuild only kernel - I'll try to rebuild everything :) do you think this will help getting hwpmc working? Btw I have hwpmc working on other machine (it's with FreeBSD 6.3-prerelease). Can you tell me what stats exactly you need from running hping? -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:58:07 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9604616A46B for ; Thu, 24 Jan 2008 10:58:07 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 93BFC13C4DB; Thu, 24 Jan 2008 10:58:06 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47986F3D.4050905@FreeBSD.org> Date: Thu, 24 Jan 2008 11:58:05 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <47965072.7030700@moneybookers.com> <47965112.5020009@FreeBSD.org> <4797265A.3020409@moneybookers.com> <47979264.2020808@FreeBSD.org> <47986BEB.4040201@moneybookers.com> In-Reply-To: <47986BEB.4040201@moneybookers.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 10:58:07 -0000 Stefan Lambrev wrote: >> You also need changes to the userland libpmc and pmcstat. They should >> also be in that (or related) p4 changeset though. > Those are the files that I fetched from p4 > > /usr/src/lib/libpmc/libpmc.c - rev2 > /usr/src/sys/amd64/include/pmc_mdep.h rev2 > /usr/src/sys/dev/hwpmc/hwpmc_x86.c rev2 > /usr/src/sys/modules/hwpmc/Makefile rev3 > > but I rebuild only kernel - I'll try to rebuild everything :) > do you think this will help getting hwpmc working? I can only say that it mostly works for me :) > Btw I have hwpmc working on other machine (it's with FreeBSD > 6.3-prerelease). > Can you tell me what stats exactly you need from running hping? A gprof trace with the -S instructions counter should be enough to get oriented. Kris From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 10:58:30 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA85816A498 for ; Thu, 24 Jan 2008 10:58:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 85F3A13C4E3 for ; Thu, 24 Jan 2008 10:58:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so325132waf.3 for ; Thu, 24 Jan 2008 02:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=jYO4hiyR/iocl+Q2Oz014KBjORKTiUEjoHakmVcmq3A=; b=cTIh6D4PFgFs4iZy2jvg7Yw7+5+d/F1RhsnDwnAtUrIXkKUbx7DuguzC4UGgsj2R+3OZhGuPPsJY86+xFf72f0U74QIt/4NbnZ9R7oycdzmXSQNtCZY6tN66mW65FKPU9lPuaEVwuCrlGLAnZXinxcXQArVUolF8ErTBdppkZ6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=g+ANzshcbwTGeFDo0kdw+ISlwm/KKnOdB2Lm+g3oi1oFzpT4shny34w5mpTHDXMpb+mS5bRSMLTO4e5cso20hNeRBgqnQTy7b6OR30uB1CwN/E/TP7pwODXxyJElqzBwQ/dk2I0Wg7coPjXED1qEs7V0CDNVYUYSQiIEGfr8Qsg= Received: by 10.114.191.1 with SMTP id o1mr620215waf.66.1201172309962; Thu, 24 Jan 2008 02:58:29 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id n38sm1301424wag.2.2008.01.24.02.58.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Jan 2008 02:58:28 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m0OAwInJ020049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jan 2008 19:58:18 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m0OAwH2e020048; Thu, 24 Jan 2008 19:58:17 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 24 Jan 2008 19:58:17 +0900 From: Pyun YongHyeon To: Chris Stromblad Message-ID: <20080124105817.GD18179@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> <20080123123244.GG14495@cdnetworks.co.kr> <47974615.2030901@wa-sp.com> <20080124012957.GB18179@cdnetworks.co.kr> <1201166851.8147.18.camel@localhost, > <20080124094620.GC18179@cdnetworks.co.kr> <1201168925.6667.3.camel@localhost, > Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201168925.6667.3.camel@localhost,> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 10:58:30 -0000 On Thu, Jan 24, 2008 at 11:02:05AM +0100, Chris Stromblad wrote: > Sorry, here is the correct output, now also run as root! > > Again I've included the Wireless, because perhaps someone else would > like to have a look at the data to understand why it's not detected. To > my understanding there should be support as I seem to recall that Intel > even put out the drivers themselves, or at least some hardware > specifications. > I've checked wpi(4) probe routine and your device id is listed there. So wpi(4) does serve your hardware, if not post your issues to appropriate mailing list. Btw, I think you may have to use 7.0-RC1 to get wpi(4). > 09:00.0 0200: 11ab:4354 (rev 12) > Subsystem: 1028:022e > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR+ FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast > >TAbort- SERR- Latency: 0, Cache Line Size: 64 bytes > Interrupt: pin A routed to IRQ 16 > Region 0: Memory at f9ffc000 (64-bit, non-prefetchable) > [size=16K] > Region 2: I/O ports at de00 [size=256] > Capabilities: [48] Power Management version 3 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA > PME(D0+,D1+,D2+,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=1 PME- > Capabilities: [5c] Message Signalled Interrupts: Mask- > 64bit+ Queue=0/0 Enable- > Address: 0000000000000000 Data: 0000 > Capabilities: [c0] Express Legacy Endpoint IRQ 0 > Device: Supported: MaxPayload 128 bytes, PhantFunc > 0, ExtTag- > Device: Latency L0s unlimited, L1 unlimited > Device: AtnBtn- AtnInd- PwrInd- > Device: Errors: Correctable- Non-Fatal- Fatal- > Unsupported- > Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- > Device: MaxPayload 128 bytes, MaxReadReq 512 bytes > Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s > L1, Port 0 > Link: Latency L0s <256ns, L1 unlimited > Link: ASPM L0s Enabled RCB 128 bytes CommClk+ > ExtSynch- > Link: Speed 2.5Gb/s, Width x1 > > 0b:00.0 0280: 8086:4222 (rev 02) > Subsystem: 8086:1021 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR+ FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast > >TAbort- SERR- Latency: 0, Cache Line Size: 64 bytes > Interrupt: pin A routed to IRQ 17 > Region 0: Memory at f9eff000 (32-bit, non-prefetchable) > [size=4K] > Capabilities: [c8] Power Management version 2 > Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA > PME(D0+,D1-,D2-,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Capabilities: [d0] Message Signalled Interrupts: Mask- > 64bit+ Queue=0/0 Enable- > Address: 0000000000000000 Data: 0000 > Capabilities: [e0] Express Legacy Endpoint IRQ 0 > Device: Supported: MaxPayload 128 bytes, PhantFunc > 0, ExtTag- > Device: Latency L0s <512ns, L1 unlimited > Device: AtnBtn- AtnInd- PwrInd- > Device: Errors: Correctable- Non-Fatal- Fatal- > Unsupported- > Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ > Device: MaxPayload 128 bytes, MaxReadReq 128 bytes > Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s > L1, Port 0 > Link: Latency L0s <128ns, L1 <64us > Link: ASPM L1 Enabled RCB 64 bytes CommClk+ > ExtSynch- > Link: Speed 2.5Gb/s, Width x1 > Thanks for the info. > On Thu, 2008-01-24 at 18:46 +0900, Pyun YongHyeon wrote: > > On Thu, Jan 24, 2008 at 10:27:31AM +0100, Chris Stromblad wrote: > > > Hi, > > > > > > This is the output from lspci -v: > > > > 'lspci -nvv' is preferred as I have to check device ids. > > > > > 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 > > > PCI-E Fast Ethernet Controller (rev 12) > > > Subsystem: Dell Unknown device 022e > > > Flags: bus master, fast devsel, latency 0, IRQ 16 > > > Memory at f9ffc000 (64-bit, non-prefetchable) [size=16K] > > > I/O ports at de00 [size=256] > > > Capabilities: > > > > > > 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG > > > Network Connection (rev 02) > > > Subsystem: Intel Corporation Unknown device 1021 > > > Flags: bus master, fast devsel, latency 0, IRQ 17 > > > Memory at f9eff000 (32-bit, non-prefetchable) [size=4K] > > > Capabilities: > > > > > > I included the wireless data as well because I wanted to ask if you know > > > whether or not this has support from ports? It doesn't get detected when > > > booting FreeBSD so I assume that either it needs a binary blob, or that > > > perhaps there are some drivers in ports that can be installed once I > > > have the wired network functioning properly. > > > > > > > Didn't wpi(4) detect your wireless network hardware? > > > > > Once again thank you very much for your help, and if there is anything > > > else I can do or get you, please let me know! > > > > > > - Chris > > > > > > -- > Chris Stromblad > Security Engineer > WASP UK > > Regent Street > London, WC2 > > Dir: +44 207 043 5190 > -- Regards, Pyun YongHyeon From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 11:00:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E07A16A420; Thu, 24 Jan 2008 11:00:49 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A75F813C4DD; Thu, 24 Jan 2008 11:00:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47986FDE.3030402@FreeBSD.org> Date: Thu, 24 Jan 2008 12:00:46 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Stefan Lambrev References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <479794DB.4020504@FreeBSD.org> <47985936.2030705@moneybookers.com> In-Reply-To: <47985936.2030705@moneybookers.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 11:00:49 -0000 Stefan Lambrev wrote: >> It is the socket buffer that is filling up. Either the application is >> not increasing it to large enough size or the default maximum is too >> low (Linux may set a larger default). Try increasing >> kern.ipc.maxsockbuf and confirming with the source and/or ktrace that >> it is doing the right setsockopt() call. > Increasing kern.ipc.maxsockbuf doesn't help. > > Actually this is the code that failed and print this error: > > result = sendto(sockraw, packet, packetsize, 0, > (struct sockaddr*)&remote, sizeof(remote)); > > if (result == -1 && errno != EINTR && !opt_rand_dest && > !opt_rand_source) { > perror("[send_ip] sendto"); > > Those are the only references for setsockopt when ktracing: > 3385 hping CALL __sysctl(0xbfbfe870,0x6,0,0xbfbfe888,0,0) > 3385 hping RET __sysctl 0 > 3385 hping CALL __sysctl(0xbfbfe870,0x6,0x28305180,0xbfbfe888,0,0) > 3385 hping RET __sysctl 0 > 3385 hping CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) > 3385 hping RET socket 3 > 3385 hping CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe884,0x4) > 3385 hping RET setsockopt 0 > 3385 hping CALL connect(0x3,0x8067da0,0x10) > 3385 hping RET connect 0 > 3385 hping CALL getsockname(0x3,0xbfbfe874,0xbfbfe888) > 3385 hping RET getsockname 0 > 3385 hping CALL close(0x3) > 3385 hping RET close 0 > 3385 hping CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) > 3385 hping RET socket 3 > 3385 hping CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe914,0x4) > 3385 hping RET setsockopt 0 > 3385 hping CALL setsockopt(0x3,0,0x2,0xbfbfe914,0x4) > 3385 hping RET setsockopt 0 > 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) > 3385 hping NAMI "/dev/bpf0" > 3385 hping RET open -1 errno 16 Device busy > 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) > 3385 hping NAMI "/dev/bpf1" > 3385 hping RET open 4 OK, try adding the setsockopt(...SO_SNDBUF...) call. Kris From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 07:45:30 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F385916A418 for ; Thu, 24 Jan 2008 07:45:29 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 8EEAD13C4D9 for ; Thu, 24 Jan 2008 07:45:29 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [82.95.250.254]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0O7jQ2w023354; Thu, 24 Jan 2008 08:45:27 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.8/8.13.3) with ESMTP id m0O7jQHO027780; Thu, 24 Jan 2008 08:45:26 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.8/8.13.6/Submit) id m0O7jQOp027779; Thu, 24 Jan 2008 08:45:26 +0100 (CET) (envelope-from wb) Date: Thu, 24 Jan 2008 08:45:26 +0100 From: Wilko Bulte To: "Bruce R. Montague" , ariff@freebsd.org Message-ID: <20080124074526.GA27738@freebie.xs4all.nl> References: <200801240606.m0O66p5V000373@mail.cruzio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801240606.m0O66p5V000373@mail.cruzio.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner X-Mailman-Approved-At: Thu, 24 Jan 2008 12:24:32 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Hardware support for AMD Geode CS5536 audio? 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, 24 Jan 2008 07:45:30 -0000 Quoting Bruce R. Montague, who wrote on Wed, Jan 23, 2008 at 10:06:51PM -0800 .. > > Hi, re: > > > I'm hoping someone will be able to help me out with the audio is > > the Geode CS5536. > > Those AMD Geode systems with the CS5536 look almost > cheap enough to afford one for each hand. I'll > look into upgrading the 5530 audio driver for the > 5536, but it will take sometime. If someone does > it over the weekend, or somesuch, let me know... > (likewise if anyone has other advice on good > current Geode kernel development platforms). I shipped Ariff@ a Geode based box quite a while a ago to support the audio driver work. I don't think he got around to working on it though. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 12:38:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B12F516A418 for ; Thu, 24 Jan 2008 12:38:59 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 71E8B13C46E for ; Thu, 24 Jan 2008 12:38:59 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JI1M9-0002Gi-Gj for freebsd-hackers@freebsd.org; Thu, 24 Jan 2008 13:38:57 +0100 Message-ID: <479886CF.7040506@gahr.ch> Date: Thu, 24 Jan 2008 13:38:39 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAA43CC0109279B478DD822DF" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Subject: SMP in machine/params.h 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, 24 Jan 2008 12:38:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAA43CC0109279B478DD822DF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU is defined to 1. Any idea why? > uname -a FreeBSD gahrtop.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #23: Tue Jan 22 00:15:05 CET 2008 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 i386 > sysctl kern.smp.active kern.smp.maxcpus kern.smp.active: 1 kern.smp.maxcpus: 16 > cat smp.c #include #ifndef SMP # error SMP not defined #endif > make smp cc -O2 -pipe -march=3Dpentiumpro smp.c -o smp smp.c:5:3: error: #error SMP not defined *** Error code 1 > cat maxcpu.c #include #include int main(void) { return (MAXCPU); } > ./maxcpu; echo $? 1 Any idea? --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enigAA43CC0109279B478DD822DF 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.7 (FreeBSD) iD8DBQFHmIbXwMJqmJVx944RCoEfAJ93OQOtWwj3sNBSB7a457fiiAgJ9ACgp8sC l/uI6yNEGniDSUeeWIVvvsQ= =MRHw -----END PGP SIGNATURE----- --------------enigAA43CC0109279B478DD822DF-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 12:56:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D98316A421 for ; Thu, 24 Jan 2008 12:56:45 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 131A113C4DD for ; Thu, 24 Jan 2008 12:56:44 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JI1dM-0005bw-2B; Thu, 24 Jan 2008 13:56:44 +0100 Message-ID: <47988AFE.1010903@gahr.ch> Date: Thu, 24 Jan 2008 13:56:30 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: Attilio Rao , freebsd-hackers@freebsd.org References: <479886CF.7040506@gahr.ch> <3bbf2fe10801240448wb5009cai16721aff75579773@mail.gmail.com> In-Reply-To: <3bbf2fe10801240448wb5009cai16721aff75579773@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB4748D98EF769F02CF9183F2" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: SMP in machine/params.h 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, 24 Jan 2008 12:56:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB4748D98EF769F02CF9183F2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Attilio Rao wrote: > 2008/1/24, Pietro Cerutti : >> Hello, >> >> I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro S= MP >> in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU= >> is defined to 1. Any idea why? >> >>> uname -a >> FreeBSD gahrtop.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #23: Tue Jan= >> 22 00:15:05 CET 2008 >> root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 i386 >> >>> sysctl kern.smp.active kern.smp.maxcpus >> kern.smp.active: 1 >> kern.smp.maxcpus: 16 >> >>> cat smp.c >> #include >> >> #ifndef SMP >> # error SMP not defined >> #endif >> >> >>> make smp >> cc -O2 -pipe -march=3Dpentiumpro smp.c -o smp >> smp.c:5:3: error: #error SMP not defined >> *** Error code 1 >> >>> cat maxcpu.c >> #include >> #include >> >> int main(void) >> { >> return (MAXCPU); >> } >> >>> ./maxcpu; echo $? >> 1 >> >> Any idea? >=20 > Did you define SMP in your config file? Yes. How could I have kern.smp.active: 1 otherwise? > grep SMP /sys/i386/conf/MSI1034 # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel >=20 > Attilio >=20 >=20 --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enigB4748D98EF769F02CF9183F2 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.7 (FreeBSD) iD8DBQFHmIsDwMJqmJVx944RCnMDAKDZ4haOkLZmayApTpgCZ5UynbThYgCgl1Wk DvSEccYdD+e78Itaz4wQ8lM= =eHAU -----END PGP SIGNATURE----- --------------enigB4748D98EF769F02CF9183F2-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 12:56:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B947916A468 for ; Thu, 24 Jan 2008 12:56:51 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA4B13C502 for ; Thu, 24 Jan 2008 12:56:50 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so244514fgg.35 for ; Thu, 24 Jan 2008 04:56:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=S+LXM746ds3o3yDXi+m2/ba644zUy0G9RLVjhAtl0Mw=; b=oF6OdxmiJDpubpGzB+3/xqTL+O+zweWHBdz4Zenb0Y9LT+YsCCFZcvPaP0cfLPo4Byy3Ikc0ns/SW+6PQDCni6eaRJo0OVLuwCbjVgXSMgGLrNhGp0KW/c0j4H5xcNd9zGUK0GvHWa6d3Yh/QrrJ02BJ3NjQHZdDJbuZLLMpGX8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=lowMOwBqQbnzBMkx0QUJbU0vAM8tWoPdlllINVjmGoXpE3r0v0+5Rzgixpq/XYukIi3VnWf+otJmqHfl23xzzCm8cOcIPKrDE+V1rFZlMq1rAumfYvZ4KHJgQB/DXwDJOl5VHadn/6T7QhYij9hyPIMzMqN5RVXBx6L0Jk3O0kE= Received: by 10.86.50.8 with SMTP id x8mr565898fgx.61.1201179409201; Thu, 24 Jan 2008 04:56:49 -0800 (PST) Received: by 10.86.89.14 with HTTP; Thu, 24 Jan 2008 04:56:49 -0800 (PST) Message-ID: <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> Date: Thu, 24 Jan 2008 20:56:49 +0800 From: "william wong" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86bq7bwlot.fsf@ds4.des.no> MIME-Version: 1.0 References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 12:56:51 -0000 Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. I jus= t want to gear up myself and see what I can do. I have got 6.3 installed and tweaking some of the kernel modification and compilation process so that i can get myself acquainted to the software development process. It seems that Juniper favors the even number FreeBSD's. So get to know abou= t FB8 could be ahead of them :) william 2008/1/24, Dag-Erling Sm=F8rgrav : > > "william wong" writes: > > Are there any docments or pointers to get me started hacking around my > > 6.3 asap? Building toochains, submitting patches etc.... or i just > > follow most of the conventions in the Linux kernel development > > community? > > The toolchain is already in place, no need to build anything. > > You'll find our make is different from GNU make. It may take a while to > get used to it, but when you do, you'll find it much more powerful. > > The official channel for patch submissions is send-pr(1), but due to > manpower issues, PRs often get lost in the noise. Posting the patch to > the appropriate mailing list may be more effective. > > Speaking of patches, you should seriously consider upgrading to > RELENG_7, as 6.3 is quite possibly the very last RELENG_6 release, and > patches against 6.3 won't raise much interest from developers. You'll > find information on how to upgrade in the handbook. > > The biggest difference you will notice from Linux is that pretty much > everything, including major kernel subsystems, is documented in man > pages. If you find something (a library function or system call or > kernel module) that doesn't have a man page, try to track down the > author and prod them - or bitch on freebsd-doc until someone writes a > man page - or write it yourself if you feel up to learning groff (which > isn't for the faint of heart, but you get used to it after a while) > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 13:05:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CDBB16A417 for ; Thu, 24 Jan 2008 13:05:19 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3D38313C45D for ; Thu, 24 Jan 2008 13:05:19 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JI1le-0007OC-CU; Thu, 24 Jan 2008 14:05:18 +0100 Message-ID: <47988D03.1020301@gahr.ch> Date: Thu, 24 Jan 2008 14:05:07 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: Attilio Rao , freebsd-hackers@freebsd.org References: <479886CF.7040506@gahr.ch> <3bbf2fe10801240448wb5009cai16721aff75579773@mail.gmail.com> <47988AFE.1010903@gahr.ch> In-Reply-To: <47988AFE.1010903@gahr.ch> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2DF80812CB17EB84D6B2DC50" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: SMP in machine/params.h 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, 24 Jan 2008 13:05:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DF80812CB17EB84D6B2DC50 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pietro Cerutti wrote: >> Attilio Rao wrote: >> Did you define SMP in your config file? >=20 > Yes. How could I have kern.smp.active: 1 otherwise? >=20 >> grep SMP /sys/i386/conf/MSI1034 > # To make an SMP kernel, the next two lines are needed > options SMP # Symmetric MultiProcessor Kernel And I would like to add: > grep "SMP" /usr/obj/usr/src/sys/MSI1034/opt_global.h #define SMP 1 >> Attilio --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig2DF80812CB17EB84D6B2DC50 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.7 (FreeBSD) iD8DBQFHmI0HwMJqmJVx944RCro2AKDDrhs8+almFaDA1iAKAAOCH350VgCgxpXj Qib058lF1nlwqnHfoTAz9/Y= =k9yX -----END PGP SIGNATURE----- --------------enig2DF80812CB17EB84D6B2DC50-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 13:08:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB3916A46C for ; Thu, 24 Jan 2008 13:08:10 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 918F813C461 for ; Thu, 24 Jan 2008 13:08:10 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 6D0F6208C; Thu, 24 Jan 2008 14:08:02 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 40115208A; Thu, 24 Jan 2008 14:08:02 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 2093B844AF; Thu, 24 Jan 2008 14:08:02 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "william wong" References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> Date: Thu, 24 Jan 2008 14:08:02 +0100 In-Reply-To: <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> (william wong's message of "Thu\, 24 Jan 2008 20\:56\:49 +0800") Message-ID: <86prvrv0b1.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 13:08:10 -0000 "william wong" writes: > Thanks for enlightening me on different aspects. Actually I found there a= re > many exciting network stack projects/overhaul happening in FreeBSD 8. I j= ust > want to gear up myself and see what I can do. I have got 6.3 installed and > tweaking some of the kernel modification and compilation process so that i > can get myself acquainted to the software development process. You should really, really upgrade to 7. Nobody is doing any serious work on 6 (beyond merging bug fixes back from 7); all the exciting work happens in 8, and kernel patches against 8 will very rarely apply cleanly to 6. > It seems that Juniper favors the even number FreeBSD's. Only because 5 was a dog. They probably stuck with 4 for a while, then switched to 6 once they had ascertained that it was significantly more stable than 5. I would be surprised if they skipped 7. > So get to know about FB8 could be ahead of them :) I very much doubt it. Juniper employs several veteran FreeBSD developers (and so does Cisco, for that matter). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 13:14:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FDB516A419; Thu, 24 Jan 2008 13:14:19 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id B529713C457; Thu, 24 Jan 2008 13:14:18 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 7BA0D1B10EDC; Thu, 24 Jan 2008 14:14:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 10F1D1B10EA4; Thu, 24 Jan 2008 14:14:14 +0100 (CET) Message-ID: <47988F12.2050303@moneybookers.com> Date: Thu, 24 Jan 2008 15:13:54 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <479794DB.4020504@FreeBSD.org> <47985936.2030705@moneybookers.com> <47986FDE.3030402@FreeBSD.org> In-Reply-To: <47986FDE.3030402@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5544/Thu Jan 24 12:02:44 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 24 Jan 2008 13:14:19 -0000 Greetings, Kris Kennaway wrote: > Stefan Lambrev wrote: > >>> It is the socket buffer that is filling up. Either the application >>> is not increasing it to large enough size or the default maximum is >>> too low (Linux may set a larger default). Try increasing >>> kern.ipc.maxsockbuf and confirming with the source and/or ktrace >>> that it is doing the right setsockopt() call. >> Increasing kern.ipc.maxsockbuf doesn't help. >> >> Actually this is the code that failed and print this error: >> >> result = sendto(sockraw, packet, packetsize, 0, >> (struct sockaddr*)&remote, sizeof(remote)); >> >> if (result == -1 && errno != EINTR && !opt_rand_dest && >> !opt_rand_source) { >> perror("[send_ip] sendto"); >> >> Those are the only references for setsockopt when ktracing: >> 3385 hping CALL __sysctl(0xbfbfe870,0x6,0,0xbfbfe888,0,0) >> 3385 hping RET __sysctl 0 >> 3385 hping CALL __sysctl(0xbfbfe870,0x6,0x28305180,0xbfbfe888,0,0) >> 3385 hping RET __sysctl 0 >> 3385 hping CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) >> 3385 hping RET socket 3 >> 3385 hping CALL >> setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe884,0x4) >> 3385 hping RET setsockopt 0 >> 3385 hping CALL connect(0x3,0x8067da0,0x10) >> 3385 hping RET connect 0 >> 3385 hping CALL getsockname(0x3,0xbfbfe874,0xbfbfe888) >> 3385 hping RET getsockname 0 >> 3385 hping CALL close(0x3) >> 3385 hping RET close 0 >> 3385 hping CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) >> 3385 hping RET socket 3 >> 3385 hping CALL >> setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe914,0x4) >> 3385 hping RET setsockopt 0 >> 3385 hping CALL setsockopt(0x3,0,0x2,0xbfbfe914,0x4) >> 3385 hping RET setsockopt 0 >> 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) >> 3385 hping NAMI "/dev/bpf0" >> 3385 hping RET open -1 errno 16 Device busy >> 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) >> 3385 hping NAMI "/dev/bpf1" >> 3385 hping RET open 4 > > OK, try adding the setsockopt(...SO_SNDBUF...) call. Will something like this do the trick? void socket_sndbuf(int sd) { long int bufsize; bufsize = 65536; if (setsockopt(sd, SOL_SOCKET, SO_SNDBUF, (char *)&bufsize, sizeof(int)) == -1) { printf("[socket_sndbuf] can't set SO_SNDBUF option\n"); } } I'm not a C developer so pardon me if I made something stupid :) Also how can I make bufsize = default settings*2 for example? I tried this code and here is what ktrace show now: 65372 hping3 CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) 65372 hping3 RET socket 3 65372 hping3 CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe844,0x4) 65372 hping3 RET setsockopt 0 65372 hping3 CALL connect(0x3,0x8067e20,0x10) 65372 hping3 RET connect 0 65372 hping3 CALL getsockname(0x3,0xbfbfe834,0xbfbfe848) 65372 hping3 RET getsockname 0 65372 hping3 CALL close(0x3) 65372 hping3 RET close 0 65372 hping3 CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) 65372 hping3 RET socket 3 65372 hping3 CALL setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe8d4,0x4) 65372 hping3 RET setsockopt 0 65372 hping3 CALL setsockopt(0x3,0,0x2,0xbfbfe8d4,0x4) 65372 hping3 RET setsockopt 0 65372 hping3 CALL setsockopt(0x3,SOL_SOCKET,SO_SNDBUF,0xbfbfe8d4,0x4) 65372 hping3 RET setsockopt 0 > > Kris > _______________________________________________ > 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" -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 13:38:15 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 036B116A417; Thu, 24 Jan 2008 13:38:15 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6CA13C455; Thu, 24 Jan 2008 13:38:14 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JI2HV-0004v3-JH; Thu, 24 Jan 2008 14:38:13 +0100 Message-ID: <479894BA.2010403@gahr.ch> Date: Thu, 24 Jan 2008 14:38:02 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current References: <479886CF.7040506@gahr.ch> In-Reply-To: <479886CF.7040506@gahr.ch> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig95A38527E4CA9E8B469F7535" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: SMP in machine/params.h 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, 24 Jan 2008 13:38:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig95A38527E4CA9E8B469F7535 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some more interesting findings in this field lead me to another related question: what is the relation between kern.smp.cpus, kern.smp.active and kern.smp.maxcpus? To my understanding, it should be: If the machine has more than one CPU, and SMP and apic are enabled in the config file, then kern.smp.cpus =3D nof cpus in the system kern.smp.active =3D 1 kern.smp.maxcpus =3D 16 else kern.smp.cpus =3D 1 kern.smp.active =3D 0 kern.smp.maxcpus =3D 1 This is the expected result, and also the result I get from my single CPU Pentium 3, running 6.3-RELEASE: kern.smp.cpus: 1 kern.smp.active: 0 kern.smp.maxcpus: 1 =46rom my single CPU sparc64, running 7.0-PRERELEASE, I get: kern.smp.cpus: 1 kern.smp.active: 0 kern.smp.maxcpus: 16 <-- why not 1?? =46rom my Core2Due, running 8.0-CURRENT, I get: kern.smp.cpus: 2 kern.smp.active: 1 kern.smp.maxcpus: 16 which is OK, but nevertheless SMP is not defined in sys/param.h (see previous posts). Thanks for any insight, --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig95A38527E4CA9E8B469F7535 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.7 (FreeBSD) iD8DBQFHmJS+wMJqmJVx944RCjAZAJ9QE5o4sP8ZwwoIthm4HGYyC7iBnQCgj/uv wVIiPcIXFv2u2f43VagTuE8= =lvQt -----END PGP SIGNATURE----- --------------enig95A38527E4CA9E8B469F7535-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 14:09:00 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2E8716A46B for ; Thu, 24 Jan 2008 14:09:00 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from csmtp3.b-one.net (csmtp3.one.com [195.47.247.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE1713C442 for ; Thu, 24 Jan 2008 14:09:00 +0000 (UTC) (envelope-from cs@wa-sp.com) Received: from [192.168.0.3] (h80n1c1o824.bredband.skanova.com [81.235.28.80]) by csmtp3.b-one.net (Postfix) with ESMTP id 63DAF100AC17; Thu, 24 Jan 2008 15:08:58 +0100 (CET) From: Chris Stromblad To: pyunyh@gmail.com In-Reply-To: <20080124105817.GD18179@cdnetworks.co.kr> References: <4797241D.8080000@wa-sp.com> <20080123123244.GG14495@cdnetworks.co.kr> <47974615.2030901@wa-sp.com> <20080124012957.GB18179@cdnetworks.co.kr> <1201166851.8147.18.camel@localhost, > <20080124094620.GC18179@cdnetworks.co.kr> <1201168925.6667.3.camel@localhost, > <20080124105817.GD18179@cdnetworks.co.kr> Content-Type: text/plain Organization: WASP Date: Thu, 24 Jan 2008 15:08:57 +0100 Message-Id: <1201183737.6667.4.camel@localhost,> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Dell XPS 1530 - Network card issue - Marvell 88E8040 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, 24 Jan 2008 14:09:00 -0000 On Thu, 2008-01-24 at 19:58 +0900, Pyun YongHyeon wrote: > On Thu, Jan 24, 2008 at 11:02:05AM +0100, Chris Stromblad wrote: > > Sorry, here is the correct output, now also run as root! > > > > Again I've included the Wireless, because perhaps someone else would > > like to have a look at the data to understand why it's not detected. To > > my understanding there should be support as I seem to recall that Intel > > even put out the drivers themselves, or at least some hardware > > specifications. > > > > I've checked wpi(4) probe routine and your device id is listed there. > So wpi(4) does serve your hardware, if not post your issues to > appropriate mailing list. Thanks for looking into this for me, I'll give 7.0-RC1 another go and see if I can get it to work. Let me know how you get along with the Marvell driver. > Btw, I think you may have to use 7.0-RC1 to get wpi(4). > > > 09:00.0 0200: 11ab:4354 (rev 12) > > Subsystem: 1028:022e > > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > > ParErr- Stepping- SERR+ FastB2B- > > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast > > >TAbort- SERR- > Latency: 0, Cache Line Size: 64 bytes > > Interrupt: pin A routed to IRQ 16 > > Region 0: Memory at f9ffc000 (64-bit, non-prefetchable) > > [size=16K] > > Region 2: I/O ports at de00 [size=256] > > Capabilities: [48] Power Management version 3 > > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA > > PME(D0+,D1+,D2+,D3hot+,D3cold+) > > Status: D0 PME-Enable- DSel=0 DScale=1 PME- > > Capabilities: [5c] Message Signalled Interrupts: Mask- > > 64bit+ Queue=0/0 Enable- > > Address: 0000000000000000 Data: 0000 > > Capabilities: [c0] Express Legacy Endpoint IRQ 0 > > Device: Supported: MaxPayload 128 bytes, PhantFunc > > 0, ExtTag- > > Device: Latency L0s unlimited, L1 unlimited > > Device: AtnBtn- AtnInd- PwrInd- > > Device: Errors: Correctable- Non-Fatal- Fatal- > > Unsupported- > > Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- > > Device: MaxPayload 128 bytes, MaxReadReq 512 bytes > > Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s > > L1, Port 0 > > Link: Latency L0s <256ns, L1 unlimited > > Link: ASPM L0s Enabled RCB 128 bytes CommClk+ > > ExtSynch- > > Link: Speed 2.5Gb/s, Width x1 > > > > 0b:00.0 0280: 8086:4222 (rev 02) > > Subsystem: 8086:1021 > > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > > ParErr- Stepping- SERR+ FastB2B- > > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast > > >TAbort- SERR- > Latency: 0, Cache Line Size: 64 bytes > > Interrupt: pin A routed to IRQ 17 > > Region 0: Memory at f9eff000 (32-bit, non-prefetchable) > > [size=4K] > > Capabilities: [c8] Power Management version 2 > > Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA > > PME(D0+,D1-,D2-,D3hot+,D3cold+) > > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > > Capabilities: [d0] Message Signalled Interrupts: Mask- > > 64bit+ Queue=0/0 Enable- > > Address: 0000000000000000 Data: 0000 > > Capabilities: [e0] Express Legacy Endpoint IRQ 0 > > Device: Supported: MaxPayload 128 bytes, PhantFunc > > 0, ExtTag- > > Device: Latency L0s <512ns, L1 unlimited > > Device: AtnBtn- AtnInd- PwrInd- > > Device: Errors: Correctable- Non-Fatal- Fatal- > > Unsupported- > > Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ > > Device: MaxPayload 128 bytes, MaxReadReq 128 bytes > > Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s > > L1, Port 0 > > Link: Latency L0s <128ns, L1 <64us > > Link: ASPM L1 Enabled RCB 64 bytes CommClk+ > > ExtSynch- > > Link: Speed 2.5Gb/s, Width x1 > > > > Thanks for the info. > > > On Thu, 2008-01-24 at 18:46 +0900, Pyun YongHyeon wrote: > > > On Thu, Jan 24, 2008 at 10:27:31AM +0100, Chris Stromblad wrote: > > > > Hi, > > > > > > > > This is the output from lspci -v: > > > > > > 'lspci -nvv' is preferred as I have to check device ids. > > > > > > > 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 > > > > PCI-E Fast Ethernet Controller (rev 12) > > > > Subsystem: Dell Unknown device 022e > > > > Flags: bus master, fast devsel, latency 0, IRQ 16 > > > > Memory at f9ffc000 (64-bit, non-prefetchable) [size=16K] > > > > I/O ports at de00 [size=256] > > > > Capabilities: > > > > > > > > 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG > > > > Network Connection (rev 02) > > > > Subsystem: Intel Corporation Unknown device 1021 > > > > Flags: bus master, fast devsel, latency 0, IRQ 17 > > > > Memory at f9eff000 (32-bit, non-prefetchable) [size=4K] > > > > Capabilities: > > > > > > > > I included the wireless data as well because I wanted to ask if you know > > > > whether or not this has support from ports? It doesn't get detected when > > > > booting FreeBSD so I assume that either it needs a binary blob, or that > > > > perhaps there are some drivers in ports that can be installed once I > > > > have the wired network functioning properly. > > > > > > > > > > Didn't wpi(4) detect your wireless network hardware? > > > > > > > Once again thank you very much for your help, and if there is anything > > > > else I can do or get you, please let me know! > > > > > > > > - Chris > > > > > > > > > -- > > Chris Stromblad > > Security Engineer > > WASP UK > > > > Regent Street > > London, WC2 > > > > Dir: +44 207 043 5190 > > > -- Chris Stromblad Security Engineer WASP UK Regent Street London, WC2 Dir: +44 207 043 5190 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 15:11:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E57016A421 for ; Thu, 24 Jan 2008 15:11:07 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id BEAC013C4D3 for ; Thu, 24 Jan 2008 15:11:06 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so285280fgg.35 for ; Thu, 24 Jan 2008 07:11:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=bQhGh6OXwSAQ7Kr9dhmu76gLDxYLPzVW6s2x0404n38=; b=Xzm5Xzk2wLWwA8Xzd5GmsteFzrzdHXaXL5DC221yiS35sedabDWLzoHSG8jTr2uS4GDu7ddTk1YSV7QNxPwz/KT3yF7S4F9h8z/DUfoSJe24scudkS1WELthdsMbAuJ74TQphIjur1wuUzC8mEg9Ajje03lAzhypKD6sI9p3Nmw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Egc/85K68oXBSMx/fGe3b8sIpaWJyRot73gpNafSccFNpkPE3R+spmiS1GYGAf/TyIybThAqjLUWw/K5PyBpyCPdHQUmYubFtulptQGDZeHUbPWolvcf2t35fGC5ZryDBKOUuiErUoPRhDwIKFllYBIHnqh4/FS+myPuYd7oL7w= Received: by 10.86.1.1 with SMTP id 1mr720393fga.2.1201187465100; Thu, 24 Jan 2008 07:11:05 -0800 (PST) Received: by 10.86.89.14 with HTTP; Thu, 24 Jan 2008 07:11:05 -0800 (PST) Message-ID: <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> Date: Thu, 24 Jan 2008 23:11:05 +0800 From: "william wong" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86prvrv0b1.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 15:11:07 -0000 2008/1/24, Dag-Erling Sm=F8rgrav : > "william wong" writes: > > Thanks for enlightening me on different aspects. Actually I found there= are > > many exciting network stack projects/overhaul happening in FreeBSD 8. I= just > > want to gear up myself and see what I can do. I have got 6.3 installed = and > > tweaking some of the kernel modification and compilation process so tha= t i > > can get myself acquainted to the software development process. > > You should really, really upgrade to 7. Nobody is doing any serious > work on 6 (beyond merging bug fixes back from 7); all the exciting work > happens in 8, and kernel patches against 8 will very rarely apply > cleanly to 6. > > > It seems that Juniper favors the even number FreeBSD's. > > Only because 5 was a dog. They probably stuck with 4 for a while, then > switched to 6 once they had ascertained that it was significantly more > stable than 5. I would be surprised if they skipped 7. Please pardon my ignorance of the jargons. Does that mean 5 is not stable or does not perform or what? > > > So get to know about FB8 could be ahead of them :) > > I very much doubt it. Juniper employs several veteran FreeBSD > developers (and so does Cisco, for that matter). In other words both of them really want to push FreeBSD to its fullest and would like to extract most out of it. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > william From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 15:42:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7193616A469 for ; Thu, 24 Jan 2008 15:42:13 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 536F113C4E3 for ; Thu, 24 Jan 2008 15:42:13 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 648375C5A; Thu, 24 Jan 2008 10:25:55 -0500 (EST) Date: Thu, 24 Jan 2008 10:25:55 -0500 From: Wesley Shields To: william wong Message-ID: <20080124152555.GL60410@atarininja.org> References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 15:42:13 -0000 On Thu, Jan 24, 2008 at 11:11:05PM +0800, william wong wrote: > 2008/1/24, Dag-Erling Sm?rgrav : > > "william wong" writes: > > > Thanks for enlightening me on different aspects. Actually I found there are > > > many exciting network stack projects/overhaul happening in FreeBSD 8. I just > > > want to gear up myself and see what I can do. I have got 6.3 installed and > > > tweaking some of the kernel modification and compilation process so that i > > > can get myself acquainted to the software development process. > > > > You should really, really upgrade to 7. Nobody is doing any serious > > work on 6 (beyond merging bug fixes back from 7); all the exciting work > > happens in 8, and kernel patches against 8 will very rarely apply > > cleanly to 6. > > > > > It seems that Juniper favors the even number FreeBSD's. > > > > Only because 5 was a dog. They probably stuck with 4 for a while, then > > switched to 6 once they had ascertained that it was significantly more > > stable than 5. I would be surprised if they skipped 7. > > Please pardon my ignorance of the jargons. Does that mean 5 is not > stable or does not perform or what? STABLE in this context is a bit of a misnomer. What it's talking about is not stability in the sense of "it doesn't crash as much as current" but stability in the ABI sense. This is often a cause of confusion for people new to FreeBSD. While it is generally true that stable does not crash as much as current, it is not a promise. There have been times when a stable branch would not build or has serious bugs in it. However, it is my experience that these are rare (even in current), and the developers do their best to ensure they don't happen. -- WXS From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 17:27:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B0616A41A for ; Thu, 24 Jan 2008 17:27:27 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B1CE913C4DB for ; Thu, 24 Jan 2008 17:27:27 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id ED71A2087; Thu, 24 Jan 2008 18:27:16 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 765DC2085; Thu, 24 Jan 2008 18:27:16 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 4A6F0844AF; Thu, 24 Jan 2008 18:27:16 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "william wong" References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> Date: Thu, 24 Jan 2008 18:27:16 +0100 In-Reply-To: <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> (william wong's message of "Thu\, 24 Jan 2008 23\:11\:05 +0800") Message-ID: <86fxwn877v.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 17:27:28 -0000 "william wong" writes: > Dag-Erling Sm=C3=B8rgrav writes: > > "william wong" writes: > > > It seems that Juniper favors the even number FreeBSD's. > > Only because 5 was a dog. They probably stuck with 4 for a while, then > > switched to 6 once they had ascertained that it was significantly more > > stable than 5. I would be surprised if they skipped 7. > Please pardon my ignorance of the jargons. Does that mean 5 is not > stable or does not perform or what? FreeBSD 5 was not a very good series. It was released late and had issues with both stability and performance. FreeBSD 6 corrected the stability issues and some of the worst performance issues. FreeBSD 7 took care of the remaining performance issues; it may not be as fast as 4 was on UP, but it beats Linux on SMP. (there's no point in comparing SMP performance between 4 and 7 since 4 had a single-threaded kernel and practically no userland thread support) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 18:01:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A0E16A41A for ; Thu, 24 Jan 2008 18:01:05 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from galain.elvandar.org (galain.elvandar.org [217.148.169.56]) by mx1.freebsd.org (Postfix) with ESMTP id EB4FE13C442 for ; Thu, 24 Jan 2008 18:01:04 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from [88.131.73.154] (helo=joel-dahls-macbook.local) by galain.elvandar.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JI5xV-000LCx-GV; Thu, 24 Jan 2008 18:33:49 +0100 Message-ID: <4798CBFC.3050307@FreeBSD.org> Date: Thu, 24 Jan 2008 18:33:48 +0100 From: Joel Dahl User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: william wong References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> In-Reply-To: <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 18:01:05 -0000 william wong skrev: > Thanks for enlightening me on different aspects. Actually I found there are > many exciting network stack projects/overhaul happening in FreeBSD 8. Take a look at http://wiki.freebsd.org/Networking if working on the networking code in FreeBSD interests you. -- Joel From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 19:32:25 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E6F16A419; Thu, 24 Jan 2008 19:32:25 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id DD98113C465; Thu, 24 Jan 2008 19:32:24 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0OJWL0W015976; Thu, 24 Jan 2008 11:32:21 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0OJWLKB015975; Thu, 24 Jan 2008 11:32:21 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Thu, 24 Jan 2008 11:32:20 -0800 Message-ID: <1201203140.4798e7c4e5284@webmail.rawbw.com> Date: Thu, 24 Jan 2008 11:32:20 -0800 From: Yuri To: Dag-Erling =?iso-8859-1?b?U23DuHJncmF2?= References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> <200801191619.43588.josh@tcbug.org> <86zluzmd23.fsf@ds4.des.no> <1200942367.4794ed1f30858@webmail.rawbw.com> <8663xm9ayt.fsf@ds4.des.no> In-Reply-To: <8663xm9ayt.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 Cc: Josh Paetzel , Joshua Isom , freebsd-hackers@freebsd.org, Doug Barton Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title 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, 24 Jan 2008 19:32:25 -0000 Quoting Dag-Erling Smørgrav : > Do they play? If they do, it's not libdvdcss's fault. CAPOTE (US region) doesn't play with mplayer either. It begins, shows logo of United Artists and Sony Classics and just hangs. Mplayer's counter also stops running. So I guess this really is libdvdcss problem. > Also, please get an MUA that understands UTF-8. This *is* the 21st > century, you know... I use Horde-based webmail and asked my provider to update it to the latest version. Yuri From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 20:31:48 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DECB16A417 for ; Thu, 24 Jan 2008 20:31:48 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 9D9F213C461 for ; Thu, 24 Jan 2008 20:31:47 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 75265 invoked by uid 2001); 24 Jan 2008 20:31:46 -0000 Date: Thu, 24 Jan 2008 14:31:46 -0600 From: "Rick C. Petty" To: Yuri Message-ID: <20080124203146.GA75215@keira.kiwi-computer.com> References: <1200679902.4790ebdee1975@webmail.rawbw.com> <47921F6E.8020806@FreeBSD.org> <200801191619.43588.josh@tcbug.org> <86zluzmd23.fsf@ds4.des.no> <1200942367.4794ed1f30858@webmail.rawbw.com> <8663xm9ayt.fsf@ds4.des.no> <1201203140.4798e7c4e5284@webmail.rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201203140.4798e7c4e5284@webmail.rawbw.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org Subject: Re: ATAPI dvdreader always fails on a particular DVD movie title X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 20:31:48 -0000 On Thu, Jan 24, 2008 at 11:32:20AM -0800, Yuri wrote: > > CAPOTE (US region) doesn't play with mplayer either. > It begins, shows logo of United Artists and Sony Classics and > just hangs. Mplayer's counter also stops running. I've seen this a lot on some recent DVDs.. All I do is quit mplayer and restart it, skipping the first 10 seconds of video. That workaround has always worked for me. -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 22:08:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BA916A4DE for ; Thu, 24 Jan 2008 22:08:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9B813C457 for ; Thu, 24 Jan 2008 22:08:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 229623442-1834499 for multiple; Thu, 24 Jan 2008 17:09:54 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m0OM8gxE038715; Thu, 24 Jan 2008 17:08:42 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 24 Jan 2008 15:14:38 -0500 User-Agent: KMail/1.9.7 References: <479886CF.7040506@gahr.ch> In-Reply-To: <479886CF.7040506@gahr.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801241514.38603.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 24 Jan 2008 17:08:42 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5545/Thu Jan 24 13:20:13 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Pietro Cerutti Subject: Re: SMP in machine/params.h 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, 24 Jan 2008 22:08:45 -0000 On Thursday 24 January 2008 07:38:39 am Pietro Cerutti wrote: > Hello, > > I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP > in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU > is defined to 1. Any idea why? It is defined in opt_global.h for a kernel build, but it is not defined in userland. If you want to use MAXCPU in userland you should query the appropriate sysctl (kern.smp.maxcpu) instead. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 22:41:18 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D252716A419 for ; Thu, 24 Jan 2008 22:41:18 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C46B313C447 for ; Thu, 24 Jan 2008 22:41:18 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 1D6141A4D80; Thu, 24 Jan 2008 14:19:36 -0800 (PST) Date: Thu, 24 Jan 2008 14:19:36 -0800 From: Alfred Perlstein To: hackers@freebsd.org Message-ID: <20080124221936.GS99258@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: sysctl text definitions. 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, 24 Jan 2008 22:41:18 -0000 Hey guys, something that I've always wanted to do was actually somehow export those handy description strings from the kernel SYSCTL macros in the least obtrusive method possible. The only thing I could come up with that didn't require compiling the files twice was to basically do some tricks where the text strings wound up in some throw-away section of the object files. Any suggestions on how to do this? In "psuedo-code" what I would do is something like change SYSCTL_* and add the following: SYSCTL_INT(...., text) \ ...old define...\ SYSCTL_COMMENT(parent, node, text) Also, add the following struct someplace: struct sysctl_comment { const char *parent; const char *node; const char *comment; }; Then SYSCTL_COMMENT does something like (more psuedocode): #define SYSCTL_COMMENT(parent, node, comment) \ .set sysctl_comments { \ struct sysctl_comment uniquifier = { \ .parent = parent; \ .node = node; \ .comment = comment; \ }; Then after building the kernel one should be able to do: for file in kernel ${modules} ; do strip --section=sysctl_comments file > file.install objdump --section=sysctl_comment file > file.sysctl.out sysctl_help_database_builder file.sysctl.out > file.sysctl.db done Then these would be copied into /boot or maybe some other place as part of the install process. Sysctl or some other util could then read these db files to give help with sysctls. Any ideas/pointers on how to do this linker magic? -- - Alfred Perlstein From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 23:25:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48CE016A534 for ; Thu, 24 Jan 2008 23:25:18 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 2D94213C44B for ; Thu, 24 Jan 2008 23:25:18 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAN6smEeC1Apk/2dsb2JhbACRdp1I Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 24 Jan 2008 15:25:17 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012415251683-1868 ; Thu, 24 Jan 2008 15:25:16 -0800 Date: Thu, 24 Jan 2008 15:25:16 -0800 (PST) From: KAYVEN RIESE To: d@delphij.net In-Reply-To: <4798479B.9030406@delphij.net> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/24/2008 15:25:16, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/24/2008 15:25:17, Serialize complete at 01/24/2008 15:25:17 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: william wong , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 23:25:18 -0000 Aren't the ports collection something that makes freeBSD stand out very differently than linux? also, no rpm, and the pkg_add utility. updating operating system with cvsup? buildworld? all these things are different starkly, or are they not? On Thu, 24 Jan 2008, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > william wong wrote: >> Hi, >> >> Are there any docments or pointers to get me started hacking around my >> 6.3asap? Building toochains, submitting patches etc.... or i just >> follow most >> of the conventions in the Linux kernel development community? > > I think it's nothing "that" different. A typical way is that you find > something you are not happy with, i.e. what you think FreeBSD is lacking > of, do some proof of concept work, discuss it in the mailing list, > refine your work, submit patch, become a committer :-) > > The only "difference" as far as I can tell is that FreeBSD tends to have > stricter code style guidelines (the only exceptions are what we call > "vendor code" which is maintained outside, this includes toolchains, > device drivers that is supported by vendors, in order to make future > upgrades easier). However, unlike some other bad code style guidelines, > FreeBSD's coding style is very well documented (as in style(9)), and > following the guideline will make your code easier to read (e.g. think > about how to find the implementation with grep(1)? Yes, grep ^function.). > > We eager to see contributions from all aspects, but if you have no idea > for your own, or is looking for something to give a shot, you can check > out our projects idea page at http://www.freebsd.org/projects/ideas/ . > > Small contributions, like making more documentation about various > sysctl's, etc. are more suitable for those who just started to learn > about the code and can not invest a lot of whole bunch of time on > FreeBSD (yet), are welcomed as well. > > Another good start is to query our PR database ( > http://www.freebsd.org/cgi/query-pr-summary.cgi ) and see if there is > something you have interest, but there is no fix, or there is a fix but > stayed for a long time and push them. > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > > iD8DBQFHmEebi+vbBBjt66ARArlQAJ4xMkuM6ZflCM25wcq7Q+efxedpAACdH4w6 > jwc1NRdGUp/vrGf8mMpWTiM= > =Z6lW > -----END PGP SIGNATURE----- > _______________________________________________ > 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" > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 23:28:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B2116A418 for ; Thu, 24 Jan 2008 23:28:04 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id BCDA613C467 for ; Thu, 24 Jan 2008 23:28:04 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAAqumEeC1Apk/2dsb2JhbACvNg Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 24 Jan 2008 15:28:04 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012415280209-1871 ; Thu, 24 Jan 2008 15:28:02 -0800 Date: Thu, 24 Jan 2008 15:28:02 -0800 (PST) From: KAYVEN RIESE To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <86prvrv0b1.fsf@ds4.des.no> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/24/2008 15:28:02, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/24/2008 15:28:03, Serialize complete at 01/24/2008 15:28:03 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-959030623-1201217282=:25709" Cc: william wong , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 23:28:04 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-959030623-1201217282=:25709 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed I thought freeBSD 7 was still current "bleeding edge?" On Thu, 24 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: > "william wong" writes: >> Thanks for enlightening me on different aspects. Actually I found there = are >> many exciting network stack projects/overhaul happening in FreeBSD 8. I = just >> want to gear up myself and see what I can do. I have got 6.3 installed a= nd >> tweaking some of the kernel modification and compilation process so that= i >> can get myself acquainted to the software development process. > > You should really, really upgrade to 7. Nobody is doing any serious > work on 6 (beyond merging bug fixes back from 7); all the exciting work > happens in 8, and kernel patches against 8 will very rarely apply > cleanly to 6. > >> It seems that Juniper favors the even number FreeBSD's. > > Only because 5 was a dog. They probably stuck with 4 for a while, then > switched to 6 once they had ascertained that it was significantly more > stable than 5. I would be surprised if they skipped 7. > >> So get to know about FB8 could be ahead of them :) > > I very much doubt it. Juniper employs several veteran FreeBSD > developers (and so does Cisco, for that matter). > > DES > --=20 > Dag-Erling Sm=C3=B8rgrav - des@des.no > _______________________________________________ > 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= " > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-959030623-1201217282=:25709-- From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 23:52:24 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82AD16A468 for ; Thu, 24 Jan 2008 23:52:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBCD13C455 for ; Thu, 24 Jan 2008 23:52:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0ONqOKb024593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jan 2008 15:52:24 -0800 X-Auth-Received: from [128.208.7.236] (shiina.dyn.cs.washington.edu [128.208.7.236]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0ONqNq1011162 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 24 Jan 2008 15:52:23 -0800 In-Reply-To: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> Mime-Version: 1.0 (Apple Message framework v753) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Thu, 24 Jan 2008 15:52:24 -0800 To: KAYVEN RIESE X-Mailer: Apple Mail (2.753) X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.1.24.154134 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_200_299 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 23:52:24 -0000 On Jan 24, 2008, at 3:28 PM, KAYVEN RIESE wrote: > I thought freeBSD 7 was still current "bleeding edge?" Soon it will be the 'most current STABLE' branch; 8-CURRENT is absolute bleeding edge. -Garrett PS Please bottom post :). From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 23:55:32 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19DB516A417 for ; Thu, 24 Jan 2008 23:55:32 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (bhuda.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id A252E13C447 for ; Thu, 24 Jan 2008 23:55:31 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 87940 invoked by uid 1001); 24 Jan 2008 23:55:24 -0000 Received: from bhuda.mired.org (localhost.localdomain [127.0.0.1]) by bhuda.mired.org (tmda-ofmipd) with ESMTP; Thu, 24 Jan 2008 18:55:23 -0500 Date: Thu, 24 Jan 2008 18:55:22 -0500 To: freebsd-hackers@freebsd.org Message-ID: <20080124185522.23ca743f@bhuda.mired.org> In-Reply-To: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> Organization: Meyer Consulting X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd6.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Subject: Re: FreeBSD hacker 101 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, 24 Jan 2008 23:55:32 -0000 On Thu, 24 Jan 2008 15:25:16 -0800 (PST) KAYVEN RIESE wrote: > Aren't the ports collection something that makes freeBSD stand out > very differently than linux? also, no rpm, and the pkg_add utility. > updating operating system with cvsup? buildworld? all these things > are different starkly, or are they not? GNU/Linux isn't tied to rpm's; there are other packaging systems in use by different distros, including at least one that is based on the BSD ports system. But you've touched on one crucial difference: A GNU/Linux distribution is lots of software from various authors that the creators of the distro have put together to make a system (to be fair, the creators of the distro may have contributed software as well, like rpm). So everything is in the package system, and the line between "critical system software" and "add on packages" is blurred, Meaning it's not clear what you can update independently without breaking the OS (well, not to me, anyway). A BSD distribution is a complete operating system in and of itself - the base system. It *includes* a package system for dealing with "add on packages." You can update the add on software independently without breaking the base system. You are expected to update the base system as a whole, and doing otherwise is unsupported. I'm not sure how relevant this is to what the OP was asking about, though. > On Thu, 24 Jan 2008, Xin LI wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > william wong wrote: > >> Hi, > >> > >> Are there any docments or pointers to get me started hacking around my > >> 6.3asap? Building toochains, submitting patches etc.... or i just > >> follow most > >> of the conventions in the Linux kernel development community? > > > > I think it's nothing "that" different. A typical way is that you find > > something you are not happy with, i.e. what you think FreeBSD is lacking > > of, do some proof of concept work, discuss it in the mailing list, > > refine your work, submit patch, become a committer :-) > > > > The only "difference" as far as I can tell is that FreeBSD tends to have > > stricter code style guidelines (the only exceptions are what we call > > "vendor code" which is maintained outside, this includes toolchains, > > device drivers that is supported by vendors, in order to make future > > upgrades easier). However, unlike some other bad code style guidelines, > > FreeBSD's coding style is very well documented (as in style(9)), and > > following the guideline will make your code easier to read (e.g. think > > about how to find the implementation with grep(1)? Yes, grep ^function.). > > > > We eager to see contributions from all aspects, but if you have no idea > > for your own, or is looking for something to give a shot, you can check > > out our projects idea page at http://www.freebsd.org/projects/ideas/ . > > > > Small contributions, like making more documentation about various > > sysctl's, etc. are more suitable for those who just started to learn > > about the code and can not invest a lot of whole bunch of time on > > FreeBSD (yet), are welcomed as well. > > > > Another good start is to query our PR database ( > > http://www.freebsd.org/cgi/query-pr-summary.cgi ) and see if there is > > something you have interest, but there is no fix, or there is a fix but > > stayed for a long time and push them. > > > > Cheers, > > - -- > > Xin LI http://www.delphij.net/ > > FreeBSD - The Power to Serve! > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2.0.4 (FreeBSD) > > > > iD8DBQFHmEebi+vbBBjt66ARArlQAJ4xMkuM6ZflCM25wcq7Q+efxedpAACdH4w6 > > jwc1NRdGUp/vrGf8mMpWTiM= > > =Z6lW > > -----END PGP SIGNATURE----- > > _______________________________________________ > > 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" > > > > *----------------------------------------------------------* > Kayven Riese, BSCS, MS (Physiology and Biophysics) > (415) 902 5513 cellular > http://kayve.net > Webmaster http://ChessYoga.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" -- Mike Meyer http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 00:00:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D95E16A421 for ; Fri, 25 Jan 2008 00:00:19 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 229F413C4CE for ; Fri, 25 Jan 2008 00:00:19 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JIBzU-00043Q-RK; Fri, 25 Jan 2008 01:00:16 +0100 Message-ID: <47992680.5040208@gahr.ch> Date: Fri, 25 Jan 2008 01:00:00 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: John Baldwin References: <479886CF.7040506@gahr.ch> <200801241514.38603.jhb@freebsd.org> In-Reply-To: <200801241514.38603.jhb@freebsd.org> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig41CD985A1F0CC8A5E66ADDD6" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org Subject: Re: SMP in machine/params.h 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, 25 Jan 2008 00:00:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig41CD985A1F0CC8A5E66ADDD6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable John Baldwin wrote: > On Thursday 24 January 2008 07:38:39 am Pietro Cerutti wrote: >> Hello, >> >> I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro S= MP >> in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU= >> is defined to 1. Any idea why? >=20 > It is defined in opt_global.h for a kernel build, but it is not defined= in=20 > userland. If you want to use MAXCPU in userland you should query the=20 > appropriate sysctl (kern.smp.maxcpu) instead. >=20 Thanks for the clarification! --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig41CD985A1F0CC8A5E66ADDD6 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.7 (FreeBSD) iD8DBQFHmSaJwMJqmJVx944RCjUCAJ9viRTFTUmGtPLfChiuKdLqXp6crQCaAhHC XlZxiMp6rHLCzCrmXNg4U6Y= =Bjnz -----END PGP SIGNATURE----- --------------enig41CD985A1F0CC8A5E66ADDD6-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 00:12:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD37816A469 for ; Fri, 25 Jan 2008 00:12:01 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id B4F8513C447 for ; Fri, 25 Jan 2008 00:12:01 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0P0C17G052259 for ; Thu, 24 Jan 2008 16:12:01 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0P0C0ZK052258 for freebsd-hackers@freebsd.org; Thu, 24 Jan 2008 16:12:00 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Thu, 24 Jan 2008 16:12:00 -0800 Message-ID: <1201219920.47992950e4649@webmail.rawbw.com> Date: Thu, 24 Jan 2008 16:12:00 -0800 From: Yuri To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 Subject: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 00:12:01 -0000 I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux. http://ndiswrapper.sourceforge.net/joomla/ They add the converter between Linux kernel API and the subset of Windows kernel API sufficient to run binary driver. I know that few USB Webcams are supported in the similar way on FreeBSD recompiling Linux source drivers. Also Mplayer is using similar approach wrapping around Windows-only binary codecs. But is these such thing for network cards on FreeBSD? Yuri From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 00:14:40 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4586716A418 for ; Fri, 25 Jan 2008 00:14:40 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id C738B13C455 for ; Fri, 25 Jan 2008 00:14:39 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.1/8.13.8) with ESMTP id m0P0Ecfp029581; Thu, 24 Jan 2008 18:14:38 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.1/8.13.8/Submit) id m0P0EcHq029580; Thu, 24 Jan 2008 18:14:38 -0600 (CST) (envelope-from brooks) Date: Thu, 24 Jan 2008 18:14:38 -0600 From: Brooks Davis To: Yuri Message-ID: <20080125001438.GA28902@lor.one-eyed-alien.net> References: <1201219920.47992950e4649@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <1201219920.47992950e4649@webmail.rawbw.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 24 Jan 2008 18:14:38 -0600 (CST) Cc: freebsd-hackers@freebsd.org Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 00:14:40 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: > I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? >=20 > NDISwrapper taked Windows XP binary driver and runs it on Linux. > http://ndiswrapper.sourceforge.net/joomla/ > They add the converter between Linux kernel API and the subset of > Windows kernel API sufficient to run binary driver. >=20 > I know that few USB Webcams are supported in the similar way on FreeBSD > recompiling Linux source drivers. Also Mplayer is using similar > approach wrapping around Windows-only binary codecs. >=20 > But is these such thing for network cards on FreeBSD? man ndisgen -- Brooks --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHmSnuXY6L6fI4GtQRAj4rAJ9dVsqfO8Vz60qhsJaiP8PL1ECmVwCfdTuk aTQX2/8S5EV/h6TGW3A/dfc= =c8b+ -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 00:14:44 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DE016A4DC for ; Fri, 25 Jan 2008 00:14:44 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 81C7413C465 for ; Fri, 25 Jan 2008 00:14:44 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 77466 invoked by uid 2001); 25 Jan 2008 00:14:43 -0000 Date: Thu, 24 Jan 2008 18:14:43 -0600 From: "Rick C. Petty" To: Yuri Message-ID: <20080125001443.GB77376@keira.kiwi-computer.com> References: <1201219920.47992950e4649@webmail.rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201219920.47992950e4649@webmail.rawbw.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org Subject: Re: Wrapper for Windows-only network card binary drivers on FreeBSD? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 00:14:44 -0000 On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: > I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? http://www.freebsd.org/cgi/man.cgi?query=ndis&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=html -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 00:15:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1710B16A41A for ; Fri, 25 Jan 2008 00:15:42 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id C6EF613C448 for ; Fri, 25 Jan 2008 00:15:41 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id DABABFB9405 for ; Fri, 25 Jan 2008 00:15:39 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id B333C175D0; Fri, 25 Jan 2008 01:15:40 +0100 (CET) Date: Fri, 25 Jan 2008 01:15:40 +0100 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20080125001540.GA17455@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <1201219920.47992950e4649@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201219920.47992950e4649@webmail.rawbw.com> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 00:15:42 -0000 On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: > I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? man 4 ndis Joerg From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 01:29:58 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3531516A41A for ; Fri, 25 Jan 2008 01:29:58 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outD.internet-mail-service.net (outD.internet-mail-service.net [216.240.47.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9A813C468 for ; Fri, 25 Jan 2008 01:29:58 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 24 Jan 2008 17:29:57 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 18328126FDE; Thu, 24 Jan 2008 17:29:57 -0800 (PST) Message-ID: <47993B94.9010403@elischer.org> Date: Thu, 24 Jan 2008 17:29:56 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Yuri References: <1201219920.47992950e4649@webmail.rawbw.com> In-Reply-To: <1201219920.47992950e4649@webmail.rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 01:29:58 -0000 Yuri wrote: > I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? > > NDISwrapper taked Windows XP binary driver and runs it on Linux. > http://ndiswrapper.sourceforge.net/joomla/ > They add the converter between Linux kernel API and the subset of > Windows kernel API sufficient to run binary driver. > I Believe the linux wrapper concept was copied from the freebsd one which was originally called "Project Evil" > I know that few USB Webcams are supported in the similar way on FreeBSD > recompiling Linux source drivers. Also Mplayer is using similar > approach wrapping around Windows-only binary codecs. > > But is these such thing for network cards on FreeBSD? > > Yuri > _______________________________________________ > 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 Jan 25 01:58:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F44816A418 for ; Fri, 25 Jan 2008 01:58:08 +0000 (UTC) (envelope-from binto@triplegate.net.id) Received: from asterix-2.3gate.net (asterix-2.3gate.net [202.127.97.37]) by mx1.freebsd.org (Postfix) with SMTP id 42BD113C447 for ; Fri, 25 Jan 2008 01:58:06 +0000 (UTC) (envelope-from binto@triplegate.net.id) Received: (qmail 32151 invoked by uid 1011); 25 Jan 2008 01:53:14 -0000 Received: from 202.127.97.100 by asterix-2.3gate.net (envelope-from , uid 1009) with qmail-scanner-1.25-st-qms (clamdscan: 0.91.2/4619. perlscan: 1.25-st-qms. Clear:RC:1(202.127.97.100):. Processed in 0.060301 secs); 25 Jan 2008 01:53:14 -0000 X-Antivirus-MY_3GNET-Mail-From: binto@triplegate.net.id via asterix-2.3gate.net X-Antivirus-MY_3GNET: 1.25-st-qms (Clear:RC:1(202.127.97.100):. Processed in 0.060301 secs Process 32145) Received: from smtp.triplegate.net.id (HELO lb1.3gate.net) (202.127.97.100) by asterix-2.3gate.net with SMTP; 25 Jan 2008 01:53:14 -0000 Received: from webmail.triplegate.net.id (unknown [202.127.97.10]) by lb1.3gate.net (Postfix) with ESMTP id 3354F211029; Fri, 25 Jan 2008 08:53:49 +0700 (WIT) Received: from 202.127.98.144 (SquirrelMail authenticated user binto@triplegate.net.id) by webmail.triplegate.net.id with HTTP; Fri, 25 Jan 2008 09:00:00 +0700 (WIT) Message-ID: <11346.202.127.98.144.1201226400.squirrel@webmail.triplegate.net.id> In-Reply-To: <47988F12.2050303@moneybookers.com> References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <479794DB.4020504@FreeBSD.org> <47985936.2030705@moneybookers.com> <47986FDE.3030402@FreeBSD.org> <47988F12.2050303@moneybookers.com> Date: Fri, 25 Jan 2008 09:00:00 +0700 (WIT) From: "binto" To: "Stefan Lambrev" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 25 Jan 2008 01:58:08 -0000 Hi, Sorry if a little bit insist & curious. what is result from: sysctl -a kern.ipc.maxsockbuf sysctl -a net.inet.tcp.recvspace sysctl -a net.inet.tcp.sendspace ?? binto > Greetings, > > Kris Kennaway wrote: >> Stefan Lambrev wrote: >> >>>> It is the socket buffer that is filling up. Either the application >>>> is not increasing it to large enough size or the default maximum is >>>> too low (Linux may set a larger default). Try increasing >>>> kern.ipc.maxsockbuf and confirming with the source and/or ktrace >>>> that it is doing the right setsockopt() call. >>> Increasing kern.ipc.maxsockbuf doesn't help. >>> >>> Actually this is the code that failed and print this error: >>> >>> result = sendto(sockraw, packet, packetsize, 0, >>> (struct sockaddr*)&remote, sizeof(remote)); >>> >>> if (result == -1 && errno != EINTR && !opt_rand_dest && >>> !opt_rand_source) { >>> perror("[send_ip] sendto"); >>> >>> Those are the only references for setsockopt when ktracing: >>> 3385 hping CALL __sysctl(0xbfbfe870,0x6,0,0xbfbfe888,0,0) >>> 3385 hping RET __sysctl 0 >>> 3385 hping CALL __sysctl(0xbfbfe870,0x6,0x28305180,0xbfbfe888,0,0) >>> 3385 hping RET __sysctl 0 >>> 3385 hping CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) >>> 3385 hping RET socket 3 >>> 3385 hping CALL >>> setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe884,0x4) >>> 3385 hping RET setsockopt 0 >>> 3385 hping CALL connect(0x3,0x8067da0,0x10) >>> 3385 hping RET connect 0 >>> 3385 hping CALL getsockname(0x3,0xbfbfe874,0xbfbfe888) >>> 3385 hping RET getsockname 0 >>> 3385 hping CALL close(0x3) >>> 3385 hping RET close 0 >>> 3385 hping CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) >>> 3385 hping RET socket 3 >>> 3385 hping CALL >>> setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe914,0x4) >>> 3385 hping RET setsockopt 0 >>> 3385 hping CALL setsockopt(0x3,0,0x2,0xbfbfe914,0x4) >>> 3385 hping RET setsockopt 0 >>> 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) >>> 3385 hping NAMI "/dev/bpf0" >>> 3385 hping RET open -1 errno 16 Device busy >>> 3385 hping CALL open(0xbfbfe8a4,O_RDWR,0) >>> 3385 hping NAMI "/dev/bpf1" >>> 3385 hping RET open 4 >> >> OK, try adding the setsockopt(...SO_SNDBUF...) call. > Will something like this do the trick? > > void socket_sndbuf(int sd) > { > long int bufsize; > bufsize = 65536; > if (setsockopt(sd, SOL_SOCKET, SO_SNDBUF, > (char *)&bufsize, sizeof(int)) == -1) > { > printf("[socket_sndbuf] can't set SO_SNDBUF option\n"); > } > } > > I'm not a C developer so pardon me if I made something stupid :) > Also how can I make bufsize = default settings*2 for example? > > I tried this code and here is what ktrace show now: > 65372 hping3 CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_IP) > 65372 hping3 RET socket 3 > 65372 hping3 CALL > setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe844,0x4) > 65372 hping3 RET setsockopt 0 > 65372 hping3 CALL connect(0x3,0x8067e20,0x10) > 65372 hping3 RET connect 0 > 65372 hping3 CALL getsockname(0x3,0xbfbfe834,0xbfbfe848) > 65372 hping3 RET getsockname 0 > 65372 hping3 CALL close(0x3) > 65372 hping3 RET close 0 > 65372 hping3 CALL socket(PF_INET,SOCK_RAW,IPPROTO_RAW) > 65372 hping3 RET socket 3 > 65372 hping3 CALL > setsockopt(0x3,SOL_SOCKET,SO_BROADCAST,0xbfbfe8d4,0x4) > 65372 hping3 RET setsockopt 0 > 65372 hping3 CALL setsockopt(0x3,0,0x2,0xbfbfe8d4,0x4) > 65372 hping3 RET setsockopt 0 > 65372 hping3 CALL setsockopt(0x3,SOL_SOCKET,SO_SNDBUF,0xbfbfe8d4,0x4) > 65372 hping3 RET setsockopt 0 > >> >> Kris >> _______________________________________________ >> 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" > > -- > > Best Wishes, > Stefan Lambrev > ICQ# 24134177 > > _______________________________________________ > 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 Jan 25 05:25:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2560816A418 for ; Fri, 25 Jan 2008 05:25:34 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id F1F7013C469 for ; Fri, 25 Jan 2008 05:25:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0P5PWab026341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jan 2008 21:25:32 -0800 X-Auth-Received: from [128.208.5.30] (shiina-1.dyn.cs.washington.edu [128.208.5.30]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0P5PVL0020021 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 24 Jan 2008 21:25:32 -0800 In-Reply-To: <47993B94.9010403@elischer.org> References: <1201219920.47992950e4649@webmail.rawbw.com> <47993B94.9010403@elischer.org> Mime-Version: 1.0 (Apple Message framework v753) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Thu, 24 Jan 2008 21:25:33 -0800 To: Julian Elischer X-Mailer: Apple Mail (2.753) X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.1.24.211249 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_800_899 0, ECARD_WORD 0, OEM_SOFTWARE_X1 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __OEM_SOFTWARE_1 0, __SANE_MSGID 0' Cc: Yuri , freebsd-hackers@freebsd.org Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 05:25:34 -0000 On Jan 24, 2008, at 5:29 PM, Julian Elischer wrote: > Yuri wrote: >> I am curious is there an effort in FreeBSD similar to Linux >> NDISwrapper? >> NDISwrapper taked Windows XP binary driver and runs it on Linux. >> http://ndiswrapper.sourceforge.net/joomla/ >> They add the converter between Linux kernel API and the subset of >> Windows kernel API sufficient to run binary driver. > > I Believe the linux wrapper concept was copied from the freebsd one > which was originally called "Project Evil" Is it the other way around (Project Evil isa ndiswrapper port, etc), or something else..? Wikipedia also claims that ndiswrapper has more functionality than P.E., but I dunno if that's true or not: . Anyone have any clarifications on those points? Just curious, again.. -Garrett From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 05:58:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BB3016A41B for ; Fri, 25 Jan 2008 05:58:53 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id EE32613C4CE for ; Fri, 25 Jan 2008 05:58:52 +0000 (UTC) (envelope-from beijing.liangjie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so560142fgg.35 for ; Thu, 24 Jan 2008 21:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GAog24PFgOQ9bXnUqfYsZfAyR/OxE0uF7iRpcWywL6U=; b=TnuDlHfLMlodzKdaH1Pnq6QeqKZFSF9+obuBPpsRuyEcf1iyMsj4ct500CEeXGiGGY9IjLmu9YeH/bpaj7afXD35SVz3rHsYXlv7BjO86YVlI9Pbr2+LGjs/BUBmQU1XC16WWs1jnsEXkrK2/eYqlO906Cho2PE3W3bA79YgNS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oVUKuMjnFq1jpKIY7kHMD4GaLfGhMpnFnC0ZI+Sd8LN58wBH6YJmVJoLscJPE7GIEzympeMk7axadmzbblaRNVIPJzb6QAgF8Gg76UWFuaLOnsXQw2n6cwqiVcuUaVnRpf7zkmBgOULbS/d1Q69dhP/rDl71sqcASbqpkPu7jeQ= Received: by 10.86.50.8 with SMTP id x8mr1448573fgx.61.1201240731816; Thu, 24 Jan 2008 21:58:51 -0800 (PST) Received: by 10.86.89.14 with HTTP; Thu, 24 Jan 2008 21:58:51 -0800 (PST) Message-ID: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> Date: Fri, 25 Jan 2008 13:58:51 +0800 From: "william wong" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86fxwn877v.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 05:58:53 -0000 That brings me to another ponder: why juniper and cisco are using FreeBSD and not Linux even Linux performs better in an UP environment? 2008/1/25, Dag-Erling Sm=F8rgrav : > "william wong" writes: > > Dag-Erling Sm=F8rgrav writes: > > > "william wong" writes: > > > > It seems that Juniper favors the even number FreeBSD's. > > > Only because 5 was a dog. They probably stuck with 4 for a while, th= en > > > switched to 6 once they had ascertained that it was significantly mor= e > > > stable than 5. I would be surprised if they skipped 7. > > Please pardon my ignorance of the jargons. Does that mean 5 is not > > stable or does not perform or what? > > FreeBSD 5 was not a very good series. It was released late and had > issues with both stability and performance. FreeBSD 6 corrected the > stability issues and some of the worst performance issues. FreeBSD 7 > took care of the remaining performance issues; it may not be as fast as > 4 was on UP, but it beats Linux on SMP. > > (there's no point in comparing SMP performance between 4 and 7 since 4 > had a single-threaded kernel and practically no userland thread support) > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 05:59:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4C816A537 for ; Fri, 25 Jan 2008 05:59:05 +0000 (UTC) (envelope-from root@solink.ru) Received: from ns.itam.nsc.ru (ns.itam.nsc.ru [194.226.179.15]) by mx1.freebsd.org (Postfix) with ESMTP id 15F2113C4E9 for ; Fri, 25 Jan 2008 05:59:03 +0000 (UTC) (envelope-from root@solink.ru) Received: from site.lan (itut.itam.nsc.ru [194.226.179.2]) by ns.itam.nsc.ru (8.13.1/8.13.1) with ESMTP id m0P5SsT4029200 for ; Fri, 25 Jan 2008 11:29:01 +0600 Received: from [10.10.10.10] ([192.168.66.166]) (authenticated bits=0) by site.lan (8.12.11.20060308/8.12.11) with ESMTP id m0P5SoTS023477 for ; Fri, 25 Jan 2008 11:28:54 +0600 From: Bachilo Dmitry Organization: Solink Ltd To: freebsd-hackers@freebsd.org Date: Fri, 25 Jan 2008 11:28:51 +0600 User-Agent: KMail/1.9.6 References: <1201219920.47992950e4649@webmail.rawbw.com> <47993B94.9010403@elischer.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801251128.51194.root@solink.ru> Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 05:59:05 -0000 =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 Friday 25 January 2008 11:25:33 Garr= ett Cooper =CE=C1=D0=C9=D3=C1=CC(=C1): > On Jan 24, 2008, at 5:29 PM, Julian Elischer wrote: > > Yuri wrote: > >> I am curious is there an effort in FreeBSD similar to Linux > >> NDISwrapper? > >> NDISwrapper taked Windows XP binary driver and runs it on Linux. > >> http://ndiswrapper.sourceforge.net/joomla/ > >> They add the converter between Linux kernel API and the subset of > >> Windows kernel API sufficient to run binary driver. > > > > I Believe the linux wrapper concept was copied from the freebsd one > > which was originally called "Project Evil" > > Is it the other way around (Project Evil isa ndiswrapper port, etc), > or something else..? > Wikipedia also claims that ndiswrapper has more functionality than > P.E., but I dunno if that's true or not: wiki/NdisWrapper>. > Anyone have any clarifications on those points? Just curious, again.. > -Garrett =46reeBSD's ndis works perfectly, and it worked long before it apeared in L= inux.=20 Just type 'ndisgen' and the interactive script will do everything for you, = so=20 why bother? > _______________________________________________ > 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" =2D-=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD,=20 =E2=C1=DE=C9=CC=CF =E4=CD=C9=D4=D2=C9=CA =F2=D5=CB=CF=D7=CF=C4=C9=D4=C5=CC=D8 =CF=D4=C4=C5=CC=C1 =D3=C9=D3=D4=C5=CD= =CE=CF=CA =C9=CE=D4=C5=C7=D2=C1=C3=C9=C9 =EF=EF=EF "=EB=CF=CD=D0=C1=CE=C9=D1 =F3=CF=CC=C9=CE=CB" root@solink.ru From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 07:08:22 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C48AC16A421; Fri, 25 Jan 2008 07:08:22 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA1313C465; Fri, 25 Jan 2008 07:08:22 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m0P78JS3009467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jan 2008 18:08:20 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m0P78Jal053142; Fri, 25 Jan 2008 18:08:19 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m0P78JQQ053141; Fri, 25 Jan 2008 18:08:19 +1100 (EST) (envelope-from peter) Date: Fri, 25 Jan 2008 18:08:19 +1100 From: Peter Jeremy To: Alfred Perlstein Message-ID: <20080125070819.GT63574@server.vk2pj.dyndns.org> References: <20080124221936.GS99258@elvis.mu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <20080124221936.GS99258@elvis.mu.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 25 Jan 2008 07:08:22 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 24, 2008 at 02:19:36PM -0800, Alfred Perlstein wrote: >Hey guys, something that I've always wanted to do was actually somehow >export those handy description strings from the kernel SYSCTL macros >in the least obtrusive method possible. Likewise. >The only thing I could come up with that didn't require compiling the >files twice was to basically do some tricks where the text strings >wound up in some throw-away section of the object files. Many years ago I started to look at this: My idea was to stick the description strings into an ELF section that was not loaded. >Then these would be copied into /boot or maybe some other place >as part of the install process. If the relevant ELF sections are marked unloadable then there's no reason not to just leave them in the kernel/kld file. >Any ideas/pointers on how to do this linker magic? This is where I failed: My ld-foo wasn't sufficient to create the required linker scripts to make it all work. I don't remember if I kept the work I did. I thought I mentioned it on a mailing list but can't find it in my home archives or on google. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHmYrj/opHv/APuIcRAktBAKCtjawyiDuA4aOevXe/ksJ/pbZPSACfQboD cBhxdCDHu+Kd1QjKI2MfjZY= =7BBA -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 07:22:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3ACD16A468 for ; Fri, 25 Jan 2008 07:22:43 +0000 (UTC) (envelope-from xistence@0x58.com) Received: from mailexchange.osnn.net (1e.66.5646.static.theplanet.com [70.86.102.30]) by mx1.freebsd.org (Postfix) with SMTP id 77A0C13C4CC for ; Fri, 25 Jan 2008 07:22:43 +0000 (UTC) (envelope-from xistence@0x58.com) Received: (qmail 7335 invoked by uid 0); 25 Jan 2008 07:18:55 -0000 Received: from unknown (HELO wideload.network.lan) (xistence@0x58.com@68.228.228.123) by mailexchange.osnn.net with SMTP; 25 Jan 2008 07:18:55 -0000 Cc: FreeBSD Hackers Message-Id: <47928318-0FF3-49F2-B427-A026DB56BE3E@0x58.com> From: Bert JW Regeer In-Reply-To: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> Content-Type: multipart/signed; boundary=Apple-Mail-1--399754265; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 25 Jan 2008 00:22:24 -0700 References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> X-Mailer: Apple Mail (2.915) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 07:22:43 -0000 --Apple-Mail-1--399754265 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable On Jan 24, 2008, at 22:58 , william wong wrote: > That brings me to another ponder: why juniper and cisco are using > FreeBSD and not Linux even Linux performs better in an UP environment? > > 2008/1/25, Dag-Erling Sm=F8rgrav : >> "william wong" writes: >>> Dag-Erling Sm=F8rgrav writes: >>>> "william wong" writes: >>>>> It seems that Juniper favors the even number FreeBSD's. >>>> Only because 5 was a dog. They probably stuck with 4 for a =20 >>>> while, then >>>> switched to 6 once they had ascertained that it was significantly =20= >>>> more >>>> stable than 5. I would be surprised if they skipped 7. >>> Please pardon my ignorance of the jargons. Does that mean 5 is not >>> stable or does not perform or what? >> >> FreeBSD 5 was not a very good series. It was released late and had >> issues with both stability and performance. FreeBSD 6 corrected the >> stability issues and some of the worst performance issues. FreeBSD 7 >> took care of the remaining performance issues; it may not be as =20 >> fast as >> 4 was on UP, but it beats Linux on SMP. >> >> (there's no point in comparing SMP performance between 4 and 7 =20 >> since 4 >> had a single-threaded kernel and practically no userland thread =20 >> support) >> >> DES >> -- >> Dag-Erling Sm=F8rgrav - des@des.no >> Please do not top post. The reason Juniper and Cisco are probably using FreeBSD is because of =20= the license that FreeBSD is under (BSD-License) versus the Linux =20 kernels GPL. Bert JW Regeer --Apple-Mail-1--399754265-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 08:14:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C506316A417 for ; Fri, 25 Jan 2008 08:14:24 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 87AFE13C45D for ; Fri, 25 Jan 2008 08:14:24 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 155992085; Fri, 25 Jan 2008 09:14:16 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 81E1C2049; Fri, 25 Jan 2008 09:14:15 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 62821844B6; Fri, 25 Jan 2008 09:14:15 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: KAYVEN RIESE References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> Date: Fri, 25 Jan 2008 09:14:15 +0100 In-Reply-To: (KAYVEN RIESE's message of "Thu\, 24 Jan 2008 15\:28\:02 -0800 \(PST\)") Message-ID: <86wspy5nl4.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: william wong , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 08:14:24 -0000 KAYVEN RIESE writes: > I thought freeBSD 7 was still current "bleeding edge?" No, that's FreeBSD 8. FreeBSD 7.0 is very close to release now, and you can already run 7-STABLE if you want to. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 08:22:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBE2E16A41A for ; Fri, 25 Jan 2008 08:22:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id ACC4613C4CE for ; Fri, 25 Jan 2008 08:22:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 298B7207E; Fri, 25 Jan 2008 09:21:54 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id A445F2049; Fri, 25 Jan 2008 09:21:53 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 8EC0E844B6; Fri, 25 Jan 2008 09:21:53 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "william wong" References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> Date: Fri, 25 Jan 2008 09:21:53 +0100 In-Reply-To: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> (william wong's message of "Fri\, 25 Jan 2008 13\:58\:51 +0800") Message-ID: <86sl0m5n8e.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 08:22:03 -0000 "william wong" writes: > That brings me to another ponder: why juniper and cisco are using > FreeBSD and not Linux even Linux performs better in an UP environment? Who said Linux performs better in a UP environment? UP performance is close to irrelevant these days anyway; there are still many UP machines (especially in the embedded world), but application code is increasingly dependent on multithreading, and the kind of things you have to do to your kernel to get good multithreading performance are pretty much the same things you have to do to get good SMP performance. In any case, I doubt UP or SMP performance was the biggest factor in the decision. The licensing model, the stability of the code base (between major releases) and possibly the quality of the network stack are likely to have played a larger role. This is all speculation, however; I don't work at Juniper or Cisco. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 10:47:23 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE4816A418 for ; Fri, 25 Jan 2008 10:47:23 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id E008F13C469 for ; Fri, 25 Jan 2008 10:47:22 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from japan.t-online.private (people [192.168.2.4]) by people.fsn.hu (Postfix) with ESMTP id DB0DE13ECFD for ; Fri, 25 Jan 2008 11:27:35 +0100 (CET) Message-ID: <4799B997.6080404@fsn.hu> Date: Fri, 25 Jan 2008 11:27:35 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.9 (X11/20071204) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Fetching thermal information from HP servers 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, 25 Jan 2008 10:47:23 -0000 Hello, Any ideas what could be done to make the hardware sensors usable on HP servers? I have a bunch of DL3xx, BL2xp, BL4xxc machines running FreeBSD and all of them have: hw.acpi.thermal.tz0.temperature: 8.3C hw.acpi.thermal.tz0._PSV: 9.8C hw.acpi.thermal.tz0._CRT: 31.3C These values are constant on all machines, regardless of the number of CPUs, the type and the load. -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/ From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 10:51:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7968E16A418; Fri, 25 Jan 2008 10:51:53 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3422813C469; Fri, 25 Jan 2008 10:51:53 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 20CA21B10EF4; Fri, 25 Jan 2008 11:51:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id 7403E1B10EF1; Fri, 25 Jan 2008 11:51:49 +0100 (CET) Message-ID: <4799BF45.30607@moneybookers.com> Date: Fri, 25 Jan 2008 12:51:49 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: binto References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <479794DB.4020504@FreeBSD.org> <47985936.2030705@moneybookers.com> <47986FDE.3030402@FreeBSD.org> <47988F12.2050303@moneybookers.com> <11346.202.127.98.144.1201226400.squirrel@webmail.triplegate.net.id> In-Reply-To: <11346.202.127.98.144.1201226400.squirrel@webmail.triplegate.net.id> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5550/Fri Jan 25 08:02:45 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping 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, 25 Jan 2008 10:51:53 -0000 Greetings, binto wrote: > Hi, > > Sorry if a little bit insist & curious. > > what is result from: > sysctl -a kern.ipc.maxsockbuf > sysctl -a net.inet.tcp.recvspace > net.inet.tcp.sendspace: 32768 net.inet.tcp.recvspace: 65536 kern.ipc.maxsockbuf: 262144 kern.ipc.nmbclusters: 262144 -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 12:19:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66DA216A417 for ; Fri, 25 Jan 2008 12:19:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 631F413C447 for ; Fri, 25 Jan 2008 12:19:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 2A85F1CC031; Fri, 25 Jan 2008 04:19:41 -0800 (PST) Date: Fri, 25 Jan 2008 04:19:41 -0800 From: Jeremy Chadwick To: Attila Nagy Message-ID: <20080125121941.GA33060@eos.sc1.parodius.com> References: <4799B997.6080404@fsn.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4799B997.6080404@fsn.hu> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-hackers@freebsd.org Subject: Re: Fetching thermal information from HP servers 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, 25 Jan 2008 12:19:41 -0000 On Fri, Jan 25, 2008 at 11:27:35AM +0100, Attila Nagy wrote: > Any ideas what could be done to make the hardware sensors usable on HP > servers? I have a bunch of DL3xx, BL2xp, BL4xxc machines running FreeBSD > and all of them have: > hw.acpi.thermal.tz0.temperature: 8.3C > hw.acpi.thermal.tz0._PSV: 9.8C > hw.acpi.thermal.tz0._CRT: 31.3C > > These values are constant on all machines, regardless of the number of > CPUs, the type and the load. The sysctls remaining static is due to the BIOS vendor choosing to make them static values, rather than tying them into the HWM hardware on the board. This is common on a lot of Asus consumer motherboards as well. All you can do is complain to the system/BIOS manufacturer. It ultimately depends on what HWM is on all of the above servers, and whether or not utilities like sysutils/mbmon or sysutils/healthd (the code between the two is very similar, with sysutils/mbmon being more recent) can talk to the IC via old ISA I/O ports or via SMBus drivers. This also depends on some BIOS code to be in place. I'm in a similar boat with our Supermicro SuperServer 5015M-T+ boxes, which use a Winbond W83627EHF IC for serial/lpt/floppy/etc. as well as providing HWM capability. I've been hacking on some code to talk to it for a while via SMBus, and am having some mixed results. (I'm probably going to have to talk to Supermicro...) If HWM is important to you enough to switch OSes, take a look at Linux's lm-sensors framework (which is now in the 2.4 and 2.6 kernels), as it's significantly more advanced than the above two. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 05:05:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A389416A41B for ; Fri, 25 Jan 2008 05:05:09 +0000 (UTC) (envelope-from shuey@fmepnet.org) Received: from maggie.fmepnet.org (maggie.fmepnet.org [66.246.224.188]) by mx1.freebsd.org (Postfix) with ESMTP id 7894D13C46B for ; Fri, 25 Jan 2008 05:05:09 +0000 (UTC) (envelope-from shuey@fmepnet.org) Received: from 74-140-107-121.dhcp.insightbb.com ([74.140.107.121] helo=[192.168.37.102]) by maggie.fmepnet.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JIGEq-0005vj-2o for freebsd-hackers@freebsd.org; Thu, 24 Jan 2008 23:32:24 -0500 Message-ID: <4799664C.5050001@fmepnet.org> Date: Thu, 24 Jan 2008 23:32:12 -0500 From: Mike Shuey User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 25 Jan 2008 12:27:34 +0000 Subject: bootparamd fix for RELENG_7_0? 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, 25 Jan 2008 05:05:09 -0000 Pardon my lack of proper protocol - this is the first time I've ventured into reporting FreeBSD bugs, and I'm a bit unsure how to do so. I just spent several evenings finding out that FreeBSD's bootparamd isn't 64-bit clean. Turns out, I'm not the only one; in April, 2007, Tyler Spivey filed PR 112163 about this. He also included a simple patch, to clear up most of the problems (replacing long with ip_addr_t in several key places). What's the likelihood that his patch could be applied before 7.0 is fully released? The patch I'm talking about is his second shot, attached to his problem report here: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/112163 -- Mike "No .sig for you" Shuey From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 06:31:54 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A86BF16A417 for ; Fri, 25 Jan 2008 06:31:54 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 89D3F13C459 for ; Fri, 25 Jan 2008 06:31:54 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 1C1C28C096; Fri, 25 Jan 2008 00:31:54 -0600 (CST) Date: Fri, 25 Jan 2008 00:31:54 -0600 To: william wong Message-ID: <20080125063154.GA9925@soaustin.net> References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Fri, 25 Jan 2008 12:28:12 +0000 Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 06:31:54 -0000 On Fri, Jan 25, 2008 at 01:58:51PM +0800, william wong wrote: > That brings me to another ponder: why juniper and cisco are using > FreeBSD and not Linux even Linux performs better in an UP environment? Other posters have mentioned that there is a mix of Linux and BSD at Cisco. I don't work there, so I can't comment. However, if you're shipping a product where you don't necessarily wish to publish whatever code enhancements you've created, the BSD license is most likely a better choice. What was discussed at the last BSDCan was the fact that the companies that use BSD-licensed components are evolving towards contributing back improvements that they make to the system that they do not feel are their differentiators, and keeping to themselves the intellectual property that they feel puts them at a competitive advantage in their market. So it comes down to a legal and philosophical difference -- one that has been argued incessantly in the BSD vs. GPL camps. It can quickly become a "religious argument" and one that can only be resolved by "agreeing to disagree" -- if that. mcl From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 08:11:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8005916A468 for ; Fri, 25 Jan 2008 08:11:11 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-out-04.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id D9E5E13C455 for ; Fri, 25 Jan 2008 08:11:10 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-av-01.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-04.forthnet.gr (8.13.8/8.13.8) with ESMTP id m0P6ioVD025878; Fri, 25 Jan 2008 08:44:50 +0200 Received: from MX-IN-03.forthnet.gr (mx-in-05.forthnet.gr [193.92.150.32]) by mx-av-01.forthnet.gr (8.14.1/8.14.1) with ESMTP id m0P6io0S000710; Fri, 25 Jan 2008 08:44:50 +0200 Received: from kobe.laptop (ppp133-151.adsl.forthnet.gr [62.1.124.151]) by MX-IN-03.forthnet.gr (8.14.2/8.14.2) with ESMTP id m0P6im5u019246; Fri, 25 Jan 2008 08:44:49 +0200 Authentication-Results: MX-IN-03.forthnet.gr smtp.mail=keramida@ceid.upatras.gr; spf=neutral Authentication-Results: MX-IN-03.forthnet.gr header.from=keramida@ceid.upatras.gr; sender-id=neutral Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m0P6im1R072035; Fri, 25 Jan 2008 08:44:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m0P6imiL072034; Fri, 25 Jan 2008 08:44:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 Jan 2008 08:44:47 +0200 From: Giorgos Keramidas To: william wong Message-ID: <20080125064447.GB71944@kobe.laptop> References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> X-Mailman-Approved-At: Fri, 25 Jan 2008 12:28:41 +0000 Cc: Dag-Erling Sm?rgrav , freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 08:11:13 -0000 On 2008-01-25 13:58, william wong wrote: > That brings me to another ponder: why juniper and cisco are using > FreeBSD and not Linux even Linux performs better in an UP environment? That's probably something only Juniper and Cisco can answer with a sufficiently high degree of confidence that the answer *does* reflecty reality. I bet you the licensing model plays an important part in the decision though :) From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 12:51:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A2C916A41A for ; Fri, 25 Jan 2008 12:51:04 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (thunderstone.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 356D613C457 for ; Fri, 25 Jan 2008 12:51:04 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id 48B656D43B; Fri, 25 Jan 2008 13:51:02 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([127.0.0.1]) by localhost (thunderstone.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ec71LzuEp0K8; Fri, 25 Jan 2008 13:50:34 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id 3C3E06D43A; Fri, 25 Jan 2008 13:50:34 +0100 (CET) Date: Fri, 25 Jan 2008 13:50:34 +0100 From: Rink Springer To: Mike Shuey Message-ID: <20080125125034.GA36449@rink.nu> References: <4799664C.5050001@fmepnet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4799664C.5050001@fmepnet.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org Subject: Re: bootparamd fix for RELENG_7_0? 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, 25 Jan 2008 12:51:04 -0000 Hi Mike, On Thu, Jan 24, 2008 at 11:32:12PM -0500, Mike Shuey wrote: > I just spent several evenings finding out that FreeBSD's bootparamd > isn't 64-bit clean. Turns out, I'm not the only one; in April, 2007, > Tyler Spivey filed PR 112163 about this. He also included a simple > patch, to clear up most of the problems (replacing long with ip_addr_t > in several key places). Yes, I've encounted the same problem on amd64 as well while trying to netboot a Netra from a FreeBSD/amd64 server. I recall the problem of using long's. > What's the likelihood that his patch could be applied before 7.0 is > fully released? The patch I'm talking about is his second shot, > attached to his problem report here: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/112163 > I'll see what I can do. Thanks for the pointer. -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 13:13:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C53116A418; Fri, 25 Jan 2008 13:13:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 0467413C45D; Fri, 25 Jan 2008 13:13:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m0PChKUb017995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jan 2008 12:43:26 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.3 smtp.infracaninophile.co.uk m0PChKUb017995 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1201265006; bh=6sV4k+W+bBNKyl GwVhuUtApqfmE56IsHdt598S2ns6A=; h=Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To: X-Enigmail-Version:Content-Type:Content-Transfer-Encoding:Cc: Content-Type:Date:From:In-Reply-To:Message-ID:Mime-Version: References:To; z=Message-ID:=20<4799D967.1070606@infracaninophile. co.uk>|Date:=20Fri,=2025=20Jan=202008=2012:43:19=20+0000|From:=20Ma tthew=20Seaman=20|Organization:=20 Infracaninophile|User-Agent:=20Thunderbird=202.0.0.9=20(X11/2008012 2)|MIME-Version:=201.0|To:=20Jeremy=20Chadwick=20|CC:=20Attila=20Nagy=20,=20freebsd-hackers@freebsd.or g|Subject:=20Re:=20Fetching=20thermal=20information=20from=20HP=20s ervers|References:=20<4799B997.6080404@fsn.hu>=20<20080125121941.GA 33060@eos.sc1.parodius.com>|In-Reply-To:=20<20080125121941.GA33060@ eos.sc1.parodius.com>|X-Enigmail-Version:=200.95.0|Content-Type:=20 text/plain=3B=20charset=3DUTF-8|Content-Transfer-Encoding:=207bit; b=QCFox0fqwlK3/QH4hDFVdSvgss1VxbW8HpTtk74nuTTz3Z1/bp3lZq43qDsOIS0KU MGvqMbcQryy22beyZWG0qfrFaVSpE46GV0E1GKEjoC6OMD0tesrciNizCV14nXLWqW9 CdC8+vFFCRAH3i/oYe7bVxeZoQu3DV5MiNI5L5s= Message-ID: <4799D967.1070606@infracaninophile.co.uk> Date: Fri, 25 Jan 2008 12:43:19 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: Jeremy Chadwick References: <4799B997.6080404@fsn.hu> <20080125121941.GA33060@eos.sc1.parodius.com> In-Reply-To: <20080125121941.GA33060@eos.sc1.parodius.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Fri, 25 Jan 2008 12:43:26 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92/5550/Fri Jan 25 07:02:45 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,FB_CIALIS_LEO3,SPF_FAIL autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-hackers@freebsd.org Subject: Re: Fetching thermal information from HP servers 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, 25 Jan 2008 13:13:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Jeremy Chadwick wrote: > On Fri, Jan 25, 2008 at 11:27:35AM +0100, Attila Nagy wrote: >> Any ideas what could be done to make the hardware sensors usable on HP >> servers? I have a bunch of DL3xx, BL2xp, BL4xxc machines running FreeBSD >> and all of them have: >> hw.acpi.thermal.tz0.temperature: 8.3C >> hw.acpi.thermal.tz0._PSV: 9.8C >> hw.acpi.thermal.tz0._CRT: 31.3C >> >> These values are constant on all machines, regardless of the number of >> CPUs, the type and the load. > > The sysctls remaining static is due to the BIOS vendor choosing to make > them static values, rather than tying them into the HWM hardware on the > board. This is common on a lot of Asus consumer motherboards as well. > All you can do is complain to the system/BIOS manufacturer. > > It ultimately depends on what HWM is on all of the above servers, and > whether or not utilities like sysutils/mbmon or sysutils/healthd (the > code between the two is very similar, with sysutils/mbmon being more > recent) can talk to the IC via old ISA I/O ports or via SMBus drivers. > This also depends on some BIOS code to be in place. > > I'm in a similar boat with our Supermicro SuperServer 5015M-T+ boxes, > which use a Winbond W83627EHF IC for serial/lpt/floppy/etc. as well as > providing HWM capability. I've been hacking on some code to talk to it > for a while via SMBus, and am having some mixed results. (I'm probably > going to have to talk to Supermicro...) > > If HWM is important to you enough to switch OSes, take a look at Linux's > lm-sensors framework (which is now in the 2.4 and 2.6 kernels), as it's > significantly more advanced than the above two. > With HP kit you can also frequently get at the on-board sensors via IPMI - -- kldload ipmi and install ipmitool from ports. Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHmdln3jDkPpsZ+VYRA+0LAJ90aVm6RhL4G91weRC1+Q3cK4jrQgCcDvA0 trBjl290pdEc+dDw23xUe0U= =5Bd+ -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 15:30:32 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E53DB16A418 for ; Fri, 25 Jan 2008 15:30:32 +0000 (UTC) (envelope-from shuey@fmepnet.org) Received: from maggie.fmepnet.org (maggie.fmepnet.org [66.246.224.188]) by mx1.freebsd.org (Postfix) with ESMTP id CB58713C46A for ; Fri, 25 Jan 2008 15:30:32 +0000 (UTC) (envelope-from shuey@fmepnet.org) Received: from pal-180-158.itap.purdue.edu ([128.211.180.158]) by maggie.fmepnet.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JIQVk-0007Ik-0T; Fri, 25 Jan 2008 10:30:32 -0500 Message-ID: <479A008C.1050000@fmepnet.org> Date: Fri, 25 Jan 2008 10:30:20 -0500 From: Mike Shuey User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Rink Springer References: <4799664C.5050001@fmepnet.org> <20080125125034.GA36449@rink.nu> In-Reply-To: <20080125125034.GA36449@rink.nu> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: bootparamd fix for RELENG_7_0? 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, 25 Jan 2008 15:30:33 -0000 Rink Springer wrote: > Hi Mike, > > On Thu, Jan 24, 2008 at 11:32:12PM -0500, Mike Shuey wrote: >> I just spent several evenings finding out that FreeBSD's bootparamd >> isn't 64-bit clean. Turns out, I'm not the only one; in April, 2007, >> Tyler Spivey filed PR 112163 about this. He also included a simple >> patch, to clear up most of the problems (replacing long with ip_addr_t >> in several key places). > > Yes, I've encounted the same problem on amd64 as well while trying to > netboot a Netra from a FreeBSD/amd64 server. I recall the problem of > using long's. I'm booting a SparcStation IPC from an amd64 RELENG_7_0 server. Same deal (though I suspect you have the luxury of a working NVRAM battery). >> What's the likelihood that his patch could be applied before 7.0 is >> fully released? The patch I'm talking about is his second shot, >> attached to his problem report here: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/112163 >> > > I'll see what I can do. Thanks for the pointer. That'd be wonderful, thanks. -- Mike "No .sig for you" Shuey From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 16:18:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17B7A16A419 for ; Fri, 25 Jan 2008 16:18:38 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id D2D6113C45B for ; Fri, 25 Jan 2008 16:18:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 3D839208A; Fri, 25 Jan 2008 17:18:29 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 2F40A2087; Fri, 25 Jan 2008 17:18:29 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 112A5844B6; Fri, 25 Jan 2008 17:18:29 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mike Meyer References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> Date: Fri, 25 Jan 2008 17:18:28 +0100 In-Reply-To: <20080124185522.23ca743f@bhuda.mired.org> (Mike Meyer's message of "Thu\, 24 Jan 2008 18\:55\:22 -0500") Message-ID: <864pd15163.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 16:18:38 -0000 Mike Meyer writes: > GNU/Linux isn't tied to rpm's; Actually, rpm is part of the Linux Standard Base specification, which all major distributions implement. Debian derivatives use dpkg, but still have a full set of rpm tools. Most distributions have higher- level package management tools built on top of either rpm (like yum) or dpkg (like apt), and in most cases the lower-level tools are only used if something goes wrong. > there are other packaging systems in use by different distros, > including at least one that is based on the BSD ports system. s/based on/inspired by/ if you're thinking of Gentoo. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 16:18:57 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4462216A417 for ; Fri, 25 Jan 2008 16:18:57 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 50C9D13C474 for ; Fri, 25 Jan 2008 16:18:56 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 9F55C2082; Fri, 25 Jan 2008 17:02:34 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 92BB3207F; Fri, 25 Jan 2008 17:02:34 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 761AF844B6; Fri, 25 Jan 2008 17:02:34 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alfred Perlstein References: <20080124221936.GS99258@elvis.mu.org> Date: Fri, 25 Jan 2008 17:02:34 +0100 In-Reply-To: <20080124221936.GS99258@elvis.mu.org> (Alfred Perlstein's message of "Thu\, 24 Jan 2008 14\:19\:36 -0800") Message-ID: <868x2d51wl.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 25 Jan 2008 16:18:57 -0000 Alfred Perlstein writes: > Hey guys, something that I've always wanted to do was actually somehow > export those handy description strings from the kernel SYSCTL macros > in the least obtrusive method possible. des@ds4 ~% sysctl -d dev.cpu.0.temperature dev.cpu.0.temperature: Current temperature in degC DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 16:41:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA6F016A474 for ; Fri, 25 Jan 2008 16:41:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B4C7513C4EF for ; Fri, 25 Jan 2008 16:41:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 025AC2083; Fri, 25 Jan 2008 17:41:08 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id E485B2082; Fri, 25 Jan 2008 17:41:07 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id C4A8A844B6; Fri, 25 Jan 2008 17:41:07 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Garrett Cooper References: <1201219920.47992950e4649@webmail.rawbw.com> <47993B94.9010403@elischer.org> Date: Fri, 25 Jan 2008 17:41:07 +0100 In-Reply-To: (Garrett Cooper's message of "Thu\, 24 Jan 2008 21\:25\:33 -0800") Message-ID: <86wspx3ljw.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Yuri , Julian Elischer , freebsd-hackers@freebsd.org Subject: Re: Wrapper for Windows-only network card binary drivers on 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: Fri, 25 Jan 2008 16:41:17 -0000 Garrett Cooper writes: > Julian Elischer writes: > > I Believe the linux wrapper concept was copied from the freebsd one > > which was originally called "Project Evil" > Is it the other way around (Project Evil isa ndiswrapper port, etc), > or something else..? Project Evil is not a port of anything; it was developed from scratch by Bill Paul for Wind River Systems. It was started at roughly the same time as ndiswrapper, or possibly slightly earlier. > Wikipedia also claims that ndiswrapper has more functionality than > P.E., but I dunno if that's true or not: I don't think it is, but I'm not entirely sure. Project Evil seems to have USB attachments, but I've never tried to use it with a USB device, so I don't know how functional they are. Bill Paul (wpaul@) would be the right person to ask. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 16:35:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AE7316A4FB for ; Fri, 25 Jan 2008 16:35:29 +0000 (UTC) (envelope-from kfl@xiplink.com) Received: from pop-mx00.ca.mci.com (pop-mx00.ca.mci.com [142.77.1.56]) by mx1.freebsd.org (Postfix) with ESMTP id 4011C13C501 for ; Fri, 25 Jan 2008 16:35:29 +0000 (UTC) (envelope-from kfl@xiplink.com) Received: from mail.net (custpop.ca.mci.com [142.77.1.111]) by pop-mx00.ca.mci.com (Postfix) with ESMTP id 5E563D5C43 for ; Fri, 25 Jan 2008 11:17:18 -0500 (EST) Received: from [216.95.199.148] (HELO [192.168.1.7]) by mail.net (CommuniGate Pro SMTP 5.0.1) with ESMTP id 1703102944 for freebsd-hackers@freebsd.org; Fri, 25 Jan 2008 11:17:18 -0500 Message-ID: <479A0B9D.5020607@xiplink.com> Date: Fri, 25 Jan 2008 11:17:33 -0500 From: Karim Fodil-Lemelin User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 25 Jan 2008 16:41:51 +0000 Subject: vm_zone corruption 4.x 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, 25 Jan 2008 16:35:29 -0000 Good day, I have stumbled into a strange problem where my FBSD 4.x box keeps crashing under network traffic load. I have enabled INVARIANTS and debugging and was able to gather a trace. The context here is that a listening connection created a syncache entry sent a syn-ack and is now processing the ack it got back. Everything seems find until it tries to create a new socket from the listening one and as it is about to get another tcp control block the kernel dies :( (kgdb) bt #0 Debugger (msg=0xc02bd93b "panic") at ../../i386/i386/db_interface.c:321 #1 0xc016b080 in panic (fmt=0xc02e6cd9 "zone: entry not free") at ../../kern/kern_shutdown.c:593 #2 0xc025046b in zerror () at ../../vm/vm_zone.c:547 #3 0xc02500ab in zalloci (z=0xce703180) at ../../vm/vm_zone.c:76 #4 0xc01c1809 in in_pcballoc (so=0xeef12fe0, pcbinfo=0xc034ba40, p=0x0) at ../../netinet/in_pcb.c:167 #5 0xc01df8f0 in tcp_attach (so=0xeef12fe0, p=0x0) at ../../netinet/tcp_usrreq.c:1603 #6 0xc01ddbc9 in tcp_usr_attach (so=0xeef12fe0, proto=0, p=0x0) at ../../netinet/tcp_usrreq.c:175 #7 0xc018cd1d in sonewconn3 (head=0xeedfb7c0, connstatus=2, p=0x0) at ../../kern/uipc_socket2.c:223 #8 0xc018cc54 in sonewconn (head=0xeedfb7c0, connstatus=2) at ../../kern/uipc_socket2.c:196 #9 0xc01dbc40 in syncache_socket (sc=0xf0f0ac80, lso=0xeedfb7c0) at ../../netinet/tcp_syncache.c:594 #10 0xc01dc290 in syncache_expand (inc=0xf585ac50, th=0xc61d0034, sop=0xf585ac48, m=0xc3774200) at ../../netinet/tcp_syncache.c:946 #11 0xc01d2ce7 in tcp_input (m=0xc3774200, off0=20, proto=6) at ../../netinet/tcp_input.c:1058 #12 0xc01ca93f in ip_input (m=0xc3774200) at ../../netinet/ip_input.c:1279 #13 0xc01ca9a3 in ipintr () at ../../netinet/ip_input.c:1300 #14 0xc027e5b9 in swi_net_next () #15 0xc016de61 in tsleep (ident=0xce7e9700, priority=280, wmesg=0xc02bb3b8 "kqread", timo=3) at ../../kern/kern_synch.c:479 #16 0xc01616e3 in kqueue_scan (fp=0xce7f7040, maxevents=65535, ulistp=0x80a2000, tsp=0xf585af2c, p=0xed3c3d80) at ../../kern/kern_event.c:645 #17 0xc0161211 in kevent (p=0xed3c3d80, uap=0xf585af80) at ../../kern/kern_event.c:454 #18 0xc028c33e in syscall2 (frame={tf_fs = 47, tf_es = -562495441, tf_ds = -1078001617, tf_edi = 60, tf_esi = 134881340, tf_ebp = -1077937120, tf_isp = -175788076, tf_ebx = 134852608, tf_edx = 1, tf_ecx = -1077937128, tf_eax = 363, tf_trapno = 7, tf_err = 2, tf_eip = 134690428, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937180, tf_ss = 47}) at ../../i386/i386/trap.c:1175 #19 0xc027d155 in Xint0x80_syscall () (kgdb) p *z $2 = {zlock = {lock_data = 0}, zitems = 0x0, zfreecnt = 13945, zfreemin = 6, znalloc = 253356, zkva = 4021252096, zpagecount = 3687, zpagemax = 5120, zmax = 32768, ztotal = 23596, zsize = 640, zalloc = 1, zflags = 1, zallocflag = 1, zobj = 0xc0341c80, zname = 0xc02cb489 "tcpcb", znext = 0xce703200} Now there is a couple of strange things here and maybe someone with more experience with the vm can shed some light into it. 1) I can't help but find unusual that zitems is NULL ... 2) The sum of zfreecnt + ztotal is bigger the zmax ... 3) If we are in zalloci() why is the zlock not held (0)? What else should I be looking for here, the crash only happens after a certain amount of items are used (>20k so far). Thanks, Karim. From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 19:31:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C19E16A41A for ; Fri, 25 Jan 2008 19:31:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 80E0D13C442 for ; Fri, 25 Jan 2008 19:31:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAHnImUeC1Apk/2dsb2JhbACudQ Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 25 Jan 2008 11:31:32 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012511313110-1928 ; Fri, 25 Jan 2008 11:31:31 -0800 Date: Fri, 25 Jan 2008 11:31:31 -0800 (PST) From: KAYVEN RIESE cc: freebsd-hackers@freebsd.org In-Reply-To: <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/25/2008 11:31:31, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/25/2008 11:31:32, Serialize complete at 01/25/2008 11:31:32 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: firefox flash plug in woes 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, 25 Jan 2008 19:31:38 -0000 i have been told that freeBSD does not go well with flash plugins for browsers, which is quite a ubiquitous technology in websites. is there any progress on this? i have freeBSD 6.2-STABLE and gnome desktop *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 19:33:46 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7638816A475 for ; Fri, 25 Jan 2008 19:33:46 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2F313C468 for ; Fri, 25 Jan 2008 19:33:46 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id EB2001A4D83; Fri, 25 Jan 2008 11:29:44 -0800 (PST) Date: Fri, 25 Jan 2008 11:29:44 -0800 From: Alfred Perlstein To: Dag-Erling Sm??rgrav Message-ID: <20080125192944.GC99258@elvis.mu.org> References: <20080124221936.GS99258@elvis.mu.org> <868x2d51wl.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <868x2d51wl.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 25 Jan 2008 19:33:46 -0000 * Dag-Erling Sm??rgrav [080125 07:58] wrote: > Alfred Perlstein writes: > > Hey guys, something that I've always wanted to do was actually somehow > > export those handy description strings from the kernel SYSCTL macros > > in the least obtrusive method possible. > > des@ds4 ~% sysctl -d dev.cpu.0.temperature > dev.cpu.0.temperature: Current temperature in degC lolwhat? When did that get implemented? I recall a huge storm of protest when the definitions were included in the kernel compile file... sorry for the noise. -- - Alfred Perlstein From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 19:43:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E4F516A419 for ; Fri, 25 Jan 2008 19:43:26 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 7620C13C459 for ; Fri, 25 Jan 2008 19:43:26 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CANDKmUeC1Apk/2dsb2JhbACubA Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 25 Jan 2008 11:43:26 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012511432443-1932 ; Fri, 25 Jan 2008 11:43:24 -0800 Date: Fri, 25 Jan 2008 11:43:24 -0800 (PST) From: KAYVEN RIESE To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <864pd15163.fsf@ds4.des.no> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/25/2008 11:43:24, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/25/2008 11:43:25, Serialize complete at 01/25/2008 11:43:25 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1903590565-1201290204=:28096" Cc: freebsd-hackers@freebsd.org, Mike Meyer Subject: Re: FreeBSD hacker 101 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, 25 Jan 2008 19:43:26 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-1903590565-1201290204=:28096 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed On Fri, 25 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: > Mike Meyer writes: >> GNU/Linux isn't tied to rpm's; > > Actually, rpm is part of the Linux Standard Base specification, which > all major distributions implement. Debian derivatives use dpkg, but > still have a full set of rpm tools. Most distributions have higher- > level package management tools built on top of either rpm (like yum) or > dpkg (like apt), and in most cases the lower-level tools are only used > if something goes wrong. i don't recognize that as what i said, but i was trying to make the point that BSD DOESn't use rpm compression, and that was a point i was trying to make in terms of comparison/contrast > >> there are other packaging systems in use by different distros, >> including at least one that is based on the BSD ports system. > > s/based on/inspired by/ if you're thinking of Gentoo. > > DES > --=20 > Dag-Erling Sm=C3=B8rgrav - des@des.no > _______________________________________________ > 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= " > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-1903590565-1201290204=:28096-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 19:54:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2E9616A418 for ; Fri, 25 Jan 2008 19:54:30 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id D85D713C45B for ; Fri, 25 Jan 2008 19:54:30 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CACfNmUeC1Apk/2dsb2JhbACuaQ Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 25 Jan 2008 11:54:30 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012511542930-1934 ; Fri, 25 Jan 2008 11:54:29 -0800 Date: Fri, 25 Jan 2008 11:54:28 -0800 (PST) From: KAYVEN RIESE To: Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= In-Reply-To: <13130.201.198.34.106.1201290762.squirrel@webmail1.pair.com> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> <13130.201.198.34.106.1201290762.squirrel@webmail1.pair.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/25/2008 11:54:29, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/25/2008 11:54:30, Serialize complete at 01/25/2008 11:54:30 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-342241519-1201290868=:28096" Cc: freebsd-hackers@freebsd.org Subject: Re: firefox flash plug in woes 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, 25 Jan 2008 19:54:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-342241519-1201290868=:28096 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed On Fri, 25 Jan 2008, Braulio Jos=E9 Solano Rojas wrote: > On Fri, 25 de Enero de 2008, 1:31 pm, KAYVEN RIESE wrote: >> >> i have been told that freeBSD does not go well with >> flash plugins for browsers, which is quite a ubiquitous >> technology in websites. is there any progress on this? >> i have freeBSD 6.2-STABLE and gnome desktop > > I think this subject is for questions not for hackers. Anyway, install > Firefox for Linux from ports (I think DesktopBSD should come with this on= e > by default). You will do fine with that. By the way, I do Web > development and I always try to create accesible sites (like the current > FreeBSD.org site), therefore I tend to really hate Flash. If you can > avoid it, do it. Good luck! i wanna goto youtube! {:} i already have firefox installed, is there a special port for linux firefox? i better deinstall my existing firefox? > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-342241519-1201290868=:28096-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 20:18:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30CCB16A417 for ; Fri, 25 Jan 2008 20:18:29 +0000 (UTC) (envelope-from braulio@solsoft.co.cr) Received: from wbm1.pair.net (wbm1.pair.net [209.68.3.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0786213C465 for ; Fri, 25 Jan 2008 20:18:28 +0000 (UTC) (envelope-from braulio@solsoft.co.cr) Received: by wbm1.pair.net (Postfix, from userid 65534) id C911926C3A; Fri, 25 Jan 2008 14:52:42 -0500 (EST) Received: from 201.198.34.106 ([201.198.34.106]) (SquirrelMail authenticated user braulio@solsoft.co.cr) by webmail1.pair.com with HTTP; Fri, 25 Jan 2008 13:52:42 -0600 (CST) Message-ID: <13130.201.198.34.106.1201290762.squirrel@webmail1.pair.com> In-Reply-To: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> Date: Fri, 25 Jan 2008 13:52:42 -0600 (CST) From: Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= To: "KAYVEN RIESE" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org Subject: Re: firefox flash plug in woes 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, 25 Jan 2008 20:18:29 -0000 On Fri, 25 de Enero de 2008, 1:31 pm, KAYVEN RIESE wrote: > > i have been told that freeBSD does not go well with > flash plugins for browsers, which is quite a ubiquitous > technology in websites. is there any progress on this? > i have freeBSD 6.2-STABLE and gnome desktop I think this subject is for questions not for hackers. Anyway, install Firefox for Linux from ports (I think DesktopBSD should come with this one by default). You will do fine with that. By the way, I do Web development and I always try to create accesible sites (like the current FreeBSD.org site), therefore I tend to really hate Flash. If you can avoid it, do it. Good luck! From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 20:55:37 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5DB316A418 for ; Fri, 25 Jan 2008 20:55:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 56D0513C468 for ; Fri, 25 Jan 2008 20:55:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 19315 invoked by uid 399); 25 Jan 2008 20:55:36 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 25 Jan 2008 20:55:36 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <479A4CC1.1040006@FreeBSD.org> Date: Fri, 25 Jan 2008 12:55:29 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Karim Fodil-Lemelin References: <479A2284.3080300@xiplink.com> In-Reply-To: <479A2284.3080300@xiplink.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: vm_zone corruption 4.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Karim Fodil-Lemelin List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 20:55:37 -0000 Karim Fodil-Lemelin wrote: > I have stumbled into a strange problem where my FBSD 4.x box FreeBSD 4.x is no longer supported. Your best bet at this point would be to evaluate the 7.0 release candidates, since that branch has a lot of both stability and performance enhancements. Good luck, Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 21:37:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 109BE16A419 for ; Fri, 25 Jan 2008 21:37:01 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: from web50306.mail.re2.yahoo.com (web50306.mail.re2.yahoo.com [206.190.38.60]) by mx1.freebsd.org (Postfix) with SMTP id B522213C442 for ; Fri, 25 Jan 2008 21:37:00 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: (qmail 67055 invoked by uid 60001); 25 Jan 2008 21:10:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4nykdkxSPnQ7zKlmNm29246xUpFkFUL0b6xfvu7vHHkTutln9eeDfuJwZrtqJk+M2pTIrAvjtjgxQWSZ2GZtuPuyy7hZRmsvZ8fmp1OA0VemXKTZINC1Reh4C9Pcny2AWbg1dAc8dxh6M+89LKwxEOinn9nc4RbT2bnco2eqmVo=; X-YMail-OSG: 9X10QRUVM1lR1YNSzbPItJZt_Das2WPS33J_G4uW Received: from [210.215.149.194] by web50306.mail.re2.yahoo.com via HTTP; Fri, 25 Jan 2008 13:10:19 PST Date: Fri, 25 Jan 2008 13:10:19 -0800 (PST) From: Tim Clewlow To: KAYVEN RIESE In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <406413.65757.qm@web50306.mail.re2.yahoo.com> Cc: freebsd-hackers@freebsd.org Subject: Re: firefox flash plug in woes 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, 25 Jan 2008 21:37:01 -0000 --- KAYVEN RIESE wrote: > > i have been told that freeBSD does not go well with > flash plugins for browsers, which is quite a ubiquitous > technology in websites. is there any progress on this? > i have freeBSD 6.2-STABLE and gnome desktop > Hi there, I have native firefox with flash 7 working fine on FreeBSD 6.2, with java and adobe reader. Note I always install via ports, and they are up to date. Anyway, here is how, you can try it from packages, ie pkg_add -r xxxxx - hopefully that works too, but if it doesnt then installing from ports definately does. [ Note, I just copies/pasted this from my notes, there may be later versions of these packages you can also use - but IIRC I had some problems with them ] install www/firefox install print/acroread7 install java/diablo-jdk15 install www/linux-flashplugin7 kldload linux echo "none /compat/linux/proc linprocfs rw 0 0" >> /etc/fstab mount -a echo "linux_enable=\"YES\"" >> /etc/rc.conf nspluginwrapper -v -a -i Cheers, Tim. We are BSD ... resistance is futile. http://www.freebsd.org/ - http://www.openbsd.org/ - http://www.netbsd.org/ ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 22:03:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D25B816A41B for ; Fri, 25 Jan 2008 22:03:09 +0000 (UTC) (envelope-from braulio@solsoft.co.cr) Received: from wbm4.pair.net (wbm4.pair.net [209.68.3.85]) by mx1.freebsd.org (Postfix) with ESMTP id A41D913C442 for ; Fri, 25 Jan 2008 22:03:09 +0000 (UTC) (envelope-from braulio@solsoft.co.cr) Received: by wbm4.pair.net (Postfix, from userid 65534) id B053FA969; Fri, 25 Jan 2008 17:03:08 -0500 (EST) Received: from 163.178.104.130 ([163.178.104.130]) (SquirrelMail authenticated user braulio@solsoft.co.cr) by webmail4.pair.com with HTTP; Fri, 25 Jan 2008 16:03:08 -0600 (CST) Message-ID: <1331.163.178.104.130.1201298588.squirrel@webmail4.pair.com> In-Reply-To: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> <13130.201.198.34.106.1201290762.squirrel@webmail1.pair.com> Date: Fri, 25 Jan 2008 16:03:08 -0600 (CST) From: Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= To: "KAYVEN RIESE" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org Subject: Re: firefox flash plug in woes 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, 25 Jan 2008 22:03:09 -0000 On Fri, 25 de Enero de 2008, 1:54 pm, KAYVEN RIESE wrote: > > i wanna goto youtube! {:} i already have firefox installed, is there > a special port for linux firefox? i better deinstall my existing firefox? Still think this thread should not be in hackers, however I am ccing because maybe someone is going to look archives for the same question (hope this does not annoy anyone ;-). Plus I think this mail is going to terminate this thread. Yes, deinstall your current firefox. Yes, there is a special port for linux firefox: http://www.freshports.org/www/linux-firefox/. You will find at that URL how to install it. Further questions just write me... not the list. Saludos, B. From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:06:37 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59D5216A417 for ; Fri, 25 Jan 2008 23:06:37 +0000 (UTC) (envelope-from icantthinkofone@charter.net) Received: from que02.charter.net (que02.charter.net [209.225.8.190]) by mx1.freebsd.org (Postfix) with ESMTP id F02D113C461 for ; Fri, 25 Jan 2008 23:06:36 +0000 (UTC) (envelope-from icantthinkofone@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mtao03.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080125221638.QEZF27498.mtao03.charter.net@aarprv06.charter.net> for ; Fri, 25 Jan 2008 17:16:38 -0500 Received: from robs-laptop.com ([71.85.241.27]) by aarprv06.charter.net with ESMTP id <20080125221638.JVED14098.aarprv06.charter.net@robs-laptop.com> for ; Fri, 25 Jan 2008 17:16:38 -0500 Message-ID: <479A5FC6.70100@charter.net> Date: Fri, 25 Jan 2008 16:16:38 -0600 From: icantthinkofone User-Agent: Thunderbird 2.0.0.6 (X11/20070914) MIME-Version: 1.0 CC: freebsd-hackers@freebsd.org References: <406413.65757.qm@web50306.mail.re2.yahoo.com> In-Reply-To: <406413.65757.qm@web50306.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Subject: Re: firefox flash plug in woes 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, 25 Jan 2008 23:06:37 -0000 Tim Clewlow wrote: > --- KAYVEN RIESE wrote: > > >> i have been told that freeBSD does not go well with >> flash plugins for browsers, which is quite a ubiquitous >> technology in websites. is there any progress on this? >> i have freeBSD 6.2-STABLE and gnome desktop >> >> > > Hi there, I have native firefox with flash 7 working fine on FreeBSD 6.2, with > java and adobe reader. Note I always install via ports, and they are up to > date. Anyway, here is how, you can try it from packages, ie pkg_add -r xxxxx - > hopefully that works too, but if it doesnt then installing from ports > definately does. > > [ Note, I just copies/pasted this from my notes, there may be later versions of > these packages you can also use - but IIRC I had some problems with them ] > > install www/firefox > install print/acroread7 > install java/diablo-jdk15 > install www/linux-flashplugin7 > kldload linux > echo "none /compat/linux/proc linprocfs rw 0 > 0" >> /etc/fstab > mount -a > echo "linux_enable=\"YES\"" >> /etc/rc.conf > nspluginwrapper -v -a -i > > Cheers, Tim. > > We are BSD ... resistance is futile. > http://www.freebsd.org/ - http://www.openbsd.org/ - http://www.netbsd.org/ > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > _______________________________________________ > 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" > > This is what I do and I run flash just fine, too. From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:17:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D916216A418 for ; Fri, 25 Jan 2008 23:17:09 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.244]) by mx1.freebsd.org (Postfix) with ESMTP id 7D62913C45A for ; Fri, 25 Jan 2008 23:17:09 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by hs-out-2122.google.com with SMTP id h53so242163hsh.11 for ; Fri, 25 Jan 2008 15:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=M0/QTcLylqf6L16EXYOfLuG+qsekvRzDulM/2lA2yoc=; b=VZGYqxqIBwXoMLjwjbaXqIHTUW3UAh42GvYFR8U/naw2NF1DqmhdbMbxeF7IklIRf1IOo4tk5bXZ80cPdZKbqa8qwbTHtk4VoaPvvRnLpbN/1L05iOXn04xHEAL+47rj5Zu16jig0lRjUhYfzM7IwcnUE9V9hii/TTk5vOmZ2S4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xuvwAaA4F0KqIcM1v9GZ0t1T7+uMeOArVHOukPzVf00dsXIan/0jHI9QJ8sJwVhoa1ywjxx7Xp9D3sBJIRc0ylRxH6VHBZcI8Bfo7L6NwBvcLvPyiftSUdTyuejgbVnHKBTtqwCLKAiOtBkDmOu4wzbOrGe2dFUUPIsnDT5poj0= Received: by 10.142.52.9 with SMTP id z9mr1665787wfz.134.1201301504644; Fri, 25 Jan 2008 14:51:44 -0800 (PST) Received: by 10.142.51.19 with HTTP; Fri, 25 Jan 2008 14:51:44 -0800 (PST) Message-ID: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> Date: Fri, 25 Jan 2008 14:51:44 -0800 From: "Jerry Toung" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: a new syscalls table 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, 25 Jan 2008 23:17:09 -0000 Hello list, I am trying to create an environment where you can't run my binaries on your box and I can't run your binaries on my system (x86 platform). For that, I have modified the system calls table (i.e everything is offset by 5). All the files that need to be re-generated, have been. I ran make buildworld then make kernel. I don't run make installworld because it will not complete (modified libc.so.6). So, just before I reboot, I cp my newly built libc.so.6 from /usr/obj/../lib to /lib/. then power off the box. When it comes back, it panics in kern/kern_exit.c with "Going nowhere without my init!" How can I make this work? Is my initial objective even possible? I think the correct approach would be to have a cpu that no else in the world has, any in between solution.? Thank you for reading, Jerry From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:30:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B29E16A419 for ; Fri, 25 Jan 2008 23:30:29 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id A313A13C46B for ; Fri, 25 Jan 2008 23:30:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 9A4FE28448 for ; Sat, 26 Jan 2008 07:30:27 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 45BC6EBA7F4; Sat, 26 Jan 2008 07:30:27 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id Lqq4h8yLjMpy; Sat, 26 Jan 2008 07:30:21 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 6B26CEB79B4; Sat, 26 Jan 2008 07:30:20 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=u5rqDEE/9HINuO6uMSW6szQlS/3oEzVeqf644M2KArK8g1qVLvKyudtvho9AkRM+K hM+U1a8azjX5KuJ2KXYAw== Message-ID: <479A710A.7040705@delphij.net> Date: Fri, 25 Jan 2008 15:30:18 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: Jerry Toung References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> In-Reply-To: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 23:30:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jerry Toung wrote: > Hello list, > I am trying to create an environment where you can't run my binaries on your > box and I can't run > your binaries on my system (x86 platform). > For that, I have modified the system calls table (i.e everything is offset > by 5). > All the files that need to be re-generated, have been. > I ran make buildworld then make kernel. I don't run make installworld > because it will not complete (modified libc.so.6). So, just before I reboot, > I cp my > newly built libc.so.6 from /usr/obj/../lib to /lib/. then power off the box. > When it comes back, it panics in kern/kern_exit.c with > "Going nowhere without my init!" > > How can I make this work? Is my initial objective even possible? > I think the correct approach would be to have a cpu that no else in the > world has, > any in between solution.? Maybe you can try make installworld DESTDIR=/another_rootdir and boot from that environment? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHmnEKi+vbBBjt66ARAq8uAJ9d3yehidPQJI9YPgCyOV8XNHZ2DwCbBKGH AE7ydKQFaj3N/2j2h5XweBU= =SUPR -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:41:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0705416A469 for ; Fri, 25 Jan 2008 23:41:42 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC6113C45D for ; Fri, 25 Jan 2008 23:41:41 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by hs-out-2122.google.com with SMTP id h53so249151hsh.11 for ; Fri, 25 Jan 2008 15:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=tUiS4yrLYDJmI/4pomJnhFvzHPebn0b66GjzCM8FuT4=; b=nixdRNm5Tgl/+GVBqskGgGYO4R9SYwX7qu0UFxkrp76q5ArM+/Tg6WB3NE6eo9gSepW63XMHvT8HyoRh/K9R/4CDCrs0aOVOHJDTtCdtf8BmJB6rrYmnX+A7NRVmlaPnGyuJQ8ZmO9vD982tKpLy41XmLQpqU1qOtqNTnp2p0U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=yIMWtQ1Xg09yWY5wgZ9XmXiRY4Y6FzOz2D2+GlrxxKqsgjUi2ewVpmbprNQDB7KbTuCWhbMf3w+m3Nu9ROGFkF7Is0iRkYkopuU6jtQHetahKxRv7d3qjIrLxMee59Bywh0O0Ykmog7ZRvfU0h5XTwOj39yHtBHWw3j81tSybnQ= Received: by 10.142.232.20 with SMTP id e20mr1674689wfh.187.1201304500205; Fri, 25 Jan 2008 15:41:40 -0800 (PST) Received: by 10.142.51.19 with HTTP; Fri, 25 Jan 2008 15:41:40 -0800 (PST) Message-ID: <86068e730801251541l5962acb4y817a587ee9d145ec@mail.gmail.com> Date: Fri, 25 Jan 2008 15:41:40 -0800 From: "Jerry Toung" To: d@delphij.net In-Reply-To: <479A710A.7040705@delphij.net> MIME-Version: 1.0 References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <479A710A.7040705@delphij.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 25 Jan 2008 23:41:42 -0000 Good point. I'll try it. On Jan 25, 2008 3:30 PM, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jerry Toung wrote: > > Hello list, > > I am trying to create an environment where you can't run my binaries on > your > > box and I can't run > > your binaries on my system (x86 platform). > > For that, I have modified the system calls table (i.e everything is > offset > > by 5). > > All the files that need to be re-generated, have been. > > I ran make buildworld then make kernel. I don't run make installworld > > because it will not complete (modified libc.so.6). So, just before I > reboot, > > I cp my > > newly built libc.so.6 from /usr/obj/../lib to /lib/. then power off the > box. > > When it comes back, it panics in kern/kern_exit.c with > > "Going nowhere without my init!" > > > > How can I make this work? Is my initial objective even possible? > > I think the correct approach would be to have a cpu that no else in the > > world has, > > any in between solution.? > > Maybe you can try make installworld DESTDIR=/another_rootdir and boot > from that environment? > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > > iD8DBQFHmnEKi+vbBBjt66ARAq8uAJ9d3yehidPQJI9YPgCyOV8XNHZ2DwCbBKGH > AE7ydKQFaj3N/2j2h5XweBU= > =SUPR > -----END PGP SIGNATURE----- > From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:55:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E7B316A421 for ; Fri, 25 Jan 2008 23:55:34 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (bhuda.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 150A613C448 for ; Fri, 25 Jan 2008 23:55:33 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 41783 invoked by uid 1001); 25 Jan 2008 23:55:28 -0000 Received: from bhuda.mired.org (localhost.localdomain [127.0.0.1]) by bhuda.mired.org (tmda-ofmipd) with ESMTP; Fri, 25 Jan 2008 18:55:27 -0500 Date: Fri, 25 Jan 2008 18:55:27 -0500 To: freebsd-hackers@freebsd.org Message-ID: <20080125185527.639f62b1@bhuda.mired.org> In-Reply-To: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> Organization: Meyer Consulting X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd6.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Subject: Re: a new syscalls table 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, 25 Jan 2008 23:55:34 -0000 On Fri, 25 Jan 2008 14:51:44 -0800 "Jerry Toung" wrote: > Hello list, > I am trying to create an environment where you can't run my binaries on your > box and I can't run > your binaries on my system (x86 platform). > For that, I have modified the system calls table (i.e everything is offset > by 5). [...] > When it comes back, it panics in kern/kern_exit.c with > "Going nowhere without my init!" > > How can I make this work? Treat it like a cross-platform build, and install to a different partition on your disk, then boot that partition. > Is my initial objective even possible? > I think the correct approach would be to have a cpu that no else in the > world has, > any in between solution.? Depends on what you mean by "correct approach". Basically, it's a security issue. So you almost certainly can't make it mathematically impossible, but you can raise the cost of people running your binaries on their box - and vice versa - pretty much as high as you want, providing you're willing to pay for it. I'm not sure how well fabbing custom silicon would work; it's certainly at the high end of the cost scale, but it can be reverse engineered, and then your custom CPU could be emulated in software for a lot less than it cost you to design the silicon. Of course, you could take that approach yourself to save money. On the other hand, once you realize that it's a security issue, you can start using security tools for this. For instance, the NetBSD executable verification feature does half the job - it won't run their executables on your system. By tweaking it a bit - encrypting as well as signing, for instance - you'd do both halves, with better performance than emulating a new CPU, and a lot less work. Personally, I think that'd also be more useful to the rest of the community than an offset syscall table as well. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 00:08:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DFDD16A4D5 for ; Sat, 26 Jan 2008 00:08:36 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id C4B2F13C44B for ; Sat, 26 Jan 2008 00:08:35 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so736610wxd.7 for ; Fri, 25 Jan 2008 16:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=WGH9/S+RYSyJmGD6YnXPwKVeoUJZveIZpW2XUVsqbKM=; b=Mni+F8GhDZzDMDi10MmJqnDKDUqMiuAmlF7c5uwiPLkEkTXFbs4n360sKEnpWdBpgkABsO/oxhvIJfjJ7oJaH8rrId9nxcfcpV9yvq3l/hIhDMFpksSlFaGGYnkwgFDj4Yre9UYJtD46pe9522JEdDE+ixQda59hJsPLlrmSh+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LgGAsknqOVQDK8aM4eXcylU5GIaytkIKiMFjjpHMqj6pLpv5nFf1jiD+IkzqRZcRgKpPHwchGa/231K/icI7d54fz/UfvJAq1HgOge3v0ijuralHkF1w56KDxmo9XzQ5iN2DAYqDFFXHfkxGOFPm/DqhnE6C4+F71kSYGvV9Id4= Received: by 10.142.158.17 with SMTP id g17mr1681034wfe.106.1201306113884; Fri, 25 Jan 2008 16:08:33 -0800 (PST) Received: by 10.142.51.19 with HTTP; Fri, 25 Jan 2008 16:08:33 -0800 (PST) Message-ID: <86068e730801251608w502edfc4ja58875f13336f461@mail.gmail.com> Date: Fri, 25 Jan 2008 16:08:33 -0800 From: "Jerry Toung" To: "Mike Meyer" In-Reply-To: <20080125185527.639f62b1@bhuda.mired.org> MIME-Version: 1.0 References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <20080125185527.639f62b1@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 26 Jan 2008 00:08:36 -0000 Thank you for the feedback Mike. Points well taken. I'll look into the NetBSD thing. Jerry On Jan 25, 2008 3:55 PM, Mike Meyer < mwm-keyword-freebsdhackers2.e313df@mired.org> wrote: > On Fri, 25 Jan 2008 14:51:44 -0800 "Jerry Toung" > wrote: > > > Hello list, > > I am trying to create an environment where you can't run my binaries on > your > > box and I can't run > > your binaries on my system (x86 platform). > > For that, I have modified the system calls table (i.e everything is > offset > > by 5). > [...] > > When it comes back, it panics in kern/kern_exit.c with > > "Going nowhere without my init!" > > > > How can I make this work? > > Treat it like a cross-platform build, and install to a different > partition on your disk, then boot that partition. > > > Is my initial objective even possible? > > I think the correct approach would be to have a cpu that no else in the > > world has, > > any in between solution.? > > Depends on what you mean by "correct approach". Basically, it's a > security issue. So you almost certainly can't make it mathematically > impossible, but you can raise the cost of people running your binaries > on their box - and vice versa - pretty much as high as you want, > providing you're willing to pay for it. I'm not sure how well fabbing > custom silicon would work; it's certainly at the high end of the cost > scale, but it can be reverse engineered, and then your custom CPU > could be emulated in software for a lot less than it cost you to > design the silicon. Of course, you could take that approach yourself > to save money. > > On the other hand, once you realize that it's a security issue, you > can start using security tools for this. For instance, the NetBSD > executable verification feature does half the job - it won't run their > executables on your system. By tweaking it a bit - encrypting as well > as signing, for instance - you'd do both halves, with better > performance than emulating a new CPU, and a lot less work. Personally, > I think that'd also be more useful to the rest of the community than > an offset syscall table as well. > > -- > 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" > From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 00:47:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2099616A41A for ; Sat, 26 Jan 2008 00:47:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id D97A413C465 for ; Sat, 26 Jan 2008 00:47:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 8167 invoked by uid 399); 26 Jan 2008 00:47:50 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 26 Jan 2008 00:47:50 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <479A8333.3060302@FreeBSD.org> Date: Fri, 25 Jan 2008 16:47:47 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Jerry Toung References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> In-Reply-To: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 26 Jan 2008 00:47:51 -0000 You could also create a release, burn it to CD, and install from scratch. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 01:22:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB4C16A41A for ; Sat, 26 Jan 2008 01:22:24 +0000 (UTC) (envelope-from john.giacomoni@colorado.edu) Received: from suburban.colorado.edu (suburban.colorado.edu [128.138.189.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3504013C45A for ; Sat, 26 Jan 2008 01:22:24 +0000 (UTC) (envelope-from john.giacomoni@colorado.edu) Received: from localhost (suburban.colorado.edu [127.0.0.1]) by suburban.colorado.edu (8.13.1/8.13.1) with ESMTP id m0PMSFM6009765 for ; Fri, 25 Jan 2008 17:28:15 -0500 Message-Id: <50CFFC1C-1831-442A-A430-79E99D54B2EF@colorado.edu> From: John Giacomoni To: freebsd-hackers@freebsd.org Content-Type: multipart/mixed; boundary=Apple-Mail-123--334955921 Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 25 Jan 2008 18:22:23 -0700 X-Mailer: Apple Mail (2.915) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to map a vm_object the same vm address in user and kernel space? 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, 26 Jan 2008 01:22:24 -0000 --Apple-Mail-123--334955921 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I'm trying to share memory between the kernel and userspace so that I can communicate between kernel threads and userspace threads with concurrent lock-free data structures. I can do this if I use different virtual addresses in the kernel and addresses in userspace. However, this requires that I swizzle any pointers stored in the shared memory region. Is there a way to fix the virtual address as a kernel address but permit userspace threads to dereference it without triggering a segmentation fault? This is a sketch of the code that I'm trying to use to map the object into userspace addresses. struct proc *p = td->td_proc; vm_map_t map = &p->p_vmspace->vm_map; // setup *addr to bind to the premapped kernel address space *addr = kernel_addr_for_obj // circumvent the address range checks *ugly and probably wrong* map->max_offset = kernel_map->max_offset; vm_object_reference(obj); err = vm_map_find(map,obj,0,(vm_offset_t*)addr, size, 0, prot, prot, 0); err = vm_map_wire(map, (vm_offset_t) *addr, (vm_offset_t) *addr + size, VM_MAP_WIRE_USER); At this point the virtual addresses are the same and the virtual address points to the same physical address. pmap_extract(map->pmap, (vm_offset_t)*addr) However, when the userspace thread attempt to dereference the first page, it causes a segfault. looking at the U/S bit in the PTE for the first page, the U bit is cleared. pte = pmap_pte(map->pmap, (vm_offset_t) *addr); How do I set this cleanly for all the pages used to back the object? Thanks John Giacomoni -- 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-123--334955921 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-123--334955921-- From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 01:48:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40CD016A420 for ; Sat, 26 Jan 2008 01:48:12 +0000 (UTC) (envelope-from randyhyde@earthlink.net) Received: from elasmtp-junco.atl.sa.earthlink.net (elasmtp-junco.atl.sa.earthlink.net [209.86.89.63]) by mx1.freebsd.org (Postfix) with ESMTP id E077313C44B for ; Sat, 26 Jan 2008 01:48:11 +0000 (UTC) (envelope-from randyhyde@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=bRQkjQqsY5T19+3SE+c4ZxlHgWsQIZwWZjGqp0Dmj6UU/fnolJZ2KWvkMWIGQ8Gf; h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.32] (helo=elwamui-cypress.atl.sa.earthlink.net) by elasmtp-junco.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1JIZVY-00056S-Qt for freebsd-hackers@freebsd.org; Fri, 25 Jan 2008 20:06:57 -0500 Received: from 71.9.7.20 by webmail.pas.earthlink.net with HTTP; Fri, 25 Jan 2008 20:06:56 -0500 Message-ID: <8038471.1201309616526.JavaMail.root@elwamui-cypress.atl.sa.earthlink.net> Date: Fri, 25 Jan 2008 17:06:56 -0800 (GMT-08:00) From: Randall Hyde To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: eba5e0c9192a36dcd6dd28457998182d7e972de0d01da940845ab0c3159c87dfc95951644b92aea9350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.32 Subject: HLA v1.100 is now available for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Randall Hyde List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 01:48:12 -0000 Hi All, I am pleased to announce that HLA v1.100 and the HLA standard library (v3.0) are now running natively under FreeBSD. For those who are unfamiliar with the product, HLA is a "High Level Assembler" for the 80x86. It allows you to write portable 80x86 code that runs under Windows, Linux, or FreeBSD with nothing more than a recompile. The product is available at the following URL http://webster.cs.ucr.edu/AsmTools/HLA/dnld.html HLA v1.100 is a major release of the HLA system. In addition to a few defect corrections, this release contains several major changes: 1) The system now ships, standard, with the HLA stdlib v3.0 library code. This new library is a big improvement over the v1.x stdlib code shipped with earlier (e.g., HLA v1.99) versions of the assembler. 2) HLA v1.100 (and the stdlib v3.0) now supports the FreeBSD operating system. Programs written for Windows and Linux can be ported to FreeBSD with nothing more than a recompile. 3) The standard example code has been modified to compile with, and use, the HLA stdlib v3.0. 4) The Art of Assembly examples have been modified to compile and run with the new stdlib (note that the frozen version of HLA, HLA v1.99, still provides links to the original AoA example code that uses stdlib v1.x, as shipped with HLA v1.99). 5) The stdlib documentation has been updated to reflect the use of the new library. ------------------------------ ---------------------- HLA, the High-Level Assembler, is a powerful macro assembly language development system that runs under Windows, Linux, and FreeBSD operating systems. Carefully- written applications are portable between the operating systems with nothing more than a recompile of the source file. >From a features point of view, HLA is one of the most powerful assemblers ever written. It's macro and "compile-time language" facilities far exceed those found in other assemblers. HLA was specifically designed to make learning and writing assembly language as easy as possible. HLA is fully supported by tons of documentation, example code, and other things that beginning and advanced programmers will find useful. The 32-bit edition of "The Art of Assembly Language" (No Starch Press) teaches introductory assembly language programming using HLA and is one of the most often-cited textbooks on the subject. You can read "The Art of Assembly" on-line at http://webster.cs.ucr.edu/AoA/ index.html. The HLA system also includes the HLA Standard Library, a collection of hundreds of ready to use library routines that simplify assembly language programming and provide (among other things) a usable interface to the underlying operating system. Full source code to the Standard Library is available. Most of the code of the HLA system is public domain and you may freely use that code as you please. From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 07:01:33 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86AE716A418 for ; Sat, 26 Jan 2008 07:01:33 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8E313C455 for ; Sat, 26 Jan 2008 07:01:32 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1005065fgg.35 for ; Fri, 25 Jan 2008 23:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=neRUG3OtfZfOIUavZ4P8nh5KVwHzekeyeD7IOs1GbIw=; b=TpPTAsDb6xU8Nh1B+RRE7njs7UAlAe3sab0srBP3/3bv/akjJf9K6HTUoI0U3ivRTklLTra3I03O9P1YDRvxh49mafJ7Hqr9vhj8ampUbtEa2UcfSbkz5v4ZNd2d/ZFh4cpQL9Isvy8HzOOlWDhxvGwy/OA1vw+0uOx0kCpQi7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JjQfKG06NJY6buPhibply6yDxFk2optp+WBMGhVPxxufTPHnTZJanOItmxCES6aHw3PJjGg6qujxglO/vvY0KS08tfn2Kp6Z1++0Ke9oDYJe/oy10cqKl9o7P5njF39UF1BYk3FvTb+wGHF6RqjJ5AbUIQYLsx9lvVEUZoU9pF8= Received: by 10.86.97.7 with SMTP id u7mr2679210fgb.39.1201329267984; Fri, 25 Jan 2008 22:34:27 -0800 (PST) Received: by 10.86.90.11 with HTTP; Fri, 25 Jan 2008 22:34:27 -0800 (PST) Message-ID: <84dead720801252234v1e7a8856g339faa02c1250bbf@mail.gmail.com> Date: Sat, 26 Jan 2008 12:04:27 +0530 From: "Joseph Koshy" To: "Kris Kennaway" In-Reply-To: <47963911.4000002@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-hackers@freebsd.org, Stefan Lambrev Subject: Re: gettimeofday() in hping 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, 26 Jan 2008 07:01:33 -0000 > OK, this is the famous problem with modern CPUs that jkoshy has declined > to work around :( There are patches for this in perforce, see > > http://perforce.freebsd.org/changeView.cgi?CH=126189 "Famous problem" indeed :). I declined the patch because it is incorrect and incomplete. First, you cannot safely treat the Core and Core 2 PMCs as P6 PMCs. Doing so would give userland a way to program CPU MSRs with bit patterns that have been expressly documented by the manufacturer as "reserved" and forbidden. Second, the change ignores the sometimes changed semantics between P6 and Core PMCs for events sharing the same numeric selector value. Not handling the changed semantics could easily trip up users; they would think that they are measuring hardware behaviour X while the measurements would actually be for behaviour Y. Third, the change ignores the user interface. libpmc's event naming conventions are to follow vendor names for events and event modifiers as closely as possible (within the constraints of the overall generic syntax). This is so as to make it easy (easier?) for users to read vendor documentation and map the information there to the necessary event selection syntax. Core PMCs support tons of new measurement events. Additionally, naming conventions in vendor documentation for Core event names and modifiers are different from the older P6 names, even for events with similar semantics. The submitted patch does not address these aspects. I will accept a patch that demonstrates clue about the workings of the overall system---the changes in the patch should be safe, complete, should demonstrate that the submitter has read and understood vendor documentation, should preserve user experience for naming events, and each supported PMC event needs to be documented in pmc.3. Regards, Koshy From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 10:09:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C097416A419 for ; Sat, 26 Jan 2008 10:09:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D082613C4CE; Sat, 26 Jan 2008 10:09:03 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <479B06BC.7030603@FreeBSD.org> Date: Sat, 26 Jan 2008 11:09:00 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Joseph Koshy References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <84dead720801252234v1e7a8856g339faa02c1250bbf@mail.gmail.com> In-Reply-To: <84dead720801252234v1e7a8856g339faa02c1250bbf@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Erling_Sm=F8rgrav?= , =?ISO-8859-1?Q?Dag-?=, freebsd-hackers@freebsd.org, Stefan Lambrev Subject: Re: gettimeofday() in hping 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, 26 Jan 2008 10:09:08 -0000 Joseph Koshy wrote: >> OK, this is the famous problem with modern CPUs that jkoshy has declined >> to work around :( There are patches for this in perforce, see >> >> http://perforce.freebsd.org/changeView.cgi?CH=126189 > > "Famous problem" indeed :). I declined the patch because it > is incorrect and incomplete. > I will accept a patch that demonstrates clue about the > workings of the overall system---the changes in the patch > should be safe, complete, should demonstrate that the submitter > has read and understood vendor documentation, should preserve > user experience for naming events, and each supported PMC event > needs to be documented in pmc.3. I am aware of these issues but repeat my statement that the lack of working pmc on modern CPUs is causing serious difficulties for our developer and user base, as witnessed again in this thread. Kris From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 10:40:52 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C5F216A41A; Sat, 26 Jan 2008 10:40:52 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 8F73513C43E; Sat, 26 Jan 2008 10:40:51 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 038E41B10EDC; Sat, 26 Jan 2008 11:40:49 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id 269CF1B10C26; Sat, 26 Jan 2008 11:40:47 +0100 (CET) Message-ID: <479B0E2E.8070309@moneybookers.com> Date: Sat, 26 Jan 2008 12:40:46 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <479621BE.2060907@FreeBSD.org> <4796357B.9020508@moneybookers.com> <47963911.4000002@FreeBSD.org> <84dead720801252234v1e7a8856g339faa02c1250bbf@mail.gmail.com> <479B06BC.7030603@FreeBSD.org> In-Reply-To: <479B06BC.7030603@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5561/Sat Jan 26 09:04:18 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4?=, =?UTF-8?B?cmdyYXY=?= , freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping 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, 26 Jan 2008 10:40:52 -0000 Greetings, Kris Kennaway wrote: > Joseph Koshy wrote: >>> OK, this is the famous problem with modern CPUs that jkoshy has >>> declined >>> to work around :( There are patches for this in perforce, see >>> >>> http://perforce.freebsd.org/changeView.cgi?CH=126189 >> >> "Famous problem" indeed :). I declined the patch because it >> is incorrect and incomplete. > >> I will accept a patch that demonstrates clue about the >> workings of the overall system---the changes in the patch >> should be safe, complete, should demonstrate that the submitter >> has read and understood vendor documentation, should preserve >> user experience for naming events, and each supported PMC event >> needs to be documented in pmc.3. > > I am aware of these issues but repeat my statement that the lack of > working pmc on modern CPUs is causing serious difficulties for our > developer and user base, as witnessed again in this thread. > > Kris Kris do you think the information, that I send you (private email) is useful ? :) Also using hwpmc with your patch shows a serious problem with pf and dynamic rules. I have desktop PC at home where hwpmc work out of the box, but I'm running 6.3 on it. If the information that I send you is not useful, I can spend my weekend upgrading my desktop PC to RELENG_7_0 and providing new pmc stats, but I have to be sure that developers are interested in fixing those issues. I'm willing to invest my time in this, but my skills are not enough to solve the issues alone, and without help I'll just waste my time. How hping works is not my biggest problem - for me as I said on few other mail list the real showstopper is pf and it's keep-state feature. The interesting part is that both problems point to kernel spending most of it's time in _mtx_lock_sleep(): pmcstat - pf - during syn flood: % cumulative self self total time seconds seconds calls ms/call ms/call name 24.0 268416.00 268416.00 0 100.00% _mtx_lock_sleep [1] 6.7 343572.50 75156.50 0 100.00% pf_state_compare_ext_gwy [2] 6.7 418405.50 74833.00 0 100.00% pf_src_compare [3] 3.9 462298.50 43893.00 0 100.00% pf_state_compare_lan_ext [4] 3.6 503019.50 40721.00 0 100.00% pf_test [5] pmcstat - hping: % cumulative self self total time seconds seconds calls ms/call ms/call name 8.6 116120.00 116120.00 0 100.00% _mtx_lock_sleep [1] 5.5 190764.00 74644.00 0 100.00% syscall [2] 3.0 231390.00 40626.00 0 100.00% bpf_mtap [3] 2.9 270334.00 38944.00 0 100.00% Xfast_syscall [4] 2.5 304458.00 34124.00 0 100.00% bus_dmamap_load_mbuf_sg [5] 2.3 335825.00 31367.00 0 100.00% uma_zalloc_arg [6] P.S. my desktop PC i single core, but I think I'll find old server with 2x intel p4 CPUs. -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 11:56:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41BA116A468 for ; Sat, 26 Jan 2008 11:56:59 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id EAEAA13C455 for ; Sat, 26 Jan 2008 11:56:57 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 5821266C678; Sat, 26 Jan 2008 12:56:56 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sFcWlxXgLRCh; Sat, 26 Jan 2008 12:56:45 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D2A0E66C665; Sat, 26 Jan 2008 12:56:45 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m0QBugXx068555; Sat, 26 Jan 2008 12:56:42 +0100 (CET) (envelope-from rdivacky) Date: Sat, 26 Jan 2008 12:56:42 +0100 From: Roman Divacky To: KAYVEN RIESE Message-ID: <20080126115642.GA68400@freebsd.org> References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <86bq7bwlot.fsf@ds4.des.no> <84a208a0801240456q3154de92me73e846df84d587a@mail.gmail.com> <86prvrv0b1.fsf@ds4.des.no> <84a208a0801240711j979874apad2d17c9afdbd6e@mail.gmail.com> <86fxwn877v.fsf@ds4.des.no> <84a208a0801242158q632314dfpd370a2fee2f87390@mail.gmail.com> <13130.201.198.34.106.1201290762.squirrel@webmail1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org Subject: Re: firefox flash plug in woes 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, 26 Jan 2008 11:56:59 -0000 > i wanna goto youtube! {:} i already have firefox installed, is there > a special port for linux firefox? i better deinstall my existing firefox? swfdec (in ports) handles youtube (and a lot of other things) just fine From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 15:14:56 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0B916A421; Sat, 26 Jan 2008 15:14:56 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4946113C4CC; Sat, 26 Jan 2008 15:14:56 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 5268B2084; Sat, 26 Jan 2008 16:14:48 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id CF085207F; Sat, 26 Jan 2008 16:14:47 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BAF39844AF; Sat, 26 Jan 2008 16:14:47 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alfred Perlstein References: <20080124221936.GS99258@elvis.mu.org> <868x2d51wl.fsf@ds4.des.no> <20080125192944.GC99258@elvis.mu.org> Date: Sat, 26 Jan 2008 16:14:47 +0100 In-Reply-To: <20080125192944.GC99258@elvis.mu.org> (Alfred Perlstein's message of "Fri\, 25 Jan 2008 11\:29\:44 -0800") Message-ID: <86lk6cpqjc.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 26 Jan 2008 15:14:56 -0000 Alfred Perlstein writes: > Dag-Erling Sm=C3=B8rgrav writes: >> des@ds4 ~% sysctl -d dev.cpu.0.temperature >> dev.cpu.0.temperature: Current temperature in degC > lolwhat? When did that get implemented? Twice, actually, in 1999 by myself and in 2001 by Luigi. > I recall a huge storm of protest when the definitions were included in > the kernel compile file... That was the first time, and completely unjustified as there was a knob to disable it (the argument was that it would bloat picobsd). BTW, when are you going to join the 21st century and get a MUA that groks UTF-8? :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 15:15:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E9816A420 for ; Sat, 26 Jan 2008 15:15:59 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA9413C467 for ; Sat, 26 Jan 2008 15:15:59 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id C06032082; Sat, 26 Jan 2008 16:15:50 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 435332049; Sat, 26 Jan 2008 16:15:50 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 1BC78844AF; Sat, 26 Jan 2008 16:15:50 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: KAYVEN RIESE References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> Date: Sat, 26 Jan 2008 16:15:50 +0100 In-Reply-To: (KAYVEN RIESE's message of "Fri\, 25 Jan 2008 11\:43\:24 -0800 \(PST\)") Message-ID: <86hch0pqhl.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Mike Meyer Subject: Re: FreeBSD hacker 101 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, 26 Jan 2008 15:15:59 -0000 KAYVEN RIESE writes: > i don't recognize that as what i said, but i was trying to make the > point that BSD DOESn't use rpm compression, and that was a point i > was trying to make in terms of comparison/contrast I'm not sure what you mean by "rpm compression", since rpm is not a compression algorithm but a set of tools and a file format (based on gzipped cpio archives) used by those tools. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 15:21:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B90C16A41B for ; Sat, 26 Jan 2008 15:21:53 +0000 (UTC) (envelope-from sanjeevfiles@yahoo.com) Received: from web57702.mail.re3.yahoo.com (web57702.mail.re3.yahoo.com [68.142.236.56]) by mx1.freebsd.org (Postfix) with SMTP id 0BCBD13C4DD for ; Sat, 26 Jan 2008 15:21:52 +0000 (UTC) (envelope-from sanjeevfiles@yahoo.com) Received: (qmail 37934 invoked by uid 60001); 26 Jan 2008 14:55:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=2AeUM47Y56UR06jUul/zzApZo2+2zF9LPj2e+3vyEDWBOuVMeU34uZEgnN5fPg0AeWemT7DqSyI+FINtR91OQdzdBQkA+q/k8d6nv8MgDIPUTg0ZKmjNwoQ48GK9xTwe5D2kN0deyom7hy5TxsYnGoFAbfPviKqimNWS7pVmXIc=; X-YMail-OSG: g2IUtTIVM1kjo8i.EnB1hLV06_6wmbCFg41xT2nT4QtV8U96heeRi7hNwoN5zUFW9XWvDm10hQI7ZS0e3UP0zaPXoNHM.oUjoyhnk5.Dw8nwcdkvuAWQyk6tM0XZRg-- Received: from [210.68.188.20] by web57702.mail.re3.yahoo.com via HTTP; Sat, 26 Jan 2008 06:55:11 PST Date: Sat, 26 Jan 2008 06:55:11 -0800 (PST) From: "Sanjeev Kumar.S" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Message-ID: <510111.36941.qm@web57702.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: couldn't establish connection to remote target: kgdb 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, 26 Jan 2008 15:21:53 -0000 Hi, I'm facing an issue of not being able to connect to the target from the host on i386 on 6.2-RELEASE. I get a "Couldn't establish connection to remote target", everytime. 1) Yes, both the baud on source and sink is 9600, confirmed doing a tty -a -f /dev/cuad0. 2) and /etc/ttys has ttyd0 and ttyd1 both turned off for getty. 3) i even did a cat < /dev/cuad0 and echo hello < /dev/cuad0. and I get the characters on the other side correctly. configured kernel with GDB, KDB, DDB. and started kgdb like this kgdb -r /dev/cuad0 kernel.debug. and I get : Ignoring packet error, continuing... Couldn't establish connection to remote target malformed response to offset query, timeout. Can some-one, a hacker will have encountered such situations, please answer my dilemma. Thanks, Sanjeev. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 15:26:02 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDBDF16A421 for ; Sat, 26 Jan 2008 15:26:02 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id DA34F13C447 for ; Sat, 26 Jan 2008 15:26:02 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id D980A1A4D82; Sat, 26 Jan 2008 07:21:57 -0800 (PST) Date: Sat, 26 Jan 2008 07:21:57 -0800 From: Alfred Perlstein To: Dag-Erling Sm??rgrav Message-ID: <20080126152157.GS99258@elvis.mu.org> References: <20080124221936.GS99258@elvis.mu.org> <868x2d51wl.fsf@ds4.des.no> <20080125192944.GC99258@elvis.mu.org> <86lk6cpqjc.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86lk6cpqjc.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 26 Jan 2008 15:26:02 -0000 * Dag-Erling Sm??rgrav [080126 07:10] wrote: > Alfred Perlstein writes: > > Dag-Erling Sm??rgrav writes: > >> des@ds4 ~% sysctl -d dev.cpu.0.temperature > >> dev.cpu.0.temperature: Current temperature in degC > > lolwhat? When did that get implemented? > > Twice, actually, in 1999 by myself and in 2001 by Luigi. > > > I recall a huge storm of protest when the definitions were included in > > the kernel compile file... > > That was the first time, and completely unjustified as there was a knob > to disable it (the argument was that it would bloat picobsd). o i c. :) > > BTW, when are you going to join the 21st century and get a MUA that > groks UTF-8? :) Civil people use the eighth bit for parity or parody, but nothing else. -- - Alfred Perlstein From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 15:32:47 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42E5D16A418; Sat, 26 Jan 2008 15:32:47 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0016213C447; Sat, 26 Jan 2008 15:32:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id A4940208C; Sat, 26 Jan 2008 16:32:38 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 2D6352085; Sat, 26 Jan 2008 16:32:38 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 19A4A844AF; Sat, 26 Jan 2008 16:32:38 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alfred Perlstein References: <20080124221936.GS99258@elvis.mu.org> <868x2d51wl.fsf@ds4.des.no> <20080125192944.GC99258@elvis.mu.org> <86lk6cpqjc.fsf@ds4.des.no> <20080126152157.GS99258@elvis.mu.org> Date: Sat, 26 Jan 2008 16:32:38 +0100 In-Reply-To: <20080126152157.GS99258@elvis.mu.org> (Alfred Perlstein's message of "Sat\, 26 Jan 2008 07\:21\:57 -0800") Message-ID: <86ve5gob55.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: sysctl text definitions. 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, 26 Jan 2008 15:32:47 -0000 Alfred Perlstein writes: > Dag-Erling Sm=C3=B8rgrav writes: > > BTW, when are you going to join the 21st century and get a MUA that > > groks UTF-8? :) > Civil people use the eighth bit for parity or parody, but nothing > else. Thank you for excluding roughly three quarters of the world's population from participating in the FreeBSD community under their own name. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 20:24:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D96D716A418 for ; Sat, 26 Jan 2008 20:24:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id C25DF13C474 for ; Sat, 26 Jan 2008 20:24:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALQlm0eC1Apk/2dsb2JhbACsGw Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 26 Jan 2008 12:24:38 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012612243669-2005 ; Sat, 26 Jan 2008 12:24:36 -0800 Date: Sat, 26 Jan 2008 12:24:36 -0800 (PST) From: KAYVEN RIESE To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <86hch0pqhl.fsf@ds4.des.no> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> <86hch0pqhl.fsf@ds4.des.no> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/26/2008 12:24:36, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/26/2008 12:24:38, Serialize complete at 01/26/2008 12:24:38 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1201379076=:7597" Cc: freebsd-hackers@freebsd.org, Mike Meyer Subject: Re: FreeBSD hacker 101 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, 26 Jan 2008 20:24:38 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-851401618-1201379076=:7597 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed On Sat, 26 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: > KAYVEN RIESE writes: >> i don't recognize that as what i said, but i was trying to make the >> point that BSD DOESn't use rpm compression, and that was a point i >> was trying to make in terms of comparison/contrast > > I'm not sure what you mean by "rpm compression", since rpm is not a > compression algorithm but a set of tools and a file format (based on > gzipped cpio archives) used by those tools. gzip is compression. okay it is an archiver. all i know is that standard old boys unix uses *.tgz which is a mix of compression and archiving with tar. i have only encountered rpm sporatically because i have not done a lot of linux, but i know that when you enounter a package to be installed it seemed to me *.rpm is an alternative to *.tgz > > DES > --=20 > Dag-Erling Sm=C3=B8rgrav - des@des.no > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-851401618-1201379076=:7597-- From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 20:52:44 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7094816A41B for ; Sat, 26 Jan 2008 20:52:44 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 35AE813C459 for ; Sat, 26 Jan 2008 20:52:44 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 23F092082; Sat, 26 Jan 2008 21:52:36 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id D40192049; Sat, 26 Jan 2008 21:52:35 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BD77684460; Sat, 26 Jan 2008 21:52:35 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Jerry Toung" References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> Date: Sat, 26 Jan 2008 21:52:35 +0100 In-Reply-To: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> (Jerry Toung's message of "Fri\, 25 Jan 2008 14\:51\:44 -0800") Message-ID: <86y7acmhrg.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 26 Jan 2008 20:52:44 -0000 "Jerry Toung" writes: > I am trying to create an environment where you can't run my binaries > on your box and I can't run your binaries on my system (x86 platform). > For that, I have modified the system calls table (i.e everything is > offset by 5). This is basically the same as "sidegrading" from i386 to amd64 or vice versa. If you're using 7 or 8, the installworld target sets aside all the tools it needs to complete the installation, so it doesn't matter that the binaries you install can't run on your current kernel. Just make sure you run installkernel first. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 21:24:14 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C81FD16A417 for ; Sat, 26 Jan 2008 21:24:14 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 879CB13C458 for ; Sat, 26 Jan 2008 21:24:14 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1705568pyb.10 for ; Sat, 26 Jan 2008 13:24:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=g674AP6wXUlGle8K1/e1UAnXJIklRirFD7InIk0htIA=; b=UbvRPW/AfJ1gEPSo8IhrsU+kvZIzV+j56Zgh1isnXDwJEpTnKIb3ke8wpQhQ4elTv5iwS8kF1ME6gkaCOtW55+TCQwtAPk/DA/lOfYhdLywg3lLIRGCl/OmyRfxtmXP2bcy7Gn7jAhLp2M/XK9y6oTO7TM69MO2RQEYOPT7lmUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ToV7ucQWHeCQUG+C5p/1PlkKeoB/aeJkNdgywlf29WX/RmPT7Nv2XgOpzGQmoI5Tp1i3IsTVi9GejWu1AN+co94mdDzuvx3nM/LEJF+FesNGSJOYltP+b4av6D/Jm+Y0cD3jacNks60PDmWfUA7MNnL6wIsP71ibfAmXEwgI6RY= Received: by 10.142.225.11 with SMTP id x11mr1846157wfg.175.1201382652771; Sat, 26 Jan 2008 13:24:12 -0800 (PST) Received: by 10.142.51.19 with HTTP; Sat, 26 Jan 2008 13:24:12 -0800 (PST) Message-ID: <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> Date: Sat, 26 Jan 2008 13:24:12 -0800 From: "Jerry Toung" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86y7acmhrg.fsf@ds4.des.no> MIME-Version: 1.0 References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <86y7acmhrg.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 26 Jan 2008 21:24:14 -0000 Thank you DES. I am running 6.2 by the way. Jerry On 1/26/08, Dag-Erling Sm=F8rgrav wrote: > > "Jerry Toung" writes: > > I am trying to create an environment where you can't run my binaries > > on your box and I can't run your binaries on my system (x86 platform). > > For that, I have modified the system calls table (i.e everything is > > offset by 5). > > This is basically the same as "sidegrading" from i386 to amd64 or vice > versa. If you're using 7 or 8, the installworld target sets aside all > the tools it needs to complete the installation, so it doesn't matter > that the binaries you install can't run on your current kernel. Just > make sure you run installkernel first. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 22:05:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4C2216A418 for ; Sat, 26 Jan 2008 22:05:55 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 91AF413C45B for ; Sat, 26 Jan 2008 22:05:55 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAB89m0eC1Apk/2dsb2JhbACsFA Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 26 Jan 2008 14:05:55 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012614055354-2015 ; Sat, 26 Jan 2008 14:05:53 -0800 Date: Sat, 26 Jan 2008 14:05:53 -0800 (PST) From: KAYVEN RIESE cc: freebsd-hackers@freebsd.org In-Reply-To: <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> Message-ID: References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <86y7acmhrg.fsf@ds4.des.no> <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/26/2008 14:05:53, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/26/2008 14:05:55, Serialize complete at 01/26/2008 14:05:55 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: embedding pdf viewers in firefox 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, 26 Jan 2008 22:05:55 -0000 kv_bsd# uname -a FreeBSD kv_bsd 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 kv_bsd# as you can see, i am running the freeBSD OS. i have a gnome desktop. i usually run firefox browser (i note that gnome has built in browser called ephinany). i am dissatisfied with the fact that if i browse to a webpage that contains pdf content that i am forced to save the file. there seems to be an indigenous application that fires up when i double click the file. it is called evince 0.6.1 postScript and PDF File viewer using poppler 0.5.4 (cairo). if i need to install something new that is fine, but i want to have some embedded application that will view pdf content "in situ" instead of this cumbersome operation. i posted that on a site called experts-exchange and got this response: danielcc: if you are just viewing them from a search engine you can tell google to let them view as html which is nice... something else thats nice that you might be interested in is the firefox pdf veiwer plug in https://addons.mozilla.org/en-US/firefox/addon/636 ... you should just have to click open and view the file this is not feeling right to me. any advice? *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 22:11:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99A0F16A418 for ; Sat, 26 Jan 2008 22:11:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5CEAA13C442 for ; Sat, 26 Jan 2008 22:11:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 4732D207F; Sat, 26 Jan 2008 23:11:45 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 2ED4B207E; Sat, 26 Jan 2008 23:11:45 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id F056E8447D; Sat, 26 Jan 2008 23:11:44 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Jerry Toung" References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <86y7acmhrg.fsf@ds4.des.no> <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> Date: Sat, 26 Jan 2008 23:11:44 +0100 In-Reply-To: <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> (Jerry Toung's message of "Sat\, 26 Jan 2008 13\:24\:12 -0800") Message-ID: <86abmsz17j.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: a new syscalls table 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, 26 Jan 2008 22:11:53 -0000 "Jerry Toung" writes: > Thank you DES. I am running 6.2 by the way. Consider this an unexpected opportunity to upgrade :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 23:34:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3018816A420 for ; Sat, 26 Jan 2008 23:34:55 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (bhuda.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id D5EFA13C442 for ; Sat, 26 Jan 2008 23:34:54 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 6249 invoked by uid 1001); 26 Jan 2008 23:34:50 -0000 Received: from bhuda.mired.org (localhost.localdomain [127.0.0.1]) by bhuda.mired.org (tmda-ofmipd) with ESMTP; Sat, 26 Jan 2008 18:34:49 -0500 Date: Sat, 26 Jan 2008 18:34:49 -0500 To: KAYVEN RIESE Message-ID: <20080126183449.5086079e@bhuda.mired.org> In-Reply-To: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> <86hch0pqhl.fsf@ds4.des.no> Organization: Meyer Consulting X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd6.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 26 Jan 2008 23:34:55 -0000 On Sat, 26 Jan 2008 12:24:36 -0800 (PST) KAYVEN RIESE wro= te: > On Sat, 26 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: >=20 > > KAYVEN RIESE writes: > >> i don't recognize that as what i said, but i was trying to make the > >> point that BSD DOESn't use rpm compression, and that was a point i > >> was trying to make in terms of comparison/contrast > > > > I'm not sure what you mean by "rpm compression", since rpm is not a > > compression algorithm but a set of tools and a file format (based on > > gzipped cpio archives) used by those tools. >=20 > gzip is compression. okay it is an archiver. =20 Right the first time. gzip has no ability to deal with an archive as anything but a byte stream. > all i know is that > standard old boys unix uses *.tgz which is a mix of compression > and archiving with tar. i have only encountered rpm sporatically > because i have not done a lot of linux, but i know that when you > enounter a package to be installed it seemed to me *.rpm is an > alternative to *.tgz .tgz (and the later .tbz variant) is the dominant format for platform-independent archives on Unix-like systems, so I'd expect anyone who claims to be competent in that space to be able to deal with them. (FreeBSD's pkg* tools extends it in a backwards-compatible manner by adding "magic" files, but the resulting tarballs work fine on other systems). .rpm is a package format, and comes with a tool set for using it. Most (all?) GNU/Linux systems come with tools for dealing with it, but they all also come with tools for dealing with .tgz. Some GNU/Linux distros use .rpm to distribute their software, but not all do. I don't think any Unix systems have adopted it; most of them have packaging systems that predate .rpm, and they're all different. Different package formats for vendor software isn't a GNU/Linux vs. FreeBSD or Unix thing, it's a fact of line in a multi-platform Unix environment. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 23:55:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009B116A417 for ; Sat, 26 Jan 2008 23:55:55 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id DB6E113C457 for ; Sat, 26 Jan 2008 23:55:54 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOZWm0eC1Apk/2dsb2JhbACsEw Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 26 Jan 2008 15:55:54 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008012615555297-2020 ; Sat, 26 Jan 2008 15:55:52 -0800 Date: Sat, 26 Jan 2008 15:55:53 -0800 (PST) From: KAYVEN RIESE To: Mike Meyer In-Reply-To: <20080126183449.5086079e@bhuda.mired.org> Message-ID: References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> <86hch0pqhl.fsf@ds4.des.no> <20080126183449.5086079e@bhuda.mired.org> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/26/2008 15:55:52, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/26/2008 15:55:54, Serialize complete at 01/26/2008 15:55:54 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1201391753=:13548" Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 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, 26 Jan 2008 23:55:55 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-851401618-1201391753=:13548 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed On Sat, 26 Jan 2008, Mike Meyer wrote: > On Sat, 26 Jan 2008 12:24:36 -0800 (PST) KAYVEN RIESE w= rote: >> On Sat, 26 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: >>> KAYVEN RIESE writes: > .rpm is a package format, and comes with a tool set for using it. Most > (all?) GNU/Linux systems come with tools for dealing with it, but they > all also come with tools for dealing with .tgz. Some GNU/Linux distros > use .rpm to distribute their software, but not all do. I don't think > any Unix systems have adopted it; most of them have packaging systems > that predate .rpm, and they're all different. Different package > formats for vendor software isn't a GNU/Linux vs. FreeBSD or Unix > thing, it's a fact of line in a multi-platform Unix environment. my reason for bringing the whole thing up was based on the idea that this person might be used to using *.rpm all the time and this would be a difference he would experience moving to freeBSD, if this was the case. if this is not the case for him, as you seem to be implying, then.. well.. still.. he must know to avoid *.rpm distributions in any case unless he installs a *.rpm compatibility tool. is that part of the linux-compat stuff that freeBSD has? > > --=20 > Mike Meyer =09=09http://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= " > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-851401618-1201391753=:13548--