From owner-freebsd-hackers Sun Sep 29 2:56:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6762237B401 for ; Sun, 29 Sep 2002 02:56:21 -0700 (PDT) Received: from 126.216-123-229-0.interbaun.com (126.216-123-229-0.interbaun.com [216.123.229.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDDEB43E6A for ; Sun, 29 Sep 2002 02:56:19 -0700 (PDT) (envelope-from soralx@cydem.zp.ua) Received: from 128.216-123-230-0.interbaun.com ([192.168.0.3]) by 126.216-123-229-0.interbaun.com (8.11.6/8.11.6) with ESMTP id g8T9uDe00472 for ; Sun, 29 Sep 2002 03:56:14 -0600 (MDT) (envelope-from soralx@cydem.zp.ua) Content-Type: text/plain; charset="us-ascii" From: To: freebsd-hackers@FreeBSD.ORG Subject: ptrace Date: Sun, 29 Sep 2002 03:49:40 -0600 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209290349.40911.soralx@cydem.zp.ua> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is the 'ptrace' syscall implemented in linux emulation? 29.09.2002; 03:48:17 [SorAlx] http://cydem.zp.ua/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 29 21:21:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C698C37B401 for ; Sun, 29 Sep 2002 21:21:14 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E87643E6A for ; Sun, 29 Sep 2002 21:21:14 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g8U4Lfbj014873; Mon, 30 Sep 2002 00:21:46 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g8U4LeOT014872; Mon, 30 Sep 2002 00:21:40 -0400 (EDT) Date: Mon, 30 Sep 2002 00:21:40 -0400 From: Craig Rodrigues To: Dmitriy Fitisov Cc: freebsd-hackers@FreeBSD.org Subject: Re: POSIX message queue Message-ID: <20020930002140.A14849@attbi.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from dmitriy@radier.ca on Sun, Sep 15, 2002 at 11:14:20PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 15, 2002 at 11:14:20PM -0400, Dmitriy Fitisov wrote: > Hi, > I cannot find implementation of POSIX message queues > (mq_open, mq_xxx, ...). Even though there is a message header > mqueue.h ld cannot find a library. > > Am I looking in wrong place? > Thanks. > Dmitriy Fitisov I think that you need to specify the following in your kernel config file for POSIX message queues: options P1003_1B #Posix P1003_1B real-time extensions (Read the man page, p1003_1b). The source code for this stuff is in /usr/src/sys/posix4/ However, I'm not sure if this stuff works, or is maintained. You may want to check on the freebsd-standards@freebsd.org mailing list. I just asked about p1003_1b and POSIX message queues on that list. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 29 21:29:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59F0637B401 for ; Sun, 29 Sep 2002 21:29:35 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1B2C43E3B for ; Sun, 29 Sep 2002 21:29:34 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g8U4U6bj014938; Mon, 30 Sep 2002 00:30:07 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g8U4U6TO014937; Mon, 30 Sep 2002 00:30:06 -0400 (EDT) Date: Mon, 30 Sep 2002 00:30:06 -0400 From: Craig Rodrigues To: vijay singh Cc: hackers@FreeBSD.ORG Subject: Re: kqueue Message-ID: <20020930003006.A14926@attbi.com> References: <20020925081253.GA98975@xs4all.nl> <3D91C011.6F564C34@iprg.nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D91C011.6F564C34@iprg.nokia.com>; from vijay@IPRG.nokia.com on Wed, Sep 25, 2002 at 04:54:25PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 25, 2002 at 04:54:25PM +0300, vijay singh wrote: > Hi, this is in no way related to the kqueue question asked below but to > event notification mechanisms in general. I was wondering if there is > some paper or design that talks about how such a facility could be > provided in a Unix type kernel. Kqueue is fairly recent, and I dont know > what its requirements are but I'm thinking of providing this for an old > 2.x FreeBSD system. Any ideas, pointers or suggestions are appreciated. There is a good kqueue paper on Jonathan Lemon's web page which has pointers to further references: http://people.freebsd.org/~jlemon/ -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 29 22:15:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB2D337B401 for ; Sun, 29 Sep 2002 22:15:21 -0700 (PDT) Received: from piglet.dstc.edu.au (piglet.dstc.edu.au [130.102.176.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D1C43E42 for ; Sun, 29 Sep 2002 22:15:21 -0700 (PDT) (envelope-from freebsd-lists@lister.dnsalias.net) Received: from ilister.dialup.dstc.edu.au (ilister.dialup.dstc.edu.au [130.102.182.103]) by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g8U5F64s016934; Mon, 30 Sep 2002 15:15:07 +1000 (EST) Received: from localhost (ilister@localhost) by ilister.dialup.dstc.edu.au (8.11.1/8.11.1) with ESMTP id g8U5F4O60401; Mon, 30 Sep 2002 15:15:05 +1000 (EST) (envelope-from freebsd-lists@lister.dnsalias.net) Date: Mon, 30 Sep 2002 15:15:04 +1000 (EST) From: Ian Lister X-X-Sender: ilister@sapporo.home To: Hiten Pandya Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: gethostbyname_r() fbsd equiv? In-Reply-To: <20020927144504.A42463@angelica.unixdaemons.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM X-Spam-Score: -4.5, Required: 5 X-Virus-Scanned: Message: ok X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 27 Sep 2002, Hiten Pandya wrote: >Doesnt getaddrinfo() do whatever gethostbyname() can do? And also, if >my source of information is correct, getaddrinfo() should be thread-safe >and also, it is under the POSIX p1003.1g. Generally speaking, yes. Actually, POSIX 1003.1g doesn't require thread safety, but RFC 2553 does. Unfortunately FreeBSD doesn't currently have a thread safe implementation, and so gethostbyname is sadly a better choice if you need thread safety. (I think this is the only platform I've come across where this is the case) Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 1:28:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B58B537B401 for ; Mon, 30 Sep 2002 01:28:43 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4634543E4A for ; Mon, 30 Sep 2002 01:28:43 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id g8U8Sgq2035835; Mon, 30 Sep 2002 01:28:42 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.5/Submit) id g8U8Sd0e035816; Mon, 30 Sep 2002 01:28:39 -0700 (PDT) Date: Mon, 30 Sep 2002 01:28:39 -0700 From: "David O'Brien" To: Mark Valentine Cc: Josef Karthauser , hackers@freebsd.org Subject: Re: Spark 5. Message-ID: <20020930082839.GC4473@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mail-Followup-To: David O'Brien , Mark Valentine , Josef Karthauser , hackers@freebsd.org References: <200209260217.g8Q2HOwT019309@dotar.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209260217.g8Q2HOwT019309@dotar.thuvia.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 26, 2002 at 03:17:24AM +0100, Mark Valentine wrote: > For FreeBSD you'd want an Ultra 1 at least - 13w3.com has a 170MHz model Nope. We don't support the U1 -- neither the Ethernet controller or the SCSI controller. So you can't boot from any device. An Ultra 1e (Enterprise) is moderately usable as it has HME Ethernet, which we do support so you can at least use the machine diskless. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 5:14:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3787D37B401 for ; Mon, 30 Sep 2002 05:14:43 -0700 (PDT) Received: from hotmail.com (f17.law10.hotmail.com [64.4.15.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3DB843E3B for ; Mon, 30 Sep 2002 05:14:42 -0700 (PDT) (envelope-from andrew__nelson@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 30 Sep 2002 05:14:42 -0700 Received: from 203.12.22.18 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 30 Sep 2002 12:14:42 GMT X-Originating-IP: [203.12.22.18] From: "Andrew Nelson" To: freebsd-hackers@freebsd.org Subject: using tar --exclude in FreeBSD.. Date: Mon, 30 Sep 2002 22:14:42 +1000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Sep 2002 12:14:42.0939 (UTC) FILETIME=[F53B2CB0:01C2687A] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm having trouble using tar with simple exclusion rules.. I'd like to be able to run something like this: tar cfvzp etc-backup.tgz /etc/ but exclude all *.gz files. I can only the --exclude syntax of tar if I leave off the -vzp options. Why doesn't the following work? tar cfvzp --exclude="*.gz" usr-backup.tgz /etc/ Thanks, Andrew. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 5:23:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CD2B37B404 for ; Mon, 30 Sep 2002 05:23:21 -0700 (PDT) Received: from mx10.mail.ru (mx10.mail.ru [194.67.57.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09CF143E77 for ; Mon, 30 Sep 2002 05:23:20 -0700 (PDT) (envelope-from voodoo_alex@mail.ru) Received: from drweb by mx10.mail.ru with drweb-scanned (Exim MX.A) id 17vza1-000MqS-00 for freebsd-hackers@FreeBSD.org; Mon, 30 Sep 2002 16:23:17 +0400 Received: from [195.170.235.196] (helo=z.millenniumrise.ru) by mx10.mail.ru with esmtp (Exim SMTP.A) id 17vzZz-000Mp4-00 for freebsd-hackers@FreeBSD.org; Mon, 30 Sep 2002 16:23:15 +0400 Date: Mon, 30 Sep 2002 16:25:01 +0400 From: =?Windows-1251?B?wOvl6vHg7eTwIM/u7+ru4g==?= X-Mailer: The Bat! (v1.53d) Reply-To: =?Windows-1251?B?wOvl6vHg7eTwIM/u7+ru4g==?= X-Priority: 3 (Normal) Message-ID: <5626682897.20020930162501@mail.ru> To: freebsd-hackers@FreeBSD.org Subject: Re: using tar --exclude in FreeBSD.. X-Sender: =?Windows-1251?B?wOvl6vHg7eTwIM/u7+ru4g==?= MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Envelope-To: freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Andrew, Monday, September 30, 2002, 4:14:42 PM, you wrote: AN> Hi, AN> I'm having trouble using tar with simple exclusion AN> rules.. I'd like to be able to run something like this: AN> tar cfvzp etc-backup.tgz /etc/ AN> but exclude all *.gz files. I can only the --exclude syntax AN> of tar if I leave off the -vzp options. Why doesn't the AN> following work? AN> tar cfvzp --exclude="*.gz" usr-backup.tgz /etc/ Try to use: tar --exclude="*.gz" cvzpf usr-backup.tgz /etc/ (hint: "f" - argument to pass archive file name to tar programm read man tar useful ;) -- Best regards, voodoo mailto:voodoo_alex@mail.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 7:13:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E9D937B401 for ; Mon, 30 Sep 2002 07:13:37 -0700 (PDT) Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by mx1.FreeBSD.org (Postfix) with SMTP id A33C643E4A for ; Mon, 30 Sep 2002 07:13:35 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 70507 invoked by uid 85); 30 Sep 2002 14:23:18 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by south.nanolink.com with SMTP; 30 Sep 2002 14:23:15 -0000 Received: (qmail 16699 invoked by uid 1000); 30 Sep 2002 14:13:26 -0000 Date: Mon, 30 Sep 2002 17:13:26 +0300 From: Peter Pentchev To: Andrew Nelson Cc: freebsd-hackers@freebsd.org Subject: Re: using tar --exclude in FreeBSD.. Message-ID: <20020930141325.GA11474@straylight.oblivion.bg> Mail-Followup-To: Andrew Nelson , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UugvWAfsgieZRqgk Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 30, 2002 at 10:14:42PM +1000, Andrew Nelson wrote: > Hi, >=20 > I'm having trouble using tar with simple exclusion > rules.. I'd like to be able to run something like this: >=20 > tar cfvzp etc-backup.tgz /etc/ >=20 > but exclude all *.gz files. I can only the --exclude syntax > of tar if I leave off the -vzp options. Why doesn't the > following work? >=20 > tar cfvzp --exclude=3D"*.gz" usr-backup.tgz /etc/ I have found that tar only accepts any options after the initial ones if the initial ones are specified in the canonical way, using a dash. That is, I believe the following should work: tar -cfvzp usr-backup.tgz --exclude=3D"*.gz" /etc/ Besides, as someone else pointed out, the 'f' in the option string specifies that the next argument is a filename; so put the filename next :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This inert sentence is my body, but my soul is alive, dancing in the sparks= of your brain. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9mFwF7Ri2jRYZRVMRAtSYAJwMi0myfOTPMlulf4jqW3wV3/WJQgCgsRlE nDI+42lf1SLOypQ5ClZTM+s= =E7lK -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 7:21:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC48937B401 for ; Mon, 30 Sep 2002 07:21:17 -0700 (PDT) Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D00443E4A for ; Mon, 30 Sep 2002 07:21:16 -0700 (PDT) (envelope-from flag@libero.it) Received: from southcross.skynet.org (151.29.207.192) by smtp3.libero.it (6.5.028) id 3D8B3EFF0043D43C for freebsd-hackers@FreeBSD.ORG; Mon, 30 Sep 2002 16:21:14 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 822A37852; Mon, 30 Sep 2002 14:40:53 +0200 (CEST) Date: Mon, 30 Sep 2002 14:40:53 +0200 From: Paolo Pisati To: FreeBSD_Hackers Subject: Do u think I can trust memtest from ports? Message-ID: <20020930124052.GA469@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If I load the agp module and i run memtest, i got a lot of errors (and in the past i exprienced even system crash), while if i don't load agp module and i run memtest everything is ok: why the agp module gives me these memory problems? bye -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 7:26:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8257B37B401 for ; Mon, 30 Sep 2002 07:26:27 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 66AA443E3B for ; Mon, 30 Sep 2002 07:26:26 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 2960 invoked by uid 1031); 30 Sep 2002 14:22:15 -0000 Date: Mon, 30 Sep 2002 15:22:14 +0100 From: Bruce M Simpson To: Paolo Pisati Cc: FreeBSD_Hackers Subject: Re: Do u think I can trust memtest from ports? Message-ID: <20020930142214.GF17186@spc.org> Mail-Followup-To: Bruce M Simpson , Paolo Pisati , FreeBSD_Hackers References: <20020930124052.GA469@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020930124052.GA469@southcross.skynet.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 30, 2002 at 02:40:53PM +0200, Paolo Pisati wrote: > If I load the agp module and i run memtest, i got a lot > of errors (and in the past i exprienced even system crash), > while if i don't load agp module and i run memtest everything is > ok: Could be any number of things, both vm- and memtest- related. Can you provide a core dump? BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 9: 5: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6A237B404; Mon, 30 Sep 2002 09:05:01 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 741C143E3B; Mon, 30 Sep 2002 09:04:58 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.12.3/8.12.3) with ESMTP id g8UG4ncF051858; Mon, 30 Sep 2002 17:04:50 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.5/8.12.5) with ESMTP id g8UG4mLU064229; Mon, 30 Sep 2002 17:04:48 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.5/8.12.5/Submit) id g8UG4lOv064228; Mon, 30 Sep 2002 17:04:47 +0100 (BST) Date: Mon, 30 Sep 2002 17:04:47 +0100 (BST) From: Mark Valentine Message-Id: <200209301604.g8UG4lOv064228@dotar.thuvia.org> In-Reply-To: <20020930082839.GC4473@dragon.nuxi.com> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: obrien@freebsd.org Subject: Re: Spark 5. Cc: Josef Karthauser , hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "David O'Brien" > Date: Mon 30 Sep, 2002 > Subject: Re: Spark 5. > On Thu, Sep 26, 2002 at 03:17:24AM +0100, Mark Valentine wrote: > > For FreeBSD you'd want an Ultra 1 at least - 13w3.com has a 170MHz model > > Nope. We don't support the U1 -- neither the Ethernet controller or the > SCSI controller. So you can't boot from any device. An Ultra 1e > (Enterprise) is moderately usable as it has HME Ethernet, which we do > support so you can at least use the machine diskless. Ah, thanks for that. So, only PCI-based SCSI support? Does that mean no joy with an Ultra 2 either? Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 9:17:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAC1C37B401 for ; Mon, 30 Sep 2002 09:17:26 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 663F043E3B for ; Mon, 30 Sep 2002 09:17:26 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id g8UGHPq2036770; Mon, 30 Sep 2002 09:17:25 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.5/Submit) id g8UGHPga036769; Mon, 30 Sep 2002 09:17:25 -0700 (PDT) Date: Mon, 30 Sep 2002 09:17:25 -0700 From: "David O'Brien" To: Mark Valentine Cc: Josef Karthauser , hackers@freebsd.org Subject: Re: Spark 5. Message-ID: <20020930161725.GA36725@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mail-Followup-To: David O'Brien , Mark Valentine , Josef Karthauser , hackers@freebsd.org References: <20020930082839.GC4473@dragon.nuxi.com> <200209301604.g8UG4lOv064228@dotar.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209301604.g8UG4lOv064228@dotar.thuvia.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 30, 2002 at 05:04:47PM +0100, Mark Valentine wrote: > > From: "David O'Brien" > > Date: Mon 30 Sep, 2002 > > Subject: Re: Spark 5. > > > On Thu, Sep 26, 2002 at 03:17:24AM +0100, Mark Valentine wrote: > > > For FreeBSD you'd want an Ultra 1 at least - 13w3.com has a 170MHz model > > > > Nope. We don't support the U1 -- neither the Ethernet controller or the > > SCSI controller. So you can't boot from any device. An Ultra 1e > > (Enterprise) is moderately usable as it has HME Ethernet, which we do > > support so you can at least use the machine diskless. > > Ah, thanks for that. So, only PCI-based SCSI support? Does that mean no > joy with an Ultra 2 either? Only diskless for Ultra 2. It isn't a issue of PCI vs. Sbus; but rather just one of controllers. If you happen to have an ISP1000 Sbus controller you could use that and have diskfull support. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 10:50:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF9D37B406 for ; Mon, 30 Sep 2002 10:50:29 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6F8D43E6A for ; Mon, 30 Sep 2002 10:50:22 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g8UHotbj017241; Mon, 30 Sep 2002 13:50:56 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g8UHotDt017240; Mon, 30 Sep 2002 13:50:55 -0400 (EDT) Date: Mon, 30 Sep 2002 13:50:55 -0400 From: Craig Rodrigues To: Dmitriy Fitisov Cc: freebsd-hackers@FreeBSD.org Subject: Re: POSIX message queue Message-ID: <20020930135055.A17226@attbi.com> References: <20020930002140.A14849@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020930002140.A14849@attbi.com>; from rodrigc@attbi.com on Mon, Sep 30, 2002 at 12:21:40AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 30, 2002 at 12:21:40AM -0400, Craig Rodrigues wrote: > On Sun, Sep 15, 2002 at 11:14:20PM -0400, Dmitriy Fitisov wrote: > > Hi, > > I cannot find implementation of POSIX message queues > > (mq_open, mq_xxx, ...). Even though there is a message header > > mqueue.h ld cannot find a library. OK, this was just clarified on freebsd-standards. It looks like is not implemented. See: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10929+0+current/freebsd-standards -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 12:14:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE09B37B401 for ; Mon, 30 Sep 2002 12:14:23 -0700 (PDT) Received: from farley.org (dsl-64-194-106-77.telocity.com [64.194.106.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEA0743E42 for ; Mon, 30 Sep 2002 12:14:22 -0700 (PDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (p88j9xptq0ox2dys@thor.farley.org [192.168.1.5]) by gw.farley.org (8.12.3/8.12.3) with ESMTP id g8UJEJUT029551; Mon, 30 Sep 2002 14:14:21 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Mon, 30 Sep 2002 14:14:19 -0500 (CDT) From: Sean Farley X-X-Sender: sean@thor.farley.org To: Mike Silbersack Cc: freebsd-hackers@freebsd.org Subject: Re: Slow I/O responsiveness with UDMA133 In-Reply-To: <20020926211102.Q9440-100000@patrocles.silby.com> Message-ID: <20020930140925.G5254-100000@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 26 Sep 2002 21:14, Mike Silbersack wrote: > On Thu, 26 Sep 2002, Sean Farley wrote: > > > I just do not understand how a 5400 RPM UDMA 33 drive can beat a > > 7200 RPM UDMA 133 drive by 33% on sequential output blocks. > > Rumor has it that newer drives cannot write a single sector at a time, > and instead must read a whole cluster of sectors, add in the new > sector, and write back the whole cluster. That behavior sounds like > it would hurt sequentual performance substantially, as it would become > a lot of read-modify-write operations. That is interesting. I had not heard of that issue, even as a rumor, before. I see this hurting byte writes, but block writes may not be hurt by it. > > > Does the drive support tagged queueing? That should give you the > > > benefits of write caching with a little bit more safety. > > > > I thought only IBM had IDE drives which supported tags. No. The > > specs do not mention tags. > > Hm, I thought other vendors had started to support them, I guess they > decided not to. :| I think there are a few Maxtor SCSI drives with it, but I could not find mention on their site with regards to any IDE drives. It would be nice assuming it was done correctly. > I have no idea on what BIOS settings would be optimal. I doubt that > they'll make a real performance difference. None as far as I can see. You would not happen to have a non-RAID, UDMA100+, non-VIA system that you could run bonnie++ (-s256) on? It would at least show to me if my system is really all that far from the norm. Sean ----------------------- sean-freebsd@farley.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 13:18: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A7A137B401 for ; Mon, 30 Sep 2002 13:18:05 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id ED19743E42 for ; Mon, 30 Sep 2002 13:18:03 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 28549 invoked from network); 30 Sep 2002 09:11:20 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 30 Sep 2002 09:11:20 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 6A1332FDAB2; Mon, 30 Sep 2002 11:11:18 +0200 (CEST) Date: Mon, 30 Sep 2002 11:11:18 +0200 From: Roman Neuhauser To: Chuck Robey Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20020930091118.GK30361@freepuppy.bellavista.cz> Mail-Followup-To: Chuck Robey , freebsd-hackers@FreeBSD.ORG References: <20020927172353.GO30361@freepuppy.bellavista.cz> <20020928171519.O32509-100000@april.chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020928171519.O32509-100000@april.chuckr.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # chuckr@chuckr.org / 2002-09-28 17:20:56 -0400: > On Fri, 27 Sep 2002, Roman Neuhauser wrote: > > > yup. or the fact that /usr/share/doc/psd/12.make/paper.ascii.gz > > documents conditionals in the form #keyword instead of .keyword > > (that might work, i haven't tried, but shouldn't the tutorial be > > updated? even if the # forms work they surely look deprecated from > > the fact that i haven't seen a single use in the system makefiles) > > Well, what you ought to use is the make(1) man page, which is reasonably > decent. The "#" command introducers don't work because "#" is the > comment introducer. I didn't say (or mean) I got confused by the discrepancy. I read ports' Makefiles (and those in /usr/ports/Mk) quite often, and anyone can quite easily tell contents of the whole /usr/share/doc/psd directory is pretty old, so I had no difficulty figuring out the case. But outdated, misleading documentation can be worse than no documentation IMO. The tutorial should be fixed. > > hm, i don't think i made myself clear with the previous para. how > > about this: is the pmake tutorial mentioned above carved in stone or > > are updates allowed? > > That's a political question, and probably should be asked on current. > The answer you're going to get, though, is to go ahead and write up your > changes, and see what kind of a reception they get. You won't get anyone > to agree to give you permission to make changes until they see what those > changes are. sure. I wasn't suggesting I wanted to commit (don't have commit access, either) any unreviewed changes. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 11:05AM up 12 days, 18:20, 13 users, load averages: 0.00, 0.03, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 15:59:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD98A37B401 for ; Mon, 30 Sep 2002 15:59:45 -0700 (PDT) Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by mx1.FreeBSD.org (Postfix) with SMTP id EFC4743E3B for ; Mon, 30 Sep 2002 15:59:44 -0700 (PDT) (envelope-from mwm-dated-1033858783.cc6750@mired.org) Received: (qmail 15239 invoked from network); 30 Sep 2002 22:59:43 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 30 Sep 2002 22:59:43 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15768.55135.433808.586383@guru.mired.org> Date: Mon, 30 Sep 2002 17:59:43 -0500 To: hackers@freebsd.org Subject: Fixing PREFIX opacity in /usr/src/etc... X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.62 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG /usr/src/etc installs a number of things that have /usr/local hardwired into them. We don't generally allow ports to do this, so I don't see why /usr/src/etc gets away with it. Fixing it is straightforward, and not really time-consuming. I'm willing to fix /usr/src/etc (and subdirs) if there's no good reason not to, and someone will review and commit the patch. Thanks, http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 17:20:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95DFB37B401 for ; Mon, 30 Sep 2002 17:20:34 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB3643E4A for ; Mon, 30 Sep 2002 17:20:34 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id 87F2E83D86 for ; Tue, 1 Oct 2002 01:49:12 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id 3C65083D38 for ; Tue, 1 Oct 2002 01:49:12 +0200 (CEST) Message-ID: <3D98E2F6.8030800@VanHoecke.org> Date: Tue, 01 Oct 2002 01:49:10 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers Subject: sis900 : sis0 attach returned 6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [originally sent to freebsd-questions] Trying to install FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 on a new ECS iBuddy4 desknote with sis900 fast ethernet card. The sis900 is never attached. When I look at dmesg output, I see repeated blocks about the sis900: => sis0: port 0xd400-0xd4ff mem 0xdfffb000-0xdfffbfff irq 5 at device 3.0 on pci0 => sis0: Ethernet address: (...mac address...) => sis0: MII without any PHY! => device_probe_and_attach: sis0 attach returned 6 I can use this device without problems under win2k. How can I proceed to get the sis900 working? -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 18:36:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E4437B401 for ; Mon, 30 Sep 2002 18:36:38 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 05B3E43E42 for ; Mon, 30 Sep 2002 18:36:38 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 83920 invoked by uid 1000); 1 Oct 2002 01:36:39 -0000 Date: Mon, 30 Sep 2002 18:36:39 -0700 (PDT) From: Nate Lawson To: hackers@freebsd.org Subject: proper printf fmt type for off_t? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What's the portable way of printing an off_t? It should work on Linux and FreeBSD. Linux seems to recommend casting the off_t to intmax_t which isn't present in FreeBSD. This is in usermode. Thanks, -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 18:39:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0577A37B401 for ; Mon, 30 Sep 2002 18:39:53 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6666E43E81 for ; Mon, 30 Sep 2002 18:39:52 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g911dls7028197; Mon, 30 Sep 2002 18:39:47 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g911dlWj028196; Mon, 30 Sep 2002 18:39:47 -0700 Date: Mon, 30 Sep 2002 18:39:47 -0700 From: Brooks Davis To: Nate Lawson Cc: hackers@FreeBSD.ORG Subject: Re: proper printf fmt type for off_t? Message-ID: <20020930183946.A27098@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from nate@root.org on Mon, Sep 30, 2002 at 06:36:39PM -0700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 30, 2002 at 06:36:39PM -0700, Nate Lawson wrote: > What's the portable way of printing an off_t? It should work on Linux and > FreeBSD. Linux seems to recommend casting the off_t to intmax_t which > isn't present in FreeBSD. This is in usermode. In current, intmax_t is defined in stdint.h. In stable, I think you're SOL and have to cast to quad_t which is totally non-portable. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9mPziXY6L6fI4GtQRAtO6AKDHjS8U+Ar9sE4GhkTUUWDnh4SCKwCeM14A o1IgaFhDmVQcZaLRgoZUTcE= =pVAq -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 19:52: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C4A37B401 for ; Mon, 30 Sep 2002 19:52:01 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7E5543E4A for ; Mon, 30 Sep 2002 19:52:00 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g912qYbj022227 for ; Mon, 30 Sep 2002 22:52:34 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g912qYAS022226 for freebsd-hackers@freebsd.org; Mon, 30 Sep 2002 22:52:34 -0400 (EDT) Date: Mon, 30 Sep 2002 22:52:34 -0400 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Subject: Comments on new Linux threading implementation? Message-ID: <20020930225234.A22216@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I saw this post on the Linux kernel mailing list which describes a major re-write of the POSIX threads implementation on Linux: http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.2/1075.html How does this stuff under Linux compare to the scheduler activation type work going on under FreeBSD ( http://people.freebsd.org/~julian/threads/ )? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 21:17:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C56D837B401 for ; Mon, 30 Sep 2002 21:17:37 -0700 (PDT) Received: from txsmtp03.texas.rr.com (smtp3.texas.rr.com [24.93.36.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1CDE43E6A for ; Mon, 30 Sep 2002 21:17:36 -0700 (PDT) (envelope-from shocking@houston.rr.com) Received: from bleep.craftncomp.com (cs662552-58.houston.rr.com [66.25.52.58]) by txsmtp03.texas.rr.com (8.12.5/8.12.2) with ESMTP id g914GoNL019634 for ; Tue, 1 Oct 2002 00:16:51 -0400 (EDT) Received: from houston.rr.com (IDENT:7GeLXiWHtJ5oKXhqD6yHz70ysAUcyCfh@boggle.craftncomp.com [202.12.111.2]) by bleep.craftncomp.com (8.12.6/8.12.3) with ESMTP id g914HV4M017956 for ; Mon, 30 Sep 2002 23:17:32 -0500 (CDT) (envelope-from shocking@houston.rr.com) Received: from boggle.craftncomp.com (shocking@localhost) by houston.rr.com (8.11.6/8.9.3) with ESMTP id g914HVY27934 for ; Mon, 30 Sep 2002 23:17:31 -0500 (envelope-from shocking@boggle.craftncomp.com) Message-Id: <200210010417.g914HVY27934@houston.rr.com> X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 To: hackers@freebsd.org Subject: Making one's own wireless base station Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Sep 2002 23:17:31 -0500 From: Stephen Hocking Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 've bought a Linksys PCI wireless card, and am looking to make my own base station. Does anyone know (once I have the right drivers installed) what to do next? I assume that I can assign the network interface its own IP (it'll have a subnet all of its very own), run a dhcp server on it and hand out addresses. Do I have to do any thing else to get it going? What would I use to set ESSIDs and passords? Stephen - -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 21:20:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D12E037B401 for ; Mon, 30 Sep 2002 21:20:16 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2712943E6A for ; Mon, 30 Sep 2002 21:20:16 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021001042015.DMCW22381.sccrmhc03.attbi.com@InterJet.elischer.org>; Tue, 1 Oct 2002 04:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA84781; Mon, 30 Sep 2002 21:10:27 -0700 (PDT) Date: Mon, 30 Sep 2002 21:10:25 -0700 (PDT) From: Julian Elischer To: Craig Rodrigues Cc: freebsd-hackers@freebsd.org Subject: Re: Comments on new Linux threading implementation? In-Reply-To: <20020930225234.A22216@attbi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 30 Sep 2002, Craig Rodrigues wrote: > Hi, > > I saw this post on the Linux kernel mailing list which > describes a major re-write of the POSIX threads implementation > on Linux: > http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.2/1075.html > > > How does this stuff under Linux compare to the scheduler > activation type work going on under FreeBSD > ( http://people.freebsd.org/~julian/threads/ )? What they are doing is a small improvement over the previous linuxthreads implementation. It's a valid path and we'll see how it works out... > > Thanks. > -- > Craig Rodrigues > http://www.gis.net/~craigr > rodrigc@attbi.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 22:55:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B26D37B401 for ; Mon, 30 Sep 2002 22:55:48 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06EAF43E4A for ; Mon, 30 Sep 2002 22:55:48 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id D3BED84612 for ; Tue, 1 Oct 2002 07:55:46 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id 64297845D7 for ; Tue, 1 Oct 2002 07:55:46 +0200 (CEST) Message-ID: <3D9938E2.40306@VanHoecke.org> Date: Tue, 01 Oct 2002 07:55:46 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers Subject: sis900 : sis0 attach returned 6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to install 'FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386' on a new ECS iBuddy4 desknote with sis900 fast ethernet card. The sis900 is never attached. When I look at dmesg output, I see repeated blocks of output about the sis900: => sis0: port 0xd400-0xd4ff mem 0xdfffb000-0xdfffbfff irq 5 at device 3.0 on pci0 => sis0: Ethernet address: (...mac address...) => sis0: MII without any PHY! => device_probe_and_attach: sis0 attach returned 6 I can use this device without problems under win2k. How can I proceed to get the sis900 working? -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 30 23: 1:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D456B37B401 for ; Mon, 30 Sep 2002 23:01:56 -0700 (PDT) Received: from tomts24-srv.bellnexxia.net (tomts24.bellnexxia.net [209.226.175.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id A919A43E4A for ; Mon, 30 Sep 2002 23:01:55 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.54]) by tomts24-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021001060154.HQBT17912.tomts24-srv.bellnexxia.net@xena.gsicomp.on.ca>; Tue, 1 Oct 2002 02:01:54 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g914fte05353; Tue, 1 Oct 2002 00:41:55 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <004f01c26910$0b28c650$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Guido Van Hoecke" , "freebsd-hackers" References: <3D9938E2.40306@VanHoecke.org> Subject: Re: sis900 : sis0 attach returned 6 Date: Tue, 1 Oct 2002 02:01:54 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I am trying to install 'FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 > GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC > i386' on a new ECS iBuddy4 desknote with sis900 fast ethernet card. > > The sis900 is never attached. When I look at dmesg output, I see > repeated blocks of output about the sis900: > > => sis0: port 0xd400-0xd4ff mem > 0xdfffb000-0xdfffbfff irq 5 at device 3.0 on pci0 > => sis0: Ethernet address: (...mac address...) > => sis0: MII without any PHY! > => device_probe_and_attach: sis0 attach returned 6 > > I can use this device without problems under win2k. > > How can I proceed to get the sis900 working? When you see the "boot:" prompt, hit and then type 'boot -v' and watch your system boot. Then send the list the detailed information about the sis0 driver (use the dmesg command once you've booted.) What's probably happening is that we're not recognizing the PHY device that the sis900 uses, or the card itself is doing something wierd. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 0:10:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E762637B404 for ; Tue, 1 Oct 2002 00:10:16 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DE5343E6A for ; Tue, 1 Oct 2002 00:10:16 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id D0DFE843CA; Tue, 1 Oct 2002 09:10:15 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id F30B4846B2; Tue, 1 Oct 2002 09:10:09 +0200 (CEST) Message-ID: <3D994A51.7050504@VanHoecke.org> Date: Tue, 01 Oct 2002 09:10:09 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Emmerton Cc: freebsd-hackers Subject: Re: sis900 : sis0 attach returned 6 References: <3D9938E2.40306@VanHoecke.org> <004f01c26910$0b28c650$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt > When you see the "boot:" prompt, hit and then type 'boot -v' and > watch your system boot. Then send the list the detailed information about > the sis0 driver (use the dmesg command once you've booted.) ... pci0: (vendor=0x1039, dev=0x7012) at 2.7 irq 10 sis0: port 0xd400-0xd4ff mem 0xdfffb000-0xdfffbfff irq 5 at device 3.0 on pci0 sis0: Ethernet address: (...mac address...) sis0: MII without any PHY! device_probe_and_attach: sis0 attach returned 6 pci0: (vendor=0x14f1, dev=0x2f00) at 5.0 irq 10 pci0: (vendor=0x1106, dev=0x3044) at 7.0 irq 11 ... pci0: (vendor=0x1039, dev=0x7012) at 2.7 irq 10 sis0: port 0xd400-0xd4ff mem 0xdfffb000-0xdfffbfff irq 5 at device 3.0 on pci0 sis0: Ethernet address: (...mac address...) sis0: MII without any PHY! device_probe_and_attach: sis0 attach returned 6 pci0: (vendor=0x14f1, dev=0x2f00) at 5.0 irq 10 pci0: (vendor=0x1106, dev=0x3044) at 7.0 irq 11 ... I do not know whether it is relevant to note that win2k uses 'interrupt request 11' rather than irq5 for the sis900. In fact it uses irq11 for all pci devices. The 3 unknown devices are: pci0 2.7 is a sis7012 audio driver pci0 5.0 is a conexant 56k modem pci0 7.0 ia a VIA OHCI Compliant IEEE1394 host controller > > What's probably happening is that we're not recognizing the PHY device that > the sis900 uses, or the card itself is doing something wierd. There is no other output about sis0. -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 1:24: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7B2C37B40A for ; Tue, 1 Oct 2002 01:23:59 -0700 (PDT) Received: from mx3.mail.ru (mx3.mail.ru [194.67.57.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5F7943E3B for ; Tue, 1 Oct 2002 01:23:58 -0700 (PDT) (envelope-from jobforu@bk.ru) Received: from drweb by mx3.mail.ru with drweb-scanned (Exim MX.3) id 17wIJw-000HZQ-00 for freebsd-hackers@freebsd.org; Tue, 01 Oct 2002 12:23:56 +0400 Received: from [81.25.2.62] (helo=jobforU) by mx3.mail.ru with smtp (Exim SMTP.3) id 17wIJv-000HS1-00 for freebsd-hackers@freebsd.org; Tue, 01 Oct 2002 12:23:55 +0400 From: "footman" To: freebsd-hackers@freebsd.org Subject: Ðàáîòà â ñåòè. X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Reply-To: jobForU@bk.ru Date: Tue, 1 Oct 2002 12:22:55 +0300 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-Id: X-Envelope-To: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Çäðàâñòâóéòå. Äî÷èòàéòå äî êîíöà, îáåùàåì, Âàì ïîíðàâèòñÿ. Ïðåäëîæåíèå îò GoldenStream Ïðåäëàãàåì ðàáîòó, êîòîðàÿ áóäåò ïðèíîñèòü Âàì óäîâîëüñòâèå è äîõîä (òîëüêî âåëè÷èíà äîõîäîâ áóäåò íàïðÿìóþ çàâèñåòü îò âàøåé àêòèâíîñòè: áóäåòå ìíîãî ñóåòèòüñÿ – áóäåò ìíîãî äåíåã). Ñóòü ðàáîòû çàêëþ÷àåòñÿ â ðàññûëêå E-MAIL. ÂÑÅ, ×ÒÎ ÂÀÌ ÍÓÆÍÎ ÁÓÄÅÒ ÄÅËÀÒÜ, ÝÒÎ ÐÀÑÑÛËÀÒÜ ÃÎÒÎÂÛÅ ÏÈÑÜÌÀ ÏÎ E-MAIL, È ÂÐÅÌß ÎÒ ÂÐÅÌÅÍÈ ÕÎÄÈÒÜ ÍÀ ÏÎ×ÒÓ ÈËÈ Â ÁÀÍÊ ÇÀ ÄÅÍÜÃÀÌÈ! Ýòîò ïðîåêò ïðèîáðåë îãðîìíóþ ïîïóëÿðíîñòü âî âñåì ìèðå. À ó íàñ â Ðîññèè îí òîëüêî ïîÿâèëñÿ. Ãëàâíîå ïðåèìóùåñòâî - Ìàêñèìàëüíàÿ ïðîñòîòà, è ëåãàëüíîñòü. Ñàìàÿ íèçêàÿ ñåáåñòîèìîñòü çàòðàò çàðàáîòêà â Èíòåðíåòå. ×òîáû âñ¸ ïîëó÷èëîñü, ÍÓÆÍÎ ÒÎËÜÊÎ ÒÎ×ÍÎ ÑËÅÄÎÂÀÒÜ ÈÍÑÒÐÓÊÖÈßÌ. Êàê îáåùàþò: «100 000$ çà 6 ìåñÿöåâ», íå çíàþ, åù¸ íå ïðîâåðèë, íî 1000$ â ìåñÿö äëÿ íà÷àëà – «çåð ãóä, Âàëüäåìàð». Åñëè çàèíòåðåñóåòåñü, íå çàèíòåðåñóåòåñü èëè ïðîñòî òàê – ïèøèòå: job4U@bk.ru Ñ óâàæåíèåì. footman P.S. Åñëè íå õîòèòå, òî ïðîñòî óäàëèòå, à ìàòþêè íå øëèòå è ñïîêîéíî ñïèòå. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 1:44: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38EFB37B401 for ; Tue, 1 Oct 2002 01:44:08 -0700 (PDT) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52AC43E75 for ; Tue, 1 Oct 2002 01:44:07 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id g918i3cE002533; Tue, 1 Oct 2002 01:44:03 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id g918i3gZ002532; Tue, 1 Oct 2002 01:44:03 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Tue, 1 Oct 2002 01:44:03 -0700 From: David Schultz To: Craig Rodrigues Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Comments on new Linux threading implementation? Message-ID: <20021001084403.GA2432@HAL9000.homeunix.com> Mail-Followup-To: Craig Rodrigues , freebsd-hackers@FreeBSD.ORG References: <20020930225234.A22216@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020930225234.A22216@attbi.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Craig Rodrigues : > I saw this post on the Linux kernel mailing list which > describes a major re-write of the POSIX threads implementation > on Linux: > http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.2/1075.html > > > How does this stuff under Linux compare to the scheduler > activation type work going on under FreeBSD > ( http://people.freebsd.org/~julian/threads/ )? Discussed before: http://docs.freebsd.org/mail/archive/2002/freebsd-arch/20020922.freebsd-arch.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 1:58:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57EA037B404 for ; Tue, 1 Oct 2002 01:58:40 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id A785743E75 for ; Tue, 1 Oct 2002 01:58:38 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 8937 invoked from network); 1 Oct 2002 08:58:36 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 1 Oct 2002 08:58:36 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 4142E2FDAB2; Tue, 1 Oct 2002 10:58:33 +0200 (CEST) Date: Tue, 1 Oct 2002 10:58:33 +0200 From: Roman Neuhauser To: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20021001085833.GD30361@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20020923133431.GZ30361@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923133431.GZ30361@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I would like to thank everybody who replied to my post, and especially to Chad David and Chuck Robey. Thanks to your help I have now the system working as I need (with the exception of speed, but that is another issue :) I have another p?make related question, though. I've searched the archives, but cannot find an answer: what is the actual relation between "our" (FreeBSD) make, and pmake? It looks like our make is an old fork, is that right? Also, is there a package of our make? Does it build on other OSes? I need to run my newly created Makefiles on one sorry RedHat box, and the pmake package just doesn't cut it. So, since I couldn't find any other rpm on redhat.com, what are my chances should I, say, want to use /usr/ports/Mk/* on Linux? (Not that this is actually the case, my Makefiles are pretty simple.) -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 10:44AM up 13 days, 17:58, 16 users, load averages: 0.10, 0.09, 0.08 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 4:54:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C906C37B401 for ; Tue, 1 Oct 2002 04:54:50 -0700 (PDT) Received: from mx1.freebsd.org (node-c-07a7.a2000.nl [62.194.7.167]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BF3D43E65 for ; Tue, 1 Oct 2002 04:54:10 -0700 (PDT) (envelope-from danyusuf300@spinfinder.com) From: "MR. DANJUMA YUSUF" Date: Tue, 01 Oct 2002 13:54:10 To: hackers@freebsd.org Subject: Urgent Assistance & Investment MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20021001115410.0BF3D43E65@mx1.FreeBSD.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG STRICTLY CONFIDENTIAL & URGENT. I am a native of Cape Town in South Africa and I am an Executive Accountant with the South Africa MINISTRY OF MINERAL AND ENERGY First and foremost, I apologized using this medium to reach you for a transaction/business of this magnitude, but this is due to Confidentiality and prompt access reposed on this medium. I have decided to seek a confidential co-operation with you in the execution of the deal described Hereunder for the benefit of all parties and hope you will keep it as a top secret because of the nature of this transaction. Within the Department of Mining & Natural Resources where I work as an Executive Accountant and with the cooperation of four other top officials, we have in our possession as overdue payment bills totaling Fifteen Million, Five Hundred Thousand U. S. Dollars ($15,500,000.) which we want to transfer abroad with the assistance and cooperation of a foreign company/individual to receive the said fund on our behalf or a reliable foreign non-company account to receive such funds. More so, we are handicapped in the circumstances, as the South Africa Civil Service Code of Conduct does not allow us to operate offshore account hence your importance in the whole transaction. This amount $15.5m represents the balance of the total contract value executed on behalf of my Department by a foreign contracting firm, which we the officials over-invoiced deliberately. Though the actual contract cost have been paid to the original contractor, leaving the balance in the Tune of the said amount which we have in principles gotten approval to remit by Key tested Telegraphic Transfer (K.T.T) to any foreign bank account you will provide by filing in an application through the Justice Ministry here in South Africa for the transfer of rights and privileges of the former contractor to you. I have the authority of my partners involved to propose that should you be willing to assist us in the transaction, your share of the sum will be 25% of the $15.5 million, 70% for us and 5% for taxation and miscellaneous expenses. The business itself is 100% safe, on your part provided you treat it with utmost secrecy and confidentiality. Also your area of specialization is not a hindrance to the successful execution of this transaction. I have reposed my confidence in you and hope that you will not disappoint me. Endeavor to contact me immediately my e-mail address whether or not you are interested in this deal. If you are not, it will enable me scout for another foreign partner to carry out this deal I want to assure you that my partners and myself are in a position to make the payment of this claim possible provided you can give us a very strong Assurance and guarantee that our share will be secured and please remember to treat this matter as very confidential matter, because we will not comprehend with any form of exposure as we are still in active Government Service and remember once again that time is of the essence in this business. I wait in anticipation of your fullest co-operation. Yours faithfully, DANJUMA YUSUF Please, direct all resopnd to Email: danyusuf700@spinfinder To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 4:59:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8C937B401 for ; Tue, 1 Oct 2002 04:59:56 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 0EA5D43E77 for ; Tue, 1 Oct 2002 04:59:15 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 10840 invoked from network); 1 Oct 2002 11:58:33 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 1 Oct 2002 11:58:33 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 4491A2FDAB2; Tue, 1 Oct 2002 13:57:57 +0200 (CEST) Date: Tue, 1 Oct 2002 13:57:57 +0200 From: Roman Neuhauser To: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20021001115757.GH30361@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20020923133431.GZ30361@freepuppy.bellavista.cz> <20021001085833.GD30361@freepuppy.bellavista.cz> <20021001115214.GA251@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001115214.GA251@HAL9000.homeunix.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # dschultz@uclink.Berkeley.EDU / 2002-10-01 04:52:14 -0700: > Thus spake Roman Neuhauser : > > I have another p?make related question, though. I've searched the > > archives, but cannot find an answer: what is the actual relation between > > "our" (FreeBSD) make, and pmake? It looks like our make is an old fork, > > is that right? Also, is there a package of our make? Does it build on > > other OSes? > > > > I need to run my newly created Makefiles on one sorry RedHat box, and > > the pmake package just doesn't cut it. So, since I couldn't find any > > other rpm on redhat.com, what are my chances should I, say, want to use > > /usr/ports/Mk/* on Linux? (Not that this is actually the case, my > > Makefiles are pretty simple.) > > Just about all `make' implementations in use today are mutually > incompatible; pmake and gmake are no exceptions. If you want to > write portable makefiles, you have to settle for the lowest common > denominator, which is POSIX. Though it pains me to say it, if you > just care about RedHat and FreeBSD, you might as well write your > makefile for gmake and install gmake on FreeBSD from ports. Heh, I'm not going to rewrite the Makefiles when the last remaining RH in house is going to be converted. It's just that it might be two months before I get to it. :] -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 1:56PM up 13 days, 21:11, 16 users, load averages: 0.00, 0.01, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 5: 3:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E2F637B401 for ; Tue, 1 Oct 2002 05:03:36 -0700 (PDT) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB79443E75 for ; Tue, 1 Oct 2002 05:03:34 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id g91BqEuM000307; Tue, 1 Oct 2002 04:52:14 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id g91BqEU4000306; Tue, 1 Oct 2002 04:52:14 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Tue, 1 Oct 2002 04:52:14 -0700 From: David Schultz To: Roman Neuhauser Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20021001115214.GA251@HAL9000.homeunix.com> Mail-Followup-To: Roman Neuhauser , freebsd-hackers@FreeBSD.ORG References: <20020923133431.GZ30361@freepuppy.bellavista.cz> <20021001085833.GD30361@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001085833.GD30361@freepuppy.bellavista.cz> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Roman Neuhauser : > I have another p?make related question, though. I've searched the > archives, but cannot find an answer: what is the actual relation between > "our" (FreeBSD) make, and pmake? It looks like our make is an old fork, > is that right? Also, is there a package of our make? Does it build on > other OSes? > > I need to run my newly created Makefiles on one sorry RedHat box, and > the pmake package just doesn't cut it. So, since I couldn't find any > other rpm on redhat.com, what are my chances should I, say, want to use > /usr/ports/Mk/* on Linux? (Not that this is actually the case, my > Makefiles are pretty simple.) Just about all `make' implementations in use today are mutually incompatible; pmake and gmake are no exceptions. If you want to write portable makefiles, you have to settle for the lowest common denominator, which is POSIX. Though it pains me to say it, if you just care about RedHat and FreeBSD, you might as well write your makefile for gmake and install gmake on FreeBSD from ports. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 8:23:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1930C37B401 for ; Tue, 1 Oct 2002 08:23:32 -0700 (PDT) Received: from colnta.acns.ab.ca (mail.acns.ab.ca [142.179.151.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6481143E77 for ; Tue, 1 Oct 2002 08:23:31 -0700 (PDT) (envelope-from davidc@colnta.acns.ab.ca) Received: from colnta.acns.ab.ca (localhost [127.0.0.1]) by colnta.acns.ab.ca (8.12.6/8.12.5) with ESMTP id g91FMpmI007710; Tue, 1 Oct 2002 09:22:51 -0600 (MDT) (envelope-from davidc@colnta.acns.ab.ca) Received: (from davidc@localhost) by colnta.acns.ab.ca (8.12.6/8.12.6/Submit) id g91FMoc5007709; Tue, 1 Oct 2002 09:22:50 -0600 (MDT) Date: Tue, 1 Oct 2002 09:22:50 -0600 From: Chad David To: Roman Neuhauser Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20021001152250.GA7580@colnta.acns.ab.ca> Mail-Followup-To: Roman Neuhauser , freebsd-hackers@FreeBSD.ORG References: <20020923133431.GZ30361@freepuppy.bellavista.cz> <20021001085833.GD30361@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001085833.GD30361@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 01, 2002 at 10:58:33AM +0200, Roman Neuhauser wrote: > > I need to run my newly created Makefiles on one sorry RedHat box, and > the pmake package just doesn't cut it. So, since I couldn't find any > other rpm on redhat.com, what are my chances should I, say, want to use > /usr/ports/Mk/* on Linux? (Not that this is actually the case, my > Makefiles are pretty simple.) > One of the projects I'm working on is a build system much like FreeBSD's and instead of restricting our features we simply ported pmake from FreeBSD. The Solaris port took me about 10 minutes, while the win32 port was a little more involved (it would be easier without fork() :)), so I doubt a RH port will be difficult (I hesitate to even call it a port). You can either keep your makefiles very simple (good luck!), or you can port pmake and just move the whole system over. Good luck. -- Chad David davidc@acns.ab.ca www.FreeBSD.org davidc@freebsd.org ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 8:28:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42A8537B401 for ; Tue, 1 Oct 2002 08:28:24 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 8DD9743E6E for ; Tue, 1 Oct 2002 08:28:22 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 13273 invoked from network); 1 Oct 2002 15:28:20 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 1 Oct 2002 15:28:20 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id CAE0A2FDAB2; Tue, 1 Oct 2002 17:27:26 +0200 (CEST) Date: Tue, 1 Oct 2002 17:27:26 +0200 From: Roman Neuhauser To: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20021001152726.GL30361@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20020923133431.GZ30361@freepuppy.bellavista.cz> <20021001085833.GD30361@freepuppy.bellavista.cz> <20021001152250.GA7580@colnta.acns.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001152250.GA7580@colnta.acns.ab.ca> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # davidc@issci.ca / 2002-10-01 09:22:50 -0600: > On Tue, Oct 01, 2002 at 10:58:33AM +0200, Roman Neuhauser wrote: > > > > I need to run my newly created Makefiles on one sorry RedHat box, and > > the pmake package just doesn't cut it. So, since I couldn't find any > > other rpm on redhat.com, what are my chances should I, say, want to use > > /usr/ports/Mk/* on Linux? (Not that this is actually the case, my > > Makefiles are pretty simple.) > > > > One of the projects I'm working on is a build system much like FreeBSD's > and instead of restricting our features we simply ported pmake from > FreeBSD. The Solaris port took me about 10 minutes, while the win32 port > was a little more involved (it would be easier without fork() :)), so I > doubt a RH port will be difficult (I hesitate to even call it a port). for someone who doesn't really know C (as in: "I can read some, but finding out how to make a FreeBSD program work on Linux?")? > You can either keep your makefiles very simple (good luck!), or you can > port pmake and just move the whole system over. looks like i'll have to wait till i have the time to reinstall the server. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 5:25PM up 14 days, 40 mins, 18 users, load averages: 0.06, 0.12, 0.10 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 9:45:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED7DB37B401 for ; Tue, 1 Oct 2002 09:45:26 -0700 (PDT) Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8596543E3B for ; Tue, 1 Oct 2002 09:45:25 -0700 (PDT) (envelope-from ady@freebsd.ady.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id TAA53670 for ; Tue, 1 Oct 2002 19:45:21 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) Date: Tue, 1 Oct 2002 19:45:21 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: freebsd-hackers@freebsd.org Subject: "Impossible" error: fixlabel: invalid magic Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Wehever I try to change the disklabel for da2s2 or try to directy write to /dev/da2s2 if fails and prints this weird error: dscheck(#da/0x30012): fixlabel: invalid magic Grep'ing the error message in the sources it leads to this snipped of code in kern/subr_diskslice.c in function fixlabel() (line 855): /* These errors "can't happen" so don't bother reporting details. */ if (lp->d_magic != DISKMAGIC || lp->d_magic2 != DISKMAGIC) return ("fixlabel: invalid magic"); if (dkcksum(lp) != 0) return ("fixlabel: invalid checksum"); Could someone please reveal the mistery behind this "vodoo" code ? Any cause leading to this ? Thanks, Ady (@freebsd.ady.ro) ____________________________________________________________________ | An age is called Dark not because the light fails to shine, but | | because people refuse to see it. | | -- James Michener, "Space" | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 10:21: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D694737B401 for ; Tue, 1 Oct 2002 10:21:02 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE7E143E4A for ; Tue, 1 Oct 2002 10:21:01 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id 7ADB1847EA; Tue, 1 Oct 2002 19:21:00 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id AE9188487E; Tue, 1 Oct 2002 19:20:59 +0200 (CEST) Message-ID: <3D99D97B.2050001@VanHoecke.org> Date: Tue, 01 Oct 2002 19:20:59 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthew Emmerton" Cc: freebsd-hackers Subject: Re: sis900 : sis0 attach returned 6 References: <3D9938E2.40306@VanHoecke.org> <004f01c26910$0b28c650$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt, > What's probably happening is that we're not recognizing the PHY device that > the sis900 uses, or the card itself is doing something wierd. I wondered what would happen under RedHat 7.3 so I installed it on a spare partition. I hoped that this may be helpfull to pinpoint the problem with freebsd. Under RedHat7.3, the sis900 works without any special configuration. Here are the sis related lines in the dmesg output on RedHat 7.3: ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 00:02.0 isapnp: Scanning for PnP cards... ... Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33Mhz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller on PCI bus 00 dev 15 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SiS650 ide0: etc ... ip_conntrack (3839 buckets, 30712 max) sis900.c: v1.08.03 2/1/2002 PCI: Assigned IRQ 5 for device 00:03:0 eth0: Realtek RTL8201 PHY transceiver found at address 1. eth0: Using transceiver found at address 1 as default eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 5, ...(mac address). eth0: Media Link on 10mbps half-duplex And that is the last dmesg line in the RedHat7.3 version. I do hope that this helps in providing sis900 support under freebsd. -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 11:13:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FCEA37B401 for ; Tue, 1 Oct 2002 11:13:51 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CF7743E6E for ; Tue, 1 Oct 2002 11:13:51 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 86031 invoked by uid 1000); 1 Oct 2002 18:13:52 -0000 Date: Tue, 1 Oct 2002 11:13:52 -0700 (PDT) From: Nate Lawson To: Brooks Davis Cc: hackers@FreeBSD.ORG Subject: Re: proper printf fmt type for off_t? In-Reply-To: <20020930183946.A27098@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 30 Sep 2002, Brooks Davis wrote: > On Mon, Sep 30, 2002 at 06:36:39PM -0700, Nate Lawson wrote: > > What's the portable way of printing an off_t? It should work on Linux and > > FreeBSD. Linux seems to recommend casting the off_t to intmax_t which > > isn't present in FreeBSD. This is in usermode. > > In current, intmax_t is defined in stdint.h. In stable, I think you're > SOL and have to cast to quad_t which is totally non-portable. > > -- Brooks Thanks. Yeah I couldn't find intmax_t on -stable and figured someone had an acceptable workaround. I think I'll add my own intmax_t typedef for __FreeBSD_version < 500000. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 13:22:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B9EB37B401 for ; Tue, 1 Oct 2002 13:22:32 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D88743E6E for ; Tue, 1 Oct 2002 13:22:31 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g91KN1bj031770 for ; Tue, 1 Oct 2002 16:23:02 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g91KN18J031769 for freebsd-hackers@freebsd.org; Tue, 1 Oct 2002 16:23:01 -0400 (EDT) Date: Tue, 1 Oct 2002 16:23:00 -0400 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Subject: ACPI programming under FreeBSD? Message-ID: <20021001162300.A31745@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am interested in retrieving power statistics type of information from a system running FreeBSD. I am interested in information such as: power consumed, temperature, percentage of battery available, etc. Is it possible to do this with ACPI, and if so, are there any examples of how to gather this information at the user-level? How stable is ACPI support in -STABLE and -CURRENT for this kind of work? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 13:41:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE05037B401 for ; Tue, 1 Oct 2002 13:41:16 -0700 (PDT) Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F05843E75 for ; Tue, 1 Oct 2002 13:41:14 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g91Kf4Y66089; Wed, 2 Oct 2002 05:41:05 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Wed, 02 Oct 2002 05:40:57 +0900 (JST) Message-Id: <20021002.054057.109173550.iwasaki@jp.FreeBSD.org> To: rodrigc@attbi.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ACPI programming under FreeBSD? From: Mitsuru IWASAKI In-Reply-To: <20021001162300.A31745@attbi.com> References: <20021001162300.A31745@attbi.com> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > I am interested in retrieving power statistics type of information from a > system running FreeBSD. I am interested in information such as: > power consumed, temperature, percentage of battery available, etc. > > Is it possible to do this with ACPI, and if so, are there any > examples of how to gather this information at the user-level? Yes, you can get them via sysctl, like % sysctl hw.acpi hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S4 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S4 hw.acpi.suspend_state: S4 hw.acpi.sleep_delay: 0 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.cpu.max_speed: 8 hw.acpi.cpu.current_speed: 8 hw.acpi.cpu.performance_speed: 8 hw.acpi.cpu.economy_speed: 8 hw.acpi.thermal.min_runtime: 300 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3262 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3652 hw.acpi.thermal.tz0._ACx: 3372 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.acline: 0 hw.acpi.battery.life: 99 hw.acpi.battery.time: 357 hw.acpi.battery.state: 1 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 30 I think my fivamon (Monitor for ACPI and Crusoe Longrun info.) will be an example of application development. It's diff against wmmon Dock. http://people.freebsd.org/~iwasaki/acpi/fivamon-20011124.diff http://people.freebsd.org/~iwasaki/acpi/fivamon-1.gif http://people.freebsd.org/~iwasaki/acpi/fivamon-2.gif http://people.freebsd.org/~iwasaki/acpi/fivamon-3.gif > How stable is ACPI support in -STABLE and -CURRENT for this > kind of work? Currently ACPI support is available in only -CURRENT. But John Baldwin (jhb@FreeBSD.org) has patches for -STABLE. The stability is depending on what machine you have, I think. If you have the same machine with ACPI developer, the machine is supported very well :-) Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 13:58: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA28537B404 for ; Tue, 1 Oct 2002 13:58:05 -0700 (PDT) Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B09843E42 for ; Tue, 1 Oct 2002 13:58:04 -0700 (PDT) (envelope-from flag@libero.it) Received: from southcross.skynet.org (151.29.206.161) by smtp3.libero.it (6.5.028) id 3D8B3EFF004EFD90 for freebsd-hackers@FreeBSD.ORG; Tue, 1 Oct 2002 22:57:56 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 2134B784A; Tue, 1 Oct 2002 23:01:31 +0200 (CEST) Date: Tue, 1 Oct 2002 23:01:30 +0200 From: Paolo Pisati To: FreeBSD_Hackers Subject: coredump incomplete Message-ID: <20021001210130.GA396@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to reproduce a bug of my system, and create a dump but, just after my system rebooted, at the end of the boot process, savecore found a seek problem or something like that and the vmcore created was of only 10 bytes!!! =P which errors did i make?!?!? -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 14:23:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EECF937B401 for ; Tue, 1 Oct 2002 14:23:19 -0700 (PDT) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 827CB43E86 for ; Tue, 1 Oct 2002 14:23:18 -0700 (PDT) (envelope-from flag@libero.it) Received: from southcross.skynet.org (151.29.205.217) by smtp2.libero.it (6.5.028) id 3D8B3DDE004F1259 for freebsd-hackers@FreeBSD.ORG; Tue, 1 Oct 2002 23:23:13 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 87F72784A; Tue, 1 Oct 2002 23:26:49 +0200 (CEST) Date: Tue, 1 Oct 2002 23:26:49 +0200 From: Paolo Pisati To: FreeBSD_Hackers Subject: Crash dump problem Message-ID: <20021001212649.GA368@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After a spontaneous reboot, i received this msg: checking for core dump: savecore: reboot after panic: page fault Oct 1 23:13:22 southcross savecore: reboot after panic: page fault savecore: system went down at Tue Oct 1 23:09:20 2002 savecore: writing compressed core to /usr/home/flag//vmcore.1.gz savecore: /usr/home/flag//vmcore.1.gz: Illegal seek Oct 1 23:13:22 southcross savecore: /usr/home/flag//vmcore.1.gz: Illegal seek savecore: WARNING: vmcore may be incomplete what's wrong? -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 14:37:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD10037B401 for ; Tue, 1 Oct 2002 14:37:50 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE28143E81 for ; Tue, 1 Oct 2002 14:37:48 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id A4E973ABD49; Tue, 1 Oct 2002 23:38:48 +0200 (CEST) Date: Tue, 1 Oct 2002 23:38:48 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Subject: Getfsstat(2), statfs(2) and fstatfs(2) jailed. Message-ID: <20021001213848.GK19012@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="dngyMJhgXGAL5Gb8" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --dngyMJhgXGAL5Gb8 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello hackers... http://garage.freebsd.pl/jailfsstat.tgz http://garage.freebsd.pl/jailfsstat.README With this kernel module for FreeBSD 4.x process in jail can see only file systems that are mounted in jail's chroot directory. For example if we have mounted: FN FP 1 / 2 /bin 3 /sbin 4 /usr 5 /jails 6 /jails/prison/etc 7 /jails/prison/bin 8 /jails/prison/sbin 9 /jails/prison/usr FN - file system number FP - file system path and now we calling jail(2) with path /jails/prison. If we check mounted file systems inside of jail we got: FN FP 5 / 6 /etc 7 /bin 8 /sbin 9 /usr Now getfsstat(2) returns only file systems that are in chroot directory with cuted path names. "/" is file system where chroot directory is mounted on. Statfs(2) and fstatfs(2) also returns cuted paths. Why this isn't a part of jail(2) implementation? Maybe I'm missing something? --=20 Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. --dngyMJhgXGAL5Gb8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPZoV6D/PhmMH/Mf1AQEgWAQAlJ8KYldPoTFuotzHMr43gPMk3TC+EXqS OJ1igFW2/JYwrO8i9NlHkQ5oZEdwXXM8+fqCo4er16gGmfyxGcPNACCsDF5B+f3X jb7Q3JwDPzGqIj2Vbn1gx43sJveeBfwCDzbqmJAhMb4gh4l/FioLTFkdT14bzifd nWmuKoc46Jg= =+DX3 -----END PGP SIGNATURE----- --dngyMJhgXGAL5Gb8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 14:44:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78A0637B401 for ; Tue, 1 Oct 2002 14:44:31 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561D343E4A for ; Tue, 1 Oct 2002 14:44:30 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from fwd04.sul.t-online.de by mailout01.sul.t-online.com with smtp id 17wUof-0005ru-00; Tue, 01 Oct 2002 23:44:29 +0200 Received: from pc5.abc (520067998749-0001@[217.233.107.218]) by fmrl04.sul.t-online.com with esmtp id 17wUoP-0vHOdcC; Tue, 1 Oct 2002 23:44:13 +0200 Received: from pc5.abc (localhost.abc [127.0.0.1]) by pc5.abc (8.12.3/8.12.3) with ESMTP id g91LiCNG061481 for ; Tue, 1 Oct 2002 23:44:12 +0200 (CEST) (envelope-from nicolas@pc5.abc) Received: (from nicolas@localhost) by pc5.abc (8.12.3/8.12.3/Submit) id g91LiBn4061480 for freebsd-hackers@FreeBSD.ORG; Tue, 1 Oct 2002 23:44:11 +0200 (CEST) Date: Tue, 1 Oct 2002 23:44:11 +0200 From: Nicolas Rachinsky To: FreeBSD_Hackers Subject: Re: coredump incomplete Message-ID: <20021001214411.GA60784@narr.dauerreden.de> Mail-Followup-To: FreeBSD_Hackers References: <20021001210130.GA396@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001210130.GA396@southcross.skynet.org> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc User-Agent: Mutt/1.5.1i X-Sender: 520067998749-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Paolo Pisati [2002-10-01 23:01 +0200]: > > I'm trying to reproduce a bug of my system, and create a dump but, > just after my system rebooted, at the end of the > boot process, savecore found a seek problem or something like > that and the vmcore created was of only 10 bytes!!! =P > > which errors did i make?!?!? Don't use the -z flag. see http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/36136 Nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 15:41:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 303F937B401 for ; Tue, 1 Oct 2002 15:41:40 -0700 (PDT) Received: from subterrain.net (subterrain.net [66.179.0.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F6343E42 for ; Tue, 1 Oct 2002 15:41:39 -0700 (PDT) (envelope-from jbl@subterrain.net) Received: from subterrain.net (jbl@localhost [127.0.0.1]) by subterrain.net (8.12.6/8.12.6) with ESMTP id g91Mfblh085863; Tue, 1 Oct 2002 15:41:38 -0700 (PDT) (envelope-from jbl@subterrain.net) Received: (from jbl@localhost) by subterrain.net (8.12.6/8.12.6/Submit) id g91MfVVX085862; Tue, 1 Oct 2002 15:41:31 -0700 (PDT) Date: Tue, 1 Oct 2002 15:41:31 -0700 From: Justin Lundy To: freebsd-hackers@FreeBSD.ORG Cc: brian@ukip.com Subject: Re: Problem: Too Many open files Message-ID: <20021001224131.GA85747@subterrain.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You are running out of file descriptors. Tune your kern.maxfiles and kern.maxfilesperproc sysctl values to allow the system to open more. I had a similar problem after creating 3,400 virtual hosts in Apache on one of our production servers. Here is a blockquote from Section 6.10.1 File/Process Limits, subsection 6.10.1.1 kern.maxfiles in the FreeBSD Handbook that will help: [1] "Each open file, socket, or fifo uses one file descriptor. A large-scale production server may easily require many thousands of file descriptors, depending on the kind and number of services running concurrently. kern.maxfile's default value is dictated by the MAXUSERS option in your kernel configuration file. kern.maxfiles grows proportionally to the value of MAXUSERS. When compiling a custom kernel, it is a good idea to set this kernel configuration option according to the uses of your system. From this number, the kernel is given most of its pre-defined limits. Even though a production machine may not actually have 256 users connected as once, the resources needed may be similar to a high-scale web server. Note: As of FreeBSD 4.5, setting MAXUSERS to 0 in your kernel configuration file will choose a reasonable default value based on the amount of RAM present in your system." References: [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html --jbl On Fri, May 31, 2002 at 10:03:09AM +0100, Bri wrote: > Hi I'm getting a Too Many open files message on a FreeBSD 4.5-RELEASE > machine of mine I originally had the disk in a AMD k5 150 machine with 48MB > or RAM and it ran fine and the drive was on the Promise Ultra TX2 controller > card and it all worked fine. Now that I've put the drive in a much bigger > machine with 500 K6-2 with 512MB or ram it starts getting a Too many open > files problem > > Even trying to run ls -l gives the messages all though my net access stays > running as natd continues not matter what it seems it says its something to > do with /dev/kmem but I'm not sure what this does with memory. > > I don't see any reason a bigger machine should fail where a smaller one > worked fine maybe I should cvsup my kernel sources my current compile is > Feburary 29 09:53am 2002 maybe a bit old. > > oh yeah the Hard disk is my trusty IBM 40GB the 7200RPM with 2MB Cache model > which has always worked great. > > any help appreicated. > > Bri, > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 15:50:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EAEC37B401 for ; Tue, 1 Oct 2002 15:50:28 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EB343E6E for ; Tue, 1 Oct 2002 15:50:27 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0370.cvx21-bradley.dialup.earthlink.net ([209.179.193.115] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17wVqT-0004IQ-00; Tue, 01 Oct 2002 15:50:26 -0700 Message-ID: <3D9A2663.30B4E49F@mindspring.com> Date: Tue, 01 Oct 2002 15:49:07 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Justin Lundy Cc: freebsd-hackers@FreeBSD.ORG, brian@ukip.com Subject: Re: Problem: Too Many open files References: <20021001224131.GA85747@subterrain.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Justin Lundy wrote: > You are running out of file descriptors. Tune your kern.maxfiles and > kern.maxfilesperproc sysctl values to allow the system to open more. > I had a similar problem after creating 3,400 virtual hosts in Apache > on one of our production servers. [ ... ] > "Each open file, socket, or fifo uses one file descriptor. A large-scale > production server may easily require many thousands of file descriptors, > depending on the kind and number of services running concurrently. This has to be done at boot time, or it will not allocate a larger number of inpcb's and tcpcb's, which are allocated at boot time by pre-reserving KVA space for zalloci(). The number of sockets will limit the number of total connections you can make, even if you jack the "maxfiles" up, if you jack the number up after boot. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 17:13:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D970137B401 for ; Tue, 1 Oct 2002 17:13:55 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D77443E42 for ; Tue, 1 Oct 2002 17:13:55 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id E50938409F; Wed, 2 Oct 2002 01:51:51 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id 405DB83D94; Wed, 2 Oct 2002 01:51:51 +0200 (CEST) Message-ID: <3D9A3516.2020609@VanHoecke.org> Date: Wed, 02 Oct 2002 01:51:50 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Emmerton Cc: freebsd-hackers Subject: Re: sis900 : sis0 attach returned 6 References: <3D9938E2.40306@VanHoecke.org> <004f01c26910$0b28c650$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt, > What's probably happening is that we're not recognizing the PHY device that > the sis900 uses, or the card itself is doing something wierd. This desknote computrer came with an OEM version of ThisLinux. So I installed that to find out how it handles the sis900 and all other pci-devices. As expected, all devices are handled properly: the ethernet carc, the display, the audio etc. I hand-copied the PCI information displayed in the KDE Control Center (again with the hope that this might help in fixing the problem under FreeBSD): 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown \ device 0650 (rev 01) Flags: bus master, medium devsel, latency 32 Memory at e0000000 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 2.0 00:01.0 PCI Bridge: Silicon Integrated Systems [SiS]: \ 5591/5592 AGP (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00009000-00009fff Memory behind bridge: dfe00000-dfefffff Prefetchable memory behind bridge: cfc00000-dfcfffff 00:02.0 ISA Bridge: Silicon Integrated Systems [SiS] 85C503/5513 Flags: bus master, medium devsel, latency 0 00:02.5 IDE interface Silicon Integrated Systems [SiS] 5513 [IDE] \ (rev d0) (prog-if 80 [Master]} Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE \ Controller (A,B step) Flags: bus master, fast devsel, latency 16 I/O ports at ff00 [size=16] 00:02.7 Multimedia audio controller: Silicon Integrated Systems \ [SiS] SiS7012 PCI Audio Accelerator (rev a0) Subsystem: Elitegroup Computer Systems: Unknown device 0f05 Flags: bus master, medium devsel, latency 64, IRQ 10 I/O ports at dc00 [size=256] I/O ports at d800 [size=128] Capabilities: [48] Power Management version 2 00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] \ SiS900 10/100 Ethernet (rev 90) Subsystem: Elitegroup Computer Systems: Unknown devoce 0f05 Flags: bus master, medium devsel, latency 64, IRQ 5 I/O ports at d400 [size=256] Memory at dfffb000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at dffc0000 [disabled] [size=128K] Capabilities: [40] Power Management version 2 00:05.0 Communication controller: Conexant HSF 56k HSFi \ Modem (rev 01) Subsysten: Conexant: Unknown device 2003 Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at dffe0000 (32-bit, non-prefetchable) [size=64K] I/O ports at d000 [size=8] Capabilities: [48] Power Management version 2 00:07.0 FireWire (IEEE 1394): Via Technologies, Inc. OHCI Compliant \ IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI]) Subsystem: Via Technologies, Inc. OHCI Compliant IEEE 1394 Host \ Controller Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at dfffa800 (32-bit, non-prefetchable) [size=2K] I/O ports at cc00 [size=128] Capabilities: [50] Power Management version 2 00:08.0 USB Controller: Via Technologies, Inc. UHCI USB (rev 50) \ (prog-if 00 [UHCI]) Subsystem: Unknown device 0925:1234 Flags: bus master, medium devsel, latency 64, IRQ 5 I/O ports at c400 [size=32] Capabilities: [80] Power Management version 2 00:08.1 USB Controller: Via Technologies, Inc. UHCI USB (rev 50) \ (prog-if 00 [UHCI]) Subsystem: Unknown device 0925:1234 Flags: bus master, medium devsel, latency 64, IRQ 10 I/O ports at c800 [size=32] Capabilities: [80] Power Management version 2 00:08.2 USB Controller: Via Technologies, Inc. Unknown device 3104 \ (rev 51) (prog-if 20) Subsystem: Unknown device 0925:1234 Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at dfffa700 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 01:00.o VGA compatible controller: Silicon Integrated Systems [SiS]: \ Unknown device 6325 (prog-if 00 [VGA]) Subsystem: Elitegroup Computer Systems: Unknown device 0f05 Flags: 66Mhz, medium devsel, IRQ 11 BIST result: 00 Memory at d0000000 (32-bit, prefetchable) [size=128M] Memory at dfee0000 (32-bit, non-prefetchable) [size=128K] I/O ports at 9c00 [size=128] Capabilities: [40] Power Management version 1 Capabilities: [50] AGP version 2.0 HTH, -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 18:11:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4012737B401 for ; Tue, 1 Oct 2002 18:11:57 -0700 (PDT) Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E0243E65 for ; Tue, 1 Oct 2002 18:11:56 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.54]) by tomts14-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021002011154.TZYU27522.tomts14-srv.bellnexxia.net@xena.gsicomp.on.ca>; Tue, 1 Oct 2002 21:11:54 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g91Npue08222; Tue, 1 Oct 2002 19:51:56 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00f101c269b0$b2d48d30$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: Cc: Subject: Re: sis900: sis0 attach returned 6 Date: Tue, 1 Oct 2002 21:11:54 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Guido, I did some more digging and it appears the bigger problem is that the RTL8201 external PHY isn't supported (yet) in FreeBSD. Patches to support this PHY, along with reports of successful testing in numerous configurations, are reported in PR kern/30836 (and kern/35691). This PR has been sitting in GNATS since March - does anyone want to step and commit it? It seems that this chipset is frequently used on motherboards with embedded ethernet, so it would be nice to have this supported RSN. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 1 22:52:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8809137B406 for ; Tue, 1 Oct 2002 22:52:57 -0700 (PDT) Received: from smtpariane.oleane.net (smtpariane.oleane.net [195.25.12.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3359843E81 for ; Tue, 1 Oct 2002 22:52:55 -0700 (PDT) (envelope-from kamion@oleane.net) Received: from s2.ws.oleane.net (s2.ws.oleane.net [194.2.28.18]) by smtpariane.oleane.net with ESMTP id g925qs920760 for ; Wed, 2 Oct 2002 07:52:54 +0200 Received: (from kamion@localhost) by s2.ws.oleane.net (8.9.3/8.9.3/Debian 8.9.3-21) id HAA01013; Wed, 2 Oct 2002 07:52:54 +0200 Date: Wed, 2 Oct 2002 07:52:54 +0200 Message-Id: <200210020552.HAA01013@s2.ws.oleane.net> To: , www.chapodo.com@FreeBSD.ORG From: bernardac@freefunds.com (bernardac@freefunds.com) Subject: RE: YOUR FREE MORTGAGE QUOTE... Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Voici le résultat du formulaire envoyé par bernardac@freefunds.com (bernardac@freefunds.com) le Mercredi, Octobre 2, 2002 at 07:52:54 --------------------------------------------------------------------------- 0h71: TODAY MORTGAGE RATES HIT THE LOWEST EVER. WE CAN GIVE YOU A 3% RATE FOR 30 YEARS WITH NO CLOSING COSTS. FOR A FREE QUOTES AND MORE INFORMATION CLICK HERE! q4uhy --------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 1: 8:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E60B237B401 for ; Wed, 2 Oct 2002 01:08:08 -0700 (PDT) Received: from mx1.freebsd.org (node-c-07a7.a2000.nl [62.194.7.167]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C45D43E4A for ; Wed, 2 Oct 2002 01:08:08 -0700 (PDT) (envelope-from danyusuf500@spinfinder.com) From: "MR. DANJUMA YUSUF" Date: Wed, 02 Oct 2002 10:08:13 To: freebsd-hackers@freebsd.org Subject: Urgent Assistance & Investment MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20021002080808.0C45D43E4A@mx1.FreeBSD.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG STRICTLY CONFIDENTIAL & URGENT. I am a native of Cape Town in South Africa and I am an Executive Accountant with the South Africa MINISTRY OF MINERAL AND ENERGY First and foremost, I apologized using this medium to reach you for a transaction/business of this magnitude, but this is due to Confidentiality and prompt access reposed on this medium. I have decided to seek a confidential co-operation with you in the execution of the deal described Hereunder for the benefit of all parties and hope you will keep it as a top secret because of the nature of this transaction. Within the Department of Mining & Natural Resources where I work as an Executive Accountant and with the cooperation of four other top officials, we have in our possession as overdue payment bills totaling Fifteen Million, Five Hundred Thousand U. S. Dollars ($15,500,000.) which we want to transfer abroad with the assistance and cooperation of a foreign company/individual to receive the said fund on our behalf or a reliable foreign non-company account to receive such funds. More so, we are handicapped in the circumstances, as the South Africa Civil Service Code of Conduct does not allow us to operate offshore account hence your importance in the whole transaction. This amount $15.5m represents the balance of the total contract value executed on behalf of my Department by a foreign contracting firm, which we the officials over-invoiced deliberately. Though the actual contract cost have been paid to the original contractor, leaving the balance in the Tune of the said amount which we have in principles gotten approval to remit by Key tested Telegraphic Transfer (K.T.T) to any foreign bank account you will provide by filing in an application through the Justice Ministry here in South Africa for the transfer of rights and privileges of the former contractor to you. I have the authority of my partners involved to propose that should you be willing to assist us in the transaction, your share of the sum will be 25% of the $15.5 million, 70% for us and 5% for taxation and miscellaneous expenses. The business itself is 100% safe, on your part provided you treat it with utmost secrecy and confidentiality. Also your area of specialization is not a hindrance to the successful execution of this transaction. I have reposed my confidence in you and hope that you will not disappoint me. Endeavor to contact me immediately my e-mail address whether or not you are interested in this deal. If you are not, it will enable me scout for another foreign partner to carry out this deal I want to assure you that my partners and myself are in a position to make the payment of this claim possible provided you can give us a very strong Assurance and guarantee that our share will be secured and please remember to treat this matter as very confidential matter, because we will not comprehend with any form of exposure as we are still in active Government Service and remember once again that time is of the essence in this business. I wait in anticipation of your fullest co-operation. Yours faithfully, DANJUMA YUSUF Please, direct all resopnd to Email: danyusuf700@spinfinder To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 2: 4:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF37937B401 for ; Wed, 2 Oct 2002 02:04:24 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CA9E43E42 for ; Wed, 2 Oct 2002 02:04:24 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g9294K95004209; Wed, 2 Oct 2002 11:04:20 +0200 Received: (nullmailer pid 872 invoked by uid 1000); Wed, 02 Oct 2002 08:17:10 -0000 Date: Wed, 2 Oct 2002 10:17:10 +0200 From: Mark Santcroos To: Craig Rodrigues Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ACPI programming under FreeBSD? Message-ID: <20021002081710.GA842@laptop.6bone.nl> References: <20021001162300.A31745@attbi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20021001162300.A31745@attbi.com> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Status: NONE ; -1132 X-RIPE-Spam-Level: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I have a very simple program that does exactly this using sysctl's. Find it attached. ACPI developers, there is alot more information available in the kernel about ACPI that we don't export to userland yet. Do you think we should do that using more sysctl's or should we implement some ioctl's on /dev/acpi to retrieve the information? Mark On Tue, Oct 01, 2002 at 04:23:00PM -0400, Craig Rodrigues wrote: > Hi, > > I am interested in retrieving power statistics type of information from a > system running FreeBSD. I am interested in information such as: > power consumed, temperature, percentage of battery available, etc. > > Is it possible to do this with ACPI, and if so, are there any > examples of how to gather this information at the user-level? > > How stable is ACPI support in -STABLE and -CURRENT for this > kind of work? > > Thanks. > -- > Craig Rodrigues > http://www.gis.net/~craigr > rodrigc@attbi.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="acpistat.c" #define KELVIN_TO_CELSIUS(t) ((t-2732+5)/10) #include int main() { int ret; int intbuf; size_t len; ret=sysctlbyname("hw.acpi.thermal.tz0.temperature",&intbuf,&len,NULL,0); if(ret==0) printf("tz0 temperarture: %d C\n",KELVIN_TO_CELSIUS(intbuf)); ret=sysctlbyname("hw.acpi.thermal.tz0._CRT",&intbuf,&len,NULL,0); if(ret==0) printf("tz0 crit temperarture: %d C\n",KELVIN_TO_CELSIUS(intbuf)); ret=sysctlbyname("hw.acpi.acline",&intbuf,&len,NULL,0); if(ret==0) printf("AC Line status: %s\n",intbuf?"online":"offline"); ret=sysctlbyname("hw.acpi.battery.units",&intbuf,&len,NULL,0); if(ret==0) printf("Number of battery units: %d\n",intbuf); ret=sysctlbyname("hw.acpi.battery.state",&intbuf,&len,NULL,0); if(ret==0) printf("Battery state: %d\n",intbuf); ret=sysctlbyname("hw.acpi.battery.life",&intbuf,&len,NULL,0); if(ret==0) printf("Remaining battery life: %d%%\n",intbuf); ret=sysctlbyname("hw.acpi.battery.time",&intbuf,&len,NULL,0); if(ret==0) printf("Remaining battery time: %d:%d\n",intbuf/60,intbuf%60); printf("crit: %d\n",KELVIN_TO_CELSIUS(3732)); return(0); } --KsGdsel6WgEHnImy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 3:28: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF7C37B401 for ; Wed, 2 Oct 2002 03:28:06 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F22B43E75 for ; Wed, 2 Oct 2002 03:28:05 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id A241F3ABD6E; Wed, 2 Oct 2002 12:29:16 +0200 (CEST) Date: Wed, 2 Oct 2002 12:29:16 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Subject: Bug in nullfs? Message-ID: <20021002102916.GN19012@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="lYtTbTuCUQxZgETo" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --lYtTbTuCUQxZgETo Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello hackers. I have found something like this, but I'm not sure of this is a bug in nullfs: # cd # mkdir dir1 # mkdir dir1/dir2 # mkdir dir3 # mount_null dir1 dir3 Now simple proram "test": -----[ start ]----- #include #include #include #include #include #include int main(int argc, char *argv[]) { char buf[MAXPATHLEN]; /* I just want to be sure that I'm calling syscall directly. */ if (syscall(SYS___getcwd, buf, sizeof buf) !=3D 0) { fprintf(stderr, "%s: %s\n", argv[0], strerror(errno)); exit(1); } printf("out: [%s]\n", buf); exit(0); } -----[ end ]----- And now: # cd ~/dir3/dir1 # /path/to/test /path/to/test: Not a directory Problem is here (line 571 in /sys/kern/vfs_cache.c): if (vp->v_dd->v_id !=3D vp->v_ddid) { numcwdfail1++; free(buf, M_TEMP); return (ENOTDIR); } If "dir3" is for example NFS mount-point there are no problems. Any ideas? --=20 Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. --lYtTbTuCUQxZgETo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPZrKfD/PhmMH/Mf1AQE24gP/RSm+gnBGo3npTQe8hL4tXQjkM32mfZkb 79SJ0w8WssRFHy5Q/FsjIa6I+UYunQDE2dGylyVvzEYKwsr7Ia0hvCefKsiiTJoF 9Dr/OVuXVG7MtJ0+kQFNx6zadI9YaxT4knf/bpNJQI354CM+1PBshDKjYAE1QrV8 KkcYJ193kKc= =Z7Bp -----END PGP SIGNATURE----- --lYtTbTuCUQxZgETo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 3:34:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90F5337B401 for ; Wed, 2 Oct 2002 03:34:52 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF57143E6E for ; Wed, 2 Oct 2002 03:34:51 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g92AYnmC066078 for ; Wed, 2 Oct 2002 12:34:50 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g92AYnvv066077; Wed, 2 Oct 2002 12:34:49 +0200 (CEST) Date: Wed, 2 Oct 2002 12:34:49 +0200 (CEST) Message-Id: <200210021034.g92AYnvv066077@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: ACPI programming under FreeBSD? In-Reply-To: <20021002081710.GA842@laptop.6bone.nl> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mark Santcroos wrote: > ACPI developers, there is alot more information available in the kernel about > ACPI that we don't export to userland yet. > Do you think we should do that using more sysctl's or should we implement > some ioctl's on /dev/acpi to retrieve the information? I'm not an ACPI developer, but I really like the sysctl interface, because it enables you to retrieve information from within scripts easily. For ioctls you would have to write a separate tool to be able to access it. Just my 0.02 Euro. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 3:39:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5828337B401 for ; Wed, 2 Oct 2002 03:39:43 -0700 (PDT) Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5622743E6E for ; Wed, 2 Oct 2002 03:39:42 -0700 (PDT) (envelope-from db@traceroute.dk) Received: from rafter. (213.237.112.252.adsl.arsy.worldonline.dk [213.237.112.252]) by smtp020.tiscali.dk (8.12.5/8.12.5) with SMTP id g92AcG5d010603 for ; Wed, 2 Oct 2002 12:38:16 +0200 (MEST) From: Socketd Date: Wed, 02 Oct 2002 10:44:29 GMT Message-ID: <20021002.10442900.1477136604@rafter.> Subject: Re: ACPI programming under FreeBSD? To: freebsd-hackers@FreeBSD.ORG In-Reply-To: <200210021034.g92AYnvv066077@lurza.secnetix.de> References: <200210021034.g92AYnvv066077@lurza.secnetix.de> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 10/2/02, 12:34:49 PM, Oliver Fromme wrote regardin= g=20 Re: ACPI programming under FreeBSD?: > Mark Santcroos wrote: > > ACPI developers, there is alot more information available in the ke= rnel=20 about > > ACPI that we don't export to userland yet. > > Do you think we should do that using more sysctl's or should we=20 implement > > some ioctl's on /dev/acpi to retrieve the information? > I'm not an ACPI developer, but I really like the sysctl > interface, because it enables you to retrieve information > from within scripts easily. For ioctls you would have to > write a separate tool to be able to access it. I think the list of sysctl entries is pretty long as it is. > Just my 0.02 Euro. Just my 25 =F8re (or 0.25 kroner). Br socketd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 3:45:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC2EA37B401 for ; Wed, 2 Oct 2002 03:45:39 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E926643E4A for ; Wed, 2 Oct 2002 03:45:38 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g92AjamC066300 for ; Wed, 2 Oct 2002 12:45:37 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g92AjaMU066299; Wed, 2 Oct 2002 12:45:36 +0200 (CEST) Date: Wed, 2 Oct 2002 12:45:36 +0200 (CEST) Message-Id: <200210021045.g92AjaMU066299@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: Getfsstat(2), statfs(2) and fstatfs(2) jailed. In-Reply-To: <20021001213848.GK19012@garage.freebsd.pl> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Pawel Jakub Dawidek wrote: > With this kernel module for FreeBSD 4.x process in jail can see only > file systems that are mounted in jail's chroot directory. > > For example if we have mounted: > [...] Also see PR 26740: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/26740 BTW, does your patch work if the process that created the jail was already chrooted (possibly with a root different from the root of the process that mounted the filesystem)? There are a lot of non-trivial cases ... Another issue might be the degraded efficiency if there are a lot of mounts (I mean _really_ many). Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 8:19:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA46437B401 for ; Wed, 2 Oct 2002 08:19:40 -0700 (PDT) Received: from www.computing.com (rrcs-sw-24-153-183-126.biz.rr.com [24.153.183.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id C557443E65 for ; Wed, 2 Oct 2002 08:19:36 -0700 (PDT) (envelope-from jmr@computing.com) Received: from cube.computing.com (cube.computing.com [10.0.0.43]) by www.computing.com (8.12.4/8.12.4) with ESMTP id g92FJXXb079744 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 2 Oct 2002 10:19:34 -0500 (CDT) Date: Wed, 2 Oct 2002 10:19:34 -0500 Subject: Re: sis900 : sis0 attach returned 6 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: Guido Van Hoecke To: hackers@FreeBSD.ORG From: Jim Rowan In-Reply-To: Message-Id: <5B4CA406-D61A-11D6-96EB-003065A913C6@computing.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Matthew Emmerton" > Subject: Re: sis900: sis0 attach returned 6 > > Guido, > > I did some more digging and it appears the bigger problem is that the > RTL8201 external PHY isn't supported (yet) in FreeBSD. Patches to support > this PHY, along with reports of successful testing in numerous > configurations, are reported in PR kern/30836 (and kern/35691). > > This PR has been sitting in GNATS since March - does anyone want to step > and > commit it? It seems that this chipset is frequently used on motherboards > with embedded ethernet, so it would be nice to have this supported RSN. It works for me... is the RTL8201L different? This happens to be on 4.7 RC2, but it has worked since 4.6, or shortly thereafter, if I recall correctly. (This machine also has a realtek card in it...) sis0: port 0xd000-0xd0ff mem 0xcfffc000-0xcfffcfff irq 12 at device 3.0 on pci0 sis0: Ethernet address: 00:d0:09:de:34:ee miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: port 0xcc00-0xccff mem 0xcfffbf00-0xcfffbfff ir q 15 at device 11.0 on pci0 rl0: Ethernet address: 00:50:bf:77:6f:44 miibus1: on rl0 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Jim Rowan jmr@computing.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 8:31:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5CD37B401 for ; Wed, 2 Oct 2002 08:31:48 -0700 (PDT) Received: from euclyde.cwglobal.ch (euclyde.cwglobal.ch [144.85.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BD4643E4A for ; Wed, 2 Oct 2002 08:31:47 -0700 (PDT) (envelope-from jmab@euclyde.cwglobal.ch) Received: from euclyde.cwglobal.ch (localhost.cwglobal.ch [127.0.0.1]) by euclyde.cwglobal.ch (8.12.3/8.12.3) with ESMTP id g92FVlIc069942 for ; Wed, 2 Oct 2002 17:31:47 +0200 (CEST) (envelope-from jmab@euclyde.cwglobal.ch) Received: (from jmab@localhost) by euclyde.cwglobal.ch (8.12.5/8.12.3/Submit) id g92FVfhC069941 for freebsd-hackers@freebsd.org; Wed, 2 Oct 2002 17:31:41 +0200 (CEST) Date: Wed, 2 Oct 2002 17:31:41 +0200 From: bsd@gve.ch To: freebsd-hackers@freebsd.org Subject: sis0 - phy problem Message-ID: <20021002153141.GA69901@gve.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, i also encounter problem with sis0 nic onboard. here is an extract from dmesg: FreeBSD 4.6.2-RELEASE sis0: port 0xd400-0xd4ff mem 0xe7800000-0xe7800fff irq \ at device 1.1 on pci0 sis0: Ethernet address: 00:00:00:00:00:00 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ohci0: mem 0xe7000000-0xe7000fff irq 5 at device 1.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 [...] rl0: Ethernet address: 00:50:22:9b:c7:24 miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto i tried to force and hard code a mac address for the sis0, but it really seems that PHY isn't well recognized. well, i will see if 4.7RC2 it works, but i'd like to hear from anyone experiencing the same, or if anyone has a clue, he is wellcome -------------------------------------------------------------------- Key fingerprint = D34A 577C 869B 28A2 3886 4298 50CB DC18 31A4 ACAD -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 10:16: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA4B037B401 for ; Wed, 2 Oct 2002 10:16:02 -0700 (PDT) Received: from hotmail.com (f104.sea1.hotmail.com [207.68.163.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CBAF43E6E for ; Wed, 2 Oct 2002 10:16:02 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 2 Oct 2002 10:16:02 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Wed, 02 Oct 2002 17:16:01 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: freebsd-hackers@freebsd.org Subject: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... Date: Wed, 02 Oct 2002 10:16:01 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Oct 2002 17:16:02.0221 (UTC) FILETIME=[62262DD0:01C26A37] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have found that if you create a jail in FreeBSD 4.6.2, and then log into that jail ... if you are root you can scp and ssh just fine. However if you are not root and you attempt to ssh or scp, you get this error: PRNG is not seeded A few details - first, I created my jail by simply using the dump command to dump my / filesystem, and then restoring that inside the jail. Not elegant, but it works - so the jail in question has a full /dev and everything. Second, I used the exact same method in 4.6.1 and did not have problems. I saw a usenet post that recommended solving the problem with this: "chmod a+r /dev/*rand*" however I tried that, and now when I try to ssh or scp from a non root user inside the jail, I get: "Host key verification failed" Does anyone know why this happens, why it didn't happen prior to 4.6.2, and how I can fix it ? thanks! _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 10:27:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5BEB37B401 for ; Wed, 2 Oct 2002 10:27:10 -0700 (PDT) Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11DC443E4A for ; Wed, 2 Oct 2002 10:27:08 -0700 (PDT) (envelope-from flag@libero.it) Received: from southcross.skynet.org (151.29.206.23) by smtp1.libero.it (6.5.028) id 3D8B312600584DD2 for freebsd-hackers@FreeBSD.ORG; Wed, 2 Oct 2002 19:27:00 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 6403E783E; Wed, 2 Oct 2002 14:45:31 +0200 (CEST) Date: Wed, 2 Oct 2002 14:45:31 +0200 From: Paolo Pisati To: FreeBSD_Hackers Subject: Crash dump with attach =P Message-ID: <20021002124531.GB567@southcross.skynet.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline sorry... =P -- Paolo Italian FreeBSD User Group: http://www.gufi.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="crash.txt" Script started on Wed Oct 2 14:42:26 2002 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x00429000 initial pcb at physical address 0x00351700 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xbfc00000 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02a4543 stack pointer = 0x10:0xd1b86d0c frame pointer = 0x10:0xd1b86d1c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 331 (local) interrupt mask = net bio cam panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc0299021 stack pointer = 0x10:0xd1b86b20 frame pointer = 0x10:0xd1b86b28 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 331 (local) interrupt mask = net bio cam Fatal trap 12: page fault while in kernel mode fault virtual address = 0xbfc00000 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02a4543 stack pointer = 0x10:0xd1b86d0c frame pointer = 0x10:0xd1b86d1c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 331 (local) interrupt mask = net bio cam panic: from debugger Uptime: 1m57s dumping to dev #ad/0x40002, offset 7781477 dump ata0: resetting devices .. done 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc0176708 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc0176b55 in panic (fmt=0xc02c7f84 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc0132b61 in db_panic (addr=-1070971581, have_addr=0, count=-1, modif=0xd1b86b9c "") at /usr/src/sys/ddb/db_command.c:435 #4 0xc0132aff in db_command (last_cmdp=0xc0307044, cmd_table=0xc0306e84, aux_cmd_tablep=0xc0342858) at /usr/src/sys/ddb/db_command.c:333 #5 0xc0132bc6 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457 #6 0xc0134d7f in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71 #7 0xc0298dc0 in kdb_trap (type=12, code=0, regs=0xd1b86ccc) at /usr/src/sys/i386/i386/db_interface.c:158 #8 0xc02a6684 in trap_fatal (frame=0xd1b86ccc, eva=3217031168) at /usr/src/sys/i386/i386/trap.c:969 #9 0xc02a6066 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -776544532, tf_esi = -1059388900, tf_ebp = -776442596, tf_isp = -776442632, tf_ebx = -1059388900, tf_edx = -1077936128, tf_ecx = -1064021720, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1070971581, tf_cs = 8, tf_eflags = 66118, tf_esp = -776544640, tf_ss = -776442324}) at /usr/src/sys/i386/i386/trap.c:636 #10 0xc02a4543 in pmap_remove_pages (pmap=0xd1b6deec, sva=0, eva=3217031168) at /usr/src/sys/i386/i386/pmap.c:2946 #11 0xc016edd7 in exec_new_vmspace (imgp=0xd1b86e2c) at /usr/src/sys/kern/kern_exec.c:537 ---Type to continue, or q to quit--- #12 0xc016366e in exec_elf_imgact (imgp=0xd1b86e2c) at /usr/src/sys/kern/imgact_elf.c:509 #13 0xc016e5f0 in execve (p=0xd1a5df60, uap=0xd1b86f80) at /usr/src/sys/kern/kern_exec.c:208 #14 0xc02a68be in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134727976, tf_esi = -1077943456, tf_ebp = -1077943416, tf_isp = -776441900, tf_ebx = 672754316, tf_edx = -1077943388, tf_ecx = 3, tf_eax = 59, tf_trapno = 12, tf_err = 2, tf_eip = 672433884, tf_cs = 31, tf_eflags = 647, tf_esp = -1077943476, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #15 0xc0299cb5 in Xint0x80_syscall () #16 0x8059dc6 in ?? () #17 0x8052b97 in ?? () #18 0x804a818 in ?? () #19 0x804ce02 in ?? () #20 0x804cf09 in ?? () #21 0x804cfb0 in ?? () #22 0x804adcf in ?? () #23 0x804c6f9 in ?? () #24 0x804c94c in ?? () #25 0x804bbf1 in ?? () #26 0x804bcbb in ?? () #27 0x804db9d in ?? () #28 0x804dce5 in ?? () ---Type to continue, or q to quit--- #29 0x8059cfd in ?? () #30 0x804e48a in ?? () #31 0x804be92 in ?? () #32 0x8049fa9 in ?? () (kgdb) q Script done on Wed Oct 2 14:42:51 2002 FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC #22: Wed Oct 2 12:45:21 CEST 2002 toor@southcross.skynet.org:/usr/obj/usr/src/sys/SOUTHCROSS i386 --k1lZvvs/B4yU6o8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 10:27:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78CDB37B404 for ; Wed, 2 Oct 2002 10:27:11 -0700 (PDT) Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66AD543E6E for ; Wed, 2 Oct 2002 10:27:10 -0700 (PDT) (envelope-from flag@libero.it) Received: from southcross.skynet.org (151.29.206.23) by smtp3.libero.it (6.5.028) id 3D8B3EFF00558FA4 for freebsd-hackers@FreeBSD.ORG; Wed, 2 Oct 2002 19:26:57 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 115387839; Wed, 2 Oct 2002 14:44:49 +0200 (CEST) Date: Wed, 2 Oct 2002 14:44:48 +0200 From: Paolo Pisati To: FreeBSD_Hackers Subject: Crash dump in attach Message-ID: <20021002124448.GA567@southcross.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.7-RC FreeBSD 4.7-RC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It looks like i've finally achieved my first crash dump: see it in attach thanks -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 10:37:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9076537B401 for ; Wed, 2 Oct 2002 10:37:32 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD1B243E4A for ; Wed, 2 Oct 2002 10:37:30 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 4D00E3ABB65; Wed, 2 Oct 2002 19:38:42 +0200 (CEST) Date: Wed, 2 Oct 2002 19:38:41 +0200 From: Pawel Jakub Dawidek To: Oliver Fromme Cc: freebsd-hackers@freebsd.org Subject: Re: Getfsstat(2), statfs(2) and fstatfs(2) jailed. Message-ID: <20021002173841.GB61479@garage.freebsd.pl> References: <20021001213848.GK19012@garage.freebsd.pl> <200210021045.g92AjaMU066299@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <200210021045.g92AjaMU066299@lurza.secnetix.de> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 02, 2002 at 12:45:36PM +0200, Oliver Fromme wrote: +> Pawel Jakub Dawidek wrote: +> > With this kernel module for FreeBSD 4.x process in jail can see only +> > file systems that are mounted in jail's chroot directory. +> >=20 +> > For example if we have mounted: +> > [...] +>=20 +> Also see PR 26740: +> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/26740 +>=20 +> BTW, does your patch work if the process that created the jail +> was already chrooted (possibly with a root different from the +> root of the process that mounted the filesystem)? There are +> a lot of non-trivial cases ... +>=20 +> Another issue might be the degraded efficiency if there are a +> lot of mounts (I mean _really_ many). My way is very simple. I get chroot directory from p->p_fd->fd_jdir. We have for example "/ch/root". Now in getfsstat() I'm checking for file systems begins with "/ch/root". If it doesn't begin with this string I don't add it. I add also file system where chroot directory is mounted on with path "/". --=20 Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPZsvIT/PhmMH/Mf1AQHaHQP/YbR/QGAka7vTVoYpqscsURcMUfDDmJWN 99TvF2AKzVGkANX6UgPr9ao33jvb/dq+xdtcb5PA9L08845Qa7mlRWDtUOBUqr/V UBJ4DelBWJBxUjYPg3jwbEoYgMExcIbUQKIYCrA1eIf9gTHA8rskAfBD34bNQ98i lfiLC3ZwKv0= =koAY -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 18:24:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 811EF37B401; Wed, 2 Oct 2002 18:24:43 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9596E43E6A; Wed, 2 Oct 2002 18:24:41 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g931OdTD208086; Wed, 2 Oct 2002 21:24:39 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020925175217.GB1442@laptop.6bone.nl> References: <20020925173453.GA1347@laptop.6bone.nl> <22163.1032975704@critter.freebsd.dk> <20020925174748.GA1442@laptop.6bone.nl> <20020925175217.GB1442@laptop.6bone.nl> Date: Wed, 2 Oct 2002 21:24:38 -0400 To: Mark Santcroos , freebsd-hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: vmware reads disk on non-sector boundary Cc: emulation@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:52 PM +0200 9/25/02, Mark Santcroos wrote: >On Wed, Sep 25, 2002, Mark Santcroos wrote: > > A fact is that vmware did work up until a few months. I didn't do > > a binary search yet. That is last resort... > >Anyone running a -current of several months old and using vmware2? >If so, can you please ktrace it and send me the trace. > >Thanks alot. Hi. What's the status on this? I have a multi-boot setup on PC which has two 650 MHz Pentium 3's. One system is freebsd-current as of Apr 23rd, and vmware2 works fine on that. (for ports it has vmware2-2.0.4.1142 , rtc-2001.09.16.1 , and linux_base-7.1_2). I also have a partition with freebsd-current from two or three days ago, and all the latest versions of the ports. Every time I try to start vmware2 on the newer system, the hardware dies. Sometimes it automatically reboots, other times it freezes up and I have to force-reboot it (sometimes by unplugging it from the wall). If you're still looking for a ktrace from an earlier -current, let me know how to get what you're looking for and I'll try to help. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 19:16:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C7EA37B404 for ; Wed, 2 Oct 2002 19:16:14 -0700 (PDT) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2468043E88 for ; Wed, 2 Oct 2002 19:16:12 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id g932G52l030034; Thu, 3 Oct 2002 11:46:07 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: ACPI programming under FreeBSD? From: "Daniel O'Connor" To: Socketd Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20021002.10442900.1477136604@rafter.> References: <200210021034.g92AYnvv066077@lurza.secnetix.de> <20021002.10442900.1477136604@rafter.> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Oct 2002 11:46:03 +0930 Message-Id: <1033611365.15161.6.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Spam-Score: -3.5 () IN_REP_TO,SUBJ_ENDS_IN_Q_MARK X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-10-02 at 20:14, Socketd wrote: > > I'm not an ACPI developer, but I really like the sysctl > > interface, because it enables you to retrieve information > > from within scripts easily. For ioctls you would have to > > write a separate tool to be able to access it. > > I think the list of sysctl entries is pretty long as it is. sysctl is suited toward the type of information ACPI provides though - ie it's tree structure. I don't think it's going to be any better to have an enormous number of ioctls for ACPI :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 19:19:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B3FF37B401 for ; Wed, 2 Oct 2002 19:19:11 -0700 (PDT) Received: from tomts26-srv.bellnexxia.net (tomts26.bellnexxia.net [209.226.175.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EB1643E6E for ; Wed, 2 Oct 2002 19:19:10 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.54]) by tomts26-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021003021907.BECS21425.tomts26-srv.bellnexxia.net@xena.gsicomp.on.ca>; Wed, 2 Oct 2002 22:19:07 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g930x9p11990; Wed, 2 Oct 2002 20:59:09 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00ec01c26a83$41a09c20$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , References: <20021002153141.GA69901@gve.ch> Subject: Re: sis0 - phy problem Date: Wed, 2 Oct 2002 22:19:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > hi, > i also encounter problem with sis0 nic onboard. here is an > extract from dmesg: > > FreeBSD 4.6.2-RELEASE > > sis0: port 0xd400-0xd4ff mem 0xe7800000-0xe7800fff irq \ > at device 1.1 on pci0 > sis0: Ethernet address: 00:00:00:00:00:00 > miibus0: on sis0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ohci0: mem 0xe7000000-0xe7000fff irq 5 at device 1.2 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > [...] > rl0: Ethernet address: 00:50:22:9b:c7:24 > miibus1: on rl0 > rlphy0: on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > i tried to force and hard code a mac address for the sis0, but > it really seems that PHY isn't well recognized. Well, it's recognized, it's just "unknown". I'm assuming that you can't actually use your sis0 NIC in this configuration. Is this correct? -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 19:21:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6270B37B401 for ; Wed, 2 Oct 2002 19:21:47 -0700 (PDT) Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8114F43E4A for ; Wed, 2 Oct 2002 19:21:46 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.54]) by tomts11-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021003022145.BRWM23451.tomts11-srv.bellnexxia.net@xena.gsicomp.on.ca>; Wed, 2 Oct 2002 22:21:45 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g9311kp12007; Wed, 2 Oct 2002 21:01:46 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00f201c26a83$9eaa5be0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , "Jim Rowan" Cc: "Guido Van Hoecke" References: <5B4CA406-D61A-11D6-96EB-003065A913C6@computing.com> Subject: Re: sis900 : sis0 attach returned 6 Date: Wed, 2 Oct 2002 22:21:45 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > From: "Matthew Emmerton" > > Subject: Re: sis900: sis0 attach returned 6 > > > > Guido, > > > > I did some more digging and it appears the bigger problem is that the > > RTL8201 external PHY isn't supported (yet) in FreeBSD. Patches to support > > this PHY, along with reports of successful testing in numerous > > configurations, are reported in PR kern/30836 (and kern/35691). > > > > This PR has been sitting in GNATS since March - does anyone want to step > > and > > commit it? It seems that this chipset is frequently used on motherboards > > with embedded ethernet, so it would be nice to have this supported RSN. > > It works for me... is the RTL8201L different? > > This happens to be on 4.7 RC2, but it has worked since 4.6, or shortly > thereafter, if I recall correctly. (This machine also has a realtek card > in it...) > > > sis0: port 0xd000-0xd0ff mem 0xcfffc000-0xcfffcfff > irq 12 > at device 3.0 on pci0 > sis0: Ethernet address: 00:d0:09:de:34:ee > miibus0: on sis0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: port 0xcc00-0xccff mem > 0xcfffbf00-0xcfffbfff ir > q 15 at device 11.0 on pci0 > rl0: Ethernet address: 00:50:bf:77:6f:44 > miibus1: on rl0 > rlphy1: on miibus1 > rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > Jim Rowan > jmr@computing.com It looks like the 8201L PHY was first supported in 4.6-RELEASE, but the PR wasn't updated to reflect this. Guido, if possible, could you try with 4.6.2-RELEASE and see if your card gets detected? -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 2 23:58: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D44737B401 for ; Wed, 2 Oct 2002 23:57:59 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DE8143E3B for ; Wed, 2 Oct 2002 23:57:53 -0700 (PDT) (envelope-from Guido@VanHoecke.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id 0227D84AAA; Thu, 3 Oct 2002 08:56:45 +0200 (CEST) Received: from VanHoecke.org (D577124C.kabel.telenet.be [213.119.18.76]) by horkos.telenet-ops.be (Postfix) with ESMTP id 10134848EF; Thu, 3 Oct 2002 08:56:45 +0200 (CEST) Message-ID: <3D9BEA2B.7000600@VanHoecke.org> Date: Thu, 03 Oct 2002 08:56:43 +0200 From: Guido Van Hoecke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Emmerton Cc: hackers@FreeBSD.ORG, Jim Rowan Subject: Re: sis900 : sis0 attach returned 6 References: <5B4CA406-D61A-11D6-96EB-003065A913C6@computing.com> <00f201c26a83$9eaa5be0$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt, > It looks like the 8201L PHY was first supported in 4.6-RELEASE, but the PR > wasn't updated to reflect this. > > Guido, if possible, could you try with 4.6.2-RELEASE and see if your card > gets detected? I am running 'FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC' This is the only version I tried up to now. -- Guido Van Hoecke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 1: 4:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74CBA37B401; Thu, 3 Oct 2002 01:04:56 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id BE9ED43E75; Thu, 3 Oct 2002 01:04:51 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 Oct 2002 09:04:07 +0100 (BST) To: Garance A Drosihn Cc: Mark Santcroos , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Wed, 02 Oct 2002 21:24:38 EDT." Date: Thu, 03 Oct 2002 09:04:04 +0100 From: Ian Dowse Message-ID: <200210030904.aa81031@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Garance A Drosihn writes: >I also have a partition with freebsd-current from two or three days >ago, and all the latest versions of the ports. Every time I try to >start vmware2 on the newer system, the hardware dies. Sometimes it >automatically reboots, other times it freezes up and I have to >force-reboot it (sometimes by unplugging it from the wall). See the patch I posted in: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation There may still be further issues, but it allowed me to use vmware2 on a current from a week or two ago. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 1:10:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6517F37B401 for ; Thu, 3 Oct 2002 01:10:08 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B9A943E6A for ; Thu, 3 Oct 2002 01:10:07 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.5/8.12.5) with ESMTP id g938A6K6020855; Thu, 3 Oct 2002 09:10:06 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.5/8.12.5/Submit) with UUCP id g938A6Xa020854; Thu, 3 Oct 2002 09:10:06 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.5) with ESMTP id g93878xe001071; Thu, 3 Oct 2002 09:07:08 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200210030807.g93878xe001071@grimreaper.grondar.org> To: "Firsto Lasto" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... References: In-Reply-To: ; from "Firsto Lasto" "Wed, 02 Oct 2002 10:16:01 PDT." Date: Thu, 03 Oct 2002 09:07:08 +0100 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I have found that if you create a jail in FreeBSD 4.6.2, and then log into > that jail ... if you are root you can scp and ssh just fine. However if you > are not root and you attempt to ssh or scp, you get this error: > > PRNG is not seeded Hmmm. > A few details - first, I created my jail by simply using the dump command to > dump my / filesystem, and then restoring that inside the jail. Not elegant, > but it works - so the jail in question has a full /dev and everything. > > Second, I used the exact same method in 4.6.1 and did not have problems. > > I saw a usenet post that recommended solving the problem with this: > > "chmod a+r /dev/*rand*" You seem to be on the right track in assuming it is a /dev/[u]random problem. Can you confirm this by (as a pleb user) dumping some random output? $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C (and same for /dev/urandom). Please also give a ls -l /dev/*random. > however I tried that, and now when I try to ssh or scp from a non root user > inside the jail, I get: > > "Host key verification failed" > > Does anyone know why this happens, why it didn't happen prior to 4.6.2, and > how I can fix it ? The random device has not changed, but the OpenSSL code has. Maybe OpenSSL's internal PRNG is doing something naughty. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 1:13:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81D1437B404 for ; Thu, 3 Oct 2002 01:13:42 -0700 (PDT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with SMTP id 03F5643E65 for ; Thu, 3 Oct 2002 01:13:41 -0700 (PDT) (envelope-from marks@ripe.net) Received: (qmail 27209 invoked by uid 0); 3 Oct 2002 08:13:39 -0000 Received: from birch.ripe.net (193.0.1.96) by postman.ripe.net with SMTP; 3 Oct 2002 08:13:39 -0000 Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g938C295016167; Thu, 3 Oct 2002 10:12:02 +0200 Received: (nullmailer pid 4687 invoked by uid 1000); Thu, 03 Oct 2002 08:11:52 -0000 Date: Thu, 3 Oct 2002 10:11:52 +0200 From: Mark Santcroos To: Ian Dowse Cc: Garance A Drosihn , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary Message-ID: <20021003081152.GB584@laptop.6bone.nl> References: <200210030904.aa81031@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210030904.aa81031@salmon.maths.tcd.ie> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Status: NONE ; -1047 X-RIPE-Spam-Level: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 09:04:04AM +0100, Ian Dowse wrote: > See the patch I posted in: > > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation > > There may still be further issues, but it allowed me to use vmware2 > on a current from a week or two ago. That's only for virtual disks, and that is not where the problem is (was). For most people this is not a solution. I have an almost-ready patch that implements linux_read() syscall. This will check if we are reading from a raw disk and in that case it will enlarge the read() to the next sector boundary. I have it working in the kernel but I have problems returning the right read buffer to userland. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 1:51:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5463537B401; Thu, 3 Oct 2002 01:51:11 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 2132F43E6A; Thu, 3 Oct 2002 01:51:10 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 Oct 2002 09:51:09 +0100 (BST) To: Mark Santcroos Cc: Garance A Drosihn , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Thu, 03 Oct 2002 10:11:52 +0200." <20021003081152.GB584@laptop.6bone.nl> Date: Thu, 03 Oct 2002 09:51:09 +0100 From: Ian Dowse Message-ID: <200210030951.aa87235@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021003081152.GB584@laptop.6bone.nl>, Mark Santcroos writes: >On Thu, Oct 03, 2002 at 09:04:04AM +0100, Ian Dowse wrote: >> There may still be further issues, but it allowed me to use vmware2 >> on a current from a week or two ago. > >That's only for virtual disks, and that is not where the problem is (was). >For most people this is not a solution. True, it won't fix the problems you reported with raw disks, but it stops vmware from instantly panicking on recent -currents and that is the first problem you will encounter with the port. I tend to run vmware either diskless or with virtual disks, so I wouldn't notice the raw disk issues. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 4:41:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B76537B406; Thu, 3 Oct 2002 04:41:32 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C572F43E42; Thu, 3 Oct 2002 04:41:30 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA15978; Thu, 3 Oct 2002 21:41:06 +1000 Date: Thu, 3 Oct 2002 21:50:45 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mark Santcroos Cc: Ian Dowse , Garance A Drosihn , , Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: <20021003081152.GB584@laptop.6bone.nl> Message-ID: <20021003214616.B3519-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Oct 2002, Mark Santcroos wrote: > I have an almost-ready patch that implements linux_read() syscall. This > will check if we are reading from a raw disk and in that case it will > enlarge the read() to the next sector boundary. I have it working in the > kernel but I have problems returning the right read buffer to userland. Unbreaking block devices would be a better solution. Without buffering, reads of raw disks using an unbuffered linux_read() might be times slower than they should be. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 4:57: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 217A837B401; Thu, 3 Oct 2002 04:57:04 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D110843E65; Thu, 3 Oct 2002 04:57:02 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g93Bv095022222; Thu, 3 Oct 2002 13:57:00 +0200 Received: (nullmailer pid 5554 invoked by uid 1000); Thu, 03 Oct 2002 11:56:49 -0000 Date: Thu, 3 Oct 2002 13:56:49 +0200 From: Mark Santcroos To: Bruce Evans Cc: freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary Message-ID: <20021003115649.GC584@laptop.6bone.nl> References: <20021003081152.GB584@laptop.6bone.nl> <20021003214616.B3519-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021003214616.B3519-100000@gamplex.bde.org> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Status: NONE ; -86 X-RIPE-Spam-Level: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 09:50:45PM +1000, Bruce Evans wrote: > Unbreaking block devices would be a better solution. Without buffering, > reads of raw disks using an unbuffered linux_read() might be > times slower than they should be. You are right. The quick and dirty hack I had in mind was less quick and more dirty than I expected ;-) What was the reason for the removal of block devices anyway? It would be nice if you would tell me some background about that.. :) Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 5:57:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29B1637B401; Thu, 3 Oct 2002 05:57:12 -0700 (PDT) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E21843E4A; Thu, 3 Oct 2002 05:57:11 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g93CuZZ5003210; Thu, 3 Oct 2002 14:56:36 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Mark Santcroos Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Thu, 03 Oct 2002 13:56:49 +0200." <20021003115649.GC584@laptop.6bone.nl> Date: Thu, 03 Oct 2002 14:56:35 +0200 Message-ID: <3209.1033649795@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021003115649.GC584@laptop.6bone.nl>, Mark Santcroos writes: >On Thu, Oct 03, 2002 at 09:50:45PM +1000, Bruce Evans wrote: >> Unbreaking block devices would be a better solution. Without buffering, >> reads of raw disks using an unbuffered linux_read() might be >> times slower than they should be. > >You are right. The quick and dirty hack I had in mind was less quick >and more dirty than I expected ;-) > >What was the reason for the removal of block devices anyway? >It would be nice if you would tell me some background about that.. :) It's well documented in the mail-archives actually. The short story: 1. We don't in general assign a special vnode type to device modes, instead we assign multiple device nodes, SCSI tapes is an example of this. 2. The vnode layer already have enough trouble aliasing /dev/fd0, /mnt/dev/fd0, /usr/jail/dev/fd0, /cdrom/dev/fd0 (you get the idea), we do not need to make it even harder by also aliasing /dev/fd0 and /dev/rfd0. 3. Write ordering on buffered devices were unspecified. In other words, you cannot use it for anything which even remotely smells of transactions, because you have no way to know when your writes have hit the disk and in which order they did so. 4. No write errors were reported back to userland. (Given 3 and 4, it follows that use of block devices for any sort of data you happen to like is a very bad idea.) 5. Block devices was in the way of getting DEVFS working in an architecturally sane manner. So they were removed, and good riddance. If a buffered access-mode on block devices is desired, it should be implemented either as an ioctl controllable feature, or as a GEOM module. The latter is probably by far the easiest way. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 6: 1:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DEC637B401 for ; Thu, 3 Oct 2002 06:01:24 -0700 (PDT) Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D10143E42 for ; Thu, 3 Oct 2002 06:01:24 -0700 (PDT) (envelope-from aokounev@yahoo.com) Received: from unknown (HELO AZOT-30761) (aokounev@212.98.162.53 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Oct 2002 13:01:23 -0000 Date: Thu, 3 Oct 2002 16:00:26 +0300 From: Artem Okounev X-Mailer: The Bat! (v1.61) Reply-To: Artem Okounev X-Priority: 3 (Normal) Message-ID: <1136947159.20021003160026@yahoo.com> To: freebsd-hackers@FreeBSD.ORG Subject: inet_aton() Bug or feature? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello freebsd-hackers, Recently i spent almost two hours trying to find error in my several shell and perl sripts. These scripts are to process large list of ip addresses stored in text file and do some stuff with boxes with given addresses on my local network. Result: scripts was correct, problem was with some standard utilities such as ping and arp which has been called from my script. To my great surprise I found out that: ping 192.168.0.26, ping 192.168.0.032, and even ping 192.168.0.0x1a - all correct commands doing the same thing: pinging 192.168.0.26. That was my problem. IP addresses was stored in text file in the form of 192.168.000.032, and after issuing command: arp - -s 192.168.000.032 xx:xx:xx:xx:xx:xx (which actually was treated as arp -s 192.168.0.26) I had a great headache. After some investigation I found that both ping and arp use inet_aton() libc call to interpret their command arguments into network format. Futher, inet_aton() uses strtoul(c,&endptr, 0) for each octet in IP address to convert string representation of number to unsigned long. Why not to use strtoul(x, x, 10) and fix aforementioned confusing thing with arp/ping/...? Does anybody write command arguments to ping using octal or hex format :)? I am not hacker. Just curious. - -- Best regards, Artem mailto:aokounev@yahoo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (MingW32) iD8DBQE9nD92bOuJ0KL1C+MRAgTDAJ4uMLZV3KuX0nwO+GtOPFhA6Jn+mgCeKJu4 wjt97cct6tAwV1iu5TYJORE= =Imv8 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 7:14:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A77A37B404 for ; Thu, 3 Oct 2002 07:14:58 -0700 (PDT) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.48.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1861F43E42 for ; Thu, 3 Oct 2002 07:14:57 -0700 (PDT) (envelope-from cracauer@schlepper.zs64.net) Received: (from cracauer@localhost) by schlepper.zs64.net (8.11.1/8.11.1) id g93EEt806622 for hackers@freebsd.org; Thu, 3 Oct 2002 16:14:55 +0200 (CEST) (envelope-from cracauer) Date: Thu, 3 Oct 2002 10:14:55 -0400 From: Martin Cracauer To: hackers@freebsd.org Subject: Need a former MaxAttach/creativedesign.com FreeBSD hacker Message-ID: <20021003101455.A6607@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A company I am working fo has a problem with a FreeBSD-based 19" NFS server called MaxAttach 4000. We need to fiddle with their apparently home-grown striping/mirroring system and I would like to talk to somebody who knows something about this. Thanks Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 8:39:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4495D37B404; Thu, 3 Oct 2002 08:39:21 -0700 (PDT) Received: from hccgwy.mnscu.edu (hccgwy.mnscu.edu [134.29.200.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 60C0B43E42; Thu, 3 Oct 2002 08:39:20 -0700 (PDT) (envelope-from D.Brearley@hccgwy.mnscu.edu) Received: from HCC-Message_Server by hccgwy.mnscu.edu with Novell_GroupWise; Thu, 03 Oct 2002 10:42:04 -0500 Message-Id: X-Mailer: Novell GroupWise 5.5.5 Date: Thu, 03 Oct 2002 10:41:41 -0500 From: "D Brearley" To: , Subject: unsubscribe donbrearley@hccgwy.mnscu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG unsubscribe donbrearley@hccgwy.mnscu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 8:54:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6017B37B404; Thu, 3 Oct 2002 08:54:10 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E8F543E42; Thu, 3 Oct 2002 08:54:09 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA01457; Fri, 4 Oct 2002 01:53:52 +1000 Date: Fri, 4 Oct 2002 02:03:28 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: Mark Santcroos , , Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: <3209.1033649795@critter.freebsd.dk> Message-ID: <20021004012906.S4315-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Oct 2002, Poul-Henning Kamp wrote: > In message <20021003115649.GC584@laptop.6bone.nl>, Mark Santcroos writes: > >On Thu, Oct 03, 2002 at 09:50:45PM +1000, Bruce Evans wrote: > >> Unbreaking block devices would be a better solution. Without buffering, > >>... > >What was the reason for the removal of block devices anyway? > >It would be nice if you would tell me some background about that.. :) > > It's well documented in the mail-archives actually. > > The short story: Shorter story: phk didn't like them. > 1. We don't in general assign a special vnode type to device modes, > instead we assign multiple device nodes, SCSI tapes is an > example of this. > > 2. The vnode layer already have enough trouble aliasing /dev/fd0, > /mnt/dev/fd0, /usr/jail/dev/fd0, /cdrom/dev/fd0 (you get the idea), > we do not need to make it even harder by also aliasing /dev/fd0 and > /dev/rfd0. Aliases that differ in type are slightly easier to handle than aliases that differ by name or mount point. They are diferent devices so they have different vnodes, and the aliasing problems for them are quite different than the vnode aliasing problems caused by having the same device under different mount points. E.g., slices and partitions allow configuring 31*7 aliases per drive for hard drives (31 slices with 7 configuring partitions each). Slices and partitions may overlap, giving something more complicated than aliases. The vnode layer doesn't understand any of this. > 3. Write ordering on buffered devices were unspecified. In other > words, you cannot use it for anything which even remotely smells > of transactions, because you have no way to know when your writes > have hit the disk and in which order they did so. This is no different than for regular files. > 4. No write errors were reported back to userland. Actually, write errors were reported at fsync() and close() time in the same way as for regular files. fsync()'s handling of write errors was broken for both regular files and buffered devices at the time buffered devices were axed. > (Given 3 and 4, it follows that use of block devices for any sort > of data you happen to like is a very bad idea.) It follos similarly that use of fil systems is a bad idea :-). You You should only use a databases on raw disks if you value your data. > 5. Block devices was in the way of getting DEVFS working in an > architecturally sane manner. This can be considered a feature. > So they were removed, and good riddance. > > If a buffered access-mode on block devices is desired, it should > be implemented either as an ioctl controllable feature, or as > a GEOM module. The latter is probably by far the easiest way. It was desired, and was sort of promised. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 8:58:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1BB337B406; Thu, 3 Oct 2002 08:58:27 -0700 (PDT) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB8C643E65; Thu, 3 Oct 2002 08:58:26 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g93FvuZ5005996; Thu, 3 Oct 2002 17:57:58 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: Mark Santcroos , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Fri, 04 Oct 2002 02:03:28 +1000." <20021004012906.S4315-100000@gamplex.bde.org> Date: Thu, 03 Oct 2002 17:57:56 +0200 Message-ID: <5995.1033660676@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021004012906.S4315-100000@gamplex.bde.org>, Bruce Evans writes: >> If a buffered access-mode on block devices is desired, it should >> be implemented either as an ioctl controllable feature, or as >> a GEOM module. The latter is probably by far the easiest way. > >It was desired, and was sort of promised. And we're close to the point where it can happen... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 9:21:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA85737B404; Thu, 3 Oct 2002 09:21:28 -0700 (PDT) Received: from scl8owa01.int.exodus.net (scl8out01.exodus.net [66.35.230.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7148243E6A; Thu, 3 Oct 2002 09:21:23 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa01.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Thu, 3 Oct 2002 09:23:36 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Thu, 3 Oct 2002 09:23:36 -0700 Message-ID: <3D9C6E7F.5F14059D@exodus.net> Date: Thu, 03 Oct 2002 09:21:19 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Ian Dowse Cc: Garance A Drosihn , Mark Santcroos , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary References: <200210030904.aa81031@salmon.maths.tcd.ie> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Oct 2002 16:23:36.0202 (UTC) FILETIME=[396386A0:01C26AF9] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ian Dowse wrote: > > In message , Garance A Drosihn writes: > >I also have a partition with freebsd-current from two or three days > >ago, and all the latest versions of the ports. Every time I try to > >start vmware2 on the newer system, the hardware dies. Sometimes it > >automatically reboots, other times it freezes up and I have to > >force-reboot it (sometimes by unplugging it from the wall). > > See the patch I posted in: > > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation > > There may still be further issues, but it allowed me to use vmware2 > on a current from a week or two ago. you also might try to look at the patch in PR port/41784 http://www.freebsd.org/cgi/query-pr.cgi?pr=41784 i'm running vmware2 on my not so -current with the patch. if this is outdated feel free to close the PR. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 9:37:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAEBC37B404 for ; Thu, 3 Oct 2002 09:37:12 -0700 (PDT) Received: from rodney.cnchost.com (rodney.concentric.net [207.155.252.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 787E143E3B for ; Thu, 3 Oct 2002 09:37:11 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by rodney.cnchost.com id MAA01800; Thu, 3 Oct 2002 12:37:07 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200210031637.MAA01800@rodney.cnchost.com> To: Bruce Evans Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-reply-to: Your message of "Fri, 04 Oct 2002 02:03:28 +1000." <20021004012906.S4315-100000@gamplex.bde.org> Date: Thu, 03 Oct 2002 09:37:07 -0700 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > It was desired, and was sort of promised. I never understood why removal of block devices was allowed in the first place. phk's reasons don't seem strong enough to any unix wizard I have talked to. Did the majority of the core really think the change was warranted? Removing compatibility when the change _doesn't_ bring a *substantial* improvement doesn't seem right. How hard would it be to bring back block devices without GEOM? Is there a write up somewhere on what GEOM is and its benefits? I'd hate to see it become the default without understanding it (and no, reading source code doesn't do it). Thanks! -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 9:52:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CE2537B401; Thu, 3 Oct 2002 09:52:19 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86BC243E7B; Thu, 3 Oct 2002 09:52:18 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g93GqGPC191228; Thu, 3 Oct 2002 12:52:16 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20021003081152.GB584@laptop.6bone.nl> References: <200210030904.aa81031@salmon.maths.tcd.ie> <20021003081152.GB584@laptop.6bone.nl> Date: Thu, 3 Oct 2002 12:52:15 -0400 To: Mark Santcroos , Ian Dowse From: Garance A Drosihn Subject: Re: vmware reads disk on non-sector boundary Cc: freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:11 AM +0200 10/3/02, Mark Santcroos wrote: >On Thu, Oct 03, 2002 at 09:04:04AM +0100, Ian Dowse wrote: >> See the patch I posted in: >> >> >> http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation >> >> There may still be further issues, but it allowed me to use vmware2 >> on a current from a week or two ago. > >That's only for virtual disks, and that is not where the problem is (was). >For most people this is not a solution. > >I have an almost-ready patch that implements linux_read() syscall. This >will check if we are reading from a raw disk and in that case it will >enlarge the read() to the next sector boundary. I have it working in the >kernel but I have problems returning the right read buffer to userland. Hmm. I might not be any good for the raw-disk testing. All I use are virtual disks. (I have a 32-gig disk with a bunch of 2-gig virtual-disks on it. With that many systems, it's much easier for me to deal with files than a whole bunch of "small" partitions on the raw disk). The patch from Ian sounds like it would be interesting for me. I'll have to try that. It would be great if I could get back to regularly running an up-to-date current. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 10:11:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78AC537B401 for ; Thu, 3 Oct 2002 10:11:51 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E521D43E3B for ; Thu, 3 Oct 2002 10:11:50 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 64F004257; Thu, 3 Oct 2002 18:11:33 +0100 (BST) Date: Thu, 3 Oct 2002 18:11:33 +0100 From: Josef Karthauser To: Bakul Shah Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary Message-ID: <20021003171133.GB11836@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Bakul Shah , Bruce Evans , freebsd-hackers@FreeBSD.ORG References: <20021004012906.S4315-100000@gamplex.bde.org> <200210031637.MAA01800@rodney.cnchost.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <200210031637.MAA01800@rodney.cnchost.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 03, 2002 at 09:37:07AM -0700, Bakul Shah wrote: >=20 > Is there a write up somewhere on what GEOM is and its > benefits? I'd hate to see it become the default without > understanding it (and no, reading source code doesn't do it). >=20 Bakul, there's been ample discussion of what GEOM is in the last year. I suggest you read the list archives. Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj2cekQACgkQXVIcjOaxUBbptgCdFmeeTMiYY35CssRgAOYMH9Sn q+EAoNmcYipwpBhiHMw7cMyciGE41QBJ =a3dp -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 11:16:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 567EF37B401 for ; Thu, 3 Oct 2002 11:16:18 -0700 (PDT) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C99543E42 for ; Thu, 3 Oct 2002 11:16:17 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g93IFgZ5007945; Thu, 3 Oct 2002 20:15:43 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bakul Shah Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Thu, 03 Oct 2002 09:37:07 PDT." <200210031637.MAA01800@rodney.cnchost.com> Date: Thu, 03 Oct 2002 20:15:42 +0200 Message-ID: <7944.1033668942@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200210031637.MAA01800@rodney.cnchost.com>, Bakul Shah writes: >I never understood why removal of block devices was allowed >in the first place. You are welcome to peruse the mail-archives to find out such historically interesting decisions. You are not welcome to build another bikeshed over it. >How hard would it be to bring back block devices without GEOM? Not at all hard, pretty trivial in fact. >Is there a write up somewhere on what GEOM is and its >benefits? I'd hate to see it become the default without >understanding it (and no, reading source code doesn't do it). Man 4 geom is a good place to start. There will also be a tutorial friday afternoon about GEOM at BSDCONeuro2002 in amsterdam next month. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:15:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B0537B401 for ; Thu, 3 Oct 2002 12:15:53 -0700 (PDT) Received: from hotmail.com (f88.sea1.hotmail.com [207.68.163.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id F268143E3B for ; Thu, 3 Oct 2002 12:15:52 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 12:15:52 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 19:15:52 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: mark@grondar.za Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... Date: Thu, 03 Oct 2002 12:15:52 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 19:15:52.0771 (UTC) FILETIME=[4A76C930:01C26B11] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, here you are - as a normal user (non root) inside the jail, I have run: $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C dd: /dev/stdout: Permission denied $ ls -asl /dev/stdout 0 crw------- 1 root wheel 22, 1 Sep 3 21:46 /dev/stdout All of this was _after_ I ran the `chmod a+r /dev/*rand*` command. So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your `dd` command and got: $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C 0+0 records in 0+0 records out 0 bytes transferred in 0.000036 secs (0 bytes/sec) I hope this is useful, and thank you for your help. > > > I have found that if you create a jail in FreeBSD 4.6.2, and then log >into > > that jail ... if you are root you can scp and ssh just fine. However if >you > > are not root and you attempt to ssh or scp, you get this error: > > > > PRNG is not seeded > >Hmmm. > > > A few details - first, I created my jail by simply using the dump >command to > > dump my / filesystem, and then restoring that inside the jail. Not >elegant, > > but it works - so the jail in question has a full /dev and everything. > > > > Second, I used the exact same method in 4.6.1 and did not have problems. > > > > I saw a usenet post that recommended solving the problem with this: > > > > "chmod a+r /dev/*rand*" > >You seem to be on the right track in assuming it is a /dev/[u]random >problem. > >Can you confirm this by (as a pleb user) dumping some random output? > >$ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > >(and same for /dev/urandom). > >Please also give a ls -l /dev/*random. > > > however I tried that, and now when I try to ssh or scp from a non root >user > > inside the jail, I get: > > > > "Host key verification failed" > > > > Does anyone know why this happens, why it didn't happen prior to 4.6.2, >and > > how I can fix it ? > >The random device has not changed, but the OpenSSL code has. Maybe >OpenSSL's >internal PRNG is doing something naughty. > >M >-- >o Mark Murray >\_ >O.\_ Warning: this .sig is umop ap!sdn _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:25:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 032F937B401 for ; Thu, 3 Oct 2002 12:25:16 -0700 (PDT) Received: from hotmail.com (f35.sea1.hotmail.com [207.68.163.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC43E43E4A for ; Thu, 3 Oct 2002 12:25:15 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 12:25:15 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 19:25:15 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: freebsd-hackers@freebsd.org Subject: related jail topic - /dev/null often and regularly reverts permissions... Date: Thu, 03 Oct 2002 12:25:15 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 19:25:15.0522 (UTC) FILETIME=[99E3C620:01C26B12] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you run a jail, and inside that jail is a /dev with the file /dev/null in it, the normal 0666 permissions of /dev/null will often get changed to 0600. I cannot see any reason why this would happen - I thought maybe there was something in /etc/rc that would do it, but there is not. Further, the reversions seem random and irregular - happens in some jails, doesn't in others. I have witnessed this on multiple jails in multiple different physical machines, on versions from 4.4 to 4.6.2. Anyone have any ideas why this happening ? Has anyone else seen this ? Perhaps /dev/null is not the only one this happens to, but just the most noticable one ? (many programs break when /dev/null is 0600) _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:34:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7802137B40E for ; Thu, 3 Oct 2002 12:34:29 -0700 (PDT) Received: from nebula.wanadoo.fr (ca-sqy-5-133.abo.wanadoo.fr [80.8.58.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF05B43E3B for ; Thu, 3 Oct 2002 12:34:26 -0700 (PDT) (envelope-from dak@wanadoo.fr) Received: from nebula.wanadoo.fr (localhost [127.0.0.1]) by nebula.wanadoo.fr (8.12.6/8.12.5) with ESMTP id g93Ja5Qw004699; Thu, 3 Oct 2002 21:36:05 +0200 (CEST) (envelope-from dak@nebula.wanadoo.fr) Received: (from dak@localhost) by nebula.wanadoo.fr (8.12.6/8.12.6/Submit) id g93Ja3NF004698; Thu, 3 Oct 2002 21:36:03 +0200 (CEST) Date: Thu, 3 Oct 2002 21:36:02 +0200 From: =?iso-8859-15?Q?Aur=E9lien?= Nephtali To: Firsto Lasto Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... Message-ID: <20021003193602.GA4627@nebula.wanadoo.fr> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've experimented this when I've rebuilt my world just after the announce of 4.7-RC. mergemaster asked me if I wanted to run MAKEDEV since it had change= d. I think it's this which broke up /dev/null, then i re-runed sh ./MAKEDEV and everything was fine :) I don't know if my second run of MAKEDEV solved the problem (maybe it was f= ixed before I run it again, I don't exactly know) -- Aur=E9lien On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: >=20 > If you run a jail, and inside that jail is a /dev with the file /dev/null= =20 > in it, the normal 0666 permissions of /dev/null will often get changed to= =20 > 0600. >=20 > I cannot see any reason why this would happen - I thought maybe there was= =20 > something in /etc/rc that would do it, but there is not. Further, the=20 > reversions seem random and irregular - happens in some jails, doesn't in= =20 > others. >=20 > I have witnessed this on multiple jails in multiple different physical=20 > machines, on versions from 4.4 to 4.6.2. >=20 > Anyone have any ideas why this happening ? Has anyone else seen this ? >=20 > Perhaps /dev/null is not the only one this happens to, but just the most= =20 > noticable one ? (many programs break when /dev/null is 0600) >=20 >=20 >=20 > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos:=20 > http://photos.msn.com/support/worldwide.aspx >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9nJwiDNsbHbt8ok8RAr/dAJ9k4TQdzYUgiri2OVWCyOge/+GhvgCfcmx3 qP3qdB+DMHoUN1QoWcHcgDE= =y81H -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:39: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D71137B401; Thu, 3 Oct 2002 12:38:49 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4A443E6A; Thu, 3 Oct 2002 12:38:39 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g93JcBOo062621; Thu, 3 Oct 2002 15:38:11 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 3 Oct 2002 15:38:11 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: developers@FreeBSD.org, hackers@FreeBSD.org Subject: FreeBSD Developer Status Report: July 2002 - August 2002 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG July - August 2002 Status Report Introduction Throughout July and August, the FreeBSD Project has been working on pulling together the last few major pieces of new functionality for FreeBSD 5.0-RELEASE. At this point, the release appears to be on track for late November or early December. Work on fine-grained locking continues, especially in the VFS, as with improved support for threading through the KSE work; features such as GEOM, UFS2, and TrustedBSD MAC are maturing, and the new ia64 and sparc64 hardware ports are approaching production quality. In the next two months, we have a lot to look forward to: additional 5.0 developer preview snapshots, additional locking and threading improvements, and many cleanups on the new supported architectures. Firewire support has been imported into the main tree, and substantial cleanup of the ACPI/legacy PCI code is also in the works. Also, expect the import of new IPsec hardware acceleration support in the near future. When new developer previews are posted, please give them a try! While we know that 5.0-RELEASE will be for "early adopters", the more testing we get out of the way now, the less we have to tidy up later. The new features are extremely exciting, and understanding when and how to deploy them properly will be important. In the next two months, among other things, the release engineering team will post updated release schedules, as well as guidance for FreeBSD consumers as to how to decide what releases of FreeBSD will be right for them. Keep an eye out for this, and provide us with feedback. Also, for those of you in Europe -- we look forward to seeing you at BSDCon Europe in a couple of months! Scott Long, Robert Watson * Bluetooth stack for FreeBSD (Netgraph implementation) * ATAPI/CAM Status Report * BSDCon 2003 * Fast IPsec Status * FreeBSD C99 & POSIX Conformance Project * FreeBSD Donations Team * FreeBSD GNOME Project * FreeBSD Security Officer Team * French FreeBSD Documentation Project * GEOM - generalized block storage manipulation * Hardware Crypto Support Status * jp.FreeBSD.org daily SNAPSHOTs project * jpman project * KSE * Libh Status Report * Lottery Scheduler for FreeBSD -STABLE * Netgraph ATM * Network interface cloning and modularity * New SCSI Target Emulator * RAIDFrame for FreeBSD * Release Engineering * The FreeBSD Brazilian Portuguese Documentation Project * TrustedBSD Mandatory Access Control (MAC) * UFS2 - 64bit UFS with native extended attributes * VM issues in -stable Bluetooth stack for FreeBSD (Netgraph implementation) URL: http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020909.tar.gz URL: http://bluez.sf.net Contact: Maksim Yevmenkin < m_evmenkin@yahoo.com > I'm very pleased to announce that another engineering release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020909.tar.gz This release features several major changes and includes support for H4 UART and H2 USB transport layers, Host Controller Interface (HCI), Link Layer Control and Adaptation Protocol (L2CAP) and Bluetooth sockets layer. It also comes with several user space utilities that can be used to configure and test Bluetooth devices. Also there are several man pages. Service Discovery Protocol (SDP) is now supported. This release includes SDP daemon, configuration tool and user space library (ported from BlueZ-sdp-0.7). RFCOMM is now supported. This release includes rfcommd daemon that provides RFCOMM service via pseudo ttys. Not very useful for legacy application, but it is possible to run PPP over Bluetooth now. This was ported from old BlueZ-rfcommd-1.1 (no longer supported by BlueZ) and still has some bugs in it. Next step is to fix current RFCOMM support and work on new in-kernel RFCOMM and BNEP (Bluetooth Network Encapsulation Protocol) implementation. Also user space need more work (better tools, libraries, documentation etc.). ---------------------------------------------------------------------- ATAPI/CAM Status Report URL: http://www.cuivre.fr.eu.org/~thomas/atapicam/ Contact: Thomas Quinot The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives, floppy drives such as Iomega Zip, tape drives) to be accessed through the SCSI subsystem (CAM). ATAPI/CAM has been integrated in -CURRENT. The code should be fairly functional (it has been used by many testers as patches against -STABLE and -CURRENT over the past eight months), but there are pending issues on SMP machines. Testers most welcome. A MFC of this feature will probably happen after the end of the 4.7 code freeze. ---------------------------------------------------------------------- BSDCon 2003 URL: http://www.usenix.org/events/bsdcon03/cfp/ Contact: Gregory Shapiro The BSDCon 2003 Program Committee invites you to contribute original and innovative papers on topics related to BSD-derived systems and the Open Source world. Topics of interest include but are not limited to: * Embedded BSD application development and deployment * Real world experiences using BSD systems * Using BSD in a mixed OS environment * Comparison with non-BSD operating systems; technical, practical, licensing (GPL vs. BSD) * Tracking open source development on non-BSD systems * BSD on the desktop * I/O subsystem and device driver development * SMP and kernel threads * Kernel enhancements * Internet and networking services * Security * Performance analysis and tuning * System administration * Future of BSD Submissions in the form of extended abstracts are due by April 1, 2003. Be sure to review the extended abstract expectations before submitting. Selection will be based on the quality of the written submission and whether the work is of interest to the community. We look forward to receiving your submissions! ---------------------------------------------------------------------- Fast IPsec Status Contact: Sam Leffler The main goal of this project is to modify the IPsec protocols to use the kernel-level crypto subsystem imported from OpenBSD (see elsewhere). A secondary goal is to do general performance tuning of the IPsec protocols. Recent work focused on increasing performance. Support is still limited to IPv4 protocols, with IPv6 support coded but not yet tested. Import of this work into the -current tree has started. A publicly available patch against 4.7 will be released once 4.7 ships. ---------------------------------------------------------------------- FreeBSD C99 & POSIX Conformance Project URL: http://www.FreeBSD.org/projects/c99/ Contact: Mike Barcroft Contact: FreeBSD-Standards Mailing List On the API front, fmtmsg(3) was implemented, glob(3) was given support for new flags, ulimit(3) was implemented, and wide character/string support was significantly improved with the addition of 30 new functions (see the project status board for details). Work is progressing on adding the C99 restrict type-qualifier to functions throughout the system. This allows the compiler to make additional optimizations based on the knowledge that a restrict-qualified argument is the only reference to a given object (ie. it doesn't overlap with another argument). Several headers have been brought up to conformance with POSIX.1-2001, they include: , , , and . The header was implemented. The headers and were merged into a single header to help simplify the way variable types are created. The sh(1) built-in, command(1), was reimplemented to conform with POSIX. Additionally, several utilities which were previously brought up to conformance were merged into the 4-STABLE banch. ---------------------------------------------------------------------- FreeBSD Donations Team URL: http://www.FreeBSD.org/donations/index.html Contact: Michael Lucas The Donations team started rolling in the last couple of months. Offers of equipment are coming in, and we are allocating them to FreeBSD committers as quickly as possible. We now have a "Committer Want List" available in our section of the Web site. Several small items, such as network cards, have been routed to people who are willing to write the code to support them. We have a few larger donations (i.e., actual servers) ready to go to developers, once shipping information is straightened out. ---------------------------------------------------------------------- FreeBSD GNOME Project URL: http://www.freebsd.org/gnome/ Contact: Joe Marcus Contact: Maxim Sobolev The GNOME 2 desktop port has reach version 2.0.2rc1 with an expected 2.0.2 release before 4.7-RELEASE. Mozilla 1.1 has been ported, and is resident in the tree with Mozilla 1.0.1. The GNOMENG porting effort is going well. A good deal of ports have been moved to the new infrastructure with the help of Edwin Groothuis. We are now working on smoothing out some of the rough edges, then, once all the work is done, make GNOMENG the default. A long-standing annoyance in Nautilus has also been recently corrected. The desktop is no longer clutered with volume icons, and removable media (such as CDs) should now be handled correctly. ---------------------------------------------------------------------- FreeBSD Security Officer Team URL: http://www.freebsd.org/security/ Contact: Jacques Vidrine The Security Team continues to be very busy. The security-officer mailing list traffic for the months of June, July, and August consisted of 1,230 messages (over 13 messages a day). This is well over 50% of the freebsd-hackers traffic volume in the same period! Since June (the time of our last report), 9 new Security Advisories were published, and one Security Notice was published covering 25 Ports Collection issues. FreeBSD 4.6.2-RELEASE was released on August 15th. This marked the first time a point release was created from the security branch. The process went smoothly from the Security Team perspective, despite a schedule slippage due to newly discovered bugs, and a snafu which resulted in 4.6.1-RELEASE being skipped. In September, the FreeBSD Security Officer published a new PGP key (ID 0xCA6CDFB2, found on the FTP site and in the Handbook). This aligned the set of those who possess the corresponding private key with the membership of the security-officer alias published on the FreeBSD Security web site. It also worked around an issue with the deprecated PGP key being found corrupted on some public key servers. ---------------------------------------------------------------------- French FreeBSD Documentation Project URL: http://www.freebsd-fr.org URL: http://www.freebsd-fr.org/index-trad.html URL: http://people.freebsd.org/~blackend/doc/fr_FR.ISO8859-1/books/handbook/ Contact: Sebastien Gioria Contact: Marc Fonvieille Contact: Stephane Legrand We've got actually almost 50% of the new handbook translated (all the installation part is translate). Most of the articles are translated too. The web site in on the way, see the Web Server. We need now to integrate it on the US CVS tree. One of the big job now, is to translate the latest FAQ and the very big project will be the manual pages ---------------------------------------------------------------------- GEOM - generalized block storage manipulation URL: http://www.freebsd.org/~phk/Geom/ Contact: Poul-Henning Kamp The GEOM code has gotten so far that it beats our current code in some areas while stil lacking in others. The goal is for GEOM to be the default in 5.0-RELEASE. Currently work on a cryptographic module which should be able to protect a diskpartition from practically any sort of attack is progressing. ---------------------------------------------------------------------- Hardware Crypto Support Status Contact: Sam Leffler The goal of this project is to import the OpenBSD kernel-level crypto subsystem. This facility provides kernel- and user-level access to hardware crypto devices for the calculation of cryptographic hashes, ciphers, and public key operations. The main clients of this facility are the kernel RNG (/dev/random), network protocols (e.g. IPSEC), and OpenSSL (through the /dev/crypto device). OpenSSL 0.9.7 beta 3 was imported and patched with fixes from OpenBSD's source tree. This permits any user-level application that use -lcrypto to automatically get hardware crypto acceleration. Otherwse the core crypto support is stable and has been in production use on -stable machines for several months. Import of this work into the -current tree has started. A publicly available patch against 4.7 will be released once 4.7 ships. Integration of this work into the -stable source tree is planned for 4.8. ---------------------------------------------------------------------- jp.FreeBSD.org daily SNAPSHOTs project URL: http://snapshots.jp.FreeBSD.org/ URL: http://www.jp.FreeBSD.org/snapshots/ Contact: Makoto Matsushita The project runs as it should be. New security-branch snapshots are available for both 4.5 and 4.6(.2). I've update buildboxes OS to the latest 5-current/4-stable without any errors. Also current problem, less CPU power for the future, is not solved yet -- but situation is not so bad, I hope I'll show a good news in the next report. ---------------------------------------------------------------------- jpman project URL: http://www.jp.FreeBSD.org/man-jp/ Contact: Kazuo Horikawa We have been updating RELENG_4 targeting for 4.7-RELEASE. When port ja-man-1.1j_5 was broken around the end of July, Kumano-san and Mori-san tried to update the port to be based on a newer FreeBSD base system's man commands. But, we decided only to fix the port ja-man-1.1j_5 to be buildable, as the new one was not complete at that time. ---------------------------------------------------------------------- KSE URL: http://www.freebsd.org/~julian Contact: Julian Elischer Contact: Jonathon Mini Contact: Dan Eischen David Xu and I have been working on cleaning up some of the work done in KSE-III and Jonathon and Dan have been working on the userland interface. The userland libray will be committed soon in a prototypical state and a working test program using that interface will hopefully accompany it. I have just committed a rework of the run states for kernel threads that simplifies or solves some problems that were being seen recently. Hopefully in the next few weeks we will be able to run threads on separate processors. The basics of Signal support are presently evolving. Archie Cobbs will also be assisting with some of this work. I have a mail alias for all the developers at kse@elischer.org. It is managed by hand at the moment. ---------------------------------------------------------------------- Libh Status Report URL: http://www.freebsd.org/projects/libh.html Contact: Antoine Beaupre Contact: Alexander Langer The primary libh development box, where the CVS repo and development webpage was living, is dead. The server has crashed after a system upgrade and has never came back to life. We had to pull the drives out of it to make proper backups. We will setup another box in place of this one and hope for the best. So right now, the port is broken because the CVS is unaccessible, as the development web page. We're working on it, please bear with us. On a brighter note, Max started implementing the changes he proposed to the build system and the TCL API; LibH is switching to SWIG for its TCL bindings, which should simplify the system a lot, and shorten build times. The Hui subsystem is therefore being completely re-written. On my side, I made a few tests in building and running LibH under rhtvision, and it didn't fulfill the promises I thought it would, so I just put aside that idea. Work on libh stalled during July because I completely lost network access for the whole month. So right now, LibH is in a bit of a mess, but we have high hopes of settling everything down to a new release pretty soon, which will make full use of the new SWIG bindings. ---------------------------------------------------------------------- Lottery Scheduler for FreeBSD -STABLE Contact: Mario Sergio Fujikawa Ferreira Yet another implementation of Lottery Scheduling devised by Carl Waldspurger et. al. is being developed against FreeBSD -STABLE branch. It is being developed as part of a graduation project in Computer Science at Universidade de Brasilia in Brazil. Therefore, other implementations have not yet been verified to avoid plagiarization but will be checked in a later stage of this project searching for better implementation ideas. Currently, part of the necessary scheduling kernel structure has been mapped and work has progressed despite the general lack of kernel documentation. Further outcomes of this project will be a simple documentation of the kernel scheduler structure of -STABLE branch, a port of the Lottery Scheduler to -CURRENT branch and additional implementations of other scheduling disciplines from Carl Waldspurger et. al. Members of the FreeBSD community have been and will continue to be instrumental in both testing and providing feedback for ideas implemented here. ---------------------------------------------------------------------- Netgraph ATM URL: http://www.fokus.fhg.de/research/cc/cats/employees/hartmut.brandt/ngatm/index.html Contact: Harti Brandt Version 1.2 has been released recently. It should compile and work an any recent FreeBSD-current. Support to manipulate SUNI registers has been added to the ATM drivers (to switch between SONET and SDH modes, for example). The ngatmsig package now includes a small and simple call control module that mayh be used to build a simple ATM switch. The netgraph stuff has been patched to use the official netgraph locking. ---------------------------------------------------------------------- Network interface cloning and modularity Contact: Brooks Davis Cloning support for ppp(4) and disc(4) interfaces has been committed. A man page for disc has been created and the disc devices now appear as disc# instead of ds#. Some work is still needed on pppd to make it understand cloning though it should work as long as the devices are created beforehand. On the API front, management of mandatory interfaces (i.e. lo0) is handled by the generic cloning code so if_clone_destroy has the same API as NetBSD again and _modevent doesn't need to create the necessary devices manually. At this point, all pseudo interfaces have been converted to the cloning API or already did their own cloning (sl(4) for example uses it's own mechanism). Some devices such as tun(4) and tap/vmware should probably be converted to use the cloning API instead of their current ad-hoc, devfs based cloning system. This would be a good junior kernel hacker task. Also, the handbook and FAQ could use some general cloning documentation prior to 5.0 release. ---------------------------------------------------------------------- New SCSI Target Emulator URL: http://www.root.org/~nate/freebsd/ Contact: Nate Lawson The existing SCSI target code has been rewritten. The kernel driver is much simpler, deferring all functionality to usermode and simply passing CCBs to and from the SIM. The supplied usermode emulates a disk (RBC) with IO going to a backing file. It replaces /sys/cam/scsi/scsi_target* and /usr/share/examples/scsi_target. The code is definitely alpha quality and has known problems on -current although it appears to work ok on -stable. See the included README for how to install and test. Feedback is welcome! ---------------------------------------------------------------------- RAIDFrame for FreeBSD URL: http://people.freebsd.org/~scottl/rf Contact: Scott Long Work on RAIDFrame stalled for quite a bit, then it picked up in early summer, then it stalled, and now it's going again. A significant amount of work has been done to make the locking SMPng-friendly and to cut down on kernel stack abuse. I'm happy to say that it's starting to work reliably when used with file- backed 'md' disks. Even more exciting is that it's finally starting to work on real disks, too. A lot of cleanup is still needed, and a few gross hacks still exist, but it might actually be ready for the FreeBSD 5.0 release. Patches for FreeBSD 5-current and 4-stable are available from the website. The 4-stable patches are a year old but still apply and perform well. ---------------------------------------------------------------------- Release Engineering URL: http://www.FreeBSD.org/releng/ Contact: The Release Engineering (RE) Team completed and released FreeBSD 4.6.2. This ``point release'' fixes several important bugs in the ATA subsystem, as well as addressing a number of security issues in the base system that surfaced shortly after FreeBSD 4.6 was released. The release documentation distributed with FreeBSD 4.6.2 contains more details. (Note: Some earlier documents and reports referred to this release as version 4.6.1.) The next release in the 4.X series will be FreeBSD 4.7, which has a scheduled release date of 1 October 2002. Concurrently, work is continuing on the 5.0-DP2 developer preview snapshot, an important milestone along the release path of FreeBSD 5.0, which is scheduled for release on 20 November. As 5.0 draws closer, we are focusing more on getting the system stabilized, as opposed to adding new functionality. To help us with this effort, developers should discuss with us any new features planned for -CURRENT, beginning 1 October. ---------------------------------------------------------------------- The FreeBSD Brazilian Portuguese Documentation Project URL: http://www.fugspbr.org/ Contact: Edson Brandi Contact: Mario Sergio Fujikawa Ferreira Contact: Ricardo Nascimento Ferreira Contact: Diego Linke Contact: Jean Milanez Melo Contact: Patrick Tracanelli Contact: Alexandre Vasconcelos The FreeBSD Brazilian Portuguese Documentation Project is merging with a translation group formed by members of the FUG-BR FreeBSD Brazilian user group. The Brazilian Project decided to become an official group under FUG-BR after receiving continued excellent contributions from them. They have managed to complete the translation of the FreeBSD FAQ which is currently undergoing both proofing and SGML"fication" stages. Work is progressing fast: the Handbook has been half translated and articles are under way. The previous Brazilian Project is proud to become part of such a dedicate group. The contacts above represent the current official contacts for the new translation group. We hope to have at least part of this work ready for the FreeBSD 4.7 Release. ---------------------------------------------------------------------- TrustedBSD Mandatory Access Control (MAC) Contact: Robert Watson Contact: TrustedBSD Discussion Mailing List It's been a busy few months, with a variety of development, documentation, and public relations activities. The MAC Framework, our pluggable kernel access control mechanism for FreeBSD, has matured substantially, and large parts of it were merged to the main FreeBSD tree over July and August. A variety of entry point changes were made, including: component names are now passed to VFS namespace VOPs; agressive caching of MAC labels in vnodes; mmap memory access downgrades on subject relabel; check for access()/eaccess(); checks for vnode read, write, ioctl, pool, permitting revocation post-open() by aware policies; labeling and access control checks for pipe IPC objects, clean up of socket/visibility checks; checks for socket bind, connect, listen, ....; many locking improvements and assertions, especially for vnodes, processes; framework now supports partial label updates on subjects and objects; credential management in 'struct file' improved so that active_cred and file_cred are more carefully distinguished and passed to MAC framework explicitly; accounting system uses cached credentials for write operations now; socreate() can use cached credential to label sockets fixing deferred nfs socket connections and reconnections with TCP; kse interactions with proc1 fixed; IO_NOMACCHECK flag to vn_rdwr() for internal use to avoid redundant or incorrect MAC checks on aio vnode operations; mac_syscall() policy function demux; su no longer changes MAC labels by default; mac_get_pid() to support ps and getpmac -p pid; mmap revocation defaults to "fail stop"; MAC_DEBUG wraps atomic label counters; UFS2 extended attributes supported; initial port of LOMAC to the MAC framework; update all policies for all these changes; merge of KSE III; merge of nmount(); upgrade of ugidfw to speak user and group names; libugidfw; many namespace and naming consistency improvements; module dependencies on MAC framework; large scale merging of MAC functionality to the main FreeBSD tree. KDE interfaces to common management activities. Wrote and taught full-day MAC framework tutorial at STOS BSD and Darwin Security Symposium; first draft of MAC fraemwork architecture and API guide. This is now in the Developer's Handbook. Next couple of months will bring continued maturity improvements, labeling and protection of more objects; VFS performance improvements; better support for UFS2 EAs and seperate EA entries for each policy; improved support for LOMAC; MLS compartments; IPsec security association labeling; improved SEBSD FLASK/TE port; and much more. ---------------------------------------------------------------------- UFS2 - 64bit UFS with native extended attributes Contact: Poul-Henning Kamp Contact: Kirk McKusick The UFS2 filesystem approaches feature completion: Extended attribute functionality have been added, including a new compound modification API and basic testing has been passed. ---------------------------------------------------------------------- VM issues in -stable URL: http://apollo.backplane.com/FreeBSD/wiring_patch_03.diff Contact: Matthew Dillon Work is in progress to MFC a number of bug fixes related to vm_map corruption into -stable. This work is probably too involved to make it into the 4.7 release but is expected to be comitted just after the freeze is lifted. The corruption in question typically occurs in large-memory systems under heavy loads and typically panics or KPFs (kernel-page-fault's) the machine in a vm_map related function. Copyright (c) 1995-2002 the FreeBSD Project. All rights reserved. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:43:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D906C37B401 for ; Thu, 3 Oct 2002 12:43:49 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCA443E4A for ; Thu, 3 Oct 2002 12:43:49 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021003192021.XECN18767.rwcrmhc53.attbi.com@InterJet.elischer.org>; Thu, 3 Oct 2002 19:20:21 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA00753; Thu, 3 Oct 2002 12:03:35 -0700 (PDT) Date: Thu, 3 Oct 2002 12:03:33 -0700 (PDT) From: Julian Elischer To: Bakul Shah Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: <200210031637.MAA01800@rodney.cnchost.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Oct 2002, Bakul Shah wrote: > > It was desired, and was sort of promised. > > I never understood why removal of block devices was allowed > in the first place. phk's reasons don't seem strong enough > to any unix wizard I have talked to. Did the majority of the > core really think the change was warranted? Removing > compatibility when the change _doesn't_ bring a *substantial* > improvement doesn't seem right. He had some backing, for example Kirk made a good argument for removing them. The arguments about not being able to do devfs and geom without removing them are of course specious as it can and was done before by others. > > How hard would it be to bring back block devices without GEOM? Even WITH geom it would be possible. > > Is there a write up somewhere on what GEOM is and its > benefits? I'd hate to see it become the default without > understanding it (and no, reading source code doesn't do it). The concept is good. One provides a stacking system for disk geometries wand layouts where the upper interface is the same as that provided by the actual disk. Using devfs, one can export the 'top suface' of the stack as accessible devices. Theoretically the latyers can apply themselvces as a device is recognised and each layer type 'probes' the device to figure out it it belongs there. It's not rocket science as far as an idea goes. The trick is in the implementation. Locking and access control of parts gets quite tricky. for a similar idea look in the cvs tree for the now removed 'slice' code that did teh same thing. /sys/dev/slice It supported black and character device nodes for each partition. > > Thanks! > > -- bakul > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:47:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526B237B401; Thu, 3 Oct 2002 12:47:20 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C6743E77; Thu, 3 Oct 2002 12:47:19 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g93JkpOo062722; Thu, 3 Oct 2002 15:46:51 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 3 Oct 2002 15:46:51 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: developers@FreeBSD.org, hackers@FreeBSD.org Subject: Re: FreeBSD Developer Status Report: July 2002 - August 2002 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd like to acknowledge the help of Scott Long in getting the report out this month--he did all that hard work :-). The next status report will cover September-October, 2002, and reports will be due around November 15. Depending on the 5.0 release process, we might slip it slightly. :-) Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 12:55:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F92C37B401 for ; Thu, 3 Oct 2002 12:55:14 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F40F243E42 for ; Thu, 3 Oct 2002 12:55:12 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.5/8.12.5) with ESMTP id g93JtBWC002205; Thu, 3 Oct 2002 20:55:11 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.5/8.12.5/Submit) with UUCP id g93JtBou002203; Thu, 3 Oct 2002 20:55:11 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.5) with ESMTP id g93JoK20001332; Thu, 3 Oct 2002 20:50:20 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200210031950.g93JoK20001332@grimreaper.grondar.org> To: "Firsto Lasto" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... References: In-Reply-To: ; from "Firsto Lasto" "Thu, 03 Oct 2002 12:15:52 PDT." Date: Thu, 03 Oct 2002 20:50:20 +0100 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi You only sent me a third of what I asked for :-) M > > Ok, here you are - as a normal user (non root) inside the jail, I have run: > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > dd: /dev/stdout: Permission denied > > $ ls -asl /dev/stdout > 0 crw------- 1 root wheel 22, 1 Sep 3 21:46 /dev/stdout > > All of this was _after_ I ran the `chmod a+r /dev/*rand*` command. > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your `dd` > command and got: > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000036 secs (0 bytes/sec) > > I hope this is useful, and thank you for your help. > > > > > > > > > I have found that if you create a jail in FreeBSD 4.6.2, and then log > >into > > > that jail ... if you are root you can scp and ssh just fine. However if > >you > > > are not root and you attempt to ssh or scp, you get this error: > > > > > > PRNG is not seeded > > > >Hmmm. > > > > > A few details - first, I created my jail by simply using the dump > >command to > > > dump my / filesystem, and then restoring that inside the jail. Not > >elegant, > > > but it works - so the jail in question has a full /dev and everything. > > > > > > Second, I used the exact same method in 4.6.1 and did not have problems. > > > > > > I saw a usenet post that recommended solving the problem with this: > > > > > > "chmod a+r /dev/*rand*" > > > >You seem to be on the right track in assuming it is a /dev/[u]random > >problem. > > > >Can you confirm this by (as a pleb user) dumping some random output? > > > >$ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > >(and same for /dev/urandom). > > > >Please also give a ls -l /dev/*random. > > > > > however I tried that, and now when I try to ssh or scp from a non root > >user > > > inside the jail, I get: > > > > > > "Host key verification failed" > > > > > > Does anyone know why this happens, why it didn't happen prior to 4.6.2, > >and > > > how I can fix it ? > > > >The random device has not changed, but the OpenSSL code has. Maybe > >OpenSSL's > >internal PRNG is doing something naughty. > > > >M > >-- > >o Mark Murray > >\_ > >O.\_ Warning: this .sig is umop ap!sdn > > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 13: 7: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7625C37B401 for ; Thu, 3 Oct 2002 13:07:04 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF26643E42 for ; Thu, 3 Oct 2002 13:07:00 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021003195518.TULG9928.rwcrmhc52.attbi.com@blossom.cjclark.org>; Thu, 3 Oct 2002 19:55:18 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g93JtHWn092525; Thu, 3 Oct 2002 12:55:17 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g93JtGYF092524; Thu, 3 Oct 2002 12:55:16 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Thu, 3 Oct 2002 12:55:15 -0700 From: "Crist J. Clark" To: Artem Okounev Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: inet_aton() Bug or feature? Message-ID: <20021003195515.GA92263@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <1136947159.20021003160026@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1136947159.20021003160026@yahoo.com> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 04:00:26PM +0300, Artem Okounev wrote: > To my great surprise I found out that: > ping 192.168.0.26, > ping 192.168.0.032, > and even ping 192.168.0.0x1a - all correct commands doing > the same thing: pinging 192.168.0.26. Yep. > That was my problem. IP addresses was stored in text file in > the form of 192.168.000.032, and after issuing command: arp > - -s 192.168.000.032 xx:xx:xx:xx:xx:xx (which actually was > treated as arp -s 192.168.0.26) I had a great headache. That should be pretty easy to fix in your script. > After some investigation I found that both ping and arp use > inet_aton() libc call to interpret their command arguments > into network format. Futher, inet_aton() uses > strtoul(c,&endptr, 0) for each octet in IP address to > convert string representation of number to unsigned long. > > Why not to use strtoul(x, x, 10) and fix aforementioned > confusing thing with arp/ping/...? Does anybody write > command arguments to ping using octal or hex format :)? > > I am not hacker. Just curious. This is a feature not a bug since it is documented in inet_aton(3), All numbers supplied as ``parts'' in a `.' notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e., a leading 0x or 0X implies hexadecimal; otherwise, a leading 0 implies octal; other- wise, the number is interpreted as decimal). People use this notation all of the time, # ifconfig if0 172.16.1.10 netmask 0xffffff00 ^^^^^^^^^^ -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 13:28:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58AE037B401; Thu, 3 Oct 2002 13:28:52 -0700 (PDT) Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0573643E4A; Thu, 3 Oct 2002 13:28:52 -0700 (PDT) (envelope-from gsutter@zer0.org) Received: by mail1.zer0.org (Postfix, from userid 1001) id C4C66239A0F; Thu, 3 Oct 2002 13:28:51 -0700 (PDT) Date: Thu, 3 Oct 2002 13:28:51 -0700 From: Gregory Sutter To: nectar@FreeBSD.org Cc: developers@FreeBSD.org, hackers@FreeBSD.org Subject: Re: FreeBSD Developer Status Report: July 2002 - August 2002 Message-ID: <20021003202851.GA912@klapaucius.zer0.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster X-Message-Flag: Ditch this virus-ridden Outlook crap and get a real mailer! Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-10-03 15:38 -0400, Robert Watson wrote: >=20 > July - August 2002 Status Report >=20 > --------------------------------------------------------------------= -- >=20 > FreeBSD Security Officer Team >=20 > URL: http://www.freebsd.org/security/ >=20 > Contact: Jacques Vidrine >=20 > In September, the FreeBSD Security Officer published a new PGP key (ID > 0xCA6CDFB2, found on the FTP site and in the Handbook). This aligned t= he > set of those who possess the corresponding private key with the member= ship > of the security-officer alias published on the FreeBSD Security web si= te. > It also worked around an issue with the deprecated PGP key being found > corrupted on some public key servers. The key in the published handbook remains: pub 1024R/73D288A5 1996-04-22 FreeBSD Security Officer This was verified from the www copy of the handbook as well as the FTP site. The key is also unavailable from pgpkeys.mit.edu. Where can I get this new key? --=20 Gregory S. Sutter Heisenberg might have been here. mailto:gsutter@zer0.org=20 http://www.zer0.org/~gsutter/=20 hkp://wwwkeys.pgp.net/0x845DFEDD --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE9nKiDIBUx1YRd/t0RAk/PAJ0Ycy7tCDg19WrewSEFBGzyNuL7GgCfVx/s cqlGBMhAos17uyaGtSHy94k= =w6IQ -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 13:30:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BF1A37B401 for ; Thu, 3 Oct 2002 13:30:48 -0700 (PDT) Received: from hotmail.com (f41.sea1.hotmail.com [207.68.163.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB1D643E3B for ; Thu, 3 Oct 2002 13:30:47 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 13:30:47 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 20:30:47 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: aurelien.nephtali@wanadoo.fr Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... Date: Thu, 03 Oct 2002 13:30:47 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 20:30:47.0610 (UTC) FILETIME=[C198C9A0:01C26B1B] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, what I am seeing is the /dev/null changing permissions _after_ the build/installation of the jail. That is, either it is changing at some random time while the jail is running, or it changes after the jail is stopped, then started again. And it happens over and over, that is, if I reset it to 0666, at some time in the future it will revert to 0600 Any idea why ? > >Hi, > >I've experimented this when I've rebuilt my world just after the announce >of >4.7-RC. mergemaster asked me if I wanted to run MAKEDEV since it had >changed. >I think it's this which broke up /dev/null, then i re-runed sh ./MAKEDEV >and >everything was fine :) > >I don't know if my second run of MAKEDEV solved the problem (maybe it was >fixed >before I run it again, I don't exactly know) > >-- Aurélien > >On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: > > > > If you run a jail, and inside that jail is a /dev with the file >/dev/null > > in it, the normal 0666 permissions of /dev/null will often get changed >to > > 0600. > > > > I cannot see any reason why this would happen - I thought maybe there >was > > something in /etc/rc that would do it, but there is not. Further, the > > reversions seem random and irregular - happens in some jails, doesn't in > > others. > > > > I have witnessed this on multiple jails in multiple different physical > > machines, on versions from 4.4 to 4.6.2. > > > > Anyone have any ideas why this happening ? Has anyone else seen this ? > > > > Perhaps /dev/null is not the only one this happens to, but just the most > > noticable one ? (many programs break when /dev/null is 0600) > > > > > > > > _________________________________________________________________ > > MSN Photos is the easiest way to share and print your photos: > > http://photos.msn.com/support/worldwide.aspx > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message ><< attach3 >> _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 13:35:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7A4737B401 for ; Thu, 3 Oct 2002 13:35:10 -0700 (PDT) Received: from hotmail.com (f74.sea1.hotmail.com [207.68.163.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67DBC43E3B for ; Thu, 3 Oct 2002 13:35:10 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 13:35:10 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 20:35:09 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: mark@grondar.za Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... Date: Thu, 03 Oct 2002 13:35:09 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 20:35:10.0191 (UTC) FILETIME=[5E1B77F0:01C26B1C] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, here is the rest: Here is the output of the `dd` command using urandom: dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C 1+0 records in 1+0 records out 00000000 a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 |.i.|.2.!.z3.h...| 512 bytes transferred in 0.000472 secs (1084588 bytes/sec) 00000010 31 73 32 99 d1 4b ce 64 06 da b3 85 d9 e2 e6 a5 |1s2..K.d........| 00000020 fe 75 b6 f8 0b 4a 81 fd ae 0c d6 27 4a bd 34 69 |.u...J.....'J.4i| 00000030 bf bb 3a 71 af 01 61 c4 88 86 e3 8b 2a 0c 8a a7 |..:q..a.....*...| 00000040 35 57 d5 3b ec fc ac 55 9d 52 8b b8 4d 54 ff 95 |5W.;...U.R..MT..| 00000050 7b 92 e0 ef c8 70 f5 07 73 5a a1 8f b5 09 72 3a |{....p..sZ....r:| 00000060 7d 56 f6 69 bb 07 18 d1 24 d8 ba ce f7 b1 5c f6 |}V.i....$.....\.| 00000070 ff a6 56 8e 44 cd 07 0f e3 2a 34 d1 b5 ed e7 54 |..V.D....*4....T| 00000080 cb 0c 7e dd 69 82 20 e5 b8 58 c7 4c d1 64 a1 8d |..~.i. ..X.L.d..| 00000090 4d bf df 57 bb 8c d2 06 a2 05 93 e5 ce 3f 0f 8e |M..W.........?..| 000000a0 b2 74 97 d9 a7 53 b0 a4 d2 85 dc f9 16 82 5c 21 |.t...S........\!| 000000b0 61 ec 2f 72 89 13 37 bf 2d b0 f0 4d 29 da 95 03 |a./r..7.-..M)...| 000000c0 87 ba 51 57 05 cd d3 d4 96 23 4c de 50 70 8c 73 |..QW.....#L.Pp.s| 000000d0 cc 92 4a 12 f6 aa eb 71 62 8c af de 7f a5 f7 14 |..J....qb.......| 000000e0 c9 c2 87 a4 37 a5 ec e7 e0 49 6b c2 9e b5 61 14 |....7....Ik...a.| 000000f0 68 d5 94 67 fa 53 8b 9d 40 b7 b5 af ae 13 c4 5b |h..g.S..@......[| 00000100 ad bc 32 bd bb 3c 8f 17 5e 3d fc f8 88 35 25 34 |..2..<..^=...5%4| 00000110 9f 88 4f ec e5 04 77 f6 f7 da 72 6b 25 fd 0c 4e |..O...w...rk%..N| 00000120 26 3f d7 00 1d 33 cb 0b b1 3d 6d da 49 99 5d 2f |&?...3...=m.I.]/| 00000130 89 07 12 9e 5d 9c 56 78 f6 e6 0d b3 96 36 05 d0 |....].Vx.....6..| 00000140 1e 12 11 71 1c aa 35 f7 95 aa ab de a4 34 5d 31 |...q..5......4]1| 00000150 21 8e f2 11 dc 56 90 68 a8 2d 1f 4c 18 53 81 79 |!....V.h.-.L.S.y| 00000160 fc 0d d3 97 85 79 99 47 70 0b 39 e3 7f 25 ee b4 |.....y.Gp.9..%..| 00000170 ad 87 0f 60 d7 f0 97 84 41 f5 3f 91 be 5b f2 5c |...`....A.?..[.\| 00000180 8c b6 52 75 82 d3 ac e4 54 e3 b5 5f b6 6d b9 09 |..Ru....T.._.m..| 00000190 58 02 47 62 c6 57 a7 7e c1 c0 78 63 81 11 f4 d8 |X.Gb.W.~..xc....| 000001a0 3c ee 9c 22 22 b2 31 88 64 fc 4f c5 9a e3 9f bb |<.."".1.d.O.....| 000001b0 20 d8 c9 12 34 40 6d 62 1c ac 96 c4 6f 10 d6 7b | ...4@mb....o..{| 000001c0 c9 c3 69 d4 e1 b6 3a 68 bd 65 3f 4e d1 b8 e4 c5 |..i...:h.e?N....| 000001d0 d5 3c 33 df 49 78 16 df 1d 76 72 9b 66 69 ac 82 |.<3.Ix...vr.fi..| 000001e0 6f e8 9c 35 43 5e 8a 62 17 6d 1a c0 c5 5e 4f c3 |o..5C^.b.m...^O.| 000001f0 c7 dc 38 e6 b9 19 2e a1 68 66 c1 86 bb a4 8f f5 |..8.....hf......| 00000200 Again, this is after I chmodded /dev/stdout to 0666 instead of the 0600 that it was. And here is the ls output: $ ls -l /dev/*rand* crw-r--r-- 1 root wheel 2, 3 Sep 3 21:46 /dev/random crw-r--r-- 1 root wheel 2, 4 Sep 3 21:46 /dev/urandom thank you for your help. > >Hi > >You only sent me a third of what I asked for :-) > >M > > > > > Ok, here you are - as a normal user (non root) inside the jail, I have >run: > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > dd: /dev/stdout: Permission denied > > > > $ ls -asl /dev/stdout > > 0 crw------- 1 root wheel 22, 1 Sep 3 21:46 /dev/stdout > > > > All of this was _after_ I ran the `chmod a+r /dev/*rand*` command. > > > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your >`dd` > > command and got: > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > 0+0 records in > > 0+0 records out > > 0 bytes transferred in 0.000036 secs (0 bytes/sec) > > > > I hope this is useful, and thank you for your help. > > > > > > > > > > > > > > > I have found that if you create a jail in FreeBSD 4.6.2, and then >log > > >into > > > > that jail ... if you are root you can scp and ssh just fine. >However if > > >you > > > > are not root and you attempt to ssh or scp, you get this error: > > > > > > > > PRNG is not seeded > > > > > >Hmmm. > > > > > > > A few details - first, I created my jail by simply using the dump > > >command to > > > > dump my / filesystem, and then restoring that inside the jail. Not > > >elegant, > > > > but it works - so the jail in question has a full /dev and >everything. > > > > > > > > Second, I used the exact same method in 4.6.1 and did not have >problems. > > > > > > > > I saw a usenet post that recommended solving the problem with this: > > > > > > > > "chmod a+r /dev/*rand*" > > > > > >You seem to be on the right track in assuming it is a /dev/[u]random > > >problem. > > > > > >Can you confirm this by (as a pleb user) dumping some random output? > > > > > >$ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > > > >(and same for /dev/urandom). > > > > > >Please also give a ls -l /dev/*random. > > > > > > > however I tried that, and now when I try to ssh or scp from a non >root > > >user > > > > inside the jail, I get: > > > > > > > > "Host key verification failed" > > > > > > > > Does anyone know why this happens, why it didn't happen prior to >4.6.2, > > >and > > > > how I can fix it ? > > > > > >The random device has not changed, but the OpenSSL code has. Maybe > > >OpenSSL's > > >internal PRNG is doing something naughty. > > > > > >M > > >-- > > >o Mark Murray > > >\_ > > >O.\_ Warning: this .sig is umop ap!sdn > > > > > > > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >-- >o Mark Murray >\_ >O.\_ Warning: this .sig is umop ap!sdn _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 13:55: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EED337B401 for ; Thu, 3 Oct 2002 13:55:08 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4021743E6A for ; Thu, 3 Oct 2002 13:55:07 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.5/8.12.5) with ESMTP id g93Kt6WC026530; Thu, 3 Oct 2002 21:55:06 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.6/8.12.6/Submit) with UUCP id g93Kt6vX026523; Thu, 3 Oct 2002 21:55:06 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.5) with ESMTP id g93KsV20002002; Thu, 3 Oct 2002 21:54:31 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200210032054.g93KsV20002002@grimreaper.grondar.org> To: "Firsto Lasto" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... References: In-Reply-To: ; from "Firsto Lasto" "Thu, 03 Oct 2002 13:35:09 PDT." Date: Thu, 03 Oct 2002 21:54:30 +0100 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Sorry, here is the rest: > > Here is the output of the `dd` command using urandom: > > dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C > 1+0 records in > 1+0 records out > 00000000 a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 > |.i.|.2.!.z3.h...| ... etc. Looking good. > $ ls -l /dev/*rand* > crw-r--r-- 1 root wheel 2, 3 Sep 3 21:46 /dev/random > crw-r--r-- 1 root wheel 2, 4 Sep 3 21:46 /dev/urandom Also good. > > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your > >`dd` > > > command and got: > > > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > 0+0 records in > > > 0+0 records out > > > 0 bytes transferred in 0.000036 secs (0 bytes/sec) Can you try a few of these while furiously abusing your keyboard? I'm trying to see if /dev/random can be persuaded to give _any_ aoutput at all. Maybe do it on a vty instead of in X. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 14:14:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F1DE37B401 for ; Thu, 3 Oct 2002 14:14:32 -0700 (PDT) Received: from hotmail.com (f200.sea1.hotmail.com [207.68.163.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0488143E6E for ; Thu, 3 Oct 2002 14:14:32 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 14:14:31 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 21:14:31 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: mark@grondar.za Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... Date: Thu, 03 Oct 2002 14:14:31 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 21:14:31.0778 (UTC) FILETIME=[DDB90C20:01C26B21] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I can't seed it by banging on the keyboard - it is a headless server in a rack thousands of miles from me :) Perhaps there is another way to do it ? >Date: Thu, 03 Oct 2002 21:54:30 +0100 > > > Sorry, here is the rest: > > > > Here is the output of the `dd` command using urandom: > > > > dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C > > 1+0 records in > > 1+0 records out > > 00000000 a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 > > |.i.|.2.!.z3.h...| > >... etc. Looking good. > > > $ ls -l /dev/*rand* > > crw-r--r-- 1 root wheel 2, 3 Sep 3 21:46 /dev/random > > crw-r--r-- 1 root wheel 2, 4 Sep 3 21:46 /dev/urandom > >Also good. > > > > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your > > >`dd` > > > > command and got: > > > > > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > > 0+0 records in > > > > 0+0 records out > > > > 0 bytes transferred in 0.000036 secs (0 bytes/sec) > >Can you try a few of these while furiously abusing your keyboard? >I'm trying to see if /dev/random can be persuaded to give _any_ >aoutput at all. > >Maybe do it on a vty instead of in X. > >M >-- >o Mark Murray >\_ >O.\_ Warning: this .sig is umop ap!sdn _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 14:20:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18B1B37B401 for ; Thu, 3 Oct 2002 14:20:19 -0700 (PDT) Received: from out7.mx.nwbl.wi.voyager.net (out7.mx.nwbl.wi.voyager.net [169.207.3.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D57F43E77 for ; Thu, 3 Oct 2002 14:20:18 -0700 (PDT) (envelope-from silby@silby.com) Received: from pop2.nwbl.wi.voyager.net (pop2.nwbl.wi.voyager.net [169.207.3.115]) by out7.mx.nwbl.wi.voyager.net (Postfix) with ESMTP id A614193AFB; Thu, 3 Oct 2002 16:20:17 -0500 (CDT) Received: from [10.1.1.6] (d150.as15.nwbl0.wi.voyager.net [169.207.136.88]) by pop2.nwbl.wi.voyager.net (8.10.2/8.10.2) with ESMTP id g93LKG162817; Thu, 3 Oct 2002 16:20:16 -0500 (CDT) Date: Thu, 3 Oct 2002 16:25:07 -0500 (CDT) From: Mike Silbersack To: Sean Farley Cc: freebsd-hackers@freebsd.org Subject: Re: Slow I/O responsiveness with UDMA133 In-Reply-To: <20020930140925.G5254-100000@thor.farley.org> Message-ID: <20021003162004.L71443-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 30 Sep 2002, Sean Farley wrote: > On Thu, 26 Sep 2002 21:14, Mike Silbersack wrote: > > > Rumor has it that newer drives cannot write a single sector at a time, > > and instead must read a whole cluster of sectors, add in the new > > sector, and write back the whole cluster. That behavior sounds like > > it would hurt sequentual performance substantially, as it would become > > a lot of read-modify-write operations. > > That is interesting. I had not heard of that issue, even as a rumor, > before. I see this hurting byte writes, but block writes may not be > hurt by it. The concept isn't that ridiculous. If the drive cannot write 1 byte at a time, why should it be able to write 4096 bytes at a time, or 8192 bytes, etc. Unfortunately, I doubt that any drive manufacturer will tell us the exact figures. :) > You would not happen to have a non-RAID, UDMA100+, non-VIA system that > you could run bonnie++ (-s256) on? It would at least show to me if my > system is really all that far from the norm. > > Sean Nope, not here. Maybe someone else on the list can send you results... Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 14:45:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCB8B37B401 for ; Thu, 3 Oct 2002 14:45:08 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3EC943E6A for ; Thu, 3 Oct 2002 14:45:07 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.6/8.12.6) with ESMTP id g93Lj6He000608; Thu, 3 Oct 2002 22:45:06 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.6/8.12.6/Submit) with UUCP id g93Lj6Ip000607; Thu, 3 Oct 2002 22:45:06 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.5) with ESMTP id g93Li620007510; Thu, 3 Oct 2002 22:44:07 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200210032144.g93Li620007510@grimreaper.grondar.org> To: "Firsto Lasto" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... References: In-Reply-To: ; from "Firsto Lasto" "Thu, 03 Oct 2002 14:14:31 PDT." Date: Thu, 03 Oct 2002 22:44:06 +0100 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I can't seed it by banging on the keyboard - it is a headless server in a > rack thousands of miles from me :) > > Perhaps there is another way to do it ? Yes. You need to find sources of entropy in interrupts. Look at a dmesg, and note which IRQ's your network device(s) and mass storage controller(s) (both SCSI and ATA). Use any other irq's that aren't too busy and may be somewhat random. Staring at a 'systat 2 -vmstat' screen (right hand side) may give some clues. Then use rndcontrol(8) to set up the seeding. There is a knob in rc.conf to make this setting survive the next reboot. M > >Date: Thu, 03 Oct 2002 21:54:30 +0100 > > > > > Sorry, here is the rest: > > > > > > Here is the output of the `dd` command using urandom: > > > > > > dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C > > > 1+0 records in > > > 1+0 records out > > > 00000000 a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 > > > |.i.|.2.!.z3.h...| > > > >... etc. Looking good. > > > > > $ ls -l /dev/*rand* > > > crw-r--r-- 1 root wheel 2, 3 Sep 3 21:46 /dev/random > > > crw-r--r-- 1 root wheel 2, 4 Sep 3 21:46 /dev/urandom > > > >Also good. > > > > > > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran your > > > >`dd` > > > > > command and got: > > > > > > > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > > > 0+0 records in > > > > > 0+0 records out > > > > > 0 bytes transferred in 0.000036 secs (0 bytes/sec) > > > >Can you try a few of these while furiously abusing your keyboard? > >I'm trying to see if /dev/random can be persuaded to give _any_ > >aoutput at all. > > > >Maybe do it on a vty instead of in X. > > > >M > >-- > >o Mark Murray > >\_ > >O.\_ Warning: this .sig is umop ap!sdn > > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 15:29: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8476137B401 for ; Thu, 3 Oct 2002 15:29:02 -0700 (PDT) Received: from hotmail.com (f140.sea1.hotmail.com [207.68.163.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26D3843E3B for ; Thu, 3 Oct 2002 15:29:02 -0700 (PDT) (envelope-from firstolasto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Oct 2002 15:29:01 -0700 Received: from 12.235.232.75 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 03 Oct 2002 22:29:01 GMT X-Originating-IP: [12.235.232.75] From: "Firsto Lasto" To: mark@grondar.za Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails... Date: Thu, 03 Oct 2002 15:29:01 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2002 22:29:01.0893 (UTC) FILETIME=[461E7750:01C26B2C] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, I am not sure how I can do that though - I cannot successfully run `rndcontrol -s X` inside a jail. On the other hand, I already have: rand_irqs="9 10 11 13 14" In my rc.conf on the underlying host machine, and have done several boots with that in place. So presumably I should be seeded just fine, but if I am not, I cannot change that in the jail because it seems I cannot set that (I assume it is a sysctl issue). Willing to try whatever you can think of next :) > > > I can't seed it by banging on the keyboard - it is a headless server in >a > > rack thousands of miles from me :) > > > > Perhaps there is another way to do it ? > >Yes. > >You need to find sources of entropy in interrupts. Look at a >dmesg, and note which IRQ's your network device(s) and mass >storage controller(s) (both SCSI and ATA). Use any other >irq's that aren't too busy and may be somewhat random. >Staring at a 'systat 2 -vmstat' screen (right hand side) >may give some clues. > >Then use rndcontrol(8) to set up the seeding. There is a knob >in rc.conf to make this setting survive the next reboot. > >M > > > >Date: Thu, 03 Oct 2002 21:54:30 +0100 > > > > > > > Sorry, here is the rest: > > > > > > > > Here is the output of the `dd` command using urandom: > > > > > > > > dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C > > > > 1+0 records in > > > > 1+0 records out > > > > 00000000 a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 > > > > |.i.|.2.!.z3.h...| > > > > > >... etc. Looking good. > > > > > > > $ ls -l /dev/*rand* > > > > crw-r--r-- 1 root wheel 2, 3 Sep 3 21:46 /dev/random > > > > crw-r--r-- 1 root wheel 2, 4 Sep 3 21:46 /dev/urandom > > > > > >Also good. > > > > > > > > > So then, as root I ran: `chmod 0666 /dev/stdout` and then I ran >your > > > > >`dd` > > > > > > command and got: > > > > > > > > > > > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > > > > > > 0+0 records in > > > > > > 0+0 records out > > > > > > 0 bytes transferred in 0.000036 secs (0 bytes/sec) > > > > > >Can you try a few of these while furiously abusing your keyboard? > > >I'm trying to see if /dev/random can be persuaded to give _any_ > > >aoutput at all. > > > > > >Maybe do it on a vty instead of in X. > > > > > >M > > >-- > > >o Mark Murray > > >\_ > > >O.\_ Warning: this .sig is umop ap!sdn > > > > > > > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >-- >o Mark Murray >\_ >O.\_ Warning: this .sig is umop ap!sdn _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 15:54:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E57AD37B401; Thu, 3 Oct 2002 15:54:23 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3CBA43E75; Thu, 3 Oct 2002 15:54:22 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g93Ms7uk017816; Fri, 4 Oct 2002 00:54:07 +0200 Received: (nullmailer pid 9077 invoked by uid 1000); Thu, 03 Oct 2002 22:53:52 -0000 Date: Fri, 4 Oct 2002 00:53:52 +0200 From: Mark Santcroos To: Poul-Henning Kamp Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary Message-ID: <20021003225352.GL584@laptop.6bone.nl> References: <20021004012906.S4315-100000@gamplex.bde.org> <5995.1033660676@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5995.1033660676@critter.freebsd.dk> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 05:57:56PM +0200, Poul-Henning Kamp wrote: > In message <20021004012906.S4315-100000@gamplex.bde.org>, Bruce Evans writes: > > >> If a buffered access-mode on block devices is desired, it should > >> be implemented either as an ioctl controllable feature, or as > >> a GEOM module. The latter is probably by far the easiest way. > > > >It was desired, and was sort of promised. > > And we're close to the point where it can happen... So 'ignoring' the historic facts, and assuming that we just want block devices, we can do such a thing in GEOM in the future? Is this something you will be doing yourself Poul, or is it just that you are saying that it is possible? If not, I really would like to help to get vmware back, but I don't know anything more about GEOM than "option\t\tGEOM". Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 17:54:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70DA337B401; Thu, 3 Oct 2002 17:54:53 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E7243E42; Thu, 3 Oct 2002 17:54:52 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id EE991436A; Fri, 4 Oct 2002 01:54:31 +0100 (BST) Date: Fri, 4 Oct 2002 01:54:31 +0100 From: Josef Karthauser To: Mark Santcroos Cc: Poul-Henning Kamp , Bruce Evans , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary Message-ID: <20021004005431.GB14229@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Mark Santcroos , Poul-Henning Kamp , Bruce Evans , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG References: <20021004012906.S4315-100000@gamplex.bde.org> <5995.1033660676@critter.freebsd.dk> <20021003225352.GL584@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lEGEL1/lMxI0MVQ2" Content-Disposition: inline In-Reply-To: <20021003225352.GL584@laptop.6bone.nl> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 04, 2002 at 12:53:52AM +0200, Mark Santcroos wrote: >=20 > So 'ignoring' the historic facts, and assuming that we just want block > devices, we can do such a thing in GEOM in the future? >=20 > Is this something you will be doing yourself Poul, or is it just that you > are saying that it is possible? If not, I really would like to help to ge= t=20 > vmware back, but I don't know anything more about GEOM than "option\t\tGE= OM". >=20 There's a pretty good man page, man geom. Cheers, Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj2c5scACgkQXVIcjOaxUBYRjACfYnI/BNWk+b21AaR28YYhmNR1 I3YAoLfPsHuFFNAuA9//Wh9+q3n5dTVF =/Txy -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 18: 9:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E773337B401 for ; Thu, 3 Oct 2002 18:09:43 -0700 (PDT) Received: from web14008.mail.yahoo.com (web14008.mail.yahoo.com [216.136.175.124]) by mx1.FreeBSD.org (Postfix) with SMTP id BC60F43E65 for ; Thu, 3 Oct 2002 18:09:43 -0700 (PDT) (envelope-from kip_macy@yahoo.com) Message-ID: <20021004010943.60650.qmail@web14008.mail.yahoo.com> Received: from [66.127.115.165] by web14008.mail.yahoo.com via HTTP; Thu, 03 Oct 2002 18:09:43 PDT Date: Thu, 3 Oct 2002 18:09:43 -0700 (PDT) From: Kip Macy Reply-To: kip@eventdriven.org Subject: breakage on zero copy send To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 18:38:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA18737B404 for ; Thu, 3 Oct 2002 18:38:16 -0700 (PDT) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E64E743E42 for ; Thu, 3 Oct 2002 18:38:15 -0700 (PDT) (envelope-from bicknell@ussenterprise.ufp.org) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g941cEI71351 for freebsd-hackers@FreeBSD.ORG; Thu, 3 Oct 2002 21:38:14 -0400 (EDT) (envelope-from bicknell) Date: Thu, 3 Oct 2002 21:38:14 -0400 From: Leo Bicknell To: freebsd-hackers@FreeBSD.ORG Subject: Re: inet_aton() Bug or feature? Message-ID: <20021004013814.GA70364@ussenterprise.ufp.org> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <1136947159.20021003160026@yahoo.com> <20021003195515.GA92263@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021003195515.GA92263@blossom.cjclark.org> Organization: United Federation of Planets Reply-By: Thu Oct 10 20:49:46 EDT 2002 X-Message-Flag: Put no trust in cryptic comments. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message written on Thu, Oct 03, 2002 at 12:55:15PM -0700, Crist J. Clark wrote: > This is a feature not a bug since it is documented in inet_aton(3), > > All numbers supplied as ``parts'' in a `.' notation may be decimal, > octal, or hexadecimal, as specified in the C language (i.e., a leading 0x > or 0X implies hexadecimal; otherwise, a leading 0 implies octal; other- > wise, the number is interpreted as decimal). While I agree it's documented, does it agree with practice? The earliest reference I could find was RFC 952 (ftp://ftp.isi.edu/in-notes/rfc952.txt): 2. Internet Addresses are 32-bit addresses [See RFC-796]. In the host table described herein each address is represented by four decimal numbers separated by a period. Each decimal number represents 1 octet. There are several other references to this format, including some later RFC's with BNF forms that have similar specifications. It would seem some people believe "dotted quad" format addresses are always composed of /decimal/ components. While I had no idea things like "0xffffff00" were just handded to inet_aton (although it makes some sense), it would seem to me much better if: 0xffffff00 was hex, 0123456701234567 was octal, 010.010.010.010 was 4 decimal parts I was very surprised from the poster that 192.168.0.010 might actually be 192.168.0.8. -- Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 18:49:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 787CF37B401 for ; Thu, 3 Oct 2002 18:49:28 -0700 (PDT) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FBA343E65 for ; Thu, 3 Oct 2002 18:49:26 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id g941nJ2l051244; Fri, 4 Oct 2002 11:19:20 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: inet_aton() Bug or feature? From: "Daniel O'Connor" To: Leo Bicknell Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20021004013814.GA70364@ussenterprise.ufp.org> References: <1136947159.20021003160026@yahoo.com> <20021003195515.GA92263@blossom.cjclark.org> <20021004013814.GA70364@ussenterprise.ufp.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 04 Oct 2002 11:19:16 +0930 Message-Id: <1033696158.61118.13.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Spam-Score: -3.5 () IN_REP_TO,SUBJ_ENDS_IN_Q_MARK X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-10-04 at 11:08, Leo Bicknell wrote: > 0xffffff00 was hex, > 0123456701234567 was octal, > 010.010.010.010 was 4 decimal parts > > I was very surprised from the poster that 192.168.0.010 might actually > be 192.168.0.8. I would imagine this behaviour is like it is because that is how atoi and friends work.. All of this stuff was written by C programmers and it shows 8-) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 18:58:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A182237B401 for ; Thu, 3 Oct 2002 18:58:38 -0700 (PDT) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 136A843E3B for ; Thu, 3 Oct 2002 18:58:38 -0700 (PDT) (envelope-from bicknell@ussenterprise.ufp.org) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g941wbq71893 for freebsd-hackers@FreeBSD.ORG; Thu, 3 Oct 2002 21:58:37 -0400 (EDT) (envelope-from bicknell) Date: Thu, 3 Oct 2002 21:58:37 -0400 From: Leo Bicknell To: freebsd-hackers@FreeBSD.ORG Subject: Re: inet_aton() Bug or feature? Message-ID: <20021004015837.GA71793@ussenterprise.ufp.org> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <1136947159.20021003160026@yahoo.com> <20021003195515.GA92263@blossom.cjclark.org> <20021004013814.GA70364@ussenterprise.ufp.org> <1033696158.61118.13.camel@chowder.gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1033696158.61118.13.camel@chowder.gsoft.com.au> Organization: United Federation of Planets Reply-By: Thu Oct 10 21:56:30 EDT 2002 X-Message-Flag: Put no trust in cryptic comments. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message written on Fri, Oct 04, 2002 at 11:19:16AM +0930, Daniel O'Connor wrote: > I would imagine this behaviour is like it is because that is how atoi > and friends work.. Absolutely. I think this is the unintended consequence sort of bug, not the programmer goofed sort of bug. :) I'd definately call the poster's original problem a bug though, IMHO. -- Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 19: 6:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CD6437B401 for ; Thu, 3 Oct 2002 19:06:24 -0700 (PDT) Received: from piglet.dstc.edu.au (piglet.dstc.edu.au [130.102.176.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF4B543E4A for ; Thu, 3 Oct 2002 19:06:23 -0700 (PDT) (envelope-from freebsd-lists@lister.dnsalias.net) Received: from ilister.dialup.dstc.edu.au (ilister.dialup.dstc.edu.au [130.102.182.103]) by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g9426H4s022872; Fri, 4 Oct 2002 12:06:17 +1000 (EST) Received: from localhost (ilister@localhost) by ilister.dialup.dstc.edu.au (8.11.1/8.11.1) with ESMTP id g9426C411151; Fri, 4 Oct 2002 12:06:15 +1000 (EST) (envelope-from freebsd-lists@lister.dnsalias.net) Date: Fri, 4 Oct 2002 12:06:12 +1000 (EST) From: Ian Lister X-X-Sender: ilister@sapporo.home To: Leo Bicknell Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: inet_aton() Bug or feature? In-Reply-To: <20021004013814.GA70364@ussenterprise.ufp.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM X-Spam-Score: -4.5, Required: 5 X-Virus-Scanned: Message: ok X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Oct 2002, Leo Bicknell wrote: >In a message written on Thu, Oct 03, 2002 at 12:55:15PM -0700, Crist J. Clark wrote: >> This is a feature not a bug since it is documented in inet_aton(3), >> >> All numbers supplied as ``parts'' in a `.' notation may be decimal, >> octal, or hexadecimal, as specified in the C language (i.e., a leading 0x >> or 0X implies hexadecimal; otherwise, a leading 0 implies octal; other- >> wise, the number is interpreted as decimal). > >While I agree it's documented, does it agree with practice? > >The earliest reference I could find was RFC 952 >(ftp://ftp.isi.edu/in-notes/rfc952.txt): It agrees with the SUS definition of inet_addr(), and inet_aton() should probably be consistent with that: http://www.opengroup.org/onlinepubs/007904975/functions/inet_addr.html Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 21:21: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B903137B401 for ; Thu, 3 Oct 2002 21:21:04 -0700 (PDT) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49BBB43E77 for ; Thu, 3 Oct 2002 21:21:03 -0700 (PDT) (envelope-from babolo@aaz.links.ru) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by aaz.links.ru (8.12.6/8.12.6) with ESMTP id g944Own1099781; Fri, 4 Oct 2002 08:24:58 +0400 (MSD) (envelope-from babolo@aaz.links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.12.6/8.12.6/Submit) id g944Owac099780; Fri, 4 Oct 2002 08:24:58 +0400 (MSD) Message-Id: <200210040424.g944Owac099780@aaz.links.ru> Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: To: Firsto Lasto Date: Fri, 4 Oct 2002 08:24:57 +0400 (MSD) From: "."@babolo.ru Cc: aurelien.nephtali@wanadoo.fr, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=KOI8-R Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I use jails intensively, but never give a possibility for that type of changes. 2 ways: - chflags schg /path/to/jail/dev/* - mount -r /reduced_set_of_dev /path/to/jail/dev first for full featured jails and second for light weight jails. (actually I always mount dev in jail directory because of /path/to/jail is nodev mounted, but that is another story) > Well, what I am seeing is the /dev/null changing permissions _after_ the > build/installation of the jail. > > That is, either it is changing at some random time while the jail is > running, or it changes after the jail is stopped, then started again. > > And it happens over and over, that is, if I reset it to 0666, at some time > in the future it will revert to 0600 > > Any idea why ? > > > > > > > >Hi, > > > >I've experimented this when I've rebuilt my world just after the announce > >of > >4.7-RC. mergemaster asked me if I wanted to run MAKEDEV since it had > >changed. > >I think it's this which broke up /dev/null, then i re-runed sh ./MAKEDEV > >and > >everything was fine :) > > > >I don't know if my second run of MAKEDEV solved the problem (maybe it was > >fixed > >before I run it again, I don't exactly know) > > > >-- Aurélien > > > >On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: > > > > > > If you run a jail, and inside that jail is a /dev with the file > >/dev/null > > > in it, the normal 0666 permissions of /dev/null will often get changed > >to > > > 0600. > > > > > > I cannot see any reason why this would happen - I thought maybe there > >was > > > something in /etc/rc that would do it, but there is not. Further, the > > > reversions seem random and irregular - happens in some jails, doesn't in > > > others. > > > > > > I have witnessed this on multiple jails in multiple different physical > > > machines, on versions from 4.4 to 4.6.2. > > > > > > Anyone have any ideas why this happening ? Has anyone else seen this ? > > > > > > Perhaps /dev/null is not the only one this happens to, but just the most > > > noticable one ? (many programs break when /dev/null is 0600) > > > > > > > > > > > > _________________________________________________________________ > > > MSN Photos is the easiest way to share and print your photos: > > > http://photos.msn.com/support/worldwide.aspx > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > ><< attach3 >> > > > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 3 23: 8:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F06D37B401 for ; Thu, 3 Oct 2002 23:08:35 -0700 (PDT) Received: from repulse.cnchost.com (repulse.concentric.net [207.155.248.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C105C43E3B for ; Thu, 3 Oct 2002 23:08:34 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by repulse.cnchost.com id CAA17124; Fri, 4 Oct 2002 02:08:22 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200210040608.CAA17124@repulse.cnchost.com> To: Poul-Henning Kamp , Julian Elischer Cc: Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-reply-to: Your message of "Thu, 03 Oct 2002 12:03:33 PDT." In-reply-to: Your message of "Thu, 03 Oct 2002 20:15:42 +0200" <7944.1033668942@critter.freebsd.dk> Date: Thu, 03 Oct 2002 23:08:21 -0700 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk writes: > You are welcome to peruse the mail-archives to find out such > historically interesting decisions. I am aware of the technical arguments discussed via -arch, -current & -hackers. I just don't agree with them (seems like most hackers who are afraid to cross you). > You are not welcome to build another bikeshed over it. If block devices are "trivial" to build with geom, they should've been not removed until geom was in place. Oh well. I am not going to argue about this over and over and over again. But I was hoping sanity would prevail (my hopes were raised with perl-5's removal and Julian & Bruce piping up). > Man 4 geom is a good place to start. Thanks. More on this in a separate email. > There will also be a tutorial friday afternoon about GEOM > at BSDCONeuro2002 in amsterdam next month. Too far to travel :-) Julian writes: > He had some backing, for example Kirk made a good argument for removing > them. The arguments about not being able to do devfs and geom without > removing them are of course specious as it can and was done before > by others. Hmm.. I don't recall Kirk McKusick's argument for removing a buffered block device. > One provides a stacking system for disk geometries wand layouts > where the upper interface is the same as that provided by the actual > disk. Thanks! -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 0:33:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74BA837B401 for ; Fri, 4 Oct 2002 00:33:49 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD5743E42 for ; Fri, 4 Oct 2002 00:33:49 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0018.cvx40-bradley.dialup.earthlink.net ([216.244.42.18] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17xMxv-0006kC-00; Fri, 04 Oct 2002 00:33:40 -0700 Message-ID: <3D9D43D0.5F4D1B22@mindspring.com> Date: Fri, 04 Oct 2002 00:31:28 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bakul Shah Cc: Poul-Henning Kamp , Julian Elischer , Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary References: <200210040608.CAA17124@repulse.cnchost.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bakul Shah wrote: > phk writes: > > You are welcome to peruse the mail-archives to find out such > > historically interesting decisions. > > I am aware of the technical arguments discussed via -arch, > -current & -hackers. I just don't agree with them (seems > like most hackers who are afraid to cross you). Here is a rehash of all the arguments which involved Kirk McKusick, or people quoting or responding to him: It includes the Linux emulation issue for Sybase and Informix, as well as the EXT2FS utilities, system dump images (only this last, since fixed), etc.. The VMware issue is a Linux emulation issue. There are a couple of MSDOS FS layouts that would result in the same issue, as well as WINE issues. These are fixable, because source code is available. My comments in response to Kirk are also there, along with everyone else who voiced a response. > Julian writes: > > He had some backing, for example Kirk made a good argument for removing > > them. The arguments about not being able to do devfs and geom without > > removing them are of course specious as it can and was done before > > by others. > > Hmm.. I don't recall Kirk McKusick's argument for removing a > buffered block device. Here is the most specific statement; it quotes, inclusively, a previous statement by him on the issue. For the record, I am against a bikeshed, now, just as much as I was against the removal of block devices, then. What's done is done, and all that's left for people to do is to pick up the pieces that come from the changes they make. > > One provides a stacking system for disk geometries wand layouts > > where the upper interface is the same as that provided by the actual > > disk. > > Thanks! This is the (now old) "slice vs. GEOM" argument. Ignore it. Core did not override Poul's actions in this regard at the time, it's no use revisiting them now, if nothing useful is going to come from it. We are all already on record as to which positions we supported, though it's harder to search for "slice" and get useful results from the mailing list archive search engine. Here is Julian's initial announcement of his "slice" code that went with his "devfs" code: -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 1:41: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E8E37B401 for ; Fri, 4 Oct 2002 01:41:07 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C81D143E7B for ; Fri, 4 Oct 2002 01:41:06 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA23222; Fri, 4 Oct 2002 18:40:56 +1000 Date: Fri, 4 Oct 2002 18:50:38 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: Bakul Shah , Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: <7944.1033668942@critter.freebsd.dk> Message-ID: <20021004184640.N7083-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Oct 2002, Poul-Henning Kamp wrote: > In message <200210031637.MAA01800@rodney.cnchost.com>, Bakul Shah writes: > >How hard would it be to bring back block devices without GEOM? > > Not at all hard, pretty trivial in fact. The easiest way is to restore the old code and use a minor number hack or ioctl to enable it. I had better do it instead of complaining about it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 2: 8:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23AC837B401 for ; Fri, 4 Oct 2002 02:08:59 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ED9843E42 for ; Fri, 4 Oct 2002 02:08:58 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g9498bpS011165; Fri, 4 Oct 2002 11:08:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bakul Shah Cc: Julian Elischer , Bruce Evans , freebsd-hackers@FreeBSD.ORG Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: Your message of "Thu, 03 Oct 2002 23:08:21 PDT." <200210040608.CAA17124@repulse.cnchost.com> Date: Fri, 04 Oct 2002 11:08:37 +0200 Message-ID: <11164.1033722517@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200210040608.CAA17124@repulse.cnchost.com>, Bakul Shah writes: >Oh well. >I am not going to argue about this over and over and over >again. Thankyou, a very wise decision sir! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 10:13:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D92DB37B401 for ; Fri, 4 Oct 2002 10:13:55 -0700 (PDT) Received: from androcles.com (androcles.com [204.57.240.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C1143E42 for ; Fri, 4 Oct 2002 10:13:54 -0700 (PDT) (envelope-from alex@androcles.com) Received: (from alex@localhost) by androcles.com (8.11.6/8.11.3) id g94HDpm63371 for freebsd-hackers@FreeBSD.ORG; Fri, 4 Oct 2002 10:13:51 -0700 (PDT) (envelope-from alex) Message-Id: <200210041713.g94HDpm63371@androcles.com> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Date: Fri, 04 Oct 2002 10:13:51 -0700 (PDT) From: "Duane H. Hesser" To: freebsd-hackers@FreeBSD.ORG Subject: Tartools and "art" (and FreeBSD) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the past few months, there have been a number of threads in the FreeBSD lists regarding 'tar'. I have a 'tartools' distribution which may address some of the concerns expressed, but I have not responded to those threads for a couple of reasons. 1) I don't want to start any 'tar wars' (my light wand was recalled due to a manufacturing defect). 2) Tartools is not a 'plug-compatible' replacement for GNU tar, including the FreeBSD version. With a little work, item 2 might be overcome. Tartools was originally written sometime during the Cenozoic; it has been modified occasionally over the past few years, and a significant effort went into some modernizations earlier this year, resulting in a distribution which is available at http://androcles.com/dist/tartools/ The distribution is BSD licenced. I won't extend this message unnecessarily by describing the tools here; the DESCRIPTION file at the above address should be consulted if you are interested. The description includes some information about compatibility with other tars; a somewhat more detailed discussion of compatibility is included in http://androcles.com/dist/tartools/doc/usingtt/node27.html I will go this far; the tartools distribution includes the following programs: creatar, listar, extractar, cmptar, mvtar, rmtar, appentar, updatar, and art, created by conditional compilation. The most interesting (and to some, most disturbing) feature of these programs is that they are *interactive*; they also produce "labeled" archives. In order to satisfy FreeBSDs needs (as I understand them from earlier threads), it would be necessarily to add a conditionally compiled 'tar' program, with a more familiar option-gathering module (tartools use 'getopt') and with interactive operation disabled by default. The latter is easy to do, while the former might require some negotiation (but otherwise easy to do). On the positive side, the tools support FreeBSDs "large" device nodes, and recent modifications are intended to support 64 bit file offsets (although this is largely untested). The latest version also opens gzipped, bzipped, or compressed archives automatically, based upon filename extension. It is important to note that these tools have never been subject to the depredations of the average user, only me (and some would insist that I am *below* average...don't believe them, please). Considerable "peer review" would be called for. If there is interest in this, I am willing (and able...pay work is hard to find these days) to invest the time and effort necessary to meet FreeBSD user's needs in this area. One last warning, to those who may elect to examine the code. Use 4-space tabs. -------------- The Ancient Programmer dhh@androcles.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 11:10:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C1937B401; Fri, 4 Oct 2002 11:10:30 -0700 (PDT) Received: from blahdeblah.demon.co.uk (blahdeblah.demon.co.uk [62.49.19.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396E943E4A; Fri, 4 Oct 2002 11:10:29 -0700 (PDT) (envelope-from fergus@blahdeblah.demon.co.uk) Received: from pooh.blahdeblah.demon.co.uk (localhost [127.0.0.1]) by blahdeblah.demon.co.uk (8.12.5/8.12.5) with ESMTP id g94I9DDi011501; Fri, 4 Oct 2002 19:09:13 +0100 (BST) (envelope-from fergus@pooh.blahdeblah.demon.co.uk) Received: (from fergus@localhost) by pooh.blahdeblah.demon.co.uk (8.12.5/8.12.5/Submit) id g94I9Cf7011500; Fri, 4 Oct 2002 19:09:12 +0100 (BST) Date: Fri, 4 Oct 2002 19:09:12 +0100 From: n0go013 To: Poul-Henning Kamp Cc: current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost Message-ID: <20021004180912.GD10830@pooh.blahdeblah.demon.co.uk> Mail-Followup-To: Poul-Henning Kamp , current , not on list - please copy References: <20021004161119.GA10830@pooh.blahdeblah.demon.co.uk> <35389.1033748850@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35389.1033748850@critter.freebsd.dk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 04.10-18:27, Poul-Henning Kamp wrote: > In message n0go013 writes : > >On 04.10-15:40, fergus wrote: > > > On 04.10-14:20, Poul-Henning Kamp wrote: > > > [...] > > > > I suspect vinum uses this sysctl to get an inventory of disks in > > > > the system, so can I get you to try again making sure you have > > > > rev. 1.20 of src/sys/geom/geom_disk.c ? > > [...] > > > i'll let you know the test results when i have some. > > > > same results -- can't initialise any drives. i think the example below > > points more directly to the issue but i'm pretty sure it is because the > > direct read from the disk does not return a valid disklabel. without a > > 'vinum' partition entry vinum spews. > > I have no idea how vinum does this or something else, but clearly > something is not done the right way in vinum... apparently by allocating a bio header via 'geteblk' and calling the DEV_STRATEGY macro. not that it means anything to me but probably to you it does (well i get the idea but . . .). what is the correct way to read the disklabel ? i'll hack around and see if i can't clean up this and the other pieces of direct IO. -- t t z To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 11:17:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 471F337B401; Fri, 4 Oct 2002 11:17:50 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E07B43E42; Fri, 4 Oct 2002 11:17:49 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g94IHapS054641; Fri, 4 Oct 2002 20:17:40 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: n0go013 Cc: current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Your message of "Fri, 04 Oct 2002 19:09:12 BST." <20021004180912.GD10830@pooh.blahdeblah.demon.co.uk> Date: Fri, 04 Oct 2002 20:17:36 +0200 Message-ID: <54640.1033755456@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021004180912.GD10830@pooh.blahdeblah.demon.co.uk>, n0go013 writes : >On 04.10-18:27, Poul-Henning Kamp wrote: >> In message n0go013 writes : >> >On 04.10-15:40, fergus wrote: >> > > On 04.10-14:20, Poul-Henning Kamp wrote: >> > > [...] >> > > > I suspect vinum uses this sysctl to get an inventory of disks in >> > > > the system, so can I get you to try again making sure you have >> > > > rev. 1.20 of src/sys/geom/geom_disk.c ? >> > [...] >> > > i'll let you know the test results when i have some. >> > >> > same results -- can't initialise any drives. i think the example below >> > points more directly to the issue but i'm pretty sure it is because the >> > direct read from the disk does not return a valid disklabel. without a >> > 'vinum' partition entry vinum spews. >> >> I have no idea how vinum does this or something else, but clearly >> something is not done the right way in vinum... > >apparently by allocating a bio header via 'geteblk' and calling the >DEV_STRATEGY macro. not that it means anything to me but probably to >you it does (well i get the idea but . . .). > >what is the correct way to read the disklabel ? i'll hack around and >see if i can't clean up this and the other pieces of direct IO. I would need to look at the code to be able to tell, I don't have time for that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 11:41:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29CFF37B401; Fri, 4 Oct 2002 11:41:33 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BFF443E6A; Fri, 4 Oct 2002 11:41:32 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (c1-vpn5.isi.edu [128.9.176.35]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g94IfNC10644; Fri, 4 Oct 2002 11:41:23 -0700 (PDT) Message-ID: <3D9DE0D0.4050204@isi.edu> Date: Fri, 04 Oct 2002 11:41:20 -0700 From: Lars Eggert Organization: USC Information Sciences Institute User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost References: <54640.1033755456@critter.freebsd.dk> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040706010906030302070807" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms040706010906030302070807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Poul-Henning Kamp wrote: > > I would need to look at the code to be able to tell, I don't have > time for that. I'd consider not having vinum work under geom a show-stopper... at least until geom can stripe. Lars -- Lars Eggert USC Information Sciences Institute --------------ms040706010906030302070807 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzAS BgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQAxsUtH XfkBceX1U2xdedY9mMAmE2KBIqcS+CKV6BtJtyd7BDm6/ObyJOuR+r3sDSo491BVqGz3Da1M G7wD9LXrokefbKIMWI0xQgkRbLAaadErErJAXWr5edDqLiXdiuT82w0fnQLzWtvKPPZE6iZp h39Ins6ln+eE2MliYq0FxjCCAzkwggKioAMCAQICAwglQTANBgkqhkiG9w0BAQQFADCBkjEL MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMB4XDTAyMDgyNDE4NTMzOVoX DTAzMDgyNDE4NTMzOVowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYD VQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBANI2Rrt4ggaQ/IrOsDeOm2H4/R5FRIL6JjDY3StE aogp1r23WKniQ1Vj98Nu5WxlaZ3Iam3Jen5T66H8u7rtMNpK4qAeAGoBsVeyVr1+CTFeuv+m xCh7BvBJwhLdm0zDaoDT05YKYZaqtsT+F286FWJQg31Xtf+vTKLVVrHcsafnteyal2NEt7Ac yZZfjsVLwxp2Lq3cwYfRQRoo7/yCVzS7HsgM6jmbO4taEMo4yC2rpnUbWEUCDTaCYgpAXzAl oiNk7GDh0wz2s5ZSnHRvNSBMAjCmpNtSYHfXFI1ANwrrrHIJ7Ei83+XN32PWY4OPzO3iown9 VR+vM+8lNx9OX28CAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIBBAQTTDJ1TXlmZkJO VWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1UdEwEB/wQCMAAwDQYJ KoZIhvcNAQEEBQADgYEAXcrIlKmPLM/r8r3oz2ZLPLaT1AyMjYTZY2qq/R7SUtFa9BNlTIFh DG78QKfJ9lo2LMzTPQqMZgNLmj95GbNPI8P8OIq2K6MeCZWz08ROackqTFP6xWbIFIfXcBVR 1dZnDDyDKBBh05KkvyTPawSQyOBUeNBfQUyO4TE+3o58U8UwggM5MIICoqADAgECAgMIJUEw DQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MDAeFw0wMjA4MjQxODUzMzlaFw0wMzA4MjQxODUzMzlaMFQxDzANBgNVBAQTBkVnZ2VydDEN MAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkqhkiG9w0BCQEWDWxh cnNlQGlzaS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDSNka7eIIGkPyK zrA3jpth+P0eRUSC+iYw2N0rRGqIKda9t1ip4kNVY/fDbuVsZWmdyGptyXp+U+uh/Lu67TDa SuKgHgBqAbFXsla9fgkxXrr/psQoewbwScIS3ZtMw2qA09OWCmGWqrbE/hdvOhViUIN9V7X/ r0yi1Vax3LGn57XsmpdjRLewHMmWX47FS8Madi6t3MGH0UEaKO/8glc0ux7IDOo5mzuLWhDK OMgtq6Z1G1hFAg02gmIKQF8wJaIjZOxg4dMM9rOWUpx0bzUgTAIwpqTbUmB31xSNQDcK66xy CexIvN/lzd9j1mODj8zt4qMJ/VUfrzPvJTcfTl9vAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIB ADAaMBgCAQQEE0wydU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVk dTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAF3KyJSpjyzP6/K96M9mSzy2k9QM jI2E2WNqqv0e0lLRWvQTZUyBYQxu/ECnyfZaNizM0z0KjGYDS5o/eRmzTyPD/DiKtiujHgmV s9PETmnJKkxT+sVmyBSH13AVUdXWZww8gygQYdOSpL8kz2sEkMjgVHjQX0FMjuExPt6OfFPF MYIDJzCCAyMCAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MAIDCCVBMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTAyMTAwNDE4NDEyMFowIwYJKoZIhvcNAQkEMRYEFH9w9IdbLB+dYP2DFXLN 1b3/CNKKMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0BCRACCzGB naCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ Q2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZp Y2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMIJUEwDQYJ KoZIhvcNAQEBBQAEggEAJs6CJS7u5DEBz11HFwVIu+0VUCu0jPovwdTdffzq8KLwsbZ/AmCx ILjEaVrzJFpwOBfv3AF+cYs1zeXM+/839kAxO7czGbWZ6BMik3SD9V9b3OLqlYwU0jHa0EMh PP9t6OZNVmlcVV4LvhC1tPjSdfSWpMGRMuUHYm1e8t+Bc0KEtG5kiWyXjXr0bPNl8lVRLE0E FJz5Qwn2W7xlX8L4PyKdYYmrDFHZITJ7ZeeQWm87JeXeUrn34N/HartWwR/95VWR0Hil9yg9 S+bIcHTJEGYI8V9yXQkYG1/DFIJVo+PkoSQouGOShmzaC8IJOJ2f9Wx63FolT3qfSR/t6s2H 2AAAAAAAAA== --------------ms040706010906030302070807-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 12: 2:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF70537B401; Fri, 4 Oct 2002 12:02:45 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED93843E65; Fri, 4 Oct 2002 12:02:44 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g94J2epS062516; Fri, 4 Oct 2002 21:02:41 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Lars Eggert Cc: n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Your message of "Fri, 04 Oct 2002 11:41:20 PDT." <3D9DE0D0.4050204@isi.edu> Date: Fri, 04 Oct 2002 21:02:40 +0200 Message-ID: <62515.1033758160@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: >This is a cryptographically signed message in MIME format. > >--------------ms040706010906030302070807 >Content-Type: text/plain; charset=us-ascii; format=flowed >Content-Transfer-Encoding: 7bit > >Poul-Henning Kamp wrote: >> >> I would need to look at the code to be able to tell, I don't have >> time for that. > >I'd consider not having vinum work under geom a show-stopper... at least >until geom can stripe. Well, the showstopper is in vinum. The fact that ccd(4) works seamlessly with GEOM is testament to this. There are numerous architectural issues which have never been fixed in vinum, and one or more of these bits now. Whoever loves vinum will have to chase it/them down and fix it. If I receive patches or requests for changes to GEOM as result of this, they will be evaluated in good faith. Worst case you will have the option to use: options NOGEOM options vinum -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 12:46:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F6CD37B406; Fri, 4 Oct 2002 12:46:07 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ADE643E77; Fri, 4 Oct 2002 12:46:06 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (c1-vpn2.isi.edu [128.9.176.28]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g94Jk1C22257; Fri, 4 Oct 2002 12:46:01 -0700 (PDT) Message-ID: <3D9DEFF7.7050508@isi.edu> Date: Fri, 04 Oct 2002 12:45:59 -0700 From: Lars Eggert Organization: USC Information Sciences Institute User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost References: <62515.1033758160@critter.freebsd.dk> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010909010400000801020406" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms010909010400000801020406 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Poul-Henning Kamp wrote: > In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: >> >>I'd consider not having vinum work under geom a show-stopper... at least >>until geom can stripe. > > > Well, the showstopper is in vinum. The fact that ccd(4) works > seamlessly with GEOM is testament to this. For some reason I was under the (mis?)impression that ccd was no longer being maintained... If it works with geom, we can probably move our machines over to ccd. They're all no-frills stripes, so ccd functionality is good enough. Thanks for clearing that up! Lars -- Lars Eggert USC Information Sciences Institute --------------ms010909010400000801020406 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzAS BgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQAxsUtH XfkBceX1U2xdedY9mMAmE2KBIqcS+CKV6BtJtyd7BDm6/ObyJOuR+r3sDSo491BVqGz3Da1M G7wD9LXrokefbKIMWI0xQgkRbLAaadErErJAXWr5edDqLiXdiuT82w0fnQLzWtvKPPZE6iZp h39Ins6ln+eE2MliYq0FxjCCAzkwggKioAMCAQICAwglQTANBgkqhkiG9w0BAQQFADCBkjEL MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMB4XDTAyMDgyNDE4NTMzOVoX DTAzMDgyNDE4NTMzOVowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYD VQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBANI2Rrt4ggaQ/IrOsDeOm2H4/R5FRIL6JjDY3StE aogp1r23WKniQ1Vj98Nu5WxlaZ3Iam3Jen5T66H8u7rtMNpK4qAeAGoBsVeyVr1+CTFeuv+m xCh7BvBJwhLdm0zDaoDT05YKYZaqtsT+F286FWJQg31Xtf+vTKLVVrHcsafnteyal2NEt7Ac yZZfjsVLwxp2Lq3cwYfRQRoo7/yCVzS7HsgM6jmbO4taEMo4yC2rpnUbWEUCDTaCYgpAXzAl oiNk7GDh0wz2s5ZSnHRvNSBMAjCmpNtSYHfXFI1ANwrrrHIJ7Ei83+XN32PWY4OPzO3iown9 VR+vM+8lNx9OX28CAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIBBAQTTDJ1TXlmZkJO VWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1UdEwEB/wQCMAAwDQYJ KoZIhvcNAQEEBQADgYEAXcrIlKmPLM/r8r3oz2ZLPLaT1AyMjYTZY2qq/R7SUtFa9BNlTIFh DG78QKfJ9lo2LMzTPQqMZgNLmj95GbNPI8P8OIq2K6MeCZWz08ROackqTFP6xWbIFIfXcBVR 1dZnDDyDKBBh05KkvyTPawSQyOBUeNBfQUyO4TE+3o58U8UwggM5MIICoqADAgECAgMIJUEw DQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MDAeFw0wMjA4MjQxODUzMzlaFw0wMzA4MjQxODUzMzlaMFQxDzANBgNVBAQTBkVnZ2VydDEN MAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkqhkiG9w0BCQEWDWxh cnNlQGlzaS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDSNka7eIIGkPyK zrA3jpth+P0eRUSC+iYw2N0rRGqIKda9t1ip4kNVY/fDbuVsZWmdyGptyXp+U+uh/Lu67TDa SuKgHgBqAbFXsla9fgkxXrr/psQoewbwScIS3ZtMw2qA09OWCmGWqrbE/hdvOhViUIN9V7X/ r0yi1Vax3LGn57XsmpdjRLewHMmWX47FS8Madi6t3MGH0UEaKO/8glc0ux7IDOo5mzuLWhDK OMgtq6Z1G1hFAg02gmIKQF8wJaIjZOxg4dMM9rOWUpx0bzUgTAIwpqTbUmB31xSNQDcK66xy CexIvN/lzd9j1mODj8zt4qMJ/VUfrzPvJTcfTl9vAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIB ADAaMBgCAQQEE0wydU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVk dTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAF3KyJSpjyzP6/K96M9mSzy2k9QM jI2E2WNqqv0e0lLRWvQTZUyBYQxu/ECnyfZaNizM0z0KjGYDS5o/eRmzTyPD/DiKtiujHgmV s9PETmnJKkxT+sVmyBSH13AVUdXWZww8gygQYdOSpL8kz2sEkMjgVHjQX0FMjuExPt6OfFPF MYIDJzCCAyMCAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MAIDCCVBMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTAyMTAwNDE5NDU1OVowIwYJKoZIhvcNAQkEMRYEFC2ZLUoDHBLkAMvqQgxK Z0xFZctvMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0BCRACCzGB naCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ Q2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZp Y2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMIJUEwDQYJ KoZIhvcNAQEBBQAEggEAj34Df1Lr21NebYOUA4AQKQQe2aTwMQGaY7GUSLHL9wVszFZ+yBf7 P90Fi7o6pQqQcb6lORHqjEzbGaiKwhSvPn5T7MxlAnJ4dXcNZ6RKgqW5t4KP94RKk3Sk8peR lKfQx/0Zoadr9ByFQdY5nCqybu3WeXCBpSTmEiOtnVnBoTb9pUtuMoNto+LwVgsbCopSz5IF RN4TL/SlTX6K/jOcVqRPxSateHudlcL9rVBbKaGZkpjb8nI6uO6phdlwBnpkxjKgl+QrfQr2 JqHC46axtDJGtkPAyXwO/go+kgbf3wV9ICuBWsJPbJcSUDEklQ12cMPipdFk1kai+y9QmBTk AwAAAAAAAA== --------------ms010909010400000801020406-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13: 0:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D918037B401; Fri, 4 Oct 2002 13:00:23 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C7743E6A; Fri, 4 Oct 2002 13:00:23 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021004200023.VYHP17535.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 4 Oct 2002 20:00:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA18192; Fri, 4 Oct 2002 12:44:31 -0700 (PDT) Date: Fri, 4 Oct 2002 12:44:30 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp Cc: Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <62515.1033758160@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: > >This is a cryptographically signed message in MIME format. > > > >--------------ms040706010906030302070807 > >Content-Type: text/plain; charset=us-ascii; format=flowed > >Content-Transfer-Encoding: 7bit > > > >Poul-Henning Kamp wrote: > >> > >> I would need to look at the code to be able to tell, I don't have > >> time for that. > > > >I'd consider not having vinum work under geom a show-stopper... at least > >until geom can stripe. > > Well, the showstopper is in vinum. The fact that ccd(4) works > seamlessly with GEOM is testament to this. > > There are numerous architectural issues which have never been > fixed in vinum, and one or more of these bits now. > > Whoever loves vinum will have to chase it/them down and fix it. No, it is established principal tha the importer of new features has the responsibility to make older subsystems work. > > If I receive patches or requests for changes to GEOM as result > of this, they will be evaluated in good faith. > > Worst case you will have the option to use: > > options NOGEOM > options vinum > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13: 2:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 473AD37B401 for ; Fri, 4 Oct 2002 13:02:49 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id B358143E3B for ; Fri, 4 Oct 2002 13:02:47 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 30951 invoked from network); 4 Oct 2002 20:02:48 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 4 Oct 2002 20:02:48 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g94K2iLF041711; Fri, 4 Oct 2002 16:02:45 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 04 Oct 2002 16:02:47 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: Re: [ GEOM tests ] vinum drives lost Cc: not on list - please copy Cc: not on list - please copy , current , n0go013 , Lars Eggert , Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 04-Oct-2002 Julian Elischer wrote: > > > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > >> In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: >> >This is a cryptographically signed message in MIME format. >> > >> >--------------ms040706010906030302070807 >> >Content-Type: text/plain; charset=us-ascii; format=flowed >> >Content-Transfer-Encoding: 7bit >> > >> >Poul-Henning Kamp wrote: >> >> >> >> I would need to look at the code to be able to tell, I don't have >> >> time for that. >> > >> >I'd consider not having vinum work under geom a show-stopper... at least >> >until geom can stripe. >> >> Well, the showstopper is in vinum. The fact that ccd(4) works >> seamlessly with GEOM is testament to this. >> >> There are numerous architectural issues which have never been >> fixed in vinum, and one or more of these bits now. >> >> Whoever loves vinum will have to chase it/them down and fix it. > > No, it is established principal tha the importer of new features has the > responsibility to make older subsystems work. Oh, you mean like KSE on Alpha? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13: 3:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5AAD37B401; Fri, 4 Oct 2002 13:03:54 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D955343E6A; Fri, 4 Oct 2002 13:03:53 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g94K3mpS073194; Fri, 4 Oct 2002 22:03:48 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Julian Elischer Cc: Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Your message of "Fri, 04 Oct 2002 12:44:30 PDT." Date: Fri, 04 Oct 2002 22:03:48 +0200 Message-ID: <73193.1033761828@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Ju lian Elischer writes: >No, it is established principal tha the importer of new features has the >responsibility to make older subsystems work. I'm _so_ glad to hear _you_ say that: When will you have made KSE work on sparc64 and ia64 ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13:20:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E31D37B404; Fri, 4 Oct 2002 13:20:07 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10AAA43E65; Fri, 4 Oct 2002 13:20:07 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021004202006.LCBI18767.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 4 Oct 2002 20:20:06 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA18345; Fri, 4 Oct 2002 13:09:38 -0700 (PDT) Date: Fri, 4 Oct 2002 13:09:36 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: not on list - please copy , not on list - please copy , current , n0go013 , Lars Eggert , Poul-Henning Kamp Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, John Baldwin wrote: > > On 04-Oct-2002 Julian Elischer wrote: > > > > > > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > > > >> In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: > >> >This is a cryptographically signed message in MIME format. > >> > > >> >--------------ms040706010906030302070807 > >> >Content-Type: text/plain; charset=us-ascii; format=flowed > >> >Content-Transfer-Encoding: 7bit > >> > > >> >Poul-Henning Kamp wrote: > >> >> > >> >> I would need to look at the code to be able to tell, I don't have > >> >> time for that. > >> > > >> >I'd consider not having vinum work under geom a show-stopper... at least > >> >until geom can stripe. > >> > >> Well, the showstopper is in vinum. The fact that ccd(4) works > >> seamlessly with GEOM is testament to this. > >> > >> There are numerous architectural issues which have never been > >> fixed in vinum, and one or more of these bits now. > >> > >> Whoever loves vinum will have to chase it/them down and fix it. > > > > No, it is established principal tha the importer of new features has the > > responsibility to make older subsystems work. > > Oh, you mean like KSE on Alpha? What existing functionality on the alpha does KSE stop? > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13:26:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75CD237B401; Fri, 4 Oct 2002 13:26:13 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6F8343E4A; Fri, 4 Oct 2002 13:26:12 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g94KQ07j000833; Fri, 4 Oct 2002 16:26:00 -0400 (EDT) Date: Fri, 4 Oct 2002 16:25:59 -0400 (EDT) From: Daniel Eischen To: Poul-Henning Kamp Cc: Julian Elischer , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <73193.1033761828@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > In message , Ju > lian Elischer writes: > > >No, it is established principal tha the importer of new features has the > >responsibility to make older subsystems work. > > I'm _so_ glad to hear _you_ say that: > > When will you have made KSE work on sparc64 and ia64 ? Those are Tier2 platforms :-) -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13:33:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2364837B401 for ; Fri, 4 Oct 2002 13:33:16 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED0743E7B for ; Fri, 4 Oct 2002 13:33:15 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 32102 invoked from network); 4 Oct 2002 20:33:15 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 4 Oct 2002 20:33:15 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g94KXCLF041884; Fri, 4 Oct 2002 16:33:12 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 04 Oct 2002 16:33:15 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: Re: [ GEOM tests ] vinum drives lost Cc: Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 04-Oct-2002 Julian Elischer wrote: > > > On Fri, 4 Oct 2002, John Baldwin wrote: > >> >> On 04-Oct-2002 Julian Elischer wrote: >> > >> > >> > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: >> > >> >> In message <3D9DE0D0.4050204@isi.edu>, Lars Eggert writes: >> >> >This is a cryptographically signed message in MIME format. >> >> > >> >> >--------------ms040706010906030302070807 >> >> >Content-Type: text/plain; charset=us-ascii; format=flowed >> >> >Content-Transfer-Encoding: 7bit >> >> > >> >> >Poul-Henning Kamp wrote: >> >> >> >> >> >> I would need to look at the code to be able to tell, I don't have >> >> >> time for that. >> >> > >> >> >I'd consider not having vinum work under geom a show-stopper... at least >> >> >until geom can stripe. >> >> >> >> Well, the showstopper is in vinum. The fact that ccd(4) works >> >> seamlessly with GEOM is testament to this. >> >> >> >> There are numerous architectural issues which have never been >> >> fixed in vinum, and one or more of these bits now. >> >> >> >> Whoever loves vinum will have to chase it/them down and fix it. >> > >> > No, it is established principal tha the importer of new features has the >> > responsibility to make older subsystems work. >> >> Oh, you mean like KSE on Alpha? > > What existing functionality on the alpha does KSE stop? So you agree that requiring vinum users to turn off GEOM is ok? Part of adding a new feature is providing proof of concept that it works for more than just one tiny case. Also, if you actually have to make it work on multiple cases, then you have to learn enough about other cases to better enable you to make better-informed design decisions that take other cases into account. One KSE works on i386, what are multithreaded ports like, oh, X, supposed to do when compiling with -lpthread doesn't work? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13:40:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20B9F37B401; Fri, 4 Oct 2002 13:40:09 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEB6D43E42; Fri, 4 Oct 2002 13:40:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021004204008.LUAB18767.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 4 Oct 2002 20:40:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA18577; Fri, 4 Oct 2002 13:39:57 -0700 (PDT) Date: Fri, 4 Oct 2002 13:39:56 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp Cc: Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <73193.1033761828@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > In message , Ju > lian Elischer writes: > > >No, it is established principal tha the importer of new features has the > >responsibility to make older subsystems work. > > I'm _so_ glad to hear _you_ say that: > > When will you have made KSE work on sparc64 and ia64 ? When it works on i386. In case you haven't noticed, KSE is not a legacy facility. love you too. XXX > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 13:49:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BDEE37B401; Fri, 4 Oct 2002 13:49:14 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DBA43E42; Fri, 4 Oct 2002 13:49:13 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g94KlspS081529; Fri, 4 Oct 2002 22:47:55 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Daniel Eischen Cc: Julian Elischer , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Your message of "Fri, 04 Oct 2002 16:25:59 EDT." Date: Fri, 04 Oct 2002 22:47:54 +0200 Message-ID: <81528.1033764474@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Daniel E ischen writes: >On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > >> In message , Ju >> lian Elischer writes: >> >> >No, it is established principal tha the importer of new features has the >> >responsibility to make older subsystems work. >> >> I'm _so_ glad to hear _you_ say that: >> >> When will you have made KSE work on sparc64 and ia64 ? > >Those are Tier2 platforms :-) And ? Vinum is a tier2 feature. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 14: 0:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCEC137B401; Fri, 4 Oct 2002 14:00:11 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1890543E42; Fri, 4 Oct 2002 14:00:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021004210010.ILBE6431.sccrmhc01.attbi.com@InterJet.elischer.org>; Fri, 4 Oct 2002 21:00:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA18669; Fri, 4 Oct 2002 13:46:40 -0700 (PDT) Date: Fri, 4 Oct 2002 13:46:38 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, John Baldwin wrote: > > >> > >> Oh, you mean like KSE on Alpha? > > > > What existing functionality on the alpha does KSE stop? > > So you agree that requiring vinum users to turn off GEOM is ok? Part > of adding a new feature is providing proof of concept that it works > for more than just one tiny case. Also, if you actually have to make > it work on multiple cases, then you have to learn enough about other > cases to better enable you to make better-informed design decisions > that take other cases into account. One KSE works on i386, what are > multithreaded ports like, oh, X, supposed to do when compiling with > -lpthread doesn't work? I'm not making KSE the default. The discussion is about default settings. The ports of KSE to other architectures will be rather minor but it's pointless to do it until the MI parts settle down. It's not worth more discussion than this. If we ned to turn off GEOM to run vinum then ok, it's not a major problem. I think it's the GEOM author's job to make it work, but if core doesn't tjink he needs to bother, that's just a reflection on FreeBSD, not me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 14: 4:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF43E37B401; Fri, 4 Oct 2002 14:04:14 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EF0D43E42; Fri, 4 Oct 2002 14:04:14 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0072.cvx21-bradley.dialup.earthlink.net ([209.179.192.72] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17xZcD-0001kl-00; Fri, 04 Oct 2002 14:04:06 -0700 Message-ID: <3D9E01E6.BB717A2C@mindspring.com> Date: Fri, 04 Oct 2002 14:02:30 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Julian Elischer , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost References: <73193.1033761828@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message , Ju > lian Elischer writes: > >No, it is established principal tha the importer of new features has the > >responsibility to make older subsystems work. > > I'm _so_ glad to hear _you_ say that: > > When will you have made KSE work on sparc64 and ia64 ? What does KSE break, which used to work on these platforms? It's not like CAM (to pick an older example that has less emotion bound up in it), where every SCSI driver that hadn't already been CAM-ified at the time of the import, broke. When KSE doesn't work, you lose only new features, not old ones, right? Isn't complaining about this on sparc64/ia64/alpha kind of like complaining about someone adding 4M page support to i386, but not adding the same thing to other platforms? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 14: 4:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFA2437B401; Fri, 4 Oct 2002 14:04:29 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0269D43E75; Fri, 4 Oct 2002 14:04:29 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g94L4LTu005464; Fri, 4 Oct 2002 17:04:21 -0400 (EDT) Date: Fri, 4 Oct 2002 17:04:21 -0400 (EDT) From: Daniel Eischen To: Poul-Henning Kamp Cc: Julian Elischer , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <81528.1033764474@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > In message , Daniel E > ischen writes: > >On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > > > >> In message , Ju > >> lian Elischer writes: > >> > >> >No, it is established principal tha the importer of new features has the > >> >responsibility to make older subsystems work. > >> > >> I'm _so_ glad to hear _you_ say that: > >> > >> When will you have made KSE work on sparc64 and ia64 ? > > > >Those are Tier2 platforms :-) > > And ? Vinum is a tier2 feature. I make no judgement about vinum. Just the comment about KSE working on sparc64 and ia64. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 14:59:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 974A837B401; Fri, 4 Oct 2002 14:59:19 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id E05C243E7B; Fri, 4 Oct 2002 14:59:18 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g94LxG20146262; Fri, 4 Oct 2002 17:59:17 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <62515.1033758160@critter.freebsd.dk> References: <62515.1033758160@critter.freebsd.dk> Date: Fri, 4 Oct 2002 17:59:15 -0400 To: Poul-Henning Kamp , Lars Eggert From: Garance A Drosihn Subject: Re: [ GEOM tests ] vinum drives lost Cc: n0go013 , current , not on list - please copy Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 9:02 PM +0200 10/4/02, Poul-Henning Kamp wrote: >There are numerous architectural issues which have never been >fixed in vinum, and one or more of these bits now. > >Whoever loves vinum will have to chase it/them down and fix it. > >If I receive patches or requests for changes to GEOM as result >of this, they will be evaluated in good faith. > >Worst case you will have the option to use: > > options NOGEOM > options vinum I know nothing about vinum and only a little about GEOM, so I have no opinion on which should be fixed to work with the other, and I'm reluctant to get drawn into that battle anyway. However, I do think that if it isn't easy to get the two of them to work together nicely, then we should enforce the above options in the source code. Ie, if someone tries to compile a kernel with both GEOM and vinum turned on, then the compile should fail with some suitable error message. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 4 16: 7:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23C9837B401 for ; Fri, 4 Oct 2002 16:07:39 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id A485F43E77 for ; Fri, 4 Oct 2002 16:07:38 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (nik.isi.edu [128.9.168.58]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g94N7aC27634; Fri, 4 Oct 2002 16:07:36 -0700 (PDT) Message-ID: <3D9E1F37.2030507@isi.edu> Date: Fri, 04 Oct 2002 16:07:35 -0700 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, de-de MIME-Version: 1.0 Cc: Poul-Henning Kamp , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost References: <62515.1033758160@critter.freebsd.dk> <3D9DEFF7.7050508@isi.edu> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050904000104010308040900" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms050904000104010308040900 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lars Eggert wrote: > Poul-Henning Kamp wrote: >> >> Well, the showstopper is in vinum. The fact that ccd(4) works >> seamlessly with GEOM is testament to this. > > > For some reason I was under the (mis?)impression that ccd was no longer > being maintained... If it works with geom, we can probably move our > machines over to ccd. They're all no-frills stripes, so ccd > functionality is good enough. I just replaced vinum with ccd on one machine, and it works fine with geom enabled, FYI. Performance between the two is also comparable. Lars -- Lars Eggert USC Information Sciences Institute --------------ms050904000104010308040900 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzAS BgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQAxsUtH XfkBceX1U2xdedY9mMAmE2KBIqcS+CKV6BtJtyd7BDm6/ObyJOuR+r3sDSo491BVqGz3Da1M G7wD9LXrokefbKIMWI0xQgkRbLAaadErErJAXWr5edDqLiXdiuT82w0fnQLzWtvKPPZE6iZp h39Ins6ln+eE2MliYq0FxjCCAzkwggKioAMCAQICAwglQTANBgkqhkiG9w0BAQQFADCBkjEL MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMB4XDTAyMDgyNDE4NTMzOVoX DTAzMDgyNDE4NTMzOVowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYD VQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBANI2Rrt4ggaQ/IrOsDeOm2H4/R5FRIL6JjDY3StE aogp1r23WKniQ1Vj98Nu5WxlaZ3Iam3Jen5T66H8u7rtMNpK4qAeAGoBsVeyVr1+CTFeuv+m xCh7BvBJwhLdm0zDaoDT05YKYZaqtsT+F286FWJQg31Xtf+vTKLVVrHcsafnteyal2NEt7Ac yZZfjsVLwxp2Lq3cwYfRQRoo7/yCVzS7HsgM6jmbO4taEMo4yC2rpnUbWEUCDTaCYgpAXzAl oiNk7GDh0wz2s5ZSnHRvNSBMAjCmpNtSYHfXFI1ANwrrrHIJ7Ei83+XN32PWY4OPzO3iown9 VR+vM+8lNx9OX28CAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIBBAQTTDJ1TXlmZkJO VWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1UdEwEB/wQCMAAwDQYJ KoZIhvcNAQEEBQADgYEAXcrIlKmPLM/r8r3oz2ZLPLaT1AyMjYTZY2qq/R7SUtFa9BNlTIFh DG78QKfJ9lo2LMzTPQqMZgNLmj95GbNPI8P8OIq2K6MeCZWz08ROackqTFP6xWbIFIfXcBVR 1dZnDDyDKBBh05KkvyTPawSQyOBUeNBfQUyO4TE+3o58U8UwggM5MIICoqADAgECAgMIJUEw DQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MDAeFw0wMjA4MjQxODUzMzlaFw0wMzA4MjQxODUzMzlaMFQxDzANBgNVBAQTBkVnZ2VydDEN MAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkqhkiG9w0BCQEWDWxh cnNlQGlzaS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDSNka7eIIGkPyK zrA3jpth+P0eRUSC+iYw2N0rRGqIKda9t1ip4kNVY/fDbuVsZWmdyGptyXp+U+uh/Lu67TDa SuKgHgBqAbFXsla9fgkxXrr/psQoewbwScIS3ZtMw2qA09OWCmGWqrbE/hdvOhViUIN9V7X/ r0yi1Vax3LGn57XsmpdjRLewHMmWX47FS8Madi6t3MGH0UEaKO/8glc0ux7IDOo5mzuLWhDK OMgtq6Z1G1hFAg02gmIKQF8wJaIjZOxg4dMM9rOWUpx0bzUgTAIwpqTbUmB31xSNQDcK66xy CexIvN/lzd9j1mODj8zt4qMJ/VUfrzPvJTcfTl9vAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIB ADAaMBgCAQQEE0wydU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVk dTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAF3KyJSpjyzP6/K96M9mSzy2k9QM jI2E2WNqqv0e0lLRWvQTZUyBYQxu/ECnyfZaNizM0z0KjGYDS5o/eRmzTyPD/DiKtiujHgmV s9PETmnJKkxT+sVmyBSH13AVUdXWZww8gygQYdOSpL8kz2sEkMjgVHjQX0FMjuExPt6OfFPF MYIDJzCCAyMCAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MAIDCCVBMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTAyMTAwNDIzMDczNVowIwYJKoZIhvcNAQkEMRYEFFfacQcK/oJRtSTDyEdr KYDTkJDAMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0BCRACCzGB naCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ Q2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZp Y2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMIJUEwDQYJ KoZIhvcNAQEBBQAEggEAM+0JvXJfQ5fwGPKJMciKB/hd2qhjrVqL1ANvoxFD/fIh5qxPlnuy P1FvL3Ca9AeUdKh1GsGay3767iiLA8VOo0XkQ2Xv6LZ3+u2p4qeiuqDRHwxfKw3GVSPZTQmK Q2owKZElmBfAQRK2f6iRSQeSMqB0txzxgcfO5PS1qFPsx7TFjhBAMZQsk6evSR9EQ1g47i3m XDftjkKaPG7Oj/k+ZaL2RQjqaLbEEcIAGZMPubF3+HNG6UY9jBUYd6THED9D7miOzvh2lr2o VZQVVTDeXjehURTAlrjYAebAsHKqqDScOQnP16+h32kM7/kLsRmanx+GdLWldackZ6vPlNkJ wgAAAAAAAA== --------------ms050904000104010308040900-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 5:21: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E91737B401; Sat, 5 Oct 2002 05:21:07 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4A9E43E75; Sat, 5 Oct 2002 05:21:05 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA31250; Sat, 5 Oct 2002 22:20:46 +1000 Date: Sat, 5 Oct 2002 22:30:34 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <62515.1033758160@critter.freebsd.dk> Message-ID: <20021005222145.V11767-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > Worst case you will have the option to use: > > options NOGEOM > options vinum A NOGEOM option would be as acceptable as a NOFFS option for turning off forcing of the one true file system down everyone's throats. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 5:37:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CB0037B401 for ; Sat, 5 Oct 2002 05:37:17 -0700 (PDT) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B28443E6A for ; Sat, 5 Oct 2002 05:37:16 -0700 (PDT) (envelope-from wgrim@siue.edu) Received: from WEBSHIELD2.isg.siue.edu (webshield2.isg.siue.edu [146.163.5.150]) by mail.isg.siue.edu (8.9.1/8.9.1) with SMTP id HAA06709 for ; Sat, 5 Oct 2002 07:37:08 -0500 (CDT) Received: FROM mail.isg.siue.edu BY WEBSHIELD2.isg.siue.edu ; Sat Oct 05 07:37:08 2002 -0500 Received: from zeus (student142-218.bh.siue.edu [146.163.142.218]) by mail.isg.siue.edu (8.9.1/8.9.1) with ESMTP id HAA06638 for ; Sat, 5 Oct 2002 07:37:03 -0500 (CDT) Reply-To: From: "William M. Grim" To: Subject: CMD Tech. PCI-0680 Driver Date: Sat, 5 Oct 2002 07:37:29 -0500 Organization: SIUE Message-ID: <000001c26c6b$f7bacc30$da8ea392@zeus> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey there! I'm very new to this list and couldn't find a better one to post too (please let me know if I should post elsewhere). Anyway, I'm looking to update the ATA driver so that my new ATA/133 card with a Silicon Images' PCI-0680 chipset works. I bought the card from CMD Technologies. Apparently, ata/33 on up to ata/100 is supported for their line of cards according to the 4.6.2 release notes. Being new to driver development, the problem I'm having with this is knowing exactly WHICH source files I'm probably going to have to change; I was thinking either the ata-raid.h/.c or the ata-disk.h/.c. I could be way off here, and that's why I'm asking. I also realize that I'll probably need to get some sort of programming tech. documents from the company of this card? How would I go about doing this if I need to perform this step? Any help is appreciated, and as a side note, I've never done driver development before. I was thinking that since I have a keen interest in making this card work, this would be a good place to begin. I also have the "pciconf -lv" information to aid in your response to me: none0@pci0:11:0: class=3D0x010400 card=3D0x36801095 = chip=3D0x06801095 rev=3D0x01 hdr=3D0x00 vendor =3D 'CMD Technology Inc.' device =3D 'PCI-0680 Ultra ATA133 EIDE Controller' class =3D mass storage subclass =3D RAID Thanks so much again for any help that can be offered, Mike PS - Don=92t forget to direct me to another mailing list if this one is not quite appropriate for driver development talk. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 6: 6: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97BA337B401 for ; Sat, 5 Oct 2002 06:06:04 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1311543E65 for ; Sat, 5 Oct 2002 06:05:58 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.5/8.12.6) id g95D5rUx020852; Sat, 5 Oct 2002 15:05:53 +0200 (CEST) (envelope-from sos) From: Soeren Schmidt Message-Id: <200210051305.g95D5rUx020852@spider.deepcore.dk> Subject: Re: CMD Tech. PCI-0680 Driver In-Reply-To: <000001c26c6b$f7bacc30$da8ea392@zeus> To: wgrim@siue.edu Date: Sat, 5 Oct 2002 15:05:53 +0200 (CEST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems William M. Grim wrote: > Anyway, I'm looking to update the ATA driver so that my new ATA/133 card > with a Silicon Images' PCI-0680 chipset works. I bought the card from > CMD Technologies. Apparently, ata/33 on up to ata/100 is supported for > their line of cards according to the 4.6.2 release notes. Too late, I've already added support for the Sil 0680 chip in both -current and -stable. BTW it was not supported before that (not even the slower ata33-100 modes). -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 8:18:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1B5A37B401; Sat, 5 Oct 2002 08:18:36 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A11BB43E3B; Sat, 5 Oct 2002 08:18:36 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 7ECE22A88D; Sat, 5 Oct 2002 08:18:36 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bruce Evans Cc: Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <20021005222145.V11767-100000@gamplex.bde.org> Date: Sat, 05 Oct 2002 08:18:36 -0700 From: Peter Wemm Message-Id: <20021005151836.7ECE22A88D@canning.wemm.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > > > Worst case you will have the option to use: > > > > options NOGEOM > > options vinum > > A NOGEOM option would be as acceptable as a NOFFS option for turning off > forcing of the one true file system down everyone's throats. Part of the problem there is a weakness in config that I've threatened to fix on more than one occasion. We do not have a way to have options default to on and let people turn the option off. Negative options ("options NOFOO") are a poor substitute. In the past, a couple of things were unifdefed that might have been better served as being 'default to on' options or drivers. This of course is ignoring the issue of geom vs the disklabel code. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 9:45:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7460C37B401; Sat, 5 Oct 2002 09:45:57 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0B543E77; Sat, 5 Oct 2002 09:45:56 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA09584; Sun, 6 Oct 2002 02:45:37 +1000 Date: Sun, 6 Oct 2002 02:55:26 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Peter Wemm Cc: Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: <20021005151836.7ECE22A88D@canning.wemm.org> Message-ID: <20021006024610.V12615-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 5 Oct 2002, Peter Wemm wrote: > Bruce Evans wrote: > > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > > > > > Worst case you will have the option to use: > > > > > > options NOGEOM > > > options vinum > > > > A NOGEOM option would be as acceptable as a NOFFS option for turning off > > forcing of the one true file system down everyone's throats. > > Part of the problem there is a weakness in config that I've threatened > to fix on more than one occasion. We do not have a way to have options > default to on and let people turn the option off. Negative options > ("options NOFOO") are a poor substitute. In the past, a couple of things > were unifdefed that might have been better served as being 'default to on' > options or drivers. Hmm. Negative options implemented as "negoptions FOO" would work OK for this. Options could be defaulted to on by putting them in an included config file, and then turned off using negoptions. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 10:50: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CF7837B401; Sat, 5 Oct 2002 10:49:58 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E55A43E42; Sat, 5 Oct 2002 10:49:57 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g95HnfpS001880; Sat, 5 Oct 2002 19:49:48 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: Peter Wemm , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost In-Reply-To: Your message of "Sun, 06 Oct 2002 02:55:26 +1000." <20021006024610.V12615-100000@gamplex.bde.org> Date: Sat, 05 Oct 2002 19:49:41 +0200 Message-ID: <1879.1033840181@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021006024610.V12615-100000@gamplex.bde.org>, Bruce Evans writes: >On Sat, 5 Oct 2002, Peter Wemm wrote: > >> Bruce Evans wrote: >> > On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: >> > >> > > Worst case you will have the option to use: >> > > >> > > options NOGEOM >> > > options vinum >> > >> > A NOGEOM option would be as acceptable as a NOFFS option for turning off >> > forcing of the one true file system down everyone's throats. >> >> Part of the problem there is a weakness in config that I've threatened >> to fix on more than one occasion. We do not have a way to have options >> default to on and let people turn the option off. Negative options >> ("options NOFOO") are a poor substitute. In the past, a couple of things >> were unifdefed that might have been better served as being 'default to on' >> options or drivers. > >Hmm. Negative options implemented as "negoptions FOO" would work OK for >this. Options could be defaulted to on by putting them in an included >config file, and then turned off using negoptions. This could actually decrease the size and complexity of our kernel config files considerably, just think of all the "theoretically-but-not-in-practice" options like INET. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 11:48:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A460737B401 for ; Sat, 5 Oct 2002 11:48:21 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48F643E77 for ; Sat, 5 Oct 2002 11:48:20 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g95Imu8A060424 for ; Sat, 5 Oct 2002 14:48:57 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g95ImuZg060423 for freebsd-hackers@freebsd.org; Sat, 5 Oct 2002 14:48:56 -0400 (EDT) Date: Sat, 5 Oct 2002 14:48:56 -0400 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Subject: How to remote debug a network device driver? Message-ID: <20021005144856.A60354@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am trying to learn about FreeBSD kernel development. I have set up two machines with -CURRENT, and have connected them via null modem cable. I have followed the instructions in the Developer's Handbook, "On-Line Kernel Debugging Using Remote GDB" ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x9972.html ) and can successfully debug remotely using gdb. What I am interested in doing is learning more about how the FreeBSD networking system works. What I would like to do is, from machine A, ping machine B. On machine A, I would like to set a breakpoint in the network device driver when the upper layers in the networking stack calls the device driver to transmit data. I am interested in debugging the following drivers: - fatm , from Harti Brandt's Netgraph ATM subsystem: http://www.fokus.fhg.de/research/cc/cats/employees/hartmut.brandt/ngatm/ - fxp, the Intel EtherExpress Pro driver Can someone give me some hints as to where a good place to set the breakpoints would be, or pointers to further information about FreeBSD networking? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 13:14:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A4037B401 for ; Sat, 5 Oct 2002 13:14:08 -0700 (PDT) Received: from anastasia.lan.barfoos.de (pD9E20760.dip.t-dialin.net [217.226.7.96]) by mx1.FreeBSD.org (Postfix) with SMTP id DA57D43E42 for ; Sat, 5 Oct 2002 13:14:06 -0700 (PDT) (envelope-from jt@barfoos.de) Received: (qmail 76704 invoked by uid 1001); 5 Oct 2002 20:14:02 -0000 Date: Sat, 5 Oct 2002 22:14:02 +0200 From: Jens Trzaska To: Firsto Lasto Cc: freebsd-hackers@freebsd.org Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... Message-ID: <20021005201402.GD73856@anastasia.lan.barfoos.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.6-STABLE, i386 X-GPG-Key-ID: = 96FE36DB X-GPG-Key-Fingerprint: 1C9B 7EF8 1A22 1740 9F1B AB7B 17D2 64E1 96FE 36DB X-GPG-Key-Location: http://www.elug.de/schluessel/96FE36DB.asc X-Accept-Language: de,en User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: > > If you run a jail, and inside that jail is a /dev with the file /dev/null > in it, the normal 0666 permissions of /dev/null will often get changed to > 0600. > > I cannot see any reason why this would happen - I thought maybe there was > something in /etc/rc that would do it, but there is not. Further, the > reversions seem random and irregular - happens in some jails, doesn't in > others. > > I have witnessed this on multiple jails in multiple different physical > machines, on versions from 4.4 to 4.6.2. > > Anyone have any ideas why this happening ? Has anyone else seen this ? I've seen this some weeks ago when I was playing with vinum on some disks. That day I got vinum to panic the system for three times. Every time the permissions on /dev/null were broken on boot. And that was not inside of jails. Jens -- KeyID=96FE36DB Key fingerprint=1C9B 7EF8 1A22 1740 9F1B AB7B 17D2 64E1 96FE 36DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 14:28:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92E9A37B401; Sat, 5 Oct 2002 14:28:14 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E74543E3B; Sat, 5 Oct 2002 14:28:14 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id g95LRpFX090481; Sat, 5 Oct 2002 14:27:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.5/Submit) id g95LRo2H090480; Sat, 5 Oct 2002 14:27:50 -0700 (PDT) Date: Sat, 5 Oct 2002 14:27:50 -0700 From: "David O'Brien" To: Julian Elischer Cc: Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost Message-ID: <20021005212750.GB90249@dragon.nuxi.com> Reply-To: freebsd-current@freebsd.org Mail-Followup-To: David O'Brien , Julian Elischer , Poul-Henning Kamp , Lars Eggert , n0go013 , current , not on list - please copy References: <62515.1033758160@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 04, 2002 at 12:44:30PM -0700, Julian Elischer wrote: > No, it is established principal tha the importer of new features has the > responsibility to make older subsystems work. So when is a KSE person going to fix the libc_r and releng4 binaries problem?? That certainly is old functionality that is broken. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 15:42:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8560137B408 for ; Sat, 5 Oct 2002 15:42:28 -0700 (PDT) Received: from montevideo.com.uy (r200-61-110-20.multitel.net.uy [200.61.110.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C73743E77 for ; Sat, 5 Oct 2002 15:42:24 -0700 (PDT) (envelope-from rplsd@montevideo.com.uy) From: "La Sociedad Digital" To: (La Sociedad Digital) Subject: Presentacion de La Sociedad Digital / A Sociedade Digital. Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 7 Oct 2002 08:20:25 -0300 Reply-To: "La Sociedad Digital" Content-Transfer-Encoding: 8bit Message-Id: <20021005224224.9C73743E77@mx1.FreeBSD.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Presentacion de La Sociedad Digital. (texto version española/texto version portuguesa). Boletín 1 / Octubre de 2002. LA SOCIEDAD DIGITAL - PORTAL IBEROAMERICANO DE LA SOCIEDAD DE LA INFORMACIÓN. http://www.sociedaddigital.org PRESENTACION: La Sociedad Digital se ha constituido en el principal Portal de la Sociedad de la Información en Ibero América, comprendiendo en la actualidad cerca de quince secciones con un total de documentos estimable en aproximadamente 800, que cubren las áreas más importantes de la Sociedad de la Información. Ello ha sido posible gracias al aporte y la preocupación de un conjunto de especialistas de uno y otro lado del Atlántico, concentrados en este proyecto abierto que comenzó a ser construido en su expresión virtual en octubre de 2001. En la actualidad, la mayor parte de las secciones del Portal se encuentran operativas. El proyecto se viene desarrollando de conformidad con las coordenadas propias de su primera fase: constitución ordenada de un reservorio de información actualizada de elevadas trascendencia para la comprensión de la sociedad en Red conjuntamente con aportes propios producto de investigación colectiva por parte de los equipos de La Sociedad Digital o de aportes individuales de los miembros de su Board de Directores, en el marco de sus respectivas especialidades. ---------------------------------------------------------------------- --------- ESTRUCTURA: Las actuales secciones disponibles del Proyecto Portal de la Sociedad de la Información http://www.sociedaddigital.org son las siguientes: ---------------------------------------------------------------------- -------- NOVEDADES: Las incorporaciones documentales más recientes en el Portal: ---------------------------------------------------------------------- -------- EVENTOS CIENTÍFICOS A DESTACAR: ---------------------------------------------------------------------- ------- INFORMACIONES DEL BOARD: ---------------------------------------------------------------------- ------ PROYECTOS EN DESARROLLO: En este momento, La Sociedad Digital se encuentra desarrollando varios proyectos nuevos, los que se encuentran en diferentes etapas de progreso. En síntesis: (a) Los aspectos operativos: el Portal se encuentra en remodelación, para una presentación en el futuro que pueda considerarse más amigable en su relación con el usuario, y que permitirá un despliegue de mayor agilidad de su contenido documental, así como la correlación temática de sus contenidos. (b) El sistema estadístico: dentro de los proyectos de investigación oportunamente planteados se diseñó un completo sistema estadístico que pudiera ser considerado como uno de los más completos del mundo, reuniendo y conciliando información de al menos veinte fuentes confiables de información, para permitir conocer los principales indicadores de la Sociedad de la Información, al menos en tres grandes niveles de desagregación: contexto mundial, contexto continental y situación de los países. Los indicadores mencionados comprenden accesibilidad, desarrollo de telecomunicaciones, infraestructura de Internet, comercio electrónico, lenguajes en la Red e indicadores representativos de ciencia y tecnología. El trabajo continúa y se estima que estará disponible "en red" en aproximadamente dos meses. (c) Estudio del estado de la Sociedad de la Información en América Latina: este proyecto de investigación, de naturaleza colectiva y abierta, ha culminado su fase de diseño y de términos de referencia. En el decurso del mes de junio comenzará a ser operativo, y se espera llegar con un diagnóstico adecuado hacia fines del presente año y convertirlo en un aporte independiente y trascendente para ser presentado en la Cumbre de la Sociedad de la Información en Junio de 2003. Informaciones y contribuciones en info sociedaddigital.org (d) Colección de estudios e información sobre aspectos prácticos del comercio electrónico: se constituirá en una de las secciones del Portal, considerada de alta utilidad. Se continúa trabajando en la clasificación de la biblioteca virtual aportada por el Consejero Hugo Gallegos de Perú y la sección se encontrará "en Red" en aproximadamente veinte días. --------------------------------------------------------------------- ---------- Usted recibe este mensaje porque su dirección de correo electrónico está incluida dentro de las más de 100.000 que conforman LA SOCIEDAD DIGITAL, construida por referencias o bien por la relevancia de su trabajo, comunidad científica donde se discuten ideas, visiones, experiencias, prácticas e información sobre temas relacionados con La Sociedad de la Información, en especial en Ibero América, impulsada por la Asociación Civil sin fines de lucro La Sociedad Digital. Si quiere tramitar el ALTA o la BAJA, o remitir una dirección de correo electrónico a la comunidad, envíe un mensaje a info@sociedaddigital.org Si desea dar a conocer algún artículo, estudio u otro texto de su autoría o recomendarnos un trabajo de otro autor, envíe su material o recomendaciones a info sociedaddigital.org La Sociedad Digital es un esfuerzo nacido en el Uruguay, co participado por especialistas de toda Iberoamerica y dirigido a la comunidad digital ibero americana. ---------------------------------------------------------------------- -------- Visite nuestro Portal y consulte todos los recursos gratuitos de información y conocimiento sobre Sociedad de la Información disponibles en http://www.sociedaddigital.org Hasta nuestro próximo encuentro! Equipo de comunicación de LaSocDig. Boletim 1 / Outubro de 2002. LA SOCIEDAD DIGITAL - PORTAL IBERO-AMERICANO DA SOCIEDADE DE INFORMAÇÃO www.sociedaddigital.org APRESENTAÇÃO La Sociedad Digital tem se constituído no principal portal da sociedade de informação da região ibero-americana, compreendendo, na atualidade, cerca de quinze seções com um total de documentos estimado em aproximadamente 800, que abordam as áreas mais importantes da sociedade da informação. Isto tem sido possível graças ao aporte e preocupação de um conjunto de especialistas dos dois lados do Atlântico, que se concentraram neste projeto aberto, cuja constituição, em sua expressão virtual, iniciou-se em outubro de 2001. No momento, a maior parte das seções do portal se encontra em funcionamento. O projeto vem se aperfeiçoando na seqüência das mesmas coordenadas estabelecidas em sua primeira fase: constituição ordenada de um reservatório de informações atualizadas e de elevada transcendência para a compreensão da sociedade da Rede, conjuntamente com as contribuições das equipes de La Sociedad Digital, produto da investigação coletiva, bem como outros aportes individuais dos membros de seu corpo de conselheiros, em suas respectivas especialidades. O Projeto Portal da Sociedade da Informação e suas seções disponíveis no endereço www.sociedaddigital.org ---------------------------------------------------------------------- ------ PROJETOS EM DESENVOLVIMENTO: Neste momento, La Sociedad Digital encontra-se desenvolvendo vários projetos novos, os quais se encontram em diferentes fases. Em síntese: (a) Aspectos operativos: o Portal se encontra em reformulação para uma apresentação futura mais amigável em sua relação com o usuário, com um desdobramento mais ágil de seus documentos e da correlação temática de seus conteúdos. (b) Sistema estatístico: dentro dos projetos de investigação a serem oportunamente implantados, elaborou-se um sistema estatístico que pudesse ser considerado como um dos mais completos do mundo, reunindo e conciliando informações extraídas de, pelo menos, vinte fontes confiáveis de informação, ao menos em três grandes níveis de desagregação: contexto mundial, contexto continental e situação dos países. Os indicadores mencionados compreendem: acessibilidade, desenvolvimento das telecomunicações, infraestrutura da Internet, comércio eletrônico, linguagens da Rede e indicadores representativos da ciência e tecnologia. O trabalho continua e se estima que estará disponível em, aproximadamente, dois meses. (c) Estudos sobre a Sociedade da Informação na América Latina: este projeto de investigação, de natureza coletiva e aberta, finalizou sua fase de elaboração e de termos de referência. No decurso do mês de junho entrou em operação e se espera chegar a um diagnóstico adequado até o final do ano, ocasião em que será convertido em aporte independente e transcendente, para ser apresentado à Cúpula da Sociedade de Informação, em junho de 2003. Informações e contribuições no info@sociedaddigital.org (d) Estudos sobre o comércio eletrônico na América Latina: o projeto, como o anterior, de natureza coletiva e aberta, também concretizou sua fase de elaboração e de termos de referência. Seu funcionamento está previsto para o decurso do mês de julho, culminando em dezembro de 2002. Estará contribuindo assim para a continuidade dos estudos que, a respeito do comércio eletrônico, desenvolveram-se na ALADI entre 2000 e 2001. Informações e contribuições no info@sociedaddigital.org (e) Coletâneas de estudos e informações sobre aspectos práticos do comércio eletrônico: será uma das seções do Portal, considerada de alta utilidade. Está em desenvolvimento o trabalho de classificação da biblioteca virtual, contribuição do Conselheiro Hugo Gallegos, do Peru. A seção estará disponível na Rede em, aproximadamente, vinte dias. --------------------------------------------------------------------- ---------- Você recebe essa mensagem porque seu correio eletrônico está incluído em mais de 100.000 que configuram LA SOCIEDAD DIGITAL, comunidade científica, onde se discutem idéias, visões, experiências, práticas e informações sobre temas relacionados com a Sociedade da Informação, em especial na região ibero-americana, promovida pela associação civil sem fins lucrativos La Sociedad Digital, e pela Sociedad Digital Internet Research. Se desejar incluir, excluir ou redefinir a direção do correio eletrônico, envie uma mensagem para info@sociedaddigital.org Se desejar enviar algum artigo, estudo, texto de sua autoria ou recomendar o trabalho de outro autor, envie seu material ou recomendações a info@sociedaddigital.org ---------------------------------------------------------------------- -------- Visite nosso Portal e consulte todos os recursos gratuitos de informação e conhecimento sobre Sociedade da Informação, disponíveis no endereço www.sociedaddigital.org Até nosso próximo encontro!!! Equipe de Comunicação de LaSocDig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 18:15:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D103B37B401 for ; Sat, 5 Oct 2002 18:15:21 -0700 (PDT) Received: from c001.snv.cp.net (h001.c001.snv.cp.net [209.228.32.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 423DB43E3B for ; Sat, 5 Oct 2002 18:15:21 -0700 (PDT) (envelope-from neal@nelson.name) Received: (cpmta 9994 invoked from network); 5 Oct 2002 18:15:20 -0700 Received: from 203.51.151.51 (HELO thinkpad.neal.nelson.name) by smtp.neal.nelson.name (209.228.32.115) with SMTP; 5 Oct 2002 18:15:20 -0700 X-Sent: 6 Oct 2002 01:15:20 GMT Date: Sun, 6 Oct 2002 11:15:46 +1000 From: Neal Nelson To: freebsd-hackers@freebsd.org Subject: Writing a PCI ADSL Driver Message-ID: <20021006011546.GA322@thinkpad> Reply-To: neal@nelson.name Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.4.0 Lines: 19 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there. I'm thinking of writing a device driver for a Traverse Pulsar PCI ADSL card and I was looking for some ideas before I committed myself. I've been offered hardware and support by the makers (http://www.traverse.com.au/) but I want to make sure that I can actually do the job before accepting. I was wondering what kind of device driver I would need to create. I use ADSL at home but I only know how to use it, I don't know how it really works. Would I be able to create a character device and just pretend it was a modem or would I need to create a network device so that it can talk PPPoE over it? My main concern is how to get ppp to talk to the device. Hopefully I'll be able to get hold of the Linux driver soon and see how that does things but I want to be very careful about the licensing issues, so that I can make the driver available under the normal BSD license. I'll have to see what the makers say about that first though. Any advice would be gratefully accepted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 5 18:40:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E418C37B401 for ; Sat, 5 Oct 2002 18:40:20 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A6B943E42 for ; Sat, 5 Oct 2002 18:40:20 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021006014019.LWIZ27763.sccrmhc02.attbi.com@InterJet.elischer.org>; Sun, 6 Oct 2002 01:40:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA25505; Sat, 5 Oct 2002 18:27:21 -0700 (PDT) Date: Sat, 5 Oct 2002 18:27:21 -0700 (PDT) From: Julian Elischer To: Neal Nelson Cc: freebsd-hackers@freebsd.org Subject: Re: Writing a PCI ADSL Driver In-Reply-To: <20021006011546.GA322@thinkpad> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Make sure you have a Netgraph interace on the top of it then you can bolt on the protocols as you need them. On Sun, 6 Oct 2002, Neal Nelson wrote: > Hi there. > > I'm thinking of writing a device driver for a Traverse Pulsar PCI ADSL > card and I was looking for some ideas before I committed myself. I've been > offered hardware and support by the makers (http://www.traverse.com.au/) > but I want to make sure that I can actually do the job before accepting. > > I was wondering what kind of device driver I would need to create. I use > ADSL at home but I only know how to use it, I don't know how it really > works. Would I be able to create a character device and just pretend it > was a modem or would I need to create a network device so that it can talk > PPPoE over it? My main concern is how to get ppp to talk to the device. > > Hopefully I'll be able to get hold of the Linux driver soon and see how > that does things but I want to be very careful about the licensing issues, > so that I can make the driver available under the normal BSD license. I'll > have to see what the makers say about that first though. > > Any advice would be gratefully accepted. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message