From owner-freebsd-current Sun Nov 11 1:36:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2152137B41A; Sun, 11 Nov 2001 01:36:31 -0800 (PST) Received: from hades.hell.gr (patr530-a151.otenet.gr [212.205.215.151]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fAB9aOB27523; Sun, 11 Nov 2001 11:36:24 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAB9WaJ62271; Sun, 11 Nov 2001 11:32:36 +0200 (EET) (envelope-from charon@labs.gr) Date: Sun, 11 Nov 2001 11:32:35 +0200 From: Giorgos Keramidas To: Bruce Evans Cc: John Baldwin , current@FreeBSD.ORG Subject: Re: kernel won't build - atomic.c/atomic.h errors... Message-ID: <20011111093235.GA62146@hades.hell.gr> References: <20011111111640.M22418-100000@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011111111640.M22418-100000@delplex.bde.org> User-Agent: Mutt/1.3.23.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 Bruce Evans wrote: > On Sat, 10 Nov 2001, John Baldwin wrote: > > On 08-Nov-01 Bruce Evans wrote: > > > The i386 still uses archaic constraints for some > > > input-output operands ("0" for the first operand). These never worked > > > right and if fact don't actually work for compiling this file without > > > optimization. > > > > Hmm, would you prefer this diff then, I've had it floating around for a while > > now but wasn't sure it was right: > > Yes, it is right provided all the operand renumbering is right. I suppose > it can't be checked simply by comparing all objects, because it sometimes > changes the register allocation? > > There are a couple more "0"s in atomic_cmpset_int(), and many more in other > files (even in cpufunc.h). Actually there are only 14 files that make use of "0" .. "9". % find ./sys -type f | xargs grep -l ':[[:space:]]*"[0-9]"' ./sys/alpha/include/alpha_cpu.h ./sys/contrib/dev/acpica/acgcc.h ./sys/gnu/ext2fs/i386-bitops.h ./sys/gnu/i386/fpemul/fpu_entry.c ./sys/i386/i386/identcpu.c ./sys/i386/i386/in_cksum.c ./sys/i386/i386/math_emulate.c ./sys/i386/include/atomic.h ./sys/i386/include/cpufunc.h ./sys/i386/include/endian.h ./sys/i386/include/in_cksum.h ./sys/sparc64/include/in_cksum.h ./sys/sparc64/sparc64/in_cksum.c ./sys/gnu/i386/fpemul/fpu_entry.c & ./sys/i386/i386/math_emulate.c were quite easy to change. I'm not using math emulation, but the changes to these two were almost trivial and I already mailed jhb a hopefully correct diff. It's also online at http://people.freebsd.org/~keramida/diff/diff.063.kern For the rest of the i386 files, it'll take the rest of my Sunday afternoon and a buildworld or two, I guess. I can't make any sparc64 or alpha changes though. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 4:11:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from marvin.nildram.co.uk (marvin.nildram.co.uk [195.112.4.71]) by hub.freebsd.org (Postfix) with SMTP id 9EB9237B41F for ; Sun, 11 Nov 2001 04:11:44 -0800 (PST) Received: (qmail 29507 invoked from network); 11 Nov 2001 12:11:43 -0000 Received: from tgeusch.dial.nildram.co.uk (HELO nermal.unix-consult.com) (195.149.29.39) by marvin.nildram.co.uk with SMTP; 11 Nov 2001 12:11:43 -0000 Received: (qmail 95939 invoked from network); 11 Nov 2001 12:11:19 -0000 Received: from odie.unix-consult.com (192.168.0.2) by nermal.unix-consult.com with SMTP; 11 Nov 2001 12:11:19 -0000 Received: by odie.unix-consult.com (Postfix, from userid 1002) id 14E3FB4; Sun, 11 Nov 2001 12:11:02 +0000 (GMT) Date: Sun, 11 Nov 2001 12:11:01 +0000 From: Timo Geusch To: current@freebsd.org Subject: NFS rpc.lockd bug in nfs client mode - patch attached. Message-ID: <20011111121101.A875@odie.unix-consult.com> Mail-Followup-To: Timo Geusch , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline All, I'm running -current on my main box, NFS mounting home directories from my -stable box. The -current box is configured as an NFS client only as it does not serve anything. The -stable box is configured as an NFS server only. In this configuration, running rpc.statd and rpc.lockd on both boxes (manually started on the -current box as it does not support rpc.lockd & statd via /etc/rc in nfs client mode[1]), rpc.lockd core dumps reliably on the -current client when unlocking a file on the server. I have tracked this down as a problem with too few parameters being passed to lock_answer (file kern.c). The attached patch fixes the problem for me by bringing the parameters in line with the other calls to lock_answer. Can someone with commit priviledges please review the patch and commit it if it does the right thing? Thanks, Timo [1] I can supply a rough patch to fix this problem, but I'm not happy with it. If someone is interested in reviewing the patch, please drop me an email and I'll get it off to you. --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="lock_proc.diff" --- lock_proc.c.old Sun Oct 14 19:36:35 2001 +++ lock_proc.c Sun Nov 11 11:57:35 2001 @@ -763,7 +763,7 @@ if (debug_level) log_from_addr("nlm_unlock_res", rqstp); - lock_answer(&arg->cookie, arg->stat.stat, NLM_VERS); + lock_answer(-1, &arg->cookie, arg->stat.stat, NULL, NLM_VERS); return (NULL); } --7AUc2qLy4jB3hD7Z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 12:28: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from web14103.mail.yahoo.com (web14103.mail.yahoo.com [216.136.172.133]) by hub.freebsd.org (Postfix) with SMTP id 4968637B405 for ; Sun, 11 Nov 2001 12:27:59 -0800 (PST) Message-ID: <20011111202759.84406.qmail@web14103.mail.yahoo.com> Received: from [24.177.135.16] by web14103.mail.yahoo.com via HTTP; Sun, 11 Nov 2001 12:27:59 PST Date: Sun, 11 Nov 2001 12:27:59 -0800 (PST) From: Galen Sampson Subject: Install (stand/sysintsall) woes To: freebsd-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 Hello all, Decided that I want to give current a shot for the first time, and that a clean install was necessary. I downloaded kern.flp and mfsroot.flp from november 9th, booted, started an ftp install. Eveything went smooth through newfs. Then three error messages appeared: "Unable to mount /mnt/dev/ad0s1e on /mnt/var, no such file or directory", followed by the same message for /mnt/dev/ad0s1f and /mnt/dev/ad0s1g. I have one disk (ad0) and one slice (s1) taking the full drive. I want to have 5 partitions in my slice, swap, /, /var, /usr, and /home. After some file are extracted (namely ls) I went poking around on the virtual terminal and /mnt/dev/ad0s1[e,f,g] do not exist, only /mnt/dev/ad0s1[a,b,c]. Any who...I run out of space even though / is 100MB. Same problem with today (November 10). Any ideas/suggestions would be most appreciated, otherwise I'll have to go back to 4.4-Release. Galen __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.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 Nov 11 12:29:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from robin.mail.pas.earthlink.net (robin.mail.pas.earthlink.net [207.217.120.65]) by hub.freebsd.org (Postfix) with ESMTP id 30E0937B405; Sun, 11 Nov 2001 12:29:14 -0800 (PST) Received: from fire (1Cust63.tnt1.pasadena.ca.da.uu.net [63.28.226.63]) by robin.mail.pas.earthlink.net (8.11.5/8.9.3) with SMTP id fABKTBX27078; Sun, 11 Nov 2001 12:29:12 -0800 (PST) Message-ID: <003301c16aee$ea58bf90$6503c23f@XGforce.com> Reply-To: "matt" From: "matt" To: Cc: Subject: wake up on lan driver support Date: Sun, 11 Nov 2001 12:24:48 -0800 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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, is there any wake up on lan driver support available in the NIC driver tree? or if any one have any pointers on this? Is also any support in the src tree support poweroff when shutting down FreeBSD? Many thanks ====================================== WWW.XGFORCE.COM The Next Generation Load Balance and Fail Safe Server Clustering Software for the Internet. ====================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 14: 0:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 31EB937B416; Sun, 11 Nov 2001 14:00:25 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA90457; Sun, 11 Nov 2001 13:45:17 -0800 (PST) Date: Sun, 11 Nov 2001 13:45:16 -0800 (PST) From: Julian Elischer To: matt Cc: current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: wake up on lan driver support In-Reply-To: <003301c16aee$ea58bf90$6503c23f@XGforce.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, 11 Nov 2001, matt wrote: > Hi, guys, is there any wake up on lan driver support > available in the NIC driver tree? or if any one have any > pointers on this? > > Is also any support in the src tree support poweroff > when shutting down FreeBSD? A least in -current, halt -p powers off the machine It may rely on the acpi support or soemthing... > > Many thanks > > > > ====================================== > WWW.XGFORCE.COM > The Next Generation Load Balance and > Fail Safe Server Clustering Software > for the Internet. > ====================================== > > > > 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 Nov 11 15:42: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from midway.uchicago.edu (midway.uchicago.edu [128.135.12.12]) by hub.freebsd.org (Postfix) with ESMTP id 66D3D37B41B for ; Sun, 11 Nov 2001 15:42:00 -0800 (PST) Received: from harper.uchicago.edu (daemon@harper.uchicago.edu [128.135.12.7]) by midway.uchicago.edu (8.11.6/8.11.6) with ESMTP id fABNfxn02301 for ; Sun, 11 Nov 2001 17:41:59 -0600 (CST) Received: from localhost (dsyphers@localhost) by harper.uchicago.edu (8.11.6/8.11.6) with ESMTP id fABNfwY04299 for ; Sun, 11 Nov 2001 17:41:58 -0600 (CST) X-Authentication-Warning: harper.uchicago.edu: dsyphers owned process doing -bs Date: Sun, 11 Nov 2001 17:41:57 -0600 (CST) From: David Syphers To: freebsd-current@freebsd.org Subject: kget problem during install 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 When trying to install a -current snapshot from November 6, it dies when trying to create slices in the FreeBSD partition. It seems to create / and /swap fine, but when trying to create /usr or /var it dies with newfs: /mnt/dev/ad0s1f no such file or directory file system full DEBUG: kget: error buffer sizing [: : out of range [: : out of range acd0t is invalid -- can't have more than 32 devices or 169 tracks This happens every way I've tried to install, from dual-boot to dedicated, softupdates enabled to no softupdates, etc. I'm trying to install this snapshot via CD. If I use the -current CD from _FreeBSD_Unleashed_ (-current from sept. 11, I believe), it seems to get through newfs fine but dies after expanding bin with the same errors as above, starting with "DEBUG: kget: error buffer sizing." This laptop has happily had installations of FreeBSD from 2.2.7 to 4.4, as well as various MS OS's. Any ideas? Reply to me directly, I'm not on this list right now. Thanks, -David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 16: 6: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id E748A37B421 for ; Sun, 11 Nov 2001 16:05:58 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id JAA28521; Mon, 12 Nov 2001 09:05:37 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@FreeBSD.org In-Reply-To: References: X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 12 From: Makoto Matsushita To: dsyphers@uchicago.edu Subject: Re: kget problem during install Date: Mon, 12 Nov 2001 09:05:35 +0900 Message-Id: <20011112090535K.matusita@jp.FreeBSD.org> 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 dsyphers> When trying to install a -current snapshot from November 6, Would you please try a newer (Nov/12/2001 or later) snapshot? dsyphers> newfs: /mnt/dev/ad0s1f no such file or directory It seems that your problem is the same of PR 31009, and I hope it'll be fixed. -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 16: 7:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 20B9337B425; Sun, 11 Nov 2001 16:07:15 -0800 (PST) Received: from cain.gsoft.com.au (root@localhost [127.0.0.1]) by cain.gsoft.com.au (8.11.6/8.11.6) with ESMTP id fAC06pS44832; Mon, 12 Nov 2001 10:36:52 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <003301c16aee$ea58bf90$6503c23f@XGforce.com> Date: Mon, 12 Nov 2001 10:36:51 +1030 (CST) From: "Daniel O'Connor" To: matt Subject: RE: wake up on lan driver support Cc: freebsd-hackers@freebsd.org, current@freebsd.org 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 11-Nov-2001 matt wrote: > Hi, guys, is there any wake up on lan driver support > available in the NIC driver tree? or if any one have any > pointers on this? I didn't think this was a driver issue? ie the main part is the crafting of the magic packet to wake the card up. (But I've never used WOL so take with a grain of salt :) > Is also any support in the src tree support poweroff > when shutting down FreeBSD? Plenty :) If you enable APM you can add the -p flat to shutdown and/or halt to power the machine off. (If APM is off then -p behaves like -h) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 16:43:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id CB91837B417; Sun, 11 Nov 2001 16:43:34 -0800 (PST) Received: from 1cust179.tnt1.pasadena.ca.da.uu.net ([63.28.226.179] helo=fire) by pintail.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1635C7-00037G-00; Sun, 11 Nov 2001 16:43:24 -0800 Message-ID: <000d01c16b12$6cc333c0$6503c23f@XGforce.com> Reply-To: "matt" From: "matt" To: "Daniel O'Connor" Cc: , References: Subject: Re: wake up on lan driver support Date: Sun, 11 Nov 2001 16:38:50 -0800 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 any clue to find the tech doc regarding the format of the packet. I'd code such thing. It's a very good feature for FreeBSD. ====================================== WWW.XGFORCE.COM The Next Generation Load Balance and Fail Safe Server Clustering Software for the Internet. ====================================== ----- Original Message ----- From: "Daniel O'Connor" To: "matt" Cc: ; Sent: Sunday, November 11, 2001 4:06 PM Subject: RE: wake up on lan driver support > > On 11-Nov-2001 matt wrote: > > Hi, guys, is there any wake up on lan driver support > > available in the NIC driver tree? or if any one have any > > pointers on this? > > I didn't think this was a driver issue? > ie the main part is the crafting of the magic packet to wake the card up. > > (But I've never used WOL so take with a grain of salt :) > > > Is also any support in the src tree support poweroff > > when shutting down FreeBSD? > > Plenty :) > If you enable APM you can add the -p flat to shutdown and/or halt to power the > machine off. > > (If APM is off then -p behaves like -h) > > --- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > > 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 Nov 11 16:59:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 7D35537B405; Sun, 11 Nov 2001 16:59:34 -0800 (PST) Received: from cain.gsoft.com.au (root@localhost [127.0.0.1]) by cain.gsoft.com.au (8.11.6/8.11.6) with ESMTP id fAC0xFS45556; Mon, 12 Nov 2001 11:29:15 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <000d01c16b12$6cc333c0$6503c23f@XGforce.com> Date: Mon, 12 Nov 2001 11:29:13 +1030 (CST) From: "Daniel O'Connor" To: matt Subject: Re: wake up on lan driver support Cc: current@freebsd.org, freebsd-hackers@freebsd.org 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 12-Nov-2001 matt wrote: > any clue to find the tech doc regarding the format of > the packet. I'd code such thing. It's a very good > feature for FreeBSD. I just did a quick web search.. http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/wol-mini-howto-3.html --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 17: 2: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from femail25.sdc1.sfba.home.com (femail25.sdc1.sfba.home.com [24.254.60.15]) by hub.freebsd.org (Postfix) with ESMTP id C89F937B416; Sun, 11 Nov 2001 17:01:59 -0800 (PST) Received: from lightnin ([65.11.111.111]) by femail25.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011112010159.CLUP7421.femail25.sdc1.sfba.home.com@lightnin>; Sun, 11 Nov 2001 17:01:59 -0800 Date: Sun, 11 Nov 2001 17:01:59 -0800 Subject: Re: wake up on lan driver support Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v472) From: justin@mac.com To: freebsd-hackers@freebsd.org, current@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.472) 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 Sunday, November 11, 2001, at 04:06 , Daniel O'Connor wrote: > > On 11-Nov-2001 matt wrote: >> Hi, guys, is there any wake up on lan driver support >> available in the NIC driver tree? or if any one have any >> pointers on this? > > I didn't think this was a driver issue? > ie the main part is the crafting of the magic packet to wake the card > up. The technology is explained on a number of websites; here's one I found just now: http://www.networking.ibm.com/eji/ejiwake.html I think it requires device driver support because it has to be enabled (at least, that's what the devices I know about require). Regards, Justin --- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 17:22:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from relay.gnf.org (relay.gnf.org [208.44.31.36]) by hub.freebsd.org (Postfix) with ESMTP id 2DE7237B405 for ; Sun, 11 Nov 2001 17:22:10 -0800 (PST) Received: from mail.gnf.org (smtp.gnf.org [10.0.0.11]) by relay.gnf.org (8.11.6/8.11.6) with ESMTP id fAC1M9J05996 for ; Sun, 11 Nov 2001 17:22:09 -0800 Received: by mail.gnf.org (Postfix, from userid 888) id 08B7211E508; Sun, 11 Nov 2001 17:19:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id 0785411A577 for ; Sun, 11 Nov 2001 17:19:12 -0800 (PST) Date: Sun, 11 Nov 2001 17:19:12 -0800 (PST) From: Gordon Tetlow To: Subject: /dev/null problems 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 was trying to build a package the other day, but I was having problems with /dev/null. My world is from Nov 4th. drifter# ls -l /dev/null crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null drifter# echo > /dev/null drifter# su - gordont %echo > /dev/null /dev/null: Operation not permitted. %ls -l /dev/null crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null Anyone else seeing this problem? -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 17:41: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 061F637B416 for ; Sun, 11 Nov 2001 17:41:04 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id KAA35375; Mon, 12 Nov 2001 10:40:57 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@FreeBSD.org In-Reply-To: References: X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 8 From: Makoto Matsushita To: gordont@gnf.org Subject: Re: /dev/null problems Date: Mon, 12 Nov 2001 10:40:55 +0900 Message-Id: <20011112104055O.matusita@jp.FreeBSD.org> 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 gordont> I was trying to build a package the other day, but I was gordont> having problems with /dev/null. My world is from Nov 4th. Is it the same problem of PR: 31742 ? -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 17:41:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id F386537B405 for ; Sun, 11 Nov 2001 17:41:38 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id E431881D07; Sun, 11 Nov 2001 19:41:38 -0600 (CST) Date: Sun, 11 Nov 2001 19:41:38 -0600 From: Alfred Perlstein To: Gordon Tetlow Cc: current@freebsd.org Subject: Re: /dev/null problems Message-ID: <20011111194138.I89342@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@gnf.org on Sun, Nov 11, 2001 at 05:19:12PM -0800 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 * Gordon Tetlow [011111 19:22] wrote: > I was trying to build a package the other day, but I was having problems > with /dev/null. My world is from Nov 4th. > > drifter# ls -l /dev/null > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null > drifter# echo > /dev/null > drifter# su - gordont > %echo > /dev/null > /dev/null: Operation not permitted. > %ls -l /dev/null > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null > > Anyone else seeing this problem? We were, it's been fixed already. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 11 21:48:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from hex.databits.net (hex.databits.net [207.29.192.16]) by hub.freebsd.org (Postfix) with SMTP id 9C61D37B405 for ; Sun, 11 Nov 2001 21:48:16 -0800 (PST) Received: (qmail 62802 invoked by uid 1001); 12 Nov 2001 05:48:10 -0000 Date: Mon, 12 Nov 2001 00:48:10 -0500 From: Pete Fritchman To: Gordon Tetlow Cc: current@freebsd.org Subject: Re: /dev/null problems Message-ID: <20011112004810.C62549@databits.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@gnf.org on Sun, Nov 11, 2001 at 05:19:12PM -0800 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 ++ 11/11/01 17:19 -0800 - Gordon Tetlow: | drifter# ls -l /dev/null | crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null | drifter# echo > /dev/null | drifter# su - gordont | %echo > /dev/null | /dev/null: Operation not permitted. | %ls -l /dev/null | crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null | | Anyone else seeing this problem? http://www.freebsd.org/cgi/query-pr.cgi?pr=31742 | | -gordon -pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 2:34: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 284C537B405 for ; Mon, 12 Nov 2001 02:34:02 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id fACAX4L15332; Mon, 12 Nov 2001 11:33:04 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Gordon Tetlow Cc: current@FreeBSD.ORG Subject: Re: /dev/null problems In-Reply-To: Your message of "Sun, 11 Nov 2001 17:19:12 PST." Date: Mon, 12 Nov 2001 11:33:04 +0100 Message-ID: <15330.1005561184@critter.freebsd.dk> From: Poul-Henning Kamp 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 This is fixed already. Read commit mail if you run current. Poul-Henning In message , Gordon Tetl ow writes: >I was trying to build a package the other day, but I was having problems >with /dev/null. My world is from Nov 4th. > >drifter# ls -l /dev/null >crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null >drifter# echo > /dev/null >drifter# su - gordont >%echo > /dev/null >/dev/null: Operation not permitted. >%ls -l /dev/null >crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null > >Anyone else seeing this problem? > >-gordon > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- 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 Mon Nov 12 3:31:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id D4E7C37B405 for ; Mon, 12 Nov 2001 03:31:35 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fACBVOB24583; Mon, 12 Nov 2001 06:31:25 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 12 Nov 2001 06:31:24 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Gordon Tetlow Cc: current@freebsd.org Subject: Re: /dev/null problems In-Reply-To: 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 So in theory this is fixed, but I actually bumped into an unexpected EPERM again from a linux emulated program yesterday (acroread4) which popped up an error message about /dev/null. I haven't tried to reproduce as yet, since I'm currently rebuilding KDE; /dev/null works properly for me on the FreeBSD ABI again, so maybe it's just a bug in acroread4. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sun, 11 Nov 2001, Gordon Tetlow wrote: > I was trying to build a package the other day, but I was having problems > with /dev/null. My world is from Nov 4th. > > drifter# ls -l /dev/null > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null > drifter# echo > /dev/null > drifter# su - gordont > %echo > /dev/null > /dev/null: Operation not permitted. > %ls -l /dev/null > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null > > Anyone else seeing this problem? > > -gordon > > > > 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 Mon Nov 12 4: 1:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 324BB37B417; Mon, 12 Nov 2001 04:01:44 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fACC1hM13026; Mon, 12 Nov 2001 04:01:43 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id B1026380A; Mon, 12 Nov 2001 04:01:43 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Robert Watson Cc: Gordon Tetlow , current@FreeBSD.ORG Subject: Re: /dev/null problems In-Reply-To: Date: Mon, 12 Nov 2001 04:01:43 -0800 From: Peter Wemm Message-Id: <20011112120143.B1026380A@overcee.netplex.com.au> 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 Robert Watson wrote: > So in theory this is fixed, but I actually bumped into an unexpected EPERM > again from a linux emulated program yesterday (acroread4) which popped up > an error message about /dev/null. I haven't tried to reproduce as yet, > since I'm currently rebuilding KDE; /dev/null works properly for me on the > FreeBSD ABI again, so maybe it's just a bug in acroread4. Also, I've seen netscape etc do this too when it thinks it is executing acroread4, but instead is doing an exec("/dev/null". ... ). > On Sun, 11 Nov 2001, Gordon Tetlow wrote: > > > I was trying to build a package the other day, but I was having problems > > with /dev/null. My world is from Nov 4th. > > > > drifter# ls -l /dev/null > > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:56 /dev/null > > drifter# echo > /dev/null > > drifter# su - gordont > > %echo > /dev/null > > /dev/null: Operation not permitted. > > %ls -l /dev/null > > crw-rw-rw- 1 root wheel 2, 2 Nov 11 16:57 /dev/null > > > > Anyone else seeing this problem? > > > > -gordon > > > > > > > > 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 > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 5:29:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 8DB4237B416; Mon, 12 Nov 2001 05:28:52 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id PAA16421; Mon, 12 Nov 2001 15:28:49 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (h178.229.dialup.iptcom.net [212.9.229.178]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id PAA40190; Mon, 12 Nov 2001 15:28:47 +0200 (EET) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.6/8.11.3) id fACDSGt04364; Mon, 12 Nov 2001 15:28:16 +0200 (EET) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200111121328.fACDSGt04364@vega.vega.com> Subject: kqueue(2) doesn't deliver EV_EOF on pipes [patch] To: jlemon@FreeBSD.org Date: Mon, 12 Nov 2001 15:28:15 +0200 (EET) Cc: current@FreeBSD.org, hackers@FreeBSD.org X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="%--multipart-mixed-boundary-1.4281.1005571695--%" 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 --%--multipart-mixed-boundary-1.4281.1005571695--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I've noticed that kqueue(2) doesn't notify reader about EV_EOF condition on pipe. Attached simple test program highlights the problem (confirmed both on 5-CURRENT and 4-STABLE). Also attached is the simple fix. -Maxim --%--multipart-mixed-boundary-1.4281.1005571695--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: ASCII C program text Content-Disposition: attachment; filename="sys_pipe.c.diff" Index: sys/kern/sys_pipe.c =================================================================== RCS file: /home/ncvs/src/sys/kern/sys_pipe.c,v retrieving revision 1.86 diff -d -u -r1.86 sys_pipe.c --- sys/kern/sys_pipe.c 2001/09/21 22:46:53 1.86 +++ sys/kern/sys_pipe.c 2001/11/12 13:28:05 @@ -1221,6 +1221,7 @@ ppipe->pipe_state |= PIPE_EOF; wakeup(ppipe); + KNOTE(&ppipe->pipe_sel.si_note, 0); ppipe->pipe_peer = NULL; } /* --%--multipart-mixed-boundary-1.4281.1005571695--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: ASCII C program text Content-Disposition: attachment; filename="testpipe.c" #include #include #include #include #include #include #include void testpassed(int sig) { printf("Test passed\n"); exit(0); } int main(int argc, char **argv) { int kq, pid, ppid, nevents; struct kevent changelist[1]; struct kevent eventlist[1]; int pp[2]; pipe(pp); ppid = getpid(); pid = fork(); switch (pid) { case -1: /* Error */ err(1, "can't fork()"); /* NOTREACHED */ case 0: /* Child */ close(pp[1]); kq = kqueue(); EV_SET(changelist, pp[0], EVFILT_READ, EV_ADD | EV_ENABLE | EV_EOF, \ 0, 0, NULL); kevent(kq, changelist, 1, NULL, 0, NULL); for (;;) { nevents = kevent(kq, NULL, 0, eventlist, 1, NULL); if (nevents > 0 || (eventlist[0].flags & EV_EOF) != 0) { kill(ppid, SIGTERM); exit(0); } } break; default: /* Sever */ close(pp[0]); break; } signal(SIGTERM, testpassed); /* Give child some time to initialise kqueue(2) */ sleep(1); close(pp[1]); /* Give child some time to receive EV_EOF and kill us */ sleep(1); kill(pid, SIGTERM); printf("Test failed\n"); exit(1); } --%--multipart-mixed-boundary-1.4281.1005571695--%-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 5:50:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 883A837B405; Mon, 12 Nov 2001 05:50:30 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id PAA30792; Mon, 12 Nov 2001 15:50:27 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (h156.228.dialup.iptcom.net [212.9.228.156]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id PAA49060; Mon, 12 Nov 2001 15:50:25 +0200 (EET) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.6/8.11.3) id fACDnfT04437; Mon, 12 Nov 2001 15:49:41 +0200 (EET) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200111121349.fACDnfT04437@vega.vega.com> Subject: Re: kqueue(2) doesn't deliver EV_EOF on pipes [patch] To: sobomax@FreeBSD.ORG (Maxim Sobolev) Date: Mon, 12 Nov 2001 15:48:39 +0200 (EET) Cc: jlemon@FreeBSD.ORG, current@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: from "Maxim Sobolev" at Nov 12, 2001 03:28:15 PM X-Mailer: ELM [version 2.5 PL5] 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 > if (nevents > 0 || (eventlist[0].flags & EV_EOF) != 0) { ^^ OOPS, last minute bug. Should be `&&' instead, but it doesn't affect outcome of the test. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 8: 9: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id AC86337B430 for ; Mon, 12 Nov 2001 08:08:41 -0800 (PST) Received: (qmail 22329 invoked from network); 12 Nov 2001 16:08:40 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Nov 2001 16:08:40 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011110231511.G69195@blossom.cjclark.org> Date: Mon, 12 Nov 2001 08:08:37 -0800 (PST) From: John Baldwin To: "Crist J. Clark" Subject: Re: daily run output & passwd diff Cc: current@FreeBSD.ORG, Alexander Leidinger 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 11-Nov-01 Crist J. Clark wrote: > On Fri, Nov 09, 2001 at 02:55:55PM +0100, Alexander Leidinger wrote: >> Hi, >> >> I think the CVS tag shouldn't be interpreted as an entry which contains >> a password. >> >> ---snip--- >> Backup passwd and group files: >> >> 1c1 >> < # $FreeBSD:(password):09:07 peter Exp $ >> --- >> > # $FreeBSD:(password):27:16 ache Exp $ >> 16a17 >> > www:(password):80:80::0:0:World Wide Web Owner:/nonexistent:/sbin/nologin >> Magelan.Leidinger.net group diffs: >> 1c1 >> < # $FreeBSD: src/etc/group,v 1.21 2001/10/18 16:53:20 sheldonh Exp $ >> --- >> > # $FreeBSD: src/etc/group,v 1.22 2001/10/25 03:27:16 ache Exp $ >> 20a21 >> > www:*:80: >> ---snip--- > > Makes sense. No need to hide the revision number. > > Committed to -CURRENT. MFC 1 week. > > Index: 200.backup-passwd > =================================================================== > RCS file: /home/ncvs/src/etc/periodic/daily/200.backup-passwd,v > retrieving revision 1.8 > diff -u -r1.8 200.backup-passwd > --- 200.backup-passwd 2000/09/14 17:19:10 1.8 > +++ 200.backup-passwd 2001/11/11 07:09:49 > @@ -42,7 +42,7 @@ > [ $rc -lt 1 ] && rc=1 > echo "$host passwd diffs:" > diff $bak/master.passwd.bak /etc/master.passwd |\ > - sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' > + sed 's/^\([<>] [^#][^:]*\):[^:]*:/\1:(password):/' > mv $bak/master.passwd.bak $bak/master.passwd.bak2 > cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 > fi What if someone comments out a line in the password file of a user? Then this won't hide that password. When this originally went in, it took a long while to get a sed line people were happy with. Replacing the version number is a minor thing, but getting it to work perfectly may be a bit difficult. If you do this, I'd rather you make sed handle the $FreeBSD$ case as a completely separate case, so something like: sed -e '/\$FreeBSD\$/; //s/blah blah/blah/' or some such (I forget how sed does multiple expressions). -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.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 Nov 12 8:39:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id E20EF37B405 for ; Mon, 12 Nov 2001 08:39:16 -0800 (PST) Received: from builder03 (dhcp139.qubesoft.com [192.168.1.139]) by gate.qubesoft.com (8.11.3/8.11.3) with SMTP id fACGcu839247; Mon, 12 Nov 2001 16:38:57 GMT (envelope-from n_hibma@qubesoft.com) From: "Nick Hibma" To: "Daniel O'Connor" , "Jim Bryant" Cc: , "Michael Class" Subject: RE: USB and SMP Date: Mon, 12 Nov 2001 16:38:56 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: 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 Definitely the drivers. UHCI is a pile of that stuff that smells. Nick > -----Original Message----- > From: owner-freebsd-current@FreeBSD.ORG > [mailto:owner-freebsd-current@FreeBSD.ORG]On Behalf Of Daniel O'Connor > Sent: 11 November 2001 03:21 > To: Jim Bryant > Cc: current@FreeBSD.ORG; Michael Class > Subject: Re: USB and SMP > > > > On 10-Nov-2001 Jim Bryant wrote: > > I have a [secondary] USB Keyboard with a mouse port on > it's side installed, > > as well as a cameramate CompactFlash reader hooked up. > > Both work. > > What chipset though? > The OHCI stuff seems less reliable than UHCI. > Not sure if its the hardware, the driver or some combination :) > > --- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > > 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 Mon Nov 12 8:54:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 5A10737B405; Mon, 12 Nov 2001 08:54:07 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fACGrse00533; Mon, 12 Nov 2001 08:53:54 -0800 Date: Mon, 12 Nov 2001 08:53:54 -0800 From: Brooks Davis To: matt Cc: "Daniel O'Connor" , freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: wake up on lan driver support Message-ID: <20011112085354.A29887@Odin.AC.HMC.Edu> References: <000d01c16b12$6cc333c0$6503c23f@XGforce.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000d01c16b12$6cc333c0$6503c23f@XGforce.com>; from matt-l@pacbell.net on Sun, Nov 11, 2001 at 04:38:50PM -0800 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 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 11, 2001 at 04:38:50PM -0800, matt wrote: > any clue to find the tech doc regarding the format of > the packet. I'd code such thing. It's a very good > feature for FreeBSD. ports/net/wakeonlan I'd really like to see some driver support for WOL for support of dynamic power control on clusters. Suspend/Resume is going to be faster then a boot cycle unless someone ports the loader to the LinuxBIOS framework. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE77/6hXY6L6fI4GtQRAjsGAKC0fVLYY3gGGRssz+BHj6RDgW5VqQCgkoOr af1VLq6jSnpaboPLaFZYz+w= =/izp -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 14: 1:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 7072637B405 for ; Mon, 12 Nov 2001 14:01:35 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.4/8.11.4) id fACM1ZU42345 for freebsd-current@freebsd.org; Mon, 12 Nov 2001 14:01:35 -0800 (PST) (envelope-from sgk) Date: Mon, 12 Nov 2001 14:01:35 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: namespace pollution with struct thread? Message-ID: <20011112140135.A42228@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Recent versions of WINE have defined a struct thread in wine/server/thread.h. Unfortunately, wine/server/context_i386.c sucks in sys/user.h, which brings in sys/proc.h. Of course, sys/proc.h contains the post-KSE integrated struct thread. I've managed to build WINE by temporarily placing a #ifdef _KERNEL ... #endif in sys/proc.h. I WINE developer has suggested that this is namespace pollution on the part of FreeBSD, but he hasn't given any details to support what he means. So, should parts of sys/proc.h be protected by _KERNEL. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 14:43:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id E6D3A37B41A for ; Mon, 12 Nov 2001 14:43:25 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id JAA07378; Tue, 13 Nov 2001 09:43:19 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37645) with ESMTP id <01KANG0WRRHS2ZDN7X@cim.alcatel.com.au>; Tue, 13 Nov 2001 09:43:25 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.1/8.11.1) id fACMhG327025; Tue, 13 Nov 2001 09:43:16 +1100 Content-return: prohibited Date: Tue, 13 Nov 2001 09:43:16 +1100 From: Peter Jeremy Subject: Re: kernel won't build - atomic.c/atomic.h errors... In-reply-to: <3BE31270.5010905@yahoo.com>; from kc5vdj@yahoo.com on Fri, Nov 02, 2001 at 03:38:56PM -0600 In-reply-to: <3BE0C13E.5000106@yahoo.com>; from kc5vdj@yahoo.com on Wed, Oct 31, 2001 at 09:27:58PM -0600 To: Jim Bryant Cc: freebsd-current@FreeBSD.ORG Mail-Followup-To: Jim Bryant , freebsd-current@FreeBSD.ORG Message-id: <20011113094316.A26926@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <3BE31270.5010905@yahoo.com> <3BE0C13E.5000106@yahoo.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 Sorry for mot responding sooner. On Wed, Oct 31, 2001 at 09:27:58PM -0600, Jim Bryant wrote: >cc -c -g -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 -fomit-frame-pointer ../../../i386/i386/atomic.c >In file included from ../../../i386/i386/atomic.c:48: >machine/atomic.h: In function `atomic_set_char': >machine/atomic.h:214: inconsistent operand constraints in an `asm' On Fri, Nov 02, 2001 at 03:38:56PM -0600, Jim Bryant wrote: >Is anyone else seeing this problem? There is a problem with the way gcc handles asm constraints. The quick solution is to compile with `-O'. For a more detailed analysis and my then suggested solution, refer to the thread "kernel compile failure without -O option" in -current from Jul 2000 (I can't quote the exact message ID of my response because our firewall helpfully rewrites it). Since those patches were written, the code has been cleaned up to remove support for older variants of gcc, but the constraint changes for gcc >= 2.8 should still be valid. Peter, VK2PJ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 15: 8: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id B7B0337B416 for ; Mon, 12 Nov 2001 15:08:06 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fACN7wa87802; Mon, 12 Nov 2001 18:07:58 -0500 (EST) (envelope-from wollman) Date: Mon, 12 Nov 2001 18:07:58 -0500 (EST) From: Garrett Wollman Message-Id: <200111122307.fACN7wa87802@khavrinen.lcs.mit.edu> To: Steve Kargl Cc: freebsd-current@FreeBSD.ORG Subject: namespace pollution with struct thread? In-Reply-To: <20011112140135.A42228@troutmask.apl.washington.edu> References: <20011112140135.A42228@troutmask.apl.washington.edu> 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 < said: > I WINE developer has suggested that this is namespace > pollution on the part of FreeBSD, but he hasn't given > any details to support what he means. Applications which include , or any other non-standard header file, should expect that any conceivable symbol might be used therein. FreeBSD makes no guarantees as to the namespace used by non-standard interfaces. (We don't want to be like certain other environments where every symbol that might conceivably be accessible to an application is obfuscated with multiple underscores.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 16: 0:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 1219137B417 for ; Mon, 12 Nov 2001 16:00:31 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA95492; Mon, 12 Nov 2001 15:50:17 -0800 (PST) Date: Mon, 12 Nov 2001 15:50:16 -0800 (PST) From: Julian Elischer To: Garrett Wollman Cc: Steve Kargl , freebsd-current@FreeBSD.ORG Subject: Re: namespace pollution with struct thread? In-Reply-To: <200111122307.fACN7wa87802@khavrinen.lcs.mit.edu> 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 the other hand we might conceivably be able to stop the export from the kernel of this struct type. On Mon, 12 Nov 2001, Garrett Wollman wrote: > < said: > > > I WINE developer has suggested that this is namespace > > pollution on the part of FreeBSD, but he hasn't given > > any details to support what he means. > > Applications which include , or any other non-standard > header file, should expect that any conceivable symbol might be used > therein. FreeBSD makes no guarantees as to the namespace used by > non-standard interfaces. (We don't want to be like certain other > environments where every symbol that might conceivably be accessible > to an application is obfuscated with multiple underscores.) > > -GAWollman > > > 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 Mon Nov 12 16:24:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 1BEEC37B418 for ; Mon, 12 Nov 2001 16:24:37 -0800 (PST) Received: (qmail 70053 invoked from network); 13 Nov 2001 00:24:36 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 00:24:36 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 12 Nov 2001 16:24:31 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: Re: namespace pollution with struct thread? Cc: freebsd-current@FreeBSD.ORG, Steve Kargl , Garrett Wollman 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 12-Nov-01 Julian Elischer wrote: > On the other hand we might conceivably be able to > stop the export from the kernel of this struct type. Not unless we stop exporting struct proc since each proc has an embedded thread. > On Mon, 12 Nov 2001, Garrett Wollman wrote: > >> <> said: >> >> > I WINE developer has suggested that this is namespace >> > pollution on the part of FreeBSD, but he hasn't given >> > any details to support what he means. >> >> Applications which include , or any other non-standard >> header file, should expect that any conceivable symbol might be used >> therein. FreeBSD makes no guarantees as to the namespace used by >> non-standard interfaces. (We don't want to be like certain other >> environments where every symbol that might conceivably be accessible >> to an application is obfuscated with multiple underscores.) >> >> -GAWollman -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.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 Nov 12 16:25:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 58BCA37B417 for ; Mon, 12 Nov 2001 16:25:37 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.4/8.11.4) id fAD0PYU43694; Mon, 12 Nov 2001 16:25:34 -0800 (PST) (envelope-from sgk) Date: Mon, 12 Nov 2001 16:25:33 -0800 From: Steve Kargl To: Julian Elischer Cc: Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: Re: namespace pollution with struct thread? Message-ID: <20011112162533.A43547@troutmask.apl.washington.edu> References: <200111122307.fACN7wa87802@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Mon, Nov 12, 2001 at 03:50:16PM -0800 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 can confirm that I can build wine and run it if I put #ifdef _KERNEL ... #endif in sys/proc.h. I was uncertain about whether sys/user.h was a non-standard header file. I will probably relay Garrett's point to the wine developers at some point. steve On Mon, Nov 12, 2001 at 03:50:16PM -0800, Julian Elischer wrote: > On the other hand we might conceivably be able to > stop the export from the kernel of this struct type. > > > On Mon, 12 Nov 2001, Garrett Wollman wrote: > > > < said: > > > > > I WINE developer has suggested that this is namespace > > > pollution on the part of FreeBSD, but he hasn't given > > > any details to support what he means. > > > > Applications which include , or any other non-standard > > header file, should expect that any conceivable symbol might be used > > therein. FreeBSD makes no guarantees as to the namespace used by > > non-standard interfaces. (We don't want to be like certain other > > environments where every symbol that might conceivably be accessible > > to an application is obfuscated with multiple underscores.) > > > > -GAWollman > > > > -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 19: 2:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from robin.mail.pas.earthlink.net (robin.mail.pas.earthlink.net [207.217.120.65]) by hub.freebsd.org (Postfix) with ESMTP id D4C3E37B405; Mon, 12 Nov 2001 19:02:28 -0800 (PST) Received: from blossom.cjclark.org (dialup-209.245.131.33.Dial1.SanJose1.Level3.net [209.245.131.33]) by robin.mail.pas.earthlink.net (8.11.5/8.9.3) with ESMTP id fAD32JX22197; Mon, 12 Nov 2001 19:02:20 -0800 (PST) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAD32Fe46121; Mon, 12 Nov 2001 19:02:15 -0800 (PST) (envelope-from cjc) Date: Mon, 12 Nov 2001 19:02:15 -0800 From: "Crist J. Clark" To: John Baldwin Cc: current@FreeBSD.org, Alexander Leidinger Subject: Re: daily run output & passwd diff Message-ID: <20011112190215.C45158@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011110231511.G69195@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Nov 12, 2001 at 08:08:37AM -0800 X-URL: http://people.freebsd.org/~cjc/ 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, Nov 12, 2001 at 08:08:37AM -0800, John Baldwin wrote: > > On 11-Nov-01 Crist J. Clark wrote: > > On Fri, Nov 09, 2001 at 02:55:55PM +0100, Alexander Leidinger wrote: > >> Hi, > >> > >> I think the CVS tag shouldn't be interpreted as an entry which contains > >> a password. > >> > >> ---snip--- > >> Backup passwd and group files: > >> > >> 1c1 > >> < # $FreeBSD:(password):09:07 peter Exp $ > >> --- > >> > # $FreeBSD:(password):27:16 ache Exp $ > >> 16a17 > >> > www:(password):80:80::0:0:World Wide Web Owner:/nonexistent:/sbin/nologin > >> Magelan.Leidinger.net group diffs: > >> 1c1 > >> < # $FreeBSD: src/etc/group,v 1.21 2001/10/18 16:53:20 sheldonh Exp $ > >> --- > >> > # $FreeBSD: src/etc/group,v 1.22 2001/10/25 03:27:16 ache Exp $ > >> 20a21 > >> > www:*:80: > >> ---snip--- > > > > Makes sense. No need to hide the revision number. > > > > Committed to -CURRENT. MFC 1 week. > > > > Index: 200.backup-passwd > > =================================================================== > > RCS file: /home/ncvs/src/etc/periodic/daily/200.backup-passwd,v > > retrieving revision 1.8 > > diff -u -r1.8 200.backup-passwd > > --- 200.backup-passwd 2000/09/14 17:19:10 1.8 > > +++ 200.backup-passwd 2001/11/11 07:09:49 > > @@ -42,7 +42,7 @@ > > [ $rc -lt 1 ] && rc=1 > > echo "$host passwd diffs:" > > diff $bak/master.passwd.bak /etc/master.passwd |\ > > - sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' > > + sed 's/^\([<>] [^#][^:]*\):[^:]*:/\1:(password):/' > > mv $bak/master.passwd.bak $bak/master.passwd.bak2 > > cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 > > fi > > What if someone comments out a line in the password file of a user? Then this > won't hide that password. When this originally went in, it took a long while > to get a sed line people were happy with. Replacing the version number is a > minor thing, but getting it to work perfectly may be a bit difficult. If you > do this, I'd rather you make sed handle the $FreeBSD$ case as a completely > separate case, so something like: > > sed -e '/\$FreeBSD\$/; //s/blah blah/blah/' or some such (I forget how sed does > multiple expressions). I thought about this, but then thought, "Who ever just comments out password entries without clearing the password too?" I guess the answer is, some people do. How about, sed -E 's/^([<>] [^:]*):[^:]*:(([0-9]+:){2}[^:]*(:[0-9]+){2}(:[^:]*){3}$)/\1:(password)\2/' Which only touches entries that match the password format exactly, but includes commented out ones? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 12 22:19:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 06D4237B405 for ; Mon, 12 Nov 2001 22:19:38 -0800 (PST) Received: (qmail 8093 invoked from network); 13 Nov 2001 06:19:36 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 06:19:36 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011112190215.C45158@blossom.cjclark.org> Date: Mon, 12 Nov 2001 22:19:31 -0800 (PST) From: John Baldwin To: "Crist J. Clark" Subject: Re: daily run output & passwd diff Cc: Alexander Leidinger , current@FreeBSD.org 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 13-Nov-01 Crist J. Clark wrote: >> What if someone comments out a line in the password file of a user? Then >> this >> won't hide that password. When this originally went in, it took a long >> while >> to get a sed line people were happy with. Replacing the version number is a >> minor thing, but getting it to work perfectly may be a bit difficult. If >> you >> do this, I'd rather you make sed handle the $FreeBSD$ case as a completely >> separate case, so something like: >> >> sed -e '/\$FreeBSD\$/; //s/blah blah/blah/' or some such (I forget how sed >> does >> multiple expressions). > > I thought about this, but then thought, "Who ever just comments out > password entries without clearing the password too?" I guess the > answer is, some people do. > > How about, > > sed -E 's/^([<>] > [^:]*):[^:]*:(([0-9]+:){2}[^:]*(:[0-9]+){2}(:[^:]*){3}$)/\1:(password)\2/' > > Which only touches entries that match the password format exactly, but > includes commented out ones? That's fine I suppose. I would rather err on the side of caution and just exclude the $FreeBSD$ line and perform the change on all other lines by default. You never know what weird contortion of a password file someone might be using. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 2: 3:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 58B3B37B416; Tue, 13 Nov 2001 02:03:47 -0800 (PST) Received: from dialup-209.245.139.73.dial1.sanjose1.level3.net ([209.245.139.73] helo=blossom.cjclark.org) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 163aPw-0004jv-00; Tue, 13 Nov 2001 02:03:45 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fADA2dN60563; Tue, 13 Nov 2001 02:02:39 -0800 (PST) (envelope-from cjc) Date: Tue, 13 Nov 2001 02:02:16 -0800 From: "Crist J. Clark" To: John Baldwin Cc: Alexander Leidinger , current@FreeBSD.org Subject: Re: daily run output & passwd diff Message-ID: <20011113020216.I45158@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011112190215.C45158@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Nov 12, 2001 at 10:19:31PM -0800 X-URL: http://people.freebsd.org/~cjc/ 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, Nov 12, 2001 at 10:19:31PM -0800, John Baldwin wrote: > > On 13-Nov-01 Crist J. Clark wrote: > >> What if someone comments out a line in the password file of a user? Then > >> this > >> won't hide that password. When this originally went in, it took a long > >> while > >> to get a sed line people were happy with. Replacing the version number is a > >> minor thing, but getting it to work perfectly may be a bit difficult. If > >> you > >> do this, I'd rather you make sed handle the $FreeBSD$ case as a completely > >> separate case, so something like: > >> > >> sed -e '/\$FreeBSD\$/; //s/blah blah/blah/' or some such (I forget how sed > >> does > >> multiple expressions). > > > > I thought about this, but then thought, "Who ever just comments out > > password entries without clearing the password too?" I guess the > > answer is, some people do. > > > > How about, > > > > sed -E 's/^([<>] > > [^:]*):[^:]*:(([0-9]+:){2}[^:]*(:[0-9]+){2}(:[^:]*){3}$)/\1:(password)\2/' > > > > Which only touches entries that match the password format exactly, but > > includes commented out ones? > > That's fine I suppose. I would rather err on the side of caution and just > exclude the $FreeBSD$ line and perform the change on all other lines by > default. You never know what weird contortion of a password file someone > might be using. I look at it the same way, but from the other side. I would like to err on the side of caution and only mangle lines that look like a passwd(5) entry. Afterall, if it doesn't really look like a passwd(5) entry, (a) it probably has no password to hide and (b) if it does, there is no reason to believe that we are even going to find and cover the password with the existing sed(1) line. However, thinking about it more, loosening up the regex so it isn't fixed to the begining and end of the line, sed -E 's/([^:]*):[^:]*:(([0-9]+:){2}[^:]*(:[0-9]+){2}(:[^:]*){3})/\1:(password):\2/' May be a good idea. I'll put this new one in tomorrow unless someone has better suggestion. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 2:51:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 9B67B37B416; Tue, 13 Nov 2001 02:51:15 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id fADAp6589587; Tue, 13 Nov 2001 11:51:06 +0100 (CET) (envelope-from stijn) Date: Tue, 13 Nov 2001 11:51:05 +0100 From: Stijn Hoop To: Thomas Quinot Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011113115105.E70845@pcwin002.win.tue.nl> References: <20011107155735.B30053@cuivre.fr.eu.org> <20011108104243.A30845@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011108104243.A30845@cuivre.fr.eu.org>; from quinot@inf.enst.fr on Thu, Nov 08, 2001 at 10:42:43AM +0100 X-Bright-Idea: Let's abolish HTML mail! 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 curious, but how is the patch progressing? Can I try this out on a -STABLE system somehow? --Stijn -- "I used to think I was indecisive, but now I'm not so sure." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 3:25:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id CA69737B418; Tue, 13 Nov 2001 03:25:31 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id 541727FBB; Tue, 13 Nov 2001 12:25:30 +0100 (CET) Date: Tue, 13 Nov 2001 12:25:30 +0100 From: Thomas Quinot To: Stijn Hoop Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011113122529.B387@cuivre.fr.eu.org> References: <20011107155735.B30053@cuivre.fr.eu.org> <20011108104243.A30845@cuivre.fr.eu.org> <20011113115105.E70845@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: <20011113115105.E70845@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Tue, Nov 13, 2001 at 11:51:05AM +0100 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 Le 2001-11-13, Stijn Hoop écrivait : > Just curious, but how is the patch progressing? For the moment I am expecting feedback from the testers who have reported problems booting with the patch (esp. on SMP machines). > Can I try this out on a -STABLE system somehow? Yes, the patch available from http://www.cuivre.fr.eu.org/~thomas/atapicam/ is against -STABLE. BTW, I have succesfully used it this week-end for playing DVDs with xine and mplayer. Thomas. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 4:50:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 2221737B416 for ; Tue, 13 Nov 2001 04:50:41 -0800 (PST) Received: (qmail 4195 invoked by uid 0); 13 Nov 2001 12:50:39 -0000 Received: from pd9552757.dip.t-dialin.net (HELO mephisto.cthulhu.net) (217.85.39.87) by mail.gmx.net (mp020-rz3) with SMTP; 13 Nov 2001 12:50:39 -0000 Received: (from widersacher@localhost) by mephisto.cthulhu.net (8.11.6/8.11.6) id fADCoMW93884 for freebsd-current@FreeBSD.org; Tue, 13 Nov 2001 13:50:22 +0100 (CET) (envelope-from widersacher) From: Christopher Sharp Date: Tue, 13 Nov 2001 13:50:21 +0100 To: freebsd-current@FreeBSD.org Message-ID: <20011113125021.GA90308@w.cthulhu.net> Mail-Followup-To: widersacher@w.cthulhu.net, freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.2i 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 subscribe freebsd-current christopher_sharp@web.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 5:15:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp2.arnet.com.ar (smtp2.arnet.com.ar [200.45.191.5]) by hub.freebsd.org (Postfix) with SMTP id 3380937B405 for ; Tue, 13 Nov 2001 05:15:33 -0800 (PST) Received: (qmail 32049 invoked from network); 13 Nov 2001 12:16:41 -0000 Received: from unknown (HELO mail.compucraze.com) (200.45.225.249) by smtp2.arnet.com.ar with SMTP; 13 Nov 2001 12:16:40 -0000 Message-ID: <000068406ecb$00005f52$00006b15@mail.compucraze.com> To: From: vippass@compucraze.com Subject: FREE HARDCORE MUAAW Date: Tue, 13 Nov 2001 06:34:25 -2000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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 HEY SEXY COME PLAY WITH ME WE ARE SO HORNY THAT WE CANT WAIT ANY LONGER COME SEE ME AND MY NAUGHTY TEEN FRIENDS SUCK YOUR DICK AND LICK YOUR BALLS http://ziphosting.net/freelook/trial.htm JUST CLICK THE ABOVE LINK TO SEE US GO DOWN ON EACH OTHER AND I'LL SEE YOU INSIDE ME RAECHEL http://ziphosting.net/freelook/trial.htm WARNING: SHOCKING CONTENTThis site contains explicit sexual material You must be 18 or older to proceed To be taken off this list please respond with "GET ME OFF" in the sub ject To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 9:18: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail508.nifty.com (mail508.nifty.com [202.248.37.216]) by hub.freebsd.org (Postfix) with ESMTP id 2D68837B418 for ; Tue, 13 Nov 2001 09:18:00 -0800 (PST) Received: from barleycoren.oikumene.gcd.org by mail508.nifty.com (8.11.6+3.4W/3.7W-09/06/01) with ESMTP id fADHHtL21462; Wed, 14 Nov 2001 02:17:56 +0900 Date: Wed, 14 Nov 2001 02:17:55 +0900 Message-ID: <864rnysi7w.wl@barleycoren.oikumene.gcd.org> From: Hiroo ONO To: Galen Sampson Cc: freebsd-current@FreeBSD.org Subject: Re: Install (stand/sysintsall) woes In-Reply-To: <20011111202759.84406.qmail@web14103.mail.yahoo.com> References: <20011111202759.84406.qmail@web14103.mail.yahoo.com> User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") 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 As Makoto Matusita writes: $ Would you please try a newer (Nov/12/2001 or later) snapshot? > clean install was necessary. I downloaded kern.flp and mfsroot.flp from > november 9th, booted, started an ftp install. Eveything went smooth through > newfs. Then three error messages appeared: "Unable to mount /mnt/dev/ad0s1e on The current snapshot in the beginning of November failed to install because libdisk's function MakeDev() tried to mknod() in devfs partiton. The patch I provided just skipped mknod() if the kernel knew devfs, even if sysinstall tried to mknod() other than the devfs partition, which caused the bug you reported. Matusita-san has committed the proper fix to the problem, so please try newer snapshot and report the result as a followup to PR 31009 if possible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 9:54:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id CBB9B37B405 for ; Tue, 13 Nov 2001 09:54:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id CAA66927; Wed, 14 Nov 2001 02:53:59 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@FreeBSD.org In-Reply-To: References: X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 19 From: Makoto Matsushita To: dsyphers@uchicago.edu Subject: Re: kget problem during install Date: Wed, 14 Nov 2001 02:53:57 +0900 Message-Id: <20011114025357G.matusita@jp.FreeBSD.org> 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 Again, 'disk full' problem is already disappeard in recent 5-current. But: dsyphers> DEBUG: kget: error buffer sizing This is because sysinstall still want to get userconfig data and put the result to /boot/kernel.conf. dsyphers> [: : out of range dsyphers> [: : out of range dsyphers> acd0t is invalid -- can't have more than 32 devices or 169 tracks MAKEDEV complains about creating 'acd0t'. Both can be fixed, I'll try to make a patch... -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 10:22:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 9745337B417; Tue, 13 Nov 2001 10:22:28 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA67583; Wed, 14 Nov 2001 03:22:27 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: jkh@FreeBSD.org In-Reply-To: <20011114025357G.matusita@jp.FreeBSD.org> References: <20011114025357G.matusita@jp.FreeBSD.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 91 From: Makoto Matsushita To: current@FreeBSD.ORG Subject: PATCH: sysinstall to remove userconfig code Date: Wed, 14 Nov 2001 03:22:24 +0900 Message-Id: <20011114032224W.matusita@jp.FreeBSD.org> 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 dsyphers> DEBUG: kget: error buffer sizing matusita> This is because sysinstall still want to get userconfig data matusita> and put the result to /boot/kernel.conf. Userconfig was gone in 5-current, so we can safely remove kget() from sysinstall. Attached below is a patch to do (kget.c should be remove also). Jordan (and others who may concern), would you please review my patch? -- - Makoto `MAR' Matsushita Index: Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/Makefile,v retrieving revision 1.117 diff -u -r1.117 Makefile --- Makefile 2001/09/05 07:12:19 1.117 +++ Makefile 2001/11/13 18:12:37 @@ -2,7 +2,7 @@ PROG= sysinstall MAN= sysinstall.8 -SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c kget.c \ +SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \ disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \ ftp.c globals.c http.c index.c install.c installUpgrade.c keymap.c \ label.c main.c makedevs.c media.c menus.c misc.c modules.c \ Index: install.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/install.c,v retrieving revision 1.309 diff -u -r1.309 install.c --- install.c 2001/10/20 09:28:53 1.309 +++ install.c 2001/11/13 18:12:37 @@ -755,14 +755,6 @@ /* All of this is done only as init, just to be safe */ if (RunningAsInit) { #ifdef __i386__ - /* Snapshot any boot -c changes back to the new kernel */ - cp = variable_get(VAR_KGET); - if (cp && (*cp == 'Y' || *cp == 'y')) { - if ((kstat = kget("/boot/kernel.conf")) != NULL) { - msgConfirm("Unable to save boot -c changes to new kernel,\n" - "please see the debug screen (ALT-F2) for details."); - } - } if ((fp = fopen("/boot/loader.conf", "a")) != NULL) { if (!kstat || !OnVTY) fprintf(fp, "# -- sysinstall generated deltas -- #\n"); @@ -1054,7 +1046,6 @@ /* Set default startup options */ variable_set2(VAR_RELNAME, getRelname(), 0); variable_set2(VAR_CPIO_VERBOSITY, "high", 0); - variable_set2(VAR_KGET, "YES", 0); variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE, 0); variable_set2(VAR_INSTALL_ROOT, "/", 0); variable_set2(VAR_INSTALL_CFG, "install.cfg", 0); Index: options.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/options.c,v retrieving revision 1.76 diff -u -r1.76 options.c --- options.c 2001/09/25 00:28:26 1.76 +++ options.c 2001/11/13 18:12:37 @@ -148,8 +148,6 @@ OPT_IS_VAR, NEWFS_PROMPT, VAR_NEWFS_ARGS, varCheck }, { "Fixit Console", "Which tty to use for the Fixit action.", OPT_IS_FUNC, fixitTtyWhich, VAR_FIXIT_TTY, varCheck }, -{ "Config save", "Whether or not to save installation kernel config changes", - OPT_IS_VAR, NULL, VAR_KGET, varCheck }, { "Re-scan Devices", "Re-run sysinstall's initial device probe", OPT_IS_FUNC, deviceRescan }, { "Use Defaults", "Reset all values to startup defaults", Index: sysinstall.h =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/sysinstall.h,v retrieving revision 1.218 diff -u -r1.218 sysinstall.h --- sysinstall.h 2001/10/12 22:39:02 1.218 +++ sysinstall.h 2001/11/13 18:12:38 @@ -126,7 +126,6 @@ #define VAR_IPV6_ENABLE "ipv6_enable" #define VAR_IPV6ADDR "ipv6addr" #define VAR_KEYMAP "keymap" -#define VAR_KGET "kget" #define VAR_LABEL "label" #define VAR_LABEL_COUNT "labelCount" #define VAR_LINUX_ENABLE "linux_enable" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 10:32: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from mars.virtual-earth.de (mars.virtual-earth.de [212.89.109.104]) by hub.freebsd.org (Postfix) with SMTP id 641BC37B416 for ; Tue, 13 Nov 2001 10:31:49 -0800 (PST) Received: (qmail 24584 invoked from network); 13 Nov 2001 18:33:51 -0000 Received: from mp.virtual-earth.de (HELO virtual-earth.de) (212.89.109.98) by mars.virtual-earth.de with SMTP; 13 Nov 2001 18:33:51 -0000 Date: Tue, 13 Nov 2001 19:31:38 +0100 (CET) From: Mathias.Picker@virtual-earth.de Subject: loader from Nov 13 reboots instantly To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Message-Id: <20011113183149.641BC37B416@hub.freebsd.org> 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 rebuild my -current system. On executing /boot/loader the system rebooted instantly.... I have no idea what kind of debugging infos I might send, so I send the dmesg as a first idea (booted with loader.old). The system never gave me any troubles, I'm recompiling -current about once every two weeks and never ran into problems. loader/main.c identifies as: src/sys/boot/i386/loader/main.c,v 1.25 2001/11/05 19:03:01 jhb Exp 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-CURRENT #21: Tue Nov 13 17:51:39 CET 2001 mathiasp@mp.virtual-earth.de:/usr/obj/usr/src/sys/MP Preloaded elf kernel "/boot/kernel/kernel" at 0xc0430000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04300a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 350797159 Hz CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 268423168 (262132K bytes) avail memory = 256774144 (250756K bytes) Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00f0d10 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 agp0: mem 0xe4000000-0xe7ffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) 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 pci0: at device 4.2 (no driver attached) intpm0: port 0xe800-0xe80f irq 9 at device 4.3 on pci0 intpm0: I/O mapped e800 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped e400 fxp0: port 0xb000-0xb01f mem 0xdc000000-0xdc0f ffff,0xdf000000-0xdf000fff irq 5 at device 7.0 on pci0 fxp0: Ethernet address 00:e0:18:90:02:74 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xa800-0xa83f irq 5 at device 10.0 on pci0 bktr0: mem 0xde000000-0xde000fff irq 10 at device 11.0 on pci0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus1: on iicsmb0 smb1: on smbus1 smbus2: on bti2c0 smb2: on smbus2 bktr0: Hauppauge Model 61324 D129 bktr0: Detected a MSP3410D-B4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo, remote contro l. pci0: at device 11.1 (no driver attached) fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode 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 ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it atkbdc-: atkbdc0 already exists, skipping it fdc-: fdc0 already exists, skipping it ppc-: ppc0 already exists, skipping it sio-: sio0 already exists, skipping it sio-: sio1 already exists, skipping it sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it orm0: dvd-ad
 =
 
Wish You Could Copy DVD Movies?

Now You Can!
 =
Click Here For Details
 =
 =
 =
 =
 =
=3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D==3D=

REMOVE ME

------=_NextPart_1855826251564035478123610-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:10: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 3B8AF37B418 for ; Tue, 13 Nov 2001 12:10:04 -0800 (PST) Received: (qmail 18477135 invoked by uid 0); 13 Nov 2001 20:10:02 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Nov 2001 20:10:02 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fADK9sX50643; Tue, 13 Nov 2001 21:09:54 +0100 (CET) (envelope-from root) Message-Id: <200111132009.fADK9sX50643@gits.dyndns.org> Subject: Re: PATCH: sysinstall to remove userconfig code In-Reply-To: <20011114032224W.matusita@jp.FreeBSD.org> To: Makoto Matsushita Date: Tue, 13 Nov 2001 21:09:54 +0100 (CET) Cc: current@FreeBSD.ORG, jkh@FreeBSD.ORG Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Makoto Matsushita wrote: > > Userconfig was gone in 5-current, so we can safely remove kget() from > sysinstall. Attached below is a patch to do (kget.c should be remove > also). I don't know -current. what is the feature which replace kget ? does boot -c (or whatever) still exists ? is it possible to edit .hints at boot time ? Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:14:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 9CA1F37B427 for ; Tue, 13 Nov 2001 12:14:41 -0800 (PST) Received: (qmail 487 invoked from network); 13 Nov 2001 20:14:08 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 20:14:08 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111132009.fADK9sX50643@gits.dyndns.org> Date: Tue, 13 Nov 2001 12:14:40 -0800 (PST) From: John Baldwin To: Cyrille Lefevre Subject: Re: PATCH: sysinstall to remove userconfig code Cc: jkh@FreeBSD.ORG, current@FreeBSD.ORG, Makoto Matsushita 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 13-Nov-01 Cyrille Lefevre wrote: > Makoto Matsushita wrote: >> >> Userconfig was gone in 5-current, so we can safely remove kget() from >> sysinstall. Attached below is a patch to do (kget.c should be remove >> also). > > I don't know -current. what is the feature which replace kget ? > does boot -c (or whatever) still exists ? is it possible to > edit .hints at boot time ? You can use kenv and just save the ones starting with 'hint' to kernel.conf. kenv dumps the entire kernel environment. We still need a utility written in Forth that the loader can run for the user to modify the hints in the environment. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:20:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.nsu.ru (b.ns.ssc.nsu.ru [193.124.215.221]) by hub.freebsd.org (Postfix) with ESMTP id 3D8BB37B405 for ; Tue, 13 Nov 2001 12:20:03 -0800 (PST) Received: from iclub.nsu.ru ([193.124.222.66] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 163k2F-0007Ez-00 for current@freebsd.org; Wed, 14 Nov 2001 02:19:55 +0600 Received: (from fjoe@localhost) by iclub.nsu.ru (8.11.6/8.11.6) id fADKJuo10486 for current@freebsd.org; Wed, 14 Nov 2001 02:19:56 +0600 (NS) (envelope-from fjoe) Date: Wed, 14 Nov 2001 02:19:56 +0600 From: Max Khon To: current@freebsd.org Subject: initgroups Message-ID: <20011114021956.B10325@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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, there! Any objections if I will commit the following patch (see PR/15421)? Index: initgroups.c =================================================================== RCS file: /home/ncvs/src/lib/libc/gen/initgroups.c,v retrieving revision 1.4 diff -u -r1.4 initgroups.c --- initgroups.c 2001/08/29 13:52:26 1.4 +++ initgroups.c 2001/11/13 20:17:03 @@ -59,9 +59,5 @@ if (getgrouplist(uname, agroup, groups, &ngroups) < 0) warnx("%s is in too many groups, using first %d", uname, ngroups); - if (setgroups(ngroups, groups) < 0) { - _warn("setgroups"); - return (-1); - } - return (0); + return setgroups(ngroups, groups); } /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:27: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id B0B4837B405 for ; Tue, 13 Nov 2001 12:27:02 -0800 (PST) Received: (qmail 12595 invoked from network); 13 Nov 2001 20:27:01 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 20:27:01 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011114021956.B10325@iclub.nsu.ru> Date: Tue, 13 Nov 2001 12:27:01 -0800 (PST) From: John Baldwin To: Max Khon Subject: RE: initgroups Cc: current@freebsd.org 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 13-Nov-01 Max Khon wrote: > hi, there! > > Any objections if I will commit the following patch (see PR/15421)? > > Index: initgroups.c > =================================================================== > RCS file: /home/ncvs/src/lib/libc/gen/initgroups.c,v > retrieving revision 1.4 > diff -u -r1.4 initgroups.c > --- initgroups.c 2001/08/29 13:52:26 1.4 > +++ initgroups.c 2001/11/13 20:17:03 > @@ -59,9 +59,5 @@ > if (getgrouplist(uname, agroup, groups, &ngroups) < 0) > warnx("%s is in too many groups, using first %d", > uname, ngroups); > - if (setgroups(ngroups, groups) < 0) { > - _warn("setgroups"); > - return (-1); > - } > - return (0); > + return setgroups(ngroups, groups); > } Style nit: return (setgruops(ngroups, groups)); Also, commit the manpage patch in the PR as well. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:30:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7B77337B405 for ; Tue, 13 Nov 2001 12:30:32 -0800 (PST) Received: from lanczos.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Nov 2001 20:30:31 +0000 (GMT) Date: Tue, 13 Nov 2001 20:30:28 +0000 From: David Malone To: Max Khon Cc: current@freebsd.org Subject: Re: initgroups Message-ID: <20011113203028.A3929@lanczos.maths.tcd.ie> References: <20011114021956.B10325@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011114021956.B10325@iclub.nsu.ru>; from fjoe@iclub.nsu.ru on Wed, Nov 14, 2001 at 02:19:56AM +0600 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 Wed, Nov 14, 2001 at 02:19:56AM +0600, Max Khon wrote: > Any objections if I will commit the following patch (see PR/15421)? Does the man page need a note about setting errno? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 12:40:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id C710A37B417 for ; Tue, 13 Nov 2001 12:40:16 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA99575; Tue, 13 Nov 2001 12:32:46 -0800 (PST) Date: Tue, 13 Nov 2001 12:32:45 -0800 (PST) From: Julian Elischer To: Jan Stocker Cc: "freebsd-current@FreeBSD. ORG" Subject: Re: struct thread In-Reply-To: <004301c16c77$9a61e720$fe02010a@twoflower.liebende.de> 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 The trouble is that proc.h is not supposed to be exporting anything to userland.. (with the exception of hacks like 'ps' but they are a special category. It is kernel internal definitions.. Why is wine including it? If there is something in it that is needed by wine then we need to think about why it needs a kernel internal definition, and maybe whether we shouldn't move it somewhere else that IS exported.. On Tue, 13 Nov 2001, Jan Stocker wrote: > FYI: Ive posted an article to comp.emulators.ms-windows.wine about compiling > errors for wine. This is caused by an redefinition of "struct thread". This > is the state at present: > > > > From: kargls@home.com (Steven G. Kargl) > Subject: Re: Compile errors with FreeBSD 5.0 > Newsgroups: comp.emulators.ms-windows.wine > > In article , > Ove Kaaven writes: > > > >> Jan Stocker wrote: > >> > Hi, > >> > the current version of FreeBSD (5.0) has a common header which defines > >> > struct thread, so there will be an redefinition and nothing works. I > >> > think you shall rename your stuff from thread.h to something like > wine_thre > >> > to get out of this trouble. > > > > I'd rather say that the problem is FreeBSD. System headers should not > > pollute the namespace of applicatio. The glibc headers take great care to > > avoid polluting the namespace, but FreeBSD is starting to look like it > > thinks that it can define any common name, and if there's a collision > > because of that carelessness, they tell all the apps to rename their > > symbols, instead of fixing the OS. > > Can you elaborate? The application is pulling in the system > header sys/proc.h where struct thread is defined. If an > application purposely pulls in a system header file, how can > the system header pollute the namespace of the application > when the applications requests the information in that header? > > > 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 Tue Nov 13 13: 3:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (lafontaine.noos.net [212.198.2.72]) by hub.freebsd.org (Postfix) with ESMTP id 8966E37B405 for ; Tue, 13 Nov 2001 13:03:06 -0800 (PST) Received: (qmail 98421638 invoked by uid 0); 13 Nov 2001 21:03:04 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.72 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Nov 2001 21:03:04 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fADL32L53365; Tue, 13 Nov 2001 22:03:02 +0100 (CET) (envelope-from root) Message-Id: <200111132103.fADL32L53365@gits.dyndns.org> Subject: Re: PATCH: sysinstall to remove userconfig code In-Reply-To: To: John Baldwin Date: Tue, 13 Nov 2001 22:03:01 +0100 (CET) Cc: jkh@FreeBSD.org, current@FreeBSD.org, Makoto Matsushita Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 John Baldwin wrote: > On 13-Nov-01 Cyrille Lefevre wrote: > > Makoto Matsushita wrote: > >> > >> Userconfig was gone in 5-current, so we can safely remove kget() from > >> sysinstall. Attached below is a patch to do (kget.c should be remove > >> also). > > > > I don't know -current. what is the feature which replace kget ? > > does boot -c (or whatever) still exists ? is it possible to > > edit .hints at boot time ? > > You can use kenv and just save the ones starting with 'hint' to kernel.conf. > kenv dumps the entire kernel environment. We still need a utility written in well, kenv is a userland program (which also exists under -stable... forgot about it) but it is really not comparable to boot -c ! I don't remember if I already use sysinstall to change any kernel value ? > Forth that the loader can run for the user to modify the hints in the > environment. not for me ;^) thanks anyway for the answer. Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 13: 4:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 721AC37B422 for ; Tue, 13 Nov 2001 13:04:42 -0800 (PST) Received: (qmail 52043 invoked from network); 13 Nov 2001 21:04:41 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2001 21:04:41 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111132103.fADL32L53365@gits.dyndns.org> Date: Tue, 13 Nov 2001 13:04:41 -0800 (PST) From: John Baldwin To: Cyrille Lefevre Subject: Re: PATCH: sysinstall to remove userconfig code Cc: Makoto Matsushita , current@FreeBSD.org, jkh@FreeBSD.org 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 13-Nov-01 Cyrille Lefevre wrote: > John Baldwin wrote: >> On 13-Nov-01 Cyrille Lefevre wrote: >> > Makoto Matsushita wrote: >> >> >> >> Userconfig was gone in 5-current, so we can safely remove kget() from >> >> sysinstall. Attached below is a patch to do (kget.c should be remove >> >> also). >> > >> > I don't know -current. what is the feature which replace kget ? >> > does boot -c (or whatever) still exists ? is it possible to >> > edit .hints at boot time ? >> >> You can use kenv and just save the ones starting with 'hint' to kernel.conf. >> kenv dumps the entire kernel environment. We still need a utility written >> in > > well, kenv is a userland program (which also exists under -stable... > forgot about it) but it is really not comparable to boot -c ! > I don't remember if I already use sysinstall to change any kernel value ? kenv is what replaces kget in current. The boot -c part is the Forth program. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 13:14:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailx.netdtw.com (102bus45.tampabay.rr.com [24.94.102.45]) by hub.freebsd.org (Postfix) with ESMTP id E704D37B405 for ; Tue, 13 Nov 2001 13:14:29 -0800 (PST) Received: from localhost (steve@localhost) by mailx.netdtw.com (8.11.4/8.11.4) with ESMTP id fADLEjR47197 for ; Tue, 13 Nov 2001 16:14:45 -0500 (EST) (envelope-from steve@mailx.netdtw.com) Date: Tue, 13 Nov 2001 16:14:44 -0500 (EST) From: Steven J Corso To: Subject: Building a Machine Message-ID: <20011113161147.C47109-100000@mailx.netdtw.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 Is there a problem with building a new freebsd current system of the disk set? I do not see to be able to accomplish this due to the fact that none of the file systems mount (except root) as part of the configuration setup process. I have had this problem with 11/07/01, 11/10/01, & 11/11/01. Is there a work-around for this? Thank you, Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 13:36: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id CED2337B416 for ; Tue, 13 Nov 2001 13:35:53 -0800 (PST) Received: from fwd01.sul.t-online.de by mailout05.sul.t-online.de with smtp id 163lDg-0003bt-06; Tue, 13 Nov 2001 22:35:48 +0100 Received: from twoflower.liebende.de (320072111332-0001@[217.80.121.178]) by fwd01.sul.t-online.com with esmtp id 163lDb-1Ro7KCC; Tue, 13 Nov 2001 22:35:43 +0100 Subject: Re: struct thread From: Jan.Stocker@t-online.de (Jan Stocker) To: Julian Elischer Cc: freebsd-current@FreeBSD.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1005687275.738.32.camel@twoflower> Mime-Version: 1.0 X-Mailer: Evolution/0.15 (Preview Release) Date: 13 Nov 2001 20:34:55 -0100 X-Sender: 320072111332-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 Wine includes sys/user.h which includes sys/proc.h. The configure skript determines the existence, but it isnt really needed to compile.... Maybe other systems defines here some needful stuff which is included somewhere else in FreeBSD? Jan On Tue, 2001-11-13 at 21:32, Julian Elischer wrote: > The trouble is that proc.h is not supposed to be exporting anything to > userland.. (with the exception of hacks like 'ps' but they are a > special category. > > It is kernel internal definitions.. > > Why is wine including it? > If there is something in it that is needed by wine then we need to think > about why it needs a kernel internal definition, and maybe whether > we shouldn't move it somewhere else that IS exported.. > > > On Tue, 13 Nov 2001, Jan Stocker wrote: > > > FYI: Ive posted an article to comp.emulators.ms-windows.wine about compiling > > errors for wine. This is caused by an redefinition of "struct thread". This > > is the state at present: > > > > > > > > From: kargls@home.com (Steven G. Kargl) > > Subject: Re: Compile errors with FreeBSD 5.0 > > Newsgroups: comp.emulators.ms-windows.wine > > > > In article , > > Ove Kaaven writes: > > > > > >> Jan Stocker wrote: > > >> > Hi, > > >> > the current version of FreeBSD (5.0) has a common header which defines > > >> > struct thread, so there will be an redefinition and nothing works. I > > >> > think you shall rename your stuff from thread.h to something like > > wine_thre > > >> > to get out of this trouble. > > > > > > I'd rather say that the problem is FreeBSD. System headers should not > > > pollute the namespace of applicatio. The glibc headers take great care to > > > avoid polluting the namespace, but FreeBSD is starting to look like it > > > thinks that it can define any common name, and if there's a collision > > > because of that carelessness, they tell all the apps to rename their > > > symbols, instead of fixing the OS. > > > > Can you elaborate? The application is pulling in the system > > header sys/proc.h where struct thread is defined. If an > > application purposely pulls in a system header file, how can > > the system header pollute the namespace of the application > > when the applications requests the information in that header? > > > > > > 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 Tue Nov 13 13:51:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 4BCAD37B405; Tue, 13 Nov 2001 13:51:53 -0800 (PST) Received: from fledge.watson.org (ak82hjs7hex92j@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fADLphB54185; Tue, 13 Nov 2001 16:51:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 13 Nov 2001 16:51:42 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Baldwin Cc: "Crist J. Clark" , current@FreeBSD.org, Alexander Leidinger Subject: Re: daily run output & passwd diff In-Reply-To: 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 Mon, 12 Nov 2001, John Baldwin wrote: > > What if someone comments out a line in the password file of a user? > Then this won't hide that password. When this originally went in, it > took a long while to get a sed line people were happy with. Replacing > the version number is a minor thing, but getting it to work perfectly > may be a bit difficult. If you do this, I'd rather you make sed handle > the $FreeBSD$ case as a completely separate case, so something like: sed > -e '/\$FreeBSD\$/; //s/blah blah/blah/' or some such (I forget how sed > does multiple expressions). My temptation would actually be to ignore any commented lines in either file for the purposes of the diff. For the purposes of security checking, you care mostly about the uncommented lines. This would allow the script to exclude content when it didn't understand its semantics (and hence might risk revealing information it wasn't intended to). Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 13:55:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 2D3AC37B420 for ; Tue, 13 Nov 2001 13:55:19 -0800 (PST) Received: from fledge.watson.org (ak82hjs7hex92j@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fADLt5B54251; Tue, 13 Nov 2001 16:55:05 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 13 Nov 2001 16:55:05 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mathias.Picker@virtual-earth.de Cc: current@freebsd.org Subject: Re: loader from Nov 13 reboots instantly In-Reply-To: <20011113183149.641BC37B416@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 It's probably the awk bug. You need to use /boot/loader.old to boot the system, build and install a fresh awk (gnu awk), then build and install a fresh loader. You don't get bitten by this until the second upgrade after the bad awk version was introduced, since the awk used to build the loader is the system's native awk, not the awk in the build tree. This probably needs to be changed so that awk is a buildtool, and one is built early to use when building the loader. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Tue, 13 Nov 2001 Mathias.Picker@virtual-earth.de wrote: > I just rebuild my -current system.=20 >=20 > On executing /boot/loader the system rebooted instantly.... I have no > idea what kind of debugging infos I might send, so I send the dmesg as a > first idea (booted with loader.old). The system never gave me any > troubles, I'm recompiling -current about once every two weeks and never > ran into problems. >=20 > loader/main.c identifies as: =20 > src/sys/boot/i386/loader/main.c,v 1.25 2001/11/05 19:03:01 jhb Exp >=20 >=20 >=20 > 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-CURRENT #21: Tue Nov 13 17:51:39 CET 2001 > mathiasp@mp.virtual-earth.de:/usr/obj/usr/src/sys/MP > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0430000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04300a8. > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 350797159 Hz > CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x652 Stepping =3D 2 > Features=3D0x183f9ff T,PSE36,MMX,FXSR> > real memory =3D 268423168 (262132K bytes) > avail memory =3D 256774144 (250756K bytes) > Pentium Pro MTRR support enabled > Using $PIR table, 8 entries at 0xc00f0d10 > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: power button is handled as a fixed feature programming model. > Timecounter "ACPI" frequency 3579545 Hz > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > acpi_cpu0: on acpi0 > acpi_button0: on acpi0 > acpi_pcib0: port 0xcf8-0xcff on acpi0 > pci0: on acpi_pcib0 > agp0: mem 0xe4000000-0xe7ffff= ff at d > evice 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > 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 > pci0: at device 4.2 (no driver attached) > intpm0: port 0xe800-0xe80f ir= q 9 at=20 > device 4.3 on pci0 > intpm0: I/O mapped e800 > intpm0: intr IRQ 9 enabled revision 0 > smbus0: on intsmb0 > smb0: on smbus0 > intpm0: PM I/O mapped e400=20 > fxp0: port 0xb000-0xb01f mem 0xdc000000= -0xdc0f > ffff,0xdf000000-0xdf000fff irq 5 at device 7.0 on pci0 > fxp0: Ethernet address 00:e0:18:90:02:74 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcm0: port 0xa800-0xa83f irq 5 at device 10.0 on pci0 > bktr0: mem 0xde000000-0xde000fff irq 10 at device 11.0 on= pci0 > bti2c0: > iicbb0: on bti2c0 > iicbus0: on iicbb0 master-only > iicsmb0: on iicbus0 > smbus1: on iicsmb0 > smb1: on smbus1 > smbus2: on bti2c0 > smb2: on smbus2 > bktr0: Hauppauge Model 61324 D129 > bktr0: Detected a MSP3410D-B4 at 0x80 > bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo, remote= contro > l. > pci0: at device 11.1 (no driver attached) > fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0 port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > 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 > ata-: ata0 already exists, skipping it > ata-: ata1 already exists, skipping it > atkbdc-: atkbdc0 already exists, skipping it > fdc-: fdc0 already exists, skipping it > ppc-: ppc0 already exists, skipping it > sio-: sio0 already exists, skipping it > sio-: sio1 already exists, skipping it > sc-: sc0 already exists, skipping it > vga-: vga0 already exists, skipping it > orm0:


Hello! I = am writing=20 to tell you about a great web site to visit. The name of the site = is Teen=20 Graffiti, and you can find it at http://www.teengraffiti.com= . This site has many = opportunities=20 and resources for parents and teens. So, Check It Out!!!=20

In September, the unthinkable = happened. Many=20 lives were lost and many more were changed forever in the = worst=20 terrorist attack ever to occur on American soil. Our deepest = sympathies go=20 out to the families affected by this tragedy. Americans of all = colors and=20 creeds have come together under the flag and still more around = their=20 spiritual beliefs in the wake of this terrible event.

Teen = Graffiti=20 recognizes Americans express their beliefs and their allegiance to = the=20 flag in many different ways and has developed a symbolic = expression=20 capturing the essence of love for God and country. We have = produced=20 T-shirts bearing a cross and an American flag in three different = designs.=20 Please visit us at our website at http://www.teengraffiti.com to = view and purchase the T-shirt that is right for you. =


Help With=20 Homework!
Need help with homework or a class = project?=20 Teen Graffiti has added a page to its site to give you = the extra help=20 you need for nearly every subject. Visit our Homework Help Page = at
http://www.teengraffit= i.com/homework.html=20 today!


Your Input=20 Really Does Make a Difference!
We need your = input on=20 the following topics: Plans for the New Year (2002), America's = Security,=20 Proper Diet of Teens, etc. To participate in our = questionnaire, click=20 http://www.teengraffiti= .com/question.htm 
to=20 give us your input.


Just in Time=20 for the Holidays!!!
Want to beat the holiday = rush?=20 Tired of long lines and short tempers while shopping? Want a=20 easier way to get fabulous holiday gifts? Teen Graffiti is = here to=20 help. We have added a Virtual Mall to our website to make = your=20 holiday shopping easier and more convenient. Check out our website = at http://www.teengraffiti.com, = and=20 shop for family and friends at our new virtual mall. It is a great = way 
to shop!


Special thanks to all of you = for writing=20 to us. We love hearing from our visitors. Please continue to = write to=20 us and let us know what you think about Teen Graffiti. We welcome = all=20 comments and suggestions.

Happy Holidays,

Your = Friends &=20 Staff at Teen Graffiti
http://www.teengraffiti.com


If you wish to be removed = from this=20 mailing list, please click below:
http://www.teengraffiti.com/unsubscribe.html

Copyright 2001 by Teen Graffiti, All = rights=20 reserved. This publication may not be reproduced, stored in a = retrieval=20 system or transmitted in any form or by any means, without the = written=20 permission of the publisher of Teen Graffiti. Privacy Policy/Terms & = Conditions=20

------=_NextPart_000_0237_01C16C67.09F3F9E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 15:31:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 958F337B417; Tue, 13 Nov 2001 15:31:32 -0800 (PST) Received: from dialup-209.244.104.77.dial1.sanjose1.level3.net ([209.244.104.77] helo=blossom.cjclark.org) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 163n1d-0002tT-00; Tue, 13 Nov 2001 15:31:29 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fADNV3Y63102; Tue, 13 Nov 2001 15:31:03 -0800 (PST) (envelope-from cjc) Date: Tue, 13 Nov 2001 15:31:02 -0800 From: "Crist J. Clark" To: John Baldwin Cc: Robert Watson , current@FreeBSD.ORG, Alexander Leidinger Subject: Re: daily run output & passwd diff Message-ID: <20011113153102.B61915@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Tue, Nov 13, 2001 at 02:31:48PM -0800 X-URL: http://people.freebsd.org/~cjc/ 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 Tue, Nov 13, 2001 at 02:31:48PM -0800, John Baldwin wrote: > > On 13-Nov-01 Robert Watson wrote: > > > > On Tue, 13 Nov 2001, John Baldwin wrote: > > > >> > My temptation would actually be to ignore any commented lines in either > >> > file for the purposes of the diff. For the purposes of security checking, > >> > you care mostly about the uncommented lines. This would allow the script > >> > to exclude content when it didn't understand its semantics (and hence > >> > might risk revealing information it wasn't intended to). > >> > >> So if some (admittedly weird) sysadmin temporarily comments out a > >> password line then the next day we will broadcast that crypted password > >> in plaintext e-mail? > > > > Not sure I follow. I was suggesting that any line beginning with '#' be > > excluded from the diffing, since the script can't know if information in > > the comment is sensitive or not, and therefore can't censor it. > > > > I.e., the conceptual equivilent of: > > > > grep -v '^#' master.passwd > master.passwd.tmp > > grep -v '^#' master.passwd.bak > master.passwd.bak.tmp > > diff -u master.passwd.bak master.passwd > > > > If an entry was commented out, then uncommented, then both events would > > show up, just as removal/addition. > > > > I could be missing something, of course :-). > > Oh. Hmm. That could work I suppose... Index: /export/current/src/etc/periodic/daily/200.backup-passwd =================================================================== RCS file: /export/ncvs/src/etc/periodic/daily/200.backup-passwd,v retrieving revision 1.9 diff -u -r1.9 200.backup-passwd --- /export/current/src/etc/periodic/daily/200.backup-passwd 11 Nov 2001 07:15:19 -0000 1.9 +++ /export/current/src/etc/periodic/daily/200.backup-passwd 13 Nov 2001 23:27:50 -0000 @@ -41,8 +41,8 @@ then [ $rc -lt 1 ] && rc=1 echo "$host passwd diffs:" - diff $bak/master.passwd.bak /etc/master.passwd |\ - sed 's/^\([<>] [^#][^:]*\):[^:]*:/\1:(password):/' + diff -I '^#' $bak/master.passwd.bak /etc/master.passwd |\ + sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' mv $bak/master.passwd.bak $bak/master.passwd.bak2 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 fi Good for everyone? The only odd thing about this is that the cmp(1) that causes this code to be executed can find differences that the diff(1) will ignore. I think this is a feature. You still get your old master.passwd(5) file backed up whenever there is _any_ change, but you get shown that nothing security-wise has changed with the empty diff(1). But it may be confusing to some. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 18:43:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id D00B837B416; Tue, 13 Nov 2001 18:43:40 -0800 (PST) Received: from hades.hell.gr (patr530-a128.otenet.gr [212.205.215.128]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fAE2hRM07653; Wed, 14 Nov 2001 04:43:28 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAE2hQn07118; Wed, 14 Nov 2001 04:43:26 +0200 (EET) (envelope-from charon@labs.gr) Date: Wed, 14 Nov 2001 04:43:25 +0200 From: Giorgos Keramidas To: cjclark@alum.mit.edu Cc: John Baldwin , Robert Watson , current@FreeBSD.ORG, Alexander Leidinger Subject: Re: daily run output & passwd diff Message-ID: <20011114024325.GA7072@hades.hell.gr> References: <20011113153102.B61915@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011113153102.B61915@blossom.cjclark.org> User-Agent: Mutt/1.3.23.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 2001-11-13 15:31:02, Crist J. Clark wrote: > > echo "$host passwd diffs:" > - diff $bak/master.passwd.bak /etc/master.passwd |\ > - sed 's/^\([<>] [^#][^:]*\):[^:]*:/\1:(password):/' > + diff -I '^#' $bak/master.passwd.bak /etc/master.passwd |\ > + sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' > mv $bak/master.passwd.bak $bak/master.passwd.bak2 > cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 > fi This version looks great. I'm not sure if you need to ignore lines that have whitespace before the initial '#' character, but this one is already good enough :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 19:11:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by hub.freebsd.org (Postfix) with ESMTP id 72AB637B405 for ; Tue, 13 Nov 2001 19:11:17 -0800 (PST) Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate.mot.com (motgate 2.1) with ESMTP id UAA09031 for ; Tue, 13 Nov 2001 20:11:16 -0700 (MST)] Received: [from latour.rsch.comm.mot.com (latour.rsch.comm.mot.com [145.1.80.116]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id UAA12086 for ; Tue, 13 Nov 2001 20:11:16 -0700 (MST)] Received: (from rittle@localhost) by latour.rsch.comm.mot.com (8.11.6/8.11.4) id fAE3BFX14844; Tue, 13 Nov 2001 21:11:15 -0600 (CST) (envelope-from rittle) Date: Tue, 13 Nov 2001 21:11:15 -0600 (CST) From: Loren James Rittle Message-Id: <200111140311.fAE3BFX14844@latour.rsch.comm.mot.com> To: current@freebsd.org In-reply-to: (message from Daniel Eischen on Sat, 10 Nov 2001 10:09:14 -0500 (EST)) Subject: Re: Report on FreeBSD 4.4 pthread implementation verses boehm-gc Reply-To: rittle@labs.mot.com References: 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 article , Daniel Eischen writes: > [ Followups to -current ] >> [...] However, this work has uncovered either a rare race condition >> in the 4.X pthread implementation (also seen on a current 5.0 >> system) or a bad assumption in the GC signal code (abstracted >> below). [...] > Try the following patch; this is to -current, you'll have to massage > it a bit for -stable (Hint: s/curthread/_thread_run/ in -stable). I have added Daniel's patch to my 4.4-STABLE tree (converting it as he suggested) and rebuilt libc_r.so.4. I can confirm (1) that the test case I posted now operates fine; (2) that the hack to ignore the spurious EINTR return from pthread_join() in boehm-gc is no longer required; and (3) that the more complex test case runs, on average, about 200-400 complete test cycles without deadlock compared to the past rate of deadlock of approximately 1 out of every 6-12 cycles. The rarer deadlock is still being investigated but it looks like a different problem than that addressed by Daniel's patch. I will post another test case or more information (to -hackers) once I have it. Great work Daniel. I (and future libjava users) thank you. Regards, Loren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 19:34:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id D97B037B416; Tue, 13 Nov 2001 19:34:53 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 79FD114C2E; Wed, 14 Nov 2001 04:34:52 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin Cc: Julian Elischer , freebsd-current@FreeBSD.ORG, Steve Kargl , Garrett Wollman Subject: Re: namespace pollution with struct thread? References: From: Dag-Erling Smorgrav Date: 14 Nov 2001 04:34:51 +0100 In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 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 John Baldwin writes: > On 12-Nov-01 Julian Elischer wrote: > > On the other hand we might conceivably be able to > > stop the export from the kernel of this struct type. > Not unless we stop exporting struct proc since each proc has an > embedded thread. We don't really need to export struct proc now that we have struct kinfo_proc, do we? The few userland libraries and programs that still need it (basically libkvm and gdb - libkvm consumers such as top only need to have it declared, not defined) could define something like _NEED_STRUCT_PROC before including . One other thing worth pointing out is that there is no reason for to include . It just needs to declare struct proc as an opaque structure. Also, currently pulls in a lot of other headers such as and that are needed only because depends on them. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 19:58:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from firebat.bushong.net (c128625-a.frmt1.sfba.home.com [24.176.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 7AFF737B405; Tue, 13 Nov 2001 19:58:43 -0800 (PST) Received: (from dbushong@localhost) by firebat.bushong.net (8.11.6/8.11.6) id fAE3waf36649; Tue, 13 Nov 2001 19:58:36 -0800 (PST) (envelope-from dbushong) Date: Tue, 13 Nov 2001 19:58:36 -0800 From: David Bushong To: Thomas Quinot Cc: Stijn Hoop , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011113195836.T21380@bushong.net> References: <20011107155735.B30053@cuivre.fr.eu.org> <20011108104243.A30845@cuivre.fr.eu.org> <20011113115105.E70845@pcwin002.win.tue.nl> <20011113122529.B387@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011113122529.B387@cuivre.fr.eu.org> User-Agent: Mutt/1.3.23i X-Floating-Sheep-Port: 0xbaa 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 Though this is sure to invoke "_you_ try it and tell _us_"... Anyone gotten tosha to work with this? Since cdd broke and dagrab is worthless quality-wise, AFAICT, and the cdparanoia port to *BSD isn't done... I'm left without a good way to rip. --David Bushong On Tue, Nov 13, 2001 at 12:25:30PM +0100, Thomas Quinot wrote: > Le 2001-11-13, Stijn Hoop écrivait : > > > Just curious, but how is the patch progressing? > > For the moment I am expecting feedback from the testers who have > reported problems booting with the patch (esp. on SMP machines). > > > Can I try this out on a -STABLE system somehow? > > Yes, the patch available from > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > is against -STABLE. > > BTW, I have succesfully used it this week-end for playing DVDs with > xine and mplayer. > > Thomas. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" 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 Tue Nov 13 20: 0:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id D5ED637B417 for ; Tue, 13 Nov 2001 20:00:09 -0800 (PST) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id TAA01258 for ; Tue, 13 Nov 2001 19:57:36 -0800 (PST) Message-ID: <3BF1EB79.4979A23A@elischer.org> Date: Tue, 13 Nov 2001 19:56:45 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: current@freebsd.org Subject: USB and -current Content-Type: text/plain; charset=iso-8859-2 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 I haven't been able to find the usb mailing list.... where's it gone? I've been trying ot run some USB programs specifically gphoto2 and I came to the conclusion that there may be some incompatibility in the libusb layer.. since then I discovered that there are TWO libusb's.. One from NetBSD and one from the world of pinguins (Actually sourcforge) It seems to me that our libusb needs to be called libusb-hid since it only supports the HID compatible devices and the one at sourceforge should probably be called libusb. Has anyone managed to get the libusb (gpl) to work under freeBSD -current? More specifically has anyone managed to get the gphoto2 library to work? julian -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 20:40:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 20F9F37B405; Tue, 13 Nov 2001 20:40:13 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id UAA01391; Tue, 13 Nov 2001 20:32:15 -0800 (PST) Date: Tue, 13 Nov 2001 20:32:14 -0800 (PST) From: Julian Elischer To: Dag-Erling Smorgrav Cc: John Baldwin , freebsd-current@FreeBSD.ORG, Steve Kargl , Garrett Wollman Subject: Re: namespace pollution with struct thread? In-Reply-To: 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 14 Nov 2001, Dag-Erling Smorgrav wrote: > > One other thing worth pointing out is that there is no reason for > to include . It just needs to declare struct > proc as an opaque structure. Also, currently pulls in a > lot of other headers such as and that are > needed only because depends on them. In this case it doesn't even need to include user.h it still compiles and runs without including it.... > > DES > -- > Dag-Erling Smorgrav - des@ofug.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 20:43:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 00CB137B405 for ; Tue, 13 Nov 2001 20:43:29 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fAE4hSM18632 for ; Tue, 13 Nov 2001 20:43:28 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id CCB8C38CC; Tue, 13 Nov 2001 20:43:28 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Julian Elischer Cc: current@FreeBSD.ORG Subject: Re: USB and -current In-Reply-To: <3BF1EB79.4979A23A@elischer.org> Date: Tue, 13 Nov 2001 20:43:28 -0800 From: Peter Wemm Message-Id: <20011114044328.CCB8C38CC@overcee.netplex.com.au> 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 Julian Elischer wrote: > I haven't been able to find the usb mailing list.... > where's it gone? > > I've been trying ot run some USB programs > specifically gphoto2 > and I came to the conclusion that there may be some incompatibility > in the libusb layer.. > > since then I discovered that there are TWO libusb's.. > > One from NetBSD and one from the world of pinguins (Actually sourcforge) > > It seems to me that our libusb needs to be called libusb-hid > since it only supports the HID compatible devices and the one at sourceforge > should probably be called libusb. > > Has anyone managed to get the libusb (gpl) to work under freeBSD -current? > More specifically has anyone managed to get the gphoto2 library to work? Yes. There are fundamental differences between our usb kernel stack and gphoto's assumptions. I know of one person who has made it work, I think it was Daniel O'Connor (If I remember the name right). The biggest problem was that you have to open *two* fd's to the camera (one for send, one for recieve) vs. the single fd that serial and linux use. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 13 21: 0:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 88A0537B405; Tue, 13 Nov 2001 21:00:41 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA02043; Wed, 14 Nov 2001 16:00:28 +1100 Date: Wed, 14 Nov 2001 15:59:14 +1100 (EST) From: Bruce Evans X-X-Sender: To: Dag-Erling Smorgrav Cc: John Baldwin , Julian Elischer , , Steve Kargl , Garrett Wollman Subject: Re: namespace pollution with struct thread? In-Reply-To: Message-ID: <20011114154741.T8595-100000@delplex.bde.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 On 14 Nov 2001, Dag-Erling Smorgrav wrote: > One other thing worth pointing out is that there is no reason for > to include . It just needs to declare struct > proc as an opaque structure. I tried removing it a moth or two ago, but gave up. There was too much secondary namespace pollution that should be cleaned up first. > Also, currently pulls in a > lot of other headers such as and that are > needed only because depends on them. These are needed for too (except includes them itself). The struct mtx in is one of the main sources of secondary pollution. struct ucred insn't inside the _KERNEL ifdef because a few parts of userland still need it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 1: 3: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from newsguy.com (smtp.newsguy.com [209.155.56.71]) by hub.freebsd.org (Postfix) with ESMTP id 76BA437B41A; Wed, 14 Nov 2001 01:03:04 -0800 (PST) Received: from newsguy.com (ppp002-bsace7002.telebrasilia.net.br [200.181.81.2]) by newsguy.com (8.9.1a/8.9.1) with ESMTP id BAA97917; Wed, 14 Nov 2001 01:03:01 -0800 (PST) Message-ID: <3BF234BE.DD0DC4B6@newsguy.com> Date: Wed, 14 Nov 2001 07:09:18 -0200 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en,pt-BR,pt,en-GB,en-US,ja MIME-Version: 1.0 To: Robert Watson Cc: Mathias.Picker@virtual-earth.de, current@FreeBSD.ORG Subject: Re: loader from Nov 13 reboots instantly References: 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 Robert Watson wrote: > > It's probably the awk bug. You need to use /boot/loader.old to boot the > system, build and install a fresh awk (gnu awk), then build and install a > fresh loader. > > You don't get bitten by this until the second upgrade after the bad awk > version was introduced, since the awk used to build the loader is the > system's native awk, not the awk in the build tree. This probably needs > to be changed so that awk is a buildtool, and one is built early to use > when building the loader. Is Perl a build tool? Awk was originally introduced when compiling FICL so that boot wouldn't depend on that Evil Thing (Perl). But standard FICL distribution uses a perl script instead of a awk one. OTOH, our awk script removes more white space than the perl one, but that can easily be corrected. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net wow regex humor... I'm a geek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 3:23:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from vaio.aviaport.ru (vaio.aviaport.ru [217.69.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 2AFFF37B405 for ; Wed, 14 Nov 2001 03:23:36 -0800 (PST) Received: by vaio.aviaport.ru (Postfix, from userid 1001) id 315B7E2C97; Wed, 14 Nov 2001 14:23:44 +0300 (MSK) Date: Wed, 14 Nov 2001 14:23:43 +0300 From: Juriy Goloveshkin To: freebsd-current@freebsd.org Subject: Is mozilla broken? Message-ID: <20011114112343.GA47837@aviaport.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.2i 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 Is mozilla broken or it is a local problem? CURRENT date is 14 nov 2001. All ports was rebuild a day ago with CFLAGS=-O2 -pipe, CPUTYPE=p3. I've tried to build mozilla with CFLAGS=-O -pipe without CPUTYPE the result is: ... Building deps for nsres.c cc -o nsres.o -c -DOSTYPE=\"FreeBSD5\" -DOSARCH=\"FreeBSD\" -DOJI -DMEMMOVE -D__ DBINTERFACE_PRIVATE -I./../include -I../../dist/include -I../../dist/include - I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr -I/usr/local/include -I/ usr/local/include -I/usr/local/include -I/usr/X11R6/include -fPIC -I/usr/X11R 6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-alig n -Wno-long-long -pipe -O -pipe -DNDEBUG -DTRIMMED -I/usr/X11R6/include -I/usr /X11R6/include -include ../../config-defs.h -DMOZILLA_CLIENT nsres.c In file included from /usr/include/sys/types.h:45, from /usr/ports/www/mozilla/work/mozilla/dist/include/nspr/obsolete/protypes.h:83, from /usr/ports/www/mozilla/work/mozilla/dist/include/nspr/prtypes.h:482, from ../include/mcom_db.h:82, from ../include/nsres.h:4, from nsres.c:3: /usr/include/sys/cdefs.h:66: warning: `__CONCAT' redefined ../include/cdefs.h:108: warning: this is the location of the previous definition In file included from nsres.c:10: /usr/include/malloc.h:3: #error " has been replaced by " nsres.c: In function `GenKeyData': nsres.c:55: warning: implicit declaration of function `free' nsres.c:69: warning: implicit declaration of function `malloc' gmake[2]: *** [nsres.o] Error 1 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/dbm/src' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/dbm' gmake: *** [install] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. *** Error code 1 Stop in /usr/ports/www/mozilla. *** Error code 1 Stop in /usr/ports/www/mozilla. -- bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 5:52:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from kitkat.hotpop.com (kitkat.hotpop.com [204.57.55.30]) by hub.freebsd.org (Postfix) with ESMTP id B131537B417 for ; Wed, 14 Nov 2001 05:52:14 -0800 (PST) Received: from hotpop.com (unknown [204.57.55.31]) by kitkat.hotpop.com (Postfix) with SMTP id E43E231A79 for ; Wed, 14 Nov 2001 13:52:07 +0000 (UTC) Received: from 11 (unknown [202.98.16.2]) by zagnut.hotpop.com (Postfix) with SMTP id A24B150024 for ; Wed, 14 Nov 2001 13:52:06 +0000 (UTC) Date: Wed, 14 Nov 2001 21:52:20 +0800 From: S.W.Liu To: current@freebsd.org Subject: How to mount UDF file system? Message-Id: <3BF27714244.7BCESWLIU@smtp.hotpop.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.24 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.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 Hi, the CD RW disc have UDF file system, how to read it under FreeBSD? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 6:29:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp-out.fr.alcove.com (ns1.alcove-solutions.com [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 349EE37B418 for ; Wed, 14 Nov 2001 06:29:19 -0800 (PST) Received: from cedar.alcove-fr ([10.16.10.12]) by smtp-out.fr.alcove.com with esmtp (Exim 3.12 #1 (Debian)) id 16412T-0003rB-00 for ; Wed, 14 Nov 2001 15:29:17 +0100 Received: from nsouch by cedar.alcove-fr with local (Exim 3.12 #1 (Debian)) id 16412X-0006VE-00 for ; Wed, 14 Nov 2001 15:29:21 +0100 Date: Wed, 14 Nov 2001 15:29:21 +0100 From: Nicolas Souchu To: freebsd-current@freebsd.org Subject: I2C, bktr BIG patch Message-ID: <20011114152920.I23732@cedar.alcove-fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.20i Organization: =?iso-8859-1?Q?Alc=F4ve?= =?iso-8859-1?Q?=2C?= http://www.alcove.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 Hi folks, There's a patch a http://www.freebsd.org/~nsouch/download for using SMBus and I2C controllers of recent motherboards. It includes viapm, amdpm and an update of alpm(4). The viapm driver supports VIA 586, 596, 686 chipsets. The amdpm is for AMD760 chipset. These drivers may be used with /usr/ports/sysutils/healthd or other hand made tools to read SDRAM info... (see http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/) The patch also provide a huge update of the I2C framework, especially for dynamic module support. It includes big changes in the bit-banging interface which is used by bktr, lpbb, viapm. Unfortunatly, I could not test the bktr changes... I need volonteers to test the bktr changes before I can commit the patch to -current. The patch is organised as follows: iic-current.diffs shall be applied to sys/ iic_mods.tgz contains the sys/modules/i2c and sys/dev/pm directories. A later trick I have to solve: sys/dev/pm/viapm-686a.diff shall also be applied to sys/dev/pm/viapm.c On the TODO list: - apply viapm-686a.diff to viapm.c - move sys/pci/*pm.c to sys/dev/pm - Test/fix bktr with new bit-banging interface - Commit everything to -current - Write manpage for viapm - Include the amdpm manpage Thanks in advance, Nicholas -- Alcôve Technical Manager - Nicolas.Souchu@fr.alcove.com - http://www.alcove.com FreeBSD Developer - nsouch@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 7:26:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from enigma.whacky.net (enigma.whacky.net [194.109.204.120]) by hub.freebsd.org (Postfix) with ESMTP id D270E37B416 for ; Wed, 14 Nov 2001 07:26:07 -0800 (PST) Received: (from stephanb@localhost) by enigma.whacky.net (8.11.6/8.11.6) id fAEFQ0X75782 for current@freebsd.org; Wed, 14 Nov 2001 16:26:00 +0100 (CET) (envelope-from stephanb) Date: Wed, 14 Nov 2001 16:26:00 +0100 From: Stephan van Beerschoten To: current@freebsd.org Subject: bootloader / assert() failed Message-ID: <20011114162600.A75716@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 recently did a `make world` with the cvs source as of 8:00 CET and I tried to boot from it. .. unfortunately this update rendered my machine unbootable. I have a multiboot machine with Windows98, and as soon as I choose to boot FreeBSD (F3 for me) it starts the loader and then it fails with an assert error. I haven't yet been able to write down the exact errormessage, but I wanted to warn people upfront for this possible break in current. I wonder by the way what the correct recovery procedure is for a corrupted loader. with regards, Stephan -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 7:51:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout02.sul.t-online.de (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 57FF837B417 for ; Wed, 14 Nov 2001 07:51:33 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout02.sul.t-online.de with smtp id 1642K4-0006Ut-04; Wed, 14 Nov 2001 16:51:32 +0100 Received: from twoflower.liebende.de (320072111332-0001@[217.80.121.147]) by fwd06.sul.t-online.com with esmtp id 1642Jk-1UvhkuC; Wed, 14 Nov 2001 16:51:12 +0100 Subject: AMD not running From: Jan.Stocker@t-online.de (Jan Stocker) To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1005753019.633.14.camel@twoflower> Mime-Version: 1.0 X-Mailer: Evolution/0.15 (Preview Release) Date: 14 Nov 2001 14:50:23 -0100 X-Sender: 320072111332-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 My amd wont run... log says: Nov 14 16:35:04 twoflower amd[758]/fatal: unable to register (AMQ_PROGRAM=300019, AMQ_VERSION, tcp) Nov 14 16:35:04 twoflower amd[758]/info: Finishing with status 3 amd is still running as process but doing nothing... and of course amq isnt doing anything... And some weird stuff also happens, when i try to load nfsclient.ko (this was supposed be a bug in the last months) $ kldload /boot/kernel/nfsclient.ko kldload: can't load /boot/kernel/nfsclient.ko: Exec format error Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 8:12: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 2C88237B416 for ; Wed, 14 Nov 2001 08:12:01 -0800 (PST) Received: (qmail 49721 invoked from network); 14 Nov 2001 16:12:00 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Nov 2001 16:12:00 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011114162600.A75716@enigma.whacky.net> Date: Wed, 14 Nov 2001 08:11:59 -0800 (PST) From: John Baldwin To: Stephan van Beerschoten Subject: RE: bootloader / assert() failed Cc: current@freebsd.org 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 14-Nov-01 Stephan van Beerschoten wrote: > I just recently did a `make world` with the cvs source as of 8:00 CET and I > tried to boot from it. > .. unfortunately this update rendered my machine unbootable. > > I have a multiboot machine with Windows98, and as soon as I choose to boot > FreeBSD (F3 for me) it starts the loader and then it fails with an assert > error. > > I haven't yet been able to write down the exact errormessage, but I wanted to > warn people upfront for this possible break in current. I wonder by the way > what the correct recovery procedure is for a corrupted loader. Boot loader.old, then rebuild awk, then rebuild the loader. (Be sure to not overwrite loader.old when you install! Maybe copy loader.old to loader.good until you know the new loader works.) This is a result of the awk breakage and is at this point a FAQ on this list. Please keep up with this list if you are running -current. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 8:12:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 0999037B417 for ; Wed, 14 Nov 2001 08:12:53 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA25850; Wed, 14 Nov 2001 08:12:51 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA22863; Wed, 14 Nov 2001 07:58:11 -0800 (PST) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id JAA22257; Wed, 14 Nov 2001 09:12:49 -0700 (MST) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Nov 2001 09:12:49 -0700 Message-ID: From: "Long, Scott" To: "'S.W.Liu'" , current@freebsd.org Subject: RE: How to mount UDF file system? Date: Wed, 14 Nov 2001 09:12:49 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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 This is not possible yet under FreeBSD. I have a UDF work-in-progress at http://people.freebsd.org/~scott/udf, but it cannot do CD-RW yet. -----Original Message----- From: S.W.Liu [mailto:swliu@hotpop.com] Sent: Wednesday, November 14, 2001 6:52 AM To: current@freebsd.org Subject: How to mount UDF file system? Hi, the CD RW disc have UDF file system, how to read it under FreeBSD? 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 Wed Nov 14 8:12:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id C64F537B418 for ; Wed, 14 Nov 2001 08:12:53 -0800 (PST) Received: (from david@localhost) by bunrab.catwhisker.org (8.11.6/8.11.6) id fAEGCkD33115; Wed, 14 Nov 2001 08:12:46 -0800 (PST) (envelope-from david) Date: Wed, 14 Nov 2001 08:12:46 -0800 (PST) From: David Wolfskill Message-Id: <200111141612.fAEGCkD33115@bunrab.catwhisker.org> To: stephanb@whacky.net Subject: Re: bootloader / assert() failed Cc: current@freebsd.org In-Reply-To: <20011114162600.A75716@enigma.whacky.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 >Date: Wed, 14 Nov 2001 16:26:00 +0100 >From: Stephan van Beerschoten >I just recently did a `make world` with the cvs source as of 8:00 CET and I tried to boot from it. > .. unfortunately this update rendered my machine unbootable. >I have a multiboot machine with Windows98, and as soon as I choose to boot FreeBSD (F3 for me) it starts the loader and then it fails with an assert error. For the system that you used to build -CURRENT, what was the date of the sources? (For example, when was the *previous* (successful) build of -CURRENT?) I suspect it's yet another manifestation of the awk problems that have been popping up on -current since near the end of October. >I haven't yet been able to write down the exact errormessage, but I wanted to warn people upfront for this possible break in current. I wonder by the way what the correct recovery procedure is for a corrupted loader. * Mount the file system from which you intend to boot on some machine, read/write. * cd to the boot directory of that file system. * [optional] rename "loader" to something else [in case you want to analyze it, for example]. * Rename "loader.old" to "loader". Put the hardware back in order as necessary, then re-boot. Since you built the system recently, GNU awk is back in /usr/bin/awk, so you should not have a recurrence of this particular problem next time you build the system. Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 8:52:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id C359237B417 for ; Wed, 14 Nov 2001 08:52:40 -0800 (PST) Received: by ada.eu.org (Postfix, from userid 10) id 07C09A817A; Wed, 14 Nov 2001 17:52:38 +0100 (CET) Received: by trillian.rfc1149.net (Postfix, from userid 1000) id B286C1930D9; Wed, 14 Nov 2001 17:52:26 +0100 (CET) Date: Wed, 14 Nov 2001 17:52:26 +0100 To: Jan Stocker Cc: freebsd-current@freebsd.org Subject: Re: AMD not running References: <1005753019.633.14.camel@twoflower> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1005753019.633.14.camel@twoflower> User-Agent: Mutt/1.3.23.1i From: Samuel Tardieu Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.rfc1149.net/sam X-Mail-Processing: Sam's procmail tools X-ICQ: 21547599 X-Sam-Laptop: yes Message-Id: <2001-11-14-17-52-26+trackit+sam@inf.enst.fr> 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 14/11, Jan Stocker wrote: | My amd wont run... log says: | | Nov 14 16:35:04 twoflower amd[758]/fatal: unable to register | (AMQ_PROGRAM=300019, AMQ_VERSION, tcp) | Nov 14 16:35:04 twoflower amd[758]/info: Finishing with status 3 Are you running a portmapper? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 9: 0:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 4044C37B42C for ; Wed, 14 Nov 2001 09:00:28 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id IAA03789; Wed, 14 Nov 2001 08:59:32 -0800 (PST) Date: Wed, 14 Nov 2001 08:59:30 -0800 (PST) From: Julian Elischer To: "S.W.Liu" Cc: current@freebsd.org Subject: Re: How to mount UDF file system? In-Reply-To: <3BF27714244.7BCESWLIU@smtp.hotpop.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 no way yet, On Wed, 14 Nov 2001, S.W.Liu wrote: > Hi, the CD RW disc have UDF file system, how to read it under FreeBSD? > > > 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 Wed Nov 14 9: 8:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id E260537B41A; Wed, 14 Nov 2001 09:08:18 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id fAEH8C194156; Wed, 14 Nov 2001 09:08:12 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Nov 2001 09:08:11 -0800 From: "David O'Brien" To: "Daniel C. Sobral" Cc: Robert Watson , Mathias.Picker@virtual-earth.de, current@FreeBSD.ORG Subject: Re: loader from Nov 13 reboots instantly Message-ID: <20011114090811.B39131@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <3BF234BE.DD0DC4B6@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BF234BE.DD0DC4B6@newsguy.com>; from dcs@newsguy.com on Wed, Nov 14, 2001 at 07:09:18AM -0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 14, 2001 at 07:09:18AM -0200, Daniel C. Sobral wrote: > > This probably needs to be changed so that awk is a buildtool, and one > > is built early to use when building the loader. It doesn't need to be a build tool... unless you want to make 'ls' a build tool also. We had one bump in the road. That is all. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 9: 9:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 233C937B405 for ; Wed, 14 Nov 2001 09:09:30 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id fAEH9E298590; Wed, 14 Nov 2001 09:09:14 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Nov 2001 09:09:14 -0800 From: "David O'Brien" To: Juriy Goloveshkin Cc: freebsd-current@freebsd.org Subject: Re: Is mozilla broken? Message-ID: <20011114090914.C39131@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20011114112343.GA47837@aviaport.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011114112343.GA47837@aviaport.ru>; from juriy@aviaport.ru on Wed, Nov 14, 2001 at 02:23:43PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 14, 2001 at 02:23:43PM +0300, Juriy Goloveshkin wrote: > Is mozilla broken or it is a local problem? ... > /usr/include/malloc.h:3: #error " has been replaced by " Yes, Mozilla is doing wrong things. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 9:16:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 07D2D37B422 for ; Wed, 14 Nov 2001 09:16:33 -0800 (PST) Received: (from david@localhost) by bunrab.catwhisker.org (8.11.6/8.11.6) id fAEHGQG33323 for current@freebsd.org; Wed, 14 Nov 2001 09:16:26 -0800 (PST) (envelope-from david) Date: Wed, 14 Nov 2001 09:16:26 -0800 (PST) From: David Wolfskill Message-Id: <200111141716.fAEHGQG33323@bunrab.catwhisker.org> To: current@freebsd.org Subject: lock order reversal for today's -CURRENT 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 Built & booted today's -CURRENT; saw the following on the console & in /var/log/messages: Nov 14 08:59:25 localhost /boot/kernel/kernel: lock order reversal Nov 14 08:59:25 localhost /boot/kernel/kernel: 1st 0xc0427980 dev_pager create @ /usr/src/sys/vm/device_pager.c:143 Nov 14 08:59:25 localhost /boot/kernel/kernel: 2nd 0xc03feca0 pool mutex @ /usr/src/sys/kern/kern_sx.c:329 For device_pager.c (in dev_pager_alloc()): /* * Lock to prevent object creation race condition. */ sx_xlock(&dev_pager_sx); /* * Look up pager, creating as necessary. */ object = vm_pager_object_lookup(&dev_pager_object_list, handle); For kern_sx.c (in _sx_assert()): switch (what) { case SX_LOCKED: case SX_SLOCKED: ... case SX_XLOCKED: mtx_lock(sx->sx_lock); if (sx->sx_xholder != curthread) printf("Lock %s not exclusively locked @ %s:%d", sx->sx_object.lo_name, file, line); mtx_unlock(sx->sx_lock); break; default: It's the SX_XLOCKED case that's of interest. Sorry, I'm not clueful enough to do much with the code beyond this "pointing & grunting". But I'm willing to test.... Running FreeBSD m147.whistle.com 5.0-CURRENT FreeBSD 5.0-CURRENT #172: Wed Nov 14 08:37:20 PST 2001 root@localhost:/common/S3/obj/usr/src/sys/LAPTOP_30W i386 Recent CVSup history: freebeast[1] tail /var/log/cvsup-history.log CVSup begin from cvsup14.freebsd.org at Sat Nov 10 03:47:00 PST 2001 CVSup ended from cvsup14.freebsd.org at Sat Nov 10 03:54:07 PST 2001 CVSup begin from cvsup14.freebsd.org at Sun Nov 11 03:47:00 PST 2001 CVSup ended from cvsup14.freebsd.org at Sun Nov 11 03:52:55 PST 2001 CVSup begin from cvsup14.freebsd.org at Mon Nov 12 03:47:00 PST 2001 CVSup ended from cvsup14.freebsd.org at Mon Nov 12 03:52:53 PST 2001 CVSup begin from cvsup14.freebsd.org at Tue Nov 13 03:47:00 PST 2001 CVSup ended from cvsup14.freebsd.org at Tue Nov 13 03:53:11 PST 2001 CVSup begin from cvsup14.freebsd.org at Wed Nov 14 03:47:00 PST 2001 CVSup ended from cvsup14.freebsd.org at Wed Nov 14 03:53:08 PST 2001 (I haven't built much on freebeast today; tried tinkering with BIOS options & made the machine unstable enough that it crashed during the -STABLE buildworld twice this morning. I need to wait 'til I can borrow my spouse's PC monitor to undo that damage. Meanwhile, what I report above is happening on the laptop.) Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 10:14:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 5474A37B405 for ; Wed, 14 Nov 2001 10:14:36 -0800 (PST) Received: (qmail 18832 invoked from network); 14 Nov 2001 18:14:34 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Nov 2001 18:14:34 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111141716.fAEHGQG33323@bunrab.catwhisker.org> Date: Wed, 14 Nov 2001 10:14:34 -0800 (PST) From: John Baldwin To: David Wolfskill Subject: RE: lock order reversal for today's -CURRENT Cc: current@freebsd.org 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 14-Nov-01 David Wolfskill wrote: > Built & booted today's -CURRENT; saw the following on the console & in > /var/log/messages: > > Nov 14 08:59:25 localhost /boot/kernel/kernel: lock order reversal > Nov 14 08:59:25 localhost /boot/kernel/kernel: 1st 0xc0427980 dev_pager > create @ /usr/src/sys/vm/device_pager.c:143 > Nov 14 08:59:25 localhost /boot/kernel/kernel: 2nd 0xc03feca0 pool mutex @ > /usr/src/sys/kern/kern_sx.c:329 This is due to the sx worker locks not using MTX_NOWITNESS with the pool mutex changes. It's not a problem though. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 10:30:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from m1001.hostcentric.net (ecp1.hostcentric.net [209.25.225.253]) by hub.freebsd.org (Postfix) with SMTP id CD62C37B405 for ; Wed, 14 Nov 2001 10:30:08 -0800 (PST) Received: (qmail 7845 invoked by uid 500); 14 Nov 2001 18:30:01 -0000 Received: from unknown (HELO KABA-WORKS) (141.155.132.58) by 0 with SMTP; 14 Nov 2001 18:30:01 -0000 From: "" To: "" Cc: Date: Wed, 14 Nov 01 13:30:06 Eastern Standard Time Subject: Bloody Crisis - The Movie X-Mailer: ExclamationSoft Corporation Mail Version 2.0 X-MSMail-Priority: NORMAL MIME-Version: 1.0 Content-Type: text/html; boundary="----=_ExClAmAtIoNsOfT_MaIl_PaRt_BoUnDaRy" Message-Id: <20011114183008.CD62C37B405@hub.freebsd.org> 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 Bloody Crisis - The Movie

The Crisis Begins Now

Video Director Gerald “Gee Bee” Barclay Makes His Directorial Debut With Bloody Crisis
starring Gano Grills as Black.

To view the movie trailer go to www.bloodycrisis.com

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 11: 1: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id A941737B417; Wed, 14 Nov 2001 11:01:02 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fAEJ12e81627; Wed, 14 Nov 2001 11:01:02 -0800 (PST) (envelope-from dillon) Date: Wed, 14 Nov 2001 11:01:02 -0800 (PST) From: Matthew Dillon Message-Id: <200111141901.fAEJ12e81627@apollo.backplane.com> To: John Baldwin Cc: David Wolfskill , current@FreeBSD.ORG Subject: Re: RE: lock order reversal for today's -CURRENT References: 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 14-Nov-01 David Wolfskill wrote: :> Built & booted today's -CURRENT; saw the following on the console & in :> /var/log/messages: :> :> Nov 14 08:59:25 localhost /boot/kernel/kernel: lock order reversal :> Nov 14 08:59:25 localhost /boot/kernel/kernel: 1st 0xc0427980 dev_pager :> create @ /usr/src/sys/vm/device_pager.c:143 :> Nov 14 08:59:25 localhost /boot/kernel/kernel: 2nd 0xc03feca0 pool mutex @ :> /usr/src/sys/kern/kern_sx.c:329 : :This is due to the sx worker locks not using MTX_NOWITNESS with the pool mutex :changes. It's not a problem though. : :-- : :John Baldwin <>< http://www.FreeBSD.org/~jhb/ Would it make sense for me to add a new MTX flag that disables certain non-applicable warnings? -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 11:57:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 69A3A37B419 for ; Wed, 14 Nov 2001 11:57:19 -0800 (PST) Received: (qmail 21596 invoked from network); 14 Nov 2001 19:57:16 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Nov 2001 19:57:16 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111141901.fAEJ12e81627@apollo.backplane.com> Date: Wed, 14 Nov 2001 11:57:16 -0800 (PST) From: John Baldwin To: Matthew Dillon Subject: Re: RE: lock order reversal for today's -CURRENT Cc: current@FreeBSD.ORG, David Wolfskill 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 14-Nov-01 Matthew Dillon wrote: > >:On 14-Nov-01 David Wolfskill wrote: >:> Built & booted today's -CURRENT; saw the following on the console & in >:> /var/log/messages: >:> >:> Nov 14 08:59:25 localhost /boot/kernel/kernel: lock order reversal >:> Nov 14 08:59:25 localhost /boot/kernel/kernel: 1st 0xc0427980 dev_pager >:> create @ /usr/src/sys/vm/device_pager.c:143 >:> Nov 14 08:59:25 localhost /boot/kernel/kernel: 2nd 0xc03feca0 pool mutex @ >:> /usr/src/sys/kern/kern_sx.c:329 >: >:This is due to the sx worker locks not using MTX_NOWITNESS with the pool >:mutex >:changes. It's not a problem though. >: >:-- >: >:John Baldwin <>< http://www.FreeBSD.org/~jhb/ > > Would it make sense for me to add a new MTX flag that disables certain > non-applicable warnings? Err, that's what MTX_NOWITNESS sort of does. This one is a bit hard, as you need a way to tell witness to ignore the lock orders between the reader writer locks and the smaller locks used in implementing those locks. Using MTX_NOWITNESS on the sx worker locks worked great for this. If the sx locks had their own pool of MTX_NOWITNESS locks that would work fine. They could share this pool with the lockmgr worker locks as well. They shouldn't be used for anything else, however. This is why I wanted to allow for multiple pools. > -Matt > Matthew Dillon > -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 12:36:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout03.sul.t-online.de (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 1212C37B417 for ; Wed, 14 Nov 2001 12:36:57 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout03.sul.t-online.de with smtp id 1646mC-0000j1-06; Wed, 14 Nov 2001 21:36:52 +0100 Received: from twoflower.liebende.de (320072111332-0001@[217.80.121.115]) by fwd07.sul.t-online.com with esmtp id 1646m5-0lW9zcC; Wed, 14 Nov 2001 21:36:45 +0100 Subject: Re: AMD not running From: Jan.Stocker@t-online.de (Jan Stocker) To: Samuel Tardieu Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <2001-11-14-17-52-26+trackit+sam@inf.enst.fr> References: <1005753019.633.14.camel@twoflower> <2001-11-14-17-52-26+trackit+sam@inf.enst.fr> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.15 (Preview Release) Date: 14 Nov 2001 19:36:02 -0100 Message-Id: <1005770162.796.1.camel@twoflower> Mime-Version: 1.0 X-Sender: 320072111332-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 Wed, 2001-11-14 um 17.52 schrieb Samuel Tardieu: > On 14/11, Jan Stocker wrote: > > | My amd wont run... log says: > | > | Nov 14 16:35:04 twoflower amd[758]/fatal: unable to register > | (AMQ_PROGRAM=300019, AMQ_VERSION, tcp) > | Nov 14 16:35:04 twoflower amd[758]/info: Finishing with status 3 > > Are you running a portmapper? No... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 12:41:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id 9C52A37B416 for ; Wed, 14 Nov 2001 12:41:21 -0800 (PST) Received: by ada.eu.org (Postfix, from userid 10) id B85F6A80F3; Wed, 14 Nov 2001 21:41:20 +0100 (CET) Received: by trillian.rfc1149.net (Postfix, from userid 1000) id 2FD431930D9; Wed, 14 Nov 2001 21:41:12 +0100 (CET) Date: Wed, 14 Nov 2001 21:41:11 +0100 To: Jan Stocker Cc: freebsd-current@FreeBSD.ORG Subject: Re: AMD not running References: <1005753019.633.14.camel@twoflower> <2001-11-14-17-52-26+trackit+sam@inf.enst.fr> <1005770162.796.1.camel@twoflower> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1005770162.796.1.camel@twoflower> User-Agent: Mutt/1.3.23.1i From: Samuel Tardieu Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.rfc1149.net/sam X-Mail-Processing: Sam's procmail tools X-ICQ: 21547599 X-Sam-Laptop: yes Message-Id: <2001-11-14-21-41-12+trackit+sam@inf.enst.fr> 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 14/11, Jan Stocker wrote: | | Am Wed, 2001-11-14 um 17.52 schrieb Samuel Tardieu: | > On 14/11, Jan Stocker wrote: | > | > | My amd wont run... log says: | > | | > | Nov 14 16:35:04 twoflower amd[758]/fatal: unable to register | > | (AMQ_PROGRAM=300019, AMQ_VERSION, tcp) | > | Nov 14 16:35:04 twoflower amd[758]/info: Finishing with status 3 | > | > Are you running a portmapper? | | No... You should :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 12:46: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from btclick.com (mta02.btfusion.com [62.172.195.247]) by hub.freebsd.org (Postfix) with ESMTP id EC00C37B405 for ; Wed, 14 Nov 2001 12:46:02 -0800 (PST) Received: from heather.plazza.uk ([213.120.117.63]) by btclick.com (Netscape Messaging Server 4.05) with ESMTP id GMT5OK00.W47; Wed, 14 Nov 2001 20:45:56 +0000 Received: from localhost (localhost [127.0.0.1]) by heather.plazza.uk (8.11.6/8.11.6) with ESMTP id fAEKkX500614; Wed, 14 Nov 2001 20:46:52 GMT (envelope-from n_hibma@webweaving.org) Date: Wed, 14 Nov 2001 20:46:33 +0000 (GMT) From: Nick Hibma X-X-Sender: To: Peter Wemm Cc: Julian Elischer , Subject: Re: USB and -current In-Reply-To: <20011114044328.CCB8C38CC@overcee.netplex.com.au> Message-ID: <20011114204445.K567-100000@heather.plazza.uk> 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 It would be trivial to write a driver, like uscanner, that does the collection of two endpoints into one bidirectional file descriptor. Endpoints are the pipes that USB communicates over, and due to sloppy documentation in the USB spec. implementors of firmware didn't realise that 1-in and 1-out are different endpoints. If 1-in and 1-out would have been used, ugen0.1 could have been used bidirectionally and all would have been well. Nick On Tue, 13 Nov 2001, Peter Wemm wrote: > Julian Elischer wrote: > > I haven't been able to find the usb mailing list.... > > where's it gone? > > > > I've been trying ot run some USB programs > > specifically gphoto2 > > and I came to the conclusion that there may be some incompatibility > > in the libusb layer.. > > > > since then I discovered that there are TWO libusb's.. > > > > One from NetBSD and one from the world of pinguins (Actually sourcforge) > > > > It seems to me that our libusb needs to be called libusb-hid > > since it only supports the HID compatible devices and the one at sourceforge > > should probably be called libusb. > > > > Has anyone managed to get the libusb (gpl) to work under freeBSD -current? > > More specifically has anyone managed to get the gphoto2 library to work? > > Yes. There are fundamental differences between our usb kernel stack and > gphoto's assumptions. I know of one person who has made it work, I think > it was Daniel O'Connor (If I remember the name right). The biggest problem > was that you have to open *two* fd's to the camera (one for send, one for > recieve) vs. the single fd that serial and linux use. > > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-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 Wed Nov 14 13:30:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 1499037B417; Wed, 14 Nov 2001 13:30:26 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fAELUPP91887; Wed, 14 Nov 2001 13:30:25 -0800 (PST) (envelope-from dillon) Date: Wed, 14 Nov 2001 13:30:25 -0800 (PST) From: Matthew Dillon Message-Id: <200111142130.fAELUPP91887@apollo.backplane.com> To: John Baldwin Cc: current@FreeBSD.ORG, David Wolfskill Subject: Re: RE: lock order reversal for today's -CURRENT References: 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 :>:This is due to the sx worker locks not using MTX_NOWITNESS with the pool :>:mutex :>:changes. It's not a problem though. :>: :>:-- :>: :>:John Baldwin <>< http://www.FreeBSD.org/~jhb/ :> :> Would it make sense for me to add a new MTX flag that disables certain :> non-applicable warnings? : :Err, that's what MTX_NOWITNESS sort of does. This one is a bit hard, as you :need a way to tell witness to ignore the lock orders between the reader writer :locks and the smaller locks used in implementing those locks. Using :MTX_NOWITNESS on the sx worker locks worked great for this. If the sx locks :had their own pool of MTX_NOWITNESS locks that would work fine. They could :share this pool with the lockmgr worker locks as well. They shouldn't be used :for anything else, however. This is why I wanted to allow for multiple pools. : :-- : :John Baldwin <>< http://www.FreeBSD.org/~jhb/ I'm not against the concept of multiple pools, but I'm not really for it either. The various mutexes are already far too complex for their own good... look at SX locks, for example. The struct sx is about 8 times as big as it needs to be to implement reasonable functionality. I would scrap the upgrade and downgrade API and I would scrap the condition variables and go with a simple shared/exclusive counter. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 15:31:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta11.onebox.com (mta11.onebox.com [64.68.76.121]) by hub.freebsd.org (Postfix) with ESMTP id E8DAF37B405 for ; Wed, 14 Nov 2001 15:31:28 -0800 (PST) Received: from onebox.com ([10.1.101.6]) by mta11.onebox.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20011114233128.VSPB29441.mta11.onebox.com@onebox.com> for ; Wed, 14 Nov 2001 15:31:28 -0800 Received: from [66.32.40.34] by onebox.com with HTTP; Wed, 14 Nov 2001 15:31:28 -0800 Date: Wed, 14 Nov 2001 15:31:28 -0800 Subject: Re: RE: lock order reversal for today's -CURRENT From: "Glenn Gombert" To: current@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20011114233128.VSPB29441.mta11.onebox.com@onebox.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 Is there a good , current description of how & why the various mutexe's & conditon variables are used for somewhere?? I see what they are doing in the code, but would like to get the big picture of why they are used in one place (and not another type).. Thanks, Glenn G. > I'm not against the concept of multiple pools, but I'm not really > for it either. The various mutexes are already far too complex > for their own good... look at SX locks, for example. The > struct sx is about 8 times as big as it needs to be to implement > reasonable functionality. I would scrap the upgrade and > downgrade API and I would scrap the condition variables > and go with a simple shared/exclusive counter. > > -Matt > Matthew Dillon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 18:15:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 46E7C37B419 for ; Wed, 14 Nov 2001 18:15:56 -0800 (PST) Received: (qmail 19628276 invoked by uid 0); 15 Nov 2001 02:15:53 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 Nov 2001 02:15:53 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fAF2FpA38192; Thu, 15 Nov 2001 03:15:51 +0100 (CET) (envelope-from root) Message-Id: <200111150215.fAF2FpA38192@gits.dyndns.org> Subject: Re: How to mount UDF file system? In-Reply-To: To: "Long, Scott" Date: Thu, 15 Nov 2001 03:15:50 +0100 (CET) Cc: "'S.W.Liu'" , current@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Long, Scott wrote: > This is not possible yet under FreeBSD. I have a UDF work-in-progress at > http://people.freebsd.org/~scott/udf, but it cannot do CD-RW yet. FreeBSD.org - Document not found ! Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 18:17:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id B976F37B418 for ; Wed, 14 Nov 2001 18:17:47 -0800 (PST) Received: (qmail 73761 invoked by uid 3130); 15 Nov 2001 02:17:46 -0000 Date: Wed, 14 Nov 2001 21:17:46 -0500 From: Garrett Rooney To: Cyrille Lefevre Cc: "Long, Scott" , "'S.W.Liu'" , current@freebsd.org Subject: Re: How to mount UDF file system? Message-ID: <20011114211746.C31444@electricjellyfish.net> References: <200111150215.fAF2FpA38192@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111150215.fAF2FpA38192@gits.dyndns.org>; from clefevre@citeweb.net on Thu, Nov 15, 2001 at 03:15:50AM +0100 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 Thu, Nov 15, 2001 at 03:15:50AM +0100, Cyrille Lefevre wrote: > Long, Scott wrote: > > This is not possible yet under FreeBSD. I have a UDF work-in-progress at > > http://people.freebsd.org/~scott/udf, but it cannot do CD-RW yet. > > FreeBSD.org - Document not found ! try http://people.freebsd.org/~scottl/udf -- garrett rooney Unix was not designed to stop you from rooneg@electricjellyfish.net doing stupid things, because that would http://electricjellyfish.net/ stop you from doing clever things. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 18:31:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (zola.noos.net [212.198.2.76]) by hub.freebsd.org (Postfix) with ESMTP id E6A8837B405 for ; Wed, 14 Nov 2001 18:31:46 -0800 (PST) Received: (qmail 22775226 invoked by uid 0); 15 Nov 2001 02:31:45 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.76 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 Nov 2001 02:31:45 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fAF2Vhq38772; Thu, 15 Nov 2001 03:31:43 +0100 (CET) (envelope-from root) Message-Id: <200111150231.fAF2Vhq38772@gits.dyndns.org> Subject: Re: How to mount UDF file system? In-Reply-To: <20011114211746.C31444@electricjellyfish.net> To: Garrett Rooney Date: Thu, 15 Nov 2001 03:31:43 +0100 (CET) Cc: "Long, Scott" , "'S.W.Liu'" , current@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Garrett Rooney wrote: > On Thu, Nov 15, 2001 at 03:15:50AM +0100, Cyrille Lefevre wrote: > > Long, Scott wrote: > > > This is not possible yet under FreeBSD. I have a UDF work-in-progress at > > > http://people.freebsd.org/~scott/udf, but it cannot do CD-RW yet. > > > > FreeBSD.org - Document not found ! > > try http://people.freebsd.org/~scottl/udf works fine, thanks :) Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 14 19:11:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from mbm.mobias.com (mbm.mobias.com [195.22.228.130]) by hub.freebsd.org (Postfix) with ESMTP id A5E9637B419; Wed, 14 Nov 2001 19:10:27 -0800 (PST) Received: from clsmtp.edf.fr (XX-8ZBM2OJ7BWYS [209.134.35.18]) by mbm.mobias.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id V0F0Y69M; Thu, 15 Nov 2001 05:04:04 +0200 Message-ID: <000067cf4f5a$000049c7$00007829@smtp.cityweb.de> To: From: "The Mail Man" Subject: Add to your PlayStation collection for $4 per Game LRVU Date: Wed, 14 Nov 2001 19:06:09 -2000 MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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

COPY ANY DVD MOVIE!
With our revolut= ionary software you can copy virtually
any DVD Movie using your existing equipment! 
Conventional DVD copying equipment can cost tho= usands of $$
Our DVD Wizard cost less than the price of 2 DVD Movies! =

F= ree Live Tech Support With each Order

CLICK HERE To Learn About DVD Wizard!

= CONVERT VHS INTO DVD!
Why pay for a co= py of a movie on DVD that you already
own of VHS???
  Not all movies o= n VHS are available on DVD.
So MAKE Them into a DVD yourself!!  DVD Wizard Will teach you. Our Revolutionary DVD Wizard will help you create DVD's!


Copy DVD Movies An= d Create Your Own Personal Collection!
Convert VHS and Camcorder Movies into DVD Movies! 

Free Live Tech Support With each Order
.
CLICK HERE To Learn About VHS Wizard!

3D"VHS.gif

COPY PLAYSTATION=FFFFFFAE GAMES

With our= revolutionary software you can copy virtually any  PlayStation=FFFFFFAE Game using your existing CD Burner!


Conventional Game Coping copying equipment can cost thousands of  dollars. 

The Play= Station =FFFFFFAE Wizard costs less than the price of ONE GAME!


Rent any game for less than $4 and copy it for FREE!


Save HUNDREDS of dollars copying games! For the price of just one game= you can 
own this software and have UNLIMITED GAMES! 

This me= ans the software pays for 
itself the first time you use it!!!

Free Live Tech Support With each Order

CLICK HERE To Learn About PlayStation Wizard!

 

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 15 0: 3:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id AB4AA37B417 for ; Thu, 15 Nov 2001 00:03:05 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.33 #1) id 164HUF-0000YU-00 for current@freebsd.org; Thu, 15 Nov 2001 08:03:03 +0000 Date: Thu, 15 Nov 2001 08:03:03 +0000 From: Simon Dick To: current@freebsd.org Subject: Problems with HD being detected in -CURRENT Message-ID: <20011115080303.A380@irrelevant.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Since upgrading my desktop PC to -current sometimes one of my hard drives gets detected incorrectly, it's proper detection shows this: ad1: 43979MB [89355/16/63] at ata0-slave UDMA66 and when it's detected badly it show: ad1: 7559MB [15359/16/63] at ata0-slave UDMA66 Anyone got any ideas what could be happening? (full dmesg with incorrect detection is attached) -- Simon Dick simond@irrelevant.org "Why do I get this urge to go bowling everytime I see Tux?" --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2001 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-CURRENT #1: Wed Nov 14 11:12:50 GMT 2001 root@not.internal.irrelevant.org:/usr/obj/usr/src/sys/NOT Preloaded elf kernel "/boot/kernel/kernel" at 0xc0460000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04600a8. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (730.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff real memory = 1073676288 (1048512K bytes) avail memory = 1040834560 (1016440K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00f7100 apm: Other PM system enabled. npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc800-0xc81f irq 12 at device 7.2 on 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 uhci1: port 0xcc00-0xcc1f irq 12 at device 7.3 on 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 ichsmb0: at device 7.4 on pci0 device_probe_and_attach: ichsmb0 attach returned 6 ahc0: port 0xdc00-0xdcff mem 0xdffff000-0xdfffffff irq 10 at device 9.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/255 SCBs pci0: at device 10.0 (no driver attached) pcm0: port 0xd400-0xd43f irq 12 at device 11.0 on pci0 tx0: port 0xd800-0xd8ff mem 0xdfffe000-0xdfffefff irq 11 at device 12.0 on pci0 miibus0: on tx0 qsphy0: on miibus0 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tx0: address 00:e0:29:0b:d5:31, type SMC9432TX acpi_button1: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it atkbdc-: atkbdc0 already exists, skipping it fdc-: fdc0 already exists, skipping it ppc-: ppc0 already exists, skipping it sio-: sio0 already exists, skipping it sio-: sio1 already exists, skipping it sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it orm0:

Take control of your social life and join our community.
We offer a great way for busy, interesting and successful people to meet
each other in our safe, secure and anonymous environment.

Life should be wonderful. Find someone extraordinary to share your adventures with.
STOP waiting. START living.

GO meet Somebody!

CLICK HERE 


If you have received this message in error click here to be removed

 


To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 15 21:59:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 8DE6737B418; Thu, 15 Nov 2001 21:59:38 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fAG5xcM26493; Thu, 15 Nov 2001 21:59:38 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 2F70F380A; Thu, 15 Nov 2001 21:59:38 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jordan Hubbard Cc: clefevre@citeweb.net, Makoto Matsushita , current@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: PATCH: sysinstall to remove userconfig code In-Reply-To: <11985.1005854523@winston.freebsd.org> Date: Thu, 15 Nov 2001 21:59:38 -0800 From: Peter Wemm Message-Id: <20011116055938.2F70F380A@overcee.netplex.com.au> 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 Jordan Hubbard wrote: > > I don't know -current. what is the feature which replace kget ? > > There is none. kenv(1) > > does boot -c (or whatever) still exists ? is it possible to > > edit .hints at boot time ? > > No. Actually there is, but only if you do *not* use .hints.. If you use device.hints then you just use the 'set' command in the loader. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 15 23:34:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 80FCD37B416 for ; Thu, 15 Nov 2001 23:34:26 -0800 (PST) Received: (qmail 26414 invoked from network); 16 Nov 2001 07:33:57 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Nov 2001 07:33:57 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011116104641N.matusita@jp.FreeBSD.org> Date: Thu, 15 Nov 2001 23:34:25 -0800 (PST) From: John Baldwin To: Makoto Matsushita Subject: Re: card_if.h: No such file or directory Cc: current@FreeBSD.org, obrien@FreeBSD.ORG 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 16-Nov-01 Makoto Matsushita wrote: > > obrien> Ok, who (and what) broke the kernel build? > > If you met at modules/an, I've fixed with src/sys/modules/an/Makefile > rev 1.6. Sorry if your point is different. Yes, he was just a bit slowing in reading his commit mail I guess. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 16 6:55:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from eken2.eken.phys.nagoya-u.ac.jp (eken2.eken.phys.nagoya-u.ac.jp [133.6.121.2]) by hub.freebsd.org (Postfix) with ESMTP id 9866937B417; Fri, 16 Nov 2001 06:55:31 -0800 (PST) Received: from eken3.eken.phys.nagoya-u.ac.jp (eken3 [133.6.121.3]) by eken2.eken.phys.nagoya-u.ac.jp (8.11.6+3.4W/3.7W-E) with ESMTP id fAGEtU007479; Fri, 16 Nov 2001 23:55:30 +0900 (JST) Date: Fri, 16 Nov 2001 23:55:30 +0900 Message-ID: From: Yoichi NAKAYAMA To: Jonathan Chen Cc: current@FreeBSD.ORG Subject: Re: 3CXFE575CT-JP with NEWCARD doesn't work In-Reply-To: <20010905114730.C28669@enterprise.spock.org> References: <86n14cms6f.wl@e-ppp8.eken.phys.nagoya-u.ac.jp> <20010905114730.C28669@enterprise.spock.org> User-Agent: Wanderlust/2.7.6 (Too Funky) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.7 (=?ISO-2022-JP?B?GyRCRiMwZjt7GyhC?=) APEL/10.3 Emacs/20.7 (i686-pc-linux-gnu) MULE/4.0 (Hananoen) Organization: E-ken, Dept. of Physics, Nagoya University, JAPAN X-Face: wLZki+KbGjgKe0,<&3g*rA|R**vj[a8L%[v]ecJh1L(Uqm|LBx;v7Nq7n%?0d.aS]F#[~C\!{m?m,C&#U5}$_pZvBR>5VmX1Ol0`P\M-U8`sUF<5Quj'z&zzW8r|Zl9#W7Wut3duYzpKrP{n+AbarKtJ!i"Al7]P;-?[=iBZa*]r=>C':0~JECx]IH+RXq=/hUX}MB9e]oQKBxsDd/ MIME-Version: 1.0 (generated by EMIKO 1.14.1 - "Choanoflagellata") 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 Hi, I build kernel with NEWCARD from source cvsup'ed today. Following patch is still needed for my machine & card. Without this, the card appear as /boot/kernel/kernel: xl0: Ethernet address: 00:00:00:00:00:00 and the card does not work. Best regards, -- Yoichi NAKAYAMA At Wed, 5 Sep 2001 11:47:30 -0400, Jonathan Chen wrote: > On Mon, Sep 03, 2001 at 08:26:16PM +0900, Yoichi NAKAYAMA wrote: > > I just cvsup'ed and buildkernel with NEWCARD. > > Then my note book doesn't recognize MAC address of the card(3CXFE575CT-JP) > > following are concerning log for new kernel and old kernel(cvsup'ed 2-3 weeks ago) > > This looks like it could have been caused by my moving the default io > range around. The IO port assigned to your card could be in conflict with > something else. Try the following patch, which reverts to the old range. > > It would be really nice if the pci bus code could just do these assignments > automagically... > > Index: pccbb.c > =================================================================== > RCS file: /export/ncvs/src/sys/dev/pccbb/pccbb.c,v > retrieving revision 1.24 > diff -u -r1.24 pccbb.c > --- pccbb.c 2001/08/27 11:23:05 1.24 > +++ pccbb.c 2001/09/05 15:44:45 > @@ -1243,8 +1243,8 @@ > start = end = tmp; > break; > case SYS_RES_IOPORT: > - if (start <= 0x1000) > - start = 0x1000; > + if (start <= 0x3000) > + start = 0x3000; > if (end < start) > end = start; > break; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 16 7:53:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from jesus.apogeetelecom.com (jesus.apogeetelecom.com [64.245.60.241]) by hub.freebsd.org (Postfix) with ESMTP id AF74337B416 for ; Fri, 16 Nov 2001 07:52:35 -0800 (PST) Received: from musinghalfwit.org (localhost [127.0.0.1]) by jesus.apogeetelecom.com (8.11.6/8.11.6) with ESMTP id fAGFqT094239 for ; Fri, 16 Nov 2001 09:52:30 -0600 (CST) (envelope-from jesus@musinghalfwit.org) Message-ID: <3BF53638.5020500@musinghalfwit.org> Date: Fri, 16 Nov 2001 09:52:24 -0600 From: Eric Liedtke User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.2) Gecko/20010706 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: ACPI/PSM/PCCARD Woes Content-Type: multipart/mixed; boundary="------------000106010003080904090201" 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 This is a multi-part message in MIME format. --------------000106010003080904090201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have a Dell Latitude C Family Model:PPX laptop. I recently upgraded from 4.4 to 5.0 so I could use the 32-bit Xircom ethernet adapter I had. I cvsup'd rebuilt world and kernel yesterday and these are the problems I am having. 1. If I let the acpi module load I don't have a /dev/psm* entry for the mouse. I believe it complains about an inability to assign an IRQ. 2. I was using a 16-bit Linksys adapter while I was running on 4.4 this adapter no longer works. It seems to recognize it and I can assign an address to it but it was unable to actually route any traffic. This is the message I get /boot/kernel/kernel : arplookup xxx.xxx.xxx.xxx failed: host is not on local network /boot/kernel/kernel : arpresolve : can't allocate llinfo for xxx.xxx.xxx.xxxrt I have no idea on this one. Attatched is my kernel config file, a dmesg with the acpi module loaded and boot -v specifed in the loader, as well as a dmesg without the acpi and boot -v on the loader. If I can provide any more info I'll be happy to. Eric Liedtke --------------000106010003080904090201 Content-Type: text/plain; name="dmesg-acpi.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg-acpi.txt" Copyright (c) 1992-2001 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-CURRENT #1: Wed Nov 14 10:58:55 CST 2001 root@roadkill.apogeetelecom.com:/usr/src/sys/i386/compile/ROADKILL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0418000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04180b4. Calibrating clock(s) ... TSC clock: 498437744 Hz, i8254 clock: 1193111 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 498471552 Hz CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 134152192 (131008K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0043f000 - 0x07fe7fff, 129667072 bytes (31657 pages) avail memory = 126287872 (123328K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xc0ce pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: lock order reversal 1st 0xc03633e0 allproc @ ../../../kern/kern_fork.c:343 2nd 0xc0326730 pool mutex @ ../../../kern/kern_sx.c:329 lock order reversal 1st 0xc0363360 proctree @ ../../../kern/kern_fork.c:573 2nd 0xc03266d0 pool mutex @ ../../../kern/kern_sx.c:329 lock order reversal 1st 0xc0325a00 fork list @ ../../../kern/kern_fork.c:646 2nd 0xc03271e0 pool mutex @ ../../../kern/kern_sx.c:204 random: mem: Pentium Pro MTRR support enabled null: Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000008 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fbd70 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Timecounter "ACPI" frequency 3579545 Hz can't fetch resources for \\_SB_.MB1_ - AE_AML_OPERAND_TYPE can't fetch resources for \\_SB_.PCI0 - AE_AML_OPERAND_TYPE can't fetch resources for \\_SB_.PCI0.PX40.FDC0 - AE_AML_OPERAND_TYPE can't fetch resources for \\_SB_.PCI0.PX40.UAR1 - AE_AML_OPERAND_TYPE can't fetch resources for \\_SB_.PCI0.PX40.ECP_ - AE_AML_OPERAND_TYPE acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu: CLK_VAL field overflows P_CNT register acpi_cpu: CLK_VAL field overlaps THT_EN bit acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_pcib0: on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base f4000000, size 26, enabled found-> vendor=0x8086, dev=0x7190, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x7191, revid=0x03 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found-> vendor=0x104c, dev=0xac1c, revid=0x01 bus=0, slot=3, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 found-> vendor=0x104c, dev=0xac1c, revid=0x01 bus=0, slot=3, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 found-> vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=7, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 00000860, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base 0000dce0, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=11 map[90]: type 4, range 32, base 00000840, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x03 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 map[10]: type 4, range 32, base 0000d800, size 8, enabled found-> vendor=0x125d, dev=0x1978, revid=0x10 bus=0, slot=8, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xe000-0xefff pcib1: memory decode 0xfc000000-0xfeffffff pcib1: prefetched decode 0xf9000000-0xf9ffffff pci1: physical bus=1 map[10]: type 1, range 32, base fd000000, size 24, enabled map[14]: type 4, range 32, base 0000ec00, size 8, enabled map[18]: type 1, range 32, base fcfff000, size 12, enabled found-> vendor=0x1002, dev=0x4c4d, revid=0x64 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pccbb0: at device 3.0 on pci0 pccbb0: PCI Memory allocated: 10000000 acpi_pcib0: matched entry for 0.3.INTA (source \\_SB_.PCI0.LNKD) acpi_pcib0: device is routed to IRQ 11 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: at device 3.1 on pci0 pccbb1: PCI Memory allocated: 10001000 acpi_pcib0: matched entry for 0.3.INTA (source \\_SB_.PCI0.LNKD) acpi_pcib0: device is routed to IRQ 11 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0860 ata0: mask=03 ostat0=50 ostat2=00 ata0-slave: ATAPI probe 00 00 ata0-master: ATAPI probe 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA probe 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0868 ata1: mask=03 ostat0=50 ostat2=00 ata1-master: ATAPI probe 14 eb ata1-slave: ATAPI probe 07 00 ata1: mask=03 stat0=00 stat1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xdce0-0xdcff irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered acpi_timer0: functional ACPI timer detected, enabling fast timecount interface pci0: at device 7.3 (no driver attached) pci0: at device 8.0 (no driver attached) unknown: not probed (disabled) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: unable to allocate IRQ fdc0: cannot reserve I/O port range (1 ports) unknown: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0 port 0x378-0x37f on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) fdc0: cannot reserve I/O port range (1 ports) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it atkbdc-: atkbdc0 already exists, skipping it ppc-: ppc0 already exists, skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: