From owner-freebsd-current Sun Dec 1 0:42:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48ADF37B401 for ; Sun, 1 Dec 2002 00:42:43 -0800 (PST) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D43F43EAF for ; Sun, 1 Dec 2002 00:42:42 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id gB19xD812674; Sun, 1 Dec 2002 03:59:14 -0600 Received: by mortis.over-yonder.net (Postfix, from userid 100) id 19D821F33; Sun, 1 Dec 2002 02:42:20 -0600 (CST) Date: Sun, 1 Dec 2002 02:42:19 -0600 From: "Matthew D. Fuller" To: Garance A Drosihn Cc: Terry Lambert , NAKAJI Hiroyuki , "David W. Chapman Jr." , current@FreeBSD.ORG Subject: Re: pw_user.c change for samba Message-ID: <20021201084219.GA8702@over-yonder.net> References: <86isyimurd.fsf@xa12.heimat.gr.jp> <005501c29670$d5fd8360$fe01a8c0@dwcjr> <86fztmmu5u.fsf@xa12.heimat.gr.jp> <3DE58847.5F962036@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 30, 2002 at 10:24:58PM -0500 I heard the voice of Garance A Drosihn, and lo! it spake thus: > > However, that doesn't answer the question of which 'adduser' is > actually expected to be used in 5.0-current. Does someone have > the shell-script (non-perl) version of adduser? Is it named > something else, perhaps? > > Or are we going to ship 5.0-release with an 'adduser' that does > require perl, even though perl is not in the base system? I've had, among my stalled ideas, an intent to rewrite {add,rm}user in C backending into pw(8) for all the dirty work. Of course, that's waiting for me to complete my porcine aviation instruction. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 1:25: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BB9237B401 for ; Sun, 1 Dec 2002 01:25:05 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C757643EB2 for ; Sun, 1 Dec 2002 01:25:04 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gB19P0OM002662; Sun, 1 Dec 2002 01:25:00 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gB19P000002661; Sun, 1 Dec 2002 01:25:00 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sun, 1 Dec 2002 01:25:00 -0800 From: David Schultz To: Giorgos Keramidas Cc: Marcin Dalecki , current@FreeBSD.ORG Subject: Re: sysinstall + swap partition requirement Message-ID: <20021201092500.GA2547@HAL9000.homeunix.com> Mail-Followup-To: Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG References: <3DE4DEE8.8000808@gmx.net> <20021127152134.GB609@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021127152134.GB609@gothmog.gr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Giorgos Keramidas : > You don't *HAVE* to create a swap partition. What you see is just a > warning that sysinstall prints, if you have warnings enabled in the > ``Options'' menu (they are enabled by default, if I'm not mistaken in > my reading of the source). I'm pretty sure it's mandatory. I recently got bitten by this bug while installing on a system with 512 MB of RAM because the drive that was to contain the swap partition (really the crash dump partition as far as I'm concerned) wasn't installed yet. I ended up not using sysinstall to do the install after all, due to other problems that were made worse by a committer who broke some of the boot code and refused to revert the changes for a number of days. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 1:26:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96D0237B406 for ; Sun, 1 Dec 2002 01:26:48 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 83A9343EBE for ; Sun, 1 Dec 2002 01:26:41 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 8958 invoked by uid 1048); 1 Dec 2002 09:26:33 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.15 (clamscan: 0.54. spamassassin: 2.42. Clear:. Processed in 0.389705 secs); 01 Dec 2002 09:26:33 -0000 Received: from unknown (HELO ?192.168.100.100?) (80.134.173.141) by ultrakoreggd.org with SMTP; 1 Dec 2002 09:26:33 -0000 Date: Sun, 01 Dec 2002 10:26:24 +0100 From: Marc Recht To: current@FreeBSD.ORG Cc: cg@freebsd.org Subject: acquiring duplicate lock of same type: "pcm channel" Message-ID: <515320000.1038734784@leeloo.intern.geht.de> X-Mailer: Mulberry/3.0.0b9 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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'm seeing this lately: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 "$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.80 2002/11/26 18:16:27 cg Exp $" Marc "Premature optimization is the root of all evil." -- Donald E. Knuth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 2: 5: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B60E637B401 for ; Sun, 1 Dec 2002 02:05:04 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55F0743EAF for ; Sun, 1 Dec 2002 02:05:03 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA15591; Sun, 1 Dec 2002 21:04:44 +1100 Date: Sun, 1 Dec 2002 21:18:37 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: David Schultz Cc: Giorgos Keramidas , Marcin Dalecki , Subject: Re: sysinstall + swap partition requirement In-Reply-To: <20021201092500.GA2547@HAL9000.homeunix.com> Message-ID: <20021201210742.J11226-100000@gamplex.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 Sun, 1 Dec 2002, David Schultz wrote: > Thus spake Giorgos Keramidas : > > You don't *HAVE* to create a swap partition. What you see is just a > > warning that sysinstall prints, if you have warnings enabled in the > > ``Options'' menu (they are enabled by default, if I'm not mistaken in > > my reading of the source). > > I'm pretty sure it's mandatory. I recently got bitten by this bug > while installing on a system with 512 MB of RAM because the drive > that was to contain the swap partition (really the crash dump > partition as far as I'm concerned) wasn't installed yet. I ended It's not mandatory. I never use one on machines with sufficient RAM. How much RAM is sufficent depends on the process mix. 512MB is sufficient on my main machine since it never runs bloatware or lots of processes concurrently. I also don't use swapping (of upages -- the NO_SWAPPING option, which should be the default) or sysinstall. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 2:19: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A9DD37B401 for ; Sun, 1 Dec 2002 02:18:59 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B40F43EBE for ; Sun, 1 Dec 2002 02:18:58 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gB1AHdOM002954; Sun, 1 Dec 2002 02:17:39 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gB1AHdt2002953; Sun, 1 Dec 2002 02:17:39 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sun, 1 Dec 2002 02:17:39 -0800 From: David Schultz To: Bruce Evans Cc: Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG Subject: Re: sysinstall + swap partition requirement Message-ID: <20021201101739.GA2928@HAL9000.homeunix.com> Mail-Followup-To: Bruce Evans , Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG References: <20021201092500.GA2547@HAL9000.homeunix.com> <20021201210742.J11226-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021201210742.J11226-100000@gamplex.bde.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 Thus spake Bruce Evans : > On Sun, 1 Dec 2002, David Schultz wrote: > > > Thus spake Giorgos Keramidas : > > > You don't *HAVE* to create a swap partition. What you see is just a > > > warning that sysinstall prints, if you have warnings enabled in the > > > ``Options'' menu (they are enabled by default, if I'm not mistaken in > > > my reading of the source). > > > > I'm pretty sure it's mandatory. I recently got bitten by this bug > > while installing on a system with 512 MB of RAM because the drive > > that was to contain the swap partition (really the crash dump > > partition as far as I'm concerned) wasn't installed yet. I ended > > It's not mandatory. I never use one on machines with sufficient RAM. > How much RAM is sufficent depends on the process mix. 512MB is > sufficient on my main machine since it never runs bloatware or lots > of processes concurrently. I also don't use swapping (of upages -- > the NO_SWAPPING option, which should be the default) or sysinstall. I meant to say that sysinstall forces you to have a swap partition, not that the kernel forces you to have one. (That would be an interesting catch-22 indeed.) It's a bug in sysinstall that you can't make it work without allocating swap space, even if you don't need it, or you don't want to add it immediately. Sorry for the confusion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 3:14:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCCF037B401 for ; Sun, 1 Dec 2002 03:14:45 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6430D43ED4 for ; Sun, 1 Dec 2002 03:14:45 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0061.cvx22-bradley.dialup.earthlink.net ([209.179.198.61] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18IS3T-0007WI-00; Sun, 01 Dec 2002 03:14:32 -0800 Message-ID: <3DE9EEBB.C7AE0B26@mindspring.com> Date: Sun, 01 Dec 2002 03:12:59 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Schultz Cc: Bruce Evans , Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG Subject: Re: sysinstall + swap partition requirement References: <20021201092500.GA2547@HAL9000.homeunix.com> <20021201210742.J11226-100000@gamplex.bde.org> <20021201101739.GA2928@HAL9000.homeunix.com> 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 David Schultz wrote: > Thus spake Bruce Evans : > > On Sun, 1 Dec 2002, David Schultz wrote: > > > Thus spake Giorgos Keramidas : [ ... ] > I meant to say that sysinstall forces you to have a swap > partition, not that the kernel forces you to have one. (That > would be an interesting catch-22 indeed.) It's a bug in > sysinstall that you can't make it work without allocating swap > space, even if you don't need it, or you don't want to add it > immediately. Sorry for the confusion. On Wed, 27 Nov 2002 Giorgos Keramidas wrote: | Bearing that in mind, the change that made a swap partition | ``mandatory'' was revision 1.117 of src/usr.sbin/sysinstall/install.c Preaching to the choir, I think... this was already in this same thread, last Wednesday. Looks like nothing but rehashing, now. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 4:16:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C266B37B401 for ; Sun, 1 Dec 2002 04:16:07 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A2243E88 for ; Sun, 1 Dec 2002 04:16:04 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gB1CFstV000217 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 1 Dec 2002 14:15:55 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gB1CFqXv000208; Sun, 1 Dec 2002 14:15:52 +0200 (EET) Date: Sun, 1 Dec 2002 14:15:52 +0200 From: Ruslan Ermilov To: Kris Kennaway Cc: current@FreeBSD.org Subject: Re: installworld of 5.0 broken on 4.x? Message-ID: <20021201121552.GA99848@sunbay.com> References: <20021130223532.GA45213@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <20021130223532.GA45213@rot13.obsecurity.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 30, 2002 at 02:35:32PM -0800, Kris Kennaway wrote: > I get this when building 5.0 under 4.x, for the purposes of installing > into a temporary directory. Any ideas? >=20 > Kris >=20 > =3D=3D=3D> etc/sendmail > rm -f freefall.cf > (cd /local0/src-5.x/etc/sendmail && m4 -D_CF_DIR_=3D/local0/src-5.x/etc/= sendmail/../../contrib/sendmail/cf/ /local0/src-5.x/etc/sendmail/../../co= ntrib/sendmail/cf/m4/cf.m4 freefall.mc) > freefall.cf > m4: not found > *** Error code 127 >=20 > Stop in /local0/src-5.x/etc/sendmail. > *** Error code 1 >=20 > Stop in /local0/src-5.x/etc. > *** Error code 1 >=20 installworld is attempting to do what buildworld was supposed to do. Check with ``make buildworld SUBDIR_OVERRIDE=3Detc/sendmail'' -- normally, after buildworld, it should do nothing. If it builds something, then buildworld is not done -- either you have a timestamping problem (wrong system date, sources have modtime in the future) -- re-check with the above command by running it for the second time, or you've changed your sources after buildworld, or you're attempting to run installworld with different set of options than was passed to buildworld. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE96f14Ukv4P6juNwoRAl+jAJsFEGSDXg8H3vJPm356tygRgiUo2gCffh/l OilU8uSX++Bx4yWg97TM99w= =ZNvj -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 4:43:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E417A37B401 for ; Sun, 1 Dec 2002 04:43:38 -0800 (PST) Received: from garple.migus.org (pcp243391pcs.howard01.md.comcast.net [68.55.83.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB8343EBE for ; Sun, 1 Dec 2002 04:43:27 -0800 (PST) (envelope-from adam@migus.org) Received: from migus.org (nsdfm57e0nsh97lu@garple.migus.org [192.168.4.4]) by garple.migus.org (8.12.6/8.12.6) with SMTP id gB1ChCwf004978 for ; Sun, 1 Dec 2002 07:43:12 -0500 (EST) (envelope-from adam@migus.org) Received: from 192.168.4.1 (SquirrelMail authenticated user adam) by mail.migus.org with HTTP; Sun, 1 Dec 2002 07:43:12 -0500 (EST) Message-ID: <49407.192.168.4.1.1038746592.squirrel@mail.migus.org> Date: Sun, 1 Dec 2002 07:43:12 -0500 (EST) Subject: nullfs/unionfs From: "Adam Migus" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-2.8 required=5.7 tests=AWL,SPAM_PHRASE_00_01 version=2.41 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 Recently I've been doing some twisted things with nullfs/unionfs. I've managed to contain myself to using read-only nullfs, but, the whole point of the unionfs usage is to isolate changes (ie. I need read-write). Anyway I've hit a VFS bug that upon reading current@, appears as though it might be related to the bug involving vnode backed md's. I just discovered the bug and know no more about it than what has been discussed in the related post. The only thing I can add is that when it happens to me, a shutdown of the system results in a panic due to an invalid ref count on the problematic vnode. The count goes negative. When the system comes back up, an fsck shows every inode in sequence from the bad one as unreferenced. I read the man pages for nullfs/unionfs. They mentioned that the code is orphaned and buggy. So, I blamed it, and entertained the idea of claiming ownership, now, or in future. Right now I sit somewhere in the middle of the (IMHO) rather steep VFS learning curve. Therefor even if I did sit down and attempt to track it I'd likely have limited success and if I found the bug, it'd probably be nowhere near nullfs/unionfs... In summary, two things. First WRT the nullfs/unionfs. I'd like to use it as I've tried to thus far. So I have an intrinsic motivation to get it fixed. Seems as though others do as well (assuming it's the same bug). So I think I'll have a go at it, but won't promise results as I'm not a VFS guru. Second, if anyone expresses interest in ownership of the nullfs/unionfs code, I'd like to work with them. If no one does and someone wants me to, I may, but at a later date when I'm more comfortable doing so. Third, if someone else attempts to find/fix the bug, consider me an interested. -- Adam Migus (adam@migus.org) (amigus@TrustedBSD.org) TrustedBSD (http://www.trustedbsd.org) | The Power To Secure To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 4:51:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7836437B40D for ; Sun, 1 Dec 2002 04:51:09 -0800 (PST) Received: from hueymiccailhuitl.mtu.ru (hueytecuilhuitl.mtu.ru [195.34.32.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 110BB43E88 for ; Sun, 1 Dec 2002 04:51:03 -0800 (PST) (envelope-from klmx@proxy.immune.isf.ru) Received: from serg.hihihaha.ru (ppp99-57.dialup.mtu-net.ru [212.188.99.57]) by hueymiccailhuitl.mtu.ru (Postfix) with ESMTP id C1A47FE778; Sun, 1 Dec 2002 15:50:59 +0300 (MSK) (envelope-from klmx@proxy.immune.isf.ru) Content-Type: text/plain; charset="windows-1251" From: Sergey V Golitzyn To: Marcin Dalecki Subject: Re: Where is APM0 ??? Date: Sun, 1 Dec 2002 15:50:59 +0300 User-Agent: KMail/1.4.3 References: <200212010548.25022.klmx@proxy.immune.isf.ru> <3DE98DB6.4070606@gmx.net> In-Reply-To: <3DE98DB6.4070606@gmx.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212010630.38074.klmx@proxy.immune.isf.ru> Cc: freebsd-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 Sunday 01 December 2002 07:19, Marcin Dalecki wrote: > Sergey V Golitzyn wrote: > > Hello, i have a little problem with APM (Adv. Power Managment) > > > > I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i ha= ve > > lost apm0 device in "dmesg". > > Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmct= l > > device not exist. > > kozaczek# kldload apm > kozaczek# ls -l /dev/apm > crw-rw-r-- 1 root operator 39, 0 Dec 1 02:49 /dev/apm > kozaczek# > > Try it as a module. But generally ACPI should be suprerior. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message Hello Again, Problem can't be solved by your way. my ls -l /dev/apm contains same information, but i /dev/apmctl device doe= s not=20 exist, and APM already builded in the KERNCONF FILE, the question is=20 "HOW TO ENABLE IT IN device.hints file???"=20 apm saver also talks what It need #APM enable# (see dmesg file in prev=20 message). Or, may be exist any another way to "shutdown -p now" machine. (Means onl= y=20 power down by using ACPI functions) Thanks a lot, Sergey V. Golitzyn (Russia) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 5:27:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56C6D37B401 for ; Sun, 1 Dec 2002 05:27:27 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C26543EC5 for ; Sun, 1 Dec 2002 05:27:21 -0800 (PST) (envelope-from dschultz@uclink.berkeley.edu) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gB1DQ3X5000479; Sun, 1 Dec 2002 05:26:03 -0800 (PST) (envelope-from dschultz@uclink.berkeley.edu) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gB1DPxCk000478; Sun, 1 Dec 2002 05:25:59 -0800 (PST) (envelope-from dschultz@uclink.berkeley.edu) Date: Sun, 1 Dec 2002 05:25:59 -0800 From: David Schultz To: Terry Lambert Cc: Bruce Evans , Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG Subject: Re: sysinstall + swap partition requirement Message-ID: <20021201132559.GA417@HAL9000.homeunix.com> Mail-Followup-To: Terry Lambert , Bruce Evans , Giorgos Keramidas , Marcin Dalecki , current@FreeBSD.ORG References: <20021201092500.GA2547@HAL9000.homeunix.com> <20021201210742.J11226-100000@gamplex.bde.org> <20021201101739.GA2928@HAL9000.homeunix.com> <3DE9EEBB.C7AE0B26@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE9EEBB.C7AE0B26@mindspring.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Terry Lambert : > David Schultz wrote: > > Thus spake Bruce Evans : > > > On Sun, 1 Dec 2002, David Schultz wrote: > > > > Thus spake Giorgos Keramidas : > [ ... ] > > I meant to say that sysinstall forces you to have a swap > > partition, not that the kernel forces you to have one. (That > > would be an interesting catch-22 indeed.) It's a bug in > > sysinstall that you can't make it work without allocating swap > > space, even if you don't need it, or you don't want to add it > > immediately. Sorry for the confusion. > > On Wed, 27 Nov 2002 Giorgos Keramidas wrote: > | Bearing that in mind, the change that made a swap partition > | ``mandatory'' was revision 1.117 of src/usr.sbin/sysinstall/install.c > > Preaching to the choir, I think... this was already in this > same thread, last Wednesday. Looks like nothing but rehashing, > now. Yes, it *is* rehashing what was already said. Bruce's response (``it's not mandatory'') suggests that he thought we were talking about some sort of fundamental yet nonexistent problem, when in fact we were talking about a sysinstall bug. I was just clarifying. BTW, revision 1.117 was not the first revision to have this bug. That revision just made it stop bitching about partition sizes in the case where you asked it to autosize. This effectively means that there are some configurations that are permitted if you use auto defaults, and forbidden if you do things manually using sysinstall. Evil beyond words... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 1 5:34:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DD9437B401 for ; Sun, 1 Dec 2002 05:34:30 -0800 (PST) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98EF143ED1 for ; Sun, 1 Dec 2002 05:34:28 -0800 (PST) (envelope-from hopet@ics.muni.cz) Received: from dior.ics.muni.cz (dior.ics.muni.cz [147.251.6.10]) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id gB1DYGRF020753 for ; Sun, 1 Dec 2002 14:34:16 +0100 Received: from kloboucek (root@localhost) (authenticated as hopet with LOGIN) by dior.ics.muni.cz (8.10.1/8.10.0.Beta12) with ESMTP id gB1DYFl09168 for ; Sun, 1 Dec 2002 14:34:15 +0100 (MET) From: "Petr Holub" To: Subject: 5.0-DP2 installation problems or be disklabel and GEOM revisited Date: Sun, 1 Dec 2002 14:32:48 +0100 Message-ID: <000701c2993e$23e90110$2603fb93@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Importance: Normal X-Muni-Virus-Test: Clean 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 all, I've tried to install 5.0-DP2 and encountered some nasty problems with disklabel afterward. I've quite a lot of log/debug material so I don't attach everything since it would be very large mail. Attached logs are below my signature. I can provide more info if neede to find out what's up. Here is what happened: 1) I've 60 GB disk with 3 primary partitions and 2 on extended block. 1st partition contained Win2k, 2nd partition contained 4.6.2 and I wanted to install 5.0-DP2 on third one which contained linux; I had grub installed on 2nd partition which was marked as active 2) after booting 5.0-DP2 into sysinstall I changed Id of 3rd partition to 165 and moved to disklabel; disklabel refused to work on this partition so I moved back to sysinstall fdisk deleted 3rd partition created it again and disklabel worked (I've met this before even with 4.x release - there seems to be some incompatibility between sysinstall fdisk and linux fdisk which was originally used to create 3rd partition); then I installed 5.0-DP2 3) after the reboot I got "invalid partition table" message by BIOS; when booted from CD I found both 2nd and 3rd partition had active flags; so I removed active flag from third one 4) 4.6.2 booted though there was no grub (?!?) 5) I tried to reinstall grub. Ooops - strange thnigs appeared (see log1 bellow my signature). That's strange because of two reasons: fist is "file not found" message and second is that according to grub /boot/loader points to 3rd partition with 5.0-DP2! 6) using /stand/sysinstall in 4.6.2 I managed to install standard FreeBSD BootMgr in MBR so I'm able to boot all three systems 7) then I did following: 7a) rebooted to 5.0 mount /dev/ad0s2a /mnt [something else...] sync && sync umount /mnt 7b) rebooted to 4.6.2 /dev/ad0s2a: BAD SUPER BLOCK: VALUES IN SUPERBLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE /dev/ad0s2a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. /dev/ad0s2a: CANNOT WRITE: BLK 2016 /dev/ad0s2a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. /dev/ad0s2a: Automatic file system check failed . . . help! fsck -b 32 /dev/ad0s2a [output cut out intentionally] FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] (my answer -> y) 2444 files, 121492 used, 374619 free (1611 frags, 46626 blocks, 0.3% fragmentation) UPDATE STANDARD SUPERBLOCK? [yn] (my answer -> y) ***** FILE SYSTEM WAS MODIFIED ***** 7c) rebooted to 4.6.2 again - no problems during boot but I can see dmesg of 5.0-DP2 from 4.6.2 as well as tho one of 4.6.2 (see log 2) 8) what's even more nasty is that 5.0-DP2 ate some disklabel information from 4.6.2 partition (log 3) while 5.0-DP2 partition seems to be OK (log 4). (log 3) and (log 4) are done using 4.6.2 while (log 5) and (log 6) are done using 5.0-DP2 (look at the offset differences!). 5.0-DP2 furthermore complains while doing "disklabel -r": Warning, partition c doesn't start at 0! Warning, partition c doesn't cover the whole unit! Warning, An incorrect partition c may cause problems for standard system utiliti es Some notes on the disk: it's IBM 60GXP IC35L060AVER07-0. 1) BIOS opinion on the disk: C/H/S: 29347/16/255, 61493MB, LBA, 32Bit On, Block Mode 16Sec, PIO 4, UDMA 5 2) Linux opinion (RedHat 6.2 with booted from install CD with all default kernel and fdisk): hda: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=7476/255/63 3) 4.6.2 according to dmesg: ad0: 58644MB [119150/16/63] at ata0-master UDMA100 4) 4.6.2 according to fdisk: cylinders=7476 heads=255 sectors/track=63 (16065 blks/cyl) 5) 5.0-DP2 according to dmesg: ad0: 58644MB [119150/16/63] at ata0-master UDMA100 6) 5.0-DP2 according to fdisk: cylinders=119150 heads=16 sectors/track=63 (1008 blks/cyl) Does anybody have an idea what's up? I'm really afraid of two systems cross-writing on their paritions :-((( It reminds me of Harry Potter and Dissapearing Disklabel though I'm not using USF2 (at least not intentionally) :-(. BTW: Is it possible to use Kirk McKusick's patch on 5.0-DP2? In my opinion there is some problem with GEOM (and disklabel might just get it worse)... Thanks, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 160 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-5-41512213 e-mail: hopet@ics.muni.cz ================================================================ (log 1) ================================================================ bash-2.05a# ls -li /kernel /kernel.prev /boot/grub/stage1 /boot/loader 117149 -r--r--r-- 1 root wheel 512 Nov 29 22:16 /boot/grub/stage1 117125 -r-xr-xr-x 1 root wheel 155648 Aug 14 21:20 /boot/loader 12 -r-xr-xr-x 1 root wheel 3039473 Sep 3 19:51 /kernel 84 -r-xr-xr-x 1 root wheel 3039250 Jun 24 11:11 /kernel.prev grub> find /kernel Error 15: File not found grub> find /kernel.prev Error 15: File not found grub> find /boot/loader (hd0,2,a) grub> find /boot/grub/stage1 Error 15: File not found ================================================================ ================================================================ (log 2) ================================================================ Preloaded elf kernel "kernel" at 0xc040c000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00f7df0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 5 tx0: port 0xd400-0xd4ff mem 0xdfffd000-0xdfffdfff irq 10 at device 6.0 on pci0 miibus0: on tx0 acphy0: on miibus0 acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tx0: address 00:e0:29:8e:75:19, type SMC9432TX_1 pci0: (vendor=0x11de, dev=0x6120) at 7.0 irq 10 bktr0: mem 0xdedfc000-0xdedfcfff irq 11 at device 8.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicbus1: on iicbb0 master-only smbus0: on bti2c0 bktr0: Detected a DPL34-1@-@0 at 0x84 bktr0: AVer Media TV/FM, Philips FR1216 PAL FM tuner, dpl3518a dolby. pci0: (vendor=0x109e, dev=0x0878) at 8.1 irq 11 pcm0: port 0xd000-0xd01f irq 5 at device 9.0 on pci0 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xff00-0xff0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 11 at device 17.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 0xc800-0xc81f irq 11 at device 17.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 ugen0: Genesys Logic USB Host To Host Bridge, rev 1.00/1.80, addr 2 uhci2: port 0xcc00-0xcc1f irq 11 at device 17.4 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered orm0: