From owner-freebsd-current@FreeBSD.ORG Sat May 24 07:15:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0301037B401 for ; Sat, 24 May 2003 07:15:44 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B71843F85 for ; Sat, 24 May 2003 07:15:43 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h4OEF4On020028; Sat, 24 May 2003 10:15:04 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h4OEEwK4020022; Sat, 24 May 2003 10:14:58 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 24 May 2003 10:14:57 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp In-Reply-To: <20810.1053728868@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: CURRENT Subject: Re: /dev/null panic still alive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:15:44 -0000 On Sat, 24 May 2003, Poul-Henning Kamp wrote: > >> Kirk's on vacation and I havn't heard back from rwatson what he think > >> we should do. > > > >He did mention he thought trustedbsd had a patch for this. > > Yes, unfortunately, that patch which is also in -current does not work. > > It works for VFIFO's but not for VCHR Yeah, the mixup in the buffer cache is going to cause us problems, and doesn't look like something we want to attempt for 5.2-RELEASE. I think there are two work-arounds we should put in place though: (1) Return EOPNOTSUPP if you try an EA operation on a UFS specfs node. (2) Suggest firmly that people use devfs; symlink from the Linux /dev to the FreeBSD/dev, or mount a new devfs instance for Linux. While there might not be time before 5.2-RELEASE, the Linux compat stuff needs to recognize a devfs system and not use hard-coded devices -- that will break more and more as we move away from device numbers. I'm tesitng a patch for (1) and will send it out this evening for review. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories