From owner-freebsd-current Sun Mar 23 1:55: 6 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F19937B40B for ; Sun, 23 Mar 2003 01:55:04 -0800 (PST) Received: from web41202.mail.yahoo.com (web41202.mail.yahoo.com [66.218.93.35]) by mx1.FreeBSD.org (Postfix) with SMTP id BC26E43FBD for ; Sun, 23 Mar 2003 01:55:03 -0800 (PST) (envelope-from stevensbsd@yahoo.com) Message-ID: <20030323095503.31414.qmail@web41202.mail.yahoo.com> Received: from [202.104.81.250] by web41202.mail.yahoo.com via HTTP; Sun, 23 Mar 2003 01:55:03 PST Date: Sun, 23 Mar 2003 01:55:03 -0800 (PST) From: Hongbo Li Subject: Posix semaphore problem To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just run a example program from the book unp2v2 written W.Richard Stevens. The program includes a call to sem_open. The compilation was ok. But when I run it on FreeBSD 5-current(recent),the system print "Bad system call (core dumped)". The program code : #include #include #include #include #include #include #include #define FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) int main(int argc, char **argv) { int c, flags; sem_t *sem; unsigned int value; flags = O_RDWR | O_CREAT; value = 1; while ( (c = getopt(argc, argv, "ei:")) != -1) { switch (c) { case 'e': flags |= O_EXCL; break; case 'i': value = atoi(optarg); break; } } if (optind != argc - 1) { printf("usage: semcreate [ -e ] [ -i initalvalue ] "); exit(1); } if((sem = sem_open(argv[optind], flags, FILE_MODE, value))==SEM_FAILED) { perror("semaphore creation failed"); exit(1); } sem_close(sem); exit(0); } __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 4:10:35 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC22337B401 for ; Sun, 23 Mar 2003 04:10:32 -0800 (PST) Received: from hannibal.symicon.com (pD9E5992D.dip.t-dialin.net [217.229.153.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60F8F43F85 for ; Sun, 23 Mar 2003 04:10:31 -0800 (PST) (envelope-from gerald@hannibal.symicon.com) Received: from hannibal.symicon.com (localhost [127.0.0.1]) by hannibal.symicon.com (8.12.6/8.11.6) with ESMTP id h2NC9vHL013505; Sun, 23 Mar 2003 13:09:57 +0100 (CET) (envelope-from gerald@hannibal.symicon.com) Received: (from gerald@localhost) by hannibal.symicon.com (8.12.6/8.12.2/Submit) id h2NC9u6g013504; Sun, 23 Mar 2003 13:09:56 +0100 (CET) (envelope-from gerald) From: "Gerald Mixa" (by way of Gerald Mixa ) Subject: Keyboard Problem Date: Sun, 23 Mar 2003 13:09:43 +0100 User-Agent: KMail/1.5 To: freebsd-current@freebsd.org Cc: gerald.mixa@web.de MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200303231309.56001.Gerald.Mixa@symicon.de> Sender: owner-freebsd-current@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 Hi, I have got installed FreeBSD5.0-p4 and XFree4.3.0 on a Sony Vaio PCG-FX705. The ati Video Driver works with 1400x1050 and the mouse works as well. My problem is, that within X the XServer the button with the symbols for a "less" b, a "greater" b does not work. Its just one button with three different symbols. By the way I do have got a German Keyboard layout. Actually this is quit annoying and i didn't find any hints in the documentation. Well on the FreeBSDs terminal (outside the XServer) this button works well. Sincerely Gerald Mixa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+faQMw+BD/BHtO/0RArdhAJ9xB30XgRPZG6AilpCjGXyfvIC8sgCeMnRe LErrF14wEwV7flttatZH/q8= =wYTW -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5: 8:37 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3494537B405; Sun, 23 Mar 2003 05:08:36 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id D97F043F85; Sun, 23 Mar 2003 05:08:34 -0800 (PST) (envelope-from fearow@attbi.com) Received: from god.woofcat.com (12-251-110-17.client.attbi.com[12.251.110.17]) by rwcrmhc52.attbi.com (rwcrmhc52) with SMTP id <2003032313083305200j51tue>; Sun, 23 Mar 2003 13:08:33 +0000 Date: Sun, 23 Mar 2003 07:08:08 -0600 From: Anti To: David Schultz Cc: sgk@troutmask.apl.washington.edu, till@f111.hadiko.de, freebsd-current@FreeBSD.org Subject: Re: libm problem Message-Id: <20030323070808.0d3f63c0.fearow@attbi.com> In-Reply-To: <20030323074114.GA80906@HAL9000.homeunix.com> References: <20030318173051.GA2322@f111.hadiko.de> <20030319131317.GA670@HAL9000.homeunix.com> <20030321235237.GA8097@f111.hadiko.de> <20030322111233.F4471@gamplex.bde.org> <20030322005435.GA8393@f111.hadiko.de> <20030322051443.GA13854@HAL9000.homeunix.com> <20030322182846.GA81615@troutmask.apl.washington.edu> <20030322123951.67271b29.fearow@attbi.com> <20030323074114.GA80906@HAL9000.homeunix.com> Organization: Woofcat X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Mar 2003 23:41:14 -0800 David Schultz wrote: > Thus spake Anti : > > On Sat, 22 Mar 2003 10:28:46 -0800 > > Steve Kargl wrote: > > > > > Pentium 4 is definitely broken on 5.x. Perhaps, we should remove > > > the footshooting. > > > > > > --- bsd.cpu.mk.orig Sat Mar 22 10:23:42 2003 > > > +++ bsd.cpu.mk Sat Mar 22 10:27:11 2003 > > > @@ -62,7 +62,9 @@ > > > . elif ${CPUTYPE} == "k5" > > > _CPUCFLAGS = -march=pentium > > > . elif ${CPUTYPE} == "p4" > > > -_CPUCFLAGS = -march=pentium4 > > > +# XXX gcc 3.2.2 appears to generate bad code on FreeBSD 5.x > > > +#_CPUCFLAGS = -march=pentium4 > > > +_CPUCFLAGS = -march=pentiumpro > > > . elif ${CPUTYPE} == "p3" > > > _CPUCFLAGS = -march=pentium3 > > > . elif ${CPUTYPE} == "p2" > > > > > > pentium3 would be better than pentiumpro on a p4 i think... > > You would think so, but in my (limited) testing on a P3, this does > not appear to be the case with gcc3 in -CURRENT. Optimizing for a > Ppro worked the best, IIRC. yes but -current uses the closest cpu setting to the cputype you choose, and in the case of pentium4 producing broken code the obvious fallback would be pentium3... if the goal is optimal code then use no higher than pentiumpro for any cputype as in -stable, but that's more a policy decision than something to be changed in a patch like this imo... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:29:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C497937B401 for ; Sun, 23 Mar 2003 05:29:39 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15ABC43F3F for ; Sun, 23 Mar 2003 05:29:39 -0800 (PST) (envelope-from leimy2k@mac.com) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h2NDTcdg000204 for ; Sun, 23 Mar 2003 05:29:38 -0800 (PST) Received: from mac.com ([66.156.160.163]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id HC7ETD00.9I6 for ; Sun, 23 Mar 2003 05:29:37 -0800 Date: Sun, 23 Mar 2003 07:29:40 -0600 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: "Just" building the lib part of world From: David Leimbach To: freebsd-current@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Or even better would be just building libc. I have been working on my getpwnam_r assignment... examining implementations in both Darwin and NetBSD and started trying to implement some of this code for FreeBSD... Its not anywhere even near the goal in sight as I am still learning the build system. Do I always have to build world or can I get away with just making some subdirectories? If so what is the best way to do this? Rebuilding gcc each time I just want to test out my code is a real drag :) Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:34:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0AB337B404 for ; Sun, 23 Mar 2003 05:34:33 -0800 (PST) Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9325243F85 for ; Sun, 23 Mar 2003 05:34:32 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.176.5]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030323133431.KMPY14169.tomts16-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Sun, 23 Mar 2003 08:34:31 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h2NDVSiG097906; Sun, 23 Mar 2003 08:31:28 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <001601c2f140$c7aa8f80$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "David Leimbach" , References: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> Subject: Re: "Just" building the lib part of world Date: Sun, 23 Mar 2003 08:33:23 -0500 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 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "David Leimbach" To: Sent: Sunday, March 23, 2003 8:29 AM Subject: "Just" building the lib part of world > Or even better would be just building libc. I have been working on my > getpwnam_r assignment... > examining implementations in both Darwin and NetBSD and started trying > to implement some of > this code for FreeBSD... Its not anywhere even near the goal in sight > as I am still learning the > build system. > > Do I always have to build world or can I get away with just making some > subdirectories? If so > what is the best way to do this? If you're just experimenting wiht getpwnam_r, you can just rebuild libc_r: cd /usr/src/lib/libc_r make make install -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:43:18 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AE8F37B404 for ; Sun, 23 Mar 2003 05:43:16 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4B9043FA3 for ; Sun, 23 Mar 2003 05:43:15 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h2NDhEov000436; Sun, 23 Mar 2003 05:43:14 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h2NDgxvX000421; Sun, 23 Mar 2003 05:42:59 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Sun, 23 Mar 2003 05:42:59 -0800 From: David Schultz To: David Leimbach Cc: freebsd-current@FreeBSD.ORG Subject: Re: "Just" building the lib part of world Message-ID: <20030323134259.GA368@HAL9000.homeunix.com> Mail-Followup-To: David Leimbach , freebsd-current@FreeBSD.ORG References: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake David Leimbach : > Or even better would be just building libc. I have been working on my > getpwnam_r assignment... > examining implementations in both Darwin and NetBSD and started trying > to implement some of > this code for FreeBSD... Its not anywhere even near the goal in sight > as I am still learning the > build system. > > Do I always have to build world or can I get away with just making some > subdirectories? If so > what is the best way to do this? > > Rebuilding gcc each time I just want to test out my code is a real drag > :) Try: cd src/lib/libc && make && make install That will remake any modified files in libc and install libc. You can remake all files by doing a 'make clean' first. Note that if you have not previously populated an object directory (e.g. with 'make world', the object files will be placed in src/lib/libc. You may also want to try make -DNOCLEAN buildworld which recompiles only the sources that have changed and things that depend on them. Keep in mind that the well-documented approach is conservative to prevent people from shooting themselves in the foot, so you need to be careful. For instance, if your libc changes break ABI compatability, you could screw yourself over with the approach above. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:47:10 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A239537B401 for ; Sun, 23 Mar 2003 05:46:57 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C8C443FA3 for ; Sun, 23 Mar 2003 05:46:55 -0800 (PST) (envelope-from leimy2k@mac.com) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h2NDktx9027390 for ; Sun, 23 Mar 2003 05:46:55 -0800 (PST) Received: from mac.com ([66.156.160.163]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id HC7FM600.8JN; Sun, 23 Mar 2003 05:46:54 -0800 Date: Sun, 23 Mar 2003 07:46:57 -0600 Subject: Re: "Just" building the lib part of world Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: To: "Matthew Emmerton" From: David Leimbach In-Reply-To: <001601c2f140$c7aa8f80$1200a8c0@gsicomp.on.ca> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmmm for some reason I thought that would be the simple answer... also at one point in time unistd.h gave me trouble when I didn't build libc under world. Is libc_r the correct place to put getpwnam_r anyway? My understanding is that just where the userland thread implementation goes. I never got a clear answer to that question either... basically I haven't made much progress due to being unclear on several of these little issues. Dave On Sunday, March 23, 2003, at 07:33 AM, Matthew Emmerton wrote: > > ----- Original Message ----- > From: "David Leimbach" > To: > Sent: Sunday, March 23, 2003 8:29 AM > Subject: "Just" building the lib part of world > > >> Or even better would be just building libc. I have been working on my >> getpwnam_r assignment... >> examining implementations in both Darwin and NetBSD and started trying >> to implement some of >> this code for FreeBSD... Its not anywhere even near the goal in sight >> as I am still learning the >> build system. >> >> Do I always have to build world or can I get away with just making >> some >> subdirectories? If so >> what is the best way to do this? > > If you're just experimenting wiht getpwnam_r, you can just rebuild > libc_r: > > cd /usr/src/lib/libc_r > make > make install > > -- > Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:51:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4733B37B405 for ; Sun, 23 Mar 2003 05:51:25 -0800 (PST) Received: from tomts23-srv.bellnexxia.net (tomts23-srv.bellnexxia.net [209.226.175.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id B04D343F3F for ; Sun, 23 Mar 2003 05:51:23 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.176.5]) by tomts23-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030323135122.YOMH24451.tomts23-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Sun, 23 Mar 2003 08:51:22 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h2NDmJiG097991; Sun, 23 Mar 2003 08:48:19 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004c01c2f143$2288d1d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "David Leimbach" Cc: References: Subject: Re: "Just" building the lib part of world Date: Sun, 23 Mar 2003 08:50:15 -0500 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 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, you're right. libc is where you want to be putting your code. (I'm suffering from multiple-OS-itis right now.) -- Matt ----- Original Message ----- From: "David Leimbach" To: "Matthew Emmerton" Cc: Sent: Sunday, March 23, 2003 8:46 AM Subject: Re: "Just" building the lib part of world > Hmmm for some reason I thought that would be the simple answer... also > at one point > in time unistd.h gave me trouble when I didn't build libc under world. > > Is libc_r the correct place to put getpwnam_r anyway? My understanding > is that just > where the userland thread implementation goes. > > I never got a clear answer to that question either... basically I > haven't made much > progress due to being unclear on several of these little issues. > > Dave > On Sunday, March 23, 2003, at 07:33 AM, Matthew Emmerton wrote: > > > > > ----- Original Message ----- > > From: "David Leimbach" > > To: > > Sent: Sunday, March 23, 2003 8:29 AM > > Subject: "Just" building the lib part of world > > > > > >> Or even better would be just building libc. I have been working on my > >> getpwnam_r assignment... > >> examining implementations in both Darwin and NetBSD and started trying > >> to implement some of > >> this code for FreeBSD... Its not anywhere even near the goal in sight > >> as I am still learning the > >> build system. > >> > >> Do I always have to build world or can I get away with just making > >> some > >> subdirectories? If so > >> what is the best way to do this? > > > > If you're just experimenting wiht getpwnam_r, you can just rebuild > > libc_r: > > > > cd /usr/src/lib/libc_r > > make > > make install > > > > -- > > Matt Emmerton > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 5:55:38 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D4537B401 for ; Sun, 23 Mar 2003 05:55:36 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B5D243F75 for ; Sun, 23 Mar 2003 05:55:35 -0800 (PST) (envelope-from leimy2k@mac.com) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h2NDtZdg005808 for ; Sun, 23 Mar 2003 05:55:35 -0800 (PST) Received: from mac.com ([66.156.160.163]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id HC7G0M00.OIZ; Sun, 23 Mar 2003 05:55:34 -0800 Date: Sun, 23 Mar 2003 07:55:37 -0600 Subject: Re: "Just" building the lib part of world Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: To: "Matthew Emmerton" From: David Leimbach In-Reply-To: <004c01c2f143$2288d1d0$1200a8c0@gsicomp.on.ca> Message-Id: <20209B90-5D37-11D7-AFCD-0003937E39E0@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Whew... :) Me too unfortunately. I know basically what it takes to make a thread safe function... and I have found good implementations of getpwnam_r in other OSes and some not so good looking ones as well but I haven't really been able to integrate one into our current system which appears to be centralized in lib/libc/net/nsdispatch.c. There is a lot of global state in there that would hinder the ability to make a fully reentrant function. It may be that the whole subsystem must be replaced before this is really possible in a clean way. Take that above statement however you wish... I am pretty new to this whole kernel/OS thing :). Dave On Sunday, March 23, 2003, at 07:50 AM, Matthew Emmerton wrote: > > Sorry, you're right. libc is where you want to be putting your code. > (I'm > suffering from multiple-OS-itis right now.) > > -- > Matt > > ----- Original Message ----- > From: "David Leimbach" > To: "Matthew Emmerton" > Cc: > Sent: Sunday, March 23, 2003 8:46 AM > Subject: Re: "Just" building the lib part of world > > >> Hmmm for some reason I thought that would be the simple answer... also >> at one point >> in time unistd.h gave me trouble when I didn't build libc under world. >> >> Is libc_r the correct place to put getpwnam_r anyway? My >> understanding >> is that just >> where the userland thread implementation goes. >> >> I never got a clear answer to that question either... basically I >> haven't made much >> progress due to being unclear on several of these little issues. >> >> Dave >> On Sunday, March 23, 2003, at 07:33 AM, Matthew Emmerton wrote: >> >>> >>> ----- Original Message ----- >>> From: "David Leimbach" >>> To: >>> Sent: Sunday, March 23, 2003 8:29 AM >>> Subject: "Just" building the lib part of world >>> >>> >>>> Or even better would be just building libc. I have been working on >>>> my >>>> getpwnam_r assignment... >>>> examining implementations in both Darwin and NetBSD and started >>>> trying >>>> to implement some of >>>> this code for FreeBSD... Its not anywhere even near the goal in >>>> sight >>>> as I am still learning the >>>> build system. >>>> >>>> Do I always have to build world or can I get away with just making >>>> some >>>> subdirectories? If so >>>> what is the best way to do this? >>> >>> If you're just experimenting wiht getpwnam_r, you can just rebuild >>> libc_r: >>> >>> cd /usr/src/lib/libc_r >>> make >>> make install >>> >>> -- >>> Matt Emmerton >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-current" in the body of the message >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 6:35:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8582137B407 for ; Sun, 23 Mar 2003 06:35:10 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A23B43FA3 for ; Sun, 23 Mar 2003 06:35:09 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id B12FCA91E for ; Sun, 23 Mar 2003 15:35:08 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 1038B466F; Sun, 23 Mar 2003 15:35:07 +0100 (CET) Date: Sun, 23 Mar 2003 15:35:07 +0100 From: Christian Brueffer To: current@freebsd.org Subject: MAKEDEV(8) manpage Message-ID: <20030323143507.GG36490@unixpages.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4C6bbPZ6c/S1npyF" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --4C6bbPZ6c/S1npyF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, now that MAKEDEV has been gone for a while, the manpages (alpha and i386) can be nuked as well, right? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --4C6bbPZ6c/S1npyF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+fcYbbHYXjKDtmC0RApfBAJ9kCstCyd15trJgt8IwAT4YSctuwACeIau5 /xfW1moo7rB9nbV1z3TAdS0= =FQFa -----END PGP SIGNATURE----- --4C6bbPZ6c/S1npyF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 7: 1:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B61E37B401 for ; Sun, 23 Mar 2003 07:01:52 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F00B543F93 for ; Sun, 23 Mar 2003 07:01:50 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2NF1g1f004755; Sun, 23 Mar 2003 16:01:47 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Christian Brueffer Cc: current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 23 Mar 2003 15:35:07 +0100." <20030323143507.GG36490@unixpages.org> Date: Sun, 23 Mar 2003 16:01:42 +0100 Message-ID: <4754.1048431702@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030323143507.GG36490@unixpages.org>, Christian Brueffer writes: > >--4C6bbPZ6c/S1npyF >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >Hi, > >now that MAKEDEV has been gone for a while, the manpages (alpha and i386) >can be nuked as well, right? Right. -- 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-current" in the body of the message From owner-freebsd-current Sun Mar 23 7:25:32 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C39737B404 for ; Sun, 23 Mar 2003 07:25:31 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66A4F43FA3 for ; Sun, 23 Mar 2003 07:25:30 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7) with ESMTP id h2NFPZri052969; Sun, 23 Mar 2003 10:25:36 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7/Submit) id h2NFPZV5052968; Sun, 23 Mar 2003 10:25:35 -0500 (EST) Date: Sun, 23 Mar 2003 10:25:34 -0500 From: Craig Rodrigues To: Hongbo Li Cc: current@freebsd.org Subject: Re: Posix semaphore problem Message-ID: <20030323152534.GA50258@attbi.com> References: <20030323095503.31414.qmail@web41202.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030323095503.31414.qmail@web41202.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 01:55:03AM -0800, Hongbo Li wrote: > I just run a example program from the book unp2v2 > written W.Richard Stevens. The program includes a call > to sem_open. The compilation was ok. But when I run it > on FreeBSD 5-current(recent),the system print "Bad > system call (core dumped)". The program code : I get the same problem. Read the man page for sem(4) which explains the kernel option or kernel module that needs to be used for POSIX semaphores to work. However, I am not sure that this man page is entirely correct, since if I do: kldload sem I get "No such file or directory". -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 7:49:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D42F37B401 for ; Sun, 23 Mar 2003 07:49:31 -0800 (PST) Received: from doninha.ip.pt (doninha.ip.pt [195.23.132.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 150D043FAF for ; Sun, 23 Mar 2003 07:49:30 -0800 (PST) (envelope-from nunotex@aeiou.pt) Received: (qmail 22148 invoked from network); 23 Mar 2003 15:49:27 -0000 Received: from unknown (HELO perca.ip.pt) (195.23.132.3) by doninha.ip.pt with SMTP; 23 Mar 2003 15:49:27 -0000 Received: (qmail 26044 invoked from network); 23 Mar 2003 15:49:26 -0000 Received: from unknown (HELO gw.tex.bogus) ([195.23.212.122]) (envelope-sender ) by perca.ip.pt (qmail-ldap-1.03) with SMTP for ; 23 Mar 2003 15:49:26 -0000 Received: by gw.tex.bogus (Postfix, from userid 1001) id 331DF4468; Sun, 23 Mar 2003 15:47:18 +0000 (GMT) Date: Sun, 23 Mar 2003 15:47:18 +0000 From: Nuno Teixeira To: Gerald Mixa Cc: freebsd-current@freebsd.org Subject: Re: Keyboard Problem Message-ID: <20030323154717.GA614@gw.tex.bogus> References: <200303231309.56001.Gerald.Mixa@symicon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303231309.56001.Gerald.Mixa@symicon.de> X-Operating-System: FreeBSD 5.0-RELEASE-p6 User-Agent: Mutt/1.5.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have the same problem. To fix that disable XkbModel option. Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" #Option "XkbModel" "pc104" Option "XkbLayout" "pt" EndSection I think that this problem was fixed in XFree86-Server-4.3.0_1. I have not yet upgrade it. Bye, Nuno Teixeira On Sun, Mar 23, 2003 at 01:09:43PM +0100, Gerald Mixa wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > I have got installed FreeBSD5.0-p4 and XFree4.3.0 on a Sony Vaio PCG-FX705. > The ati Video Driver works with 1400x1050 and the mouse works as well. My > problem is, that within X the XServer the button with the symbols for a > "less" b, a "greater" b does not work. Its just one button with three > different symbols. By the way I do have got a German Keyboard layout. > Actually this is quit annoying and i didn't find any hints in the > documentation. Well on the FreeBSDs terminal (outside the XServer) this > button works well. > > Sincerely > > Gerald Mixa > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (FreeBSD) > > iD8DBQE+faQMw+BD/BHtO/0RArdhAJ9xB30XgRPZG6AilpCjGXyfvIC8sgCeMnRe > LErrF14wEwV7flttatZH/q8= > =wYTW > -----END PGP SIGNATURE----- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- /* PGP fingerprint: C6D1 06ED EB54 A99C 6B14 6732 0A5D 810D 727D F6C6 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 7:57: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F42537B404; Sun, 23 Mar 2003 07:57:07 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA4D43F85; Sun, 23 Mar 2003 07:57:06 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7) with ESMTP id h2NFvBri053260; Sun, 23 Mar 2003 10:57:12 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7/Submit) id h2NFvAiE053259; Sun, 23 Mar 2003 10:57:10 -0500 (EST) Date: Sun, 23 Mar 2003 10:57:10 -0500 From: Craig Rodrigues To: freebsd-current@freebsd.org Cc: alfred@freebsd.org Subject: sem.ko and vfs_aio.ko modules not built by default Message-ID: <20030323155710.GA53234@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I notice that with a recent -current, that the vfs_aio.ko and sem.ko modules do not seem to be built by default. In the past, this was not the case. Is it mandatory now to specify the kernel options: options VFS_AIO options P1003_1B_SEMAPHORES in order for these modules to be built? I thought that the modules would be built if no options were specified, and if those options were specified, the modules would be built into the kernel. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 8:14:35 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EC8B37B401; Sun, 23 Mar 2003 08:14:34 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98FD443F3F; Sun, 23 Mar 2003 08:14:33 -0800 (PST) (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.8/8.12.8) with SMTP id h2NGESjK081430; Sun, 23 Mar 2003 11:14:28 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 23 Mar 2003 11:14:28 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Craig Rodrigues Cc: freebsd-current@freebsd.org, alfred@freebsd.org Subject: Re: sem.ko and vfs_aio.ko modules not built by default In-Reply-To: <20030323155710.GA53234@attbi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Mar 2003, Craig Rodrigues wrote: > I notice that with a recent -current, that the vfs_aio.ko and sem.ko > modules do not seem to be built by default. In the past, this was not > the case. > > Is it mandatory now to specify the kernel options: > options VFS_AIO > options P1003_1B_SEMAPHORES > > in order for these modules to be built? I thought that the modules > would be built if no options were specified, and if those options were > specified, the modules would be built into the kernel. Sometimes, kernel modules will not be built by default because they are unstable or experimental features that have not been adequately deployed or tested. I know our AIO implementation has improved in quality a great deal over the last couple of years, but last I checked the psem implementation had very little practical deployment experience or testing. Probably what it will take is someone owning the code for a bit to develop a proper test suite, chase down nasty interactions, etc. I know similar (although not identical) code exists in Darwin -- would be interesting to ask Apple if they have a test suite for their psem implementation. 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-current" in the body of the message From owner-freebsd-current Sun Mar 23 8:21: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3F437B405 for ; Sun, 23 Mar 2003 08:21:02 -0800 (PST) Received: from hannibal.symicon.com (pD9E5992D.dip.t-dialin.net [217.229.153.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89E9043FCB for ; Sun, 23 Mar 2003 08:21:00 -0800 (PST) (envelope-from gerald@hannibal.symicon.com) Received: from hannibal.symicon.com (localhost [127.0.0.1]) by hannibal.symicon.com (8.12.6/8.11.6) with ESMTP id h2NGK2HL044066; Sun, 23 Mar 2003 17:20:03 +0100 (CET) (envelope-from gerald@hannibal.symicon.com) Received: (from gerald@localhost) by hannibal.symicon.com (8.12.6/8.12.2/Submit) id h2NGK1sn044057; Sun, 23 Mar 2003 17:20:01 +0100 (CET) (envelope-from gerald) From: Gerald Mixa To: Nuno Teixeira Subject: Re: Keyboard Problem Date: Sun, 23 Mar 2003 17:20:00 +0100 User-Agent: KMail/1.5 Cc: freebsd-current@freebsd.org References: <200303231309.56001.Gerald.Mixa@symicon.de> <20030323154717.GA614@gw.tex.bogus> In-Reply-To: <20030323154717.GA614@gw.tex.bogus> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200303231720.00663.gerald.mixa@web.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Sonntag, 23. M=E4rz 2003 16:47 schrieb Nuno Teixeira: > Hi, > > I have the same problem. To fix that disable XkbModel option. > > > Section "InputDevice" > Identifier "Keyboard0" > Driver "keyboard" > #Option "XkbModel" "pc104" > Option "XkbLayout" "pt" > EndSection > > I think that this problem was fixed in XFree86-Server-4.3.0_1. I have Well I have the latest Version Installed, and the button does not work.=20 actually its the only one! I have the problme on freebsd 4.7,too.=20 Unfortuanatley your hint does not help on both machines :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 8:27:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E997C37B401 for ; Sun, 23 Mar 2003 08:27:16 -0800 (PST) Received: from hannibal.symicon.com (pD9E5992D.dip.t-dialin.net [217.229.153.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779FE43FA3 for ; Sun, 23 Mar 2003 08:27:15 -0800 (PST) (envelope-from gerald@hannibal.symicon.com) Received: from hannibal.symicon.com (localhost [127.0.0.1]) by hannibal.symicon.com (8.12.6/8.11.6) with ESMTP id h2NGQKHL048189; Sun, 23 Mar 2003 17:26:20 +0100 (CET) (envelope-from gerald@hannibal.symicon.com) Received: (from gerald@localhost) by hannibal.symicon.com (8.12.6/8.12.2/Submit) id h2NGQKtI048188; Sun, 23 Mar 2003 17:26:20 +0100 (CET) (envelope-from gerald) From: Gerald Mixa To: Gerald Mixa Subject: Re: Keyboard Problem Date: Sun, 23 Mar 2003 17:26:19 +0100 User-Agent: KMail/1.5 Cc: freebsd-current@freebsd.org References: <200303231309.56001.Gerald.Mixa@symicon.de> <20030323154717.GA614@gw.tex.bogus> <200303231720.00663.gerald.mixa@web.de> In-Reply-To: <200303231720.00663.gerald.mixa@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200303231726.19698.Gerald.Mixa@symicon.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Sonntag, 23. M=E4rz 2003 17:20 schrieb Gerald Mixa: > Well I have the latest Version Installed, and the button does not work. > actually its the only one! I have the problme on freebsd 4.7,too. > Unfortuanatley your hint does not help on both machines :-( My keyboard section looks like that on both machines Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" #Option "XkbModel" "pc101" Option "XkbLayout" "de" EndSection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 8:40:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A99F37B43C; Sun, 23 Mar 2003 08:40:15 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 224A743FAF; Sun, 23 Mar 2003 08:40:14 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7) with ESMTP id h2NGeJri053524; Sun, 23 Mar 2003 11:40:20 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7/Submit) id h2NGeJjC053523; Sun, 23 Mar 2003 11:40:19 -0500 (EST) Date: Sun, 23 Mar 2003 11:40:19 -0500 From: Craig Rodrigues To: Robert Watson Cc: freebsd-current@freebsd.org, alfred@freebsd.org Subject: Re: sem.ko and vfs_aio.ko modules not built by default Message-ID: <20030323164019.GA53433@attbi.com> References: <20030323155710.GA53234@attbi.com> 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-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 11:14:28AM -0500, Robert Watson wrote: > Sometimes, kernel modules will not be built by default because they are > unstable or experimental features that have not been adequately deployed > or tested. I know our AIO implementation has improved in quality a great > deal over the last couple of years, but last I checked the psem > implementation had very little practical deployment experience or testing. Who owns this code? I see that for /usr/src/sys/modules/Makefile: Revision 1.267 / (download) - annotate - [select for diffs], Mon Oct 7 04:08:07 2002 UTC (5 months, 2 weeks ago) by alfred Branch: MAIN Changes since 1.266: +0 -1 lines Diff to previous 1.266 (colored) Disconnect "sem" module from the build. Alfred, did you have a particular reason for removing the sem module from the build? It would be nice to have this in the -CURRENT build, at least so that people can try it out, report bugs, etc. Also, the sem(4) man page documents that you can "kldload sem" in order to get this supported. > Probably what it will take is someone owning the code for a bit to develop > a proper test suite, chase down nasty interactions, etc. I know similar Depending on what you are looking for, the Open POSIX Test Suite tests for POSIX semaphores: http://posixtest.sourceforge.net/ It's not the best test suite, but it is a start. > (although not identical) code exists in Darwin -- would be interesting to > ask Apple if they have a test suite for their psem implementation. I have done work with MacOS X recently...I would not look to Apple as a beacon for POSIX conformance, since they lack a lot of things. FreeBSD CURRENT seems to be far better with respect to POSIX conformance. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 9: 3:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F22C837B404; Sun, 23 Mar 2003 09:03:20 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C4143F75; Sun, 23 Mar 2003 09:03:19 -0800 (PST) (envelope-from till@f111.hadiko.de) Received: from f111.hadiko.de (hadif111.hadiko.uni-karlsruhe.de [172.20.42.141]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 18x8sP-0003eL-00; Sun, 23 Mar 2003 18:03:17 +0100 Received: from f111.hadiko.de (localhost [127.0.0.1]) by f111.hadiko.de (8.12.7/8.12.8) with ESMTP id h2NH2kYQ001952; Sun, 23 Mar 2003 17:02:46 GMT (envelope-from till@f111.hadiko.de) Received: (from till@localhost) by f111.hadiko.de (8.12.7/8.12.8/Submit) id h2NH2jNt001951; Sun, 23 Mar 2003 18:02:45 +0100 (CET) Date: Sun, 23 Mar 2003 18:02:45 +0100 From: Till Riedel To: Anti Cc: David Schultz , sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.org Subject: Re: libm problem Message-ID: <20030323170244.GA1911@f111.hadiko.de> References: <20030318173051.GA2322@f111.hadiko.de> <20030319131317.GA670@HAL9000.homeunix.com> <20030321235237.GA8097@f111.hadiko.de> <20030322111233.F4471@gamplex.bde.org> <20030322005435.GA8393@f111.hadiko.de> <20030322051443.GA13854@HAL9000.homeunix.com> <20030322182846.GA81615@troutmask.apl.washington.edu> <20030322123951.67271b29.fearow@attbi.com> <20030323074114.GA80906@HAL9000.homeunix.com> <20030323070808.0d3f63c0.fearow@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030323070808.0d3f63c0.fearow@attbi.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 07:08:08AM -0600, Anti wrote: > On Sat, 22 Mar 2003 23:41:14 -0800 > David Schultz wrote: > > > Thus spake Anti : > > > On Sat, 22 Mar 2003 10:28:46 -0800 > > > Steve Kargl wrote: > > > > > > > Pentium 4 is definitely broken on 5.x. Perhaps, we should remove > > > > the footshooting. > > > > > > > > --- bsd.cpu.mk.orig Sat Mar 22 10:23:42 2003 > > > > +++ bsd.cpu.mk Sat Mar 22 10:27:11 2003 > > > > @@ -62,7 +62,9 @@ > > > > . elif ${CPUTYPE} == "k5" > > > > _CPUCFLAGS = -march=pentium > > > > . elif ${CPUTYPE} == "p4" > > > > -_CPUCFLAGS = -march=pentium4 > > > > +# XXX gcc 3.2.2 appears to generate bad code on FreeBSD 5.x > > > > +#_CPUCFLAGS = -march=pentium4 why not +_CPUCFLAGS = -march=pentium4 -mno-sse2 > choose, and in the case of pentium4 producing broken code the > obvious fallback would be pentium3... above would be in fact the same because only the SSE2 code differs from march=pentium3 which in turn only defines SSE additionally (which probably generates the slower code compared to pentiumpro) as i see it. code generation for all x86 uses the same rules (i386.md) except that some rules only apply if TARGET_SSE2 is defined. till To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 9:18:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA25037B401; Sun, 23 Mar 2003 09:18:15 -0800 (PST) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D4BA43FAF; Sun, 23 Mar 2003 09:18:14 -0800 (PST) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h2NHI351878497; Sun, 23 Mar 2003 20:18:03 +0300 (MSK) Date: Sun, 23 Mar 2003 20:18:03 +0300 (MSK) From: Maxim Konovalov To: Tod Oace Cc: freebsd-current@FreeBSD.ORG, jlemon@FreeBSD.ORG Subject: Re: Freeze from pppd In-Reply-To: <6D12636D-5A46-11D7-A07C-00039388DE60@quay.com> Message-ID: <20030323201731.X81027@news1.macomnet.ru> References: <6D12636D-5A46-11D7-A07C-00039388DE60@quay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Try a next patch. Index: if_ppp.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_ppp.c,v retrieving revision 1.90 diff -u -r1.90 if_ppp.c --- if_ppp.c 4 Mar 2003 23:19:51 -0000 1.90 +++ if_ppp.c 23 Mar 2003 17:05:28 -0000 @@ -1571,7 +1571,7 @@ rv = IF_HANDOFF(&sc->sc_inq, m, NULL); else rv = netisr_queue(isr, m); - if (rv) { + if (!rv) { if (sc->sc_flags & SC_DEBUG) if_printf(ifp, "input queue full\n"); ifp->if_iqdrops++; %%% -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 9:42:20 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6586B37B401; Sun, 23 Mar 2003 09:42:19 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D601A43F3F; Sun, 23 Mar 2003 09:42:18 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id BAA502ED409; Sun, 23 Mar 2003 09:42:18 -0800 (PST) Date: Sun, 23 Mar 2003 09:42:18 -0800 From: Alfred Perlstein To: Craig Rodrigues Cc: Robert Watson , freebsd-current@freebsd.org Subject: Re: sem.ko and vfs_aio.ko modules not built by default Message-ID: <20030323174218.GV48996@elvis.mu.org> References: <20030323155710.GA53234@attbi.com> <20030323164019.GA53433@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030323164019.GA53433@attbi.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I removed sem because people were nearly hostile about it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 9:43:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D873F37B401; Sun, 23 Mar 2003 09:43:20 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4737343F85; Sun, 23 Mar 2003 09:43:18 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 34FDA1675A6; Sun, 23 Mar 2003 17:41:14 +0100 (CET) Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.6/8.12.6) with ESMTP id h2NHhGCr014564 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 23 Mar 2003 18:43:17 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: Till Riedel , Anti Subject: Re: libm problem Date: Sun, 23 Mar 2003 18:43:16 +0100 User-Agent: KMail/1.5 Cc: David Schultz , sgk@troutmask.apl.washington.edu, freebsd-current@freebsd.org References: <20030318173051.GA2322@f111.hadiko.de> <20030323070808.0d3f63c0.fearow@attbi.com> <20030323170244.GA1911@f111.hadiko.de> In-Reply-To: <20030323170244.GA1911@f111.hadiko.de> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_0Iff+gg9MUZXPru"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200303231843.16545.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Boundary-02=_0Iff+gg9MUZXPru Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Sunday 23 March 2003 18:02, Till Riedel wrote: > why not > +_CPUCFLAGS =3D -march=3Dpentium4 -mno-sse2 > > > choose, and in the case of pentium4 producing broken code the > > obvious fallback would be pentium3... > > above would be in fact the same because only the SSE2 code differs from > march=3Dpentium3 which in turn only defines SSE additionally (which > probably generates the slower code compared to pentiumpro) as i see it. > code generation for all x86 uses the same rules (i386.md) > except that some rules only apply if TARGET_SSE2 is defined. Just out of curiousity, have you tried using -mfpmath=3Dsse? I remember som= eone=20 on this list claiming that the SSE fpa-code works much better than the i387= =20 code which is used by default (even with -march=3Dpentium4). =2D-=20 Regards, Michael Nottebrock --Boundary-02=_0Iff+gg9MUZXPru Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+ffI0Xhc68WspdLARAmO/AJ9OqK1a2lkvuoJUsHXDXM2xRVUrAwCeJ7M5 t5QmXR5l+CKmMwrYoqdunFo= =kruC -----END PGP SIGNATURE----- --Boundary-02=_0Iff+gg9MUZXPru-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 9:55:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A11D37B405 for ; Sun, 23 Mar 2003 09:55:18 -0800 (PST) Received: from grassmarket.ucs.ed.ac.uk (grassmarket.ucs.ed.ac.uk [129.215.166.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEC5B43F75 for ; Sun, 23 Mar 2003 09:55:15 -0800 (PST) (envelope-from s9905155@sms.ed.ac.uk) Received: from fourtytwo.brucec.backnet (12266209.resnet.ed.ac.uk [10.6.0.100] (may be forged)) by grassmarket.ucs.ed.ac.uk (8.11.6/8.11.6) with ESMTP id h2NHt0T11643; Sun, 23 Mar 2003 17:55:00 GMT Received: from fourtytwo.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) by fourtytwo.brucec.backnet (8.12.8/8.12.8) with ESMTP id h2NHuxDb002628; Sun, 23 Mar 2003 17:57:00 GMT (envelope-from bruce@fourtytwo.brucec.backnet) Received: (from bruce@localhost) by fourtytwo.brucec.backnet (8.12.8/8.12.8/Submit) id h2NHux5C002627; Sun, 23 Mar 2003 17:56:59 GMT Date: Sun, 23 Mar 2003 17:56:59 +0000 From: Bruce Cran To: Michael Nottebrock Cc: current@freebsd.org Subject: Re: libm problem Message-ID: <20030323175659.GA2558@fourtytwo.brucec.backnet> References: <20030318173051.GA2322@f111.hadiko.de> <20030323070808.0d3f63c0.fearow@attbi.com> <20030323170244.GA1911@f111.hadiko.de> <200303231843.16545.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303231843.16545.michaelnottebrock@gmx.net> User-Agent: Mutt/1.5.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 06:43:16PM +0100, Michael Nottebrock wrote: > > Just out of curiousity, have you tried using -mfpmath=sse? I remember someone > on this list claiming that the SSE fpa-code works much better than the i387 > code which is used by default (even with -march=pentium4). > I don't know if SSE code runs faster, but it defitely seems to fix bad code generation when optimizing for athlon-xp architecture. For example, -O2 -march=athlon-xp produces broken code, whereas -O2 -march=athlon-xp -mfpmath=sse produces programs which work. Bruce Cran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 10:24:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FA2B37B401 for ; Sun, 23 Mar 2003 10:24:38 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id A16E943FCB for ; Sun, 23 Mar 2003 10:24:37 -0800 (PST) (envelope-from till@f111.hadiko.de) Received: from f111.hadiko.de (hadif111.hadiko.uni-karlsruhe.de [172.20.42.141]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 18xA96-0005vz-00; Sun, 23 Mar 2003 19:24:36 +0100 Received: from f111.hadiko.de (localhost [127.0.0.1]) by f111.hadiko.de (8.12.7/8.12.8) with ESMTP id h2NIO6YQ002161 for ; Sun, 23 Mar 2003 18:24:06 GMT (envelope-from till@f111.hadiko.de) Received: (from till@localhost) by f111.hadiko.de (8.12.7/8.12.8/Submit) id h2NIO5CI002160 for freebsd-current@freebsd.org; Sun, 23 Mar 2003 19:24:05 +0100 (CET) Date: Sun, 23 Mar 2003 19:24:05 +0100 From: Till Riedel To: freebsd-current@freebsd.org Subject: Re: libm problem Message-ID: <20030323182405.GA2135@f111.hadiko.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303231843.16545.michaelnottebrock@gmx.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 06:43:16PM +0100, Michael Nottebrock wrote: Content-Description: signed data > On Sunday 23 March 2003 18:02, Till Riedel wrote: > > why not > > +_CPUCFLAGS = -march=pentium4 -mno-sse2 > > > > > choose, and in the case of pentium4 producing broken code the > > > obvious fallback would be pentium3... > > > > above would be in fact the same because only the SSE2 code differs from > > march=pentium3 which in turn only defines SSE additionally (which > > probably generates the slower code compared to pentiumpro) as i see it. > > code generation for all x86 uses the same rules (i386.md) > > except that some rules only apply if TARGET_SSE2 is defined. I at least now know to some extend what make -mpentium4 slow. someone at gcc hacked a stupid cost table for its operations.This makes pentium4 fast again: *** i386.c Sun Mar 23 17:32:38 2003 --- i386.c.orig Sun Mar 23 17:45:35 2003 *************** *** 893,895 **** {"pentium3", PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | PTA_PREFETCH_SSE}, ! {"pentium4", PROCESSOR_PENTIUMPRO, PTA_SSE | PTA_SSE2 | PTA_MMX | PTA_PREFETCH_SSE}, --- 893,895 ---- {"pentium3", PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | PTA_PREFETCH_SSE}, ! {"pentium4", PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 | PTA_MMX | PTA_PREFETCH_SSE}, > > Just out of curiousity, have you tried using -mfpmath=sse? I remember someone > on this list claiming that the SSE fpa-code works much better than the i387 > code which is used by default (even with -march=pentium4). seems to be equally fast with whetstone benchmark , but makes sse2 slower because most sse2 rules depend on i387 math. here some results after the cost patch above: -march=pentiumpro whetstone took: 1.05 secs for 954 MFLOPS (w/ math lib) whetstone took: 0.28 secs for 3555 MFLOPS (w/o math lib) -march=pentium3 whetstone took: 1.05 secs for 954 MFLOPS (w/ math lib) whetstone took: 0.28 secs for 3556 MFLOPS (w/o math lib) -march=pentium3 -mfpmath=sse whetstone took: 1.05 secs for 953 MFLOPS (w/ math lib) whetstone took: 0.28 secs for 3555 MFLOPS (w/o math lib) -march=pentium4 whetstone took: 1.06 secs for 942 MFLOPS (w/ math lib) whetstone took: 0.29 secs for 3393 MFLOPS (w/o math lib) -march=pentium4 -mno-sse2 should after patch be the same as pentium3 whetstone took: 1.05 secs for 954 MFLOPS (w/ math lib) whetstone took: 0.28 secs for 3555 MFLOPS (w/o math lib) -march=pentium4 -mfpmath=sse whetstone took: 1.14 secs for 880 MFLOPS (w/ math lib) whetstone took: 0.36 secs for 2768 MFLOPS (w/o math lib) till To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 10:39:16 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC3F137B401 for ; Sun, 23 Mar 2003 10:39:14 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3442A43F75 for ; Sun, 23 Mar 2003 10:39:14 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 5C9491675A6; Sun, 23 Mar 2003 18:37:07 +0100 (CET) Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.6/8.12.6) with ESMTP id h2NIdACr015040 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 23 Mar 2003 19:39:10 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: Till Riedel , freebsd-current@freebsd.org Subject: Re: libm problem Date: Sun, 23 Mar 2003 19:39:06 +0100 User-Agent: KMail/1.5 References: <20030323182405.GA2135@f111.hadiko.de> In-Reply-To: <20030323182405.GA2135@f111.hadiko.de> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_O9ff+DlaK+AvaIW"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200303231939.10040.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Boundary-02=_O9ff+DlaK+AvaIW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Sunday 23 March 2003 19:24, Till Riedel wrote: > On Sun, Mar 23, 2003 at 06:43:16PM +0100, Michael Nottebrock wrote: > > Just out of curiousity, have you tried using -mfpmath=3Dsse? I remember > > someone on this list claiming that the SSE fpa-code works much better > > than the i387 code which is used by default (even with -march=3Dpentium= 4). > > seems to be equally fast with whetstone benchmark , Actually, when I said "better", I really meant "doesn't break -O(ptimized)= =20 code" rather than "faster". :) =2D-=20 Regards, Michael Nottebrock --Boundary-02=_O9ff+DlaK+AvaIW Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+ff9OXhc68WspdLARAryQAJ4xjgTb9cQADxvmCsodCYs1FDsBFwCfYtfR 8E7mXh4ugVSi/SEsWw7w+Ho= =ejUZ -----END PGP SIGNATURE----- --Boundary-02=_O9ff+DlaK+AvaIW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 11:23: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5852737B401 for ; Sun, 23 Mar 2003 11:23:07 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9B4A43F3F for ; Sun, 23 Mar 2003 11:23:06 -0800 (PST) (envelope-from till@f111.hadiko.de) Received: from f111.hadiko.de (hadif111.hadiko.uni-karlsruhe.de [172.20.42.141]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 18xB3h-0007j1-00; Sun, 23 Mar 2003 20:23:05 +0100 Received: from f111.hadiko.de (localhost [127.0.0.1]) by f111.hadiko.de (8.12.7/8.12.8) with ESMTP id h2NJMYYQ002311; Sun, 23 Mar 2003 19:22:34 GMT (envelope-from till@f111.hadiko.de) Received: (from till@localhost) by f111.hadiko.de (8.12.7/8.12.8/Submit) id h2NJMXsF002310; Sun, 23 Mar 2003 20:22:33 +0100 (CET) Date: Sun, 23 Mar 2003 20:22:33 +0100 From: Till Riedel To: Michael Nottebrock Cc: freebsd-current@freebsd.org Subject: Re: libm problem Message-ID: <20030323192233.GB2178@f111.hadiko.de> References: <20030323182405.GA2135@f111.hadiko.de> <200303231939.10040.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303231939.10040.michaelnottebrock@gmx.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 07:39:06PM +0100, Michael Nottebrock wrote: Content-Description: signed data > Actually, when I said "better", I really meant "doesn't break -O(ptimized) > code" rather than "faster". :) ok, got you now. it is neither faster nor better. I tested it with e_pow.c. funnily though using the pentiumpro proccessor cost table "fixes" the libm problem :-). the point still is though, that enabling other things (or like me changing the cost table) doesn' fix anything, because eg if someone changes some stuff not directly related to sse2 code selection again may find another rule for sse2 that is buggy again. I think no one should simply use the sse2 stuff at the moment, because you will notice problems too late. My mp3s sounded horrible and gv didn't display pdf files correctly. if there hadn't been libvorbis though that had a division by zero,however, i probably never would have located the bug. till To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 11:26:45 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFE7737B401 for ; Sun, 23 Mar 2003 11:26:42 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FE043F85 for ; Sun, 23 Mar 2003 11:26:42 -0800 (PST) (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.8/8.12.8) with SMTP id h2NJQcjK088335 for ; Sun, 23 Mar 2003 14:26:38 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 23 Mar 2003 14:26:38 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Subject: ACPI problem: sio ports improperly attached with ACPI on Intel L440GX+ Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm attempting to use an Intel L440GX+ motherboard with 5.x, and am running into the following problem: when I boot without ACPI, the serial ports probe, attach, and work fine: Mar 23 14:21:56 none kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Mar 23 14:21:56 none kernel: sio0: type 16550A Mar 23 14:21:56 none kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Mar 23 14:21:56 none kernel: sio1: type 16550A When I boot with ACPI, the following appears in dmesg: Mar 23 14:14:31 none kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 Mar 23 14:14:31 none kernel: sio0: port may not be enabled Mar 23 14:14:31 none kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0 Mar 23 14:14:31 none kernel: sio0: type 16550A Mar 23 14:14:31 none kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Mar 23 14:14:31 none kernel: sio1: port may not be enabled Mar 23 14:14:31 none kernel: sio1 port 0x2f8-0x2ff irq 3 on acpi0 Mar 23 14:14:31 none kernel: sio1: type 16550A And sure enough, when using ACPI, interrupts don't work properly with the serial ports, resulting in them essentially being unusable (stuff goes out, but not in, except once in a while when the silo overflows). I notice that, unlike my other 5.x boxes, sio0 and sio1 seem to attach to acpi0, rather than isa0 as one would expect, so I guess it's not entirely surprising that the interrupts aren't working right. Any suggestions about how I might go about diagnosing and remedying this problem? 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-current" in the body of the message From owner-freebsd-current Sun Mar 23 11:35:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32AA437B401 for ; Sun, 23 Mar 2003 11:35:33 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id C674643FA3 for ; Sun, 23 Mar 2003 11:35:31 -0800 (PST) (envelope-from der_julian@web.de) Received: from fwd07.sul.t-online.de by mailout09.sul.t-online.com with smtp id 18xBFi-0000LL-06; Sun, 23 Mar 2003 20:35:30 +0100 Received: from jmmr.no-ip.com (520088592922-0001@[217.85.111.22]) by fmrl07.sul.t-online.com with esmtp id 18xBFR-0vzOSmC; Sun, 23 Mar 2003 20:35:13 +0100 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h2NJZ0N2095244 for ; Sun, 23 Mar 2003 20:35:03 +0100 (CET) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h2NJYoex095239 for current@freebsd.org; Sun, 23 Mar 2003 20:34:50 +0100 (CET) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f Subject: Re: libm problem From: "Julian St." Reply-To: der_julian@web.de To: FreeBSD-current In-Reply-To: <20030323175659.GA2558@fourtytwo.brucec.backnet> References: <20030318173051.GA2322@f111.hadiko.de> <20030323070808.0d3f63c0.fearow@attbi.com> <20030323170244.GA1911@f111.hadiko.de> <200303231843.16545.michaelnottebrock@gmx.net> <20030323175659.GA2558@fourtytwo.brucec.backnet> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1048448088.91090.7.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 23 Mar 2003 20:34:49 +0100 X-Sender: 520088592922-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am So, 2003-03-23 um 18.56 schrieb Bruce Cran: > On Sun, Mar 23, 2003 at 06:43:16PM +0100, Michael Nottebrock wrote: > > > > Just out of curiousity, have you tried using -mfpmath=sse? I remember someone > > on this list claiming that the SSE fpa-code works much better than the i387 > > code which is used by default (even with -march=pentium4). > > > > I don't know if SSE code runs faster, but it defitely seems to fix bad > code generation when optimizing for athlon-xp architecture. For > example, -O2 -march=athlon-xp produces broken code, whereas -O2 > -march=athlon-xp -mfpmath=sse produces programs which work. Just out of curiosity: Is -O -march=athlon-xp affected, too, by broken code generation? Because thats what I use all the time. :) -- Julian Stecklina To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 11:39: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 787EB37B401 for ; Sun, 23 Mar 2003 11:39:07 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A72243F75 for ; Sun, 23 Mar 2003 11:39:06 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2NJd4A7065237; Sun, 23 Mar 2003 12:39:05 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 23 Mar 2003 12:38:24 -0700 (MST) Message-Id: <20030323.123824.67091816.imp@bsdimp.com> To: leimy2k@mac.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: "Just" building the lib part of world From: "M. Warner Losh" In-Reply-To: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> References: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> David Leimbach writes: : Or even better would be just building libc. I have been working on my : getpwnam_r assignment... : examining implementations in both Darwin and NetBSD and started trying : to implement some of : this code for FreeBSD... Its not anywhere even near the goal in sight : as I am still learning the : build system. : : Do I always have to build world or can I get away with just making some : subdirectories? If so : what is the best way to do this? : : Rebuilding gcc each time I just want to test out my code is a real drag : :) First off, make -DNOCLEAN for incremental things isn't so bad. Second, after a buildworld/installworld, cd src/lib/libc && make depend && make will do the trick. I've used this several times. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 12:41:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06AD737B401; Sun, 23 Mar 2003 12:41:32 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D1943F85; Sun, 23 Mar 2003 12:41:30 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id HAA19593; Mon, 24 Mar 2003 07:41:27 +1100 Date: Mon, 24 Mar 2003 07:41:26 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Robert Watson Cc: current@FreeBSD.ORG Subject: Re: ACPI problem: sio ports improperly attached with ACPI on Intel L440GX+ In-Reply-To: Message-ID: <20030324073217.O12413@gamplex.bde.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Mar 2003, Robert Watson wrote: > When I boot with ACPI, the following appears in dmesg: > > Mar 23 14:14:31 none kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 > Mar 23 14:14:31 none kernel: sio0: port may not be enabled > Mar 23 14:14:31 none kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0 > Mar 23 14:14:31 none kernel: sio0: type 16550A > ... > > And sure enough, when using ACPI, interrupts don't work properly with the > serial ports, resulting in them essentially being unusable (stuff goes > out, but not in, except once in a while when the silo overflows). I > notice that, unlike my other 5.x boxes, sio0 and sio1 seem to attach to > acpi0, rather than isa0 as one would expect, so I guess it's not entirely > surprising that the interrupts aren't working right. > > Any suggestions about how I might go about diagnosing and remedying this > problem? Maybe something else steals their interrupts (it could be unconfigured ports sio[2-3]). I think the ports get probed again later with isa hints (ISTR seeing this for isa-pnp) but their "successful" attachment to acpi prevents this doing anything. The "configured irq N not in bitmap" warning used to be an error and this would have prevented attachment. You could try making it an error again. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 14: 5:12 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3737B401 for ; Sun, 23 Mar 2003 14:05:10 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D2043F75 for ; Sun, 23 Mar 2003 14:05:09 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id A2F90167656; Sun, 23 Mar 2003 22:02:59 +0100 (CET) Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.6/8.12.6) with ESMTP id h2NM53Cr016505 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 23 Mar 2003 23:05:04 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: Till Riedel Subject: Re: libm problem Date: Sun, 23 Mar 2003 23:04:59 +0100 User-Agent: KMail/1.5.1 Cc: freebsd-current@freebsd.org References: <20030323182405.GA2135@f111.hadiko.de> <200303231939.10040.michaelnottebrock@gmx.net> <20030323192233.GB2178@f111.hadiko.de> In-Reply-To: <20030323192233.GB2178@f111.hadiko.de> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_O+if+Dfp2+AhjIB"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200303232305.03093.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Boundary-02=_O+if+Dfp2+AhjIB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Sunday 23 March 2003 20:22, Till Riedel wrote: > I think no one should simply use the sse2 stuff at the moment, > because you will notice problems too late. My > mp3s sounded horrible and gv didn't display pdf files correctly. > if there hadn't been libvorbis though that had a division by zero,however, > i probably never would have located the bug. Scary. You might want to summarize what you've found (or going to find, if = you=20 continue investigating) in a big mean PR in gcc's GNATS... (I've filed one = as=20 of date, and they actually fixed the issue three months later, it seems,=20 unlike FreeBSD, the GCC folks actually process their PR queue). =2D-=20 Regards, Michael Nottebrock --Boundary-02=_O+if+Dfp2+AhjIB Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fi+OXhc68WspdLARAgADAJ9dZ+x4Av42ryGtyYq3J4qKM9m7EQCaAlED cCIS2kXE+f8V8Dc+9uUcC7E= =fmkK -----END PGP SIGNATURE----- --Boundary-02=_O+if+Dfp2+AhjIB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 15:37:14 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB9D837B401 for ; Sun, 23 Mar 2003 15:37:13 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id C196B43FA3 for ; Sun, 23 Mar 2003 15:37:12 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7) with ESMTP id h2NNbIri076160 for ; Sun, 23 Mar 2003 18:37:18 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7/Submit) id h2NNbIN2076159 for freebsd-current@freebsd.org; Sun, 23 Mar 2003 18:37:18 -0500 (EST) Date: Sun, 23 Mar 2003 18:37:17 -0500 From: Craig Rodrigues To: freebsd-current@freebsd.org Subject: atomic_dec_and_test() in FreeBSD? Message-ID: <20030323233717.GA76063@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I asked this question on freebsd-smp...I'm asking here in case anyone has any ideas. I am the port maintainer for the Apache Portable Runtime (APR) library. APR makes use of a function in Linux called atomic_dec_and_test which is described here: http://kernelnewbies.org/documents/kdoc/kernel-api/r287.html Is there a way that I can use the existing FreeBSD macros to achieve the equivalent of atomic_dec_and_test? I couldn't figure out a way to do it. Thanks. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message ----- End forwarded message ----- -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 15:51:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F4A837B401 for ; Sun, 23 Mar 2003 15:51:29 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF5643FAF for ; Sun, 23 Mar 2003 15:51:28 -0800 (PST) (envelope-from leimy2k@mac.com) Received: from woappsx47.mac.com (woappsx47-en1 [10.13.11.147]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h2NNpL5f028050; Sun, 23 Mar 2003 15:51:21 -0800 (PST) Received: from woappsx47 (localhost [127.0.0.1]) by woappsx47.mac.com (8.12.2/8.12.2) with ESMTP id h2NNpKih025590; Sun, 23 Mar 2003 15:51:20 -0800 (PST) Message-ID: <5331930.1048463480739.JavaMail.leimy2k@mac.com> Date: Sun, 23 Mar 2003 17:51:20 -0600 From: David Leimbach To: "M. Warner Losh" Subject: Re: "Just" building the lib part of world Cc: freebsd-current@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for all the helpful responses... :) On Sunday, March 23, 2003, at 01:38PM, M. Warner Losh wrote: >In message: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> > David Leimbach writes: >: Or even better would be just building libc. I have been working on my >: getpwnam_r assignment... >: examining implementations in both Darwin and NetBSD and started trying >: to implement some of >: this code for FreeBSD... Its not anywhere even near the goal in sight >: as I am still learning the >: build system. >: >: Do I always have to build world or can I get away with just making some >: subdirectories? If so >: what is the best way to do this? >: >: Rebuilding gcc each time I just want to test out my code is a real drag >: :) > >First off, make -DNOCLEAN for incremental things isn't so bad. > >Second, after a buildworld/installworld, cd src/lib/libc && make >depend && make will do the trick. I've used this several times. > >Warner > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 17:12:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF1F37B401 for ; Sun, 23 Mar 2003 17:12:10 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051BB43F75 for ; Sun, 23 Mar 2003 17:12:10 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from itanium.pn.xcllnt.net (itanium.pn.xcllnt.net [192.168.4.5]) by ns1.xcllnt.net (8.12.8/8.12.8) with ESMTP id h2O1C8Ku006300; Sun, 23 Mar 2003 17:12:08 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from itanium.pn.xcllnt.net (localhost [127.0.0.1]) by itanium.pn.xcllnt.net (8.12.8/8.12.8) with ESMTP id h2O1C7Hb004053; Sun, 23 Mar 2003 17:12:07 -0800 (PST) (envelope-from marcel@itanium.pn.xcllnt.net) Received: (from marcel@localhost) by itanium.pn.xcllnt.net (8.12.8/8.12.8/Submit) id h2O1C7af004052; Sun, 23 Mar 2003 17:12:07 -0800 (PST) (envelope-from marcel) Date: Sun, 23 Mar 2003 17:12:07 -0800 From: Marcel Moolenaar To: Craig Rodrigues Cc: freebsd-current@FreeBSD.ORG Subject: Re: atomic_dec_and_test() in FreeBSD? Message-ID: <20030324011207.GA3985@itanium.pn.xcllnt.net> References: <20030323233717.GA76063@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030323233717.GA76063@attbi.com> User-Agent: Mutt/1.5.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 23, 2003 at 06:37:17PM -0500, Craig Rodrigues wrote: > > APR makes use of a function in Linux called > atomic_dec_and_test which is described here: *snip* > Is there a way that I can use the existing > FreeBSD macros to achieve the equivalent of atomic_dec_and_test? Probably not a good idea. You're much better off implementing it on your own. Your requirements are likely to be different from those of the kernel. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 19:11:18 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A52A37B401 for ; Sun, 23 Mar 2003 19:11:15 -0800 (PST) Received: from Katie.ProFX.net (dsl-203-113-196-29.VIC.netspace.net.au [203.113.196.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA21343F75 for ; Sun, 23 Mar 2003 19:11:13 -0800 (PST) (envelope-from Pro@ProFX.net) Received: by Katie.ProFX.net (Postfix, from userid 1006) id E051D15CAB; Mon, 24 Mar 2003 14:13:55 +1100 (EST) Received: from [192.168.0.40] (profx.profx.net [192.168.0.40]) by Katie.ProFX.net (Postfix) with ESMTP id 5121A15C29 for ; Mon, 24 Mar 2003 14:13:48 +1100 (EST) Subject: make kernel bombs out From: Brendan Hiley To: current@freebsd.org Organization: ProFX Internet Services Message-Id: <1048475809.769.8.camel@Melissa.ProFX.net> X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 14:16:49 +1100 X-Spam-Status: No, hits=-6.3 required=5.0 tests=USER_AGENT_XIMIAN version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Sanitizer: ProFX mail filter MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi guys, I'm using source that was sync'd about 18 hours ago. Buildworld built properly and kernel looks like it's almost completely built then I get what is below. Any suggestions/ideas? This is the second time it's bombed out like this and I CVSup'd and rebuilt world inbetween the two attempts. Thanks, Brendan. linking kernel init_main.o: In function `proc0_init': init_main.o(.text+0x2b9): undefined reference to `kse0_sched' init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' init_main.o(.text+0x2cd): undefined reference to `proc0_sched' init_main.o(.text+0x2d7): undefined reference to `thread0_sched' kern_clock.o: In function `statclock': kern_clock.o(.text+0x584): undefined reference to `sched_clock' kern_condvar.o: In function `cv_wait': kern_condvar.o(.text+0x145): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_wait_sig': kern_condvar.o(.text+0x354): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_timedwait': kern_condvar.o(.text+0x5f4): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_timedwait_sig': kern_condvar.o(.text+0x8a4): undefined reference to `sched_sleep' kern_exit.o: In function `wait1': kern_exit.o(.text+0x104a): undefined reference to `sched_exit' kern_fork.o: In function `fork1': kern_fork.o(.text+0xb65): undefined reference to `sched_fork' kern_idle.o: In function `idle_proc': kern_idle.o(.text+0xe9): undefined reference to `sched_runnable' kern_mutex.o: In function `propagate_priority': kern_mutex.o(.text+0x7a): undefined reference to `sched_prio' kern_proc.o: In function `procinit': kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc' kern_proc.o: In function `fill_kinfo_proc': kern_proc.o(.text+0x116b): undefined reference to `sched_pctcpu' kern_resource.o: In function `donice': kern_resource.o(.text+0x7e8): undefined reference to `sched_nice' kern_subr.o: In function `uio_yield': kern_subr.o(.text+0x4ac): undefined reference to `sched_prio' kern_switch.o: In function `choosethread': kern_switch.o(.text+0x9): undefined reference to `sched_choose' kern_switch.o: In function `kse_reassign': kern_switch.o(.text+0xea): undefined reference to `sched_add' kern_switch.o: In function `adjustrunqueue': kern_switch.o(.text+0x168): undefined reference to `sched_rem' kern_switch.o(.text+0x170): undefined reference to `sched_add' kern_switch.o(.text+0x19e): undefined reference to `sched_rem' kern_switch.o: In function `setrunqueue': kern_switch.o(.text+0x293): undefined reference to `sched_rem' kern_switch.o(.text+0x34d): undefined reference to `sched_add' kern_synch.o: In function `msleep': kern_synch.o(.text+0x351): undefined reference to `sched_sleep' kern_synch.o: In function `mi_switch': kern_synch.o(.text+0xa22): undefined reference to `sched_switchout' kern_synch.o(.text+0xa3d): undefined reference to `sched_switchin' kern_synch.o: In function `setrunnable': kern_synch.o(.text+0xb3b): undefined reference to `sched_wakeup' kern_synch.o: In function `yield': kern_synch.o(.text+0xd4a): undefined reference to `sched_prio' kern_thread.o: In function `threadinit': kern_thread.o(.text+0x10f7): undefined reference to `sched_sizeof_thread' kern_thread.o(.text+0x1141): undefined reference to `sched_sizeof_ksegrp' kern_thread.o(.text+0x118b): undefined reference to `sched_sizeof_kse' subr_trap.o: In function `userret': subr_trap.o(.text+0x18): undefined reference to `sched_userret' subr_trap.o: In function `ast': subr_trap.o(.text+0x40d): undefined reference to `sched_prio' ksched.o: In function `ksched_attach': ksched.o(.text+0x2e): undefined reference to `sched_rr_interval' ksched.o: In function `ksched_setscheduler': ksched.o(.text+0x2b3): undefined reference to `sched_prio' ksched.o(.text+0x363): undefined reference to `sched_prio' vm_zeroidle.o: In function `vm_pagezero': vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable' vm_pageout.o: In function `vm_pageout_scan': vm_pageout.o(.text+0x164c): undefined reference to `sched_nice' machdep.o: In function `cpu_idle': machdep.o(.text+0x143e): undefined reference to `sched_runnable' *** Error code 1 Stop in /usr/obj/usr/src/sys/CHLOE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [root@Chloe /usr/src] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 19:24:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AB8E37B401 for ; Sun, 23 Mar 2003 19:24:13 -0800 (PST) Received: from calis.blacksun.org (calis.blacksun.org [216.254.108.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id A374043F75 for ; Sun, 23 Mar 2003 19:24:12 -0800 (PST) (envelope-from don@calis.blacksun.org) Received: by calis.blacksun.org (Postfix, from userid 1001) id 388561702C; Sun, 23 Mar 2003 22:27:47 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by calis.blacksun.org (Postfix) with ESMTP id 333A817021; Sun, 23 Mar 2003 22:27:47 -0500 (EST) Date: Sun, 23 Mar 2003 22:27:47 -0500 (EST) From: Don To: Brendan Hiley Cc: current@freebsd.org Subject: Re: make kernel bombs out In-Reply-To: <1048475809.769.8.camel@Melissa.ProFX.net> Message-ID: <20030323222715.P73193@calis.blacksun.org> References: <1048475809.769.8.camel@Melissa.ProFX.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I'm using source that was sync'd about 18 hours ago. > Buildworld built properly and kernel looks like it's almost completely > built then I get what is below. > > Any suggestions/ideas? > This is the second time it's bombed out like this and I CVSup'd and > rebuilt world inbetween the two attempts. Please read /usr/src/UPDATING -Don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 19:33:29 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 056B137B401 for ; Sun, 23 Mar 2003 19:33:28 -0800 (PST) Received: from Katie.ProFX.net (dsl-203-113-196-29.VIC.netspace.net.au [203.113.196.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E329843F3F for ; Sun, 23 Mar 2003 19:33:24 -0800 (PST) (envelope-from Pro@ProFX.net) Received: by Katie.ProFX.net (Postfix, from userid 1006) id 5378C15CAB; Mon, 24 Mar 2003 14:36:07 +1100 (EST) Received: from [192.168.0.40] (profx.profx.net [192.168.0.40]) by Katie.ProFX.net (Postfix) with ESMTP id 2D8A215C8D; Mon, 24 Mar 2003 14:36:01 +1100 (EST) Subject: Re: make kernel bombs out From: Brendan Hiley To: Don Cc: current@freebsd.org In-Reply-To: <20030323222715.P73193@calis.blacksun.org> References: <1048475809.769.8.camel@Melissa.ProFX.net> <20030323222715.P73193@calis.blacksun.org> Organization: ProFX Internet Services Message-Id: <1048477142.769.10.camel@Melissa.ProFX.net> X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 14:39:02 +1100 X-Spam-Status: No, hits=-32.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_XIMIAN version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Sanitizer: ProFX mail filter MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ahh, I missed that :) Thanks, Brendan. On Mon, 2003-03-24 at 14:27, Don wrote: > > I'm using source that was sync'd about 18 hours ago. > > Buildworld built properly and kernel looks like it's almost completely > > built then I get what is below. > > > > Any suggestions/ideas? > > This is the second time it's bombed out like this and I CVSup'd and > > rebuilt world inbetween the two attempts. > Please read /usr/src/UPDATING > > -Don > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 23 23:40:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F5B37B401 for ; Sun, 23 Mar 2003 23:40:43 -0800 (PST) Received: from trillian.santala.org (ip212-226-173-33.adsl.kpnqwest.fi [212.226.173.33]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FA9943F3F for ; Sun, 23 Mar 2003 23:40:41 -0800 (PST) (envelope-from jake@iki.fi) Received: (qmail 20878 invoked by uid 11053); 24 Mar 2003 07:40:32 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Mar 2003 07:40:32 -0000 Date: Mon, 24 Mar 2003 09:40:32 +0200 (EET) From: Jarkko Santala X-X-Sender: jake@trillian.santala.org To: Poul-Henning Kamp Cc: Christian Brueffer , current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage In-Reply-To: <4754.1048431702@critter.freebsd.dk> Message-ID: <20030324093641.I32124@trillian.santala.org> References: <4754.1048431702@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-22.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Mar 2003, Poul-Henning Kamp wrote: > In message <20030323143507.GG36490@unixpages.org>, Christian Brueffer writes: > >now that MAKEDEV has been gone for a while, the manpages (alpha and i386) > >can be nuked as well, right? > > Right. Although it might be considered dragging old baggage around, would it make sense to instead of zapping the man page completely write a new one that would at least give a clue on how things are done these days? Otherwise unclued people might just think there's something wrong with their system because the man page is missing and get even more confused. -jake -- Jarkko Santala http://www.iki.fi/~jake/ System Administrator 2001:670:83:f08::/64 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 0: 1:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DDF537B401 for ; Mon, 24 Mar 2003 00:01:23 -0800 (PST) Received: from ns.gfk.ru (ns.gfk.ru [62.205.179.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56C2943F3F for ; Mon, 24 Mar 2003 00:01:14 -0800 (PST) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru ([10.0.0.30]) by ns.gfk.ru ([62.205.179.194]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Mon, 24 Mar 2003 10:58:01 +0300 content-class: urn:content-classes:message Subject: RE: MIDI on SB Live! ? Date: Mon, 24 Mar 2003 09:47:56 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: MIDI on SB Live! ? Thread-Index: AcLv5O5MyYIUeeA2TSC9HwvIjUmUyQB6SpvQ X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 From: "Yuriy Tsibizov" To: Cc: X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: freebsd-current@FreeBSD.ORG X-Spam-Status: No, hits=-3.0 required=5.0 tests=PLING_QUERY,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > just out of curiosity: Is someone working in MIDI support for=20 > Creative EMU10K1 > based sound cards (aka Soundblaster Live!) ? Nobody. Our target for nearest future is Audigy/Audigy2 support.=20 Yuriy Tsibizov, http://chibis.persons.gfk.ru/audigy/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 1: 7:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F21FF37B401 for ; Mon, 24 Mar 2003 01:07:53 -0800 (PST) Received: from hellraiser.ipv6peer.net (gateway-166-117.aei.ca [192.197.166.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CC1243F3F for ; Mon, 24 Mar 2003 01:07:53 -0800 (PST) (envelope-from fuzzball@ipv6peer.net) Received: from localhost.ipv6peer.net ([127.0.0.1] ident=fuzzball) by hellraiser.ipv6peer.net with esmtp (Exim 4.10) id 18xNwO-000EUu-00 for freebsd-current@freebsd.org; Mon, 24 Mar 2003 04:08:24 -0500 Subject: gre problems. From: Jean-Francois Laforest To: FreeBSD-Current ML Content-Type: text/plain Organization: IPv6 Peer Message-Id: <1048496903.1335.29.camel@hellraiser.ipv6peer.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 24 Mar 2003 04:08:24 -0500 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-6.3 required=5.0 tests=USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Slight problem with FreeBSD 5.0-RELEASE-p4. When the machine is freshly booted, I can create a tunnel fine, it'll ping for a while. When the link fails, it doesn't re-establish the lin. I decided to ifconfig gre0 destroy and create it again, after the tunnel is created again the system barks the following error message: Mar 24 04:04:25 hellraiser kernel: gre0: unable to attach encap Anyone ever got this problem yet ? (4.7 - 5.0) (More information can be provided.) -- -------------------------- | Jean-Francois Laforest | ------------------------------------------------------------------------------- | http://www.ipv6peer.net/ | IPv6 Peer +01-514-524-8120 | | fuzzball@ipv6peer.net | BOFH: What was your usename ? :) | ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 4:26:20 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1A3337B401 for ; Mon, 24 Mar 2003 04:26:17 -0800 (PST) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8691C43F85 for ; Mon, 24 Mar 2003 04:26:16 -0800 (PST) (envelope-from der_julian@web.de) Received: from fwd04.sul.t-online.de by mailout10.sul.t-online.com with smtp id 18xR1r-0006SS-05; Mon, 24 Mar 2003 13:26:15 +0100 Received: from jmmr.no-ip.com (520088592922-0001@[80.135.46.19]) by fmrl04.sul.t-online.com with esmtp id 18xR1d-0bIKGGC; Mon, 24 Mar 2003 13:26:01 +0100 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h2OCPndC002666 for ; Mon, 24 Mar 2003 13:25:53 +0100 (CET) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h2OCPidn002665 for current@freebsd.org; Mon, 24 Mar 2003 13:25:44 +0100 (CET) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f Subject: RE: MIDI on SB Live! ? From: "Julian St." Reply-To: der_julian@web.de To: FreeBSD-current In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oivI0zVefETeES/Kh3iE" Organization: Message-Id: <1048508741.2546.4.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 13:25:43 +0100 X-Sender: 520088592922-0001@t-dialin.net X-Spam-Status: No, hits=-32.3 required=5.0 tests=IN_REP_TO,PGP_SIGNATURE_2,PLING_QUERY,QUOTED_EMAIL_TEXT, RCVD_IN_NJABL,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN,X_AUTH_WARNING,X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-oivI0zVefETeES/Kh3iE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Mo, 2003-03-24 um 07.47 schrieb Yuriy Tsibizov: > > just out of curiosity: Is someone working in MIDI support for=20 > > Creative EMU10K1 > > based sound cards (aka Soundblaster Live!) ? > Nobody. Our target for nearest future is Audigy/Audigy2 support.=20 >=20 > Yuriy Tsibizov, > http://chibis.persons.gfk.ru/audigy/ Your page says: "0. It works for SB Live! and Audigy. Not for Audigy2."=20 and MIDI is on the TODO-list So, guess there is still some hope for SB Live! MIDI in the not-so-near future. :) Or are the differences between an EMU10K2 (as seen in the dmesg= , I guess Audigy?) and EMU10K1 that big? Regards, Julian Stecklina --=-oivI0zVefETeES/Kh3iE Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fvlENdiNDtZbKrURAtgPAJ9LjP55WEmMHOYqndFXn8E7RRCpYQCeK8kK QonqC8CK2y9OproLZgRjHmQ= =BunX -----END PGP SIGNATURE----- --=-oivI0zVefETeES/Kh3iE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 5: 2:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C1CE37B401 for ; Mon, 24 Mar 2003 05:02:46 -0800 (PST) Received: from ns.gfk.ru (ns.gfk.ru [62.205.179.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D51A643FA3 for ; Mon, 24 Mar 2003 05:02:37 -0800 (PST) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru ([10.0.0.30]) by ns.gfk.ru ([62.205.179.194]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Mon, 24 Mar 2003 16:02:04 +0300 content-class: urn:content-classes:message Subject: RE: MIDI on SB Live! ? MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Mar 2003 16:02:03 +0300 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: MIDI on SB Live! ? Thread-Index: AcLyAP35WwKKvtnnRXqwYRVj7QcquQAAAptg From: "Yuriy Tsibizov" To: "FreeBSD-current" X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-Spam-Status: No, hits=-3.0 required=5.0 tests=PLING_QUERY,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Julian St. [mailto:der_julian@web.de] > Sent: Monday, March 24, 2003 3:26 PM > > > just out of curiosity: Is someone working in MIDI support for=20 > > > Creative EMU10K1 > > > based sound cards (aka Soundblaster Live!) ? > > Nobody. Our target for nearest future is Audigy/Audigy2 support.=20 >=20 > Your page says: > "0. It works for SB Live! and Audigy. Not for Audigy2."=20 > and MIDI is on the TODO-list Yes, MIDI I/O is in my TODO list, but I'm not working on it now. > So, guess there is still some hope for SB Live! MIDI in the=20 > not-so-near future. :)=20 I can't promise that I start to code MIDI I/O in nearest future....=20 Mostly because I don't need it. I don't have any MIDI device at home or = at work.=20 > Or are the differences between an EMU10K2 (as=20 > seen in the dmesg, > I guess Audigy?) and EMU10K1 that big? EMU10K2=3DAudigy MIDI I/O should be almost the same between EMU10Kx cards... But I don't = have any MIDI devices (other than AudigyDrive remote control, it should = act as a MIDI controller on second MIDI port, AFAIK) to check it.=20 Yuriy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 5:35: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12E1437B401 for ; Mon, 24 Mar 2003 05:34:59 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63A5943F3F for ; Mon, 24 Mar 2003 05:34:58 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id C5B34C4F2; Mon, 24 Mar 2003 14:34:57 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 6FA96466F; Mon, 24 Mar 2003 14:34:57 +0100 (CET) Date: Mon, 24 Mar 2003 14:34:57 +0100 From: Christian Brueffer To: Jarkko Santala Cc: Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage Message-ID: <20030324133457.GR36490@unixpages.org> References: <4754.1048431702@critter.freebsd.dk> <20030324093641.I32124@trillian.santala.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nVYOjVWOcH+Ezkzp" Content-Disposition: inline In-Reply-To: <20030324093641.I32124@trillian.santala.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nVYOjVWOcH+Ezkzp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2003 at 09:40:32AM +0200, Jarkko Santala wrote: > On Sun, 23 Mar 2003, Poul-Henning Kamp wrote: >=20 > > In message <20030323143507.GG36490@unixpages.org>, Christian Brueffer w= rites: > > >now that MAKEDEV has been gone for a while, the manpages (alpha and i3= 86) > > >can be nuked as well, right? > > > > Right. >=20 > Although it might be considered dragging old baggage around, would it > make sense to instead of zapping the man page completely write a new one > that would at least give a clue on how things are done these days? >=20 > Otherwise unclued people might just think there's something wrong with > their system because the man page is missing and get even more confused. >=20 > -jake >=20 Well, people are supposed to read UPDATING before updating the system. UPDATING already has an entry about this, so has the handbook, the release notes etc. I think we can't really help people that don't read the recommended documentation. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --nVYOjVWOcH+Ezkzp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+fwmAbHYXjKDtmC0RAhroAKCsGZnj9lrm07tSXTobmJ0wvWYgUwCgpj+0 wy6A+S58MYH+6E8aVDYdCK0= =2Q79 -----END PGP SIGNATURE----- --nVYOjVWOcH+Ezkzp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 5:37:38 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 436B637B404 for ; Mon, 24 Mar 2003 05:37:34 -0800 (PST) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D70343FDD for ; Mon, 24 Mar 2003 05:37:32 -0800 (PST) (envelope-from der_julian@web.de) Received: from fwd09.sul.t-online.de by mailout07.sul.t-online.com with smtp id 18xS8n-0003q3-07; Mon, 24 Mar 2003 14:37:29 +0100 Received: from jmmr.no-ip.com (520088592922-0001@[80.135.46.19]) by fmrl09.sul.t-online.com with esmtp id 18xS8e-1fbJQWC; Mon, 24 Mar 2003 14:37:20 +0100 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h2ODb9dC003444 for ; Mon, 24 Mar 2003 14:37:13 +0100 (CET) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h2ODb5dr003443 for current@freebsd.org; Mon, 24 Mar 2003 14:37:05 +0100 (CET) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f Subject: RE: MIDI on SB Live! ? From: "Julian St." Reply-To: der_julian@web.de To: FreeBSD-current In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-HM+JHSeOYwUsf5oocHj3" Organization: Message-Id: <1048513022.2546.10.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 14:37:04 +0100 X-Sender: 520088592922-0001@t-dialin.net X-Spam-Status: No, hits=-27.4 required=5.0 tests=AWL,IN_REP_TO,PGP_SIGNATURE_2,PLING_QUERY,RCVD_IN_NJABL, REFERENCES,USER_AGENT_XIMIAN,X_AUTH_WARNING,X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-HM+JHSeOYwUsf5oocHj3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Mo, 2003-03-24 um 14.02 schrieb Yuriy Tsibizov: > MIDI I/O should be almost the same between EMU10Kx cards... But I don't h= ave any MIDI devices (other than AudigyDrive remote control, it should act = as a MIDI controller on second MIDI port, AFAIK) to check it.=20 I have several devices to test it on. :) Perhaps until then I have learned enough (sound) driver hacking that I could adapt (with the help of some hardware documentation) your EMU10K2 MIDI code to EMU10K1 boards. It is a bit hard to get started though. Regards, Julian Stecklina --=-HM+JHSeOYwUsf5oocHj3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fwn7NdiNDtZbKrURAmpxAKCA0suW6REgWBiPxbiuDrELmN22xwCglOBi H7sRbWzOEYHpf4+1UAHhyBk= =ONbw -----END PGP SIGNATURE----- --=-HM+JHSeOYwUsf5oocHj3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 7:44:43 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 916BA37B401 for ; Mon, 24 Mar 2003 07:44:41 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C651943F75 for ; Mon, 24 Mar 2003 07:44:40 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2OFgbA7070858 for ; Mon, 24 Mar 2003 08:42:37 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 24 Mar 2003 08:40:55 -0700 (MST) Message-Id: <20030324.084055.02633450.imp@bsdimp.com> To: current@freebsd.org Subject: Linux emulation busted From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had a working Linux world on my laptop. I upgraded my kernel and acroread4 stopped working. Now all I get is: Exited with error code: 0x400e0009. after a whole lot of disk access when I try to run it. This worked on a December kernel for sure. I'm pretty sure it was working as late as a January 15th kernel. It hasn't worked on a March 1st and subsequent kernels. I'm not sure where it broke inbetween. Has anybody else seen this? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8: 5:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D256E37B401 for ; Mon, 24 Mar 2003 08:05:27 -0800 (PST) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EEB943FB1 for ; Mon, 24 Mar 2003 08:05:26 -0800 (PST) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h2OG5O51924339 for ; Mon, 24 Mar 2003 19:05:24 +0300 (MSK) Date: Mon, 24 Mar 2003 19:05:24 +0300 (MSK) From: Maxim Konovalov To: current@freebsd.org Subject: jail(8) setuid-before-exec patch Message-ID: <20030324182942.O51952@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-6.0 required=5.0 tests=PATCH_UNIFIED_DIFF autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Here is a patch which gives to jail(8) an ability to specify a user context before execv(3). Comments/suggestions? P.S. I am aware of bin/44320. Index: Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/jail/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 20 Jul 2001 06:19:52 -0000 1.8 +++ Makefile 21 Mar 2003 14:16:25 -0000 @@ -2,6 +2,7 @@ PROG= jail MAN= jail.8 +LDADD= -lutil WARNS?= 2 Index: jail.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/jail/jail.8,v retrieving revision 1.41 diff -u -r1.41 jail.8 --- jail.8 18 Mar 2003 14:01:02 -0000 1.41 +++ jail.8 24 Mar 2003 15:06:08 -0000 @@ -41,11 +41,28 @@ .Nd "imprison process and its descendants" .Sh SYNOPSIS .Nm +.Op Fl u Ar username .Ar path hostname ip-number command ... .Sh DESCRIPTION The .Nm utility imprisons a process and all future descendants. +.Pp +The options are as follows: +.Bl -tag -width ".Fl u Ar username" +.It Fl u Ar username +The user name as whom the +.Ar command +should run. +.It Ar path +Directory which is to be the root of the prison. +.It Ar hostname +Hostname of the prison. +.It Ar ip-number +IP number assigned to the prison. +.It Ar command +Pathname of the program which is to be executed. +.El .Pp Please see the .Xr jail 2 Index: jail.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/jail/jail.c,v retrieving revision 1.8 diff -u -r1.8 jail.c --- jail.c 22 Apr 2002 13:44:43 -0000 1.8 +++ jail.c 21 Mar 2003 16:15:15 -0000 @@ -10,44 +10,97 @@ * */ -#include +#include #include #include #include #include +#include +#include +#include #include #include #include #include +static void usage(void); + int main(int argc, char **argv) { + login_cap_t *lcap; struct jail j; - int i; + struct passwd *pwd; struct in_addr in; + int ch, groups[NGROUPS], i, ngroups; + char *username; + + username = NULL; + + while ((ch = getopt(argc, argv, "u:")) != -1) + switch (ch) { + case 'u': + username = optarg; + break; + default: + usage(); + break; + } + argc -= optind; + argv += optind; + if (argc < 4) + usage(); - if (argc < 5) - errx(1, "usage: %s path hostname ip-number command ...\n", - argv[0]); - i = chdir(argv[1]); + if (username != NULL) { + pwd = getpwnam(username); + if (pwd == NULL) + err(1, "getpwnam %s", username); + lcap = login_getpwclass(pwd); + if (lcap == NULL) + err(1, "getpwclass failed", username); + ngroups = NGROUPS; + i = getgrouplist(username, pwd->pw_gid, groups, &ngroups); + if (i) + err(1, "getgrouplist %s", username); + } + i = chdir(argv[0]); if (i) - err(1, "chdir %s", argv[1]); + err(1, "chdir %s", argv[0]); memset(&j, 0, sizeof(j)); j.version = 0; - j.path = argv[1]; - j.hostname = argv[2]; - i = inet_aton(argv[3], &in); + j.path = argv[0]; + j.hostname = argv[1]; + i = inet_aton(argv[2], &in); if (!i) errx(1, "Couldn't make sense of ip-number\n"); j.ip_number = ntohl(in.s_addr); i = jail(&j); if (i) err(1, "Imprisonment failed"); - i = execv(argv[4], argv + 4); + if (username != NULL) { + i = setgroups(ngroups, groups); + if (i) + err(1, "setgroups failed"); + i = setgid(pwd->pw_gid); + if (i) + err(1, "setgid failed"); + i = setusercontext(lcap, pwd, pwd->pw_uid, + LOGIN_SETALL & ~LOGIN_SETGROUP); + if (i) + err(1, "setusercontext failed"); + } + i = execv(argv[3], argv + 3); if (i) - err(1, "execv(%s)", argv[4]); + err(1, "execv(%s)", argv[3]); exit (0); +} + +static void +usage(void) +{ + + errx(1, + "Usage: jail [-u username] path hostname ip-number command ..."); } %%% -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8:19:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 429DE37B401 for ; Mon, 24 Mar 2003 08:19:56 -0800 (PST) Received: from insourcery.net (ns1.insourcery.net [198.93.171.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B6F343F93 for ; Mon, 24 Mar 2003 08:19:55 -0800 (PST) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by insourcery.net with local; Mon, 24 Mar 2003 08:19:55 -0800 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by mail.encontacto.net (Horde) with HTTP for ; Mon, 24 Mar 2003 08:19:55 -0800 Message-ID: <1048522795.a09ef482b180e@mail.encontacto.net> X-Priority: 3 (Normal) Date: Mon, 24 Mar 2003 08:19:55 -0800 From: eculp@encontacto.net To: "M. Warner Losh" Cc: "current@freebsd.org" Subject: Re: Linux emulation busted References: <20030324.084055.02633450.imp@bsdimp.com> In-Reply-To: <20030324.084055.02633450.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 X-Spam-Status: No, hits=-10.1 required=5.0 tests=IN_REP_TO,NO_REAL_NAME,PRIORITY_NO_NAME,REFERENCES, USER_AGENT_IMP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mensaje citado por "M. Warner Losh" : | I had a working Linux world on my laptop. I upgraded my kernel and | acroread4 stopped working. Now all I get is: | | Exited with error code: 0x400e0009. | | after a whole lot of disk access when I try to run it. This worked on | a December kernel for sure. I'm pretty sure it was working as late as | a January 15th kernel. It hasn't worked on a March 1st and subsequent | kernels. I'm not sure where it broke inbetween. Has anybody else | seen this? Warner, Both acroread4 and 5 work for me with Mar 21 and Mar 18 kernels with today's world. Acroread5 works on another machine with a Mar 10 kernel and today's world don't seem to have 4 here. Hope that helps, ed ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8:50: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D536137B401 for ; Mon, 24 Mar 2003 08:49:57 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3420243F75 for ; Mon, 24 Mar 2003 08:49:57 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016; Mon, 24 Mar 2003 08:49:55 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7D9E75D07; Mon, 24 Mar 2003 08:49:55 -0800 (PST) To: "M. Warner Losh" Cc: current@freebsd.org Subject: Re: Linux emulation busted In-reply-to: Your message of "Mon, 24 Mar 2003 08:40:55 MST." <20030324.084055.02633450.imp@bsdimp.com> Date: Mon, 24 Mar 2003 08:49:55 -0800 From: "Kevin Oberman" Message-Id: <20030324164955.7D9E75D07@ptavv.es.net> X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Mon, 24 Mar 2003 08:40:55 -0700 (MST) > From: "M. Warner Losh" > Sender: owner-freebsd-current@FreeBSD.ORG > > I had a working Linux world on my laptop. I upgraded my kernel and > acroread4 stopped working. Now all I get is: > > Exited with error code: 0x400e0009. > > after a whole lot of disk access when I try to run it. This worked on > a December kernel for sure. I'm pretty sure it was working as late as > a January 15th kernel. It hasn't worked on a March 1st and subsequent > kernels. I'm not sure where it broke inbetween. Has anybody else > seen this? My kernel was built on March 21 and acroread V4 is running just fine as is Netscape. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8:52:24 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 802BD37B401 for ; Mon, 24 Mar 2003 08:51:51 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB2543F3F for ; Mon, 24 Mar 2003 08:51:50 -0800 (PST) (envelope-from der_julian@web.de) Received: from fwd00.sul.t-online.de by mailout09.sul.t-online.com with smtp id 18xVAr-0003C6-02; Mon, 24 Mar 2003 17:51:49 +0100 Received: from jmmr.no-ip.com (520088592922-0001@[217.225.191.148]) by fmrl00.sul.t-online.com with esmtp id 18xVAk-1hSWv2C; Mon, 24 Mar 2003 17:51:42 +0100 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h2OGpeO9000668 for ; Mon, 24 Mar 2003 17:51:40 +0100 (CET) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h2OGpckp000667 for current@freebsd.org; Mon, 24 Mar 2003 17:51:38 +0100 (CET) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f Subject: file removal impossible? From: "Julian St." Reply-To: der_julian@web.de To: FreeBSD-current Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YNDB5P3dGz79oX782iCB" Organization: Message-Id: <1048524698.597.6.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 17:51:38 +0100 X-Sender: 520088592922-0001@t-dialin.net X-Spam-Status: No, hits=-20.5 required=5.0 tests=AWL,PGP_SIGNATURE_2,RCVD_IN_OSIRUSOFT_COM, USER_AGENT_XIMIAN,X_AUTH_WARNING autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-YNDB5P3dGz79oX782iCB Content-Type: text/plain; charset=ISO8859-1 Content-Transfer-Encoding: quoted-printable Hello, I just discovered some strange behaviour: jmmr# ls -l rcp=20 -r-sr-xr-x 1 root wheel 251444 24 M=E4r 17:18 rcp jmmr# rm -f rcp=20 rm: rcp: Operation not permitted jmmr# chmod u+w rcp chmod: rcp: Operation not permitted Ok, I had some crashes which gave background fsck some work, but this problem still remains after doing normal fsck from single-user mode which found nothing wrong on this ufs2 partition. So, how can I delete this file? (Actually there are 20 or so all scattered over the live_cd directories) Regards, Julian Stecklina --=-YNDB5P3dGz79oX782iCB Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fzeaNdiNDtZbKrURAhHOAJ0b0RLpkM6qvhKCyRrA1UR0byl+xACfckiu D1tekhQloNtgPbY2O+BEkfU= =OdIZ -----END PGP SIGNATURE----- --=-YNDB5P3dGz79oX782iCB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8:56: 4 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA1B537B401 for ; Mon, 24 Mar 2003 08:56:01 -0800 (PST) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39DD743F85 for ; Mon, 24 Mar 2003 08:56:01 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id E58321D0; Mon, 24 Mar 2003 19:55:59 +0300 (MSK) Date: Mon, 24 Mar 2003 19:55:59 +0300 From: "Sergey A. Osokin" To: "Julian St." Cc: FreeBSD-current Subject: Re: file removal impossible? Message-ID: <20030324165559.GK49925@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <1048524698.597.6.camel@jmmr.no-ip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1048524698.597.6.camel@jmmr.no-ip.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-24.3 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 24, 2003 at 05:51:38PM +0100, Julian St. wrote: > I just discovered some strange behaviour: >=20 > jmmr# ls -l rcp=20 > -r-sr-xr-x 1 root wheel 251444 24 M?r 17:18 rcp > jmmr# rm -f rcp=20 > rm: rcp: Operation not permitted > jmmr# chmod u+w rcp > chmod: rcp: Operation not permitted >=20 > Ok, I had some crashes which gave background fsck some work, but this > problem still remains after doing normal fsck from single-user mode > which found nothing wrong on this ufs2 partition. >=20 > So, how can I delete this file? (Actually there are 20 or so all > scattered over the live_cd directories) Its not a bug, its a feature (c) ... Just look at chflags(1). --=20 Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 8:56:38 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D524637B401 for ; Mon, 24 Mar 2003 08:56:33 -0800 (PST) Received: from lightpro1.lightpro.de (lightpro1.lightpro.de [213.133.98.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9F7543FA3 for ; Mon, 24 Mar 2003 08:56:32 -0800 (PST) (envelope-from H@Schmalzbauer.de) Received: from hscpr (ppp-62-245-161-105.mnet-online.de [62.245.161.105]) (authenticated bits=0) by lightpro1.lightpro.de (8.12.3/8.12.3/Debian -4) with ESMTP id h2OGuWw0012607; Mon, 24 Mar 2003 17:56:33 +0100 From: "Harald Schmalzbauer" To: , "FreeBSD-current" Subject: RE: file removal impossible? Date: Mon, 24 Mar 2003 17:56:30 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1048524698.597.6.camel@jmmr.no-ip.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Status: No, hits=-25.2 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,MSGID_GOOD_EXCHANGE, QUOTED_EMAIL_TEXT,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG owner-freebsd-current@FreeBSD.ORG wrote: > Hello, > > I just discovered some strange behaviour: > > jmmr# ls -l rcp > -r-sr-xr-x 1 root wheel 251444 24 Mär 17:18 rcp What's ls -lo telling? Perhaps you need chflags (guessing: noschg) > jmmr# rm -f rcp > rm: rcp: Operation not permitted > jmmr# chmod u+w rcp > chmod: rcp: Operation not permitted > > Ok, I had some crashes which gave background fsck some work, but this > problem still remains after doing normal fsck from single-user mode > which found nothing wrong on this ufs2 partition. > > So, how can I delete this file? (Actually there are 20 or so all > scattered over the live_cd directories) > > Regards, > Julian Stecklina To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 9: 4:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B5D637B401 for ; Mon, 24 Mar 2003 09:04:10 -0800 (PST) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 162B043F3F for ; Mon, 24 Mar 2003 09:04:09 -0800 (PST) (envelope-from der_julian@web.de) Received: from fwd03.sul.t-online.de by mailout04.sul.t-online.com with smtp id 18xVMm-0000Ym-01; Mon, 24 Mar 2003 18:04:08 +0100 Received: from jmmr.no-ip.com (520088592922-0001@[217.225.191.148]) by fmrl03.sul.t-online.com with esmtp id 18xVMg-1mFVjsC; Mon, 24 Mar 2003 18:04:02 +0100 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h2OH3xO9000781 for ; Mon, 24 Mar 2003 18:04:00 +0100 (CET) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h2OH3wNd000780 for current@freebsd.org; Mon, 24 Mar 2003 18:03:58 +0100 (CET) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f Subject: RE: file removal impossible? From: "Julian St." Reply-To: der_julian@web.de To: FreeBSD-current In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-U5iG8WxNAwMOMLKSAsmk" Organization: Message-Id: <1048525438.597.11.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 18:03:58 +0100 X-Sender: 520088592922-0001@t-dialin.net X-Spam-Status: No, hits=-22.5 required=5.0 tests=AWL,IN_REP_TO,PGP_SIGNATURE_2,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,REFERENCES,USER_AGENT_XIMIAN, X_AUTH_WARNING,X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-U5iG8WxNAwMOMLKSAsmk Content-Type: text/plain; charset=ISO8859-1 Content-Transfer-Encoding: quoted-printable Am Mo, 2003-03-24 um 17.56 schrieb Harald Schmalzbauer: > owner-freebsd-current@FreeBSD.ORG wrote: > > Hello, > > > > I just discovered some strange behaviour: > > > > jmmr# ls -l rcp > > -r-sr-xr-x 1 root wheel 251444 24 M=E4r 17:18 rcp >=20 > What's ls -lo telling? >=20 > Perhaps you need chflags (guessing: noschg) Yes, you are right. Won't forget that for a while. ;) Thanks for all the fast responses. And sorry for blaming bg fsck. Regards, Julian Stecklina --=-U5iG8WxNAwMOMLKSAsmk Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fzp9NdiNDtZbKrURAsLBAJ0X0WyKQLiis11NOK57puO3RaaeuQCgh4lK igE8JOcnBOeIJb6EjZD4O8U= =CEhe -----END PGP SIGNATURE----- --=-U5iG8WxNAwMOMLKSAsmk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 9:12:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC2F037B401 for ; Mon, 24 Mar 2003 09:12:19 -0800 (PST) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEFBE43F75 for ; Mon, 24 Mar 2003 09:12:18 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id MUA74016; Mon, 24 Mar 2003 09:12:17 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7DBD85D07; Mon, 24 Mar 2003 09:12:15 -0800 (PST) To: Christian Brueffer Cc: Jarkko Santala , Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage In-reply-to: Your message of "Mon, 24 Mar 2003 14:34:57 +0100." <20030324133457.GR36490@unixpages.org> Date: Mon, 24 Mar 2003 09:12:15 -0800 From: "Kevin Oberman" Message-Id: <20030324171215.7DBD85D07@ptavv.es.net> X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Mon, 24 Mar 2003 14:34:57 +0100 > From: Christian Brueffer > Sender: owner-freebsd-current@FreeBSD.ORG > > On Mon, Mar 24, 2003 at 09:40:32AM +0200, Jarkko Santala wrote: > > On Sun, 23 Mar 2003, Poul-Henning Kamp wrote: > > > > > In message <20030323143507.GG36490@unixpages.org>, Christian Brueffer w= > rites: > > > >now that MAKEDEV has been gone for a while, the manpages (alpha and i3= > 86) > > > >can be nuked as well, right? > > > > > > Right. > > > > Although it might be considered dragging old baggage around, would it > > make sense to instead of zapping the man page completely write a new one > > that would at least give a clue on how things are done these days? > > > > Otherwise unclued people might just think there's something wrong with > > their system because the man page is missing and get even more confused. > > > > -jake > > > > Well, people are supposed to read UPDATING before updating the system. > UPDATING already has an entry about this, so has the handbook, the > release notes etc. > > I think we can't really help people that don't read the recommended > documentation. I think POLA should apply to things like this (even across major releases). MAKEDEV has been around for a long time and most folks are used to it being there. It's simply something that most people assume will be there on a Unix-like system. Yes, people should read UPDATING and, better still, the release notes. But taking the added step of having a simple man page with a pointer to the devfs paper and saying that MAKEDEV is no more there will avoid a lot of confusion. The goal of documentation should not be to make it possible for sophisticated users to use the system. It should make it as easy as possible for all levels of users, including those new to Unix and BSD to use the system. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 9:15:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5AB37B401 for ; Mon, 24 Mar 2003 09:15:24 -0800 (PST) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10FD643F93 for ; Mon, 24 Mar 2003 09:15:24 -0800 (PST) (envelope-from zaks@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id B21BD2438D for ; Mon, 24 Mar 2003 18:15:21 +0100 (CET) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 250) id 4305024399; Mon, 24 Mar 2003 18:15:16 +0100 (CET) Date: Mon, 24 Mar 2003 18:15:16 +0100 From: Slawek Zak To: freebsd-current@freebsd.org Subject: MBuf use size problem on 4.8-RC Message-ID: <20030324171515.GA41416@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by AMaViS (prioris) X-Spam-Status: No, hits=-6.4 required=5.0 tests=USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, netstat -m produces following output on my machine, running 4.8-RC: 21732/22336/96000 mbufs in use (current/peak/max): 21732 mbufs allocated to data 20733/21260/24000 mbuf clusters in use (current/peak/max) 48104 Kbytes allocated to network (8% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines I tracked the percentage of mb_map in use. It reached 70% and then wrapped back to 0%. Why does it happen? A bug? There seems to be a problem with booting up 4.8-RC on a 4GB machine. The kernel reaching multiuser mode produces message about unability of allocating new u_map and panics. This is HyperThreading enabled machine (2+2logical CPUs). Any ideas? Thanks. /S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 9:24:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5725937B401; Mon, 24 Mar 2003 09:24:36 -0800 (PST) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0904A43FA3; Mon, 24 Mar 2003 09:24:26 -0800 (PST) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h2OHOF925798; Mon, 24 Mar 2003 14:24:15 -0300 Message-ID: <3E7F3F3F.8090902@tcoip.com.br> Date: Mon, 24 Mar 2003 14:24:15 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030214 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: CURRENT , Robert Watson Subject: IP stack problem -- possibly mac-related Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.8 required=5.0 tests=USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The messages below are from today's kernel + mac_mls and mac_biba kld-loaded from loader(8). None of the warning appear if these modules are not loaded (I haven't tried not loading one and then the other, but I can do it on request) fxp0: flags=8843 mtu 1500 inet 10.0.2.6 netmask 0xffff0000 broadcast 10.0.255.255 ether 00:02:b3:ae:0d:ea media: Ethernet autoselect (100baseTX ) status: active maclabel biba/high(high-high),mls/low(low-low) lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 maclabel biba/equal(equal-equal),mls/equal(equal-equal) malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex radix node head r = 1 (0xc262527c) locked @ /usr/src/sys/net/route.c:549 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex radix node head r = 1 (0xc262527c) locked @ /usr/src/sys/net/route.c:549 add net default: gateway 10.0.7.21 ... Starting ntpdate. malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a6ec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a6ec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a608) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a608) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a524) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a524) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a440) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a440) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a35c) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a35c) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a278) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a278) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib ... Starting sendmail. malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a998) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc280a998) locked @ /usr/src/sys/netinet/udp_usrreq.c:1034 exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ /usr/src/sys/netinet/udp_usrreq.c:1027 Initial i386 initialization:. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca TCO Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net No one knows what he can do till he tries. -- Publilius Syrus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 9:35:14 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 264B637B401 for ; Mon, 24 Mar 2003 09:35:12 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA4F43F75 for ; Mon, 24 Mar 2003 09:35:11 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (2uz7vnom7gwyohqs@dsl-133-253.aei.ca [66.36.133.253]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h2OHZAN08033 for ; Mon, 24 Mar 2003 12:35:10 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 6884223E for ; Mon, 24 Mar 2003 12:35:09 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 24 Mar 2003 12:35:10 -0500 Date: Mon, 24 Mar 2003 12:35:10 -0500 From: The Anarcat To: freebsd-current@freebsd.org Subject: playing mp3s and burning a cd Message-ID: <20030324173510.GA831@lenny.anarcat.ath.cx> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-12.7 required=5.0 tests=PGP_SIGNATURE_2,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm running 5.0-release, so I'm not sure this is the proper forum, but I'm trying my luck anyways. I used to listen to MP3s (using xmms) while burning CDs (using cdrecord) and it used to work fine on -stable.=20 Now on 5.0-release, the music gets *sloooow* as soon as the massive IO gets on. I presume it's related to the interrupt problems the current branch is generally having.=20 Anyone else seeing this? Should I upgrade to -current? A. --=20 Seul a un caract=E8re scientifique ce qui peut =EAtre r=E9fut=E9. Ce qui n'= est pas r=E9futable rel=E8ve de la magie ou de la mystique. - Popper, Karl --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f0HOttcWHAnWiGcRAq+1AJ9f4sXOIcfuriKrdCVnSMUEutm8SgCggvX7 DXpm8SBEoPnkxHyhqNJalDA= =PYiA -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 10: 8:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D765937B401 for ; Mon, 24 Mar 2003 10:08:43 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3870B43F75 for ; Mon, 24 Mar 2003 10:08:43 -0800 (PST) (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.8/8.12.8) with SMTP id h2OI8cjK038678; Mon, 24 Mar 2003 13:08:38 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 24 Mar 2003 13:08:37 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Daniel C. Sobral" Cc: CURRENT Subject: Re: IP stack problem -- possibly mac-related In-Reply-To: <3E7F3F3F.8090902@tcoip.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-25.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Mar 2003, Daniel C. Sobral wrote: > The messages below are from today's kernel + mac_mls and mac_biba > kld-loaded from loader(8). None of the warning appear if these modules > are not loaded (I haven't tried not loading one and then the other, but > I can do it on request) ... > malloc() of "128" with the following non-sleepablelocks held: > exclusive sleep mutex inp r = 0 (0xc280a6ec) locked @ > /usr/src/sys/netinet/udp_usrreq.c:1034 > exclusive sleep mutex udp r = 0 (0xc035eeec) locked @ > /usr/src/sys/netinet/udp_usrreq.c:1027 Hmm. I think there's a witness flag to generate stack traces when giving out these sorts of warnings -- debug.witness_trace I think. Can you try turning that on in loader.conf and see if we get some additional information? The only MAC call in udp_output() is mac_create_mbuf_from_socket(), which isn't supposed to result in memory allocation. That should only happen when the mbuf itself is allocated. A stack trace might narrow down the source of the problem. Thanks, 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-current" in the body of the message From owner-freebsd-current Mon Mar 24 10:14:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E87BC37B405 for ; Mon, 24 Mar 2003 10:14:53 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBC4343FAF for ; Mon, 24 Mar 2003 10:14:52 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id 058D8C1DC; Mon, 24 Mar 2003 19:14:52 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 15087466F; Mon, 24 Mar 2003 19:14:50 +0100 (CET) Date: Mon, 24 Mar 2003 19:14:50 +0100 From: Christian Brueffer To: Kevin Oberman Cc: Jarkko Santala , Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage Message-ID: <20030324181450.GU36490@unixpages.org> References: <20030324133457.GR36490@unixpages.org> <20030324171215.7DBD85D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IfZ+tgy+ooJOsAAy" Content-Disposition: inline In-Reply-To: <20030324171215.7DBD85D07@ptavv.es.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --IfZ+tgy+ooJOsAAy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2003 at 09:12:15AM -0800, Kevin Oberman wrote: > > Date: Mon, 24 Mar 2003 14:34:57 +0100 > > From: Christian Brueffer > > Sender: owner-freebsd-current@FreeBSD.ORG > >=20 > > On Mon, Mar 24, 2003 at 09:40:32AM +0200, Jarkko Santala wrote: > > > On Sun, 23 Mar 2003, Poul-Henning Kamp wrote: > > > > > > > In message <20030323143507.GG36490@unixpages.org>, Christian Brueff= er w=3D > > rites: > > > > >now that MAKEDEV has been gone for a while, the manpages (alpha an= d i3=3D > > 86) > > > > >can be nuked as well, right? > > > > > > > > Right. > > > > > > Although it might be considered dragging old baggage around, would it > > > make sense to instead of zapping the man page completely write a new = one > > > that would at least give a clue on how things are done these days? > > > > > > Otherwise unclued people might just think there's something wrong with > > > their system because the man page is missing and get even more confus= ed. > > > > > > -jake > > > > >=20 > > Well, people are supposed to read UPDATING before updating the system. > > UPDATING already has an entry about this, so has the handbook, the > > release notes etc. > >=20 > > I think we can't really help people that don't read the recommended > > documentation. >=20 > I think POLA should apply to things like this (even across major > releases). MAKEDEV has been around for a long time and most folks are > used to it being there. It's simply something that most people assume > will be there on a Unix-like system. >=20 > Yes, people should read UPDATING and, better still, the release > notes. But taking the added step of having a simple man page with a > pointer to the devfs paper and saying that MAKEDEV is no more there will > avoid a lot of confusion.=20 >=20 > The goal of documentation should not be to make it possible for > sophisticated users to use the system. It should make it as > easy as possible for all levels of users, including those new to Unix > and BSD to use the system. >=20 > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: oberman@es.net Phone: +1 510 486-8634 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 >=20 I'll write a small manpage this evening which says that MAKEDEV is gone now with a short summary of what devfs does. Does that resolve your worries? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --IfZ+tgy+ooJOsAAy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f0sZbHYXjKDtmC0RArhdAJ9s5arshO90ucl2cdn4HMk6K+WkCACg9/CP Xugh3BEKYLshCQEYtcEh4Ms= =GnuT -----END PGP SIGNATURE----- --IfZ+tgy+ooJOsAAy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 10:30: 5 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3544137B401 for ; Mon, 24 Mar 2003 10:30:02 -0800 (PST) Received: from trillian.santala.org (ip212-226-173-33.adsl.kpnqwest.fi [212.226.173.33]) by mx1.FreeBSD.org (Postfix) with SMTP id F30A343F85 for ; Mon, 24 Mar 2003 10:30:00 -0800 (PST) (envelope-from jake@iki.fi) Received: (qmail 535 invoked by uid 11053); 24 Mar 2003 18:29:59 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Mar 2003 18:29:59 -0000 Date: Mon, 24 Mar 2003 20:29:59 +0200 (EET) From: Jarkko Santala X-X-Sender: jake@trillian.santala.org To: Christian Brueffer Cc: Kevin Oberman , Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: MAKEDEV(8) manpage In-Reply-To: <20030324181450.GU36490@unixpages.org> Message-ID: <20030324202245.D401@trillian.santala.org> References: <20030324133457.GR36490@unixpages.org> <20030324171215.7DBD85D07@ptavv.es.net> <20030324181450.GU36490@unixpages.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-24.5 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Mar 2003, Christian Brueffer wrote: > On Mon, Mar 24, 2003 at 09:12:15AM -0800, Kevin Oberman wrote: > > > Date: Mon, 24 Mar 2003 14:34:57 +0100 > > > From: Christian Brueffer > > > Sender: owner-freebsd-current@FreeBSD.ORG > > > > > > On Mon, Mar 24, 2003 at 09:40:32AM +0200, Jarkko Santala wrote: > > > > On Sun, 23 Mar 2003, Poul-Henning Kamp wrote: > > > > > > > > > In message <20030323143507.GG36490@unixpages.org>, Christian Brueffer w= > > > rites: > > > > > >now that MAKEDEV has been gone for a while, the manpages (alpha and i3= > > > 86) > > > > > >can be nuked as well, right? > > > > > > > > > > Right. > > > > > > > > Although it might be considered dragging old baggage around, would it > > > > make sense to instead of zapping the man page completely write a new one > > > > that would at least give a clue on how things are done these days? > > > > > > > > Otherwise unclued people might just think there's something wrong with > > > > their system because the man page is missing and get even more confused. > > > > > > Well, people are supposed to read UPDATING before updating the system. > > > UPDATING already has an entry about this, so has the handbook, the > > > release notes etc. > > > > > > I think we can't really help people that don't read the recommended > > > documentation. > > > > I think POLA should apply to things like this (even across major > > releases). MAKEDEV has been around for a long time and most folks are > > used to it being there. It's simply something that most people assume > > will be there on a Unix-like system. > > > > Yes, people should read UPDATING and, better still, the release > > notes. But taking the added step of having a simple man page with a > > pointer to the devfs paper and saying that MAKEDEV is no more there will > > avoid a lot of confusion. > > > > The goal of documentation should not be to make it possible for > > sophisticated users to use the system. It should make it as > > easy as possible for all levels of users, including those new to Unix > > and BSD to use the system. > > I'll write a small manpage this evening which says that MAKEDEV is gone now > with a short summary of what devfs does. > Does that resolve your worries? Exactly what I had in mind, so sounds good to me. ;) You probably want to make it as generic as possible, so that keeping it up-to-date doesn't become a burden in the future. I'd hate to create any extra maintenance work to anyone, no matter how small. Thanks, -jake -- Jarkko Santala http://www.iki.fi/~jake/ System Administrator 2001:670:83:f08::/64 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 10:45:49 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A15537B401 for ; Mon, 24 Mar 2003 10:45:45 -0800 (PST) Received: from wabakimi.chat.carleton.ca (wabakimi.chat.carleton.ca [134.117.1.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C0243F3F for ; Mon, 24 Mar 2003 10:45:43 -0800 (PST) (envelope-from creyenga@connectmail.carleton.ca) Received: from fireball (resnet-93-187.cavern.carleton.ca [134.117.93.187]) by wabakimi.chat.carleton.ca (8.12.6/8.12.6) with SMTP id h2OIjVsV002319; Mon, 24 Mar 2003 13:45:33 -0500 (EST) Message-ID: <000b01c2f235$896d10d0$0200000a@fireball> From: "Craig Reyenga" To: "The Anarcat" Cc: References: <20030324173510.GA831@lenny.anarcat.ath.cx> Subject: Re: playing mp3s and burning a cd Date: Mon, 24 Mar 2003 13:45:26 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=-6.6 required=5.0 tests=REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I see this too: when I listen to tunes and untar a file, the music plays at about .7x the speed, and sounds kind of "robotic", even with xmms niced to -20, and tar/gzip at +20. I am running 5.0-CURRENT-20030320-JPSNAP, so I doubt an 'upgrade' is really going to do anything for you at this time. -Craig From: "The Anarcat" >Subject: playing mp3s and burning a cd >I'm running 5.0-release, so I'm not sure this is the proper forum, but >I'm trying my luck anyways. >I used to listen to MP3s (using xmms) while burning CDs (using >cdrecord) and it used to work fine on -stable. >Now on 5.0-release, the music gets *sloooow* as soon as the massive IO >gets on. I presume it's related to the interrupt problems the current >branch is generally having. >Anyone else seeing this? Should I upgrade to -current? >A. >-- >Seul a un caractère scientifique ce qui peut être réfuté. Ce qui n'est >pas réfutable relève de la magie ou de la mystique. > - Popper, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 10:53:56 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5A2937B401 for ; Mon, 24 Mar 2003 10:53:52 -0800 (PST) Received: from hyde.ssec.wisc.edu (hyde.ssec.wisc.edu [128.104.109.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99E9943FB1 for ; Mon, 24 Mar 2003 10:53:51 -0800 (PST) (envelope-from dglo@hyde.ssec.wisc.edu) Received: from hyde.ssec.wisc.edu (localhost [127.0.0.1]) by hyde.ssec.wisc.edu (8.11.6/8.11.6) with ESMTP id h2OIriN08063; Mon, 24 Mar 2003 12:53:44 -0600 (CST) Message-Id: <200303241853.h2OIriN08063@hyde.ssec.wisc.edu> X-Mailer: exmh version 2.6.2 03/12/2003 with nmh-1.0.4 To: "Alastair G. Hogge" Cc: current@FreeBSD.ORG, "Daniel O'Connor" Subject: Re: Followup to: Trouble building XFree86-4-Clients. In-Reply-To: Message from "Alastair G. Hogge" of "Sat, 22 Mar 2003 22:45:14 +1100." <200303222245.14017.agh@tpg.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Mar 2003 12:53:44 -0600 From: dglo@ssec.wisc.edu X-Spam-Status: No, hits=-2.6 required=5.0 tests=IN_REP_TO,NO_REAL_NAME autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Well it was Xft. > > I feel stupid, sorry for wasting peoples time. > > Anyways I think I recall what happened, during the portupgrade I was playing > around with X and caused a system crash. This may have happened during the > Xft removal/upgrade stage of portupgrade. I had the same problem when upgrading my XF86 to 4.3.0 over the weekend. XFt is a prerequisite for a bunch of stuff, so it was installed on my machine along with XFree86-4.2.0. However, XFree86-4.2.0 had already installed its own version of libXft and the include files, so the Xft port installed on top of the XFree86-4.2.0 versions of those files. When I tried to upgrade to XFree86-4.3.0, *something* blew away the Xft files, because 'portversion' thought that the Xft package was still installed, even though the actual library and include files were missing. I'm guessing that when the XFree86-4.2.0 port is removed, it also removes the new Xft files. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11: 2:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11C0F37B401 for ; Mon, 24 Mar 2003 11:02:34 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F69143FF5 for ; Mon, 24 Mar 2003 11:02:09 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (nc2w7ju0j4khp0lu@dsl-133-253.aei.ca [66.36.133.253]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h2OJ1qN02820; Mon, 24 Mar 2003 14:01:52 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id DA7A023E; Mon, 24 Mar 2003 14:01:51 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 24 Mar 2003 14:01:53 -0500 Date: Mon, 24 Mar 2003 14:01:53 -0500 From: The Anarcat To: Craig Reyenga Cc: freebsd-current@freebsd.org Subject: Re: playing mp3s and burning a cd Message-ID: <20030324190153.GE831@lenny.anarcat.ath.cx> Mail-Followup-To: Craig Reyenga , freebsd-current@freebsd.org References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wTWi5aaYRw9ix9vO" Content-Disposition: inline In-Reply-To: <000b01c2f235$896d10d0$0200000a@fireball> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-29.9 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --wTWi5aaYRw9ix9vO Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Should a PR be filed or some QA team contacted to make sure this problem doesn't stay alive in 5.2? :) A. On Mon Mar 24, 2003 at 01:45:26PM -0500, Craig Reyenga wrote: > I see this too: when I listen to tunes and untar a file, the music plays = at > about .7x the speed, and sounds kind of "robotic", even with xmms niced > to -20, and tar/gzip at +20. I am running 5.0-CURRENT-20030320-JPSNAP, so= I > doubt an 'upgrade' is really going to do anything for you at this time. >=20 > -Craig >=20 > From: "The Anarcat" > >Subject: playing mp3s and burning a cd > >I'm running 5.0-release, so I'm not sure this is the proper forum, but > >I'm trying my luck anyways. >=20 > >I used to listen to MP3s (using xmms) while burning CDs (using > >cdrecord) and it used to work fine on -stable. >=20 > >Now on 5.0-release, the music gets *sloooow* as soon as the massive IO > >gets on. I presume it's related to the interrupt problems the current > >branch is generally having. >=20 > >Anyone else seeing this? Should I upgrade to -current? >=20 > >A. >=20 > >-- > >Seul a un caract=E8re scientifique ce qui peut =EAtre r=E9fut=E9. Ce qui= n'est > >pas r=E9futable rel=E8ve de la magie ou de la mystique. > > - Popper, Karl >=20 >=20 >=20 >=20 --=20 Si les triangles avaient un Dieu, ils lui donneraient trois c=F4t=E9s. - Montesquieu, Lettres persanes --wTWi5aaYRw9ix9vO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f1YhttcWHAnWiGcRArydAKCdIRQZoMRfguPqb/RmAj95306DnQCeI61z I41gePYf7oJpLrxoHXSgqcs= =ocym -----END PGP SIGNATURE----- --wTWi5aaYRw9ix9vO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:11:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8DF837B401 for ; Mon, 24 Mar 2003 11:11:11 -0800 (PST) Received: from calis.blacksun.org (calis.blacksun.org [216.254.108.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD2043FA3 for ; Mon, 24 Mar 2003 11:11:11 -0800 (PST) (envelope-from don@calis.blacksun.org) Received: by calis.blacksun.org (Postfix, from userid 1001) id 881801702C; Mon, 24 Mar 2003 14:14:48 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by calis.blacksun.org (Postfix) with ESMTP id 86B0417021; Mon, 24 Mar 2003 14:14:48 -0500 (EST) Date: Mon, 24 Mar 2003 14:14:48 -0500 (EST) From: Don To: The Anarcat Cc: Craig Reyenga , freebsd-current@freebsd.org Subject: Re: playing mp3s and burning a cd In-Reply-To: <20030324190153.GE831@lenny.anarcat.ath.cx> Message-ID: <20030324141312.M76018@calis.blacksun.org> References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> <20030324190153.GE831@lenny.anarcat.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-19.6 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Should a PR be filed or some QA team contacted to make sure this > problem doesn't stay alive in 5.2? :) This isn't, by chance, a problem with your setting for the sysctl "hw.ata.atapi_dma" is it? -Don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:23:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED77A37B401 for ; Mon, 24 Mar 2003 11:22:38 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0489F43F85 for ; Mon, 24 Mar 2003 11:22:38 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (gb9odk8bw6zva5lk@dsl-133-253.aei.ca [66.36.133.253]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h2OJMQN16292; Mon, 24 Mar 2003 14:22:26 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id E958623E; Mon, 24 Mar 2003 14:22:25 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 24 Mar 2003 14:22:27 -0500 Date: Mon, 24 Mar 2003 14:22:27 -0500 From: The Anarcat To: Don Cc: Craig Reyenga , freebsd-current@freebsd.org Subject: Re: playing mp3s and burning a cd Message-ID: <20030324192227.GG831@lenny.anarcat.ath.cx> Mail-Followup-To: Don , Craig Reyenga , freebsd-current@freebsd.org References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> <20030324190153.GE831@lenny.anarcat.ath.cx> <20030324141312.M76018@calis.blacksun.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0z5c7mBtSy1wdr4F" Content-Disposition: inline In-Reply-To: <20030324141312.M76018@calis.blacksun.org> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0z5c7mBtSy1wdr4F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon Mar 24, 2003 at 02:14:48PM -0500, Don wrote: > > Should a PR be filed or some QA team contacted to make sure this > > problem doesn't stay alive in 5.2? :) > This isn't, by chance, a problem with your setting for the > sysctl "hw.ata.atapi_dma" is it? No idea. anarcat@lenny[~]% sysctl hw.ata.atapi_dma hw.ata.atapi_dma: 0 anarcat@lenny[~]%=20 should I enable it? I guess I'm out to burn another CD and just test that..=20 A. --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --0z5c7mBtSy1wdr4F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f1ryttcWHAnWiGcRAi4eAJ9piadRLmZMrNTQdQnJnunLlNhrxACgghff /2pLAl7IuefccoQml43o+Q4= =ie36 -----END PGP SIGNATURE----- --0z5c7mBtSy1wdr4F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:26: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF3537B401 for ; Mon, 24 Mar 2003 11:25:53 -0800 (PST) Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F7D943F93 for ; Mon, 24 Mar 2003 11:25:53 -0800 (PST) (envelope-from fluid@sfmidimafia.com) Received: from sfmidimafia.com (stalwart.codysbooks.COM [209.133.54.175]) by neptune.he.net (8.8.6/8.8.2) with ESMTP id LAA26015 for ; Mon, 24 Mar 2003 11:25:53 -0800 Message-ID: <3E7F5BD9.7050604@sfmidimafia.com> Date: Mon, 24 Mar 2003 11:26:17 -0800 From: "Scott R." Organization: SFMM User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: Re: "READ_BIG command timeout" on CDROM drive References: <28.358293be.2bade7c4@aol.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-18.9 required=5.0 tests=EMAIL_ATTRIBUTION,REFERENCES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG BelletJr@aol.com wrote: > Hi all! > > When I read cdroms with fbsd 5.0, the following message appears in > the console very often (it seems to happen with every cdrom I try): > >> acd0: READ_BIG command timeout - resetting ata0: resetting devices >> .. done > > > It is repeated indefinitely and I can't kill -9 the process that is trying to > read the cdrom. "umount -f /cdrom" also gets stuck and doesn't write > any error messages. > > The driver in use is cd9660: RockRidge Extension. > > I have to reboot to have access to the cdrom drive again. And > besides, the > shutdown process does not end every time when the system is in this > state. > > Is there a means to have access to the cdrom drive again without rebooting? > I have not seen any bug report for this problem; am I right? This is just a "me too" but the exact same thing happens to me and I still have not found a way to fix it. I searched the google archives and the FreeBSD mailing list archives to no avail. I posted the problem here and received no solutions. I cannot read audio off the disc and if I mount a data CD, it mounts okay, but will not umount without hanging and I also have to reboot the system to get access to the drive at all. -Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:28:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5796237B401; Mon, 24 Mar 2003 11:28:45 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3083543F85; Mon, 24 Mar 2003 11:28:44 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id 8C2A4A91E; Mon, 24 Mar 2003 20:28:43 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id ED437466F; Mon, 24 Mar 2003 20:28:38 +0100 (CET) Date: Mon, 24 Mar 2003 20:28:38 +0100 From: Christian Brueffer To: Robert Watson Cc: "Daniel C. Sobral" , CURRENT Subject: Re: IP stack problem -- possibly mac-related Message-ID: <20030324192838.GX36490@unixpages.org> References: <3E7F3F3F.8090902@tcoip.com.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9xA8aadJAx1hWuKz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --9xA8aadJAx1hWuKz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2003 at 01:08:37PM -0500, Robert Watson wrote: >=20 > On Mon, 24 Mar 2003, Daniel C. Sobral wrote: >=20 > > The messages below are from today's kernel + mac_mls and mac_biba > > kld-loaded from loader(8). None of the warning appear if these modules > > are not loaded (I haven't tried not loading one and then the other, but > > I can do it on request)=20 > ... > > malloc() of "128" with the following non-sleepablelocks held: > > exclusive sleep mutex inp r =3D 0 (0xc280a6ec) locked @=20 > > /usr/src/sys/netinet/udp_usrreq.c:1034 > > exclusive sleep mutex udp r =3D 0 (0xc035eeec) locked @=20 > > /usr/src/sys/netinet/udp_usrreq.c:1027 >=20 > Hmm. I think there's a witness flag to generate stack traces when giving > out these sorts of warnings -- debug.witness_trace I think. Can you try > turning that on in loader.conf and see if we get some additional > information? The only MAC call in udp_output() is > mac_create_mbuf_from_socket(), which isn't supposed to result in memory > allocation. That should only happen when the mbuf itself is allocated. A > stack trace might narrow down the source of the problem. >=20 I get this too with mac_biba in kernel or loaded as a module. Message at bootup: malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex radix node head r =3D 1 (0xc268377c) locked @ /usr/sr= c/sys/n et/route.c:549 Messages on other network operations: malloc() of "128" with the following non-sleepablelocks held: exclusive sleep mutex inp r =3D 0 (0xc27a435c) locked @ /usr/src/sys/netine= t/udp_u srreq.c:1034 - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --9xA8aadJAx1hWuKz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f1xmbHYXjKDtmC0RAmtjAJ9Xi3XRNciEAovbX+FDmFfJz/dMOACg1JOj duSt99Hvy3uqKq67BPRLR4g= =u5qe -----END PGP SIGNATURE----- --9xA8aadJAx1hWuKz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:33: 9 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4CE837B41E for ; Mon, 24 Mar 2003 11:33:04 -0800 (PST) Received: from MX2.estpak.ee (ld3.estpak.ee [194.126.101.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36DC343F75 for ; Mon, 24 Mar 2003 11:33:03 -0800 (PST) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-35-51-dsl.mus.estpak.ee [80.235.35.51]) by MX2.estpak.ee (Postfix) with ESMTP id 9F031736C3; Mon, 24 Mar 2003 21:31:35 +0200 (EET) Received: (from vallo@localhost) by kevad.internal (8.12.8/8.12.8/Submit) id h2OJX0oC010421; Mon, 24 Mar 2003 21:33:00 +0200 (EET) (envelope-from vallo) Date: Mon, 24 Mar 2003 21:33:00 +0200 From: Vallo Kallaste To: The Anarcat Cc: freebsd-current@freebsd.org Subject: Re: playing mp3s and burning a cd Message-ID: <20030324193300.GA30625@kevad.internal> Reply-To: kalts@estpak.ee References: <20030324173510.GA831@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030324173510.GA831@lenny.anarcat.ath.cx> User-Agent: Mutt/1.5.3i-ja.1 X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 24, 2003 at 12:35:10PM -0500, The Anarcat wrote: > I'm running 5.0-release, so I'm not sure this is the proper forum, but > I'm trying my luck anyways. > > I used to listen to MP3s (using xmms) while burning CDs (using > cdrecord) and it used to work fine on -stable. > > Now on 5.0-release, the music gets *sloooow* as soon as the massive IO > gets on. I presume it's related to the interrupt problems the current > branch is generally having. > > Anyone else seeing this? Should I upgrade to -current? Current isn't better. This is a long time problem and is most noticeable when you "downgrade" from -current to -stable... it's unforgettable feeling :-P I don't expect it will be fixed in the near future, because it's been so over a year now. Current has it's weak points and this is only one of the regressions. -- Vallo Kallaste To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:36: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E02A37B401 for ; Mon, 24 Mar 2003 11:36:01 -0800 (PST) Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F1A243F3F for ; Mon, 24 Mar 2003 11:36:01 -0800 (PST) (envelope-from fluid@sfmidimafia.com) Received: from sfmidimafia.com (stalwart.codysbooks.COM [209.133.54.175]) by neptune.he.net (8.8.6/8.8.2) with ESMTP id LAA27963; Mon, 24 Mar 2003 11:35:27 -0800 Message-ID: <3E7F5E16.5080908@sfmidimafia.com> Date: Mon, 24 Mar 2003 11:35:50 -0800 From: "Scott R." Organization: SFMM User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: The Anarcat Cc: freebsd-current@FreeBSD.ORG Subject: Re: playing mp3s and burning a cd References: <20030324173510.GA831@lenny.anarcat.ath.cx> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-23.8 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Anarcat wrote: > I'm running 5.0-release, so I'm not sure this is the proper forum, but > I'm trying my luck anyways. > > I used to listen to MP3s (using xmms) while burning CDs (using > cdrecord) and it used to work fine on -stable. > > Now on 5.0-release, the music gets *sloooow* as soon as the massive IO > gets on. I presume it's related to the interrupt problems the current > branch is generally having. > > Anyone else seeing this? Should I upgrade to -current? Yes, I'm seeing this as well. More specifically, whenever there is heavy disk I/O, mp3 playback gets that slow, robotic quality you describe. It's really irritating. It doesn't seem to be as bad in current as it was in 5.0-RELEASE, but it's still a bit of a nuissance. I'm running current from March 7. -Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:39:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7984537B401; Mon, 24 Mar 2003 11:39:37 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BCB143F75; Mon, 24 Mar 2003 11:39:36 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id D2863A91E; Mon, 24 Mar 2003 20:39:35 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 67B95466F; Mon, 24 Mar 2003 20:39:35 +0100 (CET) Date: Mon, 24 Mar 2003 20:39:35 +0100 From: Christian Brueffer To: Robert Watson Cc: "Daniel C. Sobral" , CURRENT Subject: Re: IP stack problem -- possibly mac-related Message-ID: <20030324193935.GY36490@unixpages.org> References: <3E7F3F3F.8090902@tcoip.com.br> <20030324192838.GX36490@unixpages.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tuYRN1zEaS85jg/Y" Content-Disposition: inline In-Reply-To: <20030324192838.GX36490@unixpages.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D X-Spam-Status: No, hits=-38.8 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tuYRN1zEaS85jg/Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2003 at 08:28:38PM +0100, Christian Brueffer wrote: > On Mon, Mar 24, 2003 at 01:08:37PM -0500, Robert Watson wrote: > >=20 > > On Mon, 24 Mar 2003, Daniel C. Sobral wrote: > >=20 > > > The messages below are from today's kernel + mac_mls and mac_biba > > > kld-loaded from loader(8). None of the warning appear if these modules > > > are not loaded (I haven't tried not loading one and then the other, b= ut > > > I can do it on request)=20 > > ... > > > malloc() of "128" with the following non-sleepablelocks held: > > > exclusive sleep mutex inp r =3D 0 (0xc280a6ec) locked @=20 > > > /usr/src/sys/netinet/udp_usrreq.c:1034 > > > exclusive sleep mutex udp r =3D 0 (0xc035eeec) locked @=20 > > > /usr/src/sys/netinet/udp_usrreq.c:1027 > >=20 > > Hmm. I think there's a witness flag to generate stack traces when givi= ng > > out these sorts of warnings -- debug.witness_trace I think. Can you try > > turning that on in loader.conf and see if we get some additional > > information? The only MAC call in udp_output() is > > mac_create_mbuf_from_socket(), which isn't supposed to result in memory > > allocation. That should only happen when the mbuf itself is allocated.= A > > stack trace might narrow down the source of the problem. > >=20 >=20 > I get this too with mac_biba in kernel or loaded as a module. >=20 > Message at bootup: >=20 > malloc() of "128" with the following non-sleepablelocks held: > exclusive sleep mutex radix node head r =3D 1 (0xc268377c) locked @ /usr/= src/sys/n > et/route.c:549 >=20 > Messages on other network operations: >=20 > malloc() of "128" with the following non-sleepablelocks held: > exclusive sleep mutex inp r =3D 0 (0xc27a435c) locked @ /usr/src/sys/neti= net/udp_u > srreq.c:1034 >=20 FYI, debug.witness_trace is set (seems to default to 1). Any other ways to= get more info out of this? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --tuYRN1zEaS85jg/Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+f172bHYXjKDtmC0RAtAsAJ96WlVCXM9DJh/XZxjAq5MmTEi7hgCgxS2D cSyqRGrXXJmDC9CgRlGtRXY= =EBo+ -----END PGP SIGNATURE----- --tuYRN1zEaS85jg/Y-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 24 11:43:47 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4BEA37B401 for ; Mon, 24 Mar 2003 11:43:39 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 745F243F3F for ; Mon, 24 Mar 2003 11:43:38 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (4mdelk9hn05l74uc@dsl-133-253.aei.ca [66.36.133.253]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h2OJhUN29780; Mon, 24 Mar 2003 14:43:30 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 46BC623E; Mon, 24 Mar 2003 14:43:29 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 24 Mar 2003 14:43:30 -0500 Date: Mon, 24 Mar 2003 14:43:30 -0500 From: The Anarcat To: Don Cc: Craig Reyenga , freebsd-current@freebsd.org Subject: Solved??? Re: playing mp3s and burning a cd Message-ID: <20030324194330.GA681@lenny.anarcat.ath.cx> Mail-Followup-To: Don , Craig Reyenga , freebsd-current@freebsd.org References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> <20030324190153.GE831@lenny.anarcat.ath.cx> <20030324141312.M76018@calis.blacksun.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20030324141312.M76018@calis.blacksun.org> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.9 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,HTML_00_10,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon Mar 24, 2003 at 02:14:48PM -0500, Don wrote: > > Should a PR be filed or some QA team contacted to make sure this > > problem doesn't stay alive in 5.2? :) > This isn't, by chance, a problem with your setting for the > sysctl "hw.ata.atapi_dma" is it? How extraordinarly cute! This solves it! I'm currently listening to Me, Mom and Morgentaler and burning a 4x CD without any slowdown, this is great. So I guess a "workaround" is to toggle DMA for my ATAPI bus. Indeed, the burner is IDE and should be working on DMA mode to get optimal performance. The thing is that atapicam hides the DMA/PIO magic from the usual boot messagesand there's therefore no way to see wether the device is in DMA mode unless you compile in both cd0 and acd0 which I heard isn't recommended... A. PS: what's the proper way to enable ATAPI DMA in the loader.conf file? I don't see any flag WRT that there.. I'm tempted to add: set hw.ata.atapi_cam=3D1 anywhere there... Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-RELEASE #2: Fri Mar 7 15:05:32 EST 2003 anarcat@lenny.anarcat.ath.cx:/usr/src/sys/i386/compile/LENNII Preloaded elf kernel "/boot/kernel/kernel" at 0xc06ea000. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06ea0a8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06ea158. Preloaded elf module "/boot/kernel/radeon.ko" at 0xc06ea204. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06ea2b0. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1008992834 Hz CPU: AMD Duron(tm) Processor (1008.99-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x670 Stepping =3D 0 Features=3D0x383f9ff AMD Features=3D0xffffffffc0440000 real memory =3D 1207877632 (1151 MB) avail memory =3D 1166782464 (1112 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 9 entries at 0xc00f1750 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe6000000-0xe7f= fffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: port 0xd800-0xd8ff mem 0xd7000000-0xd700ffff= ,0xd8000000-0xdfffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe6000000 32MB info: [drm] Initialized radeon 1.1.1 20010405 on minor 0 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on= pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 9 at device 4.2 o= n pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: Color FlatbedScanner 22, rev 1.00/1.00, addr 2 uhci1: port 0xb000-0xb01f irq 9 at device 4.3 o= n pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 4.4 (no driver attached) vr0: port 0x9400-0x94ff mem 0xd6800000-0= xd68000ff irq 9 at device 9.0 on pci0 vr0: Ethernet address: 00:50:ba:64:e3:6a miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0x9000-0x901f irq 5 at device 10.0 on pci0 atapci1: port 0x7000-0x703f,0x7400-0x7403,0x780= 0-0x7807,0x8000-0x8003,0x8400-0x8407 mem 0xd6000000-0xd601ffff irq 10 at de= vice 17.0 on pci0 ata2: at 0x8400 on atapci1 ata3: at 0x7800 on atapci1 fdc0: port 0x3f7,0x= 3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 orm0: