From owner-freebsd-hackers Thu Nov 15 13:44:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id A82D137B41A for ; Thu, 15 Nov 2001 13:44:06 -0800 (PST) Received: (qmail 2761 invoked from network); 15 Nov 2001 21:44:05 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Nov 2001 21:44:05 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011115233840.T38246-100000@news1.macomnet.ru> Date: Thu, 15 Nov 2001 13:44:05 -0800 (PST) From: John Baldwin To: Maxim Konovalov Subject: RE: has 'options LOCKF_DEBUG' ever worked? (w/ patch) (fwd) Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15-Nov-01 Maxim Konovalov wrote: > It panics because of if_inode is not initiliazed: > > /sys/kern/kern_lockf.c:1.25:153 > > /* lock->lf_inode = ip; */ /* XXX JH */ > > I have no idea what ``JH'' means, the comment appeared in 1.10. revision 1.10 date: 1997/02/10 02:09:36; author: dyson; state: Exp; lines: +53 -68 This is the kernel Lite/2 commit. There are some requisite userland changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu Obviously the 'JH' seems to refer to hsu@FreeBSD.org. He might have more details on why this change was made. It seems that it has been broken for 4.75 years at this point. :) I have no objections to the patch except that the concept of an inode is not valid on all file systems, which is why that may be commented out in the first place. -- 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-hackers" in the body of the message